/* inspectorhoot.com: the generated pages (home, persona bio links, entries, products). Concept (docs/v2/12, appendix D):
   "Lit windows in a Carpathian night". The studio is a night valley; every character is a lit window you can walk
   through. Light answers you (fireflies gather at your pointer, Gogu's gem brightens, the owl's eyes follow), windows
   open as you scroll, and pages morph into each other (cross-document View Transitions).
   Rules: animate transform/opacity only; every keyframe is written `from` the start so the CSS default is the finished
   state (no support or reduced motion = the static page); no external requests, no inline styles (CSP style-src 'self').
   Each cast-<slug>.css only sets tokens and a few persona touches. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/assets/fonts/fraunces-600-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/assets/fonts/fraunces-600-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/assets/fonts/sora-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/assets/fonts/sora-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* the studio's night (cast-<slug>.css re-tokens per world) */
  --bg: #0D131A; --bg-2: #111A23; --surface: #16212B; --raise: #1C2834; --ink: #F1ECE2; --muted: #AAB3BA; --line: rgba(241,236,226,.12);
  --accent: #F2B54A; --accent-ink: #1A1206; --link: #F5C266; --glow: #FAD856; --cool: #9DB4F0;
  --g1: rgba(242,181,74,.20); --g2: rgba(157,180,240,.14);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --ui: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --t-xs: .8125rem; --t-sm: .9063rem; --t-md: 1rem; --t-lg: 1.125rem;
  --t-xl: clamp(1.45rem, 1.1rem + 1.4vw, 1.9rem); --t-2xl: clamp(1.9rem, 1.3rem + 2.6vw, 2.9rem);
  --t-3xl: clamp(2.7rem, 1.4rem + 6vw, 5.6rem);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --radius: 22px; --radius-sm: 14px; --shadow: 0 30px 70px rgba(0,0,0,.45);
  --gutter: 16px; --max: 1180px; --read: 62ch; --head: 72px;
  --out: cubic-bezier(.16,1,.3,1); --in: cubic-bezier(.5,0,.75,0); --spring: cubic-bezier(.34,1.56,.64,1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; overflow-x: clip; }   /* glows never widen a phone's page */
body.cast { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font: 400 var(--t-md)/1.62 var(--ui); overflow-x: clip;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; letter-spacing: -.005em; }
body.cast::before { content: ""; position: fixed; z-index: -2; inset: 0; pointer-events: none;   /* the world's light, all the way down */
  background: radial-gradient(70vw 60vh at 92% 4%, var(--g1), transparent 70%), radial-gradient(60vw 60vh at 0% 100%, var(--g2), transparent 70%); opacity: .55; }
img, video { max-width: 100%; }
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 60; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 16px; }
.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; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* type */
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.06; margin: 0 0 var(--s3); letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: var(--t-3xl); letter-spacing: -.035em; line-height: .96; }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-lg); line-height: 1.2; letter-spacing: -.01em; }
h4 { font: 600 var(--t-xs)/1.3 var(--ui); color: var(--muted); margin: 0 0 var(--s2); letter-spacing: .02em; }
p { margin: 0 0 var(--s4); max-width: var(--read); }
.small { font-size: var(--t-xs); color: var(--muted); line-height: 1.55; }
.kicker { font: 500 var(--t-sm)/1.4 var(--ui); color: var(--muted); margin: 0 0 var(--s3); }
.kicker .where { display: block; font-weight: 600; color: var(--accent); letter-spacing: .01em; }
.intro { color: var(--muted); }
.empty { padding: var(--s5); border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; margin: 0; max-width: none; }

/* index classes for staggers (set by the renderer: CSP-safe, no inline styles) */
.i0{--i:0}.i1{--i:1}.i2{--i:2}.i3{--i:3}.i4{--i:4}.i5{--i:5}.i6{--i:6}.i7{--i:7}.i8{--i:8}.i9{--i:9}
.i10{--i:10}.i11{--i:11}.i12{--i:12}.i13{--i:13}.i14{--i:14}.i15{--i:15}.i16{--i:16}.i17{--i:17}.i18{--i:18}.i19{--i:19}
.i20{--i:20}.i21{--i:21}.i22{--i:22}.i23{--i:23}.i24{--i:24}.i25{--i:25}.i26{--i:26}.i27{--i:27}.i28{--i:28}.i29{--i:29}
.i30{--i:30}.i31{--i:31}.i32{--i:32}.i33{--i:33}.i34{--i:34}.i35{--i:35}.i36{--i:36}.i37{--i:37}.i38{--i:38}.i39{--i:39}
.kids > :nth-child(1){--k:0}.kids > :nth-child(2){--k:1}.kids > :nth-child(3){--k:2}.kids > :nth-child(4){--k:3}
.kids > :nth-child(5){--k:4}.kids > :nth-child(6){--k:5}.kids > :nth-child(7){--k:6}.kids > :nth-child(8){--k:7}
.kids > :nth-child(9){--k:8}.kids > :nth-child(10){--k:9}.kids > :nth-child(11){--k:10}.kids > :nth-child(12){--k:11}

/* ---------------------------------------------------------------- studio bar, progress line, face dock */
.site-head { position: absolute; z-index: 30; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  max-width: var(--max); margin: 0 auto; padding: var(--s3) var(--gutter); min-height: var(--head); view-transition-name: site-head; }
.mark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 var(--t-sm)/1 var(--ui);
  letter-spacing: -.01em; min-height: 44px; }
.mark-eyes { --ex: 0px; --ey: 0px; position: relative; display: inline-flex; gap: 3px; flex: none; }
.mark-eyes i { position: relative; display: block; width: 17px; height: 17px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 14px -2px var(--accent); transform-origin: 50% 55%; }
.mark-eyes i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
  background: var(--bg); transform: translate(var(--ex), var(--ey)); }
.cast-links { display: none; }
.cast-links ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.cast-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 6px; border-radius: 999px; color: var(--ink);
  text-decoration: none; font: 600 var(--t-sm)/1 var(--ui); border: 1px solid transparent; transition: background-color .2s, border-color .2s; }
.cast-links a:hover { border-color: var(--line); }
.cast-links a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.face { display: block; width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: var(--surface); flex: none; }
.face.blank { background: var(--raise); }
.progress { position: fixed; z-index: 40; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--glow));
  transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.dock { position: fixed; z-index: 35; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); view-transition-name: dock;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 18px 40px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06); }
.dock ul { list-style: none; margin: 0; padding: 6px; display: flex; justify-content: space-around; gap: 4px; }
.dock li { flex: 1 1 0; min-width: 0; }
.dock a { display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 58px; justify-content: center; padding: 4px 2px;
  border-radius: 16px; color: var(--muted); text-decoration: none; font: 600 .6875rem/1 var(--ui); -webkit-tap-highlight-color: transparent;
  translate: var(--mgx, 0) var(--mgy, 0); }
