/* New Limit Labs, phase one site.
   Layout: a film in reels. A scroll-driven title, chapters cut like an edit, and the system
   behind the work drawn as a live node canvas, in the hero film's own language. Single dark theme by choice. */
:root {
  --black: #000;
  --screen: #0b0b0a;
  --panel: #151514;
  --bone: #edebe6;
  --ash: #8c8c8c;
  --ash-dim: #6e6e6b;
  --rule: #2a2a28;
  --rec: #e5482f;
  --wire: rgba(237, 235, 230, .34);
  --veil: rgba(0, 0, 0, .62);

  --display: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --text: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --t-hero: clamp(56px, 11vw, 168px);
  --t-xl: clamp(48px, 8.4vw, 124px);
  --t-l: clamp(40px, 5.8vw, 86px);
  --t-m: clamp(32px, 3.8vw, 56px);
  --t-s: clamp(26px, 2.5vw, 36px);
  --t-body: clamp(16px, 1.25vw, 18px);
  --t-label: 12.5px;

  --gx: max(20px, env(safe-area-inset-left, 0px));
  --gr: max(20px, env(safe-area-inset-right, 0px));
  --pad: clamp(20px, 4vw, 64px);
  --max: 1440px;
  --hdr: 64px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--black); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--black); color: var(--bone);
  font: 400 var(--t-body)/1.55 var(--text); letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--black); }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }
::selection { background: var(--bone); color: var(--black); }

/* ---------- type ---------- */
.d { font-family: var(--display); font-weight: 400; letter-spacing: -.012em; line-height: .95; text-wrap: balance; margin: 0; }
.d-hero { font-size: var(--t-hero); }
.d-xl { font-size: var(--t-xl); }
.d-l { font-size: var(--t-l); line-height: 1; }
.d-m { font-size: var(--t-m); line-height: 1.04; }
.d-s { font-size: var(--t-s); line-height: 1.1; }
.d em, .d i { font-style: italic; }
.lbl { font: 400 var(--t-label)/1.35 var(--mono); letter-spacing: .02em; color: var(--ash); margin: 0; }
.lbl b { font-weight: 500; color: var(--bone); }
.body { max-width: 62ch; color: var(--bone); margin: 0; }
.body + .body { margin-top: 1em; }
.muted { color: var(--ash); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gx); padding-right: var(--gr); }
@media (min-width: 900px) { .wrap { padding-left: max(var(--pad), env(safe-area-inset-left, 0px)); padding-right: max(var(--pad), env(safe-area-inset-right, 0px)); } }
.band { padding-block: clamp(88px, 12vw, 180px); }
.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

