/* Larimar Miner — info-site design system (static, served via asset()).
   Self-contained Larimar Miner design system. Documentary aesthetic: Larimar blues, generous
   whitespace, strong type, WCAG 2.2 AA (focus-visible, 4.5:1 contrast, reduced-motion). */

:root {
    --larimar-blue: #0071bc;   /* primary accent */
    --larimar-sky: #00b4d8;    /* secondary */
    --larimar-navy: #003d5c;   /* deep text / headers */
    --larimar-pale: #e0f4ff;   /* tints / surfaces */
    --ink: #16242e;            /* body text — 12.6:1 on paper */
    --muted: #51606b;          /* secondary text — 7.1:1 on paper */
    --paper: #ffffff;
    --surface: #f6fafd;
    --line: #e8eef3;           /* delicate hairline */
    --danger: #b00020;
    --maxw: 74rem;
    --measure: 40rem;          /* readable prose width */
    --radius: 8px;
    --shadow: 0 1px 2px rgba(16, 36, 46, .04), 0 10px 30px rgba(16, 36, 46, .05);
    --font: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --display: "Jost", "Futura PT", "Poppins", ui-sans-serif, system-ui, sans-serif;
    --header-h: 6rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.68;
    font-size: 1rem;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: var(--larimar-blue); text-underline-offset: 2px; }
a:hover { color: var(--larimar-navy); }

