/* V.E.R.A. — Nightfall. One accent (her light), warm starlight text, night ink. */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 300 450; font-display: swap;
  src: url(../fonts/newsreader-roman-latin.woff2) 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: "Newsreader"; font-style: normal; font-weight: 300 450; font-display: swap;
  src: url(../fonts/newsreader-roman-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 300 450; font-display: swap;
  src: url(../fonts/newsreader-italic-latin.woff2) 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: "Newsreader"; font-style: italic; font-weight: 300 450; font-display: swap;
  src: url(../fonts/newsreader-italic-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/hanken-grotesk-latin.woff2) 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: "Hanken Grotesk"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/hanken-grotesk-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Rajdhani"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/rajdhani-500-latin.woff2) 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: "Rajdhani"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/rajdhani-600-latin.woff2) 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; }

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;

  --ink-0: #05070d;
  --ink-1: #090c15;
  --ink-2: #0f1420;
  --ink-3: #161c2b;
  --dusk: #0c1322;
  --dawn: #111a2b;

  --text: #ede8df;
  --text-2: #b4aea4;
  --text-3: #8d877e;
  --line: rgba(237, 232, 223, 0.09);
  --line-2: rgba(237, 232, 223, 0.17);

  --her: #7fdbea;
  --her-2: #aeeaf3;
  --her-ink: #04161b;
  --her-10: rgba(127, 219, 234, 0.1);
  --her-20: rgba(127, 219, 234, 0.2);
  --her-40: rgba(127, 219, 234, 0.4);

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Hanken Grotesk", ui-sans-serif, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --ui: "Rajdhani", "Hanken Grotesk", ui-sans-serif, "Segoe UI", system-ui, sans-serif;

  --fs-hero: clamp(3.05rem, 1.35rem + 6.1vw, 6.9rem);
  --fs-h2: clamp(2.3rem, 1.5rem + 3.1vw, 4.5rem);
  --fs-h3: clamp(1.55rem, 1.3rem + 0.95vw, 2.1rem);
  --fs-said: clamp(1.3rem, 1.12rem + 0.7vw, 1.72rem);
  --fs-lead: clamp(1.125rem, 1.04rem + 0.36vw, 1.3125rem);
  --fs-body: clamp(1.0625rem, 1.03rem + 0.12vw, 1.125rem);
  --fs-small: 0.9375rem;
  --fs-label: 0.8125rem;

  --gutter: clamp(20px, 5vw, 56px);
  --maxw: 1240px;
  --section: clamp(88px, 10vw, 152px);
  --r: 16px;
  --r-sm: 10px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 76px;
}
@media (max-width: 760px) { :root { --header-h: 64px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink-0);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.62;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
p, h1, h2, h3, h4, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--her); color: var(--her-ink); }
:focus-visible { outline: 2px solid var(--her); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--her); color: var(--her-ink); font-weight: 600; transform: translateY(-160%); transition: transform 0.25s var(--ease); }
.skip:focus { transform: none; }