/* ---------- header ---------- */
.hdr {
  position: fixed; z-index: 50; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: var(--hdr);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-left: var(--gx); padding-right: var(--gr);
  background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,0));
  transition: background-color .4s ease;
}
@media (min-width: 900px) { .hdr { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }
.hdr.is-solid { background-color: rgba(0,0,0,.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.wordmark { font: 400 26px/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font: 400 14px/1 var(--text); color: var(--bone); opacity: .82; padding: 10px 0; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav .pill { border: 1px solid rgba(237,235,230,.4); border-radius: 999px; padding: 11px 16px; opacity: 1; }
.nav .pill:hover { background: var(--bone); color: var(--black); }
.chap { display: none; align-items: center; gap: 10px; font: 400 13px/1 var(--mono); color: var(--ash); }
.chap b { color: var(--bone); font-weight: 400; font-family: var(--display); font-size: 19px; letter-spacing: 0; }
@media (min-width: 1100px) { .has-chap .chap { display: flex; } }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; margin-right: -10px; }
.menu-btn span { display: block; width: 22px; height: 1px; background: var(--bone); box-shadow: 0 -6px 0 var(--bone), 0 6px 0 var(--bone); }
@media (max-width: 760px) { .nav { display: none; } .menu-btn { display: inline-flex; } }
.sheet { position: fixed; inset: 0; z-index: 70; background: var(--black); display: flex; flex-direction: column;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) var(--gr) calc(env(safe-area-inset-bottom, 0px) + 28px) var(--gx); }
.sheet[hidden] { display: none !important; }
.sheet__top { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.sheet__close { width: 44px; height: 44px; margin-right: -10px; font: 300 30px/1 var(--text); }
.sheet nav { margin-top: auto; display: grid; gap: 4px; }
.sheet nav a { font: 400 clamp(46px, 13vw, 64px)/1.05 var(--display); padding: 6px 0; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: baseline; }
.sheet nav a span { font: 400 12px/1 var(--mono); color: var(--ash); }
.sheet .lbl { margin-top: 24px; }

/* ---------- hero (scroll film) ---------- */
.hero { position: relative; height: 400vh; height: calc(var(--hn, 4) * 75vh + 100vh); background: var(--screen); }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #000 center / cover no-repeat; }
.hero__stage canvas, .hero__stage video, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.18) 34%, transparent 52%), linear-gradient(to bottom, rgba(0,0,0,.35), transparent 18%); }
.hero__copy { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(22px, 4.2vh, 48px)); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; }
.hero__states { position: relative; min-height: 1px; }
.hstate { position: absolute; left: 0; bottom: 0; width: min(100%, 860px); opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
.hstate.is-on { position: relative; opacity: 1; visibility: visible; transition: opacity .2s ease; }
.hstate .lbl { color: rgba(237,235,230,.78); margin-bottom: 14px; }
.hstate .w, .ts__line .w { display: inline-block; opacity: 0; transform: translateY(.42em); transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i) * 55ms); }
.hstate.is-on .w, .ts__line.is-on .w { opacity: 1; transform: none; }
.hstate .lbl, .hstate .hsub, .hstate .go { opacity: 0; transition: opacity .6s ease .25s; }
.hstate.is-on .lbl, .hstate.is-on .hsub, .hstate.is-on .go { opacity: 1; }
.hstate .d { font-size: clamp(50px, 8.2vw, 132px); }
.hstate p { margin: 18px 0 0; max-width: 46ch; color: rgba(237,235,230,.86); }
.hstate .go { pointer-events: auto; display: inline-flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(237,235,230,.45); font: 400 14px/1 var(--text); color: var(--bone); background: rgba(0,0,0,.25); }
.btn:hover { background: var(--bone); color: var(--black); }
.btn--solid { background: var(--bone); color: var(--black); border-color: var(--bone); }
.btn--solid:hover { background: transparent; color: var(--bone); }
.hud { pointer-events: auto; width: 300px; display: grid; gap: 10px; justify-items: end; text-align: right; }
.hud__tc { font: 400 13px/1 var(--mono); color: var(--bone); display: flex; align-items: center; gap: 8px; }
.hud__tc i { width: 7px; height: 7px; border-radius: 50%; background: var(--rec); display: inline-block; }
.hud__ch { font: 400 22px/1.1 var(--display); min-height: 1.1em; }
.hud__ch a { border-bottom: 1px solid rgba(237,235,230,.45); }
.hud__ch a:hover { border-color: var(--bone); }
.hud__sub { font: 400 12px/1.3 var(--mono); color: rgba(237,235,230,.72); min-height: 1.3em; }
.hud__bar { position: relative; width: 100%; height: 14px; }
.hud__bar::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: rgba(237,235,230,.28); }
.hud__fill { position: absolute; left: 0; top: 7px; height: 1px; background: var(--bone); width: 0; }
.hud__tick { position: absolute; top: 3px; width: 1px; height: 9px; background: rgba(237,235,230,.55); }
.hero__cue { position: absolute; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); transform: translateX(-50%); font: 400 11px/1 var(--mono); color: rgba(237,235,230,.66); letter-spacing: .04em; transition: opacity .4s; }
.hero.is-static { height: auto; }
.hero.is-static .hero__stage { position: relative; height: 100svh; min-height: 560px; }
@media (max-width: 760px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hud { width: 100%; justify-items: start; text-align: left; grid-template-columns: 1fr auto; align-items: end; }
  .hud__bar { grid-column: 1 / -1; }
  .hud__tc { grid-column: 2; grid-row: 1; }
  .hud__ch { grid-column: 1; grid-row: 1; font-size: 19px; }
  .hud__sub { grid-column: 1 / -1; }
  .hero__cue { display: none; }
  .hstate .d { font-size: clamp(44px, 12.5vw, 64px); }
}

/* ---------- proof strip ---------- */
.proof { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--screen); }
.proof__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof__item { padding: 26px 24px 28px 0; display: grid; gap: 6px; align-content: start; }
.proof__item + .proof__item { padding-left: 24px; border-left: 1px solid var(--rule); }
.proof__item .d { font-size: 30px; line-height: 1.05; }
@media (max-width: 980px) { .proof__row { grid-template-columns: 1fr 1fr; } .proof__item:nth-child(3) { border-left: 0; padding-left: 0; } .proof__item:nth-child(n+3) { border-top: 1px solid var(--rule); } }
@media (max-width: 520px) { .proof__row { grid-template-columns: 1fr; } .proof__item + .proof__item { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); } }

/* ---------- section heads ---------- */
.head { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 7vw, 96px); }
.head .lbl { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; }
.head .lbl::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.head p { margin: 0; color: var(--ash); max-width: 44ch; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; } }

/* ---------- belief ---------- */
.belief { background: var(--black); }
.belief__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px 80px; }
.belief__body { display: grid; gap: 1em; align-content: start; padding-top: 10px; }
.order { margin-top: clamp(64px, 9vw, 120px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.order__item { padding: 26px 32px 0 0; display: grid; gap: 12px; align-content: start; }
.order__item + .order__item { padding-left: 32px; border-left: 1px solid var(--rule); }
.order__item .lbl { color: var(--ash); }
.order__item p { margin: 0; color: var(--ash); max-width: 34ch; }
.belief__line { margin-top: clamp(80px, 12vw, 160px); text-align: left; }
@media (max-width: 860px) { .belief__grid, .order { grid-template-columns: 1fr; } .order__item + .order__item { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); margin-top: 26px; } }

/* ---------- how we work ---------- */
.how { background: var(--screen); }
.how__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 72px; }
.how__graph { position: sticky; top: calc(var(--hdr) + 28px); height: min(72vh, 640px); align-self: start; }
.practice { min-height: 82vh; display: grid; align-content: center; gap: 18px; padding-block: 48px; border-top: 1px solid var(--rule); }
.practice:first-child { border-top: 0; }
.practice .lbl { display: flex; gap: 14px; }
.practice p { margin: 0; color: var(--ash); max-width: 46ch; }
.practice p.lead { color: var(--bone); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.4; max-width: 34ch; }
.steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.steps li { font: 400 12.5px/1 var(--mono); padding: 9px 12px; border: 1px solid var(--rule); border-radius: 999px; color: var(--bone); display: flex; align-items: center; gap: 8px; }
.steps li + li::before { content: "→"; color: var(--ash-dim); margin-left: -2px; }
.proofline { display: flex; gap: 14px; align-items: baseline; padding-top: 18px; border-top: 1px solid var(--rule); margin-top: 10px; max-width: 520px; }
.proofline a { font: 400 22px/1.1 var(--display); border-bottom: 1px solid rgba(237,235,230,.4); white-space: nowrap; }
.proofline a:hover { border-color: var(--bone); }
.proofline span { color: var(--ash); font-size: 15px; }
.how__mobile-graph { display: none; }
@media (max-width: 980px) {
  .how__grid { grid-template-columns: 1fr; }
  .how__graph { display: none; }
  .how__mobile-graph { display: block; margin: 8px 0 6px; }
  .practice { min-height: 0; padding-block: 56px; }
}

