:root {
  --white: #FFFFFF;
  --ink: #171717;
  --muted: #6B6B6B;
  --rule: rgba(23, 23, 23, .12);
  --bg: #FFFFFF;          /* animated per chapter */
  --line: #171717;        /* animated per chapter */
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad: clamp(20px, 3.4vw, 48px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 16px/1.5 var(--sans); letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }   /* width/height attributes only reserve the shape; CSS decides the size */
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
h1, h2, h3 { font-weight: 400; margin: 0; }
em { font-style: normal; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--white); padding: 8px 12px; }
.skip:focus { left: 8px; }

.eyebrow {
  font-size: 10.5px; line-height: 1.4; letter-spacing: .2em; text-transform: uppercase;
  margin: 0 0 18px; opacity: .7;
}

/* ---------- page transition veil (shared with the home page) ---------- */
.veil { position: fixed; inset: 0; z-index: 150; pointer-events: none; transform: scaleY(0); transform-origin: bottom; background: var(--ink); }
html.arriving body::before { content: ""; position: fixed; inset: 0; z-index: 151; background: var(--veil, #fff); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px var(--pad); color: var(--line); pointer-events: none;
}
.site-header a { pointer-events: auto; text-decoration: none; }
.logo { font-size: 19px; font-weight: 700; letter-spacing: -0.04em; }
.logo span { color: inherit; }
.site-header nav { display: flex; gap: clamp(18px, 2.6vw, 36px); font-size: 12.5px; }
.site-header nav a { position: relative; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.site-header nav a:hover::after { transform: scaleX(1); }
.site-header sup { font-size: 8.5px; opacity: .55; margin-left: 2px; }
body.past-story .site-header { color: var(--ink); }
body.on-dark .site-header { color: var(--white); }
body.past-story:not(.on-dark) .site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}

/* ---------- story ---------- */
.story { position: relative; height: 3570vh; }   /* ~300vh per unit of chapter weight (11.9 units) */
.stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: var(--bg); color: var(--line);
}
/* the loop: after the footer the opening slides up over it, then the page quietly jumps back to the top */
.loop-zone { height: 100vh; height: 100svh; }
body.looping .stage { position: fixed; left: 0; right: 0; top: 0; z-index: 40; transform: translate3d(0, var(--loop-y, 100%), 0); will-change: transform; }
body.loop-cover .site-header { color: var(--line); }
.loop-thread { display: none; position: fixed; inset: 0; z-index: 45; pointer-events: none; }
body.looping .loop-thread { display: block; }
.loop-thread svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.loop-thread path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.loop-thread .on-dark path { stroke: var(--white); }
.loop-thread .on-light path { stroke: var(--ink); }
body.loop-cover .site-header::before { display: none; }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.actor { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }   /* the character, above the work frames */

/* Selected work frames: the real thumbnails sit inside the frames the pen draws */
.frames { position: absolute; inset: 0; pointer-events: none; }
.wf { position: absolute; left: 0; top: 0; display: block; pointer-events: auto; color: var(--line); text-decoration: none; will-change: transform; }
.wf-img { position: absolute; inset: 0; overflow: hidden; clip-path: inset(100% 0 0 0); transition: clip-path .9s var(--ease); }
.wf.is-in .wf-img { clip-path: inset(0 0 0 0); }
.wf:not(.is-in) { pointer-events: none; }        /* projects share one screen: only the one showing is clickable */
/* the TV: switches on like an old CRT, a burst of static between channels; placeholders pan slowly like footage */
.wf[data-fx="tv"] .wf-img { clip-path: none; background: #0d0d0d; opacity: 0; transform: scaleY(.015) scaleX(1.04); transform-origin: 50% 50%;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .12s ease; }
.wf[data-fx="tv"].is-in .wf-img { opacity: 1; transform: none; transition: transform .45s cubic-bezier(.2, .8, .2, 1) .05s, opacity .1s ease; }
.wf[data-fx="tv"] .wf-img img, .wf[data-fx="tv"] .wf-img video { width: 100%; height: 100%; object-fit: cover; }
/* scroll is the playhead: each channel steps through a few shots and drifts slowly as you scroll */
.wf[data-fx="tv"] .wf-img .wf-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease, transform .2s linear; }
.wf[data-fx="tv"] .wf-img .wf-slide.is-on { opacity: 1; transform: scale(calc(1.04 + var(--lp, 0) * .08)) translate(calc(var(--lp, 0) * -2.5%), calc(var(--lp, 0) * -1.5%)); }
.wf-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .18); opacity: 0; transition: opacity .4s ease .4s; }
.wf-bar i { position: absolute; inset: 0; background: #fff; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.wf-count { position: absolute; right: 10px; top: 10px; padding: 4px 9px; border-radius: 99px; background: rgba(23, 23, 23, .6); color: #fff;
  font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: .04em; opacity: 0; transition: opacity .4s ease .4s; }
