/* ==========================================================================
   Sanctuary Insurance v2, PASS-1 faithful replica of the phantom.com system.
   Every token traces to design/brands/sanctuary.md (the kit), which traces to
   viz/phantom-ref/tokens.json (the capture). No value is from memory.
   House rule: no em or en dashes anywhere in this file.
   ========================================================================== */

/* ---- Fonts: Onest, the kit's FLAGGED free twin of the proprietary Phantom face
        (kit: Typography; substitutes.json row_type:font Phantom -> Onest, open) ---- */
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/onest-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Tokens (every line carries kit provenance) ---- */
:root {
  /* world ladder */
  --world-light:  #FCF1F0; /* kit: sanctuary blush canvas; ref #F5F2FF re-hued to 358 at L 97 */
  --world-deep:   #593032; /* kit: sanctuary deep maroon world; ref #3C315B re-hued, S/L preserved */
  --world-bright: #F3A0A3; /* kit: sanctuary coral world; ref #AB9FF2 re-hued, S/L preserved */
  --surface:      #FFFDF8; /* kit: cream surface (nav pill, sheets, CTA-on-media); ref cream kept exact */
  --media-dark:   #1C1C1C; /* kit: hero/media card interior; ref #1C1C1C kept exact */

  /* ink */
  --ink:          #593032; /* kit: ink on light worlds; ref ink #3C315B re-hued (dual role with world-deep) */
  --ink-inverse:  #FFFDF8; /* kit: ink on the deep world and over media; ref #FFFDF8 */

  /* line / secondary fill */
  --line:         #FADEDE; /* kit: hairline glow + secondary pill fill; ref #E2DFFE re-hued to 358 */

  /* brand anchor */
  --accent:       #EE1D23; /* kit: sanctuary red, exact logo sample; small saturated moments only */
  --accent-cta:   #C8161B; /* kit: red CTA fill where white text sits (5.86:1 AA); hover #AE1217 */

  /* card pastels (ref: flat pastel card fills, border none, shadow none) */
  --card-blush:   #F9D7D5; /* kit: pastel card 1 */
  --card-coral:   #F3A0A3; /* kit: pastel card 2 = world-bright reused as fill, exactly the ref pattern */
  --card-sand:    #EFD9C4; /* kit: pastel card 3, warm neutral companion */
  --card-cream:   #FFFDF8; /* kit: pastel card 4 = surface */

  /* motion (kit: house ease primary + secondary; ref transition frequency scan) */
  --ease-house:   cubic-bezier(.22, 1, .36, 1); /* kit: primary house curve, 26 uses in ref */
  --ease-soft:    cubic-bezier(.25, 1, .5, 1);  /* kit: secondary curve, 13 uses in ref */

  /* per-world component skins (light world defaults; ref: nav and ink ride the flip) */
  --page-bg:      var(--world-light);
  --page-ink:     var(--ink);
  --nav-pill-bg:  var(--surface);            /* reference-faithful: cream pill in light worlds */
  --nav-cta-bg:   var(--accent-cta);         /* kit: primary pill = accent-cta with white text */
  --nav-cta-ink:  #FFFFFF;                   /* kit: white on accent-cta, 5.86:1 */
  --chip-bg:      var(--surface);            /* reference-faithful: cream chip on light worlds */
  --chip-ink:     var(--ink);
  --muted-ink:    rgba(89, 48, 50, .78);     /* derived: kit ink muted; raised .60 to .78 for WCAG AA, measured 4.73 to 5.72:1 on blush/cream/card fills (P4 axe finding, 2026-07-11) */
  --logo-filter:  none;
}

/* the color-world flip: page bg + ink painted by html theme classes
   (ref signature 1: transition background-color, color .4s cubic-bezier(.22,1,.36,1)) */
