/* Foundation Nova Diem: flat navy + gold, Fraunces (upright only) + Geist.
   No gradients anywhere. The sky is one flat colour at any moment; it only
   changes colour as the visitor scrolls from night to midday. */
:root {
  --navy: #091832;
  --navy-700: #122549;
  --navy-600: #1a3060;
  --gold: #e6b23c;
  --gold-600: #c9942a;
  --gold-100: #f5ddab;
  --ivory: #f2efe6;
  --ivory-dim: #d9d5c8;
  --paper: #f6f5f1;
  --paper-dim: #ebe9e2;
  --paper-fg: #12193a;
  --paper-fg-muted: #3d4460;
  --navy-fg-muted: #b9c0da;
  --accent-text: #886311;
  --sky: #0e1f45;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-micro: clamp(0.75rem, 0.72rem + 0.1vw, 0.875rem);
  --step-caption: clamp(0.875rem, 0.85rem + 0.1vw, 1rem);
  --step-body: clamp(1rem, 0.97rem + 0.15vw, 1.125rem);
  --step-subhead: clamp(1.2rem, 1.1rem + 0.45vw, 1.5rem);
  --step-h3: clamp(1.4rem, 1.25rem + 0.8vw, 2rem);
  --step-h2: clamp(2.1rem, 1.5rem + 2.4vw, 3.6rem);
  --step-display: clamp(2.5rem, 1.6rem + 3.8vw, 5.25rem);
  --step-hero: clamp(3rem, min(1.7rem + 5.4vw, 11.5vh), 7rem); /* capped by height so short laptops fit */

  --gutter: clamp(1rem, 0.4rem + 3vw, 4rem);
  --wrap: 78rem;
  --radius: 3px;
  --radius-card: 14px;
  --radius-pill: 999px;

  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-base: 240ms;
  --dur-reveal: 900ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, blockquote { font-family: var(--font-display); font-weight: 600; font-style: normal; margin: 0; letter-spacing: -0.015em; line-height: 1.05; font-variation-settings: "opsz" 144; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.is-light :focus-visible { outline-color: var(--accent-text); }
.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; }
.skip { position: fixed; top: -100px; left: 1rem; z-index: 100; background: var(--gold); color: var(--navy); padding: .6rem 1rem; border-radius: var(--radius-pill); font-weight: 650; }
.skip:focus { top: 1rem; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ---------------- The sky (fixed, behind everything) ---------------- */
.sky { position: fixed; inset: 0; z-index: 0; background: var(--sky); overflow: hidden; pointer-events: none; }
.sky canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sun { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
.sun span { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 44vh; height: 44svh; overflow: visible; }
.hills g { will-change: transform; }
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------- Navigation ---------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: color var(--dur-base) var(--ease-out-quart), background-color var(--dur-base) var(--ease-out-quart), border-color var(--dur-base);
  color: var(--ivory);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: color-mix(in srgb, var(--sky) 72%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: rgb(230 178 60 / 18%); }
.is-light .nav.is-scrolled { border-bottom-color: rgb(11 22 64 / 12%); }
.is-light .nav { color: var(--paper-fg); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand svg { width: 1.9rem; height: auto; color: currentColor; }
.brand__word { display: grid; line-height: 1; }
.brand__word small { font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; opacity: .72; font-weight: 500; }
.brand__word strong { font-size: .98rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 650; color: var(--gold); transition: color var(--dur-base); }
.is-light .brand__word strong { color: var(--accent-text); }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); list-style: none; margin: 0; padding: 0; font-size: var(--step-caption); font-weight: 520; }
.nav__links a { text-decoration: none; opacity: .86; transition: opacity var(--dur-base); }
.nav__links a:hover { opacity: 1; }
@media (max-width: 900px) { .nav__links { display: none; } }

/* ---------------- Buttons ---------------- */
.btn {
  --btn-bg: var(--gold); --btn-fg: var(--navy);
  display: inline-flex; align-items: center; gap: .8rem; padding: .85em 1.15em .85em 1.4em;
  border-radius: var(--radius-pill); background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 650; font-size: var(--step-caption); text-decoration: none; line-height: 1.1;
  border: 1px solid var(--btn-bg);
  transition: transform var(--dur-base) var(--ease-out-expo), background-color var(--dur-base), color var(--dur-base), box-shadow var(--dur-base);
}
.btn__disc { display: grid; place-items: center; width: 1.75em; height: 1.75em; margin: -.3em -.25em -.3em 0; border-radius: 50%; background: var(--btn-fg); color: var(--btn-bg); transition: transform 400ms var(--ease-out-expo); }
.btn__disc svg { width: .8em; height: .8em; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .btn__disc { transform: translate(2px, -2px) rotate(-45deg); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--ghost { background: transparent; color: currentColor; border-color: currentColor; }
.btn--ghost .btn__disc { background: currentColor; }
.btn--ghost .btn__disc svg { color: var(--navy); }
.btn--sm { padding: .6em .9em .6em 1.1em; }
.is-light .nav .btn { --btn-bg: var(--navy); --btn-fg: var(--ivory); }
.tone-light .btn:not(.btn--ghost):not(.btn--gold) { --btn-bg: var(--navy); --btn-fg: var(--ivory); }
.tone-light .btn--ghost .btn__disc svg { color: var(--paper); }
.text-link { display: inline-flex; align-items: center; gap: .45em; font-weight: 650; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: .15em; font-size: var(--step-caption); }
.text-link svg { width: .9em; height: .9em; transition: transform var(--dur-base) var(--ease-out-expo); }
.text-link:hover svg { transform: translateX(3px); }
.tone-light .text-link { border-bottom-color: var(--accent-text); }

/* ---------------- Shared section type ---------------- */
main { position: relative; z-index: 2; }
.section { position: relative; padding-block: clamp(6rem, 14vh, 11rem); }
/* Holds: each section's content pins in place for a stretch of scrolling, like turning
   a page, while its animations finish; then the page moves on. JS wraps the content in
   .hold__stick, adds .hold__space, and sets the stick's top so the content sits centred
   under the nav (or, if it is taller than the screen, pins once its end is in view). */
.hold { --hold: 75vh; padding-block: clamp(4rem, 9vh, 7rem); }
.hold__stick { position: sticky; top: 4.5rem; }
.hold__space { height: var(--hold); }
.closer.hold { --hold: 45vh; }
@media (max-width: 760px) { .hold { --hold: 55vh; } .closer.hold { --hold: 30vh; } }
.tone-dark { color: var(--ivory); }
.tone-light { color: var(--paper-fg); }
.eyebrow { display: inline-flex; align-items: center; gap: .75rem; font-size: var(--step-micro); font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; }
.tone-light .eyebrow { color: var(--accent-text); }
.muted { color: var(--navy-fg-muted); }
.tone-light .muted { color: var(--paper-fg-muted); }
h2 { font-size: var(--step-h2); }
.lede { font-size: var(--step-subhead); line-height: 1.45; max-width: 34ch; }

/* Reveal: only hidden when JS is running, so content never disappears. */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity var(--dur-reveal) var(--ease-out-expo), transform var(--dur-reveal) var(--ease-out-expo); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------------- Morning: evidence ---------------- */
.evidence__top { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.evidence h2 { margin-top: 1.2rem; max-width: 13ch; }
.alpha { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius-card); background: var(--navy); color: var(--ivory); }
.alpha b { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 2rem + 2.6vw, 4.4rem); line-height: 1; letter-spacing: -0.03em; color: var(--gold); font-variant-numeric: tabular-nums; }
.alpha p { margin-top: .9rem; font-size: var(--step-caption); }
.alpha .fine { color: var(--navy-fg-muted); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); margin-top: clamp(3rem, 7vh, 5rem); }
.pillar { border-top: 2px solid var(--navy); padding-top: 1.25rem; }
.pillar h3 { font-size: var(--step-h3); }
.pillar p { margin-top: .6rem; color: var(--paper-fg-muted); }
.evidence__links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: clamp(2.5rem, 6vh, 4rem); }
@media (max-width: 860px) { .evidence__top, .pillars { grid-template-columns: 1fr; } }

/* ---------------- Day: the offer ---------------- */
.give__head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 2rem clamp(1rem, 2vw, 1.5rem); align-items: end; } /* same tracks as .offers, so the intro starts on the partner card's edge */
.give h2 { margin-top: 1.2rem; max-width: 15ch; }
.give__head p { color: var(--paper-fg-muted); max-width: 40ch; }
.offers { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(2.5rem, 6vh, 4rem); }
.card { position: relative; border-radius: var(--radius-card); padding: clamp(1.5rem, 3.2vw, 2.75rem); overflow: hidden; display: flex; flex-direction: column; isolation: isolate; }
.card::after { content: ""; position: absolute; z-index: -1; width: 22rem; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; opacity: .14; right: -9rem; bottom: -13rem; transition: transform 700ms var(--ease-out-expo), opacity 700ms; }
.card:hover::after { transform: translate(-1.5rem, -1.5rem) scale(1.06); opacity: .26; }
.card--navy { background: var(--navy); color: var(--ivory); }
.card--gold { background: var(--gold); color: var(--navy); }
.card__tag { font-size: var(--step-micro); letter-spacing: .16em; text-transform: uppercase; font-weight: 650; }
.card--navy .card__tag { color: var(--gold); }
.card h3 { margin-top: 1.25rem; font-size: var(--step-h2); max-width: 14ch; }
.card > p { margin-top: 1rem; max-width: 40ch; }
.card--navy > p { color: var(--navy-fg-muted); }
.amounts { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; margin-top: 2rem; border: 0; padding: 0; }
.amounts legend { font-size: var(--step-micro); letter-spacing: .14em; text-transform: uppercase; font-weight: 650; margin-bottom: .75rem; color: var(--navy-fg-muted); }
.amounts label { position: relative; }
.amounts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.amounts span { display: grid; place-items: center; height: 3.25rem; border-radius: 10px; border: 1px solid rgb(242 239 230 / 22%); font-weight: 650; font-variant-numeric: tabular-nums; transition: background-color var(--dur-base), color var(--dur-base), border-color var(--dur-base), transform var(--dur-base) var(--ease-out-expo); }
.amounts label:hover span { border-color: var(--gold); }
.amounts input:checked + span { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.amounts input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.custom { display: none; margin-top: .75rem; }
.custom.show { display: flex; }
.custom label { display: flex; align-items: center; gap: .5rem; width: 100%; height: 3.25rem; padding: 0 1rem; border-radius: 10px; border: 1px solid var(--gold); }
.custom input { flex: 1; min-width: 0; background: transparent; border: 0; color: inherit; font: inherit; font-weight: 650; font-variant-numeric: tabular-nums; }
.custom input:focus { outline: none; }
.give__go { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; }
.give__note { font-size: var(--step-micro); color: var(--navy-fg-muted); max-width: 30ch; line-height: 1.5; }
.tone-light .card--navy .btn:not(.btn--ghost) { --btn-bg: var(--gold); --btn-fg: var(--navy); }
.card--gold .btn { --btn-bg: var(--navy); --btn-fg: var(--ivory); margin-top: auto; align-self: flex-start; }
.card--gold ul { list-style: none; padding: 0; margin: 1.75rem 0 2rem; display: grid; gap: .6rem; }
.card--gold li { display: flex; gap: .7rem; align-items: baseline; font-weight: 520; }
.card--gold li::before { content: ""; flex: none; width: .55rem; height: .55rem; border-radius: 2px; background: var(--navy); transform: translateY(-.05rem); }
@media (max-width: 900px) { .give__head, .offers { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .amounts { grid-template-columns: repeat(3, 1fr); } .amounts label:last-of-type { grid-column: span 2; } } /* 3 + 2 rows: "Other" fills the second row, no empty cell */

/* ---------------- Footer ---------------- */
.footer { position: relative; z-index: 2; background: var(--navy); color: var(--navy-fg-muted); }
.trust { display: grid; grid-template-columns: auto auto 1fr; gap: 1.5rem 3rem; align-items: center; padding-block: 1.75rem; border-bottom: 1px solid rgb(230 178 60 / 20%); }
.trust div { display: grid; gap: .2rem; }
.trust strong { color: var(--ivory); font-weight: 650; font-size: var(--step-caption); }
.trust span { font-size: var(--step-micro); }
.trust nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem 1.5rem; font-size: var(--step-caption); font-weight: 600; color: var(--ivory); }
.trust nav a { text-decoration: none; border-bottom: 1px solid rgb(230 178 60 / 50%); }
.footer__main { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; padding-block: clamp(2.5rem, 6vh, 4rem); }
.footer__main .brand { color: var(--ivory); }
.footer__tag { margin-top: 1rem; font-family: var(--font-display); font-size: var(--step-subhead); color: var(--ivory); max-width: 24ch; line-height: 1.3; }
.footer__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 2rem; list-style: none; margin: 0; padding: 0; font-size: var(--step-caption); }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--ivory); }
.legal { padding-block: 0 2.5rem; font-size: var(--step-micro); line-height: 1.6; }
.legal p { max-width: 80ch; } /* measure on the text, not the wrap, so it keeps the footer's left edge */
@media (max-width: 760px) { .trust, .footer__main { grid-template-columns: 1fr; } .trust nav { justify-content: flex-start; } }

