/*
 * farebit.app — brand-restored marketing shell (2026-10-08).
 * The workhorse road: the approved horse emblem, one gold road, Elena / Dana / Luis.
 * Product tokens (farebit src/styles.css) + the cinematic marketing expression required by spec §5A-1.
 * Direction: docs/product-launch/2026-10-08/DESIGN_DIRECTION.md
 */
/* Self-hosted variable fonts (SIL OFL 1.1, licences beside the files): Google Fonts' own latin + latin-ext subsets,
   so rendering is unchanged and no page waits on a third-party stylesheet. Each page preloads the two latin files. */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/manrope-latin.woff2?v=a30ddcd349') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/manrope-latin-ext.woff2?v=3911b66d9f') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 600 800; font-display: swap; src: url('/assets/fonts/sora-latin.woff2?v=811e11966d') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 600 800; font-display: swap; src: url('/assets/fonts/sora-latin-ext.woff2?v=08e1ba85bc') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --midnight: #0b1626; --midnight-2: #102036; --studio: #161514;
  --navy: #13314d; --navy-2: #1b4266;
  --gold: #f5b301; --gold-hi: #ffd66b; --gold-lo: #c68a00; --gold-ink: #1a1300; --gold-text: #8a5f00;
  --ivory: #f5f3ef; --ivory-2: #efebe4; --card: #ffffff;
  --ink: #1c1917; --char: #44403c; --mute: #6b645d; --line: #e4ded5;
  --on-dark: #f5f3ef; --on-dark-2: rgb(245 243 239 / 80%); --on-dark-3: rgb(245 243 239 / 66%);
  --display: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* type roles (rem, so the user's font-size setting scales every role) */
  --fs-label: .75rem;   /* uppercase tracked labels, name tags, counters */
  --fs-meta: .875rem;   /* captions, notes, fine print, errors */
  --fs-ui: .9375rem;    /* nav, controls, form labels, list items */
  --fs-body: 1rem;
  --fs-lead: 1.125rem;  /* emphasised body, list titles */
  --fs-title: 1.25rem;  /* h3, card titles */
  --fs-title-lg: 1.5rem; /* pull lines, end cards */
  --fs-figure: 1.875rem; /* queue numbers, brand monograms */
  /* radius scale; device frames follow the physical device */
  --r-xs: 6px; --r-sm: 10px; --r-md: 16px; --r-lg: 22px; --r-xl: 28px; --r-device: 30px; --r-pill: 999px;
  --midnight-hi: #17304f; --film-bg: #0b1c2c; --bezel: #0d0c0b;
  --danger: #a63d3a; --danger-ink: #7a2b28; --danger-bg: #f8e4e3;
  --skel: #ebe6dd; --skel-line: #ece7df; --skel-ground: #f3efe8;
  --shadow-lg: 0 2px 6px rgb(0 0 0 / 10%), 0 30px 70px rgb(4 10 20 / 32%);
  --shadow-light: 0 2px 6px rgb(20 20 20 / 6%), 0 22px 54px rgb(19 49 77 / 14%);
  --lumen: linear-gradient(90deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo));
  --ease: cubic-bezier(.33, 1, .68, 1);
  --max: 1200px; --gutter: 24px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 var(--fs-body)/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.landing { background: var(--midnight); }
:root:has(body.landing) { color-scheme: dark; scrollbar-color: var(--navy-2) var(--midnight); }
::selection { background: var(--gold); color: var(--gold-ink); }
input, select, textarea { caret-color: var(--navy); accent-color: var(--navy); }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: var(--r-xs); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--gold-ink); padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; position: relative; }

