/* ==========================================================================
   Eric Abraham, Psychology for Men: design tokens (stage 05, UI)
   Copied verbatim from /workspace/eric_site/05_tokens.css; only the font
   url() paths were changed to be relative to /assets/css/.
   Direction: "Night study". Dark bookends (header, hero, who, close, footer)
   with a warm-paper middle (about → faq). Brass accent from the lit shelves
   in Eric's portrait. No clinical blues/teals, no spa pastels, no scripts.

   Every text/UI colour pair used below is verified by
   tools/contrast_check.py (WCAG 2.2 AA). Report: tools/contrast_report.txt.
   If you change a hex here, change it in the script and re-run it.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fonts (self-hosted, SIL OFL 1.1, from github.com/google/fonts)
   Files are in assets/fonts/. Subset: Basic Latin + Latin-1, general
   punctuation (U+2000-206F), ₹ (U+20B9), arrows (U+2190-2193), minus.
   - newsreader-display-latin.woff2: Newsreader instanced at opsz 60,
     variable wght 500-650 (~38 KB). Headings only.
   - schibsted-grotesk-latin.woff2: Schibsted Grotesk variable wght
     400-700 (~39 KB). Body + UI.
   Preload ONLY the heading file (the H1 is the LCP element, see 04_seo §7):
   <link rel="preload" href="/assets/fonts/newsreader-display-latin.woff2"
         as="font" type="font/woff2" crossorigin>
   Google Fonts CDN equivalent (not recommended: 3rd-party request, no
   instancing). Kept only as a reference:
   https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,500..650&family=Schibsted+Grotesk:wght@400..700&display=swap
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Newsreader Display";
  src: url("../fonts/newsreader-display-latin.woff2") format("woff2");
  font-weight: 500 650;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20B9, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20B9, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Metric-matched local fallbacks reduce CLS while the web fonts swap in. */
@font-face {
  font-family: "Newsreader Fallback";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 96%;
  ascent-override: 94%;
  descent-override: 26%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Schibsted Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Roboto");
  size-adjust: 101%;
  ascent-override: 98%;
  descent-override: 25%;
  line-gap-override: 0%;
}

