/* FilmLaab concept: "The Projection Room"
   Anchor: DESIGN.md (runwayml): footage is the UI, zero shadows, tight display type, small radii.
   Tokens below are the only colours on the page. */
:root {
  --ink: #0a0a0b;          /* their near-black #010103, lifted a hair for screens */
  --ink-2: #141416;        /* raised dark surface */
  --line-d: #2a2a2e;       /* hairline on dark */
  --paper: #ffffff;        /* their white */
  --surface: #eeeeee;      /* their light grey */
  --line: #d6d7da;         /* hairline on light */
  --mute: #45494f;         /* secondary text on light, 9.1:1 on white, 7.9:1 on surface */
  --mute-d: #a3a7ae;       /* secondary text on dark, 8.3:1 */
  --red: #c8100e;          /* safelight / record light, white text 5.9:1 */
  --red-d: #ff4a3d;        /* the same red on dark, 6.2:1 on ink */

  --f-display: "Funnel Display", "Funnel Sans", sans-serif;
  --f-text: "Funnel Sans", sans-serif;
  --f-mono: "Azeret Mono", ui-monospace, monospace;

  --gut: clamp(20px, 4vw, 64px);
  --max: 1720px;
  --r: 6px;
  --nav-h: 88px;
  --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(--paper); color: var(--ink);
  font: 400 17px/1.5 var(--f-text); letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
::selection { background: var(--red); color: #fff; }
input { caret-color: var(--red); accent-color: var(--red); }
html { scrollbar-color: #8a8d93 var(--paper); }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, figure, dl, dd, ol { margin: 0; }
ol { padding: 0; list-style: none; }
.mono { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0; }
.red { color: var(--red); }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
:focus-visible { outline: 2px solid var(--red-d); outline-offset: 3px; border-radius: 2px; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 200; background: var(--paper); color: var(--ink); padding: 12px 18px; border-radius: var(--r); }
.skip:focus { top: 16px; }

/* ---------- buttons and links ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--r);
  background: var(--bg); color: var(--fg); text-decoration: none;
  font: 500 16px/1 var(--f-text); white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn--red { --bg: var(--red); --fg: #fff; }
.btn--red:hover { --bg: #a80c0a; }
.btn--white { --bg: var(--paper); --fg: var(--ink); }
.btn--white:hover { --bg: #e6e6e6; }
.btn--ink { --bg: var(--ink); --fg: var(--paper); }
.btn--ink:hover { --bg: #2b2b30; }
.btn--line { box-shadow: inset 0 0 0 1px var(--line); }
.tri { width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.link {
  text-decoration: none; font-weight: 500;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 3px; transition: background-size .35s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- header ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background-color .35s, color .35s, box-shadow .35s; }
.nav__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--nav-h); max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.nav.is-solid { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.nav.is-dark { background: var(--ink); color: #fff; box-shadow: 0 1px 0 var(--line-d); }
.logo { display: inline-flex; width: max-content; padding: 8px 0; }
.logo__mark, .foot__word {
  display: block; background: currentColor;
  -webkit-mask: url(../media/img/filmlaab-logo.svg) center / contain no-repeat;
  mask: url(../media/img/filmlaab-logo.svg) center / contain no-repeat;
}
.logo__mark { height: 40px; aspect-ratio: 98.806 / 19.969; }
.nav__links { display: flex; gap: clamp(18px, 2.2vw, 40px); justify-self: center; }
.nav__a { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 12px 0; text-decoration: none; font-size: 17px; font-weight: 500; }
.nav__a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__a:hover::after, .dd:focus-within .nav__a::after { transform: scaleX(1); transform-origin: left; }
.chev { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.dd { position: relative; }
.dd__panel {
  position: absolute; left: -18px; top: 100%; min-width: 200px; padding: 10px;
  background: var(--ink); color: #fff; border: 1px solid var(--line-d); border-radius: var(--r);
  display: grid; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.dd:hover .dd__panel, .dd:focus-within .dd__panel { opacity: 1; visibility: visible; transform: none; }
.dd__panel a { padding: 10px 12px; text-decoration: none; border-radius: 4px; font-size: 16px; }
.dd__panel a:hover { background: var(--ink-2); color: var(--red-d); }
.nav__cta { justify-self: end; }
.burger { display: none; justify-self: end; width: 48px; height: 48px; border: 0; background: transparent; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 19px; } .burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--ink); color: #fff;
  padding: calc(var(--nav-h) + 24px) var(--gut) 32px; display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transform: translateY(-12px); transition: opacity .35s, transform .35s var(--ease);
}
.menu.is-open { opacity: 1; transform: none; }
.menu__links { display: grid; }
.menu__links a { font: 500 clamp(34px, 9vw, 52px)/1.15 var(--f-display); letter-spacing: -0.03em; text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line-d); }
.menu__foot { display: grid; gap: 20px; }
.menu__foot .btn { width: 100%; min-height: 56px; }
.menu__foot p { color: var(--mute-d); line-height: 2; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; height: 100svh; max-height: 1400px; color: #fff; background: var(--ink); display: grid; grid-template-rows: 1fr auto; overflow: hidden; isolation: isolate; }
.hero__shader { position: absolute; inset: 0; z-index: -3; background: radial-gradient(70% 60% at 20% 90%, #5a0d08 0%, transparent 70%), radial-gradient(60% 50% at 90% 10%, #2a0a08 0%, transparent 70%), var(--ink); }
.hero__shader canvas { width: 100% !important; height: 100% !important; }
.hero__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .8; mix-blend-mode: screen; transition: opacity .6s; }
.hero__video.is-swap { opacity: 0; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(0deg, rgba(10,10,11,.92) 0%, rgba(10,10,11,.55) 34%, rgba(10,10,11,0) 62%),
  linear-gradient(90deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,0) 55%),
  linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,0) 18%); }
.hero__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; padding-top: calc(var(--nav-h) + 40px); padding-bottom: clamp(28px, 4vh, 48px); }
.hero__copy { grid-column: 1 / span 8; }
.hero__h1 { font: 500 clamp(40px, 5.4vw, 104px)/0.98 var(--f-display); letter-spacing: -0.035em; max-width: 15ch; text-wrap: balance; }
.hero__h1 .red { color: var(--red-d); }
.hero__sub { margin-top: clamp(20px, 2.6vh, 32px); max-width: 46ch; font-size: clamp(17px, 1.2vw, 20px); line-height: 1.45; color: #e7e8ea; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3.4vh, 40px); }
.hero__index { grid-column: 10 / span 3; justify-self: end; text-align: right; display: grid; gap: 2px; }
.hero__index button {
  background: none; border: 0; padding: 2px 0; color: rgba(255,255,255,.62);
  font: 500 clamp(22px, 1.9vw, 36px)/1.08 var(--f-display); letter-spacing: -0.03em;
  transition: color .3s, transform .3s var(--ease);
}
.hero__index sup { font: 400 11px/1 var(--f-mono); letter-spacing: 0; margin-left: 6px; vertical-align: top; position: relative; top: 4px; }
.hero__index button:hover, .hero__index button:focus-visible, .hero__index button.is-on { color: #fff; transform: translateX(-6px); }
.hero__index button.is-on sup { color: var(--red-d); }
.slate { display: flex; align-items: center; gap: clamp(16px, 3vw, 48px); height: 52px; position: relative; font: 400 12px/1 var(--f-mono); color: #d8d9dc; text-transform: uppercase; letter-spacing: .04em; }
.slate::before { content: ""; position: absolute; top: 0; left: var(--gut); right: var(--gut); height: 1px; background: rgba(255,255,255,.16); }
.slate__rec { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.gate__rec b { width: 9px; height: 9px; border-radius: 50%; background: var(--red-d); }
.slate__rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--red-d); animation: rec 2.4s ease-in-out infinite; }
@keyframes rec { 50% { opacity: .25; } }
.slate__tc { font-variant-numeric: tabular-nums; }
.slate__loc { margin-left: auto; }

/* ---------- intro ---------- */
.intro { padding: clamp(96px, 13vh, 160px) 0 clamp(80px, 10vh, 128px); }
.intro__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 40px; }
.intro__h2 { grid-column: 1 / span 8; font: 500 clamp(40px, 4.9vw, 96px)/0.95 var(--f-display); letter-spacing: -0.04em; text-wrap: balance; }
.intro__lede { grid-column: 1 / span 6; font: 400 clamp(22px, 1.9vw, 32px)/1.3 var(--f-display); letter-spacing: -0.015em; color: var(--ink); max-width: 30ch; }
.intro__more { grid-column: 1 / span 3; align-self: start; justify-self: start; font-size: 17px; }
.intro__neon { grid-column: 9 / span 4; grid-row: 1 / span 3; align-self: stretch; border-radius: var(--r); overflow: hidden; background: var(--ink); min-height: 420px; }
.intro__neon img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; transition: transform .8s var(--ease); }
.intro__neon:hover img { transform: scale(1.025); }
.caps { grid-column: 1 / -1; display: grid; grid-template-columns: 220px 160px 1fr; align-items: center; gap: 24px; margin-top: clamp(24px, 4vh, 56px); padding-top: 24px; border-top: 1px solid var(--line); text-decoration: none; }
.caps__film { display: block; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--ink); }
.caps__film video { width: 100%; height: 100%; object-fit: cover; }
.caps__label { color: var(--mute); }
.caps__list { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font: 500 clamp(24px, 2.6vw, 48px)/1 var(--f-display); letter-spacing: -0.03em; }
.caps__list span { transition: color .3s; }
.caps:hover .caps__list span:hover { color: var(--red); }