.wf.is-in .wf-bar, .wf.is-in .wf-count { opacity: 1; }
.wf[data-fx="tv"]::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .22) 0 1px, rgba(0, 0, 0, .25) 1px 3px), rgba(120, 120, 120, .55);
}
.wf[data-fx="tv"].is-in::after { animation: tv-static .5s steps(7) 1; }
@keyframes tv-static { 0% { opacity: 1; background-position: 0 0; } 70% { opacity: .8; background-position: 0 42px; } 100% { opacity: 0; background-position: 0 70px; } }
@media (prefers-reduced-motion: reduce) { .wf[data-fx="tv"].is-in::after { animation: none; } .wf[data-fx="tv"] .wf-img .wf-slide.is-on { transform: none; } }
/* each project swaps into the shared frame its own way */
.wf[data-fx="flip"] { perspective: 1200px; }
.wf[data-fx="flip"] .wf-img { clip-path: none; transform: rotateY(-92deg); transform-origin: 0 50%; opacity: 0; transition: transform 1s var(--ease), opacity .3s ease; }
.wf[data-fx="flip"].is-in .wf-img { transform: none; opacity: 1; }
.wf[data-fx="zoom"] .wf-img { clip-path: circle(0% at 50% 50%); transition: clip-path 1.1s var(--ease); }
.wf[data-fx="zoom"].is-in .wf-img { clip-path: circle(75% at 50% 50%); }
.wf[data-fx="slide"] .wf-img { clip-path: inset(0 0 0 100%); transition: clip-path 1s var(--ease); }
.wf[data-fx="slide"].is-in .wf-img { clip-path: inset(0 0 0 0); }
.wf[data-fx="slide"] .wf-img img { transform: translateX(18%); }
.wf-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.2s var(--ease), scale .6s var(--ease); }
.wf.is-in .wf-img img { transform: none; }
.wf-tag {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; gap: 6px; align-items: center;
  padding: 7px 12px; border-radius: 99px; background: rgba(23, 23, 23, .72); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 12px; letter-spacing: -0.005em; white-space: nowrap;
  opacity: 0; transform: translateY(6px); transition: opacity .5s ease .5s, transform .6s var(--ease) .5s;
}
.wf.is-in .wf-tag { opacity: 1; transform: none; }
.wf-tag span { transition: transform .4s var(--ease); }
@media (hover: hover) and (pointer: fine) { .wf.is-in:hover .wf-tag span { transform: translateX(3px); } }
@media (hover: hover) and (pointer: fine) { .wf.is-in:hover .wf-img img { scale: 1.04; } }
.wf:focus-visible { outline: 2px solid var(--line); outline-offset: 6px; }
@media (prefers-reduced-motion: reduce) { .wf-img, .wf-img img, .wf-tag { transition: none; } }

.hand { position: absolute; left: 0; top: 0; width: 600px; height: 600px; pointer-events: none; will-change: transform; opacity: 0; }
.hand-fill, .hand-line {
  position: absolute; inset: 0;
  -webkit-mask: var(--m) center / 100% 100% no-repeat; mask: var(--m) center / 100% 100% no-repeat;
}
.hand-fill { background: var(--bg); }
.hand-line { background: var(--line); }

.copy { position: absolute; inset: 0; pointer-events: none; }
.ch {
  position: absolute; left: var(--pad); right: var(--pad); top: clamp(104px, 15.5vh, 150px);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 5vw;
  visibility: hidden;
}
.ch.is-active { visibility: visible; }
.ch h2 { transition: opacity .7s ease; }
.ch.is-dim h2 { opacity: .3; }
.ch .eyebrow { grid-column: 1 / -1; }
.ch h2 { font-size: clamp(2.3rem, 4.2vw, 3.9rem); line-height: 1.05; letter-spacing: -0.045em; }
.paras { position: relative; max-width: 27rem; padding-top: .35em; }
.paras p { opacity: 0; margin: 0; font-size: clamp(16px, 1.32vw, 19px); line-height: 1.5; letter-spacing: -0.015em; position: absolute; top: .35em; left: 0; right: 0; }
.ch-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: 14px; }
.ch-links a, .paras a { pointer-events: auto; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.split { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split > span { display: inline-block; }

.hud {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--pad) 22px; font-size: 11.5px;
}
.hud-chapter { display: flex; gap: 16px; align-items: center; }
.hud-num { opacity: .55; font-variant-numeric: tabular-nums; }
.hud-plus { font-size: 17px; font-weight: 300; }
.hud-hint { opacity: .75; }
.hud-hint span { display: inline-block; animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateY(3px); } }
.hud-links { justify-self: end; display: flex; gap: 22px; }
.hud-links a, .hud-links button { opacity: .65; text-decoration: none; transition: opacity .2s; }
.hud-links a:hover, .hud-links button:hover { opacity: 1; }
.hud-progress { display: none; }