:root {
  color-scheme: dark light;

  /* ------------------------------------------------------------------------
     1. Colour primitives (never use directly in components; use roles)
     ------------------------------------------------------------------------ */
  /* Ink: warm near-blacks from the suit and tie */
  --ink-950: #12100E;   /* page dark, primary text on light, Cal.com brand */
  --ink-900: #1A1714;   /* header, mobile bar, footer, who band */
  --ink-800: #24201C;   /* cards on dark, WhatsApp button */
  --ink-700: #3B352E;   /* decorative hairlines on dark (not for controls) */
  --ink-500: #857A6B;   /* control borders on dark (>=3:1) */
  --ink-text: #2B2722;  /* body text on light */

  /* Bone: warm off-whites from the shirt and the lit room */
  --bone-50: #F4EEE4;   /* light page, primary text on dark */
  --bone-100: #EAE2D4;  /* sessions band, table header */
  --bone-200: #DFD5C4;  /* privacy band, credentials box, FAQ open row */
  --bone-400: #7D7364;  /* control borders on light (>=3:1) */

  /* Stone: secondary text */
  --stone-200: #D9D0C2; /* secondary text on dark */
  --stone-300: #BDB3A3; /* muted text on dark */
  --stone-600: #5C5449; /* muted text on light */

  /* Brass: the amber shelf light */
  --brass-300: #E0BC78; /* hover on dark */
  --brass-400: #D2A75C; /* primary button fill, accent on dark */
  --brass-500: #BE9248; /* pressed */
  --brass-700: #735216; /* accent text + links on light */
  --brass-800: #5F4313; /* link hover on light */

  /* Signal colours */
  --amber-focus: #F2C76E; /* focus ring on dark surfaces */
  --clay-300: #EBA788;    /* "Urgent help" on dark: distinct, warm, not alarm-red */
  --clay-700: #9A3F22;    /* safety labels/rules on light, emergency heading */
  --whatsapp-green: #25D366; /* WhatsApp glyph only, never a fill or text colour */

  /* ------------------------------------------------------------------------
     2. Semantic roles (default = dark surface; .surface-light flips them)
     ------------------------------------------------------------------------ */
  --color-bg: var(--ink-950);
  --color-bg-alt: var(--ink-900);
  --color-surface: var(--ink-800);
  --color-text: var(--bone-50);
  --color-text-secondary: var(--stone-200);
  --color-text-muted: var(--stone-300);
  --color-accent-text: var(--brass-400);
  --color-link: var(--brass-400);
  --color-link-hover: var(--brass-300);
  --color-border-decorative: var(--ink-700);
  --color-border-control: var(--ink-500);
  --color-focus-ring: var(--amber-focus);

  --color-btn-primary-bg: var(--brass-400);
  --color-btn-primary-bg-hover: var(--brass-300);
  --color-btn-primary-bg-active: var(--brass-500);
  --color-btn-primary-text: var(--ink-950);
  --color-btn-primary-border: var(--brass-400);
  --color-btn-secondary-text: var(--bone-50);
  --color-btn-secondary-border: var(--ink-500);
  --color-btn-secondary-bg-hover: var(--ink-800);

  --color-urgent: var(--clay-300);
  --color-safety: var(--clay-700);

  --color-header-bg: var(--ink-900);
  --color-header-border: var(--ink-700);
  --color-mobilebar-bg: var(--ink-900);

  --color-emergency-bg: var(--bone-50);
  --color-emergency-text: var(--ink-950);
  --color-emergency-heading: var(--clay-700);
  --color-emergency-rule: var(--clay-700);
  --color-emergency-btn-bg: var(--ink-950);
  --color-emergency-btn-text: var(--bone-50);

  --color-whatsapp-bg: var(--ink-800);
  --color-whatsapp-text: var(--bone-50);
  --color-whatsapp-border: var(--ink-500);
  --color-whatsapp-glyph: var(--whatsapp-green);

  --color-skeleton-base: var(--bone-100);
  --color-skeleton-shine: var(--bone-50);

  /* <meta name="theme-color"> value (04_seo BRAND_COLOR placeholder) */
  --theme-color: #12100E;

  /* Cal.com embed (copy these exact hex values into Cal("ui", …)) */
  --cal-brand-light: #12100E;          /* cal-brand, light theme */
  --cal-brand-emphasis-light: #2B2722; /* cal-brand-emphasis (hover) */
  --cal-brand-text-light: #F4EEE4;     /* cal-brand-text */
  --cal-brand-dark: #D2A75C;           /* cal-brand, dark theme (fallback only) */

  /* ------------------------------------------------------------------------
     3. Typography
     ------------------------------------------------------------------------ */
  --font-display: "Newsreader Display", "Newsreader Fallback", Georgia, "Times New Roman", serif;
  --font-body: "Schibsted Grotesk", "Schibsted Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-display: 560;       /* Newsreader H1/H2 */
  --weight-display-strong: 620; /* closing H2, fee figures if set in serif */

  /* Fluid sizes: min at 360px viewport, max at 1280px */
  --text-xs: 0.875rem;                                          /* 14px: legal, © only */
  --text-sm: clamp(0.9375rem, 0.913rem + 0.1087vw, 1rem);       /* 15→16: meta, labels, kicker */
  --text-base: clamp(1.0625rem, 1.0136rem + 0.2174vw, 1.1875rem); /* 17→19: body */
  --text-lg: clamp(1.1875rem, 1.1141rem + 0.3261vw, 1.375rem);  /* 19→22: lead, subhead */
  --text-xl: clamp(1.3125rem, 1.2147rem + 0.4348vw, 1.5625rem); /* 21→25: H3 */
  --text-2xl: clamp(1.875rem, 1.4837rem + 1.7391vw, 2.875rem);  /* 30→46: H2 */
  --text-quote: clamp(1.625rem, 1.2826rem + 1.5217vw, 2.5rem);  /* 26→40: closing statement in #close */
  --text-display: clamp(2.25rem, 1.3696rem + 3.913vw, 4.5rem);  /* 36→72: H1 main line */

  --leading-tight: 1.06;  /* H1 */
  --leading-snug: 1.15;   /* H2, quote */
  --leading-heading: 1.3; /* H3 */
  --leading-body: 1.6;    /* paragraphs */
  --leading-ui: 1.25;     /* buttons, labels */

  --tracking-display: -0.02em;
  --tracking-heading: -0.01em;
  --tracking-body: 0;
  --tracking-eyebrow: 0.12em; /* uppercase eyebrow only */
  --tracking-ui: 0.01em;

  --measure: 68ch;        /* body text column */
  --measure-narrow: 60ch; /* about story, privacy */

  /* ------------------------------------------------------------------------
     4. Spacing (4px base)
     ------------------------------------------------------------------------ */
  --space-1: 0.25rem;  /*   4 */
  --space-2: 0.5rem;   /*   8 */
  --space-3: 0.75rem;  /*  12 */
  --space-4: 1rem;     /*  16 */
  --space-5: 1.5rem;   /*  24 */
  --space-6: 2rem;     /*  32 */
  --space-7: 3rem;     /*  48 */
  --space-8: 4rem;     /*  64 */
  --space-9: 6rem;     /*  96 */
  --space-10: 8rem;    /* 128 */
  --space-section: clamp(4rem, 2.4348rem + 6.9565vw, 8rem); /* section padding-block 64→128 */
  --space-stack: clamp(1.5rem, 1.1087rem + 1.7391vw, 2.5rem); /* heading → content 24→40 */

  /* ------------------------------------------------------------------------
     5. Grid and containers
     ------------------------------------------------------------------------ */
  --container-max: 70rem;  /* 1120px content width (03_ux §3) */
  --container-wide: 80rem; /* 1280px: full-bleed bands cap */
  --gutter: clamp(1rem, 0.6087rem + 1.7391vw, 2rem);           /* 16→32 */
  --page-margin: clamp(1.25rem, 0.5652rem + 3.0435vw, 3rem);   /* 20→48 */
  --grid-cols-mobile: 4;
  --grid-cols-tablet: 8;
  --grid-cols-desktop: 12;

  /* Sticky element sizes (used for scroll-padding and bottom padding) */
  --header-h: 3.5rem;      /* 56px mobile */
  --header-h-desktop: 4.5rem; /* 72px desktop, shrinks to 64px on scroll */
  --header-h-compact: 4rem;
  --mobilebar-h: 4.25rem;  /* 52px button + 2×8px padding */
  --tap-min: 2.75rem;      /* 44px minimum touch target */
  --tap-comfort: 3rem;     /* 48px rows (FAQ, menu, call buttons) */
  --btn-h: 3.25rem;        /* 52px primary CTA */

  /* ------------------------------------------------------------------------
     6. Radii
     ------------------------------------------------------------------------ */
  --radius-none: 0;
  --radius-sm: 2px;   /* table, inputs */
  --radius-md: 4px;   /* buttons, photo */
  --radius-lg: 8px;   /* cards, callouts, emergency box, embed frame */
  --radius-pill: 999px; /* Urgent help pill, WhatsApp desktop pill */

  /* ------------------------------------------------------------------------
     7. Shadows (warm, low; used sparingly on light surfaces and floaters)
     ------------------------------------------------------------------------ */
  --shadow-none: none;
  --shadow-sm: 0 1px 2px rgb(18 16 14 / 0.08);
  --shadow-md: 0 4px 16px rgb(18 16 14 / 0.12);
  --shadow-float: 0 8px 24px rgb(0 0 0 / 0.35);      /* mobile bar, WhatsApp pill */
  --shadow-header: 0 1px 0 var(--ink-700), 0 6px 20px rgb(0 0 0 / 0.28); /* after scroll */

  /* ------------------------------------------------------------------------
     8. Z-index layers
     ------------------------------------------------------------------------ */
  --z-base: 0;
  --z-raised: 10;        /* sticky credentials box inside #about */
  --z-header: 100;
  --z-whatsapp: 200;     /* desktop floating pill */
  --z-mobilebar: 300;    /* contains WhatsApp on mobile/tablet */
  --z-consent: 350;      /* any consent banner sits above the bar (03_ux §4.4) */
  --z-menu: 400;         /* full-screen mobile menu sheet */
  --z-skiplink: 500;

  /* ------------------------------------------------------------------------
     9. Motion
     ------------------------------------------------------------------------ */
  --duration-instant: 0ms;
  --duration-fast: 120ms;   /* hover/press colour changes */
  --duration-marker: 150ms; /* FAQ +/- marker rotation (03_ux §4.2) */
  --duration-base: 200ms;   /* mobile bar slide, header shrink */
  --duration-slow: 320ms;   /* FAQ panel reveal */
  --duration-reveal: 480ms; /* section fade/rise, once */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --reveal-distance: 12px;
  --reveal-stagger: 60ms;

  /* ------------------------------------------------------------------------
     10. Focus ring (WCAG 2.2 2.4.7 / 2.4.11 / 2.4.13)
     3px solid, 3px offset: >=2 CSS px perimeter, >=3:1 vs adjacent colours
     ------------------------------------------------------------------------ */
  --focus-ring-width: 3px;
  --focus-ring-offset: 3px;
  --focus-ring: var(--focus-ring-width) solid var(--color-focus-ring);
}