/* ---------- node graph (the hero film's system language) ---------- */
.ng { position: relative; width: 100%; height: 100%; border: 1px solid rgba(237,235,230,.14); background:
  radial-gradient(circle, rgba(237,235,230,.09) 1px, transparent 1.4px) 0 0 / 22px 22px, #0a0a0a; overflow: hidden; }
.ng__title { position: absolute; left: 18px; top: 14px; z-index: 3; display: grid; gap: 3px; }
.ng__title b { font: 500 15px/1 var(--text); }
.ng__title span { font: 400 11px/1 var(--mono); color: var(--ash); }
.ng svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; }
.ng svg path { fill: none; stroke: var(--wire); stroke-width: 1.2; }
.ng svg circle { fill: var(--bone); }
.nd { position: absolute; z-index: 2; background: var(--panel); border: 1px solid rgba(237,235,230,.16); overflow: hidden;
  opacity: 0; transform: scale(.96); transition: opacity .45s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
.ng.is-on .nd { opacity: 1; transform: none; }
.nd__k { position: absolute; left: 10px; top: 8px; font: 400 10.5px/1 var(--mono); color: rgba(237,235,230,.5); z-index: 2; text-shadow: 0 0 6px #000; }
.nd__t { position: absolute; left: 10px; right: 10px; top: 26px; font: 400 12.5px/1.45 var(--mono); color: rgba(237,235,230,.86); }
.nd img, .nd video { width: 100%; height: 100%; object-fit: cover; }
.nd--media .nd__k { color: rgba(237,235,230,.82); }
.nd--model { background: #1b1b1a; }
.nd--model .nd__t { font-size: 13px; color: var(--bone); }
.nd--main { border-color: rgba(237,235,230,.4); }
.nd .br { position: absolute; inset: -1px; pointer-events: none; z-index: 3;
  background:
    linear-gradient(var(--bone), var(--bone)) 0 0 / 12px 1px no-repeat, linear-gradient(var(--bone), var(--bone)) 0 0 / 1px 12px no-repeat,
    linear-gradient(var(--bone), var(--bone)) 100% 0 / 12px 1px no-repeat, linear-gradient(var(--bone), var(--bone)) 100% 0 / 1px 12px no-repeat,
    linear-gradient(var(--bone), var(--bone)) 0 100% / 12px 1px no-repeat, linear-gradient(var(--bone), var(--bone)) 0 100% / 1px 12px no-repeat,
    linear-gradient(var(--bone), var(--bone)) 100% 100% / 12px 1px no-repeat, linear-gradient(var(--bone), var(--bone)) 100% 100% / 1px 12px no-repeat; }
/* stacked layout for phones */
.ngm { border: 1px solid rgba(237,235,230,.14); background: radial-gradient(circle, rgba(237,235,230,.09) 1px, transparent 1.4px) 0 0 / 20px 20px, #0a0a0a; padding: 16px; display: grid; gap: 0; }
.ngm__row { display: grid; gap: 8px; }
.ngm__row.cols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ngm__wire { height: 26px; position: relative; }
.ngm__wire::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--wire); }
.ngm__wire::after { content: ""; position: absolute; left: calc(50% - 2.5px); width: 5px; height: 5px; border-radius: 50%; background: var(--bone); animation: ngdrop 2.2s linear infinite; }
@keyframes ngdrop { from { top: -2px; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } to { top: calc(100% - 3px); opacity: 0; } }
.ngm .nd { position: relative; opacity: 1; transform: none; min-height: 64px; }
.ngm .nd--card { padding: 26px 10px 10px; }
.ngm .nd--card .nd__t { position: static; font-size: 12px; }
.ngm .nd--media { aspect-ratio: 4 / 3; }
.ngm .nd--main { aspect-ratio: 16 / 9; }
.ngm .nd--model { min-height: 0; padding: 26px 10px 12px; }
.ngm .nd--model .nd__t { position: static; }

/* ---------- work reels ---------- */
.work { background: var(--black); }
.reels { display: grid; gap: clamp(10px, 1.4vw, 18px); }
.reel { position: relative; display: block; overflow: hidden; background: var(--screen); aspect-ratio: 21 / 9; max-height: 82vh; width: 100%; }
.reel video, .reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), opacity .6s; opacity: .78; }
.reel:hover video, .reel:hover img, .reel:focus-visible video { opacity: 1; transform: scale(1.02); }
.reel__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.08) 55%, rgba(0,0,0,.28)); pointer-events: none; }
.reel__top { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; gap: 12px; padding: 18px 22px; }
.reel__top .lbl { color: rgba(237,235,230,.82); }
.reel__bot { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 24px; align-items: end; }
.reel__bot .d { font-size: clamp(42px, 6.6vw, 104px); }
.reel__bot p { margin: 10px 0 0; color: rgba(237,235,230,.84); max-width: 44ch; }
.reel__go { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(237,235,230,.5); font-size: 14px; white-space: nowrap; transition: background .3s, color .3s; }
.reel:hover .reel__go { background: var(--bone); color: var(--black); }
.reel__go i { font-style: normal; transition: transform .3s; }
.reel:hover .reel__go i { transform: translateX(4px); }
.reel__lb { position: absolute; left: 0; right: 0; height: 0; background: var(--black); transition: height .7s cubic-bezier(.2,.7,.2,1); z-index: 1; }
.reel__lb--t { top: 0; } .reel__lb--b { bottom: 0; }
.reel:hover .reel__lb { height: 7%; }
.reel__top, .reel__bot { z-index: 2; }
.reel .v-mobile { display: none; }
@media (max-width: 760px) {
  .reel { aspect-ratio: 4 / 5; max-height: none; }
  .reel .v-desk { display: none; }
  .reel .v-mobile { display: block; }
  .reel__bot { grid-template-columns: 1fr; padding: 18px; }
  .reel__top { padding: 14px 18px; }
  .reel__bot .d { font-size: clamp(42px, 12vw, 58px); }
}