.dock a span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dock .face { width: 34px; height: 34px; box-shadow: 0 0 0 2px var(--bg-2), 0 0 0 3px var(--line); transition: transform .2s var(--spring); }
.dock .mark-eyes { height: 34px; align-items: center; }
.dock .mark-eyes i { width: 15px; height: 15px; }
.dock a[aria-current="page"] { color: var(--ink); background: var(--raise); }
.dock a[aria-current="page"] .face { box-shadow: 0 0 0 2px var(--bg-2), 0 0 0 4px var(--accent); }
.dock a:active .face { transform: scale(.9); }
.dock .plus { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); position: relative; }
.dock .plus::before, .dock .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--accent-ink); }
.dock .plus::after { transform: rotate(90deg); }
.d-follow { color: var(--ink) !important; }

.wrap { max-width: var(--max); margin: 0 auto; padding: var(--head) var(--gutter) 120px; }
.block { margin: var(--s8) 0 0; }
.block > h2::after, .sec-head h2::after, .cast-nav h2::after { content: ""; display: block; width: 48px; height: 3px; margin-top: var(--s3);
  background: linear-gradient(90deg, var(--accent), var(--glow)); border-radius: 2px; transform-origin: 0 50%; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0 var(--s4); margin-bottom: var(--s5); }
.sec-head h2 { margin: 0; }
.sec-head .small { margin: 0 0 4px; }

/* ---------------------------------------------------------------- a character's window (frame / arch / mirror / case) */
.win { --tx: 0; --ty: 0; --th: 0; position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; isolation: isolate;
  background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow); container-type: inline-size;
  transform: perspective(900px) rotateX(calc(var(--ty) * -7deg)) rotateY(calc(var(--tx) * 9deg)); }
.win-in { position: absolute; inset: -5%; display: block; translate: calc(var(--tx) * -12px) calc(var(--ty) * -12px); }
.win-in img, .win-in video, .win-in .thumb-fallback { display: block; width: 100%; height: 100%; object-fit: cover; }
.glare { position: absolute; inset: -40%; z-index: 2; pointer-events: none; opacity: calc(var(--th) * .9);
  background: radial-gradient(closest-side, rgba(255,250,235,.32), rgba(255,250,235,0));
  transform: translate(calc(var(--tx) * 28%), calc(var(--ty) * 28%)) scale(.7); }
.f-arch { border-radius: 50% 50% 18px 18px / 40% 40% 18px 18px; }
.f-mirror { border-radius: 50%; }
.f-frame { border-radius: 6px; }
.f-case { border-radius: 4px; }
.gem { position: absolute; z-index: 1; left: 51.7%; top: 45.1%; width: 12%; aspect-ratio: 1; margin: -6% 0 0 -6%; pointer-events: none;
  opacity: calc(.55 + var(--near, 0) * .45); }
.gem::before, .gem::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,247,200,.95), rgba(250,216,86,.6) 30%, rgba(250,216,86,0)); }
.gem::after { inset: -180%; opacity: .32; background: radial-gradient(closest-side, rgba(250,216,86,.55), rgba(250,216,86,0)); }
.veil { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: rgba(8,8,14,.5); transition: opacity .6s var(--out); }
.sign { position: absolute; z-index: 3; left: 50%; top: 14%; padding: .5em .9em .45em; border-radius: 6px; white-space: nowrap; pointer-events: none;
  background: #F3E3C8; color: #1D1C21; font: 600 clamp(.6rem, 9.5cqi, 1.15rem)/1 var(--display); box-shadow: 0 8px 20px rgba(0,0,0,.35);
  transform: translateX(-50%) rotate(-4deg); transform-origin: 50% -30px; }
.sign::before { content: ""; position: absolute; left: 50%; top: -18px; width: 26px; height: 18px; margin-left: -13px; border: 1px solid rgba(243,227,200,.7);
  border-bottom: 0; border-radius: 13px 13px 0 0; }

/* ---------------------------------------------------------------- the scene behind a hero / world */
.scene { position: absolute; z-index: -1; inset: calc(var(--head) * -1) calc(50% - 50vw) -48px; overflow: clip; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.scene > span { position: absolute; display: block; }
.glow { border-radius: 50%; }
.glow.g1 { width: 120vmax; height: 120vmax; right: -50vmax; top: -60vmax; background: radial-gradient(closest-side, var(--g1), transparent); }
.glow.g2 { width: 100vmax; height: 100vmax; left: -55vmax; bottom: -60vmax; background: radial-gradient(closest-side, var(--g2), transparent); }
.giant { left: 50%; top: 74%; font: 600 clamp(7rem, 34vw, 26rem)/.8 var(--display); letter-spacing: -.05em; white-space: nowrap; color: transparent;
  -webkit-text-stroke: 1px rgba(241,236,226,.07); transform: translate(calc(-50% + var(--mx, 0) * -18px), calc(-50% + var(--my, 0) * -10px)); }
.fx { position: absolute; display: block; pointer-events: none; }
.hero > .fx { z-index: 1; inset: calc(var(--head) * -1) calc(50% - 50vw) 0; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.w-pin > .fx { z-index: 1; inset: 0; }
.fx canvas { display: block; width: 100%; height: 100%; }
.hero .art { position: relative; z-index: 0; }
.hero .intro-col { z-index: 2; }
.beam { right: -12vw; top: -10vh; width: 70vw; height: 150%; transform-origin: 100% 0; transform: rotate(32deg);
  background: linear-gradient(270deg, rgba(255,214,150,.20), rgba(255,214,150,.06) 45%, rgba(255,214,150,0) 75%); }
.beam.b2 { right: 6vw; width: 34vw; transform: rotate(36deg); opacity: .6; }
.mist { left: -50%; width: 200%; height: 46%; background:
  radial-gradient(40% 50% at 25% 50%, rgba(217,225,232,.14), transparent 70%),
  radial-gradient(35% 45% at 70% 60%, rgba(217,225,232,.10), transparent 70%); }
.mist.m1 { bottom: 4%; }
.mist.m2 { top: 18%; height: 38%; opacity: .7; }
.flare { right: 6%; top: 4%; width: 70vmin; height: 70vmin; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,236,220,.22), transparent); }
.lamp { left: 50%; top: -20%; width: 90vmin; height: 90vmin; margin-left: -45vmin; border-radius: 50%; background: radial-gradient(closest-side, rgba(224,178,90,.18), transparent); }

/* ---------------------------------------------------------------- persona hero */
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); align-items: center;
  padding: var(--s3) 0 var(--s7); min-height: calc(100svh - var(--head)); }