/* Light surfaces flip the roles (about, approach, sessions, fees, privacy,
   book, faq). Apply the class on the <section>. */
.surface-light {
  --color-bg: var(--bone-50);
  --color-bg-alt: var(--bone-100);
  --color-surface: var(--bone-200);
  --color-text: var(--ink-950);
  --color-text-secondary: var(--ink-text);
  --color-text-muted: var(--stone-600);
  --color-accent-text: var(--brass-700);
  --color-link: var(--brass-700);
  --color-link-hover: var(--brass-800);
  --color-border-decorative: var(--bone-200);
  --color-border-control: var(--bone-400);
  --color-focus-ring: var(--ink-950);
  --color-btn-primary-border: var(--ink-950); /* brass fill keeps identity; ink edge gives 16:1 */
  --color-btn-secondary-text: var(--ink-950);
  --color-btn-secondary-border: var(--bone-400);
  --color-btn-secondary-bg-hover: var(--bone-100);
}

/* The footer emergency box is a light island on the dark footer. */
.surface-emergency {
  --color-focus-ring: var(--ink-950);
}

/* Anchor scrolling + Focus Not Obscured (2.4.11): never land under sticky UI. */
html {
  scroll-padding-top: calc(var(--header-h) + var(--space-4));
  scroll-padding-bottom: calc(var(--mobilebar-h) + env(safe-area-inset-bottom, 0px) + var(--space-4));
}