/* ---------- sections ---------- */
.work { position: relative; }
.handoff { position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; overflow: visible; }
.handoff path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.work, .cv { padding: clamp(120px, 16vh, 180px) var(--pad) clamp(80px, 12vh, 140px); background: var(--white); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 5vw; align-items: end; margin-bottom: clamp(48px, 8vh, 90px); }
.sec-head .eyebrow { grid-column: 1 / -1; }
.sec-head h2 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); line-height: 1.02; letter-spacing: -0.05em; }
.lede { margin: 0; max-width: 28rem; font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 5vw, 72px) clamp(20px, 2.6vw, 36px); }
.card { text-decoration: none; display: flex; flex-direction: column; gap: 20px; }
.card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: end; }
/* ongoing projects: a quiet placeholder that sketches itself, replaced by real cards later */
.card-soon .card-media { position: relative; display: grid; place-items: center; background: transparent; border: 1px dashed rgba(23, 23, 23, .28); }
.soon-sketch { width: 44%; }
.soon-sketch svg { display: block; width: 100%; overflow: visible; }
.soon-sketch path { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: sketch 5s var(--ease) infinite; }
@keyframes sketch { 0% { stroke-dashoffset: 900; } 55%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -900; } }
.soon-dot { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); }
.card-media .soon-dot { z-index: 2; padding: 6px 11px; border-radius: 99px; background: rgba(255, 255, 255, .88); color: var(--ink); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.soon-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #E2552B; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .soon-sketch path { animation: none; stroke-dashoffset: 0; } .soon-dot::before { animation: none; } }
.card-flip { grid-template-columns: 1fr 1.4fr; }
.card-flip .card-media { order: 2; }
.grid-label { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 0 0 calc(-1 * clamp(12px, 2.5vw, 36px)); padding-top: 18px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--muted); }
.grid-label span { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.grid-label ~ .grid-label { margin-top: clamp(24px, 5vw, 64px); }
.grid-label:first-child { border-top: 0; padding-top: 0; }  /* the story's line already runs under it */
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #F2F2F0; }
.card-wide .card-media { aspect-ratio: 16 / 10; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--ease); }
.media-top img { object-position: top; }
@media (hover: hover) and (pointer: fine) { .card:hover .card-media img { scale: 1.03; } }
.media-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: transparent; }
.media-motion { background: var(--ink); display: grid; place-items: center; }
.motion-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bounce { width: 70%; }
.bounce path { fill: none; stroke: var(--white); stroke-width: 2; stroke-dasharray: 4 8; opacity: .5; }
.bounce .ball { fill: var(--white); }
.card-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 12px; color: var(--muted); }
.tag { white-space: nowrap; }
.card h3 { font-size: clamp(1.6rem, 2.3vw, 2.2rem); line-height: 1.05; letter-spacing: -0.04em; margin-bottom: 10px; }
.card-wide h3 { font-size: clamp(2rem, 3.4vw, 3.2rem); }
.card-body > p:not(.card-meta) { margin: 0 0 16px; color: var(--muted); max-width: 32rem; }
.card dl { display: flex; gap: 32px; margin: 0 0 20px; font-size: 14px; }
.card dt { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.card dd { margin: 4px 0 0; }
.card-link { font-size: 13px; border-bottom: 1px solid currentColor; padding-bottom: 2px; align-self: flex-start; }

.cv { padding-top: clamp(60px, 10vh, 120px); border-top: 1px solid var(--rule); }
.cv-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 96px); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 26px 0 30px; }
.timeline .rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule); transform-origin: left; }
.timeline .when { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.timeline h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.08; letter-spacing: -0.04em; }
.timeline .role { margin: 6px 0 10px; }
.timeline p:last-child:not(.role) { margin: 0; color: var(--muted); max-width: 38rem; }
.cv-side img { width: 100%; max-width: 340px; aspect-ratio: 800 / 940; object-fit: cover; margin-bottom: 32px; }
.tools { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.tools li { border: 1px solid var(--rule); border-radius: 99px; padding: 6px 14px; font-size: 13px; }
.btn { display: inline-block; text-decoration: none; background: var(--ink); color: var(--white); padding: 13px 22px; border-radius: 99px; font-size: 13px; transition: opacity .25s; }
.btn:hover { opacity: .8; }
.btn, .copy-mail { display: inline-block; transition: opacity .25s, transform 160ms ease-out; }
.btn:active, .copy-mail:active { transform: scale(0.97); }

.photos { margin-top: clamp(80px, 14vh, 160px); display: grid; grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); align-items: end; }
.photos-head h3 { font-size: clamp(1.8rem, 2.8vw, 2.6rem); line-height: 1.04; letter-spacing: -0.045em; margin-bottom: 20px; }
.photos-head a { font-size: 13px; }
.photos figure { margin: 0; }
.photos .ph { overflow: hidden; }
.photos img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.photos figcaption { font-size: 12.5px; margin-top: 10px; color: var(--muted); }