:focus-visible { outline: 3px solid var(--larimar-blue); outline-offset: 2px; border-radius: 3px; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 100;
    background: var(--larimar-navy); color: #fff; padding: .6rem 1rem; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ---- Header --------------------------------------------------------------------------------- */
.site-header {
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(1.4) blur(8px);
    position: sticky; top: 0; z-index: 100; overflow: visible;
}
.site-header__bar {
    max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; height: var(--header-h);
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.brand { justify-self: center; text-decoration: none; line-height: 0; }

/* menu trigger (pure-CSS toggle target lives at body level) */
.nav-trigger {
    justify-self: start; display: inline-flex; align-items: center; gap: .65rem; cursor: pointer;
    font-family: var(--display); text-transform: uppercase; letter-spacing: .16em; font-size: .74rem;
    font-weight: 500; color: var(--larimar-navy); user-select: none; -webkit-tap-highlight-color: transparent;
}
.nav-trigger:hover { color: var(--larimar-blue); }
.nav-trigger__icon { position: relative; width: 24px; height: 14px; flex: none; }
.nav-trigger__icon span { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor;
    transition: transform .28s ease, opacity .2s ease; }
.nav-trigger__icon span:nth-child(1) { top: 2px; }
.nav-trigger__icon span:nth-child(2) { bottom: 2px; }
.nav-trigger__txt--close { display: none; }

.header-utils { justify-self: end; display: flex; align-items: center; gap: 1.25rem; }
.lang-switch { position: relative; z-index: 110; font-family: var(--display); }
.lang-switch__summary { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.35rem; padding: .28rem .62rem .28rem .32rem;
    color: var(--larimar-navy); border: 1px solid var(--line); border-radius: 10px; background: #fff;
    box-shadow: 0 3px 10px rgba(16,36,46,.06); cursor: pointer; list-style: none; user-select: none; }
.lang-switch__summary::-webkit-details-marker { display: none; }
.lang-switch__summary::marker { content: ""; }
.lang-switch__flag { display: block; width: 1.45rem; height: 1.45rem; flex: none; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.lang-switch__current { font-size: .65rem; font-weight: 600; letter-spacing: .08em; }
.lang-switch__caret { display: grid; line-height: 1; transition: transform .18s ease; }
.lang-switch[open] .lang-switch__caret { transform: rotate(180deg); }
.lang-switch__menu { position: absolute; z-index: 120; top: calc(100% + .5rem); right: 0; min-width: 12rem; padding: .38rem;
    border: 1px solid var(--line); border-radius: .75rem; background: #fff; box-shadow: 0 14px 34px rgba(12,45,62,.12); white-space: nowrap; }
.lang-switch__menu a { display: grid; grid-template-columns: 1.45rem minmax(0,1fr) 1rem; align-items: center; gap: .7rem;
    min-height: 2.75rem; padding: .5rem .65rem; color: var(--muted); text-decoration: none; border-radius: .5rem; line-height: 1.2; }
.lang-switch__menu a:hover { color: var(--larimar-blue); background: var(--larimar-pale); }
.lang-switch__menu a.is-active { color: var(--larimar-navy); background: var(--surface); }
.lang-switch__menu a.is-fallback { color: var(--muted); }
.lang-switch__label { display: grid; gap: .08rem; font-size: .82rem; }
.lang-switch__label small { color: var(--muted); font-size: .56rem; font-weight: 400; letter-spacing: .05em; text-transform: uppercase; }
.lang-switch__selected { min-height: 1rem; display: grid; place-items: center; color: var(--larimar-blue); font-size: .78rem; font-weight: 600; text-align: center; }
.nav-shop {
    display: inline-block; text-decoration: none; font-family: var(--display); text-transform: uppercase;
    color: var(--larimar-blue); border: 1px solid var(--larimar-blue); padding: .55rem 1.2rem; border-radius: 999px;
    font-weight: 500; font-size: .7rem; letter-spacing: .14em; transition: all .15s ease;
}
.nav-shop:hover { background: var(--larimar-blue); color: #fff; }

.btn {
    display: inline-block; background: var(--larimar-blue); color: #fff !important; text-decoration: none;
    font-family: var(--display); text-transform: uppercase; padding: .8rem 1.65rem; border-radius: 999px;
    font-weight: 500; font-size: .76rem; letter-spacing: .12em; transition: background .15s ease;
}
.btn:hover { background: var(--larimar-navy); }

/* ---- Intelligent slide-out menu (CSS checkbox toggle, no JS) --------------------------------- */
.nav-toggle { position: absolute; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nav-toggle:focus-visible ~ .site-header .nav-trigger { outline: 3px solid var(--larimar-blue); outline-offset: 5px; border-radius: 4px; }

/* trigger morphs hamburger -> X and swaps label when open */
.nav-toggle:checked ~ .site-header .nav-trigger__icon span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle:checked ~ .site-header .nav-trigger__icon span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }
.nav-toggle:checked ~ .site-header .nav-trigger__txt--open { display: none; }
.nav-toggle:checked ~ .site-header .nav-trigger__txt--close { display: inline; }

.nav-overlay { position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 45; visibility: hidden; }
.nav-overlay__scrim { position: absolute; inset: 0; background: rgba(0, 38, 61, .34); opacity: 0;
    transition: opacity .3s ease; cursor: pointer; }
.nav-panel {
    position: relative; background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 28px 64px rgba(16, 36, 46, .17); transform: translateY(-101%);
    transition: transform .4s cubic-bezier(.22, .72, .25, 1); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.nav-toggle:checked ~ .nav-overlay { visibility: visible; }
.nav-toggle:checked ~ .nav-overlay .nav-overlay__scrim { opacity: 1; }
.nav-toggle:checked ~ .nav-overlay .nav-panel { transform: translateY(0); }

.nav-panel__inner { max-width: var(--maxw); margin: 0 auto; padding: 2.75rem 1.5rem 3.25rem;
    display: grid; grid-template-columns: 21rem 1fr; gap: 3.5rem; align-items: start; }

.nav-feature { margin: 0; }
.nav-feature__img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow); }
.nav-feature__cap { margin-top: 1.15rem; }
.nav-feature__cap .eyebrow { margin-bottom: .3rem; }
.nav-feature__cap h3 { margin: 0 0 1.1rem; font-size: 1.45rem; }

.megamenu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.25rem 2.5rem; }
.megamenu__hub {
    display: block; font-family: var(--display); font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em;
    color: var(--larimar-navy); text-decoration: none; padding-bottom: .6rem; margin-bottom: .85rem;
    border-bottom: 1px solid var(--line);
}
.megamenu__hub:hover { color: var(--larimar-blue); border-bottom-color: var(--larimar-blue); }
.megamenu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.megamenu li a { color: var(--muted); text-decoration: none; font-size: .92rem; line-height: 1.35;
    transition: color .15s ease, padding .15s ease; display: inline-block; }
.megamenu li a:hover { color: var(--larimar-blue); padding-left: .25rem; }

/* ---- Layout ---------------------------------------------------------------------------------- */
main { display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }
.prose { max-width: var(--measure); }
.prose-wide { max-width: var(--maxw); }

h1, h2, h3, h4 { font-family: var(--display); color: var(--larimar-navy); line-height: 1.12; letter-spacing: -.012em; font-weight: 600; }
h1 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); margin: 0 0 .6rem; }
h2 { font-size: clamp(1.7rem, 2.9vw, 2.5rem); margin: 2.75rem 0 .85rem; }
h3 { font-size: 1.4rem; margin: 2rem 0 .5rem; font-weight: 600; }
.byline { color: var(--muted); font-size: .95rem; margin: 0 0 2rem; }
.lede { font-size: 1.2rem; color: var(--muted); line-height: 1.6; }

/* ---- Footer ---------------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); margin-top: 4rem; }
.site-footer__bar { max-width: var(--maxw); margin: 0 auto; padding: 2rem 1.25rem; color: var(--muted); font-size: .9rem; }

/* ---- Home hero ------------------------------------------------------------------------------- */
.hero { background: linear-gradient(160deg, var(--larimar-navy), var(--larimar-blue) 70%, var(--larimar-sky)); color: #fff; }
.hero__inner { max-width: var(--maxw); margin: 0 auto; padding: 4.5rem 1.25rem 4rem; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--larimar-pale); margin: 0 0 .75rem; }
.hero h1 { color: #fff; max-width: 18ch; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.hero__lede { color: #eaf6ff; font-size: 1.2rem; max-width: 52ch; margin: 1rem 0 1.75rem; }
.hero__cta { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.editorial-strip { margin-top: 3rem; padding: 1.5rem 1.75rem; background: var(--larimar-pale); border-radius: var(--radius); color: var(--larimar-navy); max-width: var(--measure); }

/* ---- Category landing ------------------------------------------------------------------------ */
.card-grid { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.25rem;
    grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.35rem; background: var(--paper);
    box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(16,36,46,.08), 0 14px 32px rgba(16,36,46,.10); }
.card a { font-weight: 700; font-size: 1.1rem; text-decoration: none; color: var(--larimar-navy); }
.card a:hover { color: var(--larimar-blue); }

/* ---- Structured content blocks --------------------------------------------------------------- */
.content-blocks { max-width: var(--measure); }
.content-blocks > .block { margin: 1.4rem 0; }
.block-text p, .block-quote blockquote p, .block-callout p { margin: 0 0 1rem; }
.block-text :is(ul, ol) { padding-left: 1.4rem; }
.block-text a { font-weight: 600; }

.block-image, .block-gallery figure { margin: 0; }
.block-image img, .block-gallery img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
figcaption { color: var(--muted); font-size: .9rem; margin-top: .5rem; }
figcaption .credit { font-style: italic; }
.block-gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }

.block-quote { border-left: 4px solid var(--larimar-sky); padding: .25rem 0 .25rem 1.25rem; }
.block-quote blockquote { margin: 0; font-family: var(--display); font-weight: 500; font-size: 1.3rem; line-height: 1.4; color: var(--larimar-navy); }
.block-quote figcaption { margin-top: .5rem; }

.block-callout { border: 1px solid var(--line); border-left: 4px solid var(--larimar-blue);
    background: var(--surface); border-radius: var(--radius); padding: 1rem 1.25rem; }
.block-callout.callout-warning { border-left-color: #c77700; background: #fff8ee; }
.block-callout.callout-tip { border-left-color: #2e7d32; background: #f0f8f1; }
.block-callout.callout-note { border-left-color: var(--larimar-sky); }

.block-table table, .block-comparison table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.block-table th, .block-table td, .block-comparison th, .block-comparison td {
    border: 1px solid var(--line); padding: .55rem .7rem; text-align: left; vertical-align: top; }
.block-table thead th, .block-comparison thead th { background: var(--larimar-pale); color: var(--larimar-navy); }
caption { caption-side: top; text-align: left; color: var(--muted); font-size: .9rem; margin-bottom: .5rem; }

.block-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.block-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.block-timeline { list-style: none; padding: 0; border-left: 2px solid var(--line); margin-left: .5rem; }
.block-timeline li { position: relative; padding: 0 0 1.25rem 1.5rem; }
.block-timeline li::before { content: ""; position: absolute; left: -7px; top: .35rem; width: 12px; height: 12px;
    border-radius: 50%; background: var(--larimar-blue); }
.block-timeline .date { display: block; font-weight: 700; color: var(--larimar-blue); font-size: .85rem; }

.block-faq details { border: 1px solid var(--line); border-radius: var(--radius); padding: .25rem 1rem; margin: .6rem 0; }
.block-faq summary { font-weight: 700; cursor: pointer; padding: .6rem 0; color: var(--larimar-navy); }

.block-citation { display: block; color: var(--muted); font-size: .9rem; border-left: 2px solid var(--line); padding-left: .8rem; }

/* sources / corrections */
.sources { margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 1.5rem; font-size: .92rem; color: var(--muted); }
.sources ol { padding-left: 1.25rem; }

/* ---- Brand logo ------------------------------------------------------------------------------ */
.brand__logo { height: 72px; width: auto; display: block; }

/* ---- Grading page (bespoke, premium, image-led) ---------------------------------------------- */
.grade-hero { position: relative; min-height: 54vh; display: flex; align-items: flex-end; overflow: hidden; }
.grade-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.grade-hero__scrim { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(0,38,61,.94) 0%, rgba(0,38,61,.62) 46%, rgba(0,61,92,.2) 100%); }
.grade-hero__inner { position: relative; max-width: var(--maxw); margin: 0 auto; width: 100%; padding: 4.5rem 1.25rem 3.5rem; color: #fff; }
.grade-hero__eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .8rem; font-weight: 700; color: var(--larimar-pale); margin: 0 0 1rem; }
.grade-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); max-width: 16ch; margin: 0; line-height: 1.05; letter-spacing: -.015em; font-weight: 600; }
.grade-hero__lede { color: #e6f4ff; font-size: 1.22rem; max-width: 46ch; margin: 1.15rem 0 0; line-height: 1.55; }
.grade-hero__stats { display: flex; gap: 2.75rem; margin-top: 2.25rem; flex-wrap: wrap; }
.grade-hero__stats > div { display: flex; flex-direction: column; }
.grade-hero__stats b { font-size: 1.9rem; font-weight: 800; line-height: 1; }
.grade-hero__stats span { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--larimar-pale); margin-top: .35rem; }

.grade-method { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; padding-top: 3.5rem; padding-bottom: 1rem; }
.grade-method h2 { margin-top: 0; }
.grade-method__text p { font-size: 1.08rem; }
.grade-method__chart img { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow); background: #fff; }

.section-head { max-width: var(--measure); margin: 3.25rem 0 1.75rem; }
.section-head h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.35rem); letter-spacing: -.015em; }
.section-head p { color: var(--muted); font-size: 1.12rem; margin: .45rem 0 0; }