/* ---------- Type ---------- */
.display, .h2, .h3, .statement, .said { font-family: var(--serif); font-weight: 300; font-style: normal; }
.display { font-size: var(--fs-hero); line-height: 0.98; letter-spacing: -0.024em; }
.h2 { font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -0.018em; text-wrap: balance; }
.h3 { font-size: var(--fs-h3); line-height: 1.12; letter-spacing: -0.01em; font-weight: 350; }
.display .ln > span, .h2 .ln > span { text-wrap: balance; }
.display em, .h2 em, .h3 em, .statement em { font-style: italic; font-weight: 300; color: var(--her-2); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-2); max-width: 36em; text-wrap: pretty; }
.prose p + p { margin-top: 1em; }
.prose p { color: var(--text-2); max-width: 34em; text-wrap: pretty; }
.prose strong { color: var(--text); font-weight: 500; }
.eyebrow, .label {
  font-family: var(--ui); font-weight: 600; font-size: var(--fs-label);
  letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.3;
}
.eyebrow { color: var(--her); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.eyebrow .micro { font-family: var(--sans); font-weight: 400; font-size: 0.9375rem; letter-spacing: 0; text-transform: none; color: var(--text-2); }
.label { color: var(--text-3); }
.micro { font-size: 0.875rem; color: var(--text-3); }
.num { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); }
.section { padding-block: var(--section); position: relative; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.is-scrolled .site-header { background: rgba(5, 7, 13, 0.78); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
@media (max-width: 640px) { .is-scrolled .site-header { background: rgba(5, 7, 13, 0.96); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand svg { width: 26px; height: 26px; color: var(--her); flex: none; }
.brand__word { font-family: var(--ui); font-weight: 600; font-size: 15px; letter-spacing: 0.3em; line-height: 1; }
.brand__word sup { font-size: 0.55em; letter-spacing: 0; margin-left: 2px; top: -0.8em; color: var(--text-3); }
.brand__dot { transition: color 0.3s; }
.brand:hover .brand__dot { color: var(--her); }
.brand:hover .brand__dot:nth-of-type(2) { transition-delay: 0.06s; }
.brand:hover .brand__dot:nth-of-type(3) { transition-delay: 0.12s; }
.brand:hover .brand__dot:nth-of-type(4) { transition-delay: 0.18s; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 36px); }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 32px); list-style: none; margin: 0; padding: 0; }
.nav__links a { position: relative; font-size: 0.95rem; color: var(--text-2); text-decoration: none; transition: color 0.2s; padding-block: 6px; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); }
.nav__links a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--her); }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .nav__links, .nav .btn--sm { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px;
    border: 1px solid var(--line-2); border-radius: 999px; background: transparent; cursor: pointer;
    font-family: var(--ui); font-weight: 600; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  }
  .menu-btn__icon { width: 16px; height: 8px; position: relative; }
  .menu-btn__icon::before, .menu-btn__icon::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
  .menu-btn__icon::before { top: 0; }
  .menu-btn__icon::after { top: 6.5px; }
  .menu-open .menu-btn__icon::before { top: 3.25px; transform: rotate(45deg); }
  .menu-open .menu-btn__icon::after { top: 3.25px; transform: rotate(-45deg); }
}
.sheet {
  position: fixed; inset: 0; z-index: 40; background: var(--ink-0);
  padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
}
.menu-open .sheet { opacity: 1; visibility: visible; transition: opacity 0.35s var(--ease); }
.sheet:focus { outline: none; }
.menu-open { overflow: hidden; }
.sheet__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sheet__links a { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 9vw, 3rem); line-height: 1.15; text-decoration: none; }
.sheet__links a[aria-current="page"] { font-style: italic; color: var(--her-2); }
.sheet__foot { display: grid; gap: 16px; }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--btn-h); padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--sans); font-weight: 500; font-size: 1rem; letter-spacing: 0.005em; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.4s var(--ease), color 0.3s, transform 0.3s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.35s var(--ease); }
.btn:hover svg.arrow { transform: translate(3px, -3px); }
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--her); color: var(--her-ink); }
.btn--primary:hover { background: var(--her-2); box-shadow: 0 0 0 6px var(--her-10), 0 18px 50px -18px rgba(127, 219, 234, 0.75); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(237, 232, 223, 0.02); }
.btn--ghost:hover { border-color: var(--her-40); background: var(--her-10); }
.btn--sm { --btn-h: 40px; padding: 0 18px; font-size: 0.9375rem; }
.btn[aria-pressed="true"] { border-color: var(--her); background: var(--her-10); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; }
.more { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: border-color 0.3s, color 0.3s; }
.more svg { width: 14px; height: 14px; transition: transform 0.35s var(--ease); }
.more:hover { border-color: var(--her); color: var(--her-2); }
.more:hover svg { transform: translateX(3px); }
.more:hover svg.arrow { transform: translate(3px, -3px); }

