/* The Overnight Break-In. One street at blue hour: the page starts at night and ends at dawn. */

@font-face { font-family: "Newsreader"; src: url("fonts/newsreader.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("fonts/inter-tight.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }

:root {
  --night: #070B1A; --indigo: #101A3A; --violet: #3B2A6B; --rose: #C2477A; --peach: #FFB37A;
  --amber: #FFB454; --brass: #E3B062; --green: #3DF2A0; --coral: #FF5A3C; --paper: #F4EEE2; --ink: #0A1020;
  --paper-2: #C7C9E6; --line: rgba(244, 238, 226, .14);
  --ink-2: #474B5C; --line-ink: rgba(10, 16, 32, .15); --green-ink: #0A7348; --coral-ink: #B32F17; --amber-ink: #8A4B0F;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --gutter: 20px; --focus: var(--green); --ease-out: cubic-bezier(.23, 1, .32, 1);
  --key: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 14' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'><circle cx='6' cy='7' r='4.6'/><path d='M10.6 7H26.5M21 7v4.2M25 7v3'/></svg>");
  --stars: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='420' height='420'><g fill='%23F4EEE2'><circle cx='165' cy='77' r='0.9' fill-opacity='0.35'/><circle cx='37' cy='274' r='0.6' fill-opacity='0.6'/><circle cx='298' cy='29' r='1.1' fill-opacity='0.5'/><circle cx='19' cy='44' r='0.9' fill-opacity='0.75'/><circle cx='35' cy='123' r='0.6' fill-opacity='0.9'/><circle cx='217' cy='30' r='1.1' fill-opacity='0.35'/><circle cx='114' cy='322' r='1.3' fill-opacity='0.9'/><circle cx='68' cy='148' r='0.9' fill-opacity='0.5'/><circle cx='276' cy='60' r='1.1' fill-opacity='0.6'/><circle cx='286' cy='417' r='1.3' fill-opacity='0.5'/><circle cx='52' cy='297' r='1.1' fill-opacity='0.5'/><circle cx='190' cy='49' r='1.1' fill-opacity='0.35'/><circle cx='254' cy='348' r='1.1' fill-opacity='0.75'/><circle cx='397' cy='160' r='0.9' fill-opacity='0.9'/><circle cx='232' cy='185' r='0.8' fill-opacity='0.5'/><circle cx='406' cy='92' r='1.3' fill-opacity='0.5'/><circle cx='253' cy='175' r='1.3' fill-opacity='0.75'/><circle cx='147' cy='311' r='0.6' fill-opacity='0.35'/><circle cx='262' cy='214' r='0.7' fill-opacity='0.6'/><circle cx='77' cy='250' r='0.9' fill-opacity='0.35'/><circle cx='342' cy='39' r='1.1' fill-opacity='0.9'/><circle cx='355' cy='179' r='1.1' fill-opacity='0.75'/><circle cx='31' cy='374' r='1.3' fill-opacity='0.6'/></g></svg>");
  /* Fallback street, drawn until the renders land: houses, lit windows, lock lights. */
  --houses: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='360' height='160' viewBox='0 0 360 160'><g fill='%230A1020'><path d='M8 160V82l46-38 46 38v78z'/><path d='M128 160V94l38-30 38 30v66z'/><path d='M232 160V76l54-44 54 44v84z'/></g><g fill='%23FFB454'><rect x='24' y='98' width='14' height='17'/><rect x='70' y='98' width='14' height='17'/><rect x='142' y='106' width='12' height='14'/><rect x='252' y='94' width='16' height='19'/><rect x='304' y='94' width='16' height='19'/></g><g fill='%23161F47'><rect x='47' y='126' width='14' height='34'/><rect x='160' y='128' width='12' height='32'/><rect x='279' y='122' width='14' height='38'/></g><g fill='%233DF2A0'><circle cx='65' cy='142' r='2.2'/><circle cx='176' cy='143' r='2.2'/><circle cx='297' cy='140' r='2.2'/></g></svg>");
  --houses-open: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='360' height='160' viewBox='0 0 360 160'><g fill='%230A1020'><path d='M8 160V82l46-38 46 38v78z'/><path d='M128 160V94l38-30 38 30v66z'/><path d='M232 160V76l54-44 54 44v84z'/></g><g fill='%23FFB454'><rect x='24' y='98' width='14' height='17'/><rect x='70' y='98' width='14' height='17'/><rect x='142' y='106' width='12' height='14'/><rect x='252' y='94' width='16' height='19'/><rect x='304' y='94' width='16' height='19'/><rect x='47' y='126' width='14' height='34'/><rect x='160' y='128' width='12' height='32'/><rect x='279' y='122' width='14' height='38'/></g><g fill='%23FF5A3C'><circle cx='65' cy='142' r='2.4'/><circle cx='176' cy='143' r='2.4'/><circle cx='297' cy='140' r='2.4'/></g></svg>");
  --houses-dark: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='360' height='160' viewBox='0 0 360 160'><g fill='%23050813'><path d='M8 160V82l46-38 46 38v78z'/><path d='M128 160V94l38-30 38 30v66z'/><path d='M232 160V76l54-44 54 44v84z'/></g><g fill='%23FFB454'><rect x='142' y='106' width='12' height='14' fill-opacity='.8'/></g><g fill='%233DF2A0'><circle cx='65' cy='142' r='2'/><circle cx='176' cy='143' r='2'/><circle cx='297' cy='140' r='2'/></g></svg>");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--night); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--night); color: var(--paper);
  font: 400 1.0625rem/1.55 var(--sans); font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::after { /* film grain: keeps the big gradients from banding */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .05;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}
img, video { display: block; max-width: 100%; }
p, h1, h2, h3, ul, ol, dl, dd, figure, blockquote { margin: 0; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
::selection { background: var(--brass); color: var(--ink); }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: .7rem 1rem; background: var(--paper); color: var(--ink); font-weight: 600; border-radius: 3px; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), 1240px); margin-inline: auto; }
.sec { position: relative; padding-block: clamp(4.25rem, 8vw, 6.5rem); }
section[id], #not-rare { scroll-margin-top: 64px; }

h2 { font: 400 clamp(2.3rem, 1.45rem + 3.6vw, 4.3rem)/1.02 var(--serif); letter-spacing: -.022em; max-width: 17ch; margin: .45em 0 .45em; text-wrap: balance; }
h3 { font-weight: 400; }
.lede { font-size: clamp(1.1rem, 1rem + .45vw, 1.32rem); line-height: 1.5; color: var(--paper-2); max-width: 42ch; text-wrap: pretty; }
.chapter { display: flex; align-items: center; gap: .9em; font: 500 .75rem/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--paper-2); }
.chapter time { color: var(--amber); letter-spacing: .02em; text-transform: none; }
.chapter time::after { content: ""; display: inline-block; vertical-align: middle; width: 1.6rem; height: 1px; margin-left: .9em; background: currentColor; opacity: .6; }
.src { font: 400 .75rem/1.4 var(--mono); color: var(--paper-2); letter-spacing: .02em; }
a.src { text-decoration: underline; text-decoration-color: rgba(244, 238, 226, .35); }
a.src:hover { color: var(--paper); text-decoration-color: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: 50px; padding: 0 1.35rem; border: 1px solid transparent; border-radius: 4px;
  font: 600 1rem/1.1 var(--sans); letter-spacing: .005em; text-decoration: none; text-align: center;
  cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .22s ease, transform .14s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 40px; padding: 0 .95rem; font-size: .92rem; }