html.world-deep {
  --page-bg:     var(--world-deep);
  --page-ink:    var(--ink-inverse);
  --nav-pill-bg: #64383B;                     /* reference-faithful: deep-world nav pill is an OPAQUE lifted tint of the world bg (ref section-3.png shows a solid lifted pill on #3C315B); #593032 lifted one step; corrected 2026-07-06 from a translucent guess */
  --nav-cta-bg:  var(--line);                 /* reference-faithful: light pill CTA in the deep world */
  --nav-cta-ink: var(--ink);
  --chip-bg:     rgba(255, 253, 248, .12);    /* derived: cream at 12 percent on the deep world */
  --chip-ink:    var(--ink-inverse);
  --muted-ink:   rgba(255, 253, 248, .64);    /* derived: ink-inverse at 64 percent */
  --logo-filter: brightness(0) invert(1);     /* kit: logo rides the flip; light variant via filter */
}
html.world-bright {
  --page-bg:     var(--world-bright);
  --page-ink:    var(--ink);
  --nav-pill-bg: var(--surface);
  --nav-cta-bg:  var(--world-deep);           /* reference-faithful: dark ink pill CTA in the bright world */
  --nav-cta-ink: var(--ink-inverse);
  --chip-bg:     var(--surface);
  --chip-ink:    var(--ink);
  --muted-ink:   rgba(89, 48, 50, .78);      /* raised .64 to .78 with the light-world token for WCAG AA (2026-07-11); muted text avoids raw coral grounds */
  --logo-filter: none;
}

/* ---- Base ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  background-color: var(--page-bg);
  color: var(--page-ink);
  /* reference-faithful: whole-page cross-fade incl. nav and ink, .4s house curve */
  transition: background-color .4s var(--ease-house), color .4s var(--ease-house);
  scroll-behavior: smooth; /* reference-faithful: global smooth scroll, native scroll, no hijack */
  -webkit-text-size-adjust: 100%;
}
body {
  background-color: var(--page-bg);   /* same paint as html (the ref system paints html; body echoes it so a dropped stylesheet is detectable, 2026-07-11) */
  transition: background-color .4s var(--ease-house);   /* body must ride the world flip with html or the flip snaps */
  font-family: "Onest", -apple-system, "Helvetica Neue", Arial, sans-serif; /* kit: Onest, flagged twin */
  font-size: 16px;   /* ref typeScale body 16/400 */
  font-weight: 400;
  line-height: 1.5;
  color: inherit;
  overflow-x: clip;  /* clone-pipeline rule: clip, never hidden, on body */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
/* surgical edit, pass-3 oracle-web-eng: skip-link accessibility utility.
   Off-screen at rest (zero effect on the frozen default rendering), reveals
   only on keyboard focus, kit tokens only (--surface, --ink, radius scale). */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 1000;
  background: var(--surface);
  color: var(--ink);
  padding: 12px 20px;
  border-radius: 16px;
  font-size: 16px;
  transition: top .15s ease;
}
.skip-link:focus {
  top: 12px;
}

/* display type: hierarchy by SIZE at weight 400 (ref: display weight 400, never bold) */
.display {
  font-size: 96px;          /* ref h2SectionDesktop 96px */
  font-weight: 400;
  line-height: 1.1;         /* ref computed 105.6px */
  letter-spacing: -2.4px;   /* ref computed -2.4px */
  text-align: center;
}

/* mascot slot: empty inline placeholder sized like the ref's ~100px canvas glyphs;
   the asset track fills it (kit: identity mascot is a sourcing task, never drawn here) */
.mascot-slot {
  display: inline-block;
  width: 150px;   /* 2026-07-11 bump: the ref runs its glyph at ~2em of the 96px display; 104px read thin */
  height: 124px;  /* proportional to the 104x86 box (ratio held) */
  vertical-align: -17px;
}
.mascot-slot svg,
.mascot-slot canvas {
  /* pin the lottie render to the slot box (ref glyphs are display:block inside an
     inline-block wrapper at ~2em of the display size; unpinned renders collapsed
     to slivers mid-scroll, 2026-07-11 fix) */
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* ---- Pills (ref shapeRoles.button: pill, filled, border none, shadow none) ---- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 96px;      /* ref radius scale member: 96px pills */
  font-size: 16px;
  font-weight: 500;
  padding: 0 32px;
  height: 68px;             /* ref hero CTA height 68 */
  transition: background-color .2s ease, opacity .2s ease;
}
.pill-hero  { background: var(--line);    color: var(--ink); }  /* reference-faithful: hero on-media CTA = line fill, ink text */
.pill-cream { background: var(--surface); color: var(--ink); }  /* reference-faithful: CTA-band cream pill */
.pill-more {
  /* reference-faithful: See more pill 150x49, radius 32, pad 12 20, fs 16 (mirror probe) */
  background: var(--line);
  color: var(--ink);
  height: 49px;
  padding: 12px 20px;
  border-radius: 32px;
  font-weight: 400;
}
.pill:hover { opacity: .88; }