/* ---------- contact cta ---------- */
.cta { background: var(--black); border-top: 1px solid var(--rule); }
.cta__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px 72px; align-items: end; }
.cta__grid p { margin: 0 0 28px; color: var(--ash); max-width: 40ch; }
.mail { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 20px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.mail__addr { font: 400 clamp(24px, 2.6vw, 34px)/1.1 var(--display); user-select: all; -webkit-user-select: all; overflow-wrap: anywhere; }
.copy { font: 400 12px/1 var(--mono); color: var(--ash); border: 1px solid var(--rule); border-radius: 999px; padding: 0 14px; min-height: 36px; }
.copy:hover { color: var(--bone); border-color: var(--ash-dim); }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
@media (max-width: 860px) { .cta__grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.ftr { background: var(--black); border-top: 1px solid var(--rule); padding-block: 44px calc(env(safe-area-inset-bottom, 0px) + 40px); }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: end; }
.ftr .wordmark { font-size: clamp(40px, 6vw, 84px); }
.ftr nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
.ftr nav a { font-size: 14px; color: var(--ash); padding: 8px 0; }
.ftr nav a:hover { color: var(--bone); }
.ftr__meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 20px; border-top: 1px solid var(--rule); }
@media (max-width: 760px) { .ftr__grid { grid-template-columns: 1fr; } .ftr nav { justify-content: flex-start; } }

/* ================= case study ================= */
/* title sequence */
.ts { position: relative; height: 260vh; background: var(--black); --p: 0; }
.ts__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.ts__film { position: absolute; inset: 0; transform: scale(calc(1.06 - var(--p) * .06)); }
.ts__film video, .ts__film img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ts__film .v-mobile { display: none; }
.ts__bar { position: absolute; left: 0; right: 0; background: var(--black); z-index: 2; height: calc((1 - var(--p)) * 30vh); }
.ts__bar--t { top: 0; } .ts__bar--b { bottom: 0; }
.ts.is-loading .ts__bar { height: 50.2vh; }
.ts__bar { transition: height 1.25s cubic-bezier(.65,0,.35,1); }
.ts.is-scrolling .ts__bar { transition: none; }
.ts__veil { position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,calc(.32 - var(--p) * .2)); }
.ts__meta { position: absolute; z-index: 3; left: 0; right: 0; display: flex; justify-content: space-between; gap: 12px; padding: 0 var(--gr) 0 var(--gx); }
@media (min-width: 900px) { .ts__meta { padding: 0 32px; } }
.ts__meta--t { top: calc(var(--hdr) + 18px); }
.ts__meta--b { bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); }
.ts__meta .lbl { color: rgba(237,235,230,.78); }
.ts__tc { display: inline-flex; align-items: center; gap: 8px; color: var(--bone) !important; }
.ts__tc i { width: 7px; height: 7px; border-radius: 50%; background: var(--rec); animation: blink 1.6s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.ts__cards { position: absolute; z-index: 3; inset: 0; display: grid; place-items: center; text-align: center; pointer-events: none; }
.ts__card { grid-area: 1 / 1; font: italic 400 clamp(24px, 2.8vw, 40px)/1.1 var(--display); opacity: 0; }
.ts__title { position: absolute; z-index: 3; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + 72px); text-align: center; padding: 0 var(--gr) 0 var(--gx);
  transform: translateY(calc(var(--p) * -18vh)); opacity: calc(1 - var(--p) * 1.25); }