/* ---------------- Day clock (fixed HUD) ---------------- */
.clock { position: fixed; z-index: 40; left: var(--gutter); bottom: clamp(1rem, 3vh, 1.75rem); display: flex; align-items: center; gap: .7rem; padding: .5rem .9rem .5rem .55rem; border-radius: var(--radius-pill); font-size: var(--step-micro); letter-spacing: .08em; color: var(--ivory); background: color-mix(in srgb, var(--sky) 70%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgb(230 178 60 / 30%); transition: opacity 400ms, color var(--dur-base), border-color var(--dur-base); opacity: 0; pointer-events: none; }
.clock.show { opacity: 1; }
.is-light .clock { color: var(--paper-fg); border-color: rgb(9 24 50 / 18%); }
.clock svg { width: 1.6rem; height: 1.6rem; }
.clock__time { font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.clock__label { text-transform: uppercase; letter-spacing: .18em; opacity: .75; }
.clock .dial { fill: none; stroke: currentColor; stroke-opacity: .25; }
.clock .hand { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; }
.is-light .clock .hand { stroke: var(--accent-text); }
.rail { position: fixed; z-index: 40; right: calc(var(--gutter) * .5); top: 50%; width: 1px; height: 28vh; transform: translateY(-50%); background: rgb(242 239 230 / 22%); transition: opacity 400ms, background-color var(--dur-base); opacity: 0; }
.rail.show { opacity: 1; }
.is-light .rail { background: rgb(9 24 50 / 18%); }
.rail i { position: absolute; left: -3px; top: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); transform: translateY(-50%); }
.is-light .rail i { background: var(--accent-text); }
@media (max-width: 760px) { .rail { display: none; } .clock { padding: .4rem .7rem .4rem .45rem; gap: .5rem; } .clock__label { display: none; } .clock svg { width: 1.3rem; height: 1.3rem; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .js .rv { opacity: 1; transform: none; }
  .js .statement .w { opacity: 1; }
  .js .hero h1 .line > span, .js .hero__fade { transform: none; opacity: 1; }
}

/* =====================================================================
   Shared page components (used by every page other than the homepage hero)
   ===================================================================== */

/* ---------------- Current page in the nav ---------------- */
.nav__links a[aria-current="page"] { opacity: 1; box-shadow: inset 0 -1px 0 var(--gold); padding-bottom: .2em; }
.is-light .nav__links a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--accent-text); }

