/* Anurag Studio company profile: "Now playing". Tokens live in tokens.css. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; overflow-x: hidden; overflow-x: clip; }
html.js-motion { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, ul, ol, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3, .beat { text-wrap: balance; }
p, li, blockquote, figcaption { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
body.paused *, body.paused *::before, body.paused *::after { animation-play-state: paused !important; }
::selection { background: var(--red); color: var(--paper); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-pill); text-decoration: none; font-weight: 500; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: .02em; }

/* film grain: fixed, never on a scrolling layer */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: var(--z-grain); pointer-events: none; opacity: .06;
  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'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  height: 48px; padding: 0 22px; border-radius: var(--radius-pill);
  font-weight: 500; font-size: 16px; text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast), border-color var(--dur-fast);
}
.btn:active { transform: scale(.97); }
.btn-red { background: var(--red); color: var(--paper); }
.btn-red:hover { background: #A8131E; }
.btn-ghost { border: 1px solid var(--line); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper-2); }
.btn-sm { height: 44px; padding: 0 18px; font-size: 15px; }
.btn-icon { padding-right: 6px; gap: 14px; }
.btn-sm.btn-icon { padding-right: 5px; gap: 10px; }
.bi { width: 36px; height: 36px; border-radius: 50%; background: rgba(244,243,240,.16); display: grid; place-items: center; transition: transform 320ms var(--ease-out); }
.btn-sm .bi { width: 34px; height: 34px; }
.bi .tri { color: var(--paper); margin-left: 2px; border-left-width: 8px; border-top-width: 5px; border-bottom-width: 5px; }
@media (hover: hover) and (pointer: fine) { .btn-icon:hover .bi { transform: translateX(3px) scale(1.06); } }
.tri { display: inline-block; width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* ---------- top bar ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: var(--z-chrome); padding: 12px calc(var(--gutter) - 14px) 0; pointer-events: none; }
.bar-in {
  pointer-events: auto; max-width: calc(var(--max) - 2 * var(--gutter) + 28px); margin: 0 auto; height: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 8px 0 14px;
  border: 1px solid transparent; border-radius: var(--radius-pill);
  transition: background-color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.bar.scrolled .bar-in { background: rgba(17, 18, 22, .78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-color: var(--line); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.bar-logo { display: block; padding: 6px 4px; }
.bar-logo img { height: 28px; width: auto; }
.bar-right { display: flex; align-items: center; gap: 22px; }
.tc { color: var(--red-hi); font-variant-numeric: tabular-nums; min-width: 11ch; }

/* ---------- reel timeline (bottom) ---------- */
.timeline {
  position: fixed; left: 50%; bottom: 16px; z-index: var(--z-chrome); transform: translateX(-50%);
  width: min(820px, calc(100% - 32px)); height: 56px; padding: 0 22px;
  background: rgba(17, 18, 22, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  opacity: 0; translate: 0 12px; transition: opacity var(--dur-base), translate var(--dur-base) var(--ease-out);
}
.timeline.on { opacity: 1; translate: 0 0; }
.tl-track { position: absolute; left: 22px; right: 22px; bottom: 15px; height: 2px; background: var(--line); }
.tl-fill { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(0); }
.tl-head { position: absolute; top: 50%; left: 0; width: 0; height: 0; margin-top: -6px; border-left: 11px solid var(--red-hi); border-top: 6px solid transparent; border-bottom: 6px solid transparent; transform: translateX(-2px); }
.tl-mark { position: absolute; bottom: -6px; height: 40px; width: calc(100% / 7); text-align: left; }
.tl-mark::before { content: ""; position: absolute; left: 0; bottom: 3px; width: 1px; height: 8px; background: var(--mute); }
.tl-mark span { position: absolute; left: 0; top: 4px; font-family: var(--font-mono); font-size: 11px; color: var(--mute); white-space: nowrap; transition: color var(--dur-fast); }
.tl-mark:hover span, .tl-mark.active span { color: var(--paper); }
.tl-mark.active::before { background: var(--paper); }
.tl-now { display: none; }

/* ---------- opening ---------- */
.opening { position: relative; min-height: 100dvh; display: grid; align-items: end; padding: 96px 0 120px; overflow: hidden; }
.opening-film { position: absolute; inset: 0; }
.opening-film video, .opening-film img { width: 100%; height: 100%; object-fit: cover; }
.opening-film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,11,.55) 0%, rgba(8,9,11,0) 28%, rgba(8,9,11,0) 45%, rgba(8,9,11,.92) 100%); }
.letterbox { position: absolute; left: 0; right: 0; height: 7vh; background: var(--ink); z-index: 1; }
.letterbox.top { top: 0; } .letterbox.bottom { bottom: 0; }
.opening-copy { position: relative; z-index: 2; }
.film-toggle {
  position: absolute; z-index: 3; right: var(--gutter); bottom: calc(7vh + 18px); height: 40px; padding: 0 16px 0 12px;
  display: inline-flex; align-items: center; gap: 10px; color: var(--paper); border-radius: var(--radius-pill);
  background: rgba(17,18,22,.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line);
  transition: border-color var(--dur-fast), transform var(--dur-fast) var(--ease-out);
}
.film-toggle:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .film-toggle:hover { border-color: var(--paper-2); } }
.ft-icon { display: inline-flex; gap: 3px; width: 12px; height: 12px; align-items: center; justify-content: center; }
.ft-icon i { width: 3px; height: 11px; background: currentColor; border-radius: 1px; }
.film-toggle[aria-pressed="true"] .ft-icon i { display: none; }
.film-toggle[aria-pressed="true"] .ft-icon { width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 2px; }
.no-motion .film-toggle { display: none; }
.now { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); font-family: var(--font-mono); font-size: 13px; margin-bottom: 22px; }
.now .tri { color: var(--red-hi); animation: playhead 4.2s ease-in-out -1.4s infinite; }
@keyframes playhead { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.opening-copy { text-shadow: var(--tshadow); }
.opening-copy .btn { text-shadow: none; }
.opening h1 { font-family: var(--font-display); font-weight: 900; font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: var(--track-display); max-width: 11ch; }
.opening .lead { margin-top: 22px; max-width: 34ch; color: var(--paper-2); font-size: var(--fs-lead); line-height: 1.45; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

/* ---------- title cards ---------- */
.title-card { min-height: 92dvh; display: grid; align-content: center; padding-block: var(--section); }
.title-card h2 { font-family: var(--font-display); font-weight: 900; font-size: var(--fs-title); line-height: var(--lh-tight); letter-spacing: -0.045em; }
.ln { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.ln > span { display: inline-block; }
.title-card p { margin-top: 26px; color: var(--paper-2); font-size: var(--fs-lead); max-width: 40ch; }
.js-motion .mask .ln > span { transform: translateY(110%); transition: transform var(--dur-slow) var(--ease-out); }
.js-motion .mask .ln + .ln > span { transition-delay: 90ms; }
.js-motion .mask.in .ln > span { transform: none; }
.js-motion .title-card p { opacity: 0; transform: translateY(14px); transition: opacity var(--dur-slow) var(--ease-out) .25s, transform var(--dur-slow) var(--ease-out) .25s; }
.js-motion .title-card.in p { opacity: 1; transform: none; }

/* ---------- studio ---------- */
.statement { position: relative; height: 230vh; }
.statement-stage { position: sticky; top: 0; height: 100dvh; display: grid; align-items: center; }
.statement p { font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 4.4vw, 68px); line-height: 1.12; letter-spacing: -0.02em; max-width: 22ch; }
.statement .w { transition: opacity .35s linear, color .35s linear; }
.js-motion .statement .w { opacity: .16; }
.js-motion .statement .w.on { opacity: 1; }
.statement .w.hl { color: var(--red-hi); }
.no-motion .statement { height: auto; padding: var(--section) 0; }
.no-motion .statement-stage { position: static; height: auto; }

.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: 40px; }
.numbers > div { padding: 30px 28px 34px 0; }
.numbers > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.numbers dt { color: var(--mute); }
.numbers dd { margin: 10px 0 0; font-family: var(--font-display); font-weight: 900; font-size: clamp(48px, 6vw, 96px); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.flashback { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 28px; margin: 88px 0 var(--section); padding-top: 28px; border-top: 1px solid var(--line); }
.flashback h3 { font-weight: 700; font-size: var(--fs-h3); line-height: 1.15; }
.flashback p { color: var(--paper-2); font-size: var(--fs-lead); max-width: 48ch; }

/* ---------- scroll films ---------- */
.reel-intro { padding-bottom: 72px; }
.reel-intro p { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3vw, 44px); line-height: 1.2; letter-spacing: -0.015em; max-width: 26ch; }
.reel-intro p em { font-style: normal; color: var(--red-hi); }

.scrub { position: relative; height: var(--scrub-h, 660vh); }
.scrub-stage { position: sticky; top: 0; height: 100dvh; overflow: hidden; background: var(--ink); }
.scrub-film { position: absolute; inset: 0; }
.scrub-film video, .scrub-film img { width: 100%; height: 100%; object-fit: cover; }
.scrub-film video { transform: translateZ(0); will-change: transform; }
.scrub-film::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 120% 90% at 50% 45%, rgba(8,9,11,0) 40%, rgba(8,9,11,.5) 100%), linear-gradient(90deg, rgba(8,9,11,.72) 0%, rgba(8,9,11,.18) 46%, rgba(8,9,11,0) 70%), linear-gradient(0deg, rgba(8,9,11,.65) 0%, rgba(8,9,11,0) 38%); }
.scrub-head { position: absolute; z-index: 2; top: 96px; left: var(--gutter); text-shadow: var(--tshadow); }
.scrub-head h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.02em; line-height: 1.05; }
.scrub-head p { color: var(--paper-2); margin-top: 6px; }
.beats { position: absolute; z-index: 2; left: var(--gutter); bottom: 150px; right: var(--gutter); height: 2.4em; font-family: var(--font-display); font-weight: 900; font-size: clamp(38px, 6vw, 96px); line-height: 1; letter-spacing: -0.04em; }
.beat { position: absolute; left: 0; bottom: 0; max-width: 12ch; opacity: 0; text-shadow: var(--tshadow); transition: opacity .2s ease-out; }
.beat.on { opacity: 1; transition: opacity .25s ease-out; }
/* each film's words move the way its footage moves; exits are quick, entries settle */
.bw { display: inline-block; opacity: 0; transform: translateY(.35em); transition: opacity .2s ease-out, transform .2s ease-out; }
.beats[data-entrance="descend"] .bw { transform: translateY(-.4em); }
.beats[data-entrance="approach"] .bw { transform: scale(.84); transform-origin: 50% 70%; }
.beat.on .bw { opacity: 1; transform: none; transition: opacity .6s var(--ease-out) calc(var(--i) * 55ms), transform .9s var(--ease-out) calc(var(--i) * 55ms); }
.film-bar { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 104px; height: 2px; background: rgba(244,243,240,.18); }
.film-bar i { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(0); }
.film-info {
  position: absolute; z-index: 3; right: var(--gutter); bottom: 128px; width: min(420px, calc(100% - 2 * var(--gutter)));
  background: rgba(17,18,22,.9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: var(--radius-media); padding: 24px 24px 22px;
  opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden; transition: opacity .22s ease-out, transform .22s ease-out, visibility 0s linear .22s;
}
.film-info.on { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .6s var(--ease-out), transform .7s var(--ease-out), visibility 0s; }
.film-info ul { display: grid; gap: 10px; }
.film-info li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 10px; color: var(--paper-2); font-size: 15.5px; line-height: 1.45; }
.film-info li::before { content: ""; margin-top: 7px; width: 0; height: 0; border-left: 8px solid var(--red-hi); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.film-info .btn { margin-top: 20px; }
.frames { display: none; }
.no-motion .scrub { height: auto; }
.no-motion .scrub-stage { position: relative; height: 80dvh; }
.no-motion .beats, .no-motion .film-bar { display: none; }
.no-motion .film-info { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.no-motion .frames { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 16px var(--gutter) 64px; }
.frames figure img { border-radius: var(--radius-media); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.frames figcaption { margin-top: 8px; color: var(--paper-2); font-size: 15px; }

.concept-note { color: var(--mute); padding: 40px 0 0; max-width: 60ch; }

.work { padding: 120px 0 var(--section); }
.work h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h2); line-height: var(--lh-head); letter-spacing: -0.03em; max-width: 16ch; }
.work-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-flow: dense; gap: 22px 18px; margin-top: 48px; }
.w-feature { grid-column: span 4; grid-row: span 2; }
.w-side, .w-third { grid-column: span 2; }
.w-half { grid-column: span 3; }
.w-full { grid-column: 1 / -1; }
.work-grid a, .work-card { text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.work-grid .shot { padding: 6px; border: 1px solid var(--line); border-radius: 20px; background: rgba(244,243,240,.03); }
.shot-core { overflow: hidden; border-radius: var(--radius-media); background: var(--ink-2); height: 100%; }
.shot-core img, .frames img { outline: 1px solid rgba(255,255,255,.08); outline-offset: -1px; }
.work-grid .shot img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; transition: transform .7s var(--ease-out); }
.w-feature .shot { flex: 1; }
.w-feature .shot img { aspect-ratio: auto; min-height: 420px; }
.w-full .shot img { aspect-ratio: 21 / 9; }
@media (hover: hover) and (pointer: fine) { .work-grid a:hover .shot img { transform: scale(1.03); } }
.work-grid figcaption { display: grid; gap: 6px; padding: 14px 2px 0; }
.work-grid figcaption b { font-weight: 700; font-size: 19px; }
.work-grid figcaption span { color: var(--paper-2); font-size: 15px; }
.work-grid figcaption .mono { color: var(--mute); white-space: nowrap; }