/* ---------- contact ---------- */
.contact { position: relative; min-height: 100vh; background: var(--ink); color: var(--white); display: flex; flex-direction: column; overflow: hidden; }
.contact-media { position: absolute; inset: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.contact-inner { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 140px var(--pad) 60px; }
.contact h2 { font-size: clamp(2.8rem, 6.2vw, 6.4rem); line-height: .98; letter-spacing: -0.055em; margin-bottom: 28px; }
.contact .lede { color: rgba(255, 255, 255, .7); margin-bottom: 40px; }
.mail { font-size: clamp(1.8rem, 4.2vw, 3.8rem); letter-spacing: -0.05em; line-height: 1.1; text-decoration: none; background: linear-gradient(rgba(255, 255, 255, .45), rgba(255, 255, 255, .45)) 0 100% / 100% 1px no-repeat; align-self: flex-start; padding-bottom: 6px; transition: opacity .25s; }
.mail:hover { opacity: .85; }
@media (hover: hover) and (pointer: fine) { .mail:hover { animation: redraw .5s var(--ease); } }
@keyframes redraw {
  0%   { background-size: 100% 1px; background-position: 100% 100%; }
  45%  { background-size: 0% 1px;   background-position: 100% 100%; }
  55%  { background-size: 0% 1px;   background-position: 0 100%; }
  100% { background-size: 100% 1px; background-position: 0 100%; }
}
.contact-links { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 36px; font-size: 14px; }
.contact-links a, .contact-links button { opacity: .75; text-decoration: none; }
.contact-links a:hover, .contact-links button:hover { opacity: 1; }
.foot { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 24px var(--pad); font-size: 11.5px; opacity: .55; border-top: 1px solid rgba(255, 255, 255, .14); }
.foot a { text-decoration: none; }

/* ---------- read-story dialog ---------- */
.story-dialog { width: min(680px, 92vw); max-height: 86vh; border: 0; padding: 56px clamp(24px, 5vw, 56px); background: var(--white); color: var(--ink); }
.story-dialog::backdrop { background: rgba(23, 23, 23, .5); }
.story-dialog .close { position: absolute; top: 18px; right: 22px; font-size: 12.5px; }
.story-text section { padding: 22px 0; border-top: 1px solid var(--rule); }
.story-text h2 { font-size: 1.8rem; line-height: 1.08; letter-spacing: -0.04em; margin-bottom: 10px; }
.story-text p { margin: 0 0 10px; }
.story-text .ch-links { font-size: 14px; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .site-header nav { gap: 16px; font-size: 12px; }
  .ch { grid-template-columns: 1fr; top: 96px; }
  .paras { padding-top: 18px; min-height: 8em; }
  .paras p { top: 18px; }
  .hud { grid-template-columns: 1fr auto; }
  .hud-hint { display: none; }
  .sec-head, .card-wide, .cv-grid { grid-template-columns: 1fr; }
  .card-flip .card-media { order: 0; }
  .sec-head .lede { margin-top: 20px; }
  .grid { grid-template-columns: 1fr; }
  .photos { grid-template-columns: 1fr 1fr; }
  .photos-head { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .card-meta { flex-wrap: wrap; row-gap: 6px; }
  .site-header nav a:nth-child(4) { display: none; }
  .hud-links { gap: 16px; }
}
@media (max-width: 360px) {
  .hud-links .read-story { display: none; }
}
/* phones on their side: text in a left column, the scene plays to its right (see main.js: short) */
@media (orientation: landscape) and (max-height: 559px) {
  .ch { right: auto; width: 40vw; grid-template-columns: 1fr; top: 70px; }
  .ch h2 { font-size: clamp(1.45rem, 3.4vw, 2.1rem); }
  .paras { padding-top: 10px; min-height: 0; }
  .paras p { top: 10px; font-size: 13px; line-height: 1.45; }
  .ch-links { margin-top: 10px; font-size: 12.5px; }
  .scene, .actor { -webkit-mask-image: linear-gradient(90deg, transparent 41%, #000 46%); mask-image: linear-gradient(90deg, transparent 41%, #000 46%); }
  .hud { padding-top: 10px; padding-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .loop-zone { display: none; }
  .hud-hint span { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