/* ---------------- Mobile menu ---------------- */
.nav__right { display: flex; align-items: center; gap: .6rem; }
.nav__menu { display: none; align-items: center; gap: .55rem; height: 2.6rem; padding: 0 .95rem; border-radius: var(--radius-pill); border: 1px solid currentColor; background: transparent; color: inherit; font: inherit; font-size: var(--step-caption); font-weight: 600; cursor: pointer; }
.nav__menu i { position: relative; width: 1rem; height: 1px; background: currentColor; }
.nav__menu i::before, .nav__menu i::after { content: ""; position: absolute; left: 0; width: 100%; height: 1px; background: currentColor; transition: transform var(--dur-base) var(--ease-out-quart); }
.nav__menu i::before { top: -4px; } .nav__menu i::after { top: 4px; }
.menu-open .nav__menu i { background: transparent; }
.menu-open .nav__menu i::before { transform: translateY(4px) rotate(45deg); }
.menu-open .nav__menu i::after { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 900px) { .nav__menu { display: inline-flex; } }
.menu { position: fixed; inset: 0; z-index: 45; background: var(--navy); color: var(--ivory); padding: 6.5rem var(--gutter) 2.5rem; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity 320ms var(--ease-out-quart), visibility 0s linear 320ms; }
.menu-open .menu { visibility: visible; opacity: 1; transition: opacity 320ms var(--ease-out-quart); }
.menu-open .nav { color: var(--ivory); background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .nav .brand__word strong { color: var(--gold); }
.menu-open body, body.menu-open { overflow: hidden; }
.menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.menu__main a { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 8vw, 2.8rem); line-height: 1.15; text-decoration: none; letter-spacing: -0.02em; }
.menu__main a[aria-current="page"] { color: var(--gold); }
.menu__more { display: grid !important; grid-template-columns: 1fr 1fr; gap: .6rem 1.5rem !important; font-size: var(--step-caption); color: var(--navy-fg-muted); }
.menu__more a { text-decoration: none; }