.art { margin: 0; justify-self: center; width: min(100%, calc(58svh * .8), 520px); }
.intro-col { position: relative; }
.intro-col h1 { margin-bottom: var(--s4); }
.kin .wd { display: inline-block; overflow: clip; padding: .08em .02em .14em; margin: -.08em -.02em -.14em; vertical-align: top; }
.kin .wd > span { display: inline-block; }
.badges { margin: 0 0 var(--s3); }
.badge { display: inline-flex; align-items: center; gap: 6px; font: 600 var(--t-xs)/1 var(--ui); letter-spacing: .02em; padding: 7px 11px;
  border-radius: 999px; border: 1px solid currentColor; color: var(--muted); }
.badge.ai::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.disclosure { font-size: var(--t-sm); color: var(--muted); border-left: 2px solid var(--accent); padding-left: var(--s3); }
.voice { font-size: var(--t-lg); line-height: 1.55; }
.bio { font-size: var(--t-lg); }
.cue { display: none; }

/* the catchphrase: letters arrive, one word gets its own move */
.catch { font: 600 var(--t-xl)/1.15 var(--display); color: var(--accent); margin: 0 0 var(--s5); letter-spacing: -.01em; }
.catch .kc { display: inline; }
.catch .cw { position: relative; display: inline-block; white-space: nowrap; }
.catch .ch { display: inline-block; }
.m-strike::after { content: ""; position: absolute; left: -2%; right: -2%; top: 54%; height: .09em; border-radius: 1em; background: currentColor;
  transform-origin: 0 50%; }
.m-strike { color: var(--muted); }
.m-glow { color: var(--glow); text-shadow: 0 0 .5em rgba(250,216,86,.45); }
.m-plane::after { content: ""; position: absolute; left: 0; right: -6%; bottom: -.12em; height: .16em; border-radius: 0 1em 1em 0;
  border: .05em solid currentColor; border-left: 0; transform-origin: 0 50%; opacity: .8; }
.m-snip::after { content: ""; position: absolute; left: -4%; right: -4%; top: 50%; border-top: .06em dashed currentColor; transform-origin: 0 50%; opacity: .7; }
.m-stamp { padding: 0 .18em; border: .08em solid currentColor; border-radius: .12em; transform: rotate(-4deg); }

/* follow: the bio link's job. Magnetic (site.js), a light sweep, a press squish */
.follow { list-style: none; padding: 0; margin: var(--s4) 0 0; display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.follow-btn { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto;
  align-items: center; column-gap: 12px; min-height: 60px; padding: 10px 14px; text-decoration: none; background: var(--ink); color: var(--bg);
  border-radius: 18px; translate: var(--mgx, 0) var(--mgy, 0); transition: scale .18s var(--out), box-shadow .25s; }
.follow-btn .pi { grid-row: span 2; }
.follow-btn.one-row { grid-template-rows: auto; }
.follow-btn.one-row .pi, .follow-btn.one-row .go { grid-row: 1; }
.follow-btn .pi .cut { fill: var(--ink); }
.follow-btn .pl { font-weight: 700; line-height: 1.1; }
.follow-btn .handle { font-size: var(--t-xs); opacity: .75; grid-column: 2; line-height: 1.25; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.follow-btn .go { grid-row: 1 / span 2; grid-column: 3; width: 10px; height: 10px; border: solid currentColor; border-width: 2px 2px 0 0;
  transform: rotate(45deg); transition: transform .25s var(--out); }
.follow-btn::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--out); }
.follow-btn:hover { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent); }
.follow-btn:hover::before { transform: translateX(120%); }
.follow-btn:hover .go { transform: translateX(3px) rotate(45deg); }
.follow-btn:active { scale: .96; }
.follow-none { position: relative; font-size: var(--t-sm); color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius-sm);
  padding: var(--s3) var(--s4) var(--s3) 40px; margin: var(--s4) 0 0; }
.follow-none::before { content: ""; position: absolute; left: 16px; top: 1.15em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 12px var(--accent); }
.follow-none strong { color: var(--ink); }
.chip { display: inline-block; font: 700 .66rem/1 var(--ui); letter-spacing: .06em; padding: 4px 6px; border-radius: 6px; vertical-align: middle;
  border: 1px solid var(--line); color: var(--muted); margin-left: 6px; }
.business { margin: var(--s4) 0 0; font-size: var(--t-sm); color: var(--muted); }
.business a { font-weight: 700; overflow-wrap: anywhere; }

/* ---------------------------------------------------------------- episodes: a reel strip (cover-flow on phones), a grid on desktop */
.eps { list-style: none; padding: var(--s2) var(--gutter) var(--s4); margin: 0 calc(var(--gutter) * -1); display: grid; gap: var(--s3); grid-auto-flow: column;
  grid-auto-columns: minmax(170px, 52%); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; perspective: 900px;
  scrollbar-width: none; }
.eps::-webkit-scrollbar { display: none; }
.ep { scroll-snap-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: translate .3s var(--out), box-shadow .3s; }
.thumb { aspect-ratio: 9 / 16; background: var(--bg-2); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: scale .6s var(--out); }
.thumb-fallback { display: block; width: 100%; height: 100%; background: linear-gradient(160deg, var(--surface), var(--bg-2)); }
.ep-body { padding: var(--s3) var(--s3) var(--s4); }
.ep h3 { font-size: var(--t-md); }
.meta { font-size: var(--t-xs); color: var(--muted); margin: 0 0 var(--s2); }
.watch { list-style: none; padding: 0; margin: var(--s2) 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.watch a { display: inline-flex; align-items: center; min-height: 40px; font-size: var(--t-xs); font-weight: 700; padding: 0 14px; border-radius: 999px;
  text-decoration: none; border: 1px solid var(--line); color: var(--ink); transition: border-color .2s, background-color .2s; }
.watch a:hover { border-color: var(--accent); }
.watch.big a { font-size: var(--t-sm); min-height: 46px; padding: 0 18px; }
.ep .watch { gap: 4px; }
.ep .watch a { min-height: 34px; padding: 0 10px; }
.more { margin: var(--s4) 0 0; font-weight: 700; }
/* nothing published yet: an empty reel strip waiting for its first episode (honest, no fake cards) */
.latest .empty { position: relative; overflow: hidden; padding: 172px var(--s5) var(--s5); text-align: left; }
.latest .empty::before { content: ""; position: absolute; left: var(--s5); top: var(--s5); width: 70px; height: 124px; border-radius: 12px;
  background: var(--surface); border: 1px dashed var(--line); box-shadow: 84px 0 0 -1px var(--surface), 168px 0 0 -1px var(--surface); }
.latest .empty::after { content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-100%);
  background: linear-gradient(100deg, transparent 20%, color-mix(in srgb, var(--accent) 14%, transparent) 50%, transparent 80%); }