/* ---------- agents ---------- */
.agents-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding-bottom: var(--section); align-items: start; }
.agents-lead { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.25; letter-spacing: -0.01em; }
.agent-list { margin-top: 48px; border-top: 1px solid var(--line); }
.agent-list li { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.agent-list b { display: block; font-size: 21px; font-weight: 700; line-height: 1.2; }
.agent-list .mono { color: var(--mute); }
.agent-list p { color: var(--paper-2); }
.agents-side { position: sticky; top: 96px; display: grid; gap: 18px; }
.panel { padding: 6px; border: 1px solid var(--line); border-radius: 20px; background: rgba(244,243,240,.03); }
.panel-core { background: var(--ink-2); border-radius: var(--radius-media); padding: 20px; box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--mute); margin-bottom: 18px; }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--paper-2); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--red-hi); }
.chat { display: grid; gap: 10px; min-height: 330px; align-content: start; }
.msg { max-width: 84%; padding: 11px 15px; border-radius: var(--radius-media); font-size: 16px; line-height: 1.45; }
.msg small { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--mute); margin-bottom: 4px; }
.msg.them { justify-self: end; background: var(--paper); color: var(--ink); border-bottom-right-radius: 4px; }
.msg.them small { color: #55555b; }
.msg.agent { background: var(--ink-3); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.js-motion .msg { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.js-motion .msg.on { opacity: 1; transform: none; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius-media); border-bottom-left-radius: 4px; justify-self: start; opacity: 0; transition: opacity .2s; }
.typing.on { opacity: 1; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--mute); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; } }