/* ---------- Status tags ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 11px 0 9px;
  border: 1px solid var(--line-2); border-radius: 999px;
  font-family: var(--ui); font-weight: 600; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-2);
  white-space: nowrap;
}
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none; }
.tag--live { color: var(--her); border-color: var(--her-40); }
.tag--live::before { background: var(--her); box-shadow: 0 0 0 0 var(--her-40); animation: live 2.4s var(--ease-io) infinite; }
.tag--founder::before { border: 1.5px solid var(--her); }
.tag--build::before { border: 1.5px dashed var(--text-3); }
.tag--example::before { display: none; }
.tag--example { padding: 0 10px; color: var(--text-3); }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(127, 219, 234, 0.55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(127, 219, 234, 0); } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 1000px); display: flex; flex-direction: column; padding-top: var(--header-h); isolation: isolate; }
.hero__sky { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero__sky::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(to bottom, transparent, var(--ink-0)); pointer-events: none; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__inner { flex: 1; align-content: center; padding-block: clamp(40px, 6vh, 88px) clamp(40px, 6vh, 72px); }
.hero__copy { grid-column: 1 / span 7; display: grid; gap: 28px; align-content: center; }
.hero .display { margin-top: 4px; }
.hero .lead { max-width: 31em; }
.hero__status { display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap; margin-top: -4px; }
.hero__status .micro { color: var(--text-2); font-size: 0.9375rem; }
.hero__caption {
  position: absolute; z-index: 1; left: var(--ring-x, 75%); top: var(--ring-y, 50%); width: min(calc(var(--ring-r, 270px) * 1.3), 380px); transform: translate(-50%, -50%);
  font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.15rem, 0.95rem + 0.6vw, 1.5rem); line-height: 1.32;
  text-align: center; color: var(--text-3); pointer-events: none; text-wrap: balance;
}
.hero__caption .w { transition: color 0.25s; }
.hero__caption .w.is-said { color: var(--text); }
@media (max-width: 900px) {
  .hero__copy { grid-column: 1 / -1; }
  /* Ring on top (drawn at header + 18px + R, R = min(26vw, 150px)) with her caption inside it; copy below. */
  .hero { min-height: auto; justify-content: flex-start; }
  .hero__inner { padding-top: min(calc(52vw + 72px), 372px); }
  .hero__copy { gap: 22px; }
  .hero__caption { font-size: 0.98rem; width: min(calc(var(--ring-r, 100px) * 1.55), 260px); }
}
.prose-p { color: var(--text-2); max-width: 34em; text-wrap: pretty; }

/* Status rail */
.rail { border-top: 1px solid var(--line); }
.rail__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rail__item { display: grid; gap: 10px; align-content: start; justify-items: start; padding: 26px 28px 30px 0; text-decoration: none; }
.rail__item + .rail__item { padding-left: 28px; border-left: 1px solid var(--line); }
.rail__title { font-size: 1.0625rem; color: var(--text); }
.rail__link { font-size: 0.9375rem; color: var(--text-2); display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.rail__link svg { width: 13px; height: 13px; transition: transform 0.35s var(--ease); }
a.rail__item:hover .rail__link { color: var(--her-2); }
a.rail__item:hover .rail__link svg { transform: translateX(3px); }
@media (max-width: 760px) {
  .rail__list { grid-template-columns: minmax(0, 1fr); }
  .rail__item, .rail__item + .rail__item { padding: 20px 0; border-left: 0; }
  .rail__item + .rail__item { border-top: 1px solid var(--line); }
}

/* ---------- Statement ---------- */
.statement { font-size: clamp(2rem, 1.3rem + 2.9vw, 4.1rem); line-height: 1.08; letter-spacing: -0.016em; grid-column: 1 / span 11; text-wrap: balance; }
.statement-body { grid-column: 6 / span 6; margin-top: clamp(32px, 4vw, 56px); }
@media (max-width: 900px) { .statement, .statement-body { grid-column: 1 / -1; } }

/* ---------- Photos ---------- */
.shot { position: relative; overflow: hidden; border-radius: var(--r); background: var(--ink-2); isolation: isolate; }
.shot img, .shot video { width: 100%; height: 100%; object-fit: cover; }
.shot video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.shot video.is-playing { opacity: 1; }
.shot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(237, 232, 223, 0.06); pointer-events: none; }
.shot__cap { position: absolute; left: 16px; bottom: 14px; z-index: 1; }