.portal a:active, .cast-nav a:active { scale: .97; }

/* persona sections */
.entries { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.entries a { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s3); padding: var(--s4) var(--s5); text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, translate .25s var(--out); }
.entries a:hover { border-color: var(--accent); translate: 4px 0; }
.entries .no { font: 700 var(--t-xs)/1 var(--ui); color: var(--accent); min-width: 4.2em; }
.entries .t { font: 600 var(--t-lg)/1.2 var(--display); }
.entries .sub, p.sub { display: block; color: var(--muted); font-size: var(--t-sm); padding: 4px var(--s5) 0; }
p.sub { padding: 0; font-size: var(--t-md); }
.flags, .facts, .steps { padding-left: 1.3em; }
.flags li, .facts li, .steps li { margin: .45em 0; max-width: var(--read); }
.sources h4 { margin-top: var(--s4); }
.sources ul { list-style: none; padding: 0; margin: 4px 0 0; }
.sources li { margin: 6px 0; overflow-wrap: anywhere; }
.sources .path { color: var(--muted); font-size: var(--t-xs); margin-left: 6px; }
.note, .report { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); }
.report { border-color: var(--accent); }
.report-list { list-style: none; padding: 0; }
.report-list li { margin: var(--s2) 0; }
.back { font-weight: 700; }
.series { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); margin: 0 0 var(--s3); }
.parts { list-style: none; padding: 0; margin: 0; }
.parts > li { display: grid; grid-template-columns: 4.6em 1fr; gap: 4px var(--s3); padding: var(--s3) 0; border-top: 1px solid var(--line); }
.parts .part { font-weight: 800; color: var(--accent); font-size: var(--t-xs); padding-top: 2px; }
.parts .watch { grid-column: 2; }
.notes { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.note-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); }
.safety { font-weight: 700; color: var(--accent); }
.verdicts { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.verdicts > li { display: grid; grid-template-columns: auto 1fr; gap: 6px var(--s3); align-items: center; padding: var(--s4); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-sm); }
.verdicts time { grid-column: 2; font-size: var(--t-xs); color: var(--muted); }
.verdicts .watch { grid-column: 2; }
.verdict { font: 800 .72rem/1.1 var(--ui); letter-spacing: .04em; text-transform: uppercase; padding: 8px 10px; border-radius: 8px; text-align: center;
  grid-row: span 3; align-self: start; max-width: 7.5em; }
.v-none { border: 1px dashed var(--line); color: var(--muted); }

/* quick answers */
.faq details { border-top: 1px solid var(--line); max-width: 780px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: 60px;
  padding: var(--s3) 0; font: 600 var(--t-lg)/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line);
  background: linear-gradient(var(--accent), var(--accent)) center / 12px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 2px 12px no-repeat;
  transition: transform .3s var(--out); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { margin: 0 0 var(--s4); }
.faq .src a { overflow-wrap: anywhere; }

/* forms */
form label.field { display: block; font-weight: 700; margin: var(--s3) 0 4px; }
input[type=email] { width: 100%; max-width: 460px; min-height: 50px; padding: 12px 14px; font: 400 1rem var(--ui); border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.consent { display: flex; gap: var(--s3); align-items: flex-start; margin: var(--s4) 0; font-size: var(--t-sm); max-width: 62ch; }
.consent input { margin-top: 3px; width: 22px; height: 22px; flex: none; accent-color: var(--accent); }
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px;
  font: 700 1rem/1 var(--ui); padding: 0 24px; border: 0; border-radius: 999px; cursor: pointer; background: var(--accent); color: var(--accent-ink);
  text-decoration: none; translate: var(--mgx, 0) var(--mgy, 0); transition: scale .18s var(--out), box-shadow .25s; }
.btn::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--out); }
.btn:hover { box-shadow: 0 10px 30px -8px var(--accent); }
.btn:hover::before { transform: translateX(120%); }
.btn:active { scale: .96; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* sub pages + footer */
.bar { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s3) 0 var(--s5); }
.bar .home { display: inline-flex; align-items: center; gap: 10px; font: 600 var(--t-lg)/1.2 var(--display); text-decoration: none; color: var(--ink); }
.bar .face { width: 36px; height: 36px; }
.sub main h1 { font-size: var(--t-2xl); }
.cast-nav { margin-top: var(--s8); }
.cast-nav h2 { font-size: var(--t-xl); }
.cast-nav ul { list-style: none; padding: 0; margin: var(--s5) 0 0; display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); max-width: 640px; }
.cast-nav a { display: grid; gap: var(--s3); text-decoration: none; color: var(--ink); }
.cast-nav .win { width: 100%; box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgba(0,0,0,.35); }
.o-txt { display: grid; gap: 2px; }
.o-name { font: 600 var(--t-lg)/1.15 var(--display); }
.o-kick { font-size: var(--t-xs); color: var(--muted); }
.cast-nav a:hover .o-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.foot { position: relative; margin-top: var(--s9); padding-top: var(--s6); }
.band { display: block; height: 10px; margin: 0 0 var(--s6); border-radius: 4px; opacity: .55;
  background: linear-gradient(135deg, var(--accent) 25%, transparent 25%) -6px 0 / 12px 10px repeat-x,
              linear-gradient(225deg, var(--accent) 25%, transparent 25%) -6px 0 / 12px 10px repeat-x,
              linear-gradient(315deg, var(--accent) 25%, transparent 25%) 0 0 / 12px 10px repeat-x,
              linear-gradient(45deg, var(--accent) 25%, transparent 25%) 0 0 / 12px 10px repeat-x; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 var(--s4); margin: 0 0 var(--s3); }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-size: var(--t-sm); }
.foot .disc { font-size: var(--t-sm); color: var(--muted); }
.foot .disc strong { color: var(--ink); }