.grade-mosaic { columns: 300px; column-gap: 1.6rem; }
.gcard { break-inside: avoid; margin: 0 0 1.6rem; border-radius: 14px; overflow: hidden; background: var(--paper);
    box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .18s ease, box-shadow .18s ease; }
.gcard:hover { transform: translateY(-4px); box-shadow: 0 6px 14px rgba(16,36,46,.10), 0 24px 50px rgba(16,36,46,.15); }
.gcard--premium { border-color: transparent; box-shadow: 0 0 0 2px var(--larimar-blue), var(--shadow); }
.gcard__photo { position: relative; }
.gcard__photo img { width: 100%; height: auto; display: block; }
.gcard__price { position: absolute; right: .8rem; bottom: .8rem; background: rgba(0,38,61,.92); color: #fff; font-weight: 800;
    font-size: 1.1rem; padding: .35rem .7rem; border-radius: 999px; }
.gcard__price small { font-weight: 600; opacity: .75; font-size: .68em; }
.gcard--premium .gcard__price { background: var(--larimar-blue); }
.gcard__flag { position: absolute; left: .8rem; top: .8rem; background: var(--larimar-blue); color: #fff; font-size: .66rem;
    font-weight: 800; text-transform: uppercase; letter-spacing: .09em; padding: .25rem .55rem; border-radius: 6px; }