/* ── type ── */
h1, h2, h3 { font-family: var(--display); letter-spacing: -.03em; margin: 0; color: var(--navy); }
h1 { font-size: clamp(2.5rem, 1.2rem + 3.6vw, 4.5rem); line-height: 1.04; font-weight: 700; }
h2 { font-size: clamp(2rem, 1.25rem + 2.4vw, 3.25rem); line-height: 1.07; font-weight: 700; }
h3 { font-size: var(--fs-title); line-height: 1.25; font-weight: 600; letter-spacing: -.015em; }
.lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.6; color: var(--char); max-width: 60ch; margin: 18px 0 0; }
.gold { color: var(--gold); }
.gold-ink { color: var(--gold-text); }
.sec-head { max-width: 780px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .lede { margin-inline: auto; }

/* dark contexts */
.hero, .band, .midnight, .navy, .studio, .final-sec, .foot-dark, .nav-dark { color: var(--on-dark); }
:is(.hero, .band, .midnight, .navy, .studio, .final-sec) :is(h1, h2, h3) { color: var(--on-dark); }
:is(.hero, .band, .midnight, .navy, .studio, .final-sec) .lede { color: var(--on-dark-2); }
.hero, .band, .midnight, .navy, .studio, .final-sec, .foot-dark, .nav-dark { color-scheme: dark; }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--r-pill); border: 0; font: 700 var(--fs-body)/1 var(--display); letter-spacing: -.01em; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease); white-space: nowrap; }
.btn-primary { background: var(--gold); color: var(--gold-ink); box-shadow: 0 10px 30px rgb(245 179 1 / 26%), inset 0 1px 0 rgb(255 255 255 / 35%); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgb(245 179 1 / 34%), inset 0 1px 0 rgb(255 255 255 / 35%); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
:is(.hero, .band, .final-sec, .studio) .btn-ghost { color: var(--on-dark); border-color: rgb(245 243 239 / 28%); }
:is(.hero, .band, .final-sec, .studio) .btn-ghost:hover { border-color: var(--gold); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-play::before { content: ''; width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* ── lockup (approved emblem + "Farebit" in Sora, as the product renders it) ── */
.lockup { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.lockup .emblem { width: 44px; height: auto; flex: none; }
.lockup .word { font: 700 1.38rem/1 var(--display); letter-spacing: -.02em; }
.lockup-lg .emblem { width: 62px; }
.lockup-lg .word { font-size: 1.9rem; }

/* ── nav ── */
.nav { position: sticky; top: 0; z-index: 50; padding: 14px 0; transition: background-color .25s var(--ease), box-shadow .25s var(--ease); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-dark { background: transparent; }
.nav-dark.scrolled { background: rgb(11 22 38 / 92%); box-shadow: 0 1px 0 rgb(245 243 239 / 8%); backdrop-filter: saturate(1.2) blur(10px); }
.nav-links { display: flex; gap: 4px; padding: 6px; border-radius: var(--r-pill); list-style: none; margin: 0; border: 1px solid rgb(245 243 239 / 12%); background: rgb(245 243 239 / 4%); }
.nav-links a { display: block; padding: 9px 16px; border-radius: var(--r-pill); text-decoration: none; font: 600 var(--fs-ui) var(--body); color: var(--on-dark-2); }
.nav-links a:hover { color: var(--on-dark); background: rgb(245 243 239 / 8%); }
.nav .lockup { min-height: 44px; }
@media (pointer: coarse) { .nav-links a { min-height: 44px; display: flex; align-items: center; } }
.nav .btn { min-height: 46px; padding: 0 20px; font-size: var(--fs-ui); flex: none; }
.nav-light { background: rgb(245 243 239 / 94%); box-shadow: 0 1px 0 var(--line); }
.nav-light .lockup { color: var(--navy); }

/* ── watermark (spec §5A-1: subtle oversized horse) ── */
.watermark { position: absolute; pointer-events: none; user-select: none; opacity: .055; width: min(900px, 80vw); right: -14vw; top: 40px; z-index: 0; }

/* ── hero ── */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 78% 30%, var(--midnight-hi) 0%, var(--midnight) 58%); margin-top: -74px; padding: 110px 0 0; }
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 140px; background: linear-gradient(180deg, transparent, var(--studio)); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: 40px; align-items: end; position: relative; z-index: 1; }
.hero-head { grid-column: 1 / -1; }
.hero-copy { align-self: start; padding: 64px 0 120px; }
.hero-copy .lede { margin-top: 0; }
.hero-emblem { width: 76px; margin: 0 0 26px; filter: drop-shadow(0 0 22px rgb(245 179 1 / 32%)); }
.hero h1 { max-width: 19ch; font-size: clamp(2.5rem, 1.2rem + 3.6vw, 4.4rem); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-sign { margin: 40px 0 0; font: 600 var(--fs-lead)/1.3 var(--display); letter-spacing: -.01em; color: var(--gold); }
.hero-stage { position: relative; aspect-ratio: 1 / .78; margin-top: 8px; }
.hero-stage .cc { left: 3%; top: 4%; width: 66%; aspect-ratio: 16 / 10.4; z-index: 2; }
/* No drop-shadow on .fig: Chrome clips a filtered + masked element's shadow at its box and leaves a visible rectangle. */
.fig { position: absolute; height: auto; pointer-events: none; user-select: none; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 99%); mask-image: linear-gradient(180deg, #000 78%, transparent 99%); }
/* One ride, three people. Dana stands at the console's edge, face in clear space; Elena and Luis face each other in front,
   each beside their own app; the road runs Rider App -> Command Center -> Driver App. Same scale for all three. */
.hero-stage .fig-dana { width: 31%; right: -2%; top: 0; z-index: 4; }
.hero-stage .fig-elena { width: 30%; left: -3%; bottom: -2%; z-index: 4; }
.hero-stage .fig-luis { width: 31%; left: 44%; bottom: -2%; z-index: 4; }
.hero-stage .ph-rider { left: 22%; bottom: 4%; width: 12%; aspect-ratio: 9 / 19.5; z-index: 5; }
.hero-stage .ph-driver { left: 71%; bottom: 4%; width: 12%; aspect-ratio: 9 / 19.5; z-index: 5; }
/* Names: quiet chips on the shoulder line, never over a face. */
.name { position: absolute; z-index: 6; display: inline-flex; align-items: baseline; gap: 8px; padding: 7px 12px; border-radius: var(--r-pill); background: rgb(11 22 38 / 80%); border: 1px solid rgb(245 179 1 / 32%); font: 700 var(--fs-label)/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-3); white-space: nowrap; }
.name b { font: 600 var(--fs-meta)/1 var(--display); letter-spacing: -.01em; text-transform: none; color: var(--on-dark); }
.name-dana { right: 1%; top: 30%; }
.name-elena { left: 0; top: 67%; }
.name-luis { left: 42%; top: 67%; }
.hero-stage .cc .pending { top: 38px; bottom: auto; }

/* ── road (spec §5A-1 road motif) ── */
.road { position: absolute; pointer-events: none; overflow: visible; }
.road path { vector-effect: non-scaling-stroke; }
.road .lane { fill: none; stroke: var(--gold); stroke-width: 14; stroke-linecap: round; opacity: .92; stroke-dasharray: 4000; stroke-dashoffset: 4000; transition: stroke-dashoffset 2.2s var(--ease); }
.road .dash { fill: none; stroke: var(--midnight); stroke-width: 2.5; stroke-dasharray: 14 16; opacity: 0; transition: opacity .6s var(--ease) 1.4s; }
.road.in .lane { stroke-dashoffset: 0; }
.road.in .dash { opacity: .9; }
.road-hero { inset: 0; width: 100%; height: 100%; z-index: 4; } /* stretch: viewBox units map to stage % */

/* ── device frames + capture slots ── */
.device { position: absolute; margin: 0; background: var(--card); box-shadow: var(--shadow-lg); overflow: hidden; }
.browser { border-radius: var(--r-md); border: 1px solid rgb(255 255 255 / 10%); }
.browser .chrome { height: 28px; background: #f1ede6; border-bottom: 1px solid var(--ivory-2); display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.browser .chrome i { width: 9px; height: 9px; border-radius: 50%; background: #d8d1c6; }
.phone { border-radius: var(--r-device); border: 8px solid var(--bezel); background: var(--bezel); }
.phone .screen { position: absolute; inset: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--card); }
.capture img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.capture .pending { position: absolute; right: 10px; bottom: 10px; z-index: 3; font: 700 var(--fs-label)/1.2 var(--body); color: var(--mute); background: rgb(255 255 255 / 92%); border: 1px solid var(--line); padding: 6px 9px; border-radius: var(--r-xs); }
.capture.has-img .pending, .capture.has-img .skel { display: none; }
.browser.capture img { position: absolute; top: 28px; left: 0; width: 100%; height: calc(100% - 28px); object-position: top left; } /* real capture sits under the chrome bar */
.skel { position: absolute; inset: 0; padding: 14px; display: grid; gap: 10px; background: linear-gradient(180deg, #fbfaf7, #f6f3ee); }
.skel b { display: block; border-radius: var(--r-xs); background: var(--skel); }
.skel b.y { background: #fbefd0; }
.skel b.n { background: #dfe6ee; }
.skel-cc { grid-template-columns: 1fr 1.7fr 1fr; grid-template-rows: auto 1fr; top: 28px; }
.skel-cc .top { grid-column: 1 / -1; height: 24px; display: flex; gap: 8px; background: none; }
.skel-cc .top b { flex: 0 0 18%; }
.skel-cc .col { display: flex; flex-direction: column; gap: 8px; background: none; }
.skel-cc .col b { height: 30px; }
.skel-cc .map { border-radius: var(--r-sm); background: repeating-linear-gradient(0deg, transparent 0 34px, var(--skel-line) 34px 36px), repeating-linear-gradient(90deg, transparent 0 46px, var(--skel-line) 46px 48px), var(--skel-ground); }
.skel-ph { padding: 30px 12px 12px; align-content: start; grid-auto-rows: max-content; }
.skel-ph b { height: 30px; }
.skel-ph b.tall { height: 96px; }
.skel-ph::after { content: ''; height: 240px; border-radius: var(--r-xs); background: repeating-linear-gradient(180deg, var(--skel) 0 26px, transparent 26px 38px); opacity: .7; }
.skel-ph.dark { background: linear-gradient(180deg, #23201e, #1a1817); }
.skel-ph.dark b { background: #34302d; }
.skel-ph.dark b.y { background: rgb(245 179 1 / 55%); }
.skel-ph.dark::after { background: repeating-linear-gradient(180deg, #34302d 0 26px, transparent 26px 38px); }

/* ── film band ── */
.band { background: var(--studio); padding: 96px 0 112px; position: relative; overflow: hidden; }
.film-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.chapters { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.chapters button { width: 100%; display: flex; justify-content: space-between; gap: 10px; background: none; border: 0; border-bottom: 1px solid rgb(245 243 239 / 12%); color: var(--on-dark-2); padding: 10px 2px; min-height: 44px; align-items: center; font: 600 var(--fs-ui) var(--body); text-align: left; }
.chapters button:hover { color: var(--gold); }
.chapters time { font: 600 var(--fs-label) var(--body); color: var(--on-dark-3); font-variant-numeric: tabular-nums; }
.film { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--film-bg); box-shadow: 0 30px 80px rgb(0 0 0 / 45%), 0 0 0 1px rgb(245 179 1 / 18%); aspect-ratio: 16 / 9; }
.film video { width: 100%; height: 100%; object-fit: cover; background: var(--film-bg); }
/* No JS: the film's source and poster come from site.js, so the block shows the poster as a still, never dead controls. */
html:not(.js) .film { background: var(--film-bg) url('/video/poster.webp') center / cover no-repeat; }
html:not(.js) .film :is(video, .play) { display: none; }
.film .play { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; padding: 24px; background: linear-gradient(180deg, rgb(11 22 38 / 0%) 55%, rgb(11 22 38 / 60%)); border: 0; color: #fff; }
.film .play span { display: inline-flex; align-items: center; gap: 14px; padding: 14px 24px 14px 16px; border-radius: var(--r-pill); background: var(--gold); color: var(--gold-ink); font: 700 var(--fs-body) var(--display); box-shadow: 0 16px 40px rgb(0 0 0 / 30%); }
.film .play span::before { content: ''; width: 32px; height: 32px; border-radius: 50%; background: var(--midnight) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%23F5B301'/%3E%3C/svg%3E") center / 18px no-repeat; }
.film .play b { font: inherit; }
.film.playing .play { display: none; }
.film-end { position: absolute; inset: 0; display: none; place-items: center; text-align: center; background: rgb(11 22 38 / 90%); padding: 24px; }
.film-end.show { display: grid; }
.film-end p { margin: 0 0 18px; font: 700 var(--fs-title-lg)/1.2 var(--display); color: #fff; }
.film-end .row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.film-end .btn-ghost { color: #fff; border-color: rgb(255 255 255 / 30%); }
.film-note { margin: 14px 0 0; font-size: var(--fs-meta); color: var(--on-dark-3); }

/* ── sections ── */
.sec { padding: 128px 0; position: relative; overflow: hidden; }
.sec.tight-top { padding-top: 24px; }
.light { background: var(--ivory); }
.midnight { background: var(--midnight); }
.navy { background: linear-gradient(170deg, var(--navy) 0%, #0f2740 100%); }
.studio { background: var(--studio); }

.person { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; font: 700 var(--fs-ui) var(--body); color: var(--char); }
.person img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--ivory-2); box-shadow: 0 0 0 2px var(--gold); }
.person.on-dark { color: var(--on-dark-2); }

/* one ride, three perspectives */
.journey { margin-top: 64px; position: relative; }
.stations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: end; }
.station { margin: 0; position: relative; display: flex; flex-direction: column; align-items: center; }
.station img { width: 74%; height: 300px; object-fit: cover; object-position: top; border-radius: 160px 160px 0 0; background: radial-gradient(circle at 50% 70%, #fff6dd 0%, var(--ivory-2) 70%); }
.station figcaption { width: 100%; text-align: center; padding: 14px 10px 0; font: 600 var(--fs-ui) var(--body); color: var(--mute); }
.station figcaption strong { display: block; font: 700 var(--fs-title) var(--display); color: var(--navy); letter-spacing: -.01em; }
.road-journey { position: relative; width: 100%; height: 36px; margin: 22px 0 0; }
.road-journey .lane { stroke-width: 18; }
.road-journey .dash { stroke: var(--ivory); stroke-width: 3; }
.stops { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; counter-reset: s; }
.stops li { counter-increment: s; display: flex; flex-direction: column; gap: 10px; font: 500 var(--fs-ui)/1.4 var(--body); color: var(--char); }
.stops li img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--gold); }
.stops li::before { content: counter(s, decimal-leading-zero); font: 700 var(--fs-label) var(--display); color: var(--gold-text); }
.stops strong { color: var(--ink); }

/* split chapters */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.value { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.value li { padding-left: 26px; position: relative; color: var(--char); line-height: 1.5; }
.value li::before { content: ''; position: absolute; left: 0; top: .62em; width: 14px; height: 4px; border-radius: var(--r-pill); background: var(--gold); }
.value strong { color: var(--ink); }
.pull { margin: 34px 0 0; max-width: 24ch; font: 700 var(--fs-title-lg)/1.3 var(--display); color: var(--navy); letter-spacing: -.02em; text-wrap: balance; }
.media { position: relative; min-height: 460px; }
.media-dana .browser { position: relative; width: 88%; margin-left: auto; aspect-ratio: 16 / 10.4; box-shadow: var(--shadow-light); border-color: var(--line); }
.media-dana .fig { width: 40%; left: -10%; bottom: -26%; z-index: 3; }
.media-elena { display: flex; justify-content: center; align-items: flex-end; min-height: 560px; }
.media-elena .fig { position: relative; width: 60%; max-width: 380px; z-index: 1; }
.media-elena .phone { position: absolute; right: 6%; bottom: 8%; width: 32%; max-width: 210px; aspect-ratio: 9 / 19.5; z-index: 2; }

/* Luis */
.luis-stage { position: relative; height: 600px; margin-top: 56px; display: flex; justify-content: center; align-items: flex-end; }
.luis-stage .fig { position: relative; width: 400px; z-index: 1; }
.luis-stage .phone { position: absolute; left: calc(50% + 120px); bottom: 40px; width: 210px; aspect-ratio: 9 / 19.5; z-index: 2; }
.day { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); position: relative; }
.day::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; border-radius: var(--r-pill); background: repeating-linear-gradient(90deg, var(--navy) 0 14px, transparent 14px 30px) 0 50% / 100% 2px no-repeat, var(--gold); }
.day li { padding: 22px 10px 0; text-align: center; display: flex; flex-direction: column; gap: 6px; position: relative; }
.day li::before { content: ''; position: absolute; top: -18px; left: 50%; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: var(--midnight); border: 3px solid var(--gold); }
.day b { font: 700 var(--fs-body) var(--display); color: var(--on-dark); letter-spacing: -.01em; }
.day span { font-size: var(--fs-meta); line-height: 1.4; color: var(--on-dark-2); }

/* Elena */
.ride-steps { list-style: none; padding: 0; margin: 30px 0 0 16px; display: grid; counter-reset: r; position: relative; }
.ride-steps::before { content: ''; position: absolute; left: -5px; top: 8px; bottom: 8px; width: 10px; border-radius: var(--r-pill); background: repeating-linear-gradient(180deg, var(--ivory) 0 8px, transparent 8px 18px) 50% 0 / 2px 100% no-repeat, var(--gold); }
.ride-steps li { counter-increment: r; position: relative; padding: 10px 0 10px 30px; font: 600 var(--fs-body) var(--body); color: var(--ink); }
.ride-steps li::before { content: counter(r); position: absolute; left: -14px; top: 9px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); font: 700 var(--fs-label) var(--display); }

/* queue (signature) */
.queue-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; margin-top: 56px; }
.queue-demo { position: relative; background: linear-gradient(180deg, var(--midnight-2), #0d1b2e); border: 1px solid rgb(245 179 1 / 22%); border-radius: var(--r-lg); padding: 28px 28px 24px 64px; overflow: hidden; }
.qlane { position: absolute; left: 22px; top: 80px; bottom: 56px; width: 16px; border-radius: var(--r-pill); background: var(--gold); }
.qlane::after { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: repeating-linear-gradient(180deg, var(--midnight) 0 10px, transparent 10px 20px); }
.queue-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.queue-head .hub { font: 800 var(--fs-label) var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); }
.queue-head button { background: transparent; border: 1px solid rgb(245 243 239 / 25%); color: var(--on-dark); border-radius: var(--r-pill); padding: 8px 16px; font: 700 var(--fs-meta) var(--body); min-height: 44px; }
.queue-head button:hover { border-color: var(--gold); }
.qlist { position: relative; height: 312px; }
.qcard, .qslot { position: absolute; left: 0; right: 0; height: 92px; }
.qcard { display: flex; align-items: center; gap: 18px; padding: 0 20px 0 14px; background: var(--card); border-radius: var(--r-md); color: var(--ink); transition: transform .65s var(--ease), opacity .5s var(--ease); }
.qnum { width: 62px; height: 62px; border-radius: var(--r-md); background: var(--navy); color: var(--gold); display: grid; place-items: center; font: 800 var(--fs-figure) var(--display); flex: none; font-variant-numeric: tabular-nums; }
.qname { font: 600 var(--fs-title)/1.2 var(--display); letter-spacing: -.01em; }
.qmeta { font: 600 var(--fs-meta) var(--body); color: var(--mute); }
.qstate { margin-left: auto; font: 800 var(--fs-label) var(--body); letter-spacing: .04em; padding: 7px 12px; border-radius: var(--r-pill); background: var(--gold); color: var(--gold-ink); }
.qcard:not(.offered) .qstate { display: none; }
.qcard.gone { transform: translateY(-30px) translateX(110%) !important; opacity: 0; }
.qslot { border: 2px dashed rgb(245 243 239 / 22%); border-radius: var(--r-md); display: flex; align-items: center; padding: 0 22px; font: 700 var(--fs-ui) var(--body); color: var(--on-dark-3); opacity: 0; transition: opacity .5s var(--ease) .2s; }
.qslot.show { opacity: 1; }
.queue-caption { margin: 16px 0 0; font-size: var(--fs-meta); color: var(--on-dark-3); }
.fva { font: 700 clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem)/1.05 var(--display); letter-spacing: -.03em; color: var(--on-dark); margin: 0; }
.fva em { font-style: normal; color: var(--gold); }
.qpoints { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.qpoints li { padding-left: 22px; position: relative; color: var(--on-dark-2); font-size: var(--fs-body); line-height: 1.45; }
.qpoints li::before { content: ''; position: absolute; left: 0; top: .55em; width: 12px; height: 4px; border-radius: var(--r-pill); background: var(--gold); }
.qpoints strong { color: var(--on-dark); }

/* walk-up relay */
.relay { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.relay::before { content: ''; position: absolute; left: 10%; right: 10%; top: 26px; height: 12px; border-radius: var(--r-pill); background: var(--gold); }
.relay::after { content: ''; position: absolute; left: 10%; right: 10%; top: 31px; height: 2px; background: repeating-linear-gradient(90deg, var(--ivory) 0 12px, transparent 12px 24px); }
.relay li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 0 8px; }
.relay img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--card); border: 4px solid var(--ivory); box-shadow: 0 0 0 2px var(--gold); }
.relay li.result img { object-fit: contain; background: var(--studio); padding: 6px; }
.relay small { font: 800 var(--fs-label) var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-top: 6px; }
.relay b { font: 700 var(--fs-body)/1.3 var(--display); color: var(--navy); letter-spacing: -.01em; }
.relay li.dispatch b { color: var(--gold-text); }
.walk-media { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 28px; margin: 52px auto 0; align-items: end; max-width: 1000px; }
.walk-media .phone { position: relative; width: min(220px, 100%); aspect-ratio: 9 / 19.5; margin-inline: auto; box-shadow: var(--shadow-light); }
.walk-media .browser { position: relative; width: 100%; aspect-ratio: 16 / 10; box-shadow: var(--shadow-light); border-color: var(--line); }

/* reservations */
.res-wrap { border-top: 1px solid var(--line); padding-top: 96px; }

/* white label (marketing visualization) */
.wl-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.own { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 4px; }
.own li { font: 700 var(--fs-title)/1.5 var(--display); color: var(--on-dark); letter-spacing: -.01em; }
.own li span { color: var(--gold); }
.brands { position: relative; height: 560px; }
.brand-phone { position: absolute; width: 200px; aspect-ratio: 9 / 19.5; border-radius: var(--r-device); border: 8px solid var(--bezel); background: var(--bezel); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; }
.brand-phone .splash { flex: 1; border-radius: var(--r-lg) var(--r-lg) 0 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px; }
.brand-phone .mono { width: 64px; height: 64px; border-radius: var(--r-md); display: grid; place-items: center; font: 800 var(--fs-figure) var(--display); }
.brand-phone strong { font: 800 var(--fs-lead)/1.2 var(--display); letter-spacing: -.01em; }
.brand-phone small { font: 600 var(--fs-label) var(--body); opacity: .85; }
.brand-phone .pb { margin: 0; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 8px; background: var(--bezel); font: 700 var(--fs-label)/1.25 var(--body); letter-spacing: .02em; text-align: center; color: rgb(245 243 239 / 82%); }
.b1 { left: 2%; top: 56px; transform: rotate(-5deg); }
.b1 .splash { background: #7a1f2b; color: #fff4e6; } .b1 .mono { background: #fff4e6; color: #7a1f2b; }
.b2 { left: calc(50% - 100px); top: 0; z-index: 2; }
.b2 .splash { background: #0e5a6b; color: #ffffff; } .b2 .mono { background: #f2c14e; color: #0e5a6b; }
.b3 { right: 2%; top: 56px; transform: rotate(5deg); }
.b3 .splash { background: #ece7dc; color: #22313f; } .b3 .mono { background: #22313f; color: #ece7dc; }
.illus-note { position: absolute; left: 0; right: 0; bottom: -6px; margin: 0; text-align: center; font-size: var(--fs-meta); color: var(--on-dark-3); }

/* philosophy */
.philo { text-align: center; padding: 140px 0 150px; }
.philo .wrap { max-width: 860px; }
.watermark-philo { left: 50%; right: auto; top: 50%; transform: translate(-50%, -50%); width: min(1100px, 120vw); opacity: .045; }
.philo-emblem { width: 168px; height: auto; margin: 0 auto 36px; filter: drop-shadow(0 0 46px rgb(245 179 1 / 28%)); }
.philo h2 { font-size: clamp(2.6rem, 1.4rem + 4vw, 4.6rem); line-height: 1.02; letter-spacing: -.035em; }
.philo .body { margin: 26px auto 0; max-width: 60ch; font-size: var(--fs-lead); line-height: 1.65; color: var(--on-dark-2); }
.philo .belief { margin: 44px auto 0; font: 700 clamp(1.4rem, 1rem + 1.2vw, 2rem)/1.3 var(--display); letter-spacing: -.02em; color: var(--gold); max-width: 26ch; }
.philo .signature-line { margin: 30px 0 0; font: 800 var(--fs-label) var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-3); }

/* final CTA + footer */
.final-sec { background: radial-gradient(90% 120% at 50% 0%, var(--midnight-hi) 0%, var(--midnight) 62%); padding: 112px 0 104px; text-align: center; border-top: 1px solid rgb(245 179 1 / 14%); }
.final { display: flex; flex-direction: column; align-items: center; }
.final h2 { margin-top: 30px; font-size: clamp(2.2rem, 1.3rem + 3vw, 3.8rem); }
.final .lede { margin-inline: auto; }
.final .row { margin-top: 32px; }
.final .small { margin-top: 20px; font-size: var(--fs-meta); color: var(--on-dark-3); }
.foot { padding: 56px 0 44px; font-size: var(--fs-ui); }
.foot-dark { background: var(--midnight); border-top: 1px solid rgb(245 243 239 / 8%); color: var(--on-dark-3); }
.foot .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.foot-dark .lockup { color: var(--on-dark); }
.foot-line { margin: 0; line-height: 1.6; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--gold); text-decoration: underline; }

/* ── reveal ── */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .road .lane { transition: none; stroke-dashoffset: 0; }
  .road .dash { transition: none; opacity: .9; }
  .qcard, .qslot { transition: none; }
  .btn, .btn .arrow { transition: none; }
}

/* ── responsive ── */
@media (max-width: 1100px) {
  .stops { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 26px; }
  .day { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 34px; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-grid, .film-grid, .split, .queue-grid, .wl-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero h1 { max-width: 14ch; }
  .hero-copy { padding: 18px 0 0; }
  .hero-stage { margin-top: 8px; }
  .media { min-height: 0; }
  .media-dana { padding-bottom: 120px; }
  .media-dana .browser { width: 100%; }
  .media-dana .fig { width: 42%; left: -4%; bottom: 0; }
  .brands { height: 500px; max-width: 560px; margin-inline: auto; width: 100%; }
  .foot .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .nav .btn { min-height: 44px; padding: 0 14px; font-size: var(--fs-meta); }
  .lockup .emblem { width: 36px; }
  .lockup .word { font-size: 1.15rem; }
  .hero { padding-top: 96px; }
  .hero-emblem { width: 56px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-stage { aspect-ratio: 1 / 1.15; margin-top: 28px; }
  .hero-copy { padding: 18px 0 0; }
  .hero-stage .cc { left: 0; top: 6%; width: 70%; }
  .hero-stage .fig-dana { width: 38%; right: -4%; top: 0; }
  .hero-stage .fig-elena { width: 42%; left: -8%; }
  .hero-stage .fig-luis { width: 40%; left: 42%; }
  .hero-stage .ph-rider { left: 22%; width: 15%; bottom: 6%; }
  .hero-stage .ph-driver { left: 70%; width: 15%; bottom: 6%; }
  .hero-stage .cc .pending { top: 34px; }
  .pending-x { display: none; }
  .name { padding: 6px 10px; gap: 6px; letter-spacing: .08em; }
  .name b { font-size: var(--fs-label); }
  .name-dana { right: 0; top: 30%; }
  .name-elena { left: 0; top: 60%; }
  .name-luis { left: auto; right: 0; top: 64%; }
  .hero-sign { margin-top: 28px; }
  .band { padding: 72px 0; }
  .chapters { grid-template-columns: 1fr; }
  .film .play b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .film .play span { padding: 10px; }
  .sec { padding: 80px 0; }
  .sec.tight-top { padding-top: 8px; }
  .stations { gap: 10px; }
  .station img { width: 100%; height: 170px; }
  .station figcaption { font-size: var(--fs-label); }
  .station figcaption strong { font-size: var(--fs-body); }
  .stops { grid-template-columns: 1fr; gap: 14px; }
  .stops li { flex-direction: row; align-items: center; }
  .stops li::before { width: 24px; flex: none; }
  .luis-stage { height: 400px; }
  .luis-stage .fig { width: 280px; margin-left: -110px; }
  .luis-stage .phone { left: calc(50% + 20px); width: 150px; bottom: 24px; }
  .day { grid-template-columns: 1fr; margin: 0 0 0 20px; row-gap: 0; }
  .day::before { left: -12px; right: auto; top: 0; bottom: 0; width: 12px; height: auto; background: repeating-linear-gradient(180deg, var(--navy) 0 12px, transparent 12px 26px) 50% 0 / 2px 100% no-repeat, var(--gold); }
  .day li { text-align: left; padding: 10px 0 14px 22px; flex-direction: row; align-items: baseline; gap: 10px; flex-wrap: wrap; }
  .day li::before { top: 13px; left: -15px; margin-left: 0; width: 18px; height: 18px; }
  .media-elena { min-height: 440px; }
  .media-elena .fig { width: 70%; }
  .qpoints { grid-template-columns: 1fr; }
  .queue-demo { padding: 22px 16px 18px 48px; }
  .qlane { left: 16px; width: 12px; }
  .qlane::after { left: 5px; }
  .qlist { height: 276px; }
  .qcard, .qslot { height: 80px; }
  .qcard { gap: 12px; }
  .qnum { width: 52px; height: 52px; font-size: var(--fs-title-lg); }
  .qname { font-size: var(--fs-body); }
  .relay { grid-template-columns: 1fr; gap: 18px; }
  .relay::before, .relay::after { display: none; }
  .relay li { flex-direction: row; text-align: left; gap: 14px; }
  .relay small { margin: 0; width: 56px; }
  .walk-media { grid-template-columns: 1fr; }
  .res-wrap { padding-top: 64px; }
  .brands { height: 430px; }
  .brand-phone { width: 140px; }
  .b1 { left: 0; top: 70px; } .b3 { right: 0; top: 70px; }
  .b2 { left: calc(50% - 70px); }
  .b1 .splash strong, .b3 .splash strong { font-size: var(--fs-meta); }
  .brand-phone .mono { width: 48px; height: 48px; font-size: var(--fs-title-lg); }
  .philo { padding: 96px 0 104px; }
  .philo-emblem { width: 132px; }
  .final-sec { padding: 80px 0; }
}
@media (max-width: 374px) {
  .nav .wrap { gap: 10px; }
  .lockup { gap: 8px; }
  .lockup .emblem { width: 30px; }
  .lockup .word { font-size: 1.02rem; }
  .nav .btn { padding: 0 12px; font-size: var(--fs-label); }
}

/* ── secondary pages (/try, /thank-you, /privacy) ── */
.page { padding: 32px 0 96px; }
.form-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.form-aside h1 { font-size: clamp(2.2rem, 1.3rem + 3vw, 3.6rem); }
.form-aside ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.form-aside li { display: flex; gap: 12px; align-items: flex-start; color: var(--char); }
.form-aside li::before { content: ''; flex: none; width: 12px; height: 4px; border-radius: var(--r-pill); background: var(--gold); margin-top: .7em; }
.form-trio { display: flex; align-items: center; gap: 0; margin-top: 30px; font: 600 var(--fs-ui) var(--body); color: var(--mute); }
.form-trio img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--ivory); box-shadow: 0 0 0 2px var(--gold); margin-right: -10px; background: var(--ivory-2); }
.form-trio span { margin-left: 22px; }
.form-card { background: var(--card); border-radius: var(--r-xl); padding: 40px; box-shadow: var(--shadow-light); }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label, .field legend { font: 700 var(--fs-ui) var(--body); color: var(--ink); }
.field .opt { font-weight: 500; color: var(--mute); }
.field input, .field select { width: 100%; min-width: 0; max-width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--card); font: 500 var(--fs-body) var(--body); color: var(--ink); transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.field input:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgb(19 49 77 / 12%); }
.field[data-invalid] input, .field[data-invalid] select { border-color: var(--danger); }
.err { margin: 0; font: 600 var(--fs-meta)/1.4 var(--body); color: var(--danger); }
.err:empty { display: none; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
fieldset.field { border: 0; padding: 0; margin: 0 0 20px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pills span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 1.5px solid var(--line); font: 600 var(--fs-ui) var(--body); color: var(--char); background: var(--card); }
.pills input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.pills input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { width: 100%; margin-top: 8px; }
.form-card .btn[disabled] { opacity: .7; cursor: progress; }
.form-summary { border-radius: var(--r-md); background: var(--danger-bg); color: var(--danger-ink); padding: 14px 16px; font: 600 var(--fs-ui) var(--body); margin-bottom: 20px; }
.form-summary:empty { display: none; }
.fine { font-size: var(--fs-meta); color: var(--mute); margin: 16px 0 0; }
.fine a { color: var(--navy); }
.ts-slot { min-height: 70px; margin: 4px 0 8px; }
.done { max-width: 720px; margin: 40px auto 0; text-align: center; }
.done h1 { font-size: clamp(2.6rem, 1.4rem + 4vw, 4.4rem); }
.done .emblem-done { width: 96px; margin: 0 auto 24px; }
.done .tips { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 12px; text-align: left; }
.done .tips li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; color: var(--char); }
.done .tips strong { color: var(--ink); }
.done .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.2rem); margin-bottom: 12px; }
.prose h2 { font-size: var(--fs-title-lg); margin: 40px 0 10px; }
.prose p, .prose li { color: var(--char); }
.prose ul { padding-left: 20px; }
@media (max-width: 960px) { .form-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (max-width: 640px) { .form-card { padding: 26px 20px; border-radius: var(--r-lg); } .two { grid-template-columns: minmax(0, 1fr); } }

/* reservations: a booking ticket + the hand-offs it triggers (replaces a fourth horizontal timeline) */
.res-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; margin-top: 44px; align-items: center; }
.ticket { position: relative; background: var(--midnight); color: var(--on-dark); border-radius: var(--r-lg); padding: 26px 28px 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.ticket::after { content: ''; position: absolute; left: 0; right: 0; bottom: 54px; border-top: 2px dashed rgb(245 243 239 / 18%); }
.ticket header { display: flex; align-items: center; gap: 14px; }
.ticket header img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--gold); }
.ticket small { display: block; font: 800 var(--fs-label) var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.ticket header b { font: 700 var(--fs-title) var(--display); letter-spacing: -.01em; }
.ticket dl { margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.ticket dt { font: 700 var(--fs-label) var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-3); }
.ticket dd { margin: 4px 0 0; font: 600 var(--fs-body)/1.35 var(--body); color: var(--on-dark); }
.ticket-foot { margin: 34px 0 0; font: 600 var(--fs-meta) var(--body); color: var(--on-dark-2); }
.handoffs { list-style: none; margin: 0; padding: 0 0 0 30px; display: grid; gap: 22px; position: relative; }
.handoffs::before { content: ''; position: absolute; left: -3px; top: 10px; bottom: 10px; width: 10px; border-radius: var(--r-pill); background: repeating-linear-gradient(180deg, var(--ivory) 0 8px, transparent 8px 18px) 50% 0 / 2px 100% no-repeat, var(--gold); }
.handoffs li { position: relative; display: flex; gap: 16px; align-items: flex-start; }
.handoffs li::before { content: ''; position: absolute; left: -36px; top: 18px; width: 16px; height: 16px; border-radius: 50%; background: var(--card); border: 4px solid var(--gold); }
.handoffs img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px var(--gold); }
.handoffs b { display: block; font: 700 var(--fs-lead)/1.3 var(--display); color: var(--navy); letter-spacing: -.01em; }
.handoffs span { display: block; margin-top: 4px; color: var(--char); line-height: 1.5; font-size: var(--fs-ui); }
@media (max-width: 960px) { .res-layout { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .ticket dl { grid-template-columns: 1fr; } }
/* focus ring: gold on dark fields, navy on light surfaces (≥3:1 non-text contrast either way) */
:is(.light, .page, .nav-light, .form-card) :focus-visible,
:is(.light, .page, .nav-light, .form-card) .pills input:focus-visible + span { outline-color: var(--navy); }

/* Windows High Contrast / forced colours: controls drawn only with a background colour get a real edge */
@media (forced-colors: active) {
  .btn, .pills span, .film .play span, .skip { border: 2px solid ButtonText; }
  .name, .qstate, .capture .pending { border: 1px solid CanvasText; }
  .watermark { display: none; }
}