/* ---------- Evening timeline ---------- */
.evening { padding-top: clamp(40px, 5vw, 80px); background: linear-gradient(to bottom, var(--ink-0) 0%, var(--dusk) 14%, var(--ink-0) 56%, var(--ink-0) 74%, var(--dawn) 93%, var(--ink-1) 100%); }
.voice { border-top: 0; }
.evening__head { margin-bottom: clamp(56px, 8vw, 112px); }
.evening__head .h2 { margin-top: 20px; max-width: 13em; }
.evening__note { display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap; margin-top: 24px; color: var(--text-2); font-size: var(--fs-small); max-width: 42em; }
.timeline { list-style: none; margin: 0 auto; padding: 0; position: relative; --p: 0; }
.timeline::before, .timeline::after { content: ""; position: absolute; top: 10px; bottom: 0; left: 7px; width: 1px; }
.timeline::before { background: var(--line-2); }
.timeline::after { background: linear-gradient(to bottom, var(--her-40), var(--her)); transform-origin: top; transform: scaleY(var(--p)); }
.beat { position: relative; padding-left: clamp(40px, 9vw, 150px); }
.beat + .beat { margin-top: clamp(96px, 13vw, 190px); }
.beat__time { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 14px; }
.beat__time::before { content: ""; width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--ink-0); flex: none; transition: border-color 0.5s, background-color 0.5s, box-shadow 0.5s; }
.beat.is-now .beat__time::before { border-color: var(--her); background: var(--her); box-shadow: 0 0 0 5px var(--her-10); }
.beat__clock { font-family: var(--ui); font-weight: 600; font-size: 14px; letter-spacing: 0.14em; color: var(--text-3); font-variant-numeric: tabular-nums; transition: color 0.5s; }
.beat.is-now .beat__clock { color: var(--her); }
.beat__body { display: grid; gap: 22px; align-content: center; }
.beat__body .h3 { max-width: 14em; }
.beat__body .tag { justify-self: start; }
.beat__grid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); align-items: center; }
@media (min-width: 761px) { .beat__time { top: 4px; } }

.beat--wide .shot { aspect-ratio: 16 / 9; grid-column: 1 / -1; }
.beat--wide .beat__body { grid-column: 1 / span 5; margin-top: clamp(32px, 4vw, 56px); align-self: start; }
.beat--wide .exchange { grid-column: 7 / span 4; margin-top: clamp(32px, 4vw, 56px); align-self: start; }
.beat--left .shot { grid-column: 1 / span 5; aspect-ratio: 4 / 5; }
.beat--left .beat__body { grid-column: 7 / span 4; }
.beat--right .shot { grid-column: 6 / span 5; aspect-ratio: 4 / 5; grid-row: 1; }
.beat--right .beat__body { grid-column: 1 / span 4; grid-row: 1; }
.beat--small .shot { grid-column: 1 / span 4; aspect-ratio: 4 / 5; }
.beat--small .beat__body { grid-column: 6 / span 5; }
.evening__coda { margin-top: clamp(72px, 9vw, 128px); padding-left: clamp(40px, 9vw, 150px); font-family: var(--serif); font-style: italic; font-weight: 300; font-size: var(--fs-h3); color: var(--text-2); max-width: 30em; }

@media (max-width: 760px) {
  .timeline::before, .timeline::after { left: 7px; }
  .beat { padding-left: 38px; }
  .beat__time { position: relative; margin-bottom: 18px; left: -38px; }
  .beat__grid { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .beat--wide .shot, .beat--wide .beat__body, .beat--wide .exchange,
  .beat--left .shot, .beat--left .beat__body, .beat--right .shot, .beat--right .beat__body,
  .beat--small .shot, .beat--small .beat__body { grid-column: 1; grid-row: auto; margin-top: 0; }
  .beat--left .shot, .beat--right .shot { aspect-ratio: 4 / 4.4; }
  .beat--small .shot { aspect-ratio: 16 / 11; }
  .evening__coda { padding-left: 38px; }
}

/* Spoken exchange */
.exchange { display: grid; gap: 18px; padding-top: 4px; }
.say { display: grid; gap: 8px; }
.say__who { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ui); font-weight: 600; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); }
.say--her .say__who { color: var(--her); }
.say__who .wave { display: inline-flex; gap: 2px; align-items: center; height: 12px; }
.say__who .wave i { width: 2px; border-radius: 1px; background: currentColor; }
.say__who .wave i:nth-child(1) { height: 5px; } .say__who .wave i:nth-child(2) { height: 11px; } .say__who .wave i:nth-child(3) { height: 7px; } .say__who .wave i:nth-child(4) { height: 12px; } .say__who .wave i:nth-child(5) { height: 4px; }
.say__text { color: var(--text-2); font-size: 1rem; }
.said { font-style: italic; font-size: var(--fs-said); line-height: 1.3; color: var(--text); letter-spacing: -0.005em; }