/* ---------- work: contact strip + projector gate ---------- */
.work { background: var(--ink); color: #fff; overflow-x: clip; }
.work__stage { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; padding: calc(var(--nav-h) + 24px) 0 clamp(28px, 5vh, 56px); gap: clamp(20px, 3.5vh, 40px); }
.work__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.work__h2 { font: 500 clamp(40px, 4.4vw, 80px)/1 var(--f-display); letter-spacing: -0.035em; }
.work__filters { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 16px; }
.work__filters a { text-decoration: none; color: var(--mute-d); padding: 8px 0; transition: color .25s; }
.work__filters a:hover { color: #fff; }
.work__filters .link { color: #fff; padding: 0 0 3px; align-self: center; }

.strip { --fh: clamp(220px, 40vh, 440px); position: relative; align-self: center; outline: none; width: 100%; min-width: 0; overflow-x: clip; overflow-y: visible; }
.strip__track {
  --sp: 30px;
  display: flex; gap: 14px; width: max-content; padding: var(--sp) 14px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='14'%3E%3Crect x='6' y='1' width='14' height='12' rx='3' fill='%23ffffff' fill-opacity='.16'/%3E%3C/svg%3E") 0 8px / 26px 14px repeat-x,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='14'%3E%3Crect x='6' y='1' width='14' height='12' rx='3' fill='%23ffffff' fill-opacity='.16'/%3E%3C/svg%3E") 0 calc(100% - 8px) / 26px 14px repeat-x,
    #161618;
  will-change: transform;
}
.frame { position: relative; height: var(--fh); aspect-ratio: 16 / 9; background: #000; overflow: hidden; border-radius: 2px; }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; }
.frame--still img { filter: saturate(.9) brightness(.82); transition: filter .5s; }
.frame--scope video, .frame--scope img { object-fit: contain; }
.frame.is-near img { filter: none; }
.edge { position: absolute; left: 10px; bottom: calc(-1 * var(--sp, 30px) + 9px); font-size: 10px; color: #e9b44c; opacity: .75; letter-spacing: .06em; white-space: nowrap; pointer-events: none; }
.frame { overflow: visible; }
.frame > img, .frame > video { border-radius: 2px; }
.frame__play {
  position: absolute; right: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 50%;
  border: 0; background: #fff; color: var(--ink); display: grid; place-items: center;
  opacity: 0; transform: scale(.9); transition: opacity .3s, transform .3s var(--ease), background-color .25s;
}
.frame__play .tri { margin-left: 3px; }
.frame.is-active .frame__play, .frame:hover .frame__play, .frame__play:focus-visible { opacity: 1; transform: none; }
.frame__play:hover { background: var(--red-d); color: #fff; }
.gate { display: none; }
.is-pinned .gate {
  display: block; position: absolute; left: 50%; top: 50%; pointer-events: none;
  width: calc(var(--fh) * 16 / 9 + 28px); height: calc(var(--fh) + 28px); transform: translate(-50%, -50%);
}
.gate i { position: absolute; width: 26px; height: 26px; border: 2px solid var(--red-d); }
.gate i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.gate i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.gate i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.gate i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.gate__rec { position: absolute; left: 0; top: -28px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: #fff; letter-spacing: .06em; }
.gate__rec span { font-variant-numeric: tabular-nums; color: var(--mute-d); }
.is-pinned .strip { overflow: visible; }
.is-pinned .work__stage { height: 100svh; }

.work__meta { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: end; gap: 24px 48px; }
.work__title { min-width: 0; }
.work__count { color: var(--mute-d); display: block; margin-bottom: 10px; }
.work__name { font: 500 clamp(48px, 6.6vw, 128px)/0.92 var(--f-display); letter-spacing: -0.045em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-bottom: .08em; }
.work__sub { margin-top: 8px; font-size: clamp(17px, 1.3vw, 22px); color: var(--mute-d); }
.work__slate { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 28px; color: #d8d9dc; }
.work__slate div { display: flex; gap: 8px; }
.work__slate dt { color: var(--mute-d); }
.work__btns { display: flex; align-items: center; gap: 24px; }
.link--light { color: #fff; }
.strip__arrows { display: flex; gap: 8px; }
.arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font-size: 20px; display: grid; place-items: center; transition: background-color .25s, color .25s, transform .25s var(--ease); }
.arrow:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.arrow:active { transform: scale(.96); }
.arrow--dark { border-color: var(--line); color: var(--ink); }
.arrow--dark:hover { background: var(--ink); color: #fff; }
.is-pinned .strip__arrows { display: none; }

/* scroll mode (tablet, phone, short screens, reduced motion) */
.strip.is-scroll { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.strip.is-scroll::-webkit-scrollbar { display: none; }
.strip.is-scroll .strip__track { margin-inline: var(--gut); }
.strip.is-scroll .frame { scroll-snap-align: center; }

/* ---------- clients ---------- */
.clients { padding: clamp(96px, 13vh, 160px) 0 clamp(80px, 11vh, 140px); overflow: hidden; }
.clients__h2 { font: 500 clamp(40px, 4.4vw, 80px)/1 var(--f-display); letter-spacing: -0.035em; margin-bottom: clamp(40px, 6vh, 72px); }
.marquee { display: flex; overflow: hidden; border-top: 1px solid var(--line); padding: clamp(18px, 2.4vh, 28px) 0; }
.marquee { border-bottom: 1px solid var(--line); padding: clamp(28px, 4vh, 48px) 0; }
.marquee__row { display: flex; flex: none; gap: 0; animation: slide 70s linear infinite; }
.marquee:hover .marquee__row { animation-play-state: paused; }
.marquee__row span { font: 500 clamp(48px, 7.4vw, 140px)/1.05 var(--f-display); letter-spacing: -0.04em; white-space: nowrap; display: inline-flex; align-items: center; transition: color .3s; }
.marquee__row span::after { content: ""; width: .16em; height: .16em; border-radius: 50%; background: var(--red); margin: 0 .5em; flex: none; }
.marquee__row span:hover { color: var(--red); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- process: edit timeline ---------- */
.process { padding: clamp(96px, 13vh, 160px) 0; background: var(--paper); border-top: 1px solid var(--line); }
.process__head { display: flex; justify-content: space-between; align-items: end; margin-bottom: clamp(32px, 5vh, 56px); }
.process__h2 { font: 500 clamp(40px, 4.4vw, 80px)/1 var(--f-display); letter-spacing: -0.035em; }
.process__nav { display: flex; gap: 8px; }
.tl { background: var(--ink); color: #fff; border-radius: var(--r); padding: 14px 14px 18px; overflow-x: auto; scrollbar-width: none; }
.tl::-webkit-scrollbar { display: none; }
.tl__ruler { display: flex; justify-content: space-between; color: var(--mute-d); font-size: 11px; padding: 0 2px 10px; border-bottom: 1px solid var(--line-d); margin-bottom: 12px; min-width: 860px;
  background: repeating-linear-gradient(90deg, var(--line-d) 0 1px, transparent 1px 2%) 0 100% / 100% 6px no-repeat; }
.tl__track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; min-width: 860px; }
.clip { position: relative; display: grid; grid-template-rows: auto auto; gap: 8px; text-align: left; padding: 0 0 10px; border: 0; border-radius: 4px; background: transparent; }
.clip img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 3px; filter: grayscale(.6) brightness(.6); transition: filter .4s, transform .4s var(--ease); }
.clip span { color: var(--mute-d); font-size: 11px; }
.clip b { font: 500 15px/1.2 var(--f-text); color: #c9cbcf; transition: color .3s; }
.clip span, .clip b { padding-inline: 12px; }
.clip:hover img { filter: grayscale(.2) brightness(.85); }
.clip.is-on img { filter: none; }
.clip.is-on b { color: #fff; }
.clip.is-on span { color: var(--red-d); }
.playhead { position: absolute; top: -18px; bottom: 0; left: 0; width: 2px; background: var(--red-d); pointer-events: none; transition: transform .7s var(--ease); }
.playhead i { position: absolute; top: 0; left: -6px; width: 14px; height: 12px; background: var(--red-d); clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }
.step { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; margin-top: clamp(32px, 5vh, 56px); align-items: start; }
.step__img { grid-column: 1 / span 6; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.step__img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.step__text { grid-column: 8 / span 5; display: grid; gap: 18px; align-content: start; justify-items: start; }
.step__num { color: var(--red); font-size: 14px; }
.step__h3 { font: 500 clamp(32px, 3vw, 56px)/1 var(--f-display); letter-spacing: -0.03em; }
.step__p { color: var(--mute); font-size: 18px; line-height: 1.55; max-width: 48ch; }

/* ---------- studio picker ---------- */
.studio { padding: clamp(80px, 11vh, 140px) 0; background: var(--surface); }
.studio__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: stretch; }
.studio__photo { grid-column: 1 / span 7; border-radius: var(--r); overflow: hidden; background: var(--ink); min-height: 520px; }
.studio__photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .8s var(--ease); }
.studio__photo:hover img { transform: scale(1.02); }
.studio__panel { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 24px; padding: clamp(8px, 1vw, 16px) 0; }
.studio__h2 { font: 500 clamp(40px, 4.4vw, 80px)/1 var(--f-display); letter-spacing: -0.035em; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: var(--paper); border-radius: calc(var(--r) + 4px); }
.seg button { min-height: 48px; padding: 0 10px; border: 0; border-radius: var(--r); background: transparent; font-weight: 500; font-size: 16px; transition: background-color .25s, color .25s; }
.seg button:hover { background: var(--surface); }
.seg button[aria-checked="true"] { background: var(--ink); color: #fff; }
.seg--small button { font-size: 15px; }
.studio__desc { color: var(--mute); font-size: 17px; min-height: 5.5em; }
.prices { display: grid; border-top: 1px solid #cfd0d3; }
.prices div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid #cfd0d3; }
.prices dt { font-size: 16px; }
.prices dd { font-size: clamp(22px, 2vw, 32px); font-weight: 500; font-variant-numeric: tabular-nums; }
.studio__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: auto; }

/* ---------- inquiry ---------- */
.inquiry { padding: clamp(96px, 13vh, 160px) 0; }
.inquiry__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 48px; }
.inquiry__left { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: 32px; }
.inquiry__h2 { font: 500 clamp(40px, 4.6vw, 88px)/0.98 var(--f-display); letter-spacing: -0.04em; text-wrap: balance; }
.inquiry__call { font-size: 19px; }
.contact { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 24px 48px; margin-top: auto; padding-top: 28px; border-top: 1px solid var(--line); line-height: 1.7; }
.contact dt { color: var(--mute); margin-bottom: 6px; }
.contact a { text-decoration: none; }
.contact a:hover { color: var(--red); }
.form { grid-column: 8 / span 5; display: grid; gap: 22px; align-content: start; }
.form__steps { display: flex; gap: 28px; color: var(--mute); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.form__steps li { display: inline-flex; align-items: center; gap: 10px; transition: color .3s; }
.form__steps i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: background-color .3s, color .3s, border-color .3s; }
.form__steps li.is-on { color: var(--ink); }
.form__steps li.is-on i { background: var(--red); border-color: var(--red); color: #fff; }
.form__page { border: 0; margin: 0; padding: 0; display: grid; gap: 20px; min-width: 0; }
.form__page[hidden] { display: none; }
.field { display: grid; gap: 8px; font-size: 15px; font-weight: 500; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"] {
  width: 100%; min-height: 54px; padding: 0 16px; border: 1px solid transparent; border-radius: var(--r);
  background: var(--surface); font: 400 17px var(--f-text); color: var(--ink); transition: border-color .25s, background-color .25s;
}
.field input:hover { border-color: #cfd0d3; }
.field input:focus { outline: none; border-color: var(--ink); background: #fff; }
.field input[aria-invalid="true"] { border-color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: var(--r); background: var(--surface); font: 500 15px var(--f-mono); transition: background-color .25s, color .25s, transform .25s var(--ease); }
.chips label:hover span { transform: translateY(-2px); }
.chips input:checked + span { background: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.form__err { color: var(--red); font-size: 15px; }
.form__row { display: flex; gap: 12px; }
.form__row .btn--red { flex: 1; }
.form [data-next] { justify-self: start; }
.form__done { padding: 32px; border-radius: var(--r); background: var(--surface); display: grid; gap: 12px; }
.form__done-h { font: 500 32px/1.1 var(--f-display); letter-spacing: -0.03em; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #fff; padding: clamp(72px, 10vh, 120px) 0 clamp(24px, 3vw, 48px); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px 48px; padding-bottom: clamp(48px, 8vh, 96px); }
.foot__mail { font: 500 clamp(28px, 3vw, 52px)/1 var(--f-display); letter-spacing: -0.03em; }
.foot__mail a { text-decoration: none; transition: color .25s; }
.foot__mail a:hover { color: var(--red-d); }
.foot__nav, .foot__social { display: grid; gap: 4px; align-content: start; }
.foot__nav a, .foot__social a { text-decoration: none; color: var(--mute-d); padding: 6px 0; width: max-content; transition: color .25s; }
.foot__nav a:hover, .foot__social a:hover { color: #fff; }
.foot__legal { grid-column: 1 / -1; color: var(--mute-d); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 24px; border-top: 1px solid var(--line-d); }
.foot__word { width: 100%; aspect-ratio: 98.806 / 19.969; color: #fff; }

/* ---------- player ---------- */
.player { width: min(1280px, 94vw); max-width: none; padding: 0; border: 0; background: transparent; color: #fff; }
.player::backdrop { background: rgba(5,5,6,.9); }
.player__in { display: grid; gap: 12px; }
.player__bar { display: flex; justify-content: space-between; align-items: center; text-transform: uppercase; font-size: 12px; letter-spacing: .05em; }
.player__close { background: none; border: 1px solid rgba(255,255,255,.35); color: #fff; min-height: 44px; padding: 0 18px; border-radius: var(--r); font: 500 13px var(--f-mono); text-transform: uppercase; }
.player__close:hover { background: #fff; color: var(--ink); }
.player__frame { aspect-ratio: 16 / 9; background: #000; border-radius: var(--r); overflow: hidden; }
.player__frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- mobile bar ---------- */
.bar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1279px) {
  .hero__copy { grid-column: 1 / span 9; }
  .hero__index { grid-column: 10 / span 3; }
  .work__meta { grid-template-columns: minmax(0, 1fr) auto; }
  .work__slate { grid-column: 2; grid-row: 1; }
  .work__btns { grid-column: 1; }
  .strip__arrows { grid-column: 2; justify-self: end; }
}
@media (max-width: 1100px) {
  :root { --nav-h: 76px; }
  .nav__links, .nav__cta { display: none; }
  .nav__in { grid-template-columns: 1fr auto; }
  .burger { display: block; }
  .logo__mark { height: 34px; }
}
@media (max-width: 1023px) {
  .hero__copy { grid-column: 1 / -1; }
  .hero__index { display: none; }
  .hero__h1 { font-size: clamp(40px, 7.6vw, 76px); max-width: 16ch; }
  .intro__h2, .intro__lede { grid-column: 1 / -1; }
  .intro__neon { grid-column: 1 / -1; grid-row: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .intro__more { grid-column: 1 / -1; }
  .caps { grid-template-columns: 180px 1fr; }
  .caps__label { display: none; }
  .caps__list { justify-content: flex-start; gap: 8px 28px; font-size: clamp(26px, 4vw, 40px); }
  .step__img { grid-column: 1 / -1; }
  .step__text { grid-column: 1 / -1; margin-top: 28px; }
  .studio__photo { grid-column: 1 / -1; min-height: 0; aspect-ratio: 16 / 10; }
  .studio__panel { grid-column: 1 / -1; margin-top: 32px; }
  .inquiry__left, .form { grid-column: 1 / -1; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__mail { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { height: auto; min-height: 100svh; }
  .hero__video { opacity: .72; }
  .hero__shade { background: linear-gradient(0deg, rgba(10,10,11,.96) 0%, rgba(10,10,11,.75) 45%, rgba(10,10,11,.1) 75%), linear-gradient(180deg, rgba(10,10,11,.6) 0%, rgba(10,10,11,0) 22%); }
  .hero__h1 { font-size: clamp(36px, 10vw, 54px); line-height: 1; }
  .hero__sub { font-size: 16px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .slate { gap: 14px; font-size: 10.5px; height: 44px; }
  .slate__title, .slate__run { display: none; }
  .intro__h2 { font-size: clamp(32px, 8.6vw, 46px); }
  .work__h2, .clients__h2, .process__h2, .studio__h2, .inquiry__h2 { font-size: clamp(30px, 8.4vw, 36px); }
  .caps { grid-template-columns: 1fr; }
  .caps__list { justify-content: flex-start; font-size: 28px; gap: 8px 18px; }
  .strip { --fh: calc((100vw - 2 * var(--gut) - 28px) * 9 / 16); }
  .frame--still { display: none; }
  .work__head { align-items: start; flex-direction: column; }
  .work__filters { gap: 4px 20px; font-size: 15px; }
  .work__meta { grid-template-columns: 1fr; }
  .work__slate, .work__btns, .strip__arrows { grid-column: 1; grid-row: auto; justify-self: start; }
  .work__name { font-size: clamp(44px, 13vw, 64px); white-space: normal; }
  .process__head { align-items: center; }
  .tl__ruler, .tl__track { min-width: 980px; }
  .seg button { font-size: 14px; padding: 0 4px; }
  .contact { grid-template-columns: 1fr; gap: 20px; }
  .form__row { flex-direction: column-reverse; }
  .form [data-next] { justify-self: stretch; }
  .edge { display: none; }
  .contact a, .foot__nav a, .foot__social a, .work__filters a:not(.link), .foot__mail a { display: inline-flex; align-items: center; min-height: 44px; }
  .link { position: relative; }
  .link::before { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 44px; transform: translateY(-50%); }
  .work__btns, .studio__actions { gap: 20px 32px; }
  .contact dd { display: grid; }
  .foot__nav, .foot__social { gap: 0; }
  .bar__mail { font-size: 12px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .bar .btn { flex: none; padding: 0 16px; }
  .work__filters .link { padding: 0; }
  .foot { padding-bottom: 96px; }
  .foot__legal { flex-direction: column; }
  .bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: var(--ink); color: #fff; border-top: 1px solid var(--line-d);
    transform: translateY(110%); transition: transform .4s var(--ease);
  }
  .bar.is-on { transform: none; }
  .bar__mail { font: 400 13px var(--f-mono); text-decoration: none; padding: 14px 0; }
  .bar .btn { min-height: 48px; }
}

@media (max-width: 360px) { .bar__mail { display: none; } .bar .btn { flex: 1; } }

/* ---------- reduced motion: everything visible and still ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee { overflow: visible; }
  .marquee__row { flex-wrap: wrap; flex: 1; padding-inline: var(--gut); }
  .marquee__row span:nth-child(n+15) { display: none; }
  .marquee__row span:nth-child(14)::after { display: none; }
}