/* ==========================================================================
   Header: floating cream pill nav (ref nav-pill: logo x48 y39, pill center
   y24 h60 r100 with the hairline glow, search circle + CTA pill right)
   ========================================================================== */
.site-header { height: 92px; /* ref header element 92px in flow */ }
.nav-bar {
  position: fixed;   /* reference-faithful: nav floats, never hides on scroll */
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;   /* ref page gutter 48 */
  pointer-events: none; /* children restore; lets the page scroll under the gaps */
}
.nav-bar > * { pointer-events: auto; }
.nav-logo img {
  width: 150px; height: 45px; /* real Sanctuary lockup 500x150 at nav scale */
  object-fit: contain;
  filter: var(--logo-filter);
  transition: filter .4s var(--ease-house); /* rides the world flip */
}
.nav-pill {
  position: absolute;
  left: 50%;
  top: 24px;                 /* ref pill y 24 */
  transform: translateX(-50%);
  background: var(--nav-pill-bg);
  border-radius: 100px;      /* ref navPill radius 100px */
  height: 60px;              /* ref navPill h 60 */
  box-shadow: 0 0 4px 0 var(--line); /* kit: the ONLY shadow, hairline glow on the nav pill */
  transition: background-color .4s var(--ease-house);
}
.nav-pill ul { display: flex; align-items: center; height: 100%; padding: 0 12px; }
.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 20px;
  height: 60px;
  font-size: 16px;           /* ref nav item fs 16 */
  transition: opacity .15s ease;
}
.nav-item:hover { opacity: .7; }
.has-panel { position: relative; }
.has-panel .chev { transition: transform .2s ease; }
.has-panel.open .chev { transform: rotate(180deg); }
.nav-panel {
  /* reference-faithful: cream rounded panel drops from behind the pill (ref h ~308, r24) */
  position: absolute;
  top: 68px;
  left: 0;
  min-width: 260px;
  background: var(--surface);
  color: var(--ink);
  border-radius: 24px;       /* ref dropdown radius ~24 */
  padding: 16px 8px;
  display: none;
  flex-direction: column;
}
.has-panel.open .nav-panel { display: flex; }
.nav-panel::before {
  /* invisible hover bridge over the measured 8px trigger-to-panel dead zone
     (2026-07-11 fix: pointer walk survives; ref panel is gap-free, ours keeps
     the visual offset but hovers as one surface with the trigger) */
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-panel a {
  padding: 10px 16px;
  border-radius: 16px;       /* ref radius scale member */
  transition: background-color .15s ease;
}
.nav-panel a:hover { background: var(--line); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-search {
  width: 52px; height: 52px;
  border-radius: 50%;        /* ref search circle */
  background: var(--nav-pill-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 4px 0 var(--line); /* kit hairline glow */
  transition: background-color .4s var(--ease-house);
}
.nav-cta {
  /* reference-faithful: nav CTA pill 137x52, radius 32 (mirror probe) */
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 24px;
  border-radius: 32px;
  background: var(--nav-cta-bg);
  color: var(--nav-cta-ink);
  font-size: 16px;
  transition: background-color .4s var(--ease-house), color .4s var(--ease-house);
}
.nav-burger { display: none; }

/* mobile menu sheet (ref: cream sheet r24 below header, in-sheet accordion) */
.menu-sheet {
  position: fixed;
  z-index: 90;
  left: 8px; right: 8px; top: 84px; bottom: 8px;
  background: var(--surface);
  color: var(--ink);
  border-radius: 24px;       /* ref sheet radius 24 */
  padding: 24px 20px;
  overflow-y: auto;
  transform: translateY(12px);
  opacity: 0;
}
.menu-sheet.open {
  transform: translateY(0);
  opacity: 1;
  /* spring-flavored settle standing in for the ref's measured decaying spring */
  transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), opacity .2s ease;
}
.sheet-row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 18px 8px;
  font-size: 20px;
  text-align: left;
}
.sheet-sub { padding: 0 8px 12px; }
.sheet-sub a { display: block; padding: 10px 12px; color: var(--muted-ink); }
[data-acc].open .chev { transform: rotate(180deg); }

/* ==========================================================================
   Hero (ref section 0: h 805 at 1440x900, dark rounded media card inset 48,
   centered eyebrow 24 + h1 80/88 + CTA pill; z10)
   ========================================================================== */
main > section { position: relative; }
.hero {
  margin-top: 28px;   /* ref: header 92 to card top 120 */
  height: 805px;      /* ref hero section height 805 */
  padding: 0 48px;    /* ref card inset 48 from page edges */
}
.hero-card {
  /* reference-faithful: single large rounded dark media card (r32, #1C1C1C interior) */
  position: relative;
  height: 100%;
  border-radius: 32px;
  background: var(--media-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-media,
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media {
  /* poster placeholder block awaiting the generated loop (asset track) */
  background:
    radial-gradient(120% 90% at 20% 110%, rgba(89, 48, 50, .55) 0%, rgba(28, 28, 28, 0) 55%),  /* derived: world-deep glow on media-dark */
    radial-gradient(90% 70% at 85% -10%, rgba(243, 160, 163, .18) 0%, rgba(28, 28, 28, 0) 60%), /* derived: world-bright glow on media-dark */
    var(--media-dark);
}
.hero-stack {
  /* reference-faithful: centered column stack, sits slightly above card center */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--ink-inverse); /* kit: ink over media */
  margin-top: -56px;
}
.hero-eyebrow {
  font-size: 24px;   /* ref computed hero eyebrow 24px (mirror probe; teardown prose said 36) */
  font-weight: 400;
  opacity: .82;      /* ref: eyebrow sits quieter than the h1 */
}
.hero h1 {
  font-size: 80px;          /* ref h1 80px */
  line-height: 88px;        /* ref 88px */
  letter-spacing: -2px;     /* ref -2px */
  font-weight: 400;         /* ref weight 400 */
  max-width: 700px;         /* tuned so the h1 sets 3 lines like the ref */
  margin: 28px 0 74px;      /* ref stack rhythm: eyebrow 248, h1 304..568, CTA 642 */
}

/* ==========================================================================
   Feature sections (ref: 1671px, pinned sticky headline block over a rising
   carousel; slide 427x571 gap 32; chip row at 828 from section top)
   ========================================================================== */
.feature {
  height: 1671px;         /* ref feature section height 1671 */
  box-sizing: border-box;
  padding: 828px 48px 0;  /* top pad lands the chip row at 828 from section top (mirror probe); no margin collapse, sections stay contiguous */
}
.pin-track {
  /* reference-faithful: the sticky containing block, sized to the MEASURED pin
     choreography (mirror probe: headline pinned at viewport 296, released at
     section-top 65, glued to the previous content's bottom edge before that) */
  position: absolute;
  top: -649px;            /* reference-faithful: mirror sticky sits ~636px ABOVE its section top, parked pinned behind the outgoing section's opaque content */
  left: 48px;
  right: 48px;
  height: 1184px;         /* wrapper bottom at in-section 535 = measured release (h2 unpins at scroll ~860 per mirror probe) */
}
.pin {
  /* reference-faithful: sticky headline block h ~324, h2 pinned at viewport 296
     at 900 viewport (mirror probe: constant 296 through the hold) */
  position: sticky;
  top: calc(50vh - 174px);
  padding: 20px 0;
  text-align: center;
  will-change: opacity;   /* scroll-linked ghost choreography (mechanics-spec 2026-07-11) */
}
.pin .pill-more { margin-top: 24px; }
.slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 20px;
  border-radius: 96px;   /* ref radius scale member: pill */
  background: var(--chip-bg);
  color: var(--chip-ink);
  font-size: 16px;
  transition: background-color .4s var(--ease-house), color .4s var(--ease-house);
}
.arrows { display: flex; gap: 8px; }
.arrow {
  /* reference-faithful: chevron circles top-right of the slider */
  width: 48px; height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s ease, background-color .2s ease;
}
.arrow.prev { background: var(--line); color: var(--ink); }       /* kit: secondary fill */
.arrow.next { background: var(--accent-cta); color: #FFFFFF; }    /* kit: primary accent-cta */
.arrow:disabled { opacity: .4; cursor: default; }

.slider {
  /* full-bleed viewport so slides run to the page edges like the ref */
  margin: 80px -48px 0;   /* ref: cards top at in-section 956 (chip 828 + head 48 + 80) */
  padding: 0 48px;
  overflow: hidden;
}
.track {
  display: flex;
  gap: 32px;         /* ref slide gap 32 */
  will-change: transform;
  transition: transform .9s var(--ease-soft); /* ref: embla-style tween settles ~1.1s */
}
.slide {
  /* ref shapeRoles.card: flat filled, radius 32, border NONE, shadow NONE; 427x571 */
  flex: 0 0 427px;
  height: 571px;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-cap {
  font-size: 26px;    /* ref card caption scale */
  line-height: 1.3;
  font-weight: 400;
  padding: 32px;
}
.card-media {
  flex: 1;
  margin-top: auto;
}
/* card fills: kit pastels + media-dark, the ref's flat-fill policy */
.card-dark  { background: var(--media-dark); color: var(--ink-inverse); }
.card-cream { background: var(--card-cream); color: var(--ink); }
.card-blush { background: var(--card-blush); color: var(--ink); }
.card-coral { background: var(--card-coral); color: var(--ink); }
.card-sand  { background: var(--card-sand);  color: var(--ink); }
/* placeholder gradients awaiting card media (asset track; data-asset-slot on each) */
.card-grad-a { background: linear-gradient(160deg, var(--card-blush) 0%, var(--card-coral) 100%); color: var(--ink); }
.card-grad-b { background: linear-gradient(160deg, var(--card-sand) 0%, var(--card-blush) 100%); color: var(--ink); }
.card-grad-c { background: linear-gradient(160deg, var(--card-coral) 0%, var(--card-sand) 100%); color: var(--ink); }
.card-dark .card-media {
  background: radial-gradient(110% 80% at 80% 100%, rgba(249, 215, 213, .16) 0%, rgba(28, 28, 28, 0) 60%); /* derived: blush glow placeholder on media-dark */
}
.card-cream .card-media,
.card-blush .card-media,
.card-coral .card-media,
.card-sand .card-media {
  background: radial-gradient(110% 80% at 80% 100%, rgba(89, 48, 50, .10) 0%, rgba(89, 48, 50, 0) 60%); /* derived: ink tint placeholder on pastel fills */
}

/* ==========================================================================
   CTA band (ref cta-get-started: full viewport, centered trust line +
   display headline + cream pill on the bright world)
   ========================================================================== */
.cta-band {
  min-height: 100vh;  /* ref section 900 at 900 viewport */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 48px;
}
.trust-line {
  font-size: 24px;    /* ref trust line 24px */
  line-height: 1.4;
  color: var(--muted-ink);
}
.cta-band .display { margin: 48px 0; }

/* ==========================================================================
   Disclosure band (ref section-5 geometry: 452px desktop, italic centered)
   ========================================================================== */
.disclosure {
  min-height: 452px;  /* ref disclosure section 452 at 1440x900 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.disclosure p {
  width: 100%;        /* ref widest text box 1344 at 1440 */
  padding: 0 140px;   /* ref: measured line length ~1060 inside the 1344 box */
  text-align: center;
  font-size: 16px;
  line-height: 1.75;
}

/* ==========================================================================
   Footer (ref: cream rounded card inset on the bright world; bare 64px email
   input + Sign up pill; link columns; legal row outside the card)
   ========================================================================== */
.site-footer { padding: 0 48px 24px; }
.footer-card {
  background: var(--surface); /* ref footer card cream */
  color: var(--ink);
  border-radius: 24px;        /* ref footer card radius 24 */
  padding: 48px;              /* ref footer card pad 48 */
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}
.footer-mark { width: 56px; height: 56px; }
.signup {
  /* derived: soft ink-tinted panel behind the bare input, the ref's grey panel step */
  background: rgba(89, 48, 50, .05);
  border-radius: 16px;
  padding: 32px 40px;
  flex: 0 1 820px;
}
.signup input {
  /* ref shapeRoles.input: bare borderless display-size text, no box */
  width: 100%;
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: 64px;    /* ref footer email input 64px */
  font-weight: 400;
  color: var(--ink);
  caret-color: var(--ink);
}
.signup input::placeholder { color: rgba(89, 48, 50, .35); } /* derived: ink at 35 percent */
.signup input:focus { outline: none; }
.signup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
}
.signup-note { color: var(--ink); }
.pill-signup {
  background: var(--line);  /* reference-faithful: Sign up pill = secondary fill */
  color: var(--ink);
  height: 52px;
  padding: 0 28px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 64px;
  padding-left: calc(56px + 48px + 260px); /* ref: columns sit right of the mark, above center-right */
}
.col { display: flex; flex-direction: column; gap: 14px; }
.col-head { color: var(--muted-ink); }
.col a { transition: opacity .15s ease; }
.col a:hover { opacity: .7; }
.legal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 4px 8px;
  font-size: 14px;
}
.legal-links { display: flex; gap: 24px; }

/* ==========================================================================
   Mobile (375 reference render: header 80, hero card full viewport,
   h1 28.125/30.9375, one-card-per-view slides 335x448, section 1288)
   ========================================================================== */
@media (max-width: 820px) {
  .site-header { height: 80px; }  /* ref mobile header 80 */
  .nav-bar { height: 80px; padding: 0 20px; }
  .nav-pill, .nav-search { display: none; } /* ref: burger replaces the pill items */
  .nav-logo img { width: 124px; height: 37px; }
  .nav-cta { height: 48px; }
  .nav-burger {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 50px; height: 50px;
    border-radius: 50%;     /* ref: white circle burger */
    background: var(--nav-pill-bg);
    box-shadow: 0 0 4px 0 var(--line); /* kit hairline glow */
    transition: background-color .4s var(--ease-house);
  }
  .nav-burger span {
    width: 20px; height: 2px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .display { font-size: 32px; letter-spacing: -0.8px; } /* ref mobile h2 32/35.2/-0.8 */
  .mascot-slot { width: 50px; height: 41px; vertical-align: -6px; } /* 2026-07-11 bump, proportional to the desktop 150x124 at the 32px display */

  .hero {
    margin-top: 0;                 /* ref mobile hero top 80 = header bottom */
    height: calc(100vh - 4px);     /* ref mobile hero section 808 at 812 viewport */
    padding: 105px 20px 183px;     /* ref mobile card 185..705 inside the 80..888 section (screenshot measure) */
  }
  .hero-stack { margin-top: 0; }
  .hero-eyebrow { font-size: 16px; } /* ref mobile eyebrow 16 */
  .hero h1 {
    font-size: 28.125px;           /* ref mobile h1 fingerprint */
    line-height: 30.9375px;
    letter-spacing: -0.703125px;
    max-width: 300px;
    margin: 12px 0 40px;
  }
  .pill { height: 68px; }          /* ref mobile CTA height 68 */

  .feature { height: 1288px; padding: 692px 20px 0; } /* ref mobile feature 1288; chip row at 692 (mirror probe) */
  .pin-track { top: -556px; left: 20px; right: 20px; height: 984px; } /* mobile: parked pinned from section entry, release at secTop ~52 (cards reach the fold) */
  .pin { top: calc(50vh - 74px); padding: 12px 0; } /* mobile sticky block ~148 tall pinned about viewport center */
  .pin .pill-more { margin-top: 16px; }
  .chip { height: 44px; }             /* ref mobile chip 44 */
  .arrow { width: 44px; height: 44px; }
  .slider { margin: 24px -20px 0; padding: 0 20px; } /* mobile cards top at in-section 760 */
  .slide { flex: 0 0 335px; height: 448px; } /* ref mobile slide 335x448 */
  .card-cap { font-size: 16px; padding: 24px; } /* ref mobile caption 16 */

  .cta-band { padding: 0 20px; }
  .trust-line { font-size: 16px; }
  .cta-band .display { margin: 32px 0; }

  .disclosure { min-height: 352px; padding: 0 20px; } /* ref mobile disclosure 352; page gutter keeps text boxes at 335 like the ref */
  .disclosure p { padding: 0; font-size: 14px; }

  .site-footer { padding: 0 20px 16px; }
  .footer-card { padding: 24px; }
  .footer-top { flex-direction: column; gap: 24px; }
  .signup { padding: 20px; width: 100%; }
  .signup input { font-size: 28px; } /* ref mobile footer input 28 */
  .signup-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-cols { grid-template-columns: 1fr 1fr; padding-left: 0; margin-top: 40px; }
  .legal-row { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ---- Reduced motion: the ref does NOT handle this; we must (teardown build note) ---- */
@media (prefers-reduced-motion: reduce) {
  html, body { transition: none; scroll-behavior: auto; } /* kill the world-flip cross-fade (body echoes html's paint) */
  .track { transition: none; }                      /* carousel jumps instantly */
  .menu-sheet.open { transition: none; }            /* no spring settle */
  .nav-logo img, .nav-pill, .nav-search, .nav-cta, .chip, .nav-burger { transition: none; }
}

/* ---- Media wiring (post pass-1 asset integration, 2026-07-06) ---- */
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* kit: media fills the card's lower flex region; card overflow clips corners */
}