@media (min-width: 64em) {
  :root {
    --header-h: var(--header-h-desktop);
  }

  /* Desktop: keep focused items clear of the floating WhatsApp pill. */
  html {
    scroll-padding-bottom: calc(var(--btn-h) + var(--space-5) + var(--space-4));
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Reduced motion: zero every duration and distance. Components must read
   these tokens, so nothing moves; state changes still happen instantly. */
@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-fast: 0.01ms;
    --duration-marker: 0.01ms;
    --duration-base: 0.01ms;
    --duration-slow: 0.01ms;
    --duration-reveal: 0.01ms;
    --reveal-distance: 0px;
    --reveal-stagger: 0ms;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Windows High Contrast / forced colours: keep focus and borders visible. */
@media (forced-colors: active) {
  :root {
    --focus-ring: var(--focus-ring-width) solid CanvasText;
  }
}


/* ==========================================================================
   v2 additions (15 Nov 2026). Night study primitives are unchanged.
   Append-only: do not rename or remove any token above this line.
   Used by 05_ui_v2.md (hero art-direction, #side, #start timeline, .btn-wa).
   ========================================================================== */

:root {
  /* H1 "Everyone leans on you. Who do you lean on?"
     31px at 360px so each sentence fits one line in Newsreader 560
     (tracking -0.02em, content width 320px). Caps at 72px from ~906px,
     same maximum as --text-display. */
  --text-display-hero: clamp(1.9375rem, 0.25rem + 7.5vw, 4.5rem); /* 31→72 */

  /* Mobile fold budget at 360×640: tighter than v1 section padding. */
  --space-hero-pad-top: var(--space-4);     /* 16px; v1 used 24px then --space-section */
  --space-hero-media-gap: var(--space-4);   /* 16px between photo and type; do not use --space-7 */

  /* Art-direction ratios and face anchors, measured on the 4:5 masters
     (1760×2200). Hero (fluted column): hair 5%, eyes 24%, chin 39%, x 50%.
     About (armchair): hair 7%, eyes 24%, chin 42%, x 54%. */
  --hero-media-ratio-mobile: 16/10;
  --hero-media-ratio-desktop: 4/5;
  --hero-face-x: 50%;
  --hero-face-y: 24%;
  --hero-object-position-mobile: 50% 50%;           /* with the 16:10 face crop */
  --hero-object-position-mobile-fallback: 50% 0%;   /* ONLY if the 4:5 file is shown in a 16:10 box */
  --hero-object-position-desktop: 50% 24%;
  --about-face-x: 54%;
  --about-face-y: 24%;
  --about-object-position: 54% 24%;

  /* Official WhatsApp green #25D366 is 1.72:1 on bone-50, so never put the
     glyph on a paper surface. Prefer a 28px ink-800 chip (8.15:1). The
     on-light token is the fallback if a chip is not used. */
  --whatsapp-green-on-light: #0B7A3B; /* 4.71:1 bone-50, 4.23 bone-100, 3.74 bone-200 */
  --color-whatsapp-glyph-on-light: var(--whatsapp-green-on-light);
  --color-whatsapp-chip: var(--ink-800);
  --btn-wa-chip: 1.75rem; /* 28px */

  /* Timeline (#start) on a paper surface */
  --color-timeline-line: var(--brass-700);
  --color-timeline-marker-bg: var(--bone-50);
  --color-timeline-marker-border: var(--brass-700);
  --color-timeline-marker-text: var(--brass-700);
  --color-timeline-phase: var(--brass-700);
  --timeline-marker-size: 2rem; /* 32px numbered marker */
  --timeline-line-width: 2px;
}


/* ==========================================================================
   v4 additions (15 Nov 2026). Night study / v2 primitives are unchanged.
   Append-only: do not rename or remove any token above this line.
   Used by 05_ui_v4.md ("After hours": texture, editorial type, motion, elevation).
   No new primitive hex colours. All motion is compositor-only
   (transform / opacity). Reduced-motion zeroes the new durations below.
   ========================================================================== */

:root {
  /* Editorial type moments. Do not change --text-display-hero (fold is locked). */
  --text-side: clamp(2rem, 1rem + 4.2vw, 3.75rem);          /* 32→60: #side H2 "I'm on your side." */
  --text-lead: clamp(1.375rem, 1.05rem + 1.15vw, 1.875rem); /* 22→30: About .lead */
  --text-statement: clamp(1.625rem, 1.05rem + 2.2vw, 2.75rem); /* 26→44: #close .statement (floor matches --text-quote) */

  /* Motion (v4). Reuse --duration-reveal, --reveal-distance, --reveal-stagger, --ease-out
     for scroll reveals. These are the extra curves and distances. */
  --ease-out-soft: cubic-bezier(0.16, 1, 0.3, 1); /* lift, highlight, underline draw */
  --duration-lift: 180ms;
  --duration-highlight: 240ms;
  --btn-lift: -1px;
  --highlight-tag-distance: 4px;
  --card-lift: -2px;

  /* Texture: 64×64 paletted tile, ~2.2 KB. Path is site-root relative. */
  --texture-grain: url("/assets/img/grain.png");
  --texture-size: 128px;            /* 64px tile at 2× so the cell is not obvious */
  --texture-opacity-ink: 0.055;
  --texture-opacity-paper: 0.035;

  /* Elevation (hover / highlight only; no new z-stack above existing) */
  --shadow-lift: 0 6px 18px rgb(18 16 14 / 0.22);
  --shadow-card-hover: 0 8px 24px rgb(18 16 14 / 0.18);
  --z-grain: 1;                     /* above section backgrounds, below content and --z-raised */

  /* Section-switch rule (art-directed 1px at the two theme changes) */
  --color-rule-switch-on-ink: var(--brass-400);
  --color-rule-switch-on-paper: var(--brass-700);
  --rule-switch-width: 1px;
}

/* Reduced motion: zero v4 durations and travel. Static grain is not motion. */
@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-lift: 0.01ms;
    --duration-highlight: 0.01ms;
    --btn-lift: 0px;
    --highlight-tag-distance: 0px;
    --card-lift: 0px;
  }
}