.player { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: center; }
.play { width: 56px; height: 56px; border-radius: 50%; background: var(--red); display: grid; place-items: center; transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast); }
@media (hover: hover) and (pointer: fine) { .play:hover { background: #A8131E; } }
.play:active { transform: scale(.96); }
.play > * { grid-area: 1 / 1; transition: opacity 200ms ease-out, transform 200ms var(--ease-out), filter 200ms ease-out; }
.play .tri { color: var(--paper); border-left-width: 15px; border-top-width: 9px; border-bottom-width: 9px; margin-left: 4px; }
.play .pause { display: flex; gap: 5px; opacity: 0; transform: scale(.6); filter: blur(4px); } .play .pause i { width: 5px; height: 18px; background: var(--paper); border-radius: 1px; }
.play.playing .tri { opacity: 0; transform: scale(.6); filter: blur(4px); } .play.playing .pause { opacity: 1; transform: none; filter: none; }
.wave { display: flex; align-items: center; gap: 2px; height: 56px; cursor: pointer; }
.wave i { flex: 1; min-width: 1px; background: rgba(244,243,240,.32); border-radius: 1px; }
.wave i.done { background: var(--red-hi); }
.player-meta { display: flex; justify-content: space-between; color: var(--mute); margin-top: 10px; grid-column: 2; }

/* ---------- services ---------- */
.dept-nav {
  position: sticky; top: 84px; z-index: 5; display: flex; gap: 8px; flex-wrap: wrap; padding: 10px; margin-bottom: 24px;
  background: rgba(17,18,22,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: var(--radius-pill); width: max-content; max-width: 100%;
}
.dept-nav a {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--radius-pill);
  color: var(--paper-2); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.dept-nav a span { font-family: var(--font-mono); font-size: 11px; color: var(--mute); }
.dept-nav a.on { background: var(--paper); color: var(--ink); }
.dept-nav a.on span { color: #55555b; }
@media (hover: hover) and (pointer: fine) { .dept-nav a:not(.on):hover { color: var(--paper); background: rgba(244,243,240,.06); } }

.dept { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); padding: 72px 0; border-top: 1px solid var(--line); scroll-margin-top: 150px; }
.dept-head { position: sticky; top: 170px; align-self: start; }
.dept-head h3 { font-family: var(--font-display); font-weight: 900; font-size: clamp(40px, 5vw, 76px); line-height: .95; letter-spacing: -0.04em; }
.dept-head p { margin-top: 16px; color: var(--paper); font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.25; max-width: 18ch; }
.dept-head .mono { display: block; margin-top: 18px; color: var(--mute); }
.svc-list { display: grid; }
.svc { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 28px; align-items: center; padding: 22px 0; }
.svc::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); transform-origin: left; }
.svc b { display: flex; align-items: center; gap: 10px; font-size: clamp(19px, 1.6vw, 23px); font-weight: 700; line-height: 1.2; }
.svc p { margin-top: 4px; color: var(--paper-2); max-width: 48ch; }
.svc .new { font-style: normal; font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--paper); background: var(--red); padding: 3px 8px; border-radius: var(--radius-pill); }
.svc-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 12px; border-radius: var(--radius-pill);
  border: 1px solid var(--line); color: var(--paper); text-decoration: none; font-family: var(--font-mono); font-size: 12px; white-space: nowrap;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out);
}
.chip .tri { color: var(--red-hi); border-left-width: 7px; border-top-width: 4px; border-bottom-width: 4px; transition: color var(--dur-fast) ease; }
.chip:active { transform: scale(.97); }
.chip.proof { color: var(--paper-2); }
@media (hover: hover) and (pointer: fine) {
  .chip:hover { border-color: var(--paper-2); }
  .chip.quote:hover { background: var(--red); border-color: var(--red); }
  .chip.quote:hover .tri { color: var(--paper); }
}