.gcard__body { padding: 1.15rem 1.3rem 1.35rem; }
.gcard__body h3 { margin: 0; font-size: 1.32rem; }
.gcard__tag { margin: .15rem 0 .75rem; color: var(--larimar-blue); font-weight: 600; font-size: .95rem; }
.gcard__note { margin: 0 0 1rem; font-size: .95rem; color: var(--ink); }
.gcard__specs { margin: 0; border-top: 1px solid var(--line); padding-top: .85rem; display: grid; gap: .5rem; }
.gcard__specs > div { display: grid; grid-template-columns: 4.2rem 1fr; gap: .5rem; }
.gcard__specs dt { margin: 0; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.gcard__specs dd { margin: 0; font-size: .88rem; }
.grade-note { font-size: .9rem; color: var(--muted); max-width: var(--maxw); margin: 1.5rem 0 0; }

.grade-pricing { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 3.5rem; }
.grade-pricing__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; padding-top: 3rem; padding-bottom: 3rem; }
.grade-pricing__text h2 { margin-top: 0; }
.grade-pricing__text p { font-size: 1.08rem; }
.grade-pricing__stamp { font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 700; }
.grade-pricing__table img { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow); background: #fff; }

.spec-classes { list-style: none; padding: 0; margin: 0; max-width: var(--maxw); }
.spec-classes li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.25rem; align-items: baseline; padding: 1.05rem 0; border-top: 1px solid var(--line); }
.spec-classes li:last-child { border-bottom: 1px solid var(--line); }
.spec-classes__num { font-weight: 800; color: var(--larimar-blue); font-size: 1.45rem; }
.spec-classes__txt { font-size: 1.02rem; }
.grade-classes { padding-bottom: 4rem; }