.ts__title h1 { font-size: var(--t-hero); }
.ts__title p { font: italic 400 clamp(19px, 2vw, 28px)/1.2 var(--display); margin: 14px 0 0; color: rgba(237,235,230,.9); }
.ts__title { transition: opacity .9s ease; }
.ts.is-loading .ts__title { opacity: 0; }
.ts__cue { position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); bottom: calc(env(safe-area-inset-bottom, 0px) + 22px); font: 400 11px/1 var(--mono); color: rgba(237,235,230,.6); }
@media (max-width: 760px) {
  .ts { height: 220vh; }
  .ts__film .v-desk { display: none; }
  .ts__film .v-mobile { display: block; }
  .ts__bar { height: calc((1 - var(--p)) * 22vh); }
  .ts__title { bottom: calc(env(safe-area-inset-bottom, 0px) + 92px); }
  .ts__title h1 { font-size: clamp(52px, 15vw, 76px); }
  .ts__meta--b .lbl:last-child { display: none; }
  .ts__cue { display: none; }
}
.ts.is-static { height: auto; }
.ts.is-static .ts__stage { position: relative; }
.ts.is-static .ts__bar { height: 0; }

/* logline + meta */
.logline { background: var(--black); }
.logline .d { font-size: clamp(30px, 3.6vw, 54px); line-height: 1.12; max-width: 24em; }
.meta { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.meta div { padding: 18px 20px 0 0; display: grid; gap: 8px; align-content: start; }
.meta div + div { padding-left: 20px; border-left: 1px solid var(--rule); }
.meta dd { margin: 0; font-size: 15px; line-height: 1.4; }
.meta dt { margin: 0; }
@media (max-width: 980px) { .meta { grid-template-columns: 1fr 1fr; } .meta div + div { border-left: 0; padding-left: 0; } .meta div { border-bottom: 1px solid var(--rule); padding: 16px 12px 16px 0; } }
@media (max-width: 480px) { .meta { grid-template-columns: 1fr; } }

/* chapter heads */
.ch { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 28px; align-items: end; margin-bottom: clamp(44px, 6vw, 84px); }
.ch__n { font: italic 400 clamp(84px, 11vw, 168px)/.8 var(--display); }
.ch .lbl { grid-column: 2; }
.ch h2 { grid-column: 2; font-size: var(--t-l); }
@media (max-width: 600px) { .ch { grid-template-columns: 1fr; } .ch .lbl, .ch h2 { grid-column: 1; } }

/* I. the thinking */
.think { background: var(--black); }
.think__line { font-size: var(--t-xl); max-width: 11em; margin-bottom: clamp(56px, 7vw, 100px); }
.think__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 64px; }
.think__cols h3 { margin: 0 0 14px; }
.think__cols p { margin: 0; max-width: 52ch; }
@media (max-width: 860px) { .think__cols { grid-template-columns: 1fr; } }
.fig { margin: clamp(72px, 10vw, 140px) 0 0; }
.fig__frame { position: relative; overflow: hidden; background: var(--screen); aspect-ratio: 16 / 9; }
.fig__frame img, .fig__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fig figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; flex-wrap: wrap; }
.fig figcaption .d { font-size: 22px; font-style: italic; }
@media (max-width: 760px) { .fig__frame { aspect-ratio: 4 / 5; } }
.clubs { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.club { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--screen); }
.club img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.club div { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; background: linear-gradient(to top, rgba(0,0,0,.8), transparent); }
.club .d { font-size: clamp(40px, 5vw, 72px); }
@media (max-width: 760px) { .clubs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(-1 * var(--gr)); padding-right: var(--gr); scrollbar-width: none; } .club { scroll-snap-align: start; } }