.process { padding: 120px 0 var(--section); }
.process h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h2); line-height: var(--lh-head); letter-spacing: -0.03em; }
.strip {
  margin-top: 44px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0;
  background: var(--ink-2); border-radius: var(--radius-media); padding: 30px 0;
  --hole: radial-gradient(circle, var(--ink) 0 40%, transparent 42%);
  background-image: var(--hole), var(--hole); background-size: 26px 14px, 26px 14px; background-repeat: repeat-x; background-position: 6px 8px, 6px calc(100% - 8px);
}
.strip li { padding: 22px 22px 24px; border-left: 1px solid var(--line); min-height: 230px; display: flex; flex-direction: column; }
.strip li:first-child { border-left: 0; }
.strip .mono { color: var(--red-hi); }
.strip b { display: block; margin-top: auto; font-size: 24px; font-weight: 700; line-height: 1.15; }
.strip p { color: var(--paper-2); margin-top: 8px; font-size: 15.5px; line-height: 1.45; }

/* ---------- cast ---------- */
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px clamp(24px, 4vw, 64px); padding: 24px 0; border-block: 1px solid var(--line); }
.logos li { flex: 0 0 auto; width: clamp(130px, 13vw, 190px); height: 120px; display: grid; place-items: center; }
.logos img { width: var(--lw, auto); height: var(--lh, auto); max-width: 100%; max-height: 72px; object-fit: contain; opacity: .86; transition: opacity var(--dur-fast); }
.logos img.svg { filter: brightness(0) invert(.95); }
@media (hover: hover) and (pointer: fine) { .logos li:hover img { opacity: 1; } }
.voices { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); margin-top: 110px; align-items: start; }
.quote-main blockquote { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3.2vw, 48px); line-height: 1.18; letter-spacing: -0.015em; }
.quote-cite { display: block; margin-top: 18px; color: var(--paper-2); font-style: normal; }
.quote-cite b { color: var(--paper); font-weight: 500; }
.quotes-more { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.quotes-more blockquote { color: var(--paper-2); font-size: 17px; line-height: 1.5; }
.vt { position: relative; padding: 6px; border: 1px solid var(--line); border-radius: 20px; background: rgba(244,243,240,.03); aspect-ratio: 9 / 16; max-height: 620px; width: 100%; max-width: 360px; justify-self: end; }
.vt video { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-media); background: var(--ink-2); }
.vt-play { position: absolute; inset: 6px; border-radius: var(--radius-media); display: grid; align-content: end; padding: 20px; text-align: left; background: linear-gradient(0deg, rgba(8,9,11,.85), rgba(8,9,11,0) 50%); }
.vt-play .play { margin-bottom: 14px; }
.vt-play b { font-size: 18px; } .vt-play span { color: var(--paper-2); font-size: 15px; }
.vt.playing .vt-play { display: none; }
.cast-wrap { padding-bottom: var(--section); }