/* ---------------- Interior page hero ---------------- */
.page-hero { position: relative; min-height: 92vh; min-height: 92svh; display: grid; align-items: center; padding-block: 7rem clamp(4rem, 9vh, 6rem); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.page-hero__text { display: flex; flex-direction: column; gap: clamp(1.1rem, 3vh, 1.75rem); container-type: inline-size; }
.page-hero h1 { font-size: clamp(2.6rem, min(13cqi, 11vh), 6rem); line-height: 1; letter-spacing: -0.03em; }
.page-hero h1 .gold { color: var(--gold); }
.tone-light .page-hero h1 .gold, .page-hero.tone-light h1 .gold { color: var(--accent-text); }
.page-hero .lede { color: var(--navy-fg-muted); max-width: 40ch; }
.page-hero.tone-light .lede { color: var(--paper-fg-muted); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.page-hero__art { position: relative; min-height: 18rem; display: grid; place-items: center; }
.page-hero__art svg { width: 100%; height: auto; max-height: 62vh; overflow: visible; }
@media (max-width: 760px) {
  .page-hero { min-height: auto; padding-top: 6.5rem; }
  .page-hero__grid { grid-template-columns: minmax(0, 1fr); } /* minmax(0) so a long word can never widen the page */
  .page-hero__art { min-height: 0; order: -1; max-width: 22rem; margin-inline: auto; width: 100%; }
}

/* ---------------- Layout helpers ---------------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split--center { align-items: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.stack > * + * { margin-top: var(--stack, 1.25rem); }
@media (max-width: 860px) { .split, .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); } }
.section-head { display: grid; gap: 1.1rem; max-width: 52rem; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.section-head p:not(.eyebrow) { color: var(--navy-fg-muted); max-width: 52ch; font-size: var(--step-subhead); line-height: 1.45; }
.tone-light .section-head p:not(.eyebrow) { color: var(--paper-fg-muted); }

/* ---------------- Panels (glass on dark, solid on light) ---------------- */
.panel { position: relative; border-radius: var(--radius-card); padding: clamp(1.4rem, 2.8vw, 2.25rem); background: rgb(242 239 230 / 6%); border: 1px solid rgb(230 178 60 / 26%); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tone-light .panel { background: rgb(255 255 255 / 55%); border-color: rgb(9 24 50 / 12%); }
.panel h3 { font-size: var(--step-h3); }
.panel p { margin-top: .6rem; color: var(--navy-fg-muted); }
.tone-light .panel p { color: var(--paper-fg-muted); }
.panel__tag { display: block; font-size: var(--step-micro); letter-spacing: .14em; text-transform: uppercase; font-weight: 650; color: var(--gold); margin-bottom: .9rem; }
.tone-light .panel__tag { color: var(--accent-text); }

/* ---------------- Numbered steps ---------------- */
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps-list > li { counter-increment: step; display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding-block: 1.5rem; border-top: 1px solid rgb(230 178 60 / 24%); }
.tone-light .steps-list > li { border-top-color: rgb(9 24 50 / 14%); }
.steps-list > li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.tone-light .steps-list > li::before { color: var(--accent-text); }
.steps-list h3 { font-size: var(--step-h3); }
.steps-list p { margin-top: .4rem; color: var(--navy-fg-muted); max-width: 52ch; }
.tone-light .steps-list p { color: var(--paper-fg-muted); }

/* ---------------- FAQ (details/summary) ---------------- */
.faq { border-top: 1px solid rgb(230 178 60 / 24%); }
.tone-light .faq { border-top-color: rgb(9 24 50 / 14%); }
.faq details { border-bottom: 1px solid rgb(230 178 60 / 24%); }
.tone-light .faq details { border-bottom-color: rgb(9 24 50 / 14%); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: 1.3rem; font-weight: 600; font-size: var(--step-subhead); line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1px solid currentColor; font-weight: 400; font-size: 1.15rem; line-height: 1; transition: transform var(--dur-base) var(--ease-out-expo); opacity: .8; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding-bottom: 1.4rem; max-width: 64ch; color: var(--navy-fg-muted); }
.tone-light .faq .faq__a { color: var(--paper-fg-muted); }
.faq .faq__a > * + * { margin-top: .8rem; }

/* ---------------- Forms ---------------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .45rem; }
.field label, .field legend { font-size: var(--step-micro); letter-spacing: .12em; text-transform: uppercase; font-weight: 650; }
.field .hint { font-size: var(--step-micro); color: var(--navy-fg-muted); }
.tone-light .field .hint { color: var(--paper-fg-muted); }
.input, .textarea, .select { width: 100%; font: inherit; color: inherit; background: rgb(242 239 230 / 6%); border: 1px solid rgb(242 239 230 / 26%); border-radius: 10px; padding: .85rem 1rem; transition: border-color var(--dur-base), background-color var(--dur-base); }
.tone-light .input, .tone-light .textarea, .tone-light .select { background: rgb(255 255 255 / 70%); border-color: rgb(9 24 50 / 22%); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--gold); }
.tone-light .input:focus, .tone-light .textarea:focus, .tone-light .select:focus { border-color: var(--accent-text); }
.textarea { min-height: 9rem; resize: vertical; }
.select { appearance: none; background-image: none; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--step-caption); }
.check input { margin-top: .25rem; accent-color: var(--gold); width: 1.05rem; height: 1.05rem; }
.form__note { font-size: var(--step-micro); color: var(--navy-fg-muted); line-height: 1.55; }
.tone-light .form__note { color: var(--paper-fg-muted); }

/* ---------------- Long-form text (legal pages, journal articles) ---------------- */
.prose { max-width: 68ch; font-size: var(--step-body); line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--step-h3); margin-top: 2.2em; line-height: 1.15; }
.prose h3 { font-size: var(--step-subhead); margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .4em; }
.prose a { text-decoration-color: var(--gold); text-underline-offset: .2em; }
.tone-light .prose a { text-decoration-color: var(--accent-text); }
.prose blockquote { font-weight: 400; font-size: var(--step-h3); line-height: 1.3; padding-left: 1.25rem; border-left: 2px solid var(--gold); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--step-caption); }
.prose th, .prose td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid rgb(9 24 50 / 14%); vertical-align: top; }
.tone-dark .prose th, .tone-dark .prose td { border-bottom-color: rgb(230 178 60 / 24%); }
.meta { font-size: var(--step-micro); letter-spacing: .12em; text-transform: uppercase; color: var(--navy-fg-muted); }
.tone-light .meta { color: var(--paper-fg-muted); }
/* A legal or text page sits on a paper sheet so long reading is calm and high-contrast. */
.sheet { background: var(--paper); color: var(--paper-fg); border-radius: var(--radius-card); padding: clamp(1.5rem, 5vw, 4rem); }

