/* =========================================================
   Seriously Funny Productions — style
   ========================================================= */
:root {
  --ink: #0d0c0b;
  --ink-2: #171513;
  --ink-3: #24211d;
  --paper: #f3ead7;
  --paper-2: #e8dcc2;
  --red: #ff3b2f;
  --red-deep: #c4201a;
  --mustard: #ffc53d;
  --amber: #ffb000;
  --green: #44f29a;
  --pink: #ff5fa2;
  --sepia: #c9a46a;
  --muted: rgba(243, 234, 215, .62);
  --line: rgba(243, 234, 215, .14);

  --f-serif: "Instrument Serif", Georgia, serif;
  --f-sans: "Bricolage Grotesque", system-ui, sans-serif;
  --f-mono: "Space Mono", ui-monospace, monospace;
  --f-deco: "Limelight", "Instrument Serif", serif;
  --f-toon: "Luckiest Guy", "Bricolage Grotesque", sans-serif;
  --f-hand: "Caveat", cursive;

  --gutter: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --f: .45;               /* funny level 0..1, set by JS */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-sans);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--red); color: var(--paper); }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--mustard); color: var(--ink); padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}
.h2 {
  font-family: var(--f-sans);
  font-weight: 800;
  font-variation-settings: "wdth" 75;
  font-size: clamp(48px, 9vw, 150px);
  line-height: .86;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin: 0;
}

/* film grain */
.grain {
  position: absolute; inset: -50%;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .08;
  animation: grain 1s steps(6) infinite;
  z-index: 1;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-5%, 3%); } 40% { transform: translate(3%, -6%); }
  60% { transform: translate(-7%, -2%); } 80% { transform: translate(6%, 5%); } 100% { transform: translate(0, 0); }
}

/* ---------------- LOADER ---------------- */
.loader {
  position: fixed; inset: 0; z-index: 900;
  background: #1a1815;
  display: grid; place-items: center; align-content: center; gap: 28px;
  overflow: hidden;
}
.loader__leader { position: relative; width: min(62vmin, 420px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #2b2722; }
.loader__sweep {
  position: absolute; inset: 0;
  background: conic-gradient(from 0deg, rgba(243,234,215,.55) 0deg, rgba(243,234,215,.55) var(--sweep, 0deg), transparent var(--sweep, 0deg));
}
.loader__cross { position: absolute; inset: 0; width: 100%; height: 100%; }
.loader__cross circle, .loader__cross line { fill: none; stroke: var(--paper); stroke-width: 3; opacity: .85; }
.loader__num {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--f-sans); font-weight: 800; font-size: min(36vmin, 240px); line-height: 1; color: var(--paper);
}
.loader__line { font-family: var(--f-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0; min-height: 1.4em; text-align: center; padding: 0 16px; }

/* ---------------- CURSOR ---------------- */
.cursor { position: fixed; inset: 0 auto auto 0; z-index: 950; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor canvas, .has-cursor [role="slider"] { cursor: none; }
.cursor__dot { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff8a7f, var(--red) 45%, var(--red-deep)); box-shadow: 0 2px 8px rgba(255, 59, 47, .5); }
.cursor__ring {
  position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  border: 1.5px solid rgba(243, 234, 215, .5);
  display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
}
.cursor.is-hover .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--mustard); border-color: var(--mustard); mix-blend-mode: normal; }
.cursor.is-hover .cursor__dot { opacity: 0; }
.cursor__label { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); opacity: 0; transform: scale(.6); transition: opacity .25s, transform .35s var(--ease); white-space: nowrap; }
.cursor.is-hover .cursor__label { opacity: 1; transform: scale(1); }
.cursor.is-down .cursor__dot { transform: scale(1.8); }

/* click onomatopoeia */
.fx-layer { position: fixed; inset: 0; pointer-events: none; z-index: 940; overflow: hidden; }
.pow {
  position: absolute; left: 0; top: 0;
  font-family: var(--f-toon); font-size: 34px; line-height: 1;
  color: var(--mustard); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill;
  text-shadow: 3px 3px 0 var(--red);
  white-space: nowrap; will-change: transform, opacity;
}
.flyitem { position: absolute; left: 0; top: 0; font-family: var(--f-toon); color: var(--ink); background: var(--paper); border: 3px solid var(--ink); border-radius: 14px; padding: 6px 12px; font-size: 18px; box-shadow: 4px 4px 0 var(--ink); white-space: nowrap; }
.flyitem b { font-size: 30px; display: block; text-align: center; line-height: 1.1; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 960; transform: translate(-50%, calc(100% + 60px)); visibility: hidden;
  background: var(--mustard); color: var(--ink); border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  font-family: var(--f-sans); font-weight: 700; padding: 12px 20px; border-radius: 12px; max-width: calc(100vw - 32px); text-align: center;
  transition: transform .5s var(--ease), visibility 0s .5s;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease), visibility 0s; }