@media (max-width: 760px) {
    .grade-method, .grade-pricing__grid { grid-template-columns: 1fr; gap: 1.75rem; }
    .grade-hero { min-height: 70vh; }
}

/* ---- Homepage (bespoke) ---------------------------------------------------------------------- */
.eyebrow, .hero__eyebrow, .home-hero__eyebrow, .grade-hero__eyebrow { font-family: var(--display); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; font-weight: 600; color: var(--larimar-blue); margin: 0 0 .8rem; }

.home-hero { position: relative; min-height: 60vh; display: flex; align-items: center; overflow: hidden; }
.home-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero__scrim { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(0,38,61,.93) 0%, rgba(0,38,61,.66) 40%, rgba(0,61,92,.26) 100%); }
.home-hero__inner { position: relative; max-width: var(--maxw); margin: 0 auto; width: 100%; padding: 5rem 1.25rem; color: #fff; }
.home-hero__eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .82rem; font-weight: 700; color: var(--larimar-pale); margin: 0 0 1.1rem; }
.home-hero h1 { color: #fff; font-size: clamp(2.5rem, 5.4vw, 4.4rem); max-width: 16ch; margin: 0; line-height: 1.06; letter-spacing: -.015em; font-weight: 600; }
.home-hero__lede { color: #eaf6ff; font-size: 1.22rem; max-width: 46ch; margin: 1.4rem 0 2rem; line-height: 1.6; font-weight: 400; }
.home-hero__cta { display: flex; gap: .85rem; flex-wrap: wrap; }

.home-explore { padding-top: 3.75rem; }
.pillar-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 13rem; gap: 1rem; }
.pillar { position: relative; overflow: hidden; border-radius: 16px; text-decoration: none; box-shadow: var(--shadow); display: block; }
.pillar--lead { grid-column: span 2; grid-row: span 2; }
.pillar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pillar:hover img { transform: scale(1.06); }
.pillar__scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,38,61,.86) 0%, rgba(0,38,61,.16) 55%, transparent 100%); }
.pillar__label { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; color: #fff; font-weight: 800; font-size: 1.2rem; z-index: 1; display: flex; justify-content: space-between; align-items: center; }
.pillar--lead .pillar__label { font-size: 1.75rem; }
.pillar__arrow { opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
.pillar:hover .pillar__arrow { opacity: 1; transform: translateX(0); }

.home-source { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 4rem; padding: 3.5rem 0 0; }
.home-source__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.home-source__text h2 { margin: 0 0 .75rem; font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -.02em; }
.home-source__text p { font-size: 1.1rem; }
.home-source__photo img { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow); }
.home-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6rem; padding: 2.5rem 1.25rem; max-width: var(--maxw); margin: 0 auto; }
.home-strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; }