/* ---------------- Closing call to action band ---------------- */
.cta-band { text-align: center; display: grid; justify-items: center; gap: 1.5rem; }
.cta-band h2 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 5rem); max-width: 18ch; line-height: 1.03; letter-spacing: -0.03em; }
.cta-band p { max-width: 46ch; color: var(--navy-fg-muted); font-size: var(--step-subhead); line-height: 1.45; }
.tone-light .cta-band p { color: var(--paper-fg-muted); }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

/* ---------------- Small UI ---------------- */
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .75rem; border-radius: var(--radius-pill); font-size: var(--step-micro); font-weight: 650; letter-spacing: .08em; text-transform: uppercase; border: 1px solid currentColor; }
.chip--gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.note { padding: 1rem 1.25rem; border-left: 2px solid var(--gold); font-size: var(--step-caption); color: var(--navy-fg-muted); }
.tone-light .note { border-left-color: var(--accent-text); color: var(--paper-fg-muted); }

/* Small phones: keep the bar on one line. The menu button shows only its icon;
   its label stays readable to screen readers. */
@media (max-width: 520px) {
  .nav__inner { gap: .75rem; }
  .brand { gap: .55rem; }
  .brand svg { width: 1.6rem; }
  .brand__word strong { white-space: nowrap; font-size: .86rem; letter-spacing: .16em; }
  .brand__word small { font-size: .56rem; }
  .nav__right { gap: .45rem; }
  .nav .btn--sm { padding: .55em .7em .55em .95em; gap: .5rem; }
  .nav__menu { width: 2.6rem; padding: 0; justify-content: center; }
  .nav__menu span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------------- Shared from the homepage: statement, quote card, stats, fine print ---------------- */
.statement { font-family: var(--font-display); font-weight: 400; font-size: var(--step-display); line-height: 1.12; letter-spacing: -0.02em; max-width: 22ch; margin-top: 2rem; font-variation-settings: "opsz" 144; }
.statement .w { transition: opacity 300ms linear, color 300ms linear; }
.js .statement .w { opacity: .16; }
.js .statement .w.lit { opacity: 1; }
.statement .w.key { color: var(--gold); }
.report {
  margin: 2.2rem 0 0; padding: clamp(1.25rem, 2.5vw, 1.75rem); border-radius: var(--radius-card); /* reset UA figure inset so it shares the column edge */
  background: rgb(242 239 230 / 6%); border: 1px solid rgb(230 178 60 / 28%);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); max-width: 34rem;
}
.report small { display: flex; align-items: center; gap: .6rem; font-size: var(--step-micro); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 650; }
.report small::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--gold); }
.report blockquote { margin-top: .9rem; font-size: var(--step-h3); font-weight: 400; line-height: 1.25; }
.stat b { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--step-display); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: .5rem; font-size: var(--step-caption); color: var(--navy-fg-muted); max-width: 22ch; }
.fine { margin-top: 1.25rem; font-size: var(--step-micro); line-height: 1.55; color: var(--navy-fg-muted); max-width: 52ch; }
.tone-light .stat span, .tone-light .fine { color: var(--paper-fg-muted); }
.tone-light .report small { color: var(--accent-text); }
.tone-light .report small::before { background: var(--accent-text); }
.tone-light .alpha .fine, .tone-light .card--navy .fine { color: var(--navy-fg-muted); } /* navy cards on light skies keep light fine print */