/* II. the work: theatre player */
.workch { background: var(--screen); }
.player { position: relative; background: #000; aspect-ratio: 16 / 9; overflow: hidden; }
.player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.player__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s; }
.player.is-playing .player__poster { opacity: 0; pointer-events: none; }
.player__big { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 18px; z-index: 2; background: rgba(0,0,0,.24); transition: opacity .4s; }
.player.is-started .player__big { opacity: 0; pointer-events: none; }
.player__big span { width: 84px; height: 84px; border-radius: 50%; border: 1px solid rgba(237,235,230,.8); display: grid; place-items: center; }
.player__big span::before { content: ""; border-left: 18px solid var(--bone); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 6px; }
.player__big b { font: 400 clamp(26px, 3vw, 40px)/1 var(--display); }
.player__bar { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 44px; align-items: center; gap: 10px; padding: 8px 12px; background: linear-gradient(to top, rgba(0,0,0,.75), transparent); opacity: 0; transition: opacity .35s; }
.player.is-started .player__bar, .player:focus-within .player__bar { opacity: 1; }
.player.is-playing:not(:hover):not(:focus-within) .player__bar { opacity: 0; }
.pbtn { width: 44px; height: 44px; display: grid; place-items: center; font: 400 12px/1 var(--mono); }
.pbtn svg { width: 18px; height: 18px; fill: var(--bone); }
.player__scrub { position: relative; height: 44px; cursor: pointer; }
.player__scrub::before { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 2px; background: rgba(237,235,230,.25); }
.player__fill { position: absolute; left: 0; top: 21px; height: 2px; background: var(--bone); width: 0; }
.player__head { position: absolute; top: 17px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--rec); left: 0; }
.player__time { font: 400 12px/1 var(--mono); color: var(--bone); white-space: nowrap; }
.work__under { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-top: 16px; }
.work__under p { margin: 0; color: var(--ash); max-width: 60ch; }
@media (max-width: 600px) { .player__bar { grid-template-columns: 44px minmax(0, 1fr) 44px; } .player__time { display: none; } .player__big b { display: none; } }
/* pieces */
.pieces { margin-top: clamp(64px, 8vw, 112px); }
.pieces__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.pieces__row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 23%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px; }
.pieces__row::-webkit-scrollbar { display: none; }
.pieces__row.is-wide { grid-auto-columns: minmax(300px, 48%); }
.piece { scroll-snap-align: start; display: grid; gap: 10px; align-content: start; margin: 0; }
.piece__frame { position: relative; overflow: hidden; background: var(--black); aspect-ratio: 9 / 16; }
.piece__frame.r-169 { aspect-ratio: 16 / 9; } .piece__frame.r-45 { aspect-ratio: 4 / 5; } .piece__frame.r-11 { aspect-ratio: 1; } .piece__frame.r-43 { aspect-ratio: 4 / 3; }
.piece__frame video, .piece__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.piece figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; align-items: baseline; }
.piece figcaption .d { font-size: 20px; }
.track { position: relative; height: 1px; background: var(--rule); margin-top: 18px; }
.track i { position: absolute; left: 0; top: 0; height: 1px; background: var(--bone); width: 25%; }
@media (max-width: 760px) { .pieces__row { grid-auto-columns: 62%; margin-right: calc(-1 * var(--gr)); padding-right: var(--gr); } .pieces__row.is-wide { grid-auto-columns: 86%; } }
.result { margin-top: clamp(64px, 8vw, 112px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; border-top: 1px solid var(--rule); padding-top: 28px; }
.result p { margin: 0; max-width: 56ch; }
@media (max-width: 860px) { .result { grid-template-columns: 1fr; } }

/* III. how it was made */
.made { background: var(--black); }
.wf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); border-top: 1px solid var(--rule); position: relative; }
.wf li { padding: 22px 18px 0 0; display: grid; gap: 10px; align-content: start; position: relative; }
.wf li + li { padding-left: 18px; border-left: 1px solid var(--rule); }
.wf__mark { font: 400 18px/1 var(--text); color: var(--bone); }
.wf__n { font: 400 11px/1 var(--mono); color: var(--ash-dim); }
.wf h3 { margin: 0; font: 400 24px/1.08 var(--display); }
.wf p { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--ash); }
.wf .who { font: 400 11.5px/1.4 var(--mono); color: var(--bone); }
.wf__key { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 22px; }
@media (max-width: 1100px) { .wf { grid-template-columns: repeat(3, minmax(0, 1fr)); } .wf li:nth-child(3n+1) { border-left: 0; padding-left: 0; } .wf li:nth-child(n+4) { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--rule); } }
@media (max-width: 640px) {
  .wf { grid-template-columns: 1fr; border-top: 0; padding-left: 22px; }
  .wf::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--rule); }
  .wf li, .wf li + li { border-left: 0; padding: 0 0 26px 0; margin: 0; border-top: 0; }
  .wf li:nth-child(n+4) { margin-top: 0; padding-top: 0; border-top: 0; }
  .wf__mark { position: absolute; left: -22px; top: 0; background: var(--black); width: 12px; text-align: center; font-size: 15px; }
}
.made__graph { margin-top: clamp(72px, 9vw, 128px); }
.made__graph .ng { aspect-ratio: 16 / 9; height: auto; }
.made__graph .how__mobile-graph { margin: 0; }
@media (max-width: 860px) { .made__graph .ng { display: none; } .made__graph .how__mobile-graph { display: block; } }
@media (min-width: 861px) { .made__graph .how__mobile-graph { display: none; } }
.made__grid { margin-top: clamp(64px, 8vw, 112px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 64px; }
@media (max-width: 860px) { .made__grid { grid-template-columns: 1fr; } }
.tech { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tech span { font: 400 13px/1 var(--mono); padding: 11px 14px; border: 1px solid var(--rule); border-radius: 999px; }
.sheetrow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 31%); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: 18px; }
.sheetrow::-webkit-scrollbar { display: none; }
.sheetrow figure { margin: 0; scroll-snap-align: start; display: grid; gap: 8px; }
.sheetrow .f { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--screen); }
.sheetrow .f img, .sheetrow .f video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .sheetrow { grid-auto-columns: 78%; margin-right: calc(-1 * var(--gr)); padding-right: var(--gr); } }