/* ==========================================================================
   v5 additions (15 Nov 2026). After hours primitives and v4 tokens are unchanged
   in name. v5 supersedes v4 where the behaviour overlaps (timeline layout and
   motion, #start surface, statement scale, button press). See 05_ui_v5.md.
   Append-only: do not rename or remove any token above this line.
   No new primitive hex colours.
   ========================================================================== */

:root {
  /* Decorative editorial numerals behind each #start step (aria-hidden). */
  --text-numeral: clamp(5.5rem, 4rem + 8vw, 12rem); /* 88→192 */

  /* Close statement, word-by-word. Supersedes --text-statement on #close .statement only. */
  --text-statement-xl: clamp(2.25rem, 1rem + 5vw, 5.25rem); /* 36→84 */

  /* Hero second-line landing (first line stays static for LCP). */
  --duration-h1: 420ms;
  --delay-h1-line2: 200ms;
  --h1-line-distance: 0.35em;

  /* Tactile press. Supersedes the 1px-only :active from v4 Phase 1. */
  --duration-press: 100ms;
  --press-scale: 0.98;
  --btn-lift-v5: -2px; /* hover travel; v4 --btn-lift stays -1px for any leftover use */

  /* Scroll-driven story (#start). */
  --duration-step: 420ms;
  --timeline-step-min: 68vh;
  --color-timeline-track: var(--ink-700);     /* unfilled track on the ink #start band */
  --color-timeline-progress: var(--brass-400);
  --color-numeral: var(--brass-400);
  --numeral-opacity: 0.16;

  /* #start is a full-bleed ink story band. Supersedes v2/v4 --color-bg: bone-100. */
  --color-start-bg: var(--ink-950);
  --color-start-heading: var(--bone-50);
  --color-start-body: var(--stone-200);
  --color-start-title: var(--bone-50);
  --color-start-phase: var(--brass-400);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-h1: 0.01ms;
    --delay-h1-line2: 0ms;
    --h1-line-distance: 0px;
    --duration-press: 0.01ms;
    --press-scale: 1;
    --btn-lift-v5: 0px;
    --duration-step: 0.01ms;
  }
}