/* Desktop: the day clock stands upright in the left margin, outside the text column,
   so it never sits on content. Phones keep the small pill at the bottom. */
@media (min-width: 761px) {
  .clock { left: max(8px, calc(var(--gutter) - 2.6rem)); top: 50%; bottom: auto; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; padding: .7rem .4rem .6rem; gap: .55rem; }
  .clock svg { width: 1.3rem; height: 1.3rem; transform: rotate(90deg); }
  .clock__label { letter-spacing: .16em; }
}

/* Sections on the gold sunrise sky: gold-on-gold labels are too faint, so they go navy. */
.tone-gold .eyebrow, .tone-gold .panel__tag, .tone-gold .card__tag:not(.card--navy .card__tag), .tone-gold .meta { color: var(--navy); }
.tone-gold .eyebrow::before { background: var(--navy); }

/* Phones: the floating clock would sit on text, so the day is shown as a thin gold line
   along the bottom of the nav instead. */
@media (max-width: 760px) {
  .clock { display: none; }
  .nav::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: calc(var(--page-progress, 0) * 100%); background: var(--gold); }
  .is-light .nav::after { background: var(--accent-text); }
}

/* Centred closing bands: the eyebrow rule only reads well on left-aligned labels. */
.cta-band .eyebrow::before, .closer .eyebrow::before { display: none; }

/* Mid-sunrise sky (rose/violet): gold on it is too faint, so gold UI turns ivory for that moment. */
.is-mid .brand__word strong, .is-mid .clock .hand { color: var(--ivory); stroke: var(--ivory); }
.is-mid .nav .btn--sm { --btn-bg: var(--ivory); --btn-fg: var(--navy); }
.is-mid .nav__links a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--ivory); }

/* Tablet and desktop: the upright clock (left) and the progress rail (right) live in the
   margins, so the content column always keeps a clear buffer on both sides. */
@media (min-width: 761px) {
  :root { --hud-space: 4.25rem; }
  .wrap { width: min(100% - 2 * max(var(--gutter), var(--hud-space)), var(--wrap)); }
  .clock { left: 10px; }
}