.btn-lg { min-height: 58px; padding: 0 1.75rem; font-size: 1.1rem; }
.btn-brass { background: var(--brass); color: var(--ink); box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .7); }
.btn-coral { background: var(--coral); color: var(--ink); box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .7); }
.btn-line { border-color: rgba(244, 238, 226, .42); color: var(--paper); background: rgba(7, 11, 26, .2); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-line-ink { border-color: rgba(10, 16, 32, .35); color: var(--ink); background: transparent; }
@media (hover: hover) {
  .btn-brass:hover { background: #EEC27A; box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .8); }
  .btn-coral:hover { background: #FF7356; }
  .btn-line:hover { border-color: var(--paper); background: rgba(244, 238, 226, .07); }
  .btn-ink:hover { background: #1C2540; }
  .btn-line-ink:hover { border-color: var(--ink); }
}
.btn-key::before { content: ""; flex: none; width: 1.45em; height: .72em; background: currentColor; -webkit-mask: var(--key) center / contain no-repeat; mask: var(--key) center / contain no-repeat; }
.link { padding: 0; border: 0; background: none; cursor: pointer; text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; color: inherit; font: inherit; }

/* ---------- Header ---------- */
.bar {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 10px var(--gutter); padding-top: max(10px, env(safe-area-inset-top));
  background: rgba(7, 11, 26, .72); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line); transition: background-color .4s ease, color .4s ease, border-color .4s ease;
}
.wordmark { display: flex; align-items: baseline; gap: .8rem; text-decoration: none; }
.wm-name { font: 500 1.4rem/1 var(--serif); letter-spacing: -.01em; }
.wm-tag { display: none; font: 500 .75rem/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--paper-2); }
.bar.is-dawn { background: rgba(244, 238, 226, .82); color: var(--ink); border-color: var(--line-ink); --focus: var(--ink); }
.bar.is-dawn .wm-tag { color: var(--ink-2); }
.bar.is-dawn .btn-brass { background: var(--ink); color: var(--paper); box-shadow: none; }

/* ---------- 1. Hero ---------- */
.hero {
  padding-top: clamp(2.75rem, 7vw, 5.5rem); padding-bottom: clamp(4rem, 9vw, 7.5rem);
  background: linear-gradient(180deg, #050812 0%, #080D20 100%);
}
/* Stars thin out toward the film so they never sit inside small text. */
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--stars) 0 0 / 420px repeat; -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 35%, transparent 62%); mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 35%, transparent 62%); }
.hero .wrap { position: relative; }
.moon { display: none; }
.hero-grid { display: grid; gap: 1.25rem; }
h1 {
  font: 400 clamp(2.3rem, 1.1rem + 4.6vw, 4.4rem)/1 var(--serif); letter-spacing: -.026em;
  margin: .1em 0 .2em; text-wrap: balance;
}
h1 em { display: block; font-style: italic; font-weight: 350; color: var(--paper); }
h1 .brass { color: var(--brass); font-weight: 400; }
.hero-sub { font-size: clamp(1.12rem, 1rem + .5vw, 1.34rem); line-height: 1.48; color: var(--paper-2); max-width: 36ch; text-wrap: pretty; }
.film { margin-top: .75rem; margin-inline: calc(-1 * var(--gutter)); }
.film-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000 var(--houses) bottom center / auto 40% repeat-x; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(244, 238, 226, .1); }
.film-frame video { width: 100%; height: 100%; object-fit: cover; background: transparent; }
.film-play {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .55rem;
  border: 0; cursor: pointer; color: var(--paper); text-align: center;
  background: radial-gradient(ellipse at center, rgba(7, 11, 26, .3), rgba(7, 11, 26, .05) 70%);
  -webkit-tap-highlight-color: transparent;
}
.fp-dot {
  position: relative; width: 66px; height: 66px; border-radius: 50%; margin-bottom: .35rem;
  background: rgba(7, 11, 26, .45); box-shadow: inset 0 0 0 1.5px rgba(244, 238, 226, .85), 0 0 40px rgba(255, 180, 84, .25);
  transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.fp-dot::after { content: ""; position: absolute; left: 53%; top: 50%; width: 18px; height: 20px; transform: translate(-50%, -50%); background: var(--paper); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.fp-label { font: 600 1rem/1 var(--sans); }
.fp-meta { font: 400 .75rem/1 var(--mono); letter-spacing: .06em; color: var(--paper-2); }
@media (hover: hover) { .film-play:hover .fp-dot { background: var(--brass); transform: scale(1.05); } .film-play:hover .fp-dot::after { background: var(--ink); } }
.film-play:focus-visible { outline-offset: -6px; }
video::cue { font-family: var(--sans); font-size: 1.05em; background: rgba(7, 11, 26, .82); color: var(--paper); }
.hero-actions { display: grid; gap: .7rem; margin-top: .9rem; }
.hero-avail { font-size: .98rem; color: var(--paper-2); }
.hero-avail strong { color: var(--paper); font-weight: 600; }
.hero-terms { max-width: 52ch; font-size: .9rem; line-height: 1.55; color: var(--paper-2); text-wrap: pretty; }
.hero-terms a { color: var(--paper); font-weight: 600; white-space: nowrap; }
.lamp-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px 2px rgba(61, 242, 160, .55); display: inline-block; vertical-align: .08em; margin-right: .2rem; }

/* ---------- 2. Try the key ---------- */
.key { background: linear-gradient(180deg, #080D20 0%, #0B1229 100%); }
.key-grid { display: grid; gap: 2rem; }
.key-copy p:not(.chapter) { max-width: 40ch; color: var(--paper-2); font-size: 1.08rem; }
.key-copy p + p { margin-top: .9rem; }
.key-copy h2 { margin-bottom: .6em; }
.aside { display: block; margin-top: .9rem; font: italic 400 1.45rem/1.2 var(--serif); color: var(--paper); }

.phone {
  justify-self: center; width: min(100%, 336px); height: 540px; padding: 11px; border-radius: 46px;
  background: linear-gradient(150deg, #262E52 0%, #0C1126 45%, #161C38 100%);
  box-shadow: inset 0 0 0 1.5px rgba(244, 238, 226, .16), 0 0 0 1px #02040A, 0 60px 100px -50px rgba(0, 0, 0, .95), 0 0 80px -20px rgba(255, 180, 84, .18);
}
.phone-screen { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 36px; background: var(--paper); color: var(--ink); }
.phone-screen::before { content: ""; position: absolute; top: 10px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%); border-radius: 20px; background: #05070F; }
.app-bar { display: flex; flex-direction: column; gap: .55rem; padding: 48px 18px 14px; border-bottom: 1px solid var(--line-ink); }
.app-name { font: 500 1.35rem/1 var(--serif); letter-spacing: -.01em; }
.app-check { align-self: flex-start; padding: .3rem .6rem; border-radius: 4px; background: #CFF3E0; color: var(--green-ink); font: 600 .75rem/1 var(--sans); }
.app-own { padding: 18px; display: grid; gap: 14px; align-content: start; }
.app-meta { font: 400 .75rem/1.4 var(--mono); color: var(--ink-2); }
.booking { padding: 18px; border-radius: 16px; background: #FFFCF5; box-shadow: 0 1px 0 rgba(10, 16, 32, .04), 0 10px 24px -14px rgba(10, 16, 32, .35); border: 1px solid var(--line-ink); }
.bk-label { font: 500 .75rem/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); }
.bk-name { margin-top: .7rem; font: 500 1.6rem/1.05 var(--serif); }
.bk-addr { margin-top: .25rem; color: var(--ink-2); }
.bk-code { margin-top: .9rem; font: 400 .82rem/1 var(--mono); color: var(--ink-2); }
.bk-code span { margin-left: .4rem; padding: .25rem .45rem; border-radius: 3px; background: rgba(10, 16, 32, .07); color: var(--ink); font-weight: 600; }
.app-note { font-size: .86rem; color: var(--ink-2); }
.app-tabs { order: 2; margin-top: auto; display: flex; justify-content: space-around; padding: 12px 10px 22px; border-top: 1px solid var(--line-ink); font: 500 .75rem/1 var(--sans); color: var(--ink-2); }
.app-tabs .is-on { color: var(--ink); font-weight: 700; }
.app-resp { display: flex; flex-direction: column; flex: 1; min-height: 0; padding: 14px 16px 0; }
.resp-req { font: 400 .75rem/1.45 var(--mono); color: var(--ink-2); word-break: break-all; }
.resp-status { display: flex; align-items: baseline; gap: .45rem; margin: .55rem 0 .4rem; font: 600 .86rem/1 var(--mono); }
.resp-code { color: var(--green-ink); }
.resp-code.is-zero { color: var(--green-ink); }
.rows { flex: 1; min-height: 0; overflow-y: auto; margin: 0 -16px; padding: 0 16px 14px; list-style: none; overscroll-behavior: contain; }
.rows li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .1rem .6rem; padding: 7px 0; border-bottom: 1px dashed rgba(10, 16, 32, .14); font: 400 .75rem/1.3 var(--mono); }
.rows .r-name { font-weight: 600; color: var(--ink); }
.rows .r-addr { grid-column: 1; color: var(--ink-2); }
.rows .r-code { grid-row: 1 / span 2; grid-column: 2; padding: .3rem .45rem; border-radius: 3px; background: rgba(255, 90, 60, .14); color: var(--coral-ink); font-weight: 600; font-size: .8rem; }
.rows .r-empty { display: block; padding: 2.5rem 0; border: 0; text-align: center; font: italic 400 1.2rem/1.3 var(--serif); color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) { .rows li { animation: row-in .28s ease-out both; } }
@keyframes row-in { from { opacity: 0; transform: translateY(6px); background: rgba(255, 90, 60, .12); } }

.key-controls { display: grid; gap: 1.1rem; justify-items: start; align-content: start; }
.key-controls > .btn { width: 100%; }
.key-after { display: grid; gap: 1rem; justify-items: start; }
.key-after:focus { outline: none; }
.key-fixline { font: italic 400 1.25rem/1.2 var(--serif); color: var(--paper); }
.key-caption { font: 400 clamp(1.45rem, 1.2rem + 1vw, 1.9rem)/1.18 var(--serif); max-width: 22ch; text-wrap: balance; }
.key-headers { display: flex; flex-wrap: wrap; gap: .4rem; }
.key-headers code { padding: .3rem .5rem; border: 1px solid var(--line); border-radius: 3px; background: rgba(244, 238, 226, .04); font: 400 .76rem/1 var(--mono); color: var(--paper-2); }
.diff { width: 100%; max-width: 34rem; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; font: 400 .82rem/1.4 var(--mono); }
.diff p { display: grid; grid-template-columns: 2.6rem 1fr; gap: .2rem .4rem; padding: .7rem .85rem; }
.diff-old { background: rgba(255, 90, 60, .09); }
.diff-new { background: rgba(61, 242, 160, .07); border-top: 1px solid var(--line); }
.diff-tag { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--paper-2); padding-top: .1rem; }
.diff-old code { color: #FF9A82; }
.diff-new code { color: var(--green); }
.diff-q { grid-column: 2; font: italic 400 1rem/1.3 var(--serif); color: var(--paper); }
.diff code { word-break: break-word; }
.key-next { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-weight: 600; }
.key-next .link { font-weight: 400; color: var(--paper-2); }

/* ---------- Stills: renders from the street, with a drawn fallback underneath ---------- */
.still {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3;
  background:
    radial-gradient(70% 45% at 50% 100%, rgba(255, 179, 122, .4), transparent 70%),
    var(--houses) center bottom / auto 30% repeat-x,
    linear-gradient(180deg, #0E1638 0%, #2A2463 55%, #8C3B78 84%, #E9906F 100%);
}
.still img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.still[data-shot="rule"] img { object-position: 50% 100%; } /* keep the engraved plate in frame */
.still[data-shot="night"] img { object-position: 50% 12%; } /* keep the moon */
.still[data-shot="dawn"] img { object-position: 50% 30%; } /* more sky to meet the horizon above */
.still[data-shot="wave"] { background: radial-gradient(70% 45% at 50% 100%, rgba(255, 180, 84, .5), transparent 70%), var(--houses-open) center bottom / auto 30% repeat-x, linear-gradient(180deg, #0E1638 0%, #2A2463 55%, #8C3B78 84%, #E9906F 100%); }
.still[data-shot="night"] { background: radial-gradient(circle at 78% 22%, rgba(244, 238, 226, .95) 0 22px, rgba(244, 238, 226, .12) 23px, transparent 90px), var(--stars) 0 0 / 420px repeat, var(--houses-dark) center bottom / auto 30% repeat-x, linear-gradient(180deg, #141D45 0%, #0B1130 40%, #0B1130 70%, #141D45 100%); }
.still[data-shot="dawn"] { background: var(--houses) center bottom / auto 30% repeat-x, radial-gradient(circle at 50% 92%, #FFF1D6 0 30px, rgba(255, 214, 160, .6) 31px, transparent 240px), linear-gradient(180deg, #B4437A 0%, #E57C77 35%, #FFB37A 70%, #FFD9AE 100%); }
.still-band { aspect-ratio: 16 / 10; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%); }

/* ---------- 3. One street ---------- */
.street { background: linear-gradient(180deg, #0B1229 0%, #101A3A 100%); }
.beats { list-style: none; padding: 0; margin-top: clamp(2.5rem, 6vw, 4.5rem); display: grid; gap: clamp(3.5rem, 9vw, 7.5rem); }
.beat-text { display: grid; gap: 1rem; margin-top: 1.6rem; }
.beat-n { display: flex; align-items: baseline; gap: .7rem; font: 500 .75rem/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--paper-2); }
.beat-n span { font: italic 400 2.6rem/1 var(--serif); letter-spacing: 0; color: var(--amber); }
.beat-body { display: grid; gap: .9rem; justify-items: start; }
.beat-body p { max-width: 46ch; color: var(--paper-2); font-size: 1.08rem; }
.beat-body .beat-line { font: 400 clamp(1.65rem, 1.2rem + 1.7vw, 2.55rem)/1.12 var(--serif); letter-spacing: -.012em; color: var(--paper); max-width: 22ch; text-wrap: balance; }

.doors { margin-top: clamp(4.5rem, 10vw, 8rem); }
.doors-h { font: italic 400 clamp(1.9rem, 1.35rem + 2.2vw, 3rem)/1.05 var(--serif); }
.ledger { margin-top: 1.6rem; border-top: 1px solid var(--line); }
.ledger-row { display: grid; gap: .5rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.ledger dt { font: 400 clamp(1.6rem, 1.25rem + 1.6vw, 2.5rem)/1.05 var(--serif); color: var(--coral); letter-spacing: -.01em; }
.ledger dd { color: var(--paper-2); max-width: 46ch; }
.ledger .src { display: block; margin-top: .45rem; }

.rare { margin-top: clamp(3.5rem, 8vw, 6rem); padding-top: 1.75rem; border-top: 1px solid rgba(244, 238, 226, .28); }
.rare-h { font: 500 .75rem/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--amber); }
.rare-list { list-style: none; padding: 0; margin-top: 1.1rem; display: grid; }
.rare-list li { display: grid; gap: .5rem; align-content: start; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.rare-fig { font: 400 clamp(2.1rem, 1.6rem + 1.5vw, 2.7rem)/1.05 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.rare-list p:not(.rare-fig) { color: var(--paper-2); font-size: .98rem; max-width: 36ch; }

/* ---------- 4. The Lock Check ---------- */
.lock { background: linear-gradient(180deg, #101A3A 0%, #141D45 100%); }
.lock-grid { display: grid; gap: 2rem; margin-top: clamp(2rem, 5vw, 3.25rem); }
.step + .step { margin-top: 2rem; }
.step-n { display: flex; align-items: center; gap: .8rem; font: 600 1.08rem/1.3 var(--sans); }
.step-n span { flex: none; display: grid; place-items: center; width: 1.85rem; height: 1.85rem; border: 1px solid rgba(255, 180, 84, .6); border-radius: 50%; font: 500 .78rem/1 var(--mono); color: var(--amber); }
.prompt { display: grid; gap: 1rem; justify-items: start; margin-top: .9rem; padding: 1.1rem 1.15rem; border: 1px solid rgba(255, 180, 84, .45); border-radius: 4px; background: rgba(5, 8, 18, .55); }
.prompt p { font: 400 .95rem/1.6 var(--mono); color: var(--paper); }
textarea {
  display: block; width: 100%; min-height: 11rem; margin-top: .9rem; padding: .95rem 1.05rem; resize: vertical;
  border: 1px solid rgba(244, 238, 226, .26); border-radius: 4px; background: rgba(5, 8, 18, .6); color: var(--paper);
  font: 400 1rem/1.55 var(--mono); transition: border-color .2s ease;
}
textarea::placeholder { color: rgba(201, 197, 213, .6); }
textarea:focus-visible { border-color: var(--green); outline-offset: 2px; }
.lc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.25rem; margin-top: 1rem; }
.lc-try { color: var(--paper-2); font-size: .98rem; }
.lc-try .link { color: var(--paper); }

.verdict {
  --tone: var(--paper-2); --glow: transparent;
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start;
  padding: 1.6rem 1.5rem; border: 1px solid var(--line); border-radius: 8px; background: rgba(5, 8, 18, .5);
  transition: border-color .4s ease, box-shadow .4s ease;
}
.verdict[data-state="open"] { --tone: var(--coral); --glow: rgba(255, 90, 60, .55); border-color: rgba(255, 90, 60, .55); }
.verdict[data-state="holds"] { --tone: var(--green); --glow: rgba(61, 242, 160, .5); border-color: rgba(61, 242, 160, .45); }
.verdict[data-state="unclear"] { --tone: var(--amber); --glow: rgba(255, 180, 84, .4); border-color: rgba(255, 180, 84, .4); }
.lamp { width: 56px; height: 56px; border-radius: 50%; background: radial-gradient(circle at 36% 34%, rgba(255, 255, 255, .25), transparent 40%), #1C2550; box-shadow: inset 0 0 0 1px var(--line), inset 0 -6px 12px rgba(0, 0, 0, .4); }
.verdict:not([data-state="idle"]) .lamp { background: radial-gradient(circle at 36% 34%, rgba(255, 255, 255, .7), transparent 38%), var(--tone); box-shadow: 0 0 24px 4px var(--glow), 0 0 70px 14px var(--glow); }
@media (prefers-reduced-motion: no-preference) {
  .verdict.is-fresh .lamp { animation: lamp-on .7s ease-out both; }
  .verdict.is-fresh[data-state="open"] .lamp { animation: lamp-flicker .9s steps(1, end) both; }
}
@keyframes lamp-on { from { filter: brightness(.3); transform: scale(.92); } }
@keyframes lamp-flicker { 0% { filter: brightness(.3); } 15% { filter: brightness(1.2); } 30% { filter: brightness(.4); } 45%, 100% { filter: none; } }
.v-kicker { font: 500 .75rem/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--paper-2); }
.v-word { margin: .55rem 0 .9rem; font: 400 clamp(2.3rem, 1.7rem + 2.4vw, 3.4rem)/1 var(--serif); letter-spacing: .01em; color: var(--tone); }
.verdict[data-state="idle"] .v-word { font-style: italic; font-size: 1.6rem; letter-spacing: 0; color: var(--paper); }
.v-evidence { margin-bottom: .9rem; padding: .7rem .85rem; border: 1px solid var(--tone, var(--line)); background: rgba(244, 238, 226, .05); font: 400 .86rem/1.5 var(--mono); color: var(--paper); overflow-wrap: anywhere; }
.v-reason { font-size: 1.06rem; color: var(--paper); max-width: 40ch; }
.verdict[data-state="idle"] .v-reason { color: var(--paper-2); }
.v-next { display: grid; gap: 1rem; justify-items: start; margin-top: 1.3rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.v-next p { font: italic 400 1.3rem/1.25 var(--serif); color: var(--paper); }

/* ---------- 5. The Overnight Break-In ---------- */
.night { padding-top: 0; background: linear-gradient(180deg, #141D45 0%, #171C4B 60%, #1A1E50 100%); }
.night .still-band { margin-bottom: clamp(-5rem, -7vw, -2.5rem); -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 62%, transparent 100%); }
.night .wrap { position: relative; }
.arc { list-style: none; padding: 0; margin-top: clamp(2.5rem, 6vw, 4rem); display: grid; }
.phase { position: relative; padding: 0 0 2.4rem 2rem; border-left: 1px solid rgba(244, 238, 226, .22); }
.phase:last-child { padding-bottom: 0; }
.phase::before { content: ""; position: absolute; left: -6px; top: .1rem; width: 11px; height: 11px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px 2px rgba(255, 180, 84, .5); }
.phase:nth-child(2)::before { background: var(--paper); box-shadow: 0 0 14px 3px rgba(244, 238, 226, .35); }
.phase:nth-child(3)::before { background: var(--peach); box-shadow: 0 0 14px 3px rgba(255, 179, 122, .55); }
.ph-when { font: 500 .75rem/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--amber); }
.phase:nth-child(2) .ph-when { color: var(--paper-2); }
.phase:nth-child(3) .ph-when { color: var(--peach); }
.ph-h { margin: .7rem 0 1rem; font: 400 clamp(1.55rem, 1.3rem + 1vw, 2rem)/1.12 var(--serif); }
.ph-list { list-style: none; padding: 0; }
.ph-list li { padding: .6rem 0; border-top: 1px solid var(--line); }
.ph-attackers li { font: italic 400 1.22rem/1.3 var(--serif); }
.ph-attackers li:last-child { color: var(--coral); }
.ph-deliver dt { padding-top: .75rem; border-top: 1px solid var(--line); font-weight: 600; }
.ph-deliver dt:first-child { padding-top: .6rem; }
.ph-deliver dd { margin: .2rem 0 .75rem; color: var(--paper-2); font-size: .98rem; text-wrap: pretty; }
.sample-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.sample-row span { font-size: .9rem; color: var(--paper-2); }

.versus { display: grid; gap: 1.1rem; margin-top: clamp(4rem, 9vw, 6.5rem); max-width: 52rem; }
.versus-h { font: 400 clamp(1.9rem, 1.35rem + 2.2vw, 3rem)/1.05 var(--serif); letter-spacing: -.012em; text-wrap: balance; }
.versus p { padding-left: 1.1rem; max-width: 46ch; }
.vs-scan { color: var(--paper-2); border-left: 2px solid rgba(244, 238, 226, .25); }
.vs-break { color: var(--paper); border-left: 2px solid var(--green); font-size: 1.15rem; }

.promises { margin-top: clamp(4rem, 9vw, 6.5rem); }
.promises-h { font: 500 .75rem/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--amber); }
.promise-objects { display: grid; gap: 2rem; margin-top: 1.5rem; }
.ticket {
  --stub: 58px; display: grid; grid-template-columns: 1fr var(--stub); max-width: 34rem;
  border-radius: 10px; background: var(--paper); color: var(--ink); transform: rotate(-1.4deg);
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .9);
  -webkit-mask: radial-gradient(circle at calc(100% - var(--stub)) 0, transparent 11px, #000 11.5px) top / 100% 51% no-repeat, radial-gradient(circle at calc(100% - var(--stub)) 100%, transparent 11px, #000 11.5px) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle at calc(100% - var(--stub)) 0, transparent 11px, #000 11.5px) top / 100% 51% no-repeat, radial-gradient(circle at calc(100% - var(--stub)) 100%, transparent 11px, #000 11.5px) bottom / 100% 51% no-repeat;
}
.t-main { padding: 1.5rem 1.4rem 1.4rem 1.6rem; }
.t-name { font: 600 .75rem/1 var(--mono); text-transform: uppercase; letter-spacing: .16em; color: var(--ink-2); }
.t-amount { margin: 1.35rem 0 .35rem; font: 500 clamp(4.4rem, 3.4rem + 4vw, 6.4rem)/.9 var(--serif); letter-spacing: -.04em; }
.t-terms { color: var(--ink-2); font-size: .98rem; text-wrap: balance; }
.t-letter { margin-top: .35rem; font: italic 400 1.5rem/1.2 var(--serif); }
.t-sign { width: 62%; margin-top: 1.2rem; padding-top: .35rem; border-top: 1px solid rgba(10, 16, 32, .4); }
.t-sign span { font: italic 400 1.35rem/1 var(--serif); color: #6B4A12; }
.t-stub { display: grid; place-items: center; border-left: 2px dashed rgba(10, 16, 32, .28); }
.t-stub span { writing-mode: vertical-rl; transform: rotate(180deg); font: 600 .75rem/1 var(--mono); text-transform: uppercase; letter-spacing: .22em; color: var(--ink-2); }
/* The bet's conditions, printed beside the ticket like the back of it */
.bet-terms { list-style: none; padding: 0; border-bottom: 1px solid var(--line); counter-reset: term; }
.bet-terms li { counter-increment: term; position: relative; padding: .85rem 0 .85rem 2.1rem; border-top: 1px solid var(--line); color: var(--paper-2); font-size: .98rem; line-height: 1.5; text-wrap: pretty; }
.bet-terms li::before { content: counter(term); position: absolute; left: 0; top: .78rem; font: italic 400 1.35rem/1 var(--serif); color: var(--amber); }
.bet-terms strong { color: var(--paper); font-weight: 600; }

/* If nothing opened: the letter from the film */
.held { display: grid; gap: 2.25rem; margin-top: clamp(3.5rem, 8vw, 5rem); }
.held-letter {
  justify-self: start; width: min(100%, 19rem); padding: 1.35rem 1.4rem 1.2rem; border-radius: 3px;
  background: var(--paper); color: var(--ink); transform: rotate(-1.8deg);
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(10, 16, 32, .08);
}
.hl-kicker { font: 500 .7rem/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--ink-2); }
.hl-line { margin: .8rem 0 1.6rem; font: italic 400 1.75rem/1.1 var(--serif); letter-spacing: -.01em; }
.hl-sign { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.hl-sign span:first-child { flex: 0 1 62%; padding-top: .35rem; border-top: 1px solid rgba(10, 16, 32, .4); font: italic 400 1.35rem/1 var(--serif); color: #6B4A12; }
.hl-held { padding: .3rem .55rem .25rem; border: 2px solid var(--green-ink); border-radius: 4px; font: 600 .78rem/1 var(--mono); text-transform: uppercase; letter-spacing: .16em; color: var(--green-ink); transform: rotate(-7deg); }
.held-h { font: 400 clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem)/1.08 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.held-copy p { margin-top: .8rem; max-width: 46ch; color: var(--paper-2); }

.free { display: grid; gap: 1.1rem; justify-items: start; margin-top: clamp(4.5rem, 10vw, 7.5rem); }
.free-q { font: 500 .75rem/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--amber); }
.free-a { font: 400 clamp(2.3rem, 1.4rem + 3.6vw, 4.4rem)/1.04 var(--serif); letter-spacing: -.02em; max-width: 17ch; text-wrap: balance; }
.free-a em { color: var(--brass); }
.free .btn { margin-top: .6rem; }

/* ---------- 6. How I work ---------- */
.how { background: linear-gradient(180deg, #1A1E50 0%, #221F57 100%); }
.how-grid { display: grid; gap: 3rem; }
.rules { list-style: none; padding: 0; margin-top: 2rem; border-bottom: 1px solid var(--line); }
.rules li { position: relative; padding: 1.05rem 0 1.05rem 1.9rem; border-top: 1px solid var(--line); font: 400 clamp(1.32rem, 1.1rem + .9vw, 1.8rem)/1.25 var(--serif); }
.rules li::before { content: ""; position: absolute; left: .15rem; top: calc(1.05rem + .625em - 4.5px); width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px 2px rgba(61, 242, 160, .5); }
.notfor { margin-top: 1.75rem; max-width: 50ch; color: var(--paper-2); }
.notfor strong { color: var(--paper); }
.slip-card {
  justify-self: center; display: block; width: min(100%, 290px); aspect-ratio: 8.5 / 11; padding: 1.6rem 1.4rem; border: 0; border-radius: 3px;
  background: var(--paper); color: var(--ink); text-align: left; cursor: pointer; transform: rotate(2.2deg);
  box-shadow: 0 50px 80px -45px rgba(0, 0, 0, .95), 0 0 0 1px rgba(10, 16, 32, .08); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  --focus: var(--green);
}
@media (hover: hover) { .slip-card:hover { transform: rotate(0deg) translateY(-6px); } }
.sc-title { display: block; margin-bottom: 1.1rem; font: 500 1.45rem/1 var(--serif); }
.sc-line { display: block; height: 6px; margin-top: 11px; border-radius: 3px; background: rgba(10, 16, 32, .12); }
.sc-line.short { width: 62%; }
.sc-sign { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.6rem; }
.sc-sign span { flex: 1; padding-top: .35rem; border-top: 1px solid rgba(10, 16, 32, .5); font: 400 .75rem/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.sc-cta { display: inline-block; margin-top: 1.6rem; font: 600 .95rem/1 var(--sans); text-decoration: underline; text-underline-offset: .2em; }

/* ---------- 7. The fair question ---------- */
.why { background: linear-gradient(180deg, #221F57 0%, #262160 100%); }
.reasons { list-style: none; padding: 0; margin-top: clamp(2.25rem, 5vw, 3.25rem); display: grid; counter-reset: reason; border-top: 1px solid var(--line); }
.reason { counter-increment: reason; display: grid; gap: .6rem; align-content: start; padding: 1.4rem 0 1.5rem; border-bottom: 1px solid var(--line); }
.reason::before { content: counter(reason); font: italic 400 2.6rem/1 var(--serif); color: var(--amber); }
.reason-h { font: 400 clamp(1.45rem, 1.25rem + .8vw, 1.8rem)/1.14 var(--serif); letter-spacing: -.008em; text-wrap: balance; }
.reason p { max-width: 40ch; color: var(--paper-2); font-size: 1rem; text-wrap: pretty; }

/* Same door, three rules: the check, runnable */
.wrongfix {
  --tone: var(--coral); --tone-line: rgba(255, 90, 60, .5);
  display: grid; gap: 1.25rem; margin-top: clamp(3.5rem, 8vw, 5.5rem); padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--tone-line); border-radius: 8px; background: rgba(5, 8, 18, .5); transition: border-color .4s ease;
}
.wrongfix[data-state="wrong"] { --tone: var(--amber); --tone-line: rgba(255, 180, 84, .45); }
.wrongfix[data-state="right"] { --tone: var(--green); --tone-line: rgba(61, 242, 160, .45); }
.wf-h { font: 400 clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem)/1.08 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.wf-sub { margin-top: .6rem; max-width: 40ch; color: var(--paper-2); }
.wf-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
.wf-tab {
  min-height: 52px; padding: .4rem .6rem; border: 1px solid rgba(244, 238, 226, .3); border-radius: 4px; background: transparent;
  font: 600 .9rem/1.2 var(--sans); color: var(--paper-2); cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
@media (hover: hover) { .wf-tab:hover { border-color: var(--paper); color: var(--paper); } }
.wf-tab[aria-pressed="true"] { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.wf-body { display: grid; gap: .9rem; align-content: start; min-width: 0; }
.wf-rule { display: grid; grid-template-columns: 2.6rem 1fr; gap: .4rem; align-items: baseline; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 4px; background: rgba(244, 238, 226, .03); font: 400 .86rem/1.45 var(--mono); }
.wf-tag { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--paper-2); }
.wf-rule code { color: var(--paper); overflow-wrap: anywhere; }
.wrongfix[data-state="open"] .wf-rule code { color: #FF9A82; }
.wrongfix[data-state="wrong"] .wf-rule code { color: var(--paper-2); font-style: italic; }
.wrongfix[data-state="right"] .wf-rule code { color: var(--green); }
.wf-out { margin: 0; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 4px; background: rgba(5, 8, 18, .55); font: 400 .82rem/1.75 var(--mono); color: var(--paper); white-space: pre-wrap; overflow-wrap: anywhere; }
.wf-out b { font-weight: 600; }
.wf-out .is-pass { color: var(--green); }
.wf-out .is-fail { color: var(--coral); }
.wf-note { padding-left: 1rem; border-left: 2px solid var(--tone); font: italic 400 clamp(1.2rem, 1.1rem + .4vw, 1.4rem)/1.3 var(--serif); color: var(--paper); max-width: 44ch; text-wrap: pretty; transition: border-color .4s ease; }
.wf-src { font: 400 .75rem/1.4 var(--mono); color: var(--paper-2); letter-spacing: .02em; }
.says { margin-top: clamp(3.5rem, 8vw, 5.5rem); }
.says .rare-fig { font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.4rem); }

/* Three roads out of the same morning. The sprint is the paved one. */
.roads-wrap { margin-top: clamp(4.5rem, 10vw, 7rem); }
.roads-h { font: 400 clamp(1.9rem, 1.35rem + 2.2vw, 3rem)/1.05 var(--serif); letter-spacing: -.012em; text-wrap: balance; }
.roads-lede { margin-top: .8rem; max-width: 46ch; color: var(--paper-2); }
.roads { list-style: none; padding: 0; margin-top: 2.25rem; display: grid; gap: 1.25rem; }
.road { display: flex; flex-direction: column; padding: 1.4rem 1.35rem 1.5rem; border: 1px solid rgba(244, 238, 226, .3); border-radius: 6px; background: rgba(5, 8, 18, .34); }
.road:first-child { border: 1px dashed rgba(244, 238, 226, .26); background: transparent; }
.road-name { font: 400 1.45rem/1.1 var(--serif); }
.road-price { margin-top: .5rem; font: 400 clamp(2.8rem, 2.3rem + 2vw, 3.8rem)/.95 var(--serif); letter-spacing: -.03em; }
.road:first-child .road-price { color: var(--paper-2); }
.road-line { margin-top: .9rem; font: italic 400 1.22rem/1.25 var(--serif); color: var(--paper); text-wrap: balance; }
.road-list { list-style: none; padding: 0; margin-top: 1.1rem; }
.road-list li { padding: .65rem 0; border-top: 1px solid var(--line); font-size: .95rem; line-height: 1.5; color: var(--paper-2); text-wrap: pretty; }
.road.is-main {
  --focus: var(--ink); border: 1px solid var(--brass); background: var(--paper); color: var(--ink);
  box-shadow: 0 50px 90px -45px rgba(0, 0, 0, .95), 0 0 60px -20px rgba(227, 176, 98, .3);
}
.road.is-main .road-line { color: var(--ink); }
.road.is-main .road-list li { border-top-color: var(--line-ink); color: var(--ink-2); }
.road-more { align-self: flex-start; display: inline-flex; align-items: center; min-height: 48px; margin-top: 1.25rem; padding: 0 1.15rem; border-radius: 4px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: .95rem; text-decoration: none; transition: background-color .2s ease; }
@media (hover: hover) { .road-more:hover { background: #1C2540; } }

/* ---------- 8. The Hold Sprint ---------- */
.sprint { background: linear-gradient(180deg, #262160 0%, #2D2361 100%); }
.sprint-start { margin-top: .9rem; }
.sprint-start strong { color: var(--paper); font-weight: 600; }
.sprint-grid { display: grid; gap: 2.75rem; margin-top: clamp(2rem, 5vw, 3.5rem); }
.price-fig { font: 400 clamp(4.2rem, 3rem + 5.2vw, 7.6rem)/.88 var(--serif); letter-spacing: -.035em; }
.price-terms { margin-top: .9rem; font: 600 1.15rem/1.3 var(--sans); }
.days { display: flex; gap: 7px; margin: 1rem 0 1.25rem; padding: 0; list-style: none; }
.days li { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px 1px rgba(61, 242, 160, .45); }
.price-note { max-width: 36ch; color: var(--paper-2); font-size: .98rem; text-wrap: pretty; }
.gets { display: grid; }
.gets dt { padding-top: 1.1rem; border-top: 1px solid var(--line); font: 400 1.5rem/1.15 var(--serif); text-wrap: balance; }
.gets dt:first-child { padding-top: 0; border-top: 0; }
.gets dd { margin: .3rem 0 1.1rem; color: var(--paper-2); max-width: 46ch; }
.guarantees { display: grid; gap: 1rem; margin-top: 1.5rem; }
.g { padding: 1.2rem 1.25rem; border: 1px solid rgba(227, 176, 98, .42); border-radius: 6px; background: linear-gradient(180deg, rgba(227, 176, 98, .09), rgba(227, 176, 98, .03)); }
.g-name { margin-bottom: .45rem; font: 600 .76rem/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--brass); }
.watch { margin-top: clamp(2.75rem, 6vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--line); max-width: 70ch; color: var(--paper-2); }
.watch strong { color: var(--paper); font-weight: 600; }

/* ---------- 8. Moeen ---------- */
.me { background: linear-gradient(180deg, #2D2361 0%, #3B2A6B 100%); }
.me-h { max-width: 15ch; font-size: clamp(2.5rem, 1.5rem + 4vw, 4.8rem); }
.me-p { max-width: 30ch; font: 400 clamp(1.4rem, 1.12rem + 1.2vw, 2.05rem)/1.3 var(--serif); color: var(--paper); text-wrap: pretty; }
.me-limits { margin-top: 1.5rem; max-width: 46ch; color: var(--paper-2); text-wrap: pretty; }
.me-sign { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.5rem; margin-top: 2rem; }
.sig { font: italic 400 2.1rem/1 var(--serif); color: var(--brass); }
.me-sign a { font: 400 .88rem/1 var(--mono); color: var(--paper-2); }

/* ---------- 9. Questions ---------- */
.faq {
  padding-bottom: clamp(9rem, 20vw, 15rem);
  background: linear-gradient(180deg, #3B2A6B 0%, #43296F 55%, #6C3075 84%, #B4437A 100%);
}
.faq-grid { display: grid; gap: 1.5rem; }
.faq-head h2 { max-width: 12ch; }
.faq-list { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  position: relative; display: block; padding: 1.25rem 2.6rem 1.25rem 0; cursor: pointer; list-style: none;
  font: 400 clamp(1.28rem, 1.1rem + .7vw, 1.62rem)/1.22 var(--serif); -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before { content: ""; position: absolute; right: .4rem; top: 50%; width: 15px; height: 1.5px; background: var(--paper-2); transition: transform .24s var(--ease-out); }
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0deg); }
.faq details p { padding: 0 2.6rem 1.5rem 0; max-width: 58ch; color: var(--paper-2); }
@media (hover: hover) { .faq summary:hover { color: #fff; } }

/* ---------- 10. Pick your night (dawn) ---------- */
.book {
  --focus: var(--ink); padding-top: 0; color: var(--ink);
  background: linear-gradient(180deg, #B4437A 0%, #E57C77 9%, #FFB37A 18%, #F9D3AC 32%, #F4EEE2 50%, #F4EEE2 100%);
}
.still-dawn { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 76%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 76%, transparent 100%); margin-bottom: clamp(1rem, 3vw, 2.5rem); }
.book-wrap { position: relative; }
.book-wrap > * { max-width: 62rem; }
.book .chapter { color: var(--ink-2); }
.book .chapter time { color: var(--amber-ink); }
.book .lede { color: var(--ink-2); }
.nights-field, .chips-field { margin: 0; padding: 0; border: 0; min-width: 0; }
.nights-field { margin-top: 2rem; }
legend, .field > label { display: block; padding: 0; margin-bottom: .6rem; font: 600 1rem/1.3 var(--sans); }
.nights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.night-opt { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.night-opt input, .chips input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.n-card { display: grid; gap: .3rem; padding: .95rem 1rem 1rem; border: 1.5px solid rgba(10, 16, 32, .2); border-radius: 8px; background: rgba(255, 253, 248, .7); transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.n-day { font: 500 .7rem/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); }
.n-date { font: 400 1.75rem/1 var(--serif); letter-spacing: -.01em; }
.n-status { display: flex; align-items: center; gap: .45rem; margin-top: .2rem; font-size: .86rem; color: var(--ink-2); }
.n-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-ink); }
@media (hover: hover) { .night-opt:hover .n-card { border-color: rgba(10, 16, 32, .5); } }
.night-opt input:checked + .n-card { background: var(--ink); border-color: var(--ink); color: var(--paper); box-shadow: 0 16px 30px -18px rgba(10, 16, 32, .8); }
.night-opt input:checked + .n-card .n-day, .night-opt input:checked + .n-card .n-status { color: var(--paper-2); }
.night-opt input:checked + .n-card .n-status::before { background: var(--green); box-shadow: 0 0 8px 2px rgba(61, 242, 160, .6); }
.night-opt input:focus-visible + .n-card { outline: 3px solid var(--ink); outline-offset: 3px; }
.night-opt.is-taken { cursor: not-allowed; }
.night-opt.is-taken .n-card { background: transparent; border-style: dashed; color: rgba(10, 16, 32, .45); }
.night-opt.is-taken .n-status::before { background: rgba(10, 16, 32, .3); }
.reminder { margin-top: 2rem; padding: 1.25rem 1.4rem; border: 1px solid var(--coral-ink); border-radius: 4px; background: rgba(255, 253, 248, .75); }
.reminder-h { margin-bottom: .5rem; font: 400 1.45rem/1.2 var(--serif); }
.reminder p:not(.reminder-h) { color: var(--ink-2); max-width: 60ch; }
.reminder a { color: var(--ink); font-weight: 600; }
.fields { display: grid; gap: 1.6rem; margin-top: 2rem; }
.fields .field input { max-width: 34rem; }
input[type="text"], input[type="email"] {
  display: block; width: 100%; min-height: 54px; padding: 0 1rem; border: 1.5px solid rgba(10, 16, 32, .28); border-radius: 6px;
  background: #FFFDF8; color: var(--ink); font: 400 1.06rem/1.2 var(--sans); transition: border-color .2s ease;
}
input::placeholder { color: rgba(71, 75, 92, .92); }
input[type="text"]:focus-visible, input[type="email"]:focus-visible { border-color: var(--ink); outline-offset: 2px; }
[aria-invalid="true"] { border-color: var(--coral-ink) !important; }
.err { margin-top: .45rem; font-size: .92rem; font-weight: 600; color: var(--coral-ink); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips label { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.chips span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 1rem; border: 1.5px solid rgba(10, 16, 32, .24); border-radius: 6px; background: rgba(255, 253, 248, .7); font-weight: 500; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
@media (hover: hover) { .chips label:hover span { border-color: rgba(10, 16, 32, .55); } }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chips input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.chips-field.is-invalid .chips span { border-color: rgba(179, 47, 23, .6); }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: 2.2rem; }
.submit-row .btn { width: 100%; }
.submit-note { color: var(--ink-2); font-size: .95rem; }

.confirm { padding-top: 1rem; }
.confirm:focus { outline: none; }
.confirm h2 { max-width: 20ch; }
.confirm .lede strong { color: var(--ink); overflow-wrap: anywhere; }
.confirm > .btn { margin-top: 1.75rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.sent-warn { margin-top: 1.25rem; padding: .9rem 1.1rem; border: 1px solid var(--coral-ink); background: rgba(179, 47, 23, .07); max-width: 60ch; }
.sent-warn a { font-weight: 600; }
.next { list-style: none; padding: 0; margin-top: 2.5rem; counter-reset: next; border-bottom: 1px solid var(--line-ink); }
.next > li { counter-increment: next; position: relative; display: grid; gap: .5rem; padding: 1.6rem 0 1.6rem 3.25rem; border-top: 1px solid var(--line-ink); }
.next > li::before { content: counter(next); position: absolute; left: 0; top: 1.25rem; font: italic 400 2.4rem/1 var(--serif); color: var(--amber-ink); }
.next h3 { font: 400 1.55rem/1.15 var(--serif); }
.next p { color: var(--ink-2); max-width: 54ch; }
.next strong { color: var(--ink); overflow-wrap: anywhere; }
.sign { margin-top: .5rem; max-width: 30rem; }
.sign label { display: block; margin-bottom: .45rem; font-weight: 600; font-size: .95rem; }
.sign-row { display: flex; gap: .5rem; }
.sign-row input { flex: 1; min-width: 0; }
.sign-row .btn { min-height: 54px; }
.sign-status { margin-top: .5rem; font-size: .95rem; color: var(--green-ink); font-weight: 600; }
.sign-status.is-err { color: var(--coral-ink); }
.slip-links { display: flex; gap: 1.25rem; font-weight: 600; }

/* ---------- Footer ---------- */
.foot { --focus: var(--ink); padding: clamp(4rem, 10vw, 7rem) 0 calc(2.5rem + env(safe-area-inset-bottom)); background: var(--paper); color: var(--ink); border-top: 1px solid var(--line-ink); }
.foot-line { font: 400 clamp(2.5rem, 1.3rem + 5vw, 5.6rem)/.98 var(--serif); letter-spacing: -.028em; max-width: 14ch; }
.foot-line em { display: block; font-weight: 350; } /* break where the film breaks it, not mid-phrase */
.foot-row { display: flex; flex-wrap: wrap; gap: .8rem 1.75rem; margin-top: 2.25rem; font-size: .98rem; }
.foot-row a, .foot-row .link { color: var(--ink); }
.foot-note { margin-top: 1.5rem; font-size: .88rem; color: var(--ink-2); }

/* ---------- Permission slip dialog ---------- */
.slip { --focus: var(--ink); width: min(680px, calc(100% - 20px)); max-height: calc(100dvh - 20px); padding: 0; border: 0; background: transparent; color: var(--ink); overflow: visible; }
.slip::backdrop { background: rgba(5, 8, 18, .78); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.slip-paper { max-height: calc(100dvh - 100px); overflow-y: auto; padding: clamp(1.5rem, 5vw, 3rem); border-radius: 4px; background: var(--paper); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9); }
.slip-paper h1 { font: 400 clamp(1.8rem, 1.4rem + 1.6vw, 2.4rem)/1.05 var(--serif); letter-spacing: -.015em; margin: .5rem 0 1.25rem; }
.slip-paper .s-kicker { font: 500 .7rem/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--ink-2); }
.slip-paper p, .slip-paper li { font-size: .98rem; line-height: 1.55; }
.slip-paper > * + * { margin-top: .8rem; }
.slip-paper > h1 { margin-top: .5rem; }
.slip-paper ul { padding-left: 1.1rem; }
.slip-paper .s-fill { font-weight: 600; border-bottom: 1px solid rgba(10, 16, 32, .35); overflow-wrap: anywhere; }
.slip-paper .s-sigs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.slip-paper .s-sig { padding-top: .4rem; border-top: 1px solid var(--ink); font: 400 .75rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.slip-paper .s-sig b { display: block; min-height: 1.6rem; margin-top: -2rem; margin-bottom: .55rem; font: italic 400 1.4rem/1 var(--serif); text-transform: none; letter-spacing: 0; color: var(--ink); }
.slip-actions { --focus: var(--green); display: flex; justify-content: flex-end; gap: .5rem; padding-top: .7rem; }

/* ---------- A sample morning: the 9 a.m. email on paper ---------- */
.sample { width: min(720px, calc(100% - 20px)); }
.sample-paper > .sm-from { margin-top: .5rem; font-size: .9rem; color: var(--ink-2); }
.sample-paper .sm-meta { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line-ink); font: 400 .78rem/1.3 var(--mono); color: var(--ink-2); }
.sample-paper > h1 { margin-top: 1rem; text-wrap: balance; }
.sample-paper > .sm-block { margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--line-ink); }
.sample-paper .sm-block > * + * { margin-top: .7rem; }
.sample-paper .sm-label { font: 500 .7rem/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--amber-ink); }
.sample-paper .sm-big { font: 400 clamp(1.4rem, 1.2rem + .8vw, 1.75rem)/1.2 var(--serif); letter-spacing: -.01em; }
.sm-verdict em { color: var(--coral-ink); }
.sample-paper .sm-film { display: flex; align-items: flex-start; gap: .9rem; }
.sm-play { flex: none; position: relative; width: 40px; height: 40px; margin-top: .1rem; border-radius: 50%; background: var(--ink); }
.sm-play::after { content: ""; position: absolute; left: 54%; top: 50%; width: 12px; height: 14px; transform: translate(-50%, -50%); background: var(--paper); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.sm-hole { padding: 1rem 1.1rem 1.1rem; border: 1px solid rgba(179, 47, 23, .35); border-radius: 4px; background: rgba(179, 47, 23, .045); }
.sample-paper .sm-hole-h { display: flex; align-items: baseline; gap: .65rem; font-weight: 600; font-size: 1.02rem; }
.sm-n { flex: none; display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border: 1px solid var(--coral-ink); border-radius: 50%; font: 500 .75rem/1 var(--mono); color: var(--coral-ink); transform: translateY(-.1rem); }
.sm-facts { display: grid; gap: .2rem; margin-top: .8rem; }
.sm-facts dt { margin-top: .55rem; font: 500 .7rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.sm-facts dd { font-size: .95rem; line-height: 1.5; }
.sm-facts code { display: block; padding: .55rem .7rem; border-radius: 3px; background: rgba(10, 16, 32, .06); font: 400 .82rem/1.5 var(--mono); overflow-wrap: anywhere; }
.sample-paper .sm-held { color: var(--ink-2); }
.sm-held b { color: var(--ink); }
.sample-paper .sm-roads { color: var(--ink-2); font-size: .92rem; }
.sample-paper > .sm-sign { margin-top: 1.6rem; font: italic 400 1.6rem/1 var(--serif); color: #6B4A12; }
@media (min-width: 560px) {
  .sm-facts { grid-template-columns: 10.5rem minmax(0, 1fr); column-gap: 1rem; row-gap: .55rem; }
  .sm-facts dt { margin-top: .2rem; }
}

/* ---------- Wider screens ---------- */
@media (min-width: 560px) {
  .hero-actions { display: flex; flex-wrap: wrap; }
  .key-controls > .btn, .submit-row .btn { width: auto; }
  .film { margin-inline: 0; }
  .film-frame { border-radius: 6px; }
  .still-band, .beat .still { aspect-ratio: 16 / 9; }
}
@media (min-width: 720px) {
  :root { --gutter: 40px; }
  .wm-tag { display: inline; }
  .nights { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rare-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rare-list li { padding: .25rem 1.75rem 0; border-bottom: 0; border-left: 1px solid var(--line); }
  .rare-list li:first-child { padding-left: 0; border-left: 0; }
  /* four pieces of evidence sit two by two */
  .says .rare-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .says .rare-list li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .says .rare-list p:not(.rare-fig) { max-width: 46ch; }
  .ledger-row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem; align-items: baseline; }
  .promise-objects { grid-template-columns: minmax(0, 32rem) minmax(0, 1fr); align-items: center; gap: clamp(3rem, 6vw, 6rem); }
  .bet-terms { max-width: 40rem; }
  .g { display: grid; grid-template-columns: 14.5rem minmax(0, 1fr); gap: 1.25rem; align-items: baseline; }
  .g-name { margin-bottom: 0; line-height: 1.35; }
  .held { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(2.5rem, 6vw, 5rem); }
  .bet-terms { align-self: center; }
  .prompt { grid-template-columns: 1fr auto; align-items: start; }
}
@media (min-width: 960px) {
  body { font-size: 1.1rem; }
  .moon { display: block; position: absolute; top: clamp(3rem, 6vw, 5.5rem); right: max(var(--gutter), calc((100% - 1240px) / 2)); width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 38% 36%, #FFFAF0 0%, #EEE4CF 55%, #CDBF9F 100%); box-shadow: 0 0 40px 6px rgba(244, 238, 226, .14), 0 0 140px 40px rgba(194, 71, 122, .07); }
  .hero-grid {
    grid-template-columns: minmax(0, 8.2fr) minmax(0, 3.8fr); column-gap: clamp(2rem, 3.5vw, 3.5rem); row-gap: 0;
    grid-template-areas: "h1 h1" "film sub" "film act" "film avail" "terms avail"; grid-template-rows: auto 1fr auto auto auto;
  }
  h1 { grid-area: h1; margin: .3em 0 .6em; font-size: clamp(3.2rem, 4.3vw, 4.35rem); }
  .hero-sub { grid-area: sub; align-self: end; }
  .film { grid-area: film; margin-top: 0; }
  .hero-actions { grid-area: act; display: grid; margin-top: 1.6rem; }
  .hero-avail { grid-area: avail; margin-top: 1.25rem; font-size: .95rem; }
  .hero-terms { grid-area: terms; margin-top: 1.1rem; max-width: 72ch; }
  .reasons { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0; }
  .reason { padding: .25rem 1.75rem 0; border-bottom: 0; border-left: 1px solid var(--line); }
  .reason:first-child { padding-left: 0; border-left: 0; }
  .wrongfix { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "head body" "tabs body" "tabs src"; grid-template-rows: auto auto 1fr; column-gap: clamp(2rem, 4vw, 3.5rem); row-gap: 1.5rem; }
  .wf-head { grid-area: head; }
  .wf-tabs { grid-area: tabs; align-content: start; }
  .wf-body { grid-area: body; }
  .wf-src { grid-area: src; align-self: start; }
  .roads { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); align-items: stretch; gap: 1.5rem; }
  .road.is-main { margin-block: -1rem; padding: 1.9rem 1.7rem 1.9rem; }
  .road.is-main .road-price { font-size: clamp(3.6rem, 4.6vw, 4.6rem); }
  .price { position: sticky; top: 100px; align-self: start; }
  .key-grid { grid-template-columns: minmax(0, 1fr) 360px; grid-template-areas: "copy phone" "controls phone"; grid-template-rows: auto 1fr; column-gap: clamp(3rem, 7vw, 7rem); row-gap: 2.25rem; }
  .key-copy { grid-area: copy; }
  .phone { grid-area: phone; width: 360px; height: 640px; align-self: start; }
  .key-controls { grid-area: controls; }
  .beat .still { aspect-ratio: 2.2 / 1; }
  .beat-text { grid-template-columns: 15rem minmax(0, 1fr); gap: 2rem; margin-top: 2rem; }
  .beat-n { padding-top: .5rem; }
  .lock-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
  .verdict { position: sticky; top: 90px; grid-template-columns: 1fr; padding: 2rem; }
  .still-band { aspect-ratio: 2.6 / 1; }
  /* The night as one arc: dusk dot on the left foot, the moon at the top, morning on the right foot. */
  .arc { position: relative; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(2rem, 4vw, 3.5rem); padding-top: 6.5rem; }
  .arc::before { content: ""; position: absolute; left: 5.5px; right: 5.5px; top: 1.2rem; height: 4.3rem; border: 1px solid rgba(244, 238, 226, .24); border-bottom: 0; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
  .phase { padding: 0; border-left: 0; }
  .phase::before { left: 0; top: calc(-1rem - 5.5px); }
  .phase:nth-child(2)::before { left: 50%; top: calc(-5.3rem - 13px); width: 26px; height: 26px; margin-left: -13px; background: radial-gradient(circle at 38% 36%, #FFFAF0, #D9CDB2); }
  .phase:nth-child(3)::before { left: auto; right: 0; }
  .how-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: center; gap: clamp(3rem, 7vw, 6rem); }
  .slip-card { width: 300px; }
  .sprint-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 7vw, 6rem); }
  .me-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "ch ch" "h body"; column-gap: clamp(3rem, 6vw, 6rem); grid-template-rows: auto 1fr; }
  .me-wrap .chapter { grid-area: ch; }
  .me-h { grid-area: h; margin-bottom: 0; }
  .me-body { grid-area: body; align-self: end; padding-bottom: .4rem; }
  .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(3rem, 6vw, 5.5rem); }
  .faq-head { position: sticky; top: 100px; align-self: start; }
  .faq-head h2 { margin-top: .4em; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticket, .held-letter, .slip-card, .hl-held { transform: none; }
}
@media print {
  body::after, .bar, .skip { display: none; }
}

/* Sprint: why it is work, and what done looks like */
.sprint-why { margin-top: 1.1rem; max-width: 62ch; color: var(--paper-2); }
.proof-run { margin-top: 1.75rem; }
.proof-run figcaption { max-width: 52ch; font-size: .95rem; color: var(--paper-2); }
.proof-run pre { margin: .8rem 0 0; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 4px; background: rgba(5, 8, 18, .55); font: 400 .82rem/1.75 var(--mono); color: var(--paper); white-space: pre-wrap; overflow-wrap: anywhere; }
.proof-run pre b { font-weight: 600; color: var(--green); }

/* The sample Hold Letter reuses the sample-morning paper. Its questions read as sentences, not labels. */
.sample-paper .sm-letter-sign { margin-top: 1.2rem; font: italic 400 1.6rem/1 var(--serif); color: #6B4A12; }
.sm-qa { display: grid; gap: .15rem; }
.sm-qa dt { margin-top: .7rem; font-weight: 600; font-size: .98rem; line-height: 1.4; }
.sm-qa dt:first-child { margin-top: 0; }
.sm-qa dd { font-size: .95rem; line-height: 1.5; color: var(--ink-2); }
.sample-paper .sm-hole + .sm-hole { margin-top: .9rem; }
.sample-paper .sm-big.sm-alt { margin-top: 1.3rem; }


/* ---------- Finish: one motion language. Fast out, a quick press, no hover effects on touch. ---------- */
/* Small mono labels: 12px to 13px keeps the voice and reads at arm's length. */
.chapter, .src, .wf-src, .beat-n, .rare-h, .promises-h, .free-q, .ph-when, .v-kicker, .hl-kicker, .t-name, .fp-meta { font-size: .8125rem; }

a, .link { transition: color .18s ease, text-decoration-color .18s ease; }
.wm-name { transition: color .18s ease; }
.btn-key::before { transition: transform .22s var(--ease-out); }
.n-card { transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .2s ease, transform .14s var(--ease-out); }
.chips span, .wf-tab { transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .14s var(--ease-out); }
.road-more { transition: background-color .18s ease, transform .14s var(--ease-out); }
.faq summary { transition: color .18s ease; }
textarea, input[type="text"], input[type="email"] { transition: border-color .18s ease, background-color .18s ease; }

/* Press: every control answers the finger. */
.chips label:active span, .wf-tab:active, .road-more:active { transform: scale(.97); }
.night-opt:not(.is-taken):active .n-card { transform: scale(.985); }
.slip-card:active { transform: rotate(0deg) scale(.985); }
.film-play:active .fp-dot { transform: scale(.96); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); }
  .btn:active { transform: scale(.97); }
  .btn-key:hover::before { transform: translateX(3px); }
  .btn-brass:hover { box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 235, 184, .3), 0 0 28px -6px rgba(227, 176, 98, .6); }
  .btn-coral:hover { box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .8), 0 0 28px -6px rgba(255, 90, 60, .65); }
  .bar.is-dawn .btn-brass:hover { background: #1C2540; box-shadow: none; }
  .wordmark:hover .wm-name { color: var(--brass); }
  .bar.is-dawn .wordmark:hover .wm-name { color: var(--amber-ink); }
  .link:hover, .hero-terms a:hover, .me-sign a:hover { color: var(--brass); }
  .book .link:hover, .foot .link:hover, .foot-row a:hover, .reminder a:hover, .sent-warn a:hover, .slip-links .link:hover { color: var(--amber-ink); }
  .night-opt:not(.is-taken):hover input:not(:checked) + .n-card { transform: translateY(-2px); box-shadow: 0 12px 22px -16px rgba(10, 16, 32, .55); }
  .chips label:hover input:not(:checked) + span { background: rgba(255, 253, 248, .96); }
  textarea:hover:not(:focus) { border-color: rgba(244, 238, 226, .45); }
  input[type="text"]:hover:not(:focus), input[type="email"]:hover:not(:focus) { border-color: rgba(10, 16, 32, .5); }
  .film-frame:has(.film-play:not([hidden]):hover) video { transform: scale(1.015); }
}

/* The film: the play label holds on any frame behind it. */
.film-frame video { transition: transform .7s var(--ease-out); }
.fp-label, .fp-meta { text-shadow: 0 1px 14px rgba(7, 11, 26, .9), 0 0 2px rgba(7, 11, 26, .6); }
.fp-meta { color: var(--paper); }
.fp-dot { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

/* Dawn: warm the sky where the render lands grey, so it meets the peach of the page. */
.still[data-shot="dawn"]::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(194, 71, 122, .4) 0%, rgba(255, 179, 122, .55) 38%, rgba(255, 179, 122, .12) 58%, transparent 70%); mix-blend-mode: soft-light; }

/* Answers open at the speed they are asked. Browsers without this simply open at once. */
@supports (interpolate-size: allow-keywords) {
  .faq details { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; opacity: 0; transition: height .26s var(--ease-out), opacity .2s ease, content-visibility .26s allow-discrete; }
  .faq details[open]::details-content { height: auto; opacity: 1; }
}

/* Paper dialogs: lift in, leave faster than they came. */
.slip { opacity: 0; transform: translateY(8px) scale(.985); transition: opacity .14s ease, transform .14s ease, overlay .14s allow-discrete, display .14s allow-discrete; }
.slip[open] { opacity: 1; transform: none; transition: opacity .2s ease, transform .28s var(--ease-out), overlay .14s allow-discrete, display .14s allow-discrete; }
.slip::backdrop { opacity: 0; transition: opacity .14s ease, overlay .14s allow-discrete, display .14s allow-discrete; }
.slip[open]::backdrop { opacity: 1; transition-duration: .22s; }
@starting-style {
  .slip[open] { opacity: 0; transform: translateY(8px) scale(.985); }
  .slip[open]::backdrop { opacity: 0; }
}

/* Arrivals. `translate` and `scale` are separate properties, so tilted paper keeps its tilt. */
@keyframes rise { from { opacity: 0; translate: 0 14px; } }
@keyframes settle { from { scale: 1.035; } }
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero-sub, .film, .hero-actions, .hero-avail, .hero-terms { animation: rise .7s var(--ease-out) both; }
  .hero-sub { animation-delay: 60ms; }
  .film { animation-delay: 120ms; }
  .hero-actions { animation-delay: 180ms; }
  .hero-avail, .hero-terms { animation-delay: 240ms; }
  .js-rv .rv:not(.in) { opacity: 0; }
  .rv.in { animation: rise .65s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }
  .still.rv.in img { animation: settle 1.2s var(--ease-out) both; }
  .key-after:not([hidden]), .confirm:not([hidden]) { animation: rise .45s var(--ease-out) both; }
}
@media print { .rv { opacity: 1 !important; animation: none !important; } }