/* About places list (15 Nov, COO): items are now 2 to 3 sentences, so they need more air than the
   one-line marker lists (which keep --space-3). */
:root { --about-places-gap: var(--space-5); /* 24px: about 0.8 of a line at 19 to 22px text */ }

/* ==========================================================================
   v6 additions (15 Nov 2026). After hours / Walk the room primitives are
   unchanged in name. v6 supersedes v5 where the behaviour overlaps (hero
   plate, #start step height, close typography, #side pull quote, Moments
   surface). See 05_ui_v6.md. Append-only: do not rename or remove any token
   above this line. No new primitive hex colours.
   ========================================================================== */

:root {
  /* Moments large-type list (34 to 40px serif). Floor raised so mid-widths do not look under 32. */
  --text-moment: clamp(2.125rem, 1.6rem + 1.8vw, 2.5rem);
  /* Moments H2, larger and asymmetric against the intro. */
  --text-moment-h2: clamp(2.5rem, 1.4rem + 2.8vw, 3.75rem); /* 40 to 60 */
  /* Fees typographic amounts. */
  --text-fee: clamp(2.75rem, 1.5rem + 3.2vw, 4.25rem); /* 44 to 68 */
  /* Desktop hero fills the first screen under the header (~820px at 1440x900). */
  --hero-min-height-desktop: calc(100svh - var(--header-h));

  /* About payoff pull line (24 to 28px serif). */
  --text-about-payoff: clamp(1.5rem, 1.35rem + 0.65vw, 1.75rem);

  /* #side pull quote (the former close statement, slightly quieter). */
  --text-pull: clamp(1.875rem, 1.1rem + 2.4vw, 3.25rem); /* 30 to 52 */

  /* Compact #start body. */
  --text-start-body: 1.125rem; /* 18px */

  /* Hero plate. */
  --hero-photo-span: 58%;
  --hero-photo-height-mobile: 60svh;
  --hero-overlap-mobile: 14rem;
  --hero-mask-desktop: linear-gradient(to right, transparent 0%, #000 26%, #000 100%);
  --hero-scrim-mobile: linear-gradient(to top, var(--ink-950) 0%, rgb(18 16 14 / 0.96) 26%, rgb(18 16 14 / 0.72) 44%, rgb(18 16 14 / 0.28) 58%, transparent 74%);
  --hero-object-position-mobile-v6: 50% 18%;
  --hero-object-position-desktop-v6: 100% 50%;
  --color-hero-creds: var(--stone-300); /* 9.17:1 on ink-950 */

  /* Surfaces that change in v6. */
  --color-moments-bg: var(--bone-50);
  --color-approach-bg: var(--bone-200);
}