/* Her interface: glass cards with corner brackets */
.ui-card {
  position: relative; padding: 22px 24px 24px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(22, 28, 43, 0.86), rgba(15, 20, 32, 0.92));
  border: 1px solid rgba(127, 219, 234, 0.16);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.8);
  display: grid; gap: 12px; max-width: 30rem;
}
.brackets::before, .brackets::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1.5px solid var(--her); opacity: 0.75; pointer-events: none; }
.brackets::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: 14px; }
.brackets::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-bottom-right-radius: 14px; }
.ui-card__top { display: flex; align-items: center; gap: 10px; }
.ui-card__top .label { color: var(--her); }
.ui-card__top .label + .label { margin-left: auto; color: var(--text-3); }
.ui-ring { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--her); box-shadow: 0 0 12px -2px var(--her-40), inset 0 0 6px -2px var(--her-40); flex: none; }
.ui-card__main { font-size: 1.125rem; line-height: 1.45; color: var(--text); }
.ui-card__meta { font-size: 0.875rem; color: var(--text-3); font-variant-numeric: tabular-nums; }
.ui-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.ui-chip { height: 32px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line-2); font-size: 0.875rem; color: var(--text-2); }
.ui-chip--on { border-color: var(--her-40); color: var(--her-2); background: var(--her-10); }
.ui-undo { position: relative; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; margin-top: 2px; }
.ui-undo i { position: absolute; inset: 0; background: var(--her); transform-origin: left; animation: undo 10s linear infinite; }
@keyframes undo { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* ---------- Hear her ---------- */
.voice { background: var(--ink-1); border-block: 1px solid var(--line); overflow: hidden; }
.voice__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); align-items: center; }
.voice__intro { grid-column: 1 / span 5; display: grid; gap: 24px; }
.voice__stage { grid-column: 7 / span 6; grid-row: 1 / span 2; position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; justify-self: center; }
.voice__stage canvas { position: absolute; inset: -12%; width: 124%; height: 124%; max-width: none; }
.voice__now { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.voice__now .label { color: var(--text-3); transition: color 0.3s; }
.voice.is-playing .voice__now .label { color: var(--her); }
.voice__list { grid-column: 1 / span 6; list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; gap: 12px; }
.voice-card {
  width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; column-gap: 18px; row-gap: 6px; align-items: center;
  text-align: left; padding: 18px 20px; border-radius: 14px; cursor: pointer;
  background: rgba(237, 232, 223, 0.025); border: 1px solid var(--line);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), transform 0.3s var(--ease);
  position: relative; overflow: hidden;
}
.voice-card:hover { border-color: var(--line-2); background: rgba(237, 232, 223, 0.045); }
.voice-card[aria-pressed="true"] { border-color: var(--her-40); background: var(--her-10); }
.voice-card__play { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--her); transition: background-color 0.3s, border-color 0.3s, color 0.3s; }
.voice-card__play svg { width: 14px; height: 14px; }
.voice-card__play .i-pause { display: none; }
.voice-card[aria-pressed="true"] .voice-card__play { background: var(--her); border-color: var(--her); color: var(--her-ink); }
.voice-card[aria-pressed="true"] .i-play { display: none; }
.voice-card[aria-pressed="true"] .i-pause { display: block; }
.voice-card__label { font-family: var(--ui); font-weight: 600; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); }
.voice-card__dur { font-family: var(--ui); font-weight: 500; font-size: 14px; letter-spacing: 0.08em; color: var(--text-3); font-variant-numeric: tabular-nums; grid-row: 1; grid-column: 3; }
.voice-card__line { grid-column: 2 / span 2; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.1rem, 1rem + 0.35vw, 1.3rem); line-height: 1.35; color: var(--text-2); }
.voice-card__line .w { transition: color 0.2s; }
.voice-card__line .w.is-said { color: var(--text); }
.voice-card__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--her); transform-origin: left; transform: scaleX(0); }
.voice-card__err { grid-column: 2 / span 2; font-size: 0.875rem; color: #f3b8a9; }
.voice__foot { grid-column: 1 / span 6; margin-top: 20px; }
@media (max-width: 900px) {
  .voice__intro, .voice__list, .voice__foot { grid-column: 1 / -1; }
  .voice__stage { grid-column: 1 / -1; grid-row: auto; max-width: 340px; margin-top: 24px; }
}

/* ---------- Try her (demo screens) ---------- */
.try__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.try__head > div { grid-column: 1 / span 7; display: grid; gap: 22px; }
.try__head > .actions { grid-column: 9 / span 4; justify-content: flex-end; }
.screens { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); row-gap: 28px; }
.screen { position: relative; display: grid; gap: 16px; text-decoration: none; }
.screen--reactor { grid-column: 1 / span 7; }
.tries { grid-column: 8 / span 5; align-self: center; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.try-item { position: relative; display: grid; gap: 8px; padding: 20px 48px 22px 22px; border-radius: 14px; border: 1px solid var(--line); background: rgba(237, 232, 223, 0.025); text-decoration: none; transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), transform 0.3s var(--ease); }
.try-item:hover { border-color: var(--her-40); background: var(--her-10); transform: translateY(-2px); }
.try-item .label { color: var(--her); }
.try-item__say { color: var(--text); font-size: 1.0625rem; line-height: 1.45; }
.try-item__note { color: var(--text-2); font-size: 0.9375rem; line-height: 1.5; }
.try-item svg { position: absolute; top: 20px; right: 20px; width: 14px; height: 14px; color: var(--text-3); transition: transform 0.35s var(--ease), color 0.3s; }
.try-item:hover svg { transform: translate(3px, -3px); color: var(--her); }
.screen__frame { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid rgba(127, 219, 234, 0.18); background: var(--ink-1); transition: border-color 0.4s var(--ease), transform 0.5s var(--ease); }
.screen__frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.screen:hover .screen__frame { border-color: var(--her-40); transform: translateY(-3px); }
.screen__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.screen__cap strong { font-weight: 500; }
.screen__cap span { color: var(--text-3); font-size: 0.9375rem; }
@media (max-width: 900px) {
  .try__head > div, .try__head > .actions { grid-column: 1 / -1; justify-content: flex-start; margin-top: 8px; }
  .screen--reactor, .tries { grid-column: 1 / -1; }
}