/* credits */
.credits { background: var(--black); text-align: center; }
.credits__list { display: grid; gap: 28px; margin: clamp(48px, 6vw, 80px) auto 0; max-width: 760px; }
.credits__list div { display: grid; gap: 6px; }
.credits__list .d { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.credits .rule { max-width: 760px; margin: 0 auto; }

/* more work + next */
.more { background: var(--screen); }
.more__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.more .reel { aspect-ratio: 16 / 10; }
.more .reel__bot .d { font-size: clamp(34px, 3.6vw, 56px); }
@media (max-width: 760px) { .more__grid { grid-template-columns: 1fr; } .more .reel { aspect-ratio: 4 / 5; } }
.next { display: block; text-align: center; padding-block: clamp(96px, 13vw, 200px); background: var(--black); border-top: 1px solid var(--rule); }
.next .d { font-size: var(--t-hero); }
.next .lbl { margin-bottom: 18px; }
.next:hover .d { font-style: italic; }

/* ================= contact page ================= */
.cpage { padding-top: calc(var(--hdr) + clamp(72px, 10vw, 140px)); background: var(--black); }
.cpage__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px 88px; margin-top: clamp(56px, 7vw, 96px); align-items: start; }
@media (max-width: 960px) { .cpage__grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 10px; }
.field label, .field legend { font: 400 var(--t-label)/1 var(--mono); color: var(--ash); letter-spacing: .02em; padding: 0; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--rule); color: var(--bone);
  font: 400 clamp(20px, 2vw, 26px)/1.3 var(--display); padding: 8px 0 12px; border-radius: 0; -webkit-appearance: none; appearance: none; }
.field textarea { min-height: 132px; resize: vertical; font: 400 18px/1.5 var(--text); }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ash) 50%), linear-gradient(135deg, var(--ash) 50%, transparent 50%); background-position: calc(100% - 14px) 55%, calc(100% - 8px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 28px; }
.field select option { background: var(--screen); color: var(--bone); font-family: var(--text); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--bone); }
.field input::placeholder, .field textarea::placeholder { color: var(--ash-dim); }
.field.is-bad input, .field.is-bad textarea { border-bottom-color: var(--rec); }
.field .err { font: 400 12px/1.3 var(--mono); color: var(--rec); min-height: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 999px; font: 400 14px/1 var(--text); color: var(--bone); }
.chips input:checked + span { background: var(--bone); color: var(--black); border-color: var(--bone); }
.chips input:focus-visible + span { outline: 2px solid var(--bone); outline-offset: 2px; }
.form__send { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form__note { font: 400 12px/1.4 var(--mono); color: var(--ash); margin: 0; max-width: 44ch; }
.done { border-top: 1px solid var(--rule); padding-top: 28px; display: grid; gap: 16px; }
.done pre { margin: 0; white-space: pre-wrap; font: 400 14px/1.5 var(--mono); color: var(--bone); background: var(--screen); border: 1px solid var(--rule); padding: 16px; max-height: 280px; overflow: auto; }
.aside { display: grid; gap: 40px; }
.aside .lbl { margin-bottom: 12px; }
.aside ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: s; }
.aside ol li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; color: var(--ash); }
.aside ol li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font: 400 12px/1.7 var(--mono); color: var(--bone); }
.cities { font: 400 22px/1.35 var(--display); color: var(--bone); }

/* reveal (content is visible at rest; this only adds a soft lift when JS runs) */
.js .rv { transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.js .rv.pre { opacity: .001; transform: translateY(22px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ts { height: auto; } .ts__stage { position: relative; } .ts__bar { height: 0 !important; }
  .ts__title { transform: none; opacity: 1 !important; }
  .js .rv.pre { opacity: 1; transform: none; }
}

/* pieces: lead grid (SOD), single wide item */
.pieces--lead { margin-top: 0; }
.pieces--lead .pieces__head { display: none; }
@media (min-width: 761px) {
  .pieces__row.is-grid { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
  .pieces__row.is-grid + .track { display: none; }
}
.pieces__row.is-single { grid-auto-columns: 100%; overflow: visible; }

/* ---------- home reels: full screen, the film fills the frame ---------- */
.reels .reel { aspect-ratio: auto; height: 100vh; height: 100svh; min-height: 560px; max-height: none; }
.reels .reel video, .reels .reel img { opacity: .86; }
.reel__shade { background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0) 46%), linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,0) 22%); }
.reel__bot { padding: clamp(18px, 3vw, 40px); }
.reel__top { padding: clamp(14px, 2vw, 28px) clamp(18px, 3vw, 40px); }
.reels .reel__top { top: var(--hdr); }
@media (max-width: 760px) { .reels .reel { aspect-ratio: auto; } }

/* ---------- how: media panels ---------- */
.mp { position: relative; width: 100%; height: 100%; overflow: hidden; background: #0a0a0a; border: 1px solid rgba(237,235,230,.14); }
.mp video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mp .ng__title { text-shadow: 0 0 10px rgba(0,0,0,.6); }
.mp .br { position: absolute; inset: 12px; pointer-events: none; z-index: 3;
  background:
    linear-gradient(var(--bone), var(--bone)) 0 0 / 14px 1px no-repeat, linear-gradient(var(--bone), var(--bone)) 0 0 / 1px 14px no-repeat,
    linear-gradient(var(--bone), var(--bone)) 100% 0 / 14px 1px no-repeat, linear-gradient(var(--bone), var(--bone)) 100% 0 / 1px 14px no-repeat,
    linear-gradient(var(--bone), var(--bone)) 0 100% / 14px 1px no-repeat, linear-gradient(var(--bone), var(--bone)) 0 100% / 1px 14px no-repeat,
    linear-gradient(var(--bone), var(--bone)) 100% 100% / 14px 1px no-repeat, linear-gradient(var(--bone), var(--bone)) 100% 100% / 1px 14px no-repeat; }
.mp--inline { height: auto; aspect-ratio: 4 / 5; }
.how__graph .mp, .how__graph .ng-box { height: 100%; }
.how__graph { aspect-ratio: 4 / 5; height: auto; max-height: calc(100vh - var(--hdr) - 56px); }

/* ---------- case: section titles only ---------- */
.ch { display: block; }
.ch h2 { font-size: var(--t-l); }

/* ---------- case: the second line in the title sequence ---------- */
.ts { height: 320vh; }
.ts__line { position: absolute; z-index: 3; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(28px, 6vh, 64px)); pointer-events: none; }
.ts__line .lbl { color: rgba(237,235,230,.78); margin-bottom: 14px; opacity: 0; transition: opacity .6s ease .2s; }
.ts__line.is-on .lbl { opacity: 1; }
.ts__line .d { font-size: clamp(36px, 5.4vw, 84px); line-height: 1.02; max-width: 15em; }
.ts__shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .8s ease;
  background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0) 55%); }