/* ---------------- NAV ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  display: flex; align-items: center; gap: 18px;
  padding: 14px var(--gutter);
  transition: transform .5s var(--ease), background .4s;
}
.nav.is-scrolled { background: rgba(13, 12, 11, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.nose { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #ff9d93 0 10%, var(--red) 40%, var(--red-deep) 100%); box-shadow: 0 3px 10px rgba(255, 59, 47, .45); flex: none; transition: transform .4s var(--ease); }
.nav__logo:hover .nose { transform: scale(1.25) rotate(-10deg); }
.nav__word { font-family: var(--f-serif); font-size: 22px; line-height: 1; letter-spacing: -.01em; }
.nav__word em { font-family: var(--f-sans); font-style: normal; font-weight: 800; margin-left: 6px; text-transform: uppercase; font-size: 15px; letter-spacing: .06em; color: var(--mustard); }
.nav__links { display: flex; gap: 4px; }
.nav__links a { text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 99px; transition: background .25s, color .25s; }
.nav__links a:hover { background: rgba(243, 234, 215, .1); }
.nav__links .nav__cta { background: var(--paper); color: var(--ink); }
.nav__links .nav__cta:hover { background: var(--mustard); }

.seatbelt { display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 6px; border: 1px solid var(--line); color: rgba(243,234,215,.3); transition: color .2s, border-color .2s, box-shadow .2s, background .2s; }
.seatbelt svg { width: 16px; height: 16px; fill: currentColor; }
.seatbelt .belt { stroke: currentColor; stroke-width: 2; fill: none; }
.seatbelt.is-on { color: var(--ink); background: var(--amber); border-color: var(--amber); box-shadow: 0 0 20px rgba(255, 176, 0, .55); }

.sfx { display: flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--line); border-radius: 99px; padding: 7px 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.sfx__bars { display: flex; gap: 2px; align-items: flex-end; height: 12px; }
.sfx__bars i { width: 2px; height: 3px; background: currentColor; border-radius: 1px; }
.sfx[aria-pressed="true"] { border-color: var(--mustard); color: var(--mustard); }
.sfx[aria-pressed="true"] .sfx__bars i { animation: bars .9s ease-in-out infinite; }
.sfx[aria-pressed="true"] .sfx__bars i:nth-child(2) { animation-delay: -.3s; }
.sfx[aria-pressed="true"] .sfx__bars i:nth-child(3) { animation-delay: -.6s; }
.sfx[aria-pressed="true"] .sfx__bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes bars { 0%, 100% { height: 3px; } 50% { height: 12px; } }

/* ---------------- HERO ---------------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: 1.25fr .9fr; gap: 24px; align-items: center;
  padding: 110px var(--gutter) 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero__spot {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px circle at var(--mx, 70%) var(--my, 40%), rgba(255, 197, 61, calc(.06 + var(--f) * .12)), transparent 60%),
    radial-gradient(1200px 600px at 50% 120%, rgba(255, 59, 47, .12), transparent 60%);
}
.hero__eyebrow { display: flex; align-items: center; gap: 10px; }
.rec { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: rec 1.4s steps(2) infinite; }
@keyframes rec { 50% { opacity: .15; } }

.hero__title { margin: 0 0 28px; line-height: .82; display: flex; flex-direction: column; }
.hero__serious { position: relative; display: inline-block; align-self: flex-start; }
.hero__serious-word {
  font-family: var(--f-serif); font-weight: 400; font-style: italic;
  font-size: clamp(64px, 11.5vw, 200px); letter-spacing: -.03em; display: block;
}
.scribble { position: absolute; left: -2%; top: 18%; width: 104%; height: 70%; pointer-events: none; overflow: visible; }
.scribble path { fill: none; stroke: var(--red); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset .8s var(--ease); vector-effect: non-scaling-stroke; }
.is-eleven .scribble path { stroke-dashoffset: 0; }
.hero__funny {
  font-family: var(--f-sans); font-weight: 800; text-transform: uppercase;
  font-variation-settings: "wdth" 75, "opsz" 96;
  font-size: clamp(96px, 19vw, 330px); letter-spacing: -.03em; line-height: .8;
  color: var(--mustard);
  display: inline-flex;
}
.hero__funny .ch { display: inline-block; transform-origin: 50% 90%; will-change: transform; }
.hero__funny .ch:hover { color: var(--red); }

.hero__dialogue { margin: 0 0 20px; }
.sub { font-family: var(--f-mono); font-size: clamp(14px, 1.2vw, 17px); margin: 0 0 6px; display: inline-block; background: rgba(0,0,0,.55); padding: 4px 10px; color: #fff; }
.sub--b { display: table; color: var(--mustard); }
.sub__who { opacity: .55; margin-right: 6px; }
.cite { font-family: var(--f-serif); font-style: italic; color: var(--muted); margin: 10px 0 0; font-size: 16px; }
.hero__lede { max-width: 32em; font-size: clamp(17px, 1.4vw, 21px); color: rgba(243,234,215,.85); margin: 0; }

.hero__stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.clapper { width: 100%; max-width: 560px; aspect-ratio: 1.1; display: block; touch-action: pan-y; }
.clapper.is-fallback { display: none; }
.clapper__hint { font-family: var(--f-hand); font-size: 22px; color: var(--muted); margin: -24px 0 6px; transform: rotate(-3deg); }

/* amp knob */
.amp { display: flex; flex-direction: column; align-items: center; }
.amp__plate {
  display: flex; align-items: center; gap: 22px;
  background: linear-gradient(180deg, #2a2621, #15130f);
  border: 1px solid #3d3830; border-radius: 16px;
  padding: 16px 24px 16px 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 40px rgba(0,0,0,.45);
  position: relative;
}
.amp__plate::before { content: ""; position: absolute; inset: 6px; border-radius: 11px; background: repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 2px, transparent 2px 5px); pointer-events: none; }
.amp__brand { position: absolute; top: -10px; left: 18px; font-family: var(--f-serif); font-style: italic; font-size: 17px; background: var(--ink); padding: 0 8px; color: var(--mustard); }
.knob { position: relative; width: 120px; height: 120px; border-radius: 50%; touch-action: none; user-select: none; }
.knob__ticks { position: absolute; inset: 0; }
.knob__ticks span {
  position: absolute; left: 50%; top: 50%; width: 22px; margin-left: -11px; text-align: center;
  font-family: var(--f-mono); font-size: 10px; color: var(--muted); line-height: 1;
}
.knob__ticks span.is-active { color: var(--mustard); }
.knob__ticks span.is-eleven { color: var(--red); font-weight: 700; }
.knob__cap {
  position: absolute; inset: 22px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #4a4540, #121110 70%);
  box-shadow: 0 6px 14px rgba(0,0,0,.6), inset 0 2px 2px rgba(255,255,255,.12), 0 0 0 3px #0b0a09, 0 0 0 4px #3d3830;
  transform: rotate(var(--rot, 0deg));
}
.knob__cap::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: repeating-conic-gradient(rgba(255,255,255,.05) 0 4deg, transparent 4deg 8deg); }
.knob__pointer { position: absolute; left: 50%; top: 6px; width: 4px; height: 18px; margin-left: -2px; border-radius: 2px; background: var(--paper); z-index: 1; }
.amp__read { display: flex; flex-direction: column; width: 128px; }
.amp__num { font-family: var(--f-sans); font-weight: 800; font-size: 54px; line-height: .9; color: var(--mustard); font-variant-numeric: tabular-nums; }
.is-eleven .amp__num { color: var(--red); }
.amp__label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.amp__note { font-size: 13px; color: var(--muted); margin: 12px 0 0; }