/* ---------- Guardian teaser ---------- */
.guardian { position: relative; }
.guardian__grid { align-items: center; row-gap: 40px; }
.guardian__photo { grid-column: 1 / span 7; position: relative; }
.guardian__copy .h2 { font-size: clamp(2.3rem, 1.5rem + 2.6vw, 4rem); }
.guardian__photo .shot { aspect-ratio: 3 / 2; }
.guardian__copy { grid-column: 8 / span 5; display: grid; gap: 24px; padding-left: clamp(0px, 2vw, 24px); }
.guardian__copy .eyebrow { color: var(--text-2); }
.note-card { position: absolute; right: clamp(-48px, -3vw, -16px); bottom: clamp(-40px, -3vw, -24px); width: min(360px, 78%); }
.note-card .ui-card { max-width: none; }
@media (max-width: 900px) {
  .guardian__photo, .guardian__copy { grid-column: 1 / -1; }
  .note-card { position: relative; right: auto; bottom: auto; width: auto; margin: -56px 16px 0; }
}

/* ---------- Memory (privacy teaser) ---------- */
.memory__grid { align-items: start; row-gap: 48px; }
.memory__copy { grid-column: 1 / span 6; display: grid; gap: 26px; }
.memory__file { grid-column: 8 / span 5; }
.file { border-radius: 14px; border: 1px solid var(--line-2); background: #0b0f19; overflow: hidden; box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.9); }
.file__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.file__name { font-family: var(--ui); font-weight: 500; font-size: 14px; letter-spacing: 0.06em; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file__body { padding: 22px 22px 26px; display: grid; gap: 10px; font-size: 0.96875rem; color: var(--text-2); }
.file__body h3 { font-family: var(--serif); font-weight: 350; font-size: 1.5rem; color: var(--text); line-height: 1.2; }
.file__body .when { font-family: var(--ui); font-weight: 600; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }
.file__body .follow { margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--line-2); color: var(--text); }
.facts { display: grid; gap: 0; margin-top: 4px; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--ui); font-weight: 600; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); padding-top: 3px; }
.facts dd { color: var(--text-2); }
@media (max-width: 900px) { .memory__copy, .memory__file { grid-column: 1 / -1; } }
@media (max-width: 520px) { .facts > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* ---------- FAQ ---------- */
.faq__grid { align-items: start; row-gap: 40px; }
.faq__intro { grid-column: 1 / span 4; display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 32px); }
.faq__list { grid-column: 6 / span 7; border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-family: var(--serif); font-weight: 350; font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.55rem); line-height: 1.25; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.5px solid var(--her); border-bottom: 1.5px solid var(--her); transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.35s var(--ease); }
.faq__list details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq__list summary:hover { color: var(--her-2); }
.faq__list .prose { padding: 0 0 26px; }
@media (max-width: 900px) { .faq__intro, .faq__list { grid-column: 1 / -1; position: static; } }