/* ---------- director + credits ---------- */
.director { padding-bottom: var(--section); display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 40px; }
.director h3 { color: var(--mute); font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 400; padding-top: 12px; }
.director .note p { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.3; letter-spacing: -0.01em; max-width: 30ch; }
.director .note p + p { margin-top: 22px; }
.signoff { margin-top: 34px; display: flex; align-items: center; gap: 14px; }
.signoff b { font-weight: 700; font-size: 20px; }
.signoff span { color: var(--mute); }

.roll { position: relative; height: 320vh; }
.roll-stage { position: sticky; top: 0; height: 100dvh; overflow: hidden; display: grid; justify-items: center; }
.roll-list { text-align: center; padding: 50vh 16px; will-change: transform; }
.roll-list dl { margin: 0 0 56px; }
.roll-list dt { color: var(--mute); font-family: var(--font-mono); font-size: 12px; margin-bottom: 12px; }
.roll-list dd { margin: 0; font-size: clamp(20px, 2vw, 28px); font-weight: 500; line-height: 1.5; }
.roll-list .starring dd { font-size: clamp(18px, 1.6vw, 22px); color: var(--paper-2); }
.roll-stage::before, .roll-stage::after { content: ""; position: absolute; left: 0; right: 0; height: 26vh; z-index: 2; pointer-events: none; }
.roll-stage::before { top: 0; background: linear-gradient(var(--ink), rgba(8,9,11,0)); }
.roll-stage::after { bottom: 0; background: linear-gradient(rgba(8,9,11,0), var(--ink)); }
.no-motion .roll { height: auto; }
.no-motion .roll-stage { position: static; height: auto; }
.no-motion .roll-list { padding: 40px 16px; }
.no-motion .roll-stage::before, .no-motion .roll-stage::after { display: none; }