.ts.line-on .ts__shade { opacity: 1; }
@media (max-width: 760px) { .ts { height: 280vh; } .ts__line .d { font-size: clamp(32px, 9vw, 46px); } }

/* ---------- 1 Nov 2026: cycling still, BTS film section, closing film ---------- */
.made__grid--solo { grid-template-columns: 1fr; }
.fig--cycle .fig__frame { cursor: pointer; }
.fig__frame:focus-visible { outline: 1px solid var(--bone); outline-offset: 4px; }
.fig__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.fig__slide.is-on { opacity: 1; }
.fig__slide img { transform: scale(1.035); transition: transform 6s ease-out; }
.fig__slide.is-on img { transform: none; }
.fig__bars { position: absolute; z-index: 2; left: 16px; bottom: 14px; width: min(168px, 40%); display: flex; gap: 6px; pointer-events: none; }
.fig__bars i { flex: 1; height: 2px; position: relative; overflow: hidden; background: rgba(237,235,230,.3); }
.fig__bars i::after { content: ""; position: absolute; inset: 0; background: var(--bone); transform: scaleX(0); transform-origin: left; }
.fig__bars i.is-done::after { transform: scaleX(1); }
.fig__bars i.is-on::after { animation: figfill 4.6s linear forwards; }
.fig--cycle.is-paused .fig__bars i.is-on::after { animation-play-state: paused; }
@keyframes figfill { to { transform: scaleX(1); } }

.bts { background: var(--black); padding-top: clamp(8px, 2vw, 32px); }
.bts__head { margin-bottom: 20px; }
.player--bts { width: min(100%, calc(100vh * 16 / 9)); width: min(100%, calc(100svh * 16 / 9)); margin: 0 auto; }
.player .player__preview { z-index: 1; object-fit: cover; background: transparent; transition: opacity .5s ease; }
.player.is-started .player__preview { opacity: 0; pointer-events: none; }
.player.has-preview .player__big { background: rgba(0,0,0,.3); }
.player__bar.has-mute { grid-template-columns: 44px minmax(0, 1fr) auto 44px 44px; }
@media (max-width: 600px) { .player__bar.has-mute { grid-template-columns: 44px minmax(0, 1fr) 44px 44px; } }

.endfilm { position: relative; height: 100vh; height: 100svh; min-height: 420px; overflow: hidden; background: #000; }
.endfilm video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.endfilm .v-mobile { display: none; }
@media (max-width: 760px) { .endfilm .v-desk { display: none; } .endfilm .v-mobile { display: block; } }

@media (prefers-reduced-motion: reduce) {
  .fig__slide, .fig__slide img { transition: none; transform: none; }
  .fig__bars i.is-on::after { animation: none; transform: scaleX(1); }
}

/* ---------- 1 Nov 2026 (evening): bare work section, brand grid, spot players, feature film ---------- */
.work--bare { padding-top: 0; }
.bgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: clamp(56px, 7vw, 104px); }
.bgrid__i { margin: 0; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--screen); }
.bgrid__i img, .bgrid__i video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.think--bare .think__cols { margin-top: 0; }
.spot { margin: 0; }
.spot + .spot { margin-top: clamp(48px, 6vw, 96px); }
.spot figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; padding-top: 14px; }
.feature { background: var(--black); }
.feature__frame { position: relative; aspect-ratio: 16 / 9; width: min(100%, calc(100vh * 16 / 9)); width: min(100%, calc(100svh * 16 / 9)); margin: 0 auto; overflow: hidden; background: #000; }
.feature__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature .v-mobile { display: none; }
@media (max-width: 760px) { .feature .v-desk { display: none; } .feature .v-mobile { display: block; } }

/* 2 Nov 2026: on phones the proof strip under the hero is hidden (desktop keeps it) */
@media (max-width: 760px) { .proof { display: none; } }

/* 2 Nov 2026: the NLL mark sits left of the wordmark in the header and the phone menu */
.hdr .wordmark, .sheet__top .wordmark { display: inline-flex; align-items: center; gap: 12px; }
.wordmark__mark { display: block; height: 34px; width: auto; aspect-ratio: 195 / 394; flex: none; color: var(--bone); }
@media (max-width: 760px) { .wordmark__mark { height: 28px; } .hdr .wordmark, .sheet__top .wordmark { gap: 10px; } }