/* products (persona page, home, shop) */
.offers { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.offer-card > a, .offer-card > div { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: var(--s5); text-decoration: none; color: var(--ink);
  background: var(--surface); border: 2px solid var(--accent); border-radius: var(--radius); transition: translate .25s var(--out); }
.offer-card > a:hover { translate: 0 -3px; }
.offer-card.soon > div { border-style: dashed; border-color: var(--line); }
.o-kind { font: 700 var(--t-xs)/1.2 var(--ui); color: var(--accent); }
.o-title { font: 600 var(--t-xl)/1.15 var(--display); }
.o-promise { color: var(--muted); }
.o-price { font-weight: 800; font-size: var(--t-lg); }
.o-go { margin-top: auto; font-weight: 800; color: var(--link); }
.product { margin-top: var(--s6); }
.promise { font-size: var(--t-lg); max-width: 52ch; }
.offer-top { display: grid; gap: var(--s5); align-items: start; margin: var(--s4) 0 var(--s2); }
.cover { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--surface); max-width: 420px; width: 100%; justify-self: center; }
.cover img { display: block; width: 100%; height: auto; }
.cover figcaption { position: absolute; left: 10px; bottom: 10px; font: 700 .7rem/1 var(--ui); letter-spacing: .04em; text-transform: uppercase;
  background: rgba(0,0,0,.66); color: #fff; padding: 6px 9px; border-radius: 999px; }
.buybox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); }
.buybox .price { font: 800 2rem/1.1 var(--ui); margin: 0 0 .5em; }
.buy-facts { padding-left: 1.2em; margin: 0 0 var(--s4); }
.buy-facts li { margin: .3em 0; }
.consent-box { width: 22px; height: 22px; accent-color: var(--accent); margin: 4px 0 0; float: left; }
.consent-box + .consent { margin-left: 34px; display: block; }
.btn.checkout { display: none; margin: 6px 0 10px; font-size: 1.08rem; min-height: 56px; }
.checkout-locked { margin: 6px 0 10px; font-weight: 700; }
.consent-box:checked ~ .btn.checkout { display: inline-flex; }
.consent-box:checked ~ .checkout-locked { display: none; }
.inside { padding-left: 1.3em; }
.inside li { margin: .45em 0; max-width: var(--read); }
.previews { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.previews img { display: block; width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--line); background: #fff; }

/* media kit */
.kit-stats { list-style: none; padding: 0; margin: 0 0 var(--s3); display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.kit-stats li { display: flex; flex-direction: column; gap: 2px; padding: var(--s4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.kit-stats .pl { font-weight: 700; color: var(--muted); font-size: var(--t-xs); }
.kit-stats .num { font: 600 1.8rem/1.1 var(--display); }
.kit-top { padding-left: 1.2em; }

/* ---------------------------------------------------------------- home: the night valley + the lit windows */
.home-hero { position: relative; isolation: isolate; display: grid; gap: var(--s8); align-content: start; min-height: calc(100svh - var(--head));
  padding: var(--s4) 0 var(--s7); }
.sky { position: absolute; z-index: -1; inset: calc(var(--head) * -1) calc(50% - 50vw) -1px; overflow: clip; pointer-events: none;
  background: linear-gradient(180deg, #060A10 0%, #0A111B 38%, #121B26 66%, var(--bg) 100%); }
.sky > span { position: absolute; display: block; }
.stars { inset: 0 0 35% 0; background-repeat: no-repeat; background-image:
  radial-gradient(1.2px 1.2px at 6% 12%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 14% 34%, #fff 50%, transparent 51%),
  radial-gradient(1.4px 1.4px at 23% 8%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 31% 26%, #dfe8ff 50%, transparent 51%),
  radial-gradient(1px 1px at 39% 14%, #fff 50%, transparent 51%), radial-gradient(1.3px 1.3px at 47% 38%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 55% 6%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 63% 22%, #ffe9c0 50%, transparent 51%),
  radial-gradient(1.5px 1.5px at 71% 11%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 79% 31%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 87% 7%, #dfe8ff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 94% 24%, #fff 50%, transparent 51%); }
.stars.s2 { opacity: .6; transform: translate(3%, 9%) scale(-1, 1); }
.moon { right: 7%; top: calc(var(--head) + 6px); width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle closest-side at 44% 42%, #FFF8E8, #F3DDA9 70%, #E2C07E);
  box-shadow: 0 0 40px 14px rgba(244,221,168,.16), 0 0 160px 60px rgba(244,221,168,.07); transform: translate(calc(var(--mx, 0) * -6px), calc(var(--my, 0) * -4px)); }
.ridge { left: -4%; right: -4%; bottom: 0; background-repeat: no-repeat; background-size: 100% 100%; }
.ridge.r3 { height: 46%; transform: translate(calc(var(--mx, 0) * -6px), 0);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 400' preserveAspectRatio='none'%3E%3Cpath fill='%23142030' d='M0 230 L90 180 L170 205 L260 120 L330 160 L420 95 L520 170 L600 140 L700 60 L790 140 L880 110 L960 150 L1050 80 L1150 150 L1240 120 L1340 170 L1440 130 V400 H0Z'/%3E%3C/svg%3E"); }
.ridge.r2 { height: 34%; transform: translate(calc(var(--mx, 0) * -14px), 0);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 300' preserveAspectRatio='none'%3E%3Cpath fill='%23101924' d='M0 170 L110 120 L200 150 L300 90 L410 150 L520 110 L640 160 L760 100 L860 140 L980 85 L1090 145 L1200 115 L1320 150 L1440 105 V300 H0Z'/%3E%3C/svg%3E"); }
.ridge.r1 { height: 20%; transform: translate(calc(var(--mx, 0) * -26px), 0);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180' preserveAspectRatio='none'%3E%3Cpath fill='%230D131A' d='M0 120 L40 120 L52 80 L64 120 L120 110 L132 66 L146 110 L220 100 L232 58 L246 100 L330 112 L420 96 L432 52 L446 96 L560 108 L640 100 L652 64 L666 100 L780 112 L900 98 L912 54 L926 98 L1040 110 L1120 104 L1132 70 L1146 104 L1260 100 L1272 46 L1286 100 L1380 110 L1392 74 L1406 110 L1440 106 V180 H0Z'/%3E%3C/svg%3E"); }
.sky .fx { inset: 0; }
.hero .cue { z-index: 2; }
.hh-copy { position: relative; padding-top: var(--s4); }
.hh-copy .kicker { color: var(--accent); font-weight: 600; }
.home-hero h1 { max-width: 11ch; margin-bottom: var(--s4); }
.lede { font-size: var(--t-lg); color: var(--muted); max-width: 52ch; margin: 0; }
.portals { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-end; justify-content: center; gap: var(--s4); }
.portal { --d: -12px; position: relative; isolation: isolate; flex: 0 1 44%; max-width: 290px;
  transform: translate(calc(var(--mx, 0) * var(--d)), calc(var(--my, 0) * var(--d) * .6)); }
.portal.i1 { --d: -22px; } .portal.i2 { --d: -7px; } .portal.i3 { --d: -16px; }
.portal::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 38%; width: 170%; aspect-ratio: 1; margin: -85% 0 0 -85%; border-radius: 50%;
  background: radial-gradient(closest-side, var(--pg), transparent); opacity: .5; pointer-events: none; }
.portal.soon { flex-basis: 30%; max-width: 190px; }
.portal.soon::before { opacity: .18; }
.portal a, .portal .pl-in { display: grid; gap: 6px; text-decoration: none; color: var(--ink); justify-items: center; text-align: center;
  transform: translate(var(--mgx, 0), var(--mgy, 0)); }
.portal .win { width: 100%; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 26px 50px rgba(0,0,0,.5); }
.p-toma .win { box-shadow: 0 0 0 5px #3A2614, 0 0 0 6px rgba(255,214,150,.3), 0 26px 50px rgba(0,0,0,.5); }
.p-gogu .win { box-shadow: 0 0 0 2px #AC824D, 0 0 0 7px rgba(172,130,77,.16), 0 26px 50px rgba(0,0,0,.5); }
.p-vera .win { box-shadow: 0 0 0 4px #C79A4B, 0 26px 50px rgba(0,0,0,.5); }
.pn { font: 600 var(--t-lg)/1.1 var(--display); margin-top: 6px; }
.pk { font-size: var(--t-xs); color: var(--muted); line-height: 1.3; max-width: 22ch; }
.say { position: absolute; z-index: 4; left: 50%; bottom: calc(100% + 10px); width: max-content; max-width: 230px; padding: 10px 14px; border-radius: 16px 16px 16px 4px;
  background: var(--ink); color: var(--bg); font: 500 var(--t-xs)/1.4 var(--ui); text-align: left; opacity: 0; transform: translate(-30%, 8px) scale(.92);
  transform-origin: 0 100%; transition: opacity .2s, transform .35s var(--spring); pointer-events: none; }
.portal a:hover .say, .portal a:focus-visible .say { opacity: 1; transform: translate(-30%, 0) scale(1); }
.portal.soon:hover .veil, .world.soon .w-win:hover .veil { opacity: .25; }
.p-toma { --pg: rgba(255,170,90,.5); } .p-gogu { --pg: rgba(250,216,86,.5); } .p-vera { --pg: rgba(227,163,160,.45); }
.p-hoot { --pg: rgba(224,178,90,.4); } .p-mara { --pg: rgba(231,162,180,.4); }

/* the worlds: walk through each window (scroll-driven where supported, a plain stack everywhere else) */
.cast { margin-top: var(--s6); }
.world { position: relative; isolation: isolate; margin: 0 calc(50% - 50vw); color: var(--ink); }
.w-pin { position: sticky; top: 0; height: 100svh; overflow: clip; display: grid; place-items: start center; padding-top: 11svh; }
.w-pin .scene { inset: 0; z-index: -1; background: var(--wbg, var(--bg));
  -webkit-mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent); }
.w-win { position: relative; width: min(80vw, calc(64svh * .8), 560px); }
.w-win video { position: absolute; inset: 0; object-position: 50% 28%; }
.w-card { position: relative; z-index: 2; width: min(100% - 32px, 560px); margin: -14svh auto var(--s9); padding: var(--s6) var(--s5) var(--s5);
  border-radius: 26px; background: var(--card, var(--surface)); color: var(--ink); box-shadow: 0 40px 90px rgba(0,0,0,.5), 0 0 0 1px var(--line); }
.w-card h3 { font-size: var(--t-2xl); margin-bottom: var(--s3); }
.w-card h3 a { color: inherit; text-decoration: none; }
.w-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.w-card .catch { font-size: var(--t-xl); }
.pc-latest { margin: 0 0 var(--s3); padding: var(--s3) var(--s4); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.pc-latest .t { margin: 0 0 4px; font-weight: 700; }
.pc-offer { margin: 0 0 var(--s3); }
.pc-go { margin: var(--s5) 0 0; }
.shop-link { margin: var(--s5) auto 0; width: min(100%, 560px); }
/* world palettes (the persona pages get the same from cast-<slug>.css) */
.w-toma { --wbg: #1C130C; --g1: rgba(255,186,110,.32); --g2: rgba(169,62,45,.22);
  --card: #F3EBDD; --ink: #23180A; --muted: #5C4A33; --line: rgba(63,41,10,.18); --accent: #A93E2D; --link: #8C2E1F; --accent-ink: #FFF8EE;
  --surface: #FBF6EC; --raise: #E9DCC6; --bg: #F3EBDD; --glow: #BD9059; }
.w-gogu { --wbg: #0F1C16; --g1: rgba(250,216,86,.16); --g2: rgba(157,180,240,.16);
  --card: #132019; --ink: #EFE6D4; --muted: #BDB5A0; --line: rgba(218,207,190,.16); --accent: #FAD856; --link: #FAD856; --accent-ink: #132019;
  --surface: #1A2B22; --bg: #132019; }
.w-vera { --wbg: #2A1B1E; --g1: rgba(227,163,160,.32); --g2: rgba(199,154,75,.22);
  --card: #F7EDE2; --ink: #1D1C21; --muted: #594D45; --line: rgba(29,28,33,.15); --accent: #9A4512; --link: #8E3F10; --accent-ink: #FFF7EC;
  --surface: #FFF8EF; --bg: #F7EDE2; --glow: #C79A4B; }
.w-hoot { --wbg: #12151A; --g1: rgba(224,178,90,.18); --g2: rgba(176,40,58,.16);
  --card: #1D2128; --ink: #EDE3CF; --muted: #B4AB9B; --line: rgba(237,227,207,.13); --accent: #E0B25A; --link: #E0B25A; --accent-ink: #15181D;
  --surface: #232831; --bg: #15181D; }
.w-mara { --wbg: #241A1D; --g1: rgba(231,162,180,.24); --g2: rgba(199,127,146,.16);
  --card: #F5EFE9; --ink: #2A2522; --muted: #5E534C; --line: rgba(42,37,34,.15); --accent: #9C3D54; --link: #8A3048; --accent-ink: #FFF8F5;
  --surface: #FFFAF5; --bg: #F5EFE9; }
.world .giant { -webkit-text-stroke-color: rgba(255,240,220,.10); }
.w-toma .win { box-shadow: 0 0 0 8px #3A2614, 0 0 0 9px rgba(255,214,150,.3), var(--shadow); }
.w-gogu .win { box-shadow: 0 0 0 3px #AC824D, 0 0 0 10px rgba(172,130,77,.16), 0 0 80px -10px rgba(250,216,86,.35), var(--shadow); }
.w-vera .win { box-shadow: 0 0 0 6px #C79A4B, 0 0 0 7px rgba(255,240,210,.5), var(--shadow); }
.world.soon .w-card { opacity: .96; }

/* how we label AI */
.label-list { list-style: none; padding: 0; margin: 0 0 var(--s5); max-width: 780px; border-top: 1px solid var(--line); }
.label-list li { position: relative; padding: var(--s4) var(--s4) var(--s4) 48px; border-bottom: 1px solid var(--line); }
.label-list li::before { content: ""; position: absolute; left: 12px; top: 1.15em; width: 22px; height: 22px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 18%, transparent); }
.label-list li::after { content: ""; position: absolute; left: 18px; top: calc(1.15em + 6px); width: 10px; height: 6px; border: solid var(--accent);
  border-width: 0 0 2px 2px; transform: rotate(-45deg); }

/* ---------------------------------------------------------------- wider screens */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .cast-links { display: block; }
  .dock { display: none; }
  .wrap { padding-bottom: var(--s8); }
  .eps { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); overflow: visible; margin: 0; padding: 0; perspective: none; }
  .ep:hover { translate: 0 -4px; box-shadow: 0 20px 40px rgba(0,0,0,.3); }
  .ep:hover .thumb img { scale: 1.05; }
  .offer-top { grid-template-columns: minmax(240px, 380px) 1fr; gap: var(--s6); }
  .block { margin-top: var(--s9); }
  .portal { flex-basis: 30%; }
}
@media (min-width: 1080px) {
  body.cast:not(.sub):not(.t-studio) main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--s8); grid-auto-flow: dense; }
  body.cast:not(.sub):not(.t-studio) main > * { grid-column: 1 / -1; }
  body.cast:not(.sub):not(.t-studio) main > .faq { grid-column: 1; }
  body.cast:not(.sub):not(.t-studio) main > .about { grid-column: 2; }
  .eps { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
}
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s8); padding-top: var(--s5); }
  .art { width: min(100%, calc(76svh * .8)); }
  .cue { position: absolute; left: 50%; bottom: var(--s4); display: grid; justify-items: center; gap: 8px; color: var(--muted); text-decoration: none;
    font: 600 var(--t-xs)/1 var(--ui); translate: -50% 0; }
  .cue-line { display: block; width: 1px; height: 44px; background: linear-gradient(var(--muted), transparent); transform-origin: 50% 0; }
  .home-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; align-content: center; gap: var(--s5); }
  .hh-copy { position: static; }
  .moon { width: 76px; height: 76px; right: 10%; top: calc(var(--head) + 24px); }
  .home-hero h1 { font-size: clamp(3rem, 1rem + 4.2vw, 5.2rem); max-width: none; }
  .portals { gap: var(--s5); align-items: center; }
  .portal { flex-basis: 38%; }
  .portal.i1 { margin-top: 110px; }
  .portal.soon { flex-basis: 26%; margin-top: 230px; }
  .world { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .w-pin { grid-column: 1 / -1; grid-row: 1; align-self: start; justify-items: start; padding-left: max(6vw, calc(50vw - 560px)); }
  .w-win { width: min(40vw, calc(78svh * .8), 560px); }
  .w-card { grid-column: 2; grid-row: 1; align-self: start; margin: 64svh max(6vw, calc(50vw - 560px)) 36svh 0; width: auto; max-width: 520px; }
}

/* ---------------------------------------------------------------- motion (all of it is off with reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  html { scroll-behavior: smooth; }
  ::view-transition-group(*) { animation-duration: .55s; animation-timing-function: var(--out); }
  ::view-transition-old(root) { animation: .25s var(--in) both vt-out; }
  ::view-transition-new(root) { animation: .5s var(--out) .05s both vt-in; }
  .vt-toma { view-transition-name: art-toma; } .vt-gogu { view-transition-name: art-gogu; } .vt-vera { view-transition-name: art-vera; }
  .vt-hoot { view-transition-name: art-hoot; } .vt-mara { view-transition-name: art-mara; }

  /* the owl blinks now and then */
  .mark-eyes i { animation: blink 7s 2s infinite; }
  .mark-eyes i + i { animation-delay: 2.04s; }

  /* first screen, on load (never the opacity of the picture: it is the LCP) */
  .kin .wd > span { animation: word-rise 1s var(--out) both; animation-delay: calc(var(--i) * 85ms + 120ms); }
  .hero .win-in, .portal .win-in { animation: settle 1.8s var(--out) both; }
  .hero .win { animation: win-land 1.2s var(--out) both; }
  .portal { animation: portal-rise 1.1s var(--out) both; animation-delay: calc(var(--i, 0) * 140ms + 250ms); }
  .portal::before { animation: lamp-on 1.6s linear both; animation-delay: calc(var(--i, 0) * 280ms + 500ms); }
  /* the characters greet you in turn, once (the first two windows) */
  .portal.i0 .say, .portal.i1 .say { animation: say-once 3.2s var(--out) backwards; animation-delay: calc(var(--i, 0) * 3.4s + 1.9s); }
  .portal.soon::before { animation-name: lamp-dim; }
  .portal > a, .portal > .pl-in { animation: float 7s ease-in-out infinite alternate; animation-delay: calc(var(--i, 0) * -2.3s); }
  .hh-copy .kicker, .intro-col > :not(h1) { animation: fade-up .9s var(--out) both; animation-delay: .45s; }
  .hh-copy .lede { animation: nudge 1s var(--out) .3s both; }   /* the lede may be the LCP: translate only */
  .cue { animation: fade-up .9s var(--out) 1.4s both; }
  .cue-line { animation: cue 2.4s var(--out) 2s infinite; }
  /* the catchphrase moves (hero: on load; home worlds: when the card arrives). --cd = when it starts */
  .hero { --cd: 750ms; } .w-card { --cd: 350ms; }
  .catch .ch { animation: ch-in .7s var(--out) both; animation-delay: calc(var(--i) * 38ms + var(--cd, 0ms)); }
  .t-toma .hero .catch .ch, .w-toma .w-card .catch .ch { animation-name: stamp; animation-duration: .5s; animation-timing-function: var(--spring);
    animation-delay: calc(var(--i) * 55ms + var(--cd, 0ms)); }
  .catch .cw.m-glow .ch { animation-name: ch-glow; animation-duration: .9s; animation-delay: calc(var(--i) * 60ms + var(--cd, 0ms) + 700ms); }
  .catch .cw.m-snip .ch { animation-name: snip; animation-delay: calc(var(--i) * 45ms + var(--cd, 0ms) + 200ms); }
  .m-strike::after { animation: draw .5s var(--out) both; animation-delay: calc(var(--cd, 0ms) + 820ms); }
  .m-plane::after { animation: draw .8s var(--out) both; animation-delay: calc(var(--cd, 0ms) + 1100ms); }
  .m-snip::after { animation: draw .45s var(--out) both; animation-delay: calc(var(--cd, 0ms) + 900ms); }
  .m-stamp { animation: stamp-box .45s var(--spring) both; animation-delay: calc(var(--cd, 0ms) + 600ms); }

  /* ambient light */
  .beam { animation: breathe 9s ease-in-out infinite alternate; }
  .beam.b2 { animation-duration: 13s; animation-delay: -4s; }
  .mist.m1 { animation: drift 46s ease-in-out infinite alternate; }
  .mist.m2 { animation: drift 64s ease-in-out -20s infinite alternate-reverse; }
  .stars.s1 { animation: twinkle 5s ease-in-out infinite alternate; }
  .stars.s2 { animation: twinkle 7s ease-in-out -3s infinite alternate; }
  .gem::before { animation: gem 3.6s ease-in-out infinite; }
  .gem::after { animation: gem-halo 3.6s ease-in-out infinite; }
  .flare { animation: breathe 8s ease-in-out infinite alternate; }
  .latest .empty::after { animation: sweep 4.5s var(--out) 1s infinite; }
  .band { background-position: 0 0; }

  /* reveals (site.js adds .in once; without JS nothing is hidden) */
  .js .rv:not(.in) { opacity: 0; transform: translateY(24px); }
  .js .rv.in:not(.now) { animation: fade-up .9s var(--out) both; }
  .js .rv.kids:not(.in) { opacity: 1; transform: none; }
  .js .rv.kids:not(.in) > * { opacity: 0; transform: translateY(20px); }
  .js .rv.kids.in:not(.now) { animation: none; }
  .js .rv.kids.in:not(.now) > * { animation: fade-up .8s var(--out) both; animation-delay: calc(var(--k, 0) * 80ms); }
  .js .w-card:not(.in) .ch, .js .w-card:not(.in) .cw::after, .js .w-card:not(.in) .m-stamp { animation-play-state: paused; }
  .js .block > h2:not(.in)::after, .js .sec-head:not(.in) h2::after { transform: scaleX(0); }
  .js .block > h2.in::after, .js .sec-head.in h2::after { transition: transform .9s var(--out) .15s; }
  .js .label-list:not(.in) li::after { transform: rotate(-45deg) scale(0); }
  .js .label-list.in li::after { transition: transform .4s var(--spring); transition-delay: calc(var(--k, 0) * 90ms + 300ms); }
  .label-list > :nth-child(1){--k:0}.label-list > :nth-child(2){--k:1}.label-list > :nth-child(3){--k:2}.label-list > :nth-child(4){--k:3}.label-list > :nth-child(5){--k:4}

  @supports (animation-timeline: view()) {
    .progress { animation: grow linear both; animation-timeline: scroll(root); }
    .home .dock { animation: dock-in linear both; animation-timeline: scroll(root); animation-range: 0 45vh; }
    .sky .ridge.r1 { translate: 0 0; animation: sink linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .sky .moon { animation: moon-set linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .hero .scene .giant, .sky .stars { animation: lift linear both; animation-timeline: scroll(root); animation-range: 0 120vh; }

    /* walk through the window: it opens while the world scrolls in, the picture stays put (inverse scale), the light floods in */
    .world { view-timeline: --world block; }
    .w-win { animation: win-open linear both; animation-timeline: --world; animation-range: entry 5% entry 100%; }
    .w-win .win-in { animation: win-zoom linear both; animation-timeline: --world; animation-range: entry 5% entry 100%; }
    .w-pin .scene > .glow, .w-pin .scene > .beam, .w-pin .scene > .mist, .w-pin .scene > .flare, .w-pin .scene > .lamp { opacity: 1; }
    .w-pin .scene { animation: light-up linear both; animation-timeline: --world; animation-range: entry 0% entry 70%; }
    .w-pin .giant { animation: giant-pass linear both; animation-timeline: --world; animation-range: cover 0% cover 100%; }
    .w-pin .w-win { --exit: 1; }
    .w-pin { animation: pin-exit linear both; animation-timeline: --world; animation-range: exit 0% exit 100%; }

    /* the reel strip: cards turn as they cross the phone screen */
    .eps > li { animation: flow linear both; animation-timeline: view(inline); animation-range: cover 0% cover 100%; }
  }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 720px) {
  .eps > li { animation: none; }
}
@keyframes word-rise { from { translate: 0 108%; } }
@keyframes settle { from { scale: 1.14; } }
@keyframes win-land { from { scale: .94; } }
@keyframes portal-rise { from { translate: 0 60px; } }
@keyframes float { from { translate: 0 0; } to { translate: 0 10px; } }
@keyframes lamp-on { from { opacity: 0; } 18% { opacity: .35; } 24% { opacity: .08; } 34% { opacity: .5; } 40% { opacity: .2; } to { opacity: .5; } }
@keyframes lamp-dim { from { opacity: 0; } }
@keyframes sweep { from { transform: translateX(-100%); } 60%, to { transform: translateX(100%); } }
@keyframes say-once { from { opacity: 0; transform: translate(-30%, 8px) scale(.9); } 12%, 85% { opacity: 1; transform: translate(-30%, 0) scale(1); }
  to { opacity: 0; transform: translate(-30%, -4px) scale(.98); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } }
@keyframes nudge { from { translate: 0 16px; } }
@keyframes ch-in { from { opacity: 0; translate: 0 .45em; rotate: 8deg; } }
@keyframes stamp { from { opacity: 0; scale: 2.1; } 55% { opacity: 1; scale: .9; } }
@keyframes ch-glow { from { opacity: 0; scale: .4; } 60% { opacity: 1; scale: 1.25; } }
@keyframes snip { from { opacity: 0; translate: 0 -.4em; rotate: -14deg; } 60% { opacity: 1; translate: 0 .06em; rotate: 3deg; } }
@keyframes stamp-box { from { opacity: 0; scale: 1.8; } }
@keyframes draw { from { transform: scaleX(0); } }
@keyframes cue { from { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } to { transform: scaleY(1); opacity: 0; } }
@keyframes blink { 0%, 96%, 100% { transform: scaleY(1); } 98% { transform: scaleY(.1); } }
@keyframes breathe { from { opacity: .55; } to { opacity: 1; } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(22%); } }
@keyframes twinkle { from { opacity: .35; } to { opacity: 1; } }
@keyframes gem { 0%, 100% { transform: scale(.85); opacity: .75; } 50% { transform: scale(1.18); opacity: 1; } }
@keyframes gem-halo { 0%, 100% { opacity: .18; } 50% { opacity: .42; } }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes grow { to { transform: scaleX(1); } }
@keyframes dock-in { from { opacity: 0; translate: 0 130%; } }
@keyframes sink { to { translate: 0 18%; } }
@keyframes moon-set { to { translate: 0 60px; opacity: .4; } }
@keyframes lift { to { translate: 0 -12%; } }
@keyframes win-open { from { scale: .42; translate: 0 22svh; } }
@keyframes win-zoom { from { scale: 1.9; } }
@keyframes light-up { from { opacity: 0; } }
@keyframes giant-pass { from { translate: 22% 0; } to { translate: -22% 0; } }
@keyframes pin-exit { to { opacity: .35; } }
@keyframes flow { from { rotate: y 32deg; scale: .86; } 50% { rotate: y 0deg; scale: 1; } to { rotate: y -32deg; scale: .86; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