.scrollcue { position: absolute; left: var(--gutter); bottom: 22px; display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.scrollcue i { width: 1px; height: 36px; background: linear-gradient(var(--paper), transparent); animation: cue 1.6s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* level-driven moods */
.is-serious .hero__funny { color: var(--paper); }
.is-serious .chapter img { filter: grayscale(1) contrast(1.05); }

/* ---------------- MARQUEE ---------------- */
.marquee { background: var(--mustard); color: var(--ink); overflow: hidden; border-block: 2px solid var(--ink); transform: rotate(-1.5deg) scale(1.02); margin: 0 0 40px; position: relative; z-index: 2; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; padding: 14px 0; flex: none; }
.marquee span { font-family: var(--f-serif); font-size: clamp(22px, 2.4vw, 34px); white-space: nowrap; padding: 0 22px; }
.marquee b { font-family: var(--f-mono); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; vertical-align: middle; margin-left: 6px; }
.marquee i { font-style: normal; color: var(--red); font-size: 22px; }

/* ---------------- MANIFESTO ---------------- */
.manifesto { padding: clamp(80px, 14vw, 200px) var(--gutter); max-width: 1500px; margin: 0 auto; }
.manifesto__text { font-family: var(--f-serif); font-size: clamp(32px, 5.2vw, 84px); line-height: 1.04; letter-spacing: -.015em; margin: 0; }
.manifesto__text .word { color: rgba(243, 234, 215, .14); transition: color .2s; }
.manifesto__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(50px, 8vw, 110px); border-top: 1px solid var(--line); padding-top: 28px; }
.manifesto__stats b { display: block; font-family: var(--f-sans); font-weight: 800; font-variation-settings: "wdth" 75; font-size: clamp(56px, 8vw, 120px); line-height: .9; color: var(--mustard); font-variant-numeric: tabular-nums; }
.manifesto__stats span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------------- DEPARTURES ---------------- */
.departures { padding: clamp(60px, 10vw, 140px) var(--gutter); background: var(--ink-2); position: relative; }
.departures__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.departures__head .h2 { color: var(--amber); }
.departures__clock { font-family: var(--f-mono); text-align: right; }
.departures__clock span { display: block; font-size: clamp(32px, 4vw, 56px); color: var(--amber); font-variant-numeric: tabular-nums; line-height: 1; }
.departures__clock small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.board { --fs: clamp(12px, 1.35vw, 21px); --cw: calc(1.05 * var(--fs) + 2px); background: #090908; border-radius: 14px; padding: clamp(10px, 1.6vw, 22px); box-shadow: inset 0 0 0 1px #2c2a26, 0 30px 60px rgba(0,0,0,.4); }
.board__row {
  display: grid; grid-template-columns: calc(5 * var(--cw)) minmax(0, 1fr) calc(9 * var(--cw)) calc(15 * var(--cw));
  gap: clamp(8px, 1.6vw, 26px); align-items: center;
  padding: 10px clamp(6px, 1vw, 14px); text-decoration: none;
  border-bottom: 1px solid #1f1e1b; border-radius: 8px;
  transition: background .25s;
}
.board__row:last-child { border-bottom: 0; }
a.board__row:hover { background: #17160f; }
a.board__row:hover .flap .cell { background: #232118; }
.board__row--head { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-block: 4px 12px; }
.flap { display: flex; flex-wrap: nowrap; gap: 2px; overflow: hidden; min-height: 1.9em; font-family: var(--f-mono); font-weight: 700; font-size: var(--fs); color: #f3ead7; }
.flap .wg { display: flex; gap: 2px; flex: none; }
.flap .cell {
  width: 1.05em; height: 1.6em; flex: none;
  display: grid; place-items: center;
  background: #1a1916; border-radius: 3px;
  position: relative; overflow: hidden;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.04);
}
.flap .cell::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.7); }
.flap .cell.is-flip { animation: flip .08s linear; }
@keyframes flip { 0% { transform: scaleY(1); } 50% { transform: scaleY(.1); } 100% { transform: scaleY(1); } }
.status--amber { color: var(--amber); }
.status--green { color: var(--green); }
.status--amber .cell:first-child { animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .3; } }
.departures__foot { font-family: var(--f-serif); font-style: italic; color: var(--muted); margin: 20px 0 0; font-size: 17px; }

/* ---------------- SLATE / CHAPTERS ---------------- */
.slate { position: relative; }
.reel {
  position: fixed; left: var(--gutter); bottom: 22px; z-index: 700;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(13,12,11,.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 99px; padding: 7px 14px 7px 8px;
  opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .4s var(--ease); pointer-events: none;
}
.reel.is-on { opacity: 1; transform: none; }
.reel__spin { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--paper); position: relative; animation: spin 2.4s linear infinite; }
.reel__spin::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: radial-gradient(circle, var(--paper) 0 2px, transparent 3px), conic-gradient(var(--paper) 0 30deg, transparent 30deg 120deg, var(--paper) 120deg 150deg, transparent 150deg 240deg, var(--paper) 240deg 270deg, transparent 270deg); opacity: .8; }
@keyframes spin { to { transform: rotate(360deg); } }
.reel em { font-style: normal; color: var(--mustard); }

.chapter { position: relative; padding: clamp(80px, 12vw, 170px) var(--gutter); overflow: hidden; isolation: isolate; }
.chapter__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 110px); align-items: center; max-width: 1500px; margin: 0 auto; position: relative; z-index: 2; }
.chapter__inner--flip .chapter__media { order: 2; }
.chapter__media { position: relative; }
.chapter__media img { border-radius: 6px; }
.chapter__no { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; opacity: .7; }
.chapter__body { font-size: clamp(16px, 1.15vw, 19px); max-width: 38em; margin: 0 0 16px; }
.chapter__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 26px 0 10px; }

