/* Limitless Video Production — site styles */
:root {
  --blue: #4CC9FE;
  --blue-press: #2fb8f2;
  --black: #000;
  --ink: #0b0b0c;
  --ink-2: #141416;
  --line: rgba(255, 255, 255, .12);
  --white: #fff;
  --muted: #a6a6ab;
  --pad: clamp(20px, 5vw, 72px);
  --header: 72px;
  --radius: 4px;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--black); color: var(--white); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-stretch: 112%; font-weight: 800; line-height: 1; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
[hidden] { display: none !important; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue); color: #000; padding: 10px 14px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.icon { width: 18px; height: 18px; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border: 1px solid transparent; border-radius: var(--radius); font: 600 15px/1 var(--body); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn .icon { width: 16px; height: 16px; }
.btn-primary { background: var(--blue); color: #000; }
.btn-primary:hover { background: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius); background: transparent; color: var(--white); cursor: pointer; }
.icon-btn:hover { background: rgba(255,255,255,.1); }
.icon-btn .icon { width: 22px; height: 22px; }

.eyebrow { font: 600 12px/1.2 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.lede { color: #d6d6da; font-size: clamp(16px, 1.4vw, 19px); max-width: 56ch; margin-top: 20px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header); display: flex; align-items: center; gap: 28px; padding: 0 var(--pad); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled, .site-header.open { background: rgba(0,0,0,.92); border-bottom-color: var(--line); backdrop-filter: blur(10px); }
.brand { display: block; margin-right: auto; }
.brand img { height: 46px; width: auto; }
.brand .ph { width: 46px; height: 46px; }
.nav { display: flex; gap: 30px; }
.nav a { font-size: 14px; font-weight: 500; text-decoration: none; color: #e6e6e9; padding: 8px 0; }
.nav a:hover { color: var(--blue); }
.menu-btn { display: none; }

/* Hero */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; align-items: flex-end; padding: calc(var(--header) + 48px) var(--pad) clamp(48px, 9vh, 96px); overflow: hidden; isolation: isolate; background: var(--ink); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 25%, rgba(0,0,0,.45) 50%, rgba(0,0,0,.9) 100%); }
.hero .eyebrow, .hero-line { text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.hero-content { max-width: 980px; }
.hero h1 { font-size: clamp(64px, 13vw, 184px); font-weight: 900; font-stretch: 118%; line-height: .86; letter-spacing: -.025em; }
.hero-line { margin-top: 22px; font-size: clamp(18px, 2vw, 24px); color: #ececef; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.motion-btn { position: absolute; right: var(--pad); bottom: clamp(48px, 9vh, 96px); display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid rgba(255,255,255,.4); border-radius: var(--radius); background: rgba(0,0,0,.4); color: var(--white); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.motion-btn .icon { width: 14px; height: 14px; }
.motion-btn:hover { border-color: var(--white); }

/* Sections */
.section { padding: clamp(72px, 10vw, 136px) var(--pad); scroll-margin-top: var(--header); }
.section h2 { font-size: clamp(38px, 5.6vw, 76px); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 40px; margin-bottom: clamp(32px, 4vw, 52px); }

/* Filters */
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding: 4px; margin: -4px; }
.filters::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: #dcdce0; font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: rgba(255,255,255,.45); }
.chip[aria-pressed="true"] { background: var(--white); border-color: var(--white); color: #000; }
.chip .count { opacity: .55; margin-left: 6px; font-variant-numeric: tabular-nums; }

/* Work grid */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); }
.card-btn { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; }
.card-media { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-2); border-radius: var(--radius); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card-btn:hover .card-media img { transform: scale(1.04); }
.card-media.portrait { background: #000; }
.card-media.portrait img { object-fit: contain; }
.play-badge { position: absolute; left: 14px; bottom: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #000; transition: transform .2s; }
.play-badge .icon { width: 16px; height: 16px; margin-left: 2px; }
.play-badge.label { width: auto; border-radius: 999px; padding: 0 16px; font-size: 13px; font-weight: 600; gap: 8px; display: inline-flex; align-items: center; height: 40px; }
.play-badge.label .icon { margin: 0; }
.card-btn:hover .play-badge { transform: scale(1.08); }
.card-meta { display: block; padding-top: 16px; }
.card-title { display: block; font: 700 19px/1.25 var(--display); font-stretch: 106%; }
.card-sub { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.more-wrap { display: flex; justify-content: center; margin-top: 48px; }

/* BTA showcase */
.bta { background: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bta-rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 28px 18px; }
.film-btn { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; }
.film-media { display: block; position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: #000; border-radius: var(--radius); }
.film-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.film-media.landscape img { object-fit: contain; }
.film-btn:hover .film-media img { transform: scale(1.04); }
.film-media .play-badge { width: 38px; height: 38px; left: 10px; bottom: 10px; }
.duration { position: absolute; right: 10px; top: 10px; padding: 3px 8px; border-radius: 3px; background: rgba(0,0,0,.7); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.film-meta { display: block; padding-top: 12px; }
.film-title { display: block; font: 700 15px/1.3 var(--body); }
.film-sub { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }

/* Expertise */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.services li { padding: 36px 32px 40px 0; border-bottom: 1px solid var(--line); }
.services li:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.services .num { display: block; font: 600 13px/1 var(--body); color: var(--blue); letter-spacing: .1em; margin-bottom: 26px; }
.services h3 { font-size: clamp(22px, 2vw, 27px); line-height: 1.1; }
.services p { margin-top: 14px; color: #c9c9ce; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; background: var(--ink); border-top: 1px solid var(--line); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-links { margin-top: 36px; display: grid; gap: 4px; }
.contact-links a { display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: 17px; }
.contact-links a:hover { color: var(--blue); }
.contact-links .icon { width: 22px; height: 22px; color: var(--blue); }
.contact-links small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.brief { background: var(--ink-2); padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); display: grid; gap: 18px; }
.brief-title { font-size: 24px; margin-bottom: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: #d0d0d5; }
.field em { color: var(--blue); font-style: normal; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: #000; font-size: 16px; font-weight: 400; letter-spacing: 0; color: var(--white); color-scheme: dark; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.field [aria-invalid="true"] { border-color: #ff7a7a; }
.form-error { color: #ff9b9b; font-size: 14px; }
.brief-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.hint { font-size: 13px; color: var(--muted); max-width: 40ch; }
.brief-done { display: grid; gap: 12px; padding: 16px; border-left: 2px solid var(--blue); background: rgba(76, 201, 254, .06); font-size: 14px; }
.brief-done .btn { justify-self: start; }

/* Footer */
.site-footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px 32px; padding: 40px var(--pad); border-top: 1px solid var(--line); }
.site-footer > img { height: 56px; width: auto; }
.site-footer .ph { width: 56px; height: 56px; }
.footer-tag { font: 800 20px/1 var(--display); font-stretch: 112%; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { font-size: 14px; color: #d6d6da; text-decoration: none; padding: 6px 0; }
.footer-links a:hover { color: var(--blue); }
.copyright { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }

/* Player */
.player { width: min(1240px, 100vw - 32px); max-width: none; max-height: calc(100svh - 32px); padding: 0; border: 0; background: #000; color: var(--white); overflow: hidden; }
.player::backdrop { background: rgba(0, 0, 0, .9); }
.player[open] { display: flex; flex-direction: column; }
.player-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 16px 14px 20px; }
.player-cat { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.player-title { font-size: clamp(18px, 2.2vw, 26px); margin-top: 6px; line-height: 1.15; }
.player-stage { position: relative; margin: 0 auto; background: #000; max-width: 100%; }
.player-stage video, .player-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.player-foot { padding: 12px 20px 18px; font-size: 13px; color: var(--muted); }
.player-foot:empty { display: none; }
.player-foot a { color: var(--blue); }
.stage-note { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; background: linear-gradient(135deg, #0b1b22, #050505); }
.stage-note p { max-width: 46ch; color: #d6d6da; font-size: 15px; }
.stage-note code { font-size: 12px; color: var(--muted); word-break: break-all; }

/* Placeholders (missing assets) */
.ph { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 4px; padding: 14px; background: repeating-linear-gradient(135deg, #0c1418 0 14px, #0a1014 14px 28px); color: var(--blue); }
.ph-tag { font: 700 11px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; background: var(--blue); color: #000; padding: 5px 7px; border-radius: 2px; }
.ph-file { font: 500 11px/1.35 ui-monospace, SFMono-Regular, Menlo, monospace; color: #9fdcf6; word-break: break-all; }
.card-media .ph, .film-media .ph { position: absolute; inset: 0; padding-bottom: 68px; }
.film-media .ph { padding: 44px 10px 60px; justify-content: flex-start; }
.ph-hero { position: absolute; inset: 0; justify-content: flex-start; align-items: flex-end; padding: calc(var(--header) + 16px) var(--pad); }
.brand .ph, .site-footer .ph { padding: 4px; justify-content: center; }
.brand .ph .ph-file, .site-footer .ph .ph-file { display: none; }
.brand .ph .ph-tag, .site-footer .ph .ph-tag { font-size: 6px; padding: 2px; }

.noscript { padding: 20px var(--pad); background: var(--ink-2); }


/* ===== Motion & interactivity ===== */
.site-header { --prog: 0; }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.split .w { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .split .w { opacity: 0; transform: translateY(.35em); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
  .split .w:nth-child(2) { animation-delay: .14s; }
  .hero .eyebrow, .hero-line, .hero-actions { opacity: 0; animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
  .hero .eyebrow { animation-delay: .05s; } .hero-line { animation-delay: .32s; } .hero-actions { animation-delay: .45s; }
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
  .services li.reveal:nth-child(3n+2) { transition-delay: .08s; } .services li.reveal:nth-child(3n) { transition-delay: .16s; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
.card-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; pointer-events: none; }
.card-media.portrait .card-preview { object-fit: contain; background: #000; }
.card-preview.on { opacity: 1; }

/* ===== By the numbers ===== */
.numbers { border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 32px 24px 36px 0; border-bottom: 1px solid var(--line); }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat-n { display: block; font: 900 clamp(48px, 6.5vw, 96px)/.9 var(--display); font-stretch: 115%; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat-n::after { content: ""; display: block; width: 36px; height: 3px; margin-top: 18px; background: var(--blue); border-radius: 2px; }
.stat-label { display: block; margin-top: 14px; color: #c9c9ce; font-size: 15px; max-width: 18ch; }
.charts { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); margin-top: clamp(40px, 5vw, 64px); }
.chart { margin: 0; }
.chart figcaption { display: flex; flex-direction: column; gap: 4px; margin-bottom: 22px; }
.chart-title { font: 700 20px/1.2 var(--display); font-stretch: 108%; }
.chart-note { font-size: 13px; color: var(--muted); }
.bars { display: grid; gap: 6px; }
.bar-row { display: grid; grid-template-columns: 110px 1fr 40px; align-items: center; gap: 14px; min-height: 40px; padding: 0 8px; margin: 0 -8px; border: 0; border-radius: var(--radius); background: transparent; text-align: left; cursor: pointer; }
.bar-row:hover { background: rgba(255,255,255,.05); }
.bar-label { font-size: 14px; color: #dcdce0; }
.bar-track { height: 12px; background: rgba(255,255,255,.07); border-radius: 0 4px 4px 0; overflow: hidden; }
.bar-fill { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 0 4px 4px 0; transition: width 1.1s cubic-bezier(.2,.7,.2,1); }
.chart.in .bar-fill, .no-io .bar-fill { width: var(--w); }
.bar-row:nth-child(2) .bar-fill { transition-delay: .08s; } .bar-row:nth-child(3) .bar-fill { transition-delay: .16s; } .bar-row:nth-child(4) .bar-fill { transition-delay: .24s; } .bar-row:nth-child(5) .bar-fill { transition-delay: .32s; }
.bar-value { font: 700 16px/1 var(--body); font-variant-numeric: tabular-nums; text-align: right; }
.split-bar { display: flex; gap: 2px; height: 56px; }
.seg { position: relative; display: flex; align-items: center; padding: 0 14px; width: 0; min-width: 0; overflow: hidden; transition: width 1.2s cubic-bezier(.2,.7,.2,1); outline-offset: 2px; }
.chart.in .seg { width: var(--w); }
.seg-h { background: var(--blue); color: #000; border-radius: 4px 0 0 4px; }
.seg-v { background: #fff; color: #000; border-radius: 0 4px 4px 0; transition-delay: .15s; }
.seg-n { font: 800 18px/1 var(--display); white-space: nowrap; }
.format-legend { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 16px; font-size: 14px; color: #dcdce0; }
.format-legend span { display: inline-flex; align-items: center; gap: 10px; }
.frame { display: inline-block; border: 2px solid currentColor; border-radius: 2px; }
.frame-h { width: 22px; height: 13px; color: var(--blue); } .frame-v { width: 11px; height: 19px; color: #fff; }
.tooltip { position: fixed; z-index: 80; max-width: 260px; padding: 10px 12px; background: #111114; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); font-size: 13px; line-height: 1.45; color: #e6e6e9; pointer-events: none; box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.tooltip strong { color: #fff; }

/* BTA infographic */
.bta-chart { margin: 0 0 clamp(36px, 4vw, 56px); padding: clamp(20px, 2.5vw, 32px); background: #000; border-radius: var(--radius); }
.tl-row + .tl-row { margin-top: 18px; }
.tl-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 14px; }
.tl-name { font-weight: 600; }
.tl-meta { color: var(--muted); font-variant-numeric: tabular-nums; }
.tl-strip { display: flex; gap: 2px; width: 0; transition: width 1.3s cubic-bezier(.2,.7,.2,1); }
.bta-chart.in .tl-strip { width: var(--w); }
.tl-seg { flex-basis: 0; min-width: 6px; height: 40px; padding: 0; border: 0; background: var(--blue); cursor: pointer; transition: background .2s, transform .2s; }
.tl-seg:first-child { border-radius: 4px 0 0 4px; } .tl-seg:last-child { border-radius: 0 4px 4px 0; } .tl-seg:only-child { border-radius: 4px; }
.tl-seg:hover, .tl-seg:focus-visible { background: #fff; transform: scaleY(1.12); }

/* Process: timeline infographic */
.lede.small { font-size: 15px; color: var(--muted); margin-top: 14px; }
.p-rail { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-bottom: clamp(28px, 3vw, 44px); }
.p-line { position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 21px; height: 2px; background: rgba(255,255,255,.14); }
.p-line-fill { position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.p-node { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 4px; border: 0; background: none; color: var(--muted); cursor: pointer; text-align: center; }
.p-dot { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255,255,255,.22); background: var(--ink); font: 700 13px/1 var(--body); color: #c9c9ce; transition: background .3s, border-color .3s, color .3s, transform .3s; }
.p-node.done .p-dot { border-color: var(--blue); color: var(--blue); }
.p-node[aria-selected="true"] .p-dot { background: var(--blue); border-color: var(--blue); color: #000; transform: scale(1.12); box-shadow: 0 0 0 6px rgba(76,201,254,.16); }
.p-name { font: 700 16px/1.15 var(--display); font-stretch: 106%; transition: color .3s; }
.p-node:hover .p-name, .p-node[aria-selected="true"] .p-name { color: #fff; }
.process-panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; outline-offset: 6px; }
.process-media { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #111; }
.process-media img { width: 100%; height: 100%; object-fit: cover; }
.process-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,0) 45%); pointer-events: none; }
.p-big { position: absolute; left: 22px; bottom: 6px; z-index: 1; font: 900 clamp(72px, 10vw, 150px)/.85 var(--display); font-stretch: 120%; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.85); letter-spacing: -.03em; }
.process-copy .step { display: block; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.process-copy h3 { font-size: clamp(32px, 3.6vw, 52px); }
.process-copy p { margin-top: 16px; color: #d0d0d5; font-size: 17px; max-width: 44ch; }
.phases { display: flex; gap: 4px; margin-top: 28px; }
.phase { display: grid; gap: 8px; min-width: 0; }
.phase-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); transition: background .4s; }
.phase.past .phase-bar { background: rgba(76,201,254,.4); }
.phase.on .phase-bar { background: var(--blue); }
.phase-name { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phase.on .phase-name { color: #fff; }
.process-nav { display: flex; align-items: center; gap: 8px; margin-top: 26px; }
.process-nav .icon-btn { border: 1px solid var(--line); }
.p-timer { flex: 1; max-width: 160px; height: 2px; margin-left: 10px; background: rgba(255,255,255,.12); overflow: hidden; }
.p-timer span { display: block; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: 0 50%; }
@media (prefers-reduced-motion: no-preference) {
  .process-panel.swap .process-media img { animation: kenburns 7s ease-out both; }
  .process-panel.swap .p-big { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .process-panel.swap .process-copy > *:not(.phases):not(.process-nav) { opacity: 0; transform: translateY(12px); animation: rise .6s cubic-bezier(.2,.7,.2,1) forwards; }
  .process-panel.swap .process-copy > *:nth-child(2) { animation-delay: .06s; } .process-panel.swap .process-copy > *:nth-child(3) { animation-delay: .12s; }
}
@keyframes kenburns { from { opacity: .2; transform: scale(1.12) translateX(1.5%); } 25% { opacity: 1; } to { opacity: 1; transform: scale(1.02); } }

/* Expertise photos */
.svc-media { margin: 0 0 22px; height: clamp(190px, 15vw, 230px); overflow: hidden; border-radius: var(--radius); background: var(--ink-2); }
.svc-media { position: relative; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1), filter .6s; filter: saturate(.92) contrast(1.04); }
.svc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.45)); pointer-events: none; }
.services li:hover .svc-media img, .services li:focus-within .svc-media img { transform: scale(1.06); filter: saturate(1.05) contrast(1.06); }

/* Behind the scenes */
.bts { background: var(--ink); border-top: 1px solid var(--line); }
.bts-feature { margin-bottom: clamp(28px, 3vw, 44px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: clamp(24px, 3vw, 44px); }
.bts-feature .feature-title { font-size: clamp(22px, 2.2vw, 30px); }
.feature-btn { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; width: 100%; padding: 0; border: 0; background: none; text-align: left; color: inherit; cursor: pointer; }
.feature-media { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--radius); background: #000; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.feature-btn:hover .feature-media img { transform: scale(1.04); }
.feature-copy { display: grid; gap: 14px; justify-items: start; }
.feature-copy .eyebrow { margin: 0; }
.feature-title { font: 800 clamp(26px, 3vw, 40px)/1.05 var(--display); font-stretch: 110%; }
.feature-text { color: #c9c9ce; max-width: 52ch; }

/* ---- BTS gallery (cinematic) ---- */
.gallery { display: grid; gap: 0; margin-inline: calc(-1 * var(--pad)); background: #000; }
.g-stage { position: relative; aspect-ratio: 2.39 / 1; max-height: 82svh; width: 100%; overflow: hidden; background: #000; outline-offset: -3px; isolation: isolate; }
.g-slides { position: absolute; inset: 0; cursor: zoom-in; }
.g-slide { position: absolute; inset: 0; margin: 0; opacity: 0; filter: blur(14px) brightness(.6); transition: opacity 1.6s cubic-bezier(.4,0,.2,1), filter 1.6s cubic-bezier(.4,0,.2,1); }
.g-slide.on { opacity: 1; filter: none; }
.g-bg { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(40px) brightness(.28) saturate(.9); transform: scale(1.12); }
.g-main { position: absolute; inset: 0; margin: auto; width: 100%; height: 100%; object-fit: contain; }
.g-slide.wide .g-main { object-fit: cover; }
.g-slide.on .g-main { animation: kb0 11s ease-out both; }
.g-slide.on.kb1 .g-main { animation-name: kb1; } .g-slide.on.kb2 .g-main { animation-name: kb2; } .g-slide.on.kb3 .g-main { animation-name: kb3; }
@keyframes kb0 { from { transform: scale(1.12) translate(-1.5%, 1%); } to { transform: scale(1.02) translate(0, 0); } }
@keyframes kb1 { from { transform: scale(1.02); } to { transform: scale(1.1) translate(1%, -1%); } }
@keyframes kb2 { from { transform: scale(1.12) translate(1.5%, 0); } to { transform: scale(1.03) translate(-.5%, 0); } }
@keyframes kb3 { from { transform: scale(1.04) translate(0, 1.5%); } to { transform: scale(1.1) translate(0, -1%); } }
.g-shade { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0,0,0,.55) 100%),
  linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 26%, transparent 48%),
  linear-gradient(to bottom, rgba(0,0,0,.55) 0%, transparent 20%); }
.g-grain { position: absolute; inset: -50%; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  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>");
  animation: grain .9s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }
.g-caption { position: absolute; left: clamp(22px, 5vw, 80px); bottom: clamp(26px, 4.5vw, 64px); max-width: min(620px, 60%); pointer-events: none; }
.g-caption > * { margin: 0; }
.g-caption.in > * { animation: capin 1.1s cubic-bezier(.2,.7,.2,1) both; }
.g-caption.in > :nth-child(2) { animation-delay: .12s; } .g-caption.in > :nth-child(3) { animation-delay: .24s; }
@keyframes capin { from { opacity: 0; transform: translateY(14px); letter-spacing: inherit; } to { opacity: 1; transform: none; } }
.g-scene { display: flex; align-items: center; gap: 12px; font: 500 11px/1 var(--body); letter-spacing: .38em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 14px !important; font-variant-numeric: tabular-nums; }
.g-scene::before { content: ""; width: 34px; height: 1px; background: var(--blue); }
.g-scene-lbl { color: var(--blue); }
.g-group { font: 700 clamp(26px, 3.4vw, 52px)/1 var(--display); font-stretch: 118%; letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.g-alt { margin-top: 12px !important; font: 300 clamp(13px, 1.05vw, 16px)/1.5 var(--body); letter-spacing: .03em; color: rgba(255,255,255,.72); }
.g-count { position: absolute; top: clamp(18px, 3vw, 36px); left: clamp(22px, 5vw, 80px); margin: 0; display: flex; align-items: center; gap: 12px; font: 400 12px/1 var(--body); letter-spacing: .3em; color: rgba(255,255,255,.6); font-variant-numeric: tabular-nums; }
.g-count #g-cur { color: #fff; }
.g-count i { width: 46px; height: 1px; background: rgba(255,255,255,.35); }
.g-controls { position: absolute; top: clamp(14px, 2.6vw, 30px); right: clamp(18px, 4vw, 64px); display: flex; gap: 10px; }
.g-btn, .g-nav { display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); background: transparent; color: #fff; border-radius: 50%; cursor: pointer; transition: background .35s, border-color .35s, color .35s, opacity .5s; }
.g-btn { width: 38px; height: 38px; }
.g-nav { position: absolute; bottom: clamp(26px, 4.5vw, 64px); width: 54px; height: 54px; }
.g-prev { right: calc(clamp(18px, 4vw, 64px) + 66px); } .g-next { right: clamp(18px, 4vw, 64px); }
.g-btn:hover, .g-nav:hover { background: #fff; border-color: #fff; color: #000; }
.g-btn .icon { width: 16px; height: 16px; } .g-nav .icon { width: 20px; height: 20px; }
@media (hover: hover) { .g-controls, .g-nav { opacity: 0; } .gallery:hover .g-controls, .gallery:hover .g-nav, .gallery:focus-within .g-controls, .gallery:focus-within .g-nav { opacity: 1; } }
.g-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.08); }
.g-progress span { display: block; height: 100%; width: 0; background: var(--blue); box-shadow: 0 0 12px var(--blue); }
.gallery.paused .g-progress, .gallery.hold .g-progress span { opacity: 0; }
/* filmstrip */
.g-strip { position: relative; display: flex; gap: 6px; margin: 0; padding: 22px clamp(22px, 5vw, 80px); list-style: none; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; background:
  radial-gradient(circle at 50% 50%, #1b1b1d 2.4px, transparent 2.9px) 0 7px / 16px 8px repeat-x,
  radial-gradient(circle at 50% 50%, #1b1b1d 2.4px, transparent 2.9px) 0 calc(100% - 7px) / 16px 8px repeat-x, #070708; }
.g-strip::-webkit-scrollbar { display: none; }
.g-strip li { flex: none; scroll-snap-align: center; }
.g-thumb { position: relative; display: block; width: 112px; height: 66px; aspect-ratio: auto !important; padding: 0; border: 0; border-radius: 2px; overflow: hidden; background: #111; cursor: pointer; opacity: .32; filter: grayscale(1) contrast(1.05); transition: opacity .5s, filter .5s, transform .5s cubic-bezier(.2,.7,.2,1); }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; }
.g-thumb:hover { opacity: .8; filter: grayscale(.2); }
.g-thumb.on { opacity: 1; filter: none; transform: translateY(-3px); box-shadow: 0 0 0 1px var(--blue), 0 8px 24px rgba(76,201,254,.25); }
.g-thumb-play { position: absolute; left: 5px; bottom: 5px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(0,0,0,.6); }
.g-thumb-play .icon { width: 10px; height: 10px; }
@media (max-width: 900px) { .g-stage { aspect-ratio: 16 / 10; } }
@media (max-width: 640px) {
  .g-stage { aspect-ratio: 4 / 5; max-height: 74svh; }
  .g-slide.wide .g-main { object-fit: contain; }
  .g-caption { max-width: none; right: 22px; bottom: 92px; }
  .g-group { font-size: 26px; }
  .g-alt { display: none; }
  .g-nav { bottom: 22px; width: 46px; height: 46px; }
  .g-prev { right: auto; left: 22px; } .g-next { right: 22px; }
  .g-thumb { width: 84px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) { .g-slide { transition: none; filter: none; } .g-slide.on .g-main, .g-grain, .g-caption.in > * { animation: none !important; } }

.bts-grid { columns: 4 240px; column-gap: 14px; }
.bts-item { break-inside: avoid; margin-bottom: 14px; }
.bts-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.bts-media { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: #000; }
.bts-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.bts-btn:hover .bts-media img { transform: scale(1.04); }
.bts-media .play-badge { width: 38px; height: 38px; left: 10px; bottom: 10px; }
.bts-tag { position: absolute; right: 8px; top: 8px; padding: 3px 8px; border-radius: 3px; background: rgba(0,0,0,.65); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.bts-media .ph { position: absolute; inset: 0; }

/* Lightbox */
.lightbox { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0,0,0,.96); color: #fff; }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; place-items: center; }
.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lb-stage { display: grid; place-items: center; width: 100%; height: 100%; padding: 64px 72px 8px; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: calc(100svh - 130px); width: auto; height: auto; object-fit: contain; border-radius: var(--radius); background: #000; }
.lb-caption { padding: 10px 16px 22px; font-size: 13px; color: #c9c9ce; letter-spacing: .04em; }
.lb-close { position: absolute; top: 12px; right: 12px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.lb-prev { left: 14px; } .lb-next { right: 14px; }

@media (max-width: 1100px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .charts { grid-template-columns: 1fr; }
  .process-panel { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stat { padding: 24px 12px 26px 0; }
  .stat + .stat { padding-left: 12px; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat-label { font-size: 13px; }
  .bar-row { grid-template-columns: 88px 1fr 32px; gap: 10px; }
  .p-line { top: 17px; }
  .p-name { font-size: 11px; }
  .p-dot { width: 36px; height: 36px; font-size: 12px; }
  .p-node { gap: 8px; padding: 0 1px; }
  .phase-name { font-size: 9px; letter-spacing: .04em; }
  .feature-btn { grid-template-columns: 120px minmax(0, 1fr); gap: 16px; }
  .feature-text { font-size: 14px; }
  .bts-grid { columns: 2; column-gap: 10px; }
  .bts-item { margin-bottom: 10px; }
  .lb-stage { padding: 56px 8px 4px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
}

/* Responsive */
@media (max-width: 1100px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .services li:nth-child(2n) { padding-left: 32px; border-left: 1px solid var(--line); }
}
@media (max-width: 900px) {
  :root { --header: 64px; }
  .menu-btn { display: inline-grid; }
  .header-cta { display: none; }
  .nav { position: fixed; inset: var(--header) 0 auto; flex-direction: column; gap: 0; padding: 8px var(--pad) 24px; background: rgba(0,0,0,.97); border-bottom: 1px solid var(--line); display: none; }
  .site-header.open .nav { display: flex; }
  .nav a { font: 700 26px/1 var(--display); font-stretch: 110%; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .brand img { height: 40px; }
  .about, .contact { grid-template-columns: 1fr; }
  .bta-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 8px; scroll-padding: 0 var(--pad); scrollbar-width: thin; }
  .bta-rail li { flex: 0 0 min(46vw, 220px); scroll-snap-align: start; }
}
@media (max-width: 640px) {
  .work-grid { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .services li:nth-child(n) { padding: 28px 0 32px; border-left: 0; }
  .field-row { grid-template-columns: 1fr; }
  .hero { min-height: 88svh; }
  .hero-actions .btn { flex: 1 1 100%; }
  .motion-btn { top: calc(var(--header) + 12px); bottom: auto; }
  .section-head { align-items: flex-start; }
  .filters { margin: 0 calc(var(--pad) * -1); padding: 4px var(--pad); width: calc(100% + var(--pad) * 2); max-width: none; }
  .site-footer { grid-template-columns: auto 1fr; }
  .footer-links { grid-column: 1 / -1; }
  .player { width: 100vw; max-height: 100svh; height: 100svh; }
  .player[open] { justify-content: center; }
}