.home-questions { padding-top: 3.75rem; }
.qcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.1rem; }
.qcard { position: relative; display: block; text-decoration: none; color: inherit; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem 1.5rem 2.7rem; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.qcard:hover { transform: translateY(-3px); box-shadow: 0 4px 10px rgba(16,36,46,.1), 0 18px 40px rgba(16,36,46,.13); }
.qcard h3 { margin: 0 0 .5rem; font-size: 1.18rem; color: var(--larimar-navy); }
.qcard p { margin: 0; color: var(--muted); font-size: .95rem; }
.qcard__more { position: absolute; left: 1.5rem; bottom: 1.2rem; color: var(--larimar-blue); font-weight: 800; font-size: 1.2rem; }

.home-evidence { background: var(--larimar-navy); color: #fff; margin-top: 4rem; }
.home-evidence__inner { padding: 4.25rem 1.25rem; max-width: 60rem; }
.home-evidence .eyebrow { color: var(--larimar-sky); }
.home-evidence h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.7rem); letter-spacing: -.02em; margin: 0 0 1rem; max-width: 24ch; line-height: 1.12; }
.home-evidence__body { color: #d7ebf7; font-size: 1.15rem; max-width: 52ch; margin: 0 0 1.75rem; }

.home-gallery-wrap { padding-top: 3.75rem; padding-bottom: 1rem; }
.home-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: .75rem; }
.home-gallery figure { margin: 0; }
.home-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }

@media (max-width: 820px) {
    .pillar-bento { grid-template-columns: repeat(2, 1fr); }
    .pillar--lead { grid-column: span 2; grid-row: span 1; }
    .home-source__grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .home-strip { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Reused archive imagery ------------------------------------------------------------------ */
.page-hero { margin: 0 0 2rem; }
.page-hero img { width: 100%; height: auto; max-height: 30rem; object-fit: cover; border-radius: var(--radius); display: block; box-shadow: var(--shadow); }
.page-gallery { margin: 2.5rem 0 0; display: grid; gap: .85rem; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }
.page-gallery__item { margin: 0; }
.page-gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); display: block; box-shadow: var(--shadow); }

/* ---- Content-pack blocks --------------------------------------------------------------------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.evidence-labels { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.75rem; padding: 0; }
.evidence-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
    background: var(--larimar-pale); color: var(--larimar-navy); padding: .25rem .6rem; border-radius: 999px; }

.block-cta { margin: 1.75rem 0; }
.block-cta .btn { text-decoration: none; }

.related { margin: 2rem 0 0; font-size: .95rem; }
.related__label { font-weight: 700; color: var(--muted); margin-right: .35rem; }

.empty-state { border: 1px dashed var(--line); border-radius: var(--radius); background: var(--surface);
    color: var(--muted); padding: 1.25rem 1.5rem; text-align: center; }

.newsletter-band { background: var(--larimar-navy); color: #fff; margin-top: 4rem; }
.newsletter-band__inner { max-width: var(--measure); margin: 0 auto; padding: 3rem 1.25rem; text-align: center; }
.newsletter-band h2 { color: #fff; }
.newsletter-band p { color: #eaf6ff; }
.newsletter-form { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-top: 1.25rem; }
.newsletter-form input { flex: 1 1 16rem; max-width: 22rem; padding: .6rem .9rem; border: 0; border-radius: var(--radius); font-size: 1rem; }

.glossary { margin-top: 1.5rem; }
.glossary dt { font-weight: 700; color: var(--larimar-navy); margin-top: 1.1rem; }
.glossary dd { margin: .25rem 0 0; color: var(--ink); }
.glossary__link { margin-left: .4rem; font-size: .9rem; }

@media (max-width: 980px) {
    .nav-panel__inner { grid-template-columns: 1fr; gap: 2rem; }
    .nav-feature { display: none; }
    .megamenu { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 2rem; }
}
@media (max-width: 640px) {
    :root { --header-h: 4.75rem; }
    .brand__logo { height: 56px; }
    .nav-trigger { letter-spacing: .12em; }
    .nav-trigger__txt--open, .nav-trigger__txt--close { display: none; }
    .nav-toggle:checked ~ .site-header .nav-trigger__txt--close { display: none; }
    .header-utils { gap: .9rem; }
    .lang-switch { display: flex; }
    .megamenu { grid-template-columns: 1fr; gap: 1.5rem; }
    .wrap { padding-top: 1.75rem; }
}