.facts { display: grid; gap: 0; margin: 26px 0 0; border-top: 1px solid currentColor; max-width: 38em; }
.facts > div { display: grid; grid-template-columns: 9em 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 25%, transparent); }
.facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .65; padding-top: 3px; }
.facts dd { margin: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 1.2s steps(2) infinite; }
.pill--amber { background: rgba(255,176,0,.16); color: #b37700; }
.pill--pink { background: rgba(255,95,162,.16); color: #d93d82; }
.pill--green { background: rgba(68,242,154,.14); color: var(--green); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  padding: 14px 22px; border-radius: 99px; border: 2px solid currentColor; background: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 currentColor; }
.btn:active { transform: translate(1px, 1px); box-shadow: 0 0 0 currentColor; }

.quote { margin: 34px 0 0; padding: 0 0 0 20px; border-left: 3px solid currentColor; max-width: 34em; }
.quote p { font-family: var(--f-serif); font-style: italic; font-size: clamp(22px, 2vw, 30px); line-height: 1.15; margin: 0 0 6px; }
.quote cite { font-family: var(--f-mono); font-style: normal; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.quote cite em { font-style: italic; text-transform: none; letter-spacing: 0; font-family: var(--f-serif); font-size: 15px; }

/* --- 1. My Silent Idiot: sepia silent film --- */
.msi { background: #1b150d; color: #efe0bf; }
.msi::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.65)); z-index: 1; pointer-events: none; }
.msi .grain { opacity: .14; }
.msi__flicker { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: rgba(255, 235, 190, .04); animation: flicker .18s steps(3) infinite; }
@keyframes flicker { 0% { opacity: .2; } 50% { opacity: .9; } 100% { opacity: .4; } }
.msi__media img { filter: sepia(.55) contrast(1.05); box-shadow: 0 0 0 10px #0f0b06, 0 0 0 12px var(--sepia), 0 40px 80px rgba(0,0,0,.6); }
.msi__title { font-family: var(--f-deco); font-weight: 400; font-size: clamp(54px, 8vw, 130px); line-height: .9; margin: 0 0 26px; color: var(--sepia); text-transform: uppercase; letter-spacing: .01em; }
.intertitle {
  position: relative; background: #0d0a06; color: #f4e6c4; margin: 0 0 26px; padding: 26px 30px; text-align: center; max-width: 34em;
  border: 2px solid var(--sepia); outline: 1px solid var(--sepia); outline-offset: 6px;
}
.intertitle::before, .intertitle::after { content: "❦"; position: absolute; top: 50%; transform: translateY(-50%); color: var(--sepia); font-size: 20px; }
.intertitle::before { left: 8px; } .intertitle::after { right: 8px; transform: translateY(-50%) scaleX(-1); }
.intertitle p { font-family: var(--f-deco); font-size: clamp(19px, 1.7vw, 26px); line-height: 1.3; margin: 0; }
.msi .facts dd { color: #efe0bf; }
.msi .pill--amber { color: var(--amber); }
.btn--sepia { background: var(--sepia); color: #1b150d; border-color: var(--sepia); }
.btn--sepia:hover { box-shadow: 4px 4px 0 #efe0bf; }
.btn--ghost { color: #efe0bf; }
.strip { position: relative; z-index: 2; max-width: 1600px; margin: clamp(60px, 9vw, 130px) auto 0; }
.strip__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 14px; }
.strip__title { font-family: var(--f-deco); font-size: clamp(18px, 1.8vw, 26px); color: var(--sepia); margin: 0; }
.strip__title em { font-style: normal; color: #efe0bf; }
.strip__nav { display: flex; gap: 8px; }
.strip__arrow { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--sepia); background: none; color: #efe0bf; font-size: 18px; transition: background .25s, color .25s; }
.strip__arrow:hover { background: var(--sepia); color: #1b150d; }
.strip__track {
  --hole: 14px;
  display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none;
  padding: calc(var(--hole) + 16px) 16px; background: #050403; border-radius: 6px; cursor: grab; user-select: none;
  background-image:
    radial-gradient(circle at center, #2a2116 0 4px, transparent 4.5px),
    radial-gradient(circle at center, #2a2116 0 4px, transparent 4.5px);
  background-size: 28px var(--hole), 28px var(--hole);
  background-position: 0 6px, 0 calc(100% - 6px);
  background-repeat: repeat-x;
  box-shadow: inset 0 0 0 1px #2a2116, 0 30px 70px rgba(0,0,0,.5);
}
.strip__track::-webkit-scrollbar { display: none; }
.strip__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.strip__frame { position: relative; flex: none; width: clamp(260px, 34vw, 520px); aspect-ratio: 1200/670; padding: 0; border: 0; border-radius: 3px; overflow: hidden; background: #000; scroll-snap-align: center; }
.strip__frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; filter: sepia(.6) contrast(1.08) brightness(.9); transition: filter .5s, transform .8s var(--ease); pointer-events: none; }
.strip__frame:hover img, .strip__frame:focus-visible img { filter: sepia(.15) contrast(1.05); transform: scale(1.06); }
.strip__no { position: absolute; left: 10px; top: 8px; font-family: var(--f-mono); font-size: 11px; color: #efe0bf; background: rgba(0,0,0,.6); padding: 2px 6px; border-radius: 3px; }
.strip__cap { position: absolute; left: 50%; bottom: 12px; transform: translate(-50%, 12px); opacity: 0; font-family: var(--f-deco); font-size: 15px; white-space: nowrap; color: #f4e6c4; background: #0d0a06; border: 1px solid var(--sepia); padding: 5px 12px; transition: opacity .35s, transform .45s var(--ease); }
.strip__frame:hover .strip__cap, .strip__frame:focus-visible .strip__cap { opacity: 1; transform: translate(-50%, 0); }
.strip__hint { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(239,224,191,.5); margin: 12px 0 0; }

.lightbox { width: min(1280px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0; background: #0d0a06; color: #efe0bf; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px var(--sepia), 0 40px 120px rgba(0,0,0,.85); }
.lightbox::backdrop { background: rgba(10, 7, 3, .92); }
.lightbox__fig { margin: 0; position: relative; }
.lightbox__fig img { width: 100%; max-height: 78vh; object-fit: contain; background: #000; filter: sepia(.35) contrast(1.05); }
.lightbox__cap { text-align: center; font-family: var(--f-deco); font-size: clamp(18px, 2vw, 28px); padding: 16px 20px 4px; }
.lightbox__bar { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 10px 16px 16px; font-family: var(--f-mono); font-size: 12px; }
.lightbox__bar button { background: none; border: 1.5px solid var(--sepia); color: #efe0bf; border-radius: 99px; padding: 7px 14px; font-family: var(--f-mono); font-size: 13px; }
.lightbox__bar button:hover { background: var(--sepia); color: #0d0a06; }
.lightbox__close { margin-left: auto; }

/* silent mode: whole site goes title card */
body.is-silent { filter: sepia(.75) contrast(1.05); }
body.is-silent .chapter__body, body.is-silent .hero__lede, body.is-silent p { font-family: var(--f-deco) !important; letter-spacing: .01em; }

/* --- 2. The Wedding Destroyer: ruined wedding stationery --- */
.wedding { background: #f6f0e4; color: #1d1a16; }
.wedding__confetti { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(circle, #e9b8c4 2.5px, transparent 3px),
    radial-gradient(circle, #c9b37e 2px, transparent 2.5px),
    radial-gradient(circle, #b9cfe0 2.5px, transparent 3px);
  background-size: 140px 120px, 90px 110px, 170px 150px;
  background-position: 10px 20px, 60px 70px, 120px 10px; }
.wedding__title { margin: 0 0 18px; line-height: .85; }
.wedding__title span { display: block; }
.wedding__title span:first-child { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(48px, 6.5vw, 104px); color: #9a7a45; letter-spacing: -.02em; }
.wedding__destroyer { font-family: var(--f-sans); font-weight: 800; font-variation-settings: "wdth" 75; text-transform: uppercase; font-size: clamp(64px, 10vw, 168px); color: var(--red-deep); letter-spacing: -.02em; transform: rotate(-2deg); transform-origin: left; }
.wedding__destroyer .ch { display: inline-block; }
.wedding__tag { font-family: var(--f-serif); font-style: italic; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.15; margin: 0 0 20px; }
.pill--gold { background: rgba(176,141,87,.18); color: #8a6a35; }
.invite { position: relative; max-width: 460px; margin: 0 auto; aspect-ratio: 5/7; }
.invite__half { position: absolute; inset: 0; will-change: transform; }
.invite__half[data-half="l"] { clip-path: polygon(0 0, 52% 0, 47% 18%, 53% 34%, 46% 52%, 54% 70%, 48% 86%, 51% 100%, 0 100%); }
.invite__half[data-half="r"] { clip-path: polygon(52% 0, 100% 0, 100% 100%, 51% 100%, 48% 86%, 54% 70%, 46% 52%, 53% 34%, 47% 18%); }
.invite__card {
  position: absolute; inset: 0; background: #fffdf8; border-radius: 4px;
  box-shadow: 0 30px 60px rgba(60,40,10,.18), 0 2px 0 #e6dcc6;
  padding: 11% 9%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4%; text-align: center;
  outline: 1px solid #c9b37e; outline-offset: -14px;
}
.invite__card::before { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(201,179,126,.5); pointer-events: none; }
.invite__small { font-family: var(--f-mono); font-size: clamp(9px, .8vw, 11px); letter-spacing: .14em; text-transform: uppercase; color: #8a6a35; margin: 0; }
.invite__req { font-family: var(--f-serif); font-style: italic; font-size: clamp(15px, 1.3vw, 19px); line-height: 1.3; margin: 0; }
.invite__names { font-family: var(--f-hand); font-weight: 700; font-size: clamp(36px, 3.6vw, 54px); line-height: 1; margin: 0; color: #1d1a16; }
.invite__names span { color: #b08d57; font-size: .7em; }
.rsvp { margin-top: 4%; display: grid; gap: 6px; text-align: left; font-size: 14px; }
.rsvp__head { font-family: var(--f-serif); font-style: italic; font-size: 17px; text-align: center; margin: 0 0 2px; color: #8a6a35; }
.rsvp label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.has-cursor .rsvp label { cursor: none; }
.rsvp input { accent-color: var(--red-deep); width: 16px; height: 16px; margin: 0; }
.invite__said { font-family: var(--f-hand); font-size: 26px; line-height: 1.1; color: var(--red-deep); text-align: center; margin: 18px 0 0; min-height: 1.2em; }

/* --- 3. Roxy: rubber-hose cartoon --- */
.roxy { background: var(--paper); color: var(--ink); }
.roxy__dots { position: absolute; inset: 0; z-index: 0; background-image: radial-gradient(rgba(13,12,11,.14) 1.6px, transparent 1.8px); background-size: 18px 18px; mask-image: linear-gradient(120deg, transparent 20%, #000 70%); -webkit-mask-image: linear-gradient(120deg, transparent 20%, #000 70%); }
.roxy__media { min-height: 400px; }
.roxy__toon { position: relative; width: 84%; margin-left: auto; transform-origin: 50% 100%; }
.roxy__poster { width: 100%; transform: rotate(3deg); border: 6px solid var(--ink); border-radius: 10px !important; box-shadow: 12px 12px 0 var(--ink); }
.roxy__items { position: absolute; inset: 0; pointer-events: none; }
.roxy__title { font-family: var(--f-toon); font-weight: 400; font-size: clamp(80px, 13vw, 210px); line-height: .85; margin: 0 0 14px; color: var(--red); -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; text-shadow: 8px 8px 0 var(--ink); letter-spacing: .02em; }
.roxy__title .ch { display: inline-block; }
.roxy__tag { font-family: var(--f-serif); font-style: italic; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.1; margin: 0 0 22px; }
.btn--toon { font-family: var(--f-toon); font-weight: 400; font-size: 19px; letter-spacing: .03em; background: var(--red); color: var(--paper); border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.btn--toon:hover { box-shadow: 8px 8px 0 var(--ink); background: var(--pink); }
.roxy__said { font-family: var(--f-hand); font-size: 26px; line-height: 1.1; color: var(--red-deep); max-width: 16em; }

/* --- 4. First Blood: sickly suburban horror --- */
.firstblood { background: #0e130b; color: #e6edd5; }
.firstblood__fog { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(900px 600px at 20% 30%, rgba(170,210,80,.16), transparent 60%), radial-gradient(700px 500px at 90% 90%, rgba(200,30,30,.16), transparent 60%); animation: fog 9s ease-in-out infinite alternate; }
@keyframes fog { to { transform: translate(3%, -2%) scale(1.06); } }
.firstblood__poster { box-shadow: 0 0 0 2px #2b3a1c, 0 0 70px rgba(214,232,92,.25), 0 40px 80px rgba(0,0,0,.6); border-radius: 8px !important; }
.firstblood__title { font-family: var(--f-sans); font-weight: 800; font-variation-settings: "wdth" 75; text-transform: uppercase; font-size: clamp(64px, 10.5vw, 176px); line-height: .84; margin: 0 0 16px; color: #d6e85c; letter-spacing: -.02em; }
.firstblood__title .ch { display: inline-block; }
.firstblood__tag { font-family: var(--f-serif); font-style: italic; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.15; margin: 0 0 20px; color: #ff6b5e; }
.pill--lime { background: rgba(214,232,92,.14); color: #d6e85c; }
.shops { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 26px 0 0; perspective: 600px; }
.shops__sign { display: inline-flex; flex-direction: column; align-items: center; min-width: 230px; padding: 10px 18px; border-radius: 10px; background: #0a0d08; border: 2px solid #2b3a1c; font-family: var(--f-mono); text-transform: uppercase; }
.shops__name { font-size: 11px; letter-spacing: .14em; color: #9fae84; }
.shops__state { font-family: var(--f-sans); font-weight: 800; font-variation-settings: "wdth" 75; font-size: 34px; line-height: 1; letter-spacing: .04em; color: #ff3b2f; text-shadow: 0 0 14px rgba(255,59,47,.6); }
.shops__sign.is-open { border-color: #d6e85c; box-shadow: 0 0 30px rgba(214,232,92,.35); }
.shops__sign.is-open .shops__state { color: #d6e85c; text-shadow: 0 0 16px rgba(214,232,92,.8); animation: neon 2.4s steps(1) infinite; }
@keyframes neon { 0%, 18%, 22%, 60%, 64%, 100% { opacity: 1; } 20%, 62% { opacity: .2; } }
.btn--blood { background: #c4201a; color: #fff; border-color: #c4201a; }
.btn--blood:hover { box-shadow: 4px 4px 0 #d6e85c; }
.firstblood__wide { position: relative; z-index: 2; max-width: 1500px; margin: clamp(60px, 9vw, 130px) auto 0; overflow: hidden; border-radius: 8px; }
.firstblood__wide img { width: 100%; height: clamp(240px, 38vw, 580px); object-fit: cover; transform: scale(1.18); }
.firstblood__wide figcaption { position: absolute; left: 16px; bottom: 14px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; background: #0a0d08; color: #d6e85c; padding: 6px 12px; border-radius: 4px; }

/* --- 5. B-Movie: VHS / grindhouse --- */
.bmovie { background: #070a0d; color: #e7fff3; }
.bmovie::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(800px 500px at 20% 30%, rgba(68,242,154,.12), transparent 60%), radial-gradient(700px 500px at 90% 80%, rgba(255,0,170,.12), transparent 60%); }
.vhs-lines { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px); }
.screen { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 2px #1a2a22, 0 30px 80px rgba(68,242,154,.18); }
.screen img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 0 !important; transition: transform .7s var(--ease), filter .4s; }
.screen:hover img { transform: scale(1.05); }
.screen__osd { position: absolute; inset: 14px 16px auto 16px; display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: clamp(13px, 1.4vw, 20px); color: #fff; text-shadow: 2px 2px 0 rgba(0,0,0,.6); }
.screen__play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: rgba(13,12,11,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 2px solid rgba(255,255,255,.7); transition: transform .4s var(--ease), background .3s; }
.screen__play::after { content: ""; position: absolute; left: 34px; top: 26px; border-left: 24px solid #fff; border-block: 16px solid transparent; }
.screen:hover .screen__play { transform: scale(1.15); background: var(--red); border-color: var(--red); }
.tracking { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--green); margin: 14px 0 0; opacity: .7; }
.bmovie__title { position: relative; font-family: var(--f-sans); font-weight: 800; font-variation-settings: "wdth" 75; text-transform: uppercase; font-size: clamp(72px, 12vw, 200px); line-height: .82; margin: 0 0 16px; color: #e7fff3; }
.bmovie__title::before, .bmovie__title::after { content: attr(data-text); position: absolute; inset: 0; mix-blend-mode: screen; pointer-events: none; }
.bmovie__title::before { color: #ff00aa; transform: translate(var(--gx, 3px), 0); clip-path: inset(var(--g1, 10%) 0 var(--g2, 60%) 0); }
.bmovie__title::after { color: var(--green); transform: translate(calc(var(--gx, 3px) * -1), 0); clip-path: inset(var(--g2, 60%) 0 var(--g1, 10%) 0); }
.bmovie__tag { font-family: var(--f-serif); font-style: italic; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.15; margin: 0 0 20px; color: var(--green); }
.btn--vhs { background: var(--green); color: #04110a; border-color: var(--green); font-family: var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.btn--vhs:hover { box-shadow: 4px 4px 0 #ff00aa; }

/* --- 6. Time Family: time travel --- */
.timefam { background: #140b2a; color: #f6efff; }
.timefam__warp { position: absolute; inset: -20%; z-index: 0; pointer-events: none; background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255,255,255,.04) 0 3deg, transparent 3deg 12deg); animation: spin 90s linear infinite; mask-image: radial-gradient(circle, #000 0, transparent 65%); -webkit-mask-image: radial-gradient(circle, #000 0, transparent 65%); }
.timefam::after { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(700px 500px at 75% 40%, rgba(255,120,40,.18), transparent 60%), radial-gradient(600px 500px at 10% 90%, rgba(80,160,255,.18), transparent 60%); }
.screen--round { border-radius: 24px; box-shadow: 0 0 0 4px #ff8a3d, 0 30px 80px rgba(255,138,61,.25); }
.screen--round img { aspect-ratio: 1400/990; }
.timefam__title { font-family: var(--f-toon); font-weight: 400; font-size: clamp(64px, 10vw, 170px); line-height: .88; margin: 0 0 14px; color: #a6f36a; -webkit-text-stroke: 3px #2a1251; paint-order: stroke fill; text-shadow: 6px 6px 0 #ff8a3d; }
.timefam__tag { font-family: var(--f-serif); font-style: italic; font-size: clamp(22px, 2.2vw, 32px); margin: 0 0 20px; color: #ffbf8a; }
.dtime { margin-top: 22px; background: #0a0613; border: 2px solid #3b2a5e; border-radius: 14px; padding: 16px 18px; display: grid; gap: 10px; }
.dtime__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.dtime__lab { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #ff8a3d; }
.dtime__year { font-family: var(--f-mono); font-weight: 700; font-size: clamp(34px, 4vw, 52px); line-height: 1; color: #ff4136; text-shadow: 0 0 12px rgba(255,65,54,.8); background: #1a0606; padding: 4px 12px; border-radius: 6px; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.dtime__cap { margin: 0; font-size: 15px; color: #d7c8f0; min-height: 1.6em; }
.btn--time { background: #ff8a3d; color: #1a0b00; border-color: #ff8a3d; justify-self: start; }
.btn--time:hover { box-shadow: 4px 4px 0 #a6f36a; }
.timefam.is-warping .timefam__warp { animation-duration: 1.2s; }

/* --- 7. The Sketchbook: pencil and paper --- */
.sketch { background: #fbf8f1; color: #26221d; }
.sketch::before { content: ""; position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(rgba(70,120,200,.13) 1px, transparent 1px); background-size: 100% 34px; }
.sketch::after { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--gutter) * .55); width: 2px; background: rgba(255,59,47,.35); z-index: 0; }
.sketch__doodle { position: absolute; left: 0; right: 0; top: 40px; width: 100%; height: 180px; z-index: 1; pointer-events: none; }
.sketch__doodle path { fill: none; stroke: #26221d; stroke-width: 3; stroke-linecap: round; opacity: .55; vector-effect: non-scaling-stroke; }
.sketch__poster { transform: rotate(-2.5deg); box-shadow: 0 2px 0 #ddd, 0 30px 60px rgba(0,0,0,.18); border: 10px solid #fff; border-radius: 2px !important; }
.sketch__title { font-family: var(--f-hand); font-weight: 700; font-size: clamp(64px, 10vw, 160px); line-height: .85; margin: 0 0 22px; transform: rotate(-2deg); }
.drawpad { margin: 26px 0 0; max-width: 600px; background: #fff; border: 2px solid #26221d; border-radius: 12px; overflow: hidden; box-shadow: 6px 6px 0 #26221d; }
.drawpad__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 2px dashed #26221d; font-family: var(--f-hand); font-size: 24px; flex-wrap: wrap; }
.drawpad__tools { display: flex; gap: 6px; }
.drawpad__tools button { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; background: none; border: 1.5px solid #26221d; border-radius: 99px; padding: 5px 10px; }
.drawpad__tools .drawpad__live { background: #26221d; color: #fff; }
#drawCanvas { display: block; width: 100%; height: auto; aspect-ratio: 600/260; touch-action: none; background: radial-gradient(#e9e4d8 1px, transparent 1.2px) 0 0 / 16px 16px; transform-origin: 50% 100%; }
.btn--pencil { background: #26221d; color: #fbf8f1; border-color: #26221d; }
.btn--pencil:hover { box-shadow: 4px 4px 0 var(--red); }
.sketch .pill--green { background: rgba(20,140,80,.12); color: #10783f; }

/* ---------------- IN-FLIGHT ---------------- */
.inflight { padding: clamp(80px, 12vw, 160px) var(--gutter); background: #0c1a2c; position: relative; overflow: hidden; }
.inflight::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 500px at 80% 0%, rgba(80,160,255,.18), transparent 60%); pointer-events: none; }
.inflight__head { max-width: 1500px; margin: 0 auto 44px; position: relative; }
.inflight__head .h2 { color: #8fd0ff; }
.inflight__sub { font-family: var(--f-serif); font-style: italic; font-size: clamp(22px, 2vw, 30px); margin: 14px 0 0; color: rgba(243,234,215,.8); }
.inflight__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; max-width: 1500px; margin: 0 auto; position: relative; }
.quiz { background: #050d17; border-radius: 22px; padding: clamp(22px, 3vw, 40px); border: 10px solid #1a2433; box-shadow: inset 0 0 60px rgba(80,160,255,.12), 0 30px 60px rgba(0,0,0,.35); }
.quiz__top { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #8fd0ff; }
.quiz__top b { color: var(--paper); font-size: 16px; }
.quiz__quote { font-family: var(--f-serif); font-size: clamp(28px, 3.4vw, 54px); line-height: 1.05; margin: 30px 0; min-height: 2.2em; }
.quiz__opts { display: grid; gap: 10px; }
.quiz__opts button { text-align: left; background: rgba(143,208,255,.06); border: 1.5px solid rgba(143,208,255,.3); border-radius: 12px; padding: 14px 18px; font-weight: 600; font-size: 17px; display: flex; gap: 14px; align-items: center; transition: background .2s, border-color .2s, transform .2s; }
.quiz__opts button span { font-family: var(--f-mono); font-size: 12px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid currentColor; flex: none; }
.quiz__opts button:hover:not(:disabled) { background: rgba(143,208,255,.14); border-color: #8fd0ff; transform: translateX(4px); }
.quiz__opts button.is-right { background: var(--green); color: var(--ink); border-color: var(--green); }
.quiz__opts button.is-wrong { background: var(--red); color: var(--paper); border-color: var(--red); }
.quiz__opts button:disabled { cursor: default; }
.quiz__fb { font-family: var(--f-mono); font-size: 14px; color: #8fd0ff; margin: 18px 0 0; min-height: 1.5em; }

.toys { display: grid; gap: 18px; align-content: start; }
.rimshot { display: flex; align-items: center; gap: 22px; background: var(--red); color: var(--paper); border: 0; border-radius: 22px; padding: 26px; text-align: left; box-shadow: 0 10px 0 var(--red-deep), 0 20px 40px rgba(0,0,0,.35); transition: transform .12s, box-shadow .12s; }
.rimshot:active, .rimshot.is-hit { transform: translateY(8px); box-shadow: 0 2px 0 var(--red-deep), 0 8px 20px rgba(0,0,0,.35); }
.rimshot__drum { width: 74px; height: 74px; border-radius: 50%; background: radial-gradient(circle, #fff 0 52%, #ddd 53% 60%, #b8b8b8 61%); box-shadow: inset 0 -6px 0 rgba(0,0,0,.15); position: relative; flex: none; }
.rimshot__drum i { position: absolute; left: 50%; top: -8px; width: 6px; height: 70px; background: #e8c78f; border-radius: 3px; transform-origin: 50% 100%; transform: rotate(35deg) translate(18px, -12px); }
.rimshot__txt { font-family: var(--f-toon); font-size: clamp(24px, 2.4vw, 34px); line-height: 1; letter-spacing: .02em; }
.callbtn { display: flex; align-items: center; gap: 14px; background: #13243b; border: 1.5px solid rgba(143,208,255,.3); border-radius: 18px; padding: 18px 20px; font-weight: 700; font-size: 17px; transition: background .2s; }
.callbtn:hover { background: #1a3150; }
.callbtn__icon { width: 44px; height: 44px; border-radius: 50%; background: #8fd0ff; display: grid; place-items: center; }
.callbtn__icon svg { width: 24px; height: 24px; fill: #0c1a2c; }
.callbtn.is-on .callbtn__icon { background: var(--amber); box-shadow: 0 0 18px var(--amber); }
.callbtn__resp { font-family: var(--f-serif); font-style: italic; font-size: 22px; line-height: 1.2; margin: 0; color: rgba(243,234,215,.85); min-height: 2.4em; }

/* ---------------- ABOUT ---------------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 110px); align-items: center; padding: clamp(80px, 12vw, 170px) var(--gutter); max-width: 1500px; margin: 0 auto; }
.about__photo { position: relative; }
.about__photo img { border-radius: 8px; filter: grayscale(1) contrast(1.05); transition: transform .6s var(--ease); }
.about__photo:hover img { transform: rotate(-2deg) scale(1.02); }
.about__bubble { position: absolute; right: -6%; top: 8%; background: var(--paper); color: var(--ink); font-family: var(--f-hand); font-weight: 700; font-size: 26px; line-height: 1.05; padding: 12px 16px; border-radius: 20px; max-width: 12em; box-shadow: 5px 5px 0 var(--red); transform: scale(0) rotate(-8deg); transform-origin: 10% 100%; transition: transform .5s var(--ease); }
.about__bubble::after { content: ""; position: absolute; left: 18px; bottom: -14px; border-top: 16px solid var(--paper); border-right: 16px solid transparent; }
.about__photo:hover .about__bubble, .about__photo.is-talk .about__bubble { transform: scale(1) rotate(-4deg); }
.about__lede { font-family: var(--f-serif); font-style: italic; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.1; margin: 18px 0 24px; color: var(--mustard); }
.about__copy > p:not(.eyebrow):not(.about__lede) { max-width: 36em; font-size: clamp(16px, 1.15vw, 19px); color: rgba(243,234,215,.85); }

/* ---------------- CONTACT ---------------- */
.contact { padding: clamp(90px, 14vw, 200px) var(--gutter); background: var(--red); color: var(--ink); text-align: center; position: relative; overflow: hidden; }
.contact__dialogue { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 36px; }
.contact__dialogue .sub { background: var(--ink); color: var(--paper); }
.contact__dialogue .sub--b { color: var(--mustard); }
.contact__title { font-family: var(--f-sans); font-weight: 800; font-variation-settings: "wdth" 75; text-transform: uppercase; font-size: clamp(56px, 11vw, 190px); line-height: .84; letter-spacing: -.02em; margin: 0 0 40px; display: flex; flex-direction: column; }
.contact__title span { display: block; }
.contact__funny { font-family: var(--f-serif); font-style: italic; text-transform: none; font-weight: 400; color: var(--paper); letter-spacing: -.03em; }
.contact__mail { display: inline-block; font-family: var(--f-mono); font-weight: 700; font-size: clamp(18px, 2.6vw, 38px); text-decoration: none; background: var(--ink); color: var(--paper); padding: 18px 30px; border-radius: 99px; transition: background .3s, color .3s; word-break: break-all; }
.contact__mail:hover { background: var(--mustard); color: var(--ink); }
.contact__routes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 30px 0 0; }
.contact__routes a { font-weight: 700; text-decoration: none; border: 2px solid var(--ink); border-radius: 99px; padding: 10px 18px; transition: background .25s, color .25s; }
.contact__routes a:hover { background: var(--ink); color: var(--paper); }
.contact__quote { font-family: var(--f-serif); font-style: italic; font-size: clamp(20px, 1.8vw, 26px); margin: 50px auto 0; max-width: 30em; }
.contact__quote span { display: block; font-family: var(--f-mono); font-style: normal; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin-top: 6px; }

/* ---------------- CREDITS ---------------- */
.credits { padding: clamp(80px, 12vw, 160px) var(--gutter) 40px; background: #000; text-align: center; }
.credits__end { display: flex; flex-direction: column; align-items: center; line-height: .85; margin-bottom: clamp(60px, 9vw, 120px); }
.credits__the { font-family: var(--f-serif); font-style: italic; font-size: clamp(36px, 5vw, 80px); }
.credits__endword { font-family: var(--f-deco); font-size: clamp(110px, 22vw, 360px); color: var(--paper); text-transform: uppercase; letter-spacing: .02em; }
.credits__ish { font-family: var(--f-hand); font-size: clamp(26px, 3vw, 44px); color: var(--red); transform: rotate(-6deg); margin-top: 14px; }
.credits__row { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 24px; text-align: left; }
.credits__row p { margin: 0; }
.credits__eggs kbd { font-family: var(--f-mono); background: var(--ink-3); border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 5px; padding: 1px 6px; color: var(--paper); font-size: 12px; }
.credits__top { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--mustard); }
.credits__small { font-size: 12px; color: rgba(243,234,215,.35); margin: 18px 0 0; }

/* ---------------- VIDEO MODAL ---------------- */
.screening { width: min(1200px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0; background: #000; color: var(--paper); border-radius: 14px; overflow: hidden; box-shadow: 0 40px 120px rgba(0,0,0,.8); }
.screening::backdrop { background: rgba(5, 4, 3, .88); backdrop-filter: blur(6px); }
.screening__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.screening__now b { color: var(--mustard); }
.screening__close { background: var(--paper); color: var(--ink); border: 0; border-radius: 99px; padding: 8px 14px; font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.screening__close:hover { background: var(--red); color: var(--paper); }
.screening__frame { aspect-ratio: 16/9; background: #000; }
.screening__frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1100px) {
  .nav__links a:not(.nav__cta) { display: none; }
  .seatbelt span { display: none; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 96px; gap: 10px; }
  .hero__stage { order: 2; }
  .clapper { max-width: 420px; }
  .chapter__inner, .about, .inflight__grid { grid-template-columns: 1fr; }
  .chapter__inner--flip .chapter__media { order: 0; }
  .chapter__media { max-width: 560px; }
  .roxy__media { margin-bottom: 30px; }
  .manifesto__stats { grid-template-columns: 1fr; gap: 18px; }
  .about__photo { max-width: 460px; }
  .about__bubble { right: 4%; }
}
@media (max-width: 600px) {
  .hide-sm { display: none !important; }
  .board { --fs: 11px; }
  .board__row { grid-template-columns: calc(5 * var(--cw)) minmax(0, 1fr); gap: 6px 10px; padding-inline: 4px; align-items: start; }
  .board__row .status { grid-column: 2; }
  .board__row--head span:last-child { display: none; }
  .flap { flex-wrap: wrap; row-gap: 2px; }
  .departures__clock { text-align: left; }
  .nav { padding-block: 10px; gap: 10px; }
  .nav__word { font-size: 18px; }
  .nav__word em { font-size: 12px; }
  .seatbelt { display: none; }
  .sfx { padding: 6px 10px; }
  .amp__plate { gap: 14px; padding: 14px 16px 14px 12px; }
  .knob { width: 104px; height: 104px; }
  .knob__cap { inset: 19px; }
  .amp__read { width: 104px; }
  .amp__num { font-size: 44px; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .reel { left: 16px; bottom: 14px; }
  .scrollcue { display: none; }
  .intertitle { padding: 20px 26px; }
  .credits__row { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .grain, .msi__flicker { display: none; }
}