/* ---------- Finale ---------- */
.finale { position: relative; min-height: min(92svh, 900px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.finale__bg { position: absolute; inset: 0; z-index: -1; }
.finale__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.06); transition: transform 2.8s var(--ease); }
.finale.is-in .finale__bg img { transform: scale(1); }
.finale__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--ink-0) 0%, rgba(5, 7, 13, 0) 24%), linear-gradient(to top, var(--ink-0) 8%, rgba(5, 7, 13, 0.78) 42%, rgba(5, 7, 13, 0.25) 100%), linear-gradient(to right, rgba(5, 7, 13, 0.72), transparent 70%); }
.finale__inner { padding-block: clamp(120px, 18vw, 240px) clamp(64px, 8vw, 112px); display: grid; gap: 30px; }
.finale .display { max-width: 9.5em; }
.join { display: grid; gap: 12px; max-width: 34rem; margin-top: 8px; }
.join--quiet { padding-top: 28px; border-top: 1px solid var(--line-2); }

/* ---------- Waitlist ---------- */
.waitlist { display: grid; gap: 12px; }
.waitlist__label { font-weight: 500; color: var(--text); }
.waitlist__row { display: flex; gap: 10px; }
.waitlist input {
  flex: 1; min-width: 0; height: 54px; padding: 0 20px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(5, 7, 13, 0.6); color: var(--text);
  font: inherit; font-size: 1rem; transition: border-color 0.3s, box-shadow 0.3s;
}
.waitlist input::placeholder { color: var(--text-3); }
.waitlist input:hover { border-color: rgba(237, 232, 223, 0.28); }
.waitlist input:focus { outline: none; border-color: var(--her); box-shadow: 0 0 0 4px var(--her-10); }
.waitlist input[aria-invalid="true"] { border-color: #f3b8a9; }
.waitlist__note { font-size: 0.875rem; color: var(--text-3); }
.waitlist__note a { color: var(--text-2); }
.waitlist__status { font-size: 0.9375rem; min-height: 1.4em; }
.waitlist__status[data-tone="ok"] { color: var(--her-2); }
.waitlist__status[data-tone="err"] { color: #f3b8a9; }
.waitlist.is-done .waitlist__row { display: none; }
.join--quiet .waitlist .btn--primary { background: transparent; color: var(--text); border-color: var(--line-2); }
.join--quiet .waitlist .btn--primary:hover { border-color: var(--her-40); background: var(--her-10); box-shadow: none; }
@media (max-width: 520px) { .waitlist__row { flex-direction: column; } .waitlist input { flex: none; width: 100%; } .waitlist__row .btn { width: 100%; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: clamp(64px, 8vw, 112px) 40px; background: var(--ink-0); }
.footer__grid { row-gap: 48px; }
.footer__brand { grid-column: 1 / span 5; display: grid; gap: 18px; align-content: start; }
.footer__brand p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.5rem; color: var(--text-2); line-height: 1.3; max-width: 14em; }
.footer__cols { grid-column: 7 / span 6; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer__col h2 { font-family: var(--ui); font-weight: 600; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__col a { color: var(--text-2); text-decoration: none; font-size: 0.96875rem; transition: color 0.2s; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--text); }
.footer__base { margin-top: clamp(56px, 7vw, 96px); padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 0.875rem; color: var(--text-3); }
.footer__base a { color: var(--text-2); text-decoration: none; }
.footer__base a:hover { color: var(--text); }
@media (max-width: 900px) { .footer__brand, .footer__cols { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__cols > :last-child { grid-column: 1 / -1; } }

/* ---------- Subpages ---------- */
.page-hero { position: relative; padding-top: calc(var(--header-h) + clamp(56px, 9vw, 128px)); padding-bottom: clamp(64px, 8vw, 112px); isolation: isolate; }
.page-hero__grid { align-items: center; row-gap: 48px; }
.page-hero__copy { grid-column: 1 / span 6; display: grid; gap: 26px; }
.page-hero__media { grid-column: 8 / span 5; }
.page-hero--wide .page-hero__copy { grid-column: 1 / span 8; }
.page-hero .display { font-size: clamp(2.9rem, 1.6rem + 4.6vw, 6rem); }
@media (max-width: 900px) { .page-hero__copy, .page-hero__media, .page-hero--wide .page-hero__copy { grid-column: 1 / -1; } }
.cinema { position: relative; }
.cinema .shot { aspect-ratio: 21 / 9; }
@media (max-width: 760px) { .cinema .shot { aspect-ratio: 4 / 3; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 32px); counter-reset: step; }
.steps li { display: grid; gap: 14px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line-2); }
.steps .h3 { font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.65rem); }
.steps p { color: var(--text-2); }
.steps .label { color: var(--her); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .steps--three { grid-template-columns: minmax(0, 1fr); row-gap: 32px; } }
.notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(16px, 2.2vw, 32px); margin-top: clamp(48px, 6vw, 80px); }
@media (max-width: 760px) { .notes { grid-template-columns: minmax(0, 1fr); } }

.split { align-items: center; row-gap: 48px; }
.split__a { grid-column: 1 / span 6; display: grid; gap: 24px; }
.split__b { grid-column: 8 / span 5; }
.split--flip .split__a { grid-column: 7 / span 6; grid-row: 1; }
.split--flip .split__b { grid-column: 1 / span 5; grid-row: 1; }
@media (max-width: 900px) { .split__a, .split__b, .split--flip .split__a, .split--flip .split__b { grid-column: 1 / -1; grid-row: auto; } }

.honest { border: 1px solid var(--line-2); border-radius: var(--r); padding: clamp(28px, 4vw, 48px); display: grid; gap: 18px; background: rgba(237, 232, 223, 0.02); }
.honest .h3 { max-width: 20em; }

.specs { border-top: 1px solid var(--line); }
.specs > div { display: grid; grid-template-columns: minmax(0, 14em) minmax(0, 1fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--text); font-weight: 500; }
.specs dd { color: var(--text-2); overflow-wrap: anywhere; }
.specs dd code { font-family: var(--ui); font-size: 0.95em; letter-spacing: 0.04em; color: var(--text); }
@media (max-width: 560px) { .specs > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(16px, 2.2vw, 32px); }
.features li { padding: 28px 0 32px; border-top: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.features svg { width: 28px; height: 28px; color: var(--her); }
.features h3 { font-family: var(--serif); font-weight: 350; font-size: 1.45rem; line-height: 1.2; }
.features p { color: var(--text-2); }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* Privacy document */
.doc__grid { align-items: start; row-gap: 40px; }
.doc__toc { grid-column: 1 / span 3; position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 14px; }
.doc__toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.doc__toc a { display: block; padding: 6px 0 6px 14px; border-left: 1px solid var(--line-2); color: var(--text-2); text-decoration: none; font-size: 0.9375rem; transition: color 0.2s, border-color 0.2s; }
.doc__toc a:hover, .doc__toc a.is-active { color: var(--text); border-color: var(--her); }
.doc__body { grid-column: 5 / span 8; display: grid; gap: clamp(56px, 7vw, 88px); }
.doc__section { display: grid; gap: 18px; scroll-margin-top: calc(var(--header-h) + 32px); }
.doc__section .h3 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.3rem); }
.doc__section ul { margin: 0; padding-left: 1.1em; color: var(--text-2); display: grid; gap: 8px; }
.doc__section ul li::marker { color: var(--her); }
@media (max-width: 900px) { .doc__toc { position: static; grid-column: 1 / -1; } .doc__body { grid-column: 1 / -1; } }

/* 404 */
.lost { min-height: 100svh; display: grid; place-items: center; text-align: left; position: relative; isolation: isolate; padding-top: var(--header-h); }
.lost canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.lost__inner { display: grid; gap: 26px; max-width: 40rem; }

/* ---------- Reveal (only when JS runs) ---------- */
html.js [data-reveal] { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js [data-reveal="lines"] { opacity: 1; transform: none; }
html.js [data-reveal="lines"] .ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
html.js [data-reveal="lines"] .ln > span { display: block; transform: translate3d(0, 108%, 0); transition: transform 1.15s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + 60ms); }
html.js [data-reveal="lines"].is-in .ln > span { transform: none; }
html.js .shot[data-reveal] img { transform: scale(1.1); transition: transform 2.2s var(--ease); }
html.js .shot[data-reveal].is-in img { transform: scale(1); }

@media print {
  html.js [data-reveal], html.js [data-reveal="lines"] .ln > span, html.js .shot[data-reveal] img { opacity: 1; transform: none; }
  .site-header, .sheet, .hero__sky, video { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  html.js [data-reveal], html.js [data-reveal="lines"] .ln > span, html.js .shot[data-reveal] img { opacity: 1; transform: none; }
  .finale__bg img { transform: none; }
}