.final { min-height: 100dvh; display: grid; align-content: center; padding-block: var(--section) 160px; }
.final h2 { font-family: var(--font-display); font-weight: 900; font-size: var(--fs-title); line-height: var(--lh-tight); letter-spacing: -0.045em; }
.final h2 em { font-style: normal; color: var(--red-hi); }
.final h2 .ln > span { display: inline-block; }
.final .lead { margin-top: 26px; color: var(--paper-2); font-size: var(--fs-lead); max-width: 36ch; }
.contact { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 44px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.contact dt { color: var(--mute); }
.contact dd { margin: 6px 0 0; font-size: 19px; }
.contact a { text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color var(--dur-fast); }
.contact a:hover { border-color: var(--paper); }
.foot { padding-block: 28px 96px; color: var(--mute); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); font-size: 14px; }
.foot a { color: var(--paper-2); }

/* ---------- touch and short screens ---------- */
@media (pointer: coarse) { .film-toggle, .chip { min-height: 44px; } }
@media (max-height: 560px) {
  .scrub-head p, .film-bar { display: none; }
  .scrub-head { top: 74px; }
  .beats { bottom: 64px; font-size: clamp(28px, 7vh, 44px); }
  .film-info { bottom: 64px; max-height: calc(100dvh - 150px); overflow: auto; }
}

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .agents-body { grid-template-columns: minmax(0, 1fr); }
  .agents-side { position: static; }
  .voices { grid-template-columns: minmax(0, 1fr); }
  .vt { justify-self: start; }
  .strip { grid-template-columns: repeat(5, minmax(220px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; }
  .strip li { scroll-snap-align: start; }
}
@media (max-width: 767px) {
  .bar { padding: 10px 10px 0; }
  .bar-in { height: 54px; padding-left: 10px; }
  .bar-logo img { height: 24px; }
  .bar .tc { display: none; }
  .timeline { height: 44px; padding: 0 16px; bottom: 12px; }
  .tl-track { left: 112px; right: 16px; bottom: auto; top: 50%; margin-top: -1px; }
  .tl-mark { height: 40px; bottom: -19px; }
  .tl-mark::before { bottom: 16px; }
  .tl-mark span { display: none; }
  .tl-now { display: block; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-family: var(--font-mono); font-size: 11px; color: var(--paper); width: 84px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .opening { padding: 90px 0 96px; }
  .film-toggle { top: 82px; bottom: auto; right: 12px; height: 36px; }
  .letterbox { height: 0; }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbers > div { padding: 24px 0 26px; }
  .numbers > div + div { padding-left: 0; border-left: 0; }
  .numbers > div:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
  .numbers > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .flashback { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 56px; }
  .scrub-head { top: 80px; }
  /* phones: captions live up top under the film name, the info card owns the bottom,
     so the last beat and the card share the screen instead of fighting for it */
  .beats { top: 150px; bottom: auto; font-size: clamp(36px, 11vw, 56px); }
  .beat { top: 0; bottom: auto; }
  .film-bar { bottom: 92px; }
  .film-info { left: 16px; right: 16px; width: auto; bottom: 72px; padding: 18px; }
  .film-info li { font-size: 14.5px; }
  .info-on .film-bar { opacity: 0; transition: opacity .4s; }
  .no-motion .frames { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .work-grid figure { grid-column: 1 / -1; grid-row: auto; }
  .w-feature .shot img, .w-full .shot img { min-height: 0; aspect-ratio: 16 / 10; }
  .work-grid figcaption { flex-direction: column; gap: 2px; }
  .agent-list li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .dept-nav { top: 74px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-radius: 16px; padding: 6px; width: 100%; }
  .dept-nav::-webkit-scrollbar { display: none; }
  .dept-nav a { height: 40px; padding: 0 14px; font-size: 14px; }
  .dept { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 48px 0; scroll-margin-top: 140px; }
  .dept-head { position: static; }
  .svc { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 20px 0; }
  .svc-links { justify-content: flex-start; }
  .logos { gap: 0 12px; }
  .logos li { width: calc(50% - 6px); height: 96px; }
  .quotes-more { grid-template-columns: minmax(0, 1fr); }
  .vt { max-width: 100%; max-height: 560px; }
  .director { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .contact { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

/* ---------- entrances: each kind of content arrives its own way ---------- */
/* rise: text blocks settle up a short distance */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out) var(--d, 0ms), transform .8s var(--ease-out) var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }
/* fade: logos and quiet text arrive like credits, no movement */
.rv-fade { opacity: 0; transition: opacity .9s ease-out var(--d, 0ms); }
.rv-fade.in { opacity: 1; }
/* wipe: project frames open top-down like a shutter */
.rv-wipe .shot-core { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease-in-out) var(--d, 0ms); }
.rv-wipe figcaption { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease-out) calc(var(--d, 0ms) + .45s), transform .6s var(--ease-out) calc(var(--d, 0ms) + .45s); }
.rv-wipe.in .shot-core { clip-path: inset(0 0 0 0); }
.rv-wipe.in figcaption { opacity: 1; transform: none; }
/* draw: service rows draw their rule left to right, then the words land */
.rv-draw::after { transform: scaleX(0); transition: transform 1.1s var(--ease-in-out) var(--d, 0ms); }
.rv-draw > * { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-out) calc(var(--d, 0ms) + .2s), transform .8s var(--ease-out) calc(var(--d, 0ms) + .2s); }
.rv-draw.in::after { transform: none; }
.rv-draw.in > * { opacity: 1; transform: none; }
/* advance: process frames slide in from the right like film through a gate */
.rv-advance { opacity: 0; transform: translateX(48px); transition: opacity .6s var(--ease-out) var(--d, 0ms), transform .9s var(--ease-out) var(--d, 0ms); }
.rv-advance.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation: none !important; }
}
