/* ==========================================================================
   ADD OWN PRODUCTIONS — "Viewfinder" (strategy + production)
   Light paper + ink, with dark "footage" sections. Camera-UI details:
   viewfinder corners, REC timecode, mono labels, film strip, shutter.
   ========================================================================== */

:root {
  --paper: #f4f4f2;
  --paper-2: #e8e8e5;
  --ink: #131312;
  --ink-2: #2a2926;
  --muted: #6e6a62;
  --line: rgba(19, 19, 18, 0.14);
  --night: #0a0a0a;
  --night-2: #151515;
  --on-night: #f4f4f2;
  --on-night-muted: #9a968d;
  --line-night: rgba(244, 244, 242, 0.14);
  --accent: #3a5bff;

  --container: 1380px;
  --gutter: clamp(20px, 3.6vw, 56px);
  --header-h: 84px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);

  --f-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul { list-style: none; }
::selection { background: var(--accent); color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; padding-block: clamp(90px, 11vw, 170px); }
.dark { background: var(--night); color: var(--on-night); }

/* ---------- Type ---------- */
.mono {
  font-family: var(--f-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.label { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.dark .label { color: var(--on-night-muted); }
.label::before { content: "("; } .label::after { content: ")"; }
.display {
  font-family: var(--f-display);
  font-weight: 600;
  font-variation-settings: "opsz" 96;
  letter-spacing: -0.045em;
  line-height: 0.92;
}
.d-xxl { font-size: clamp(64px, 13vw, 220px); }
.d-xl { font-size: clamp(48px, 8.4vw, 140px); }
.d-lg { font-size: clamp(38px, 5.6vw, 92px); line-height: 0.96; }
.d-md { font-size: clamp(28px, 3.2vw, 48px); line-height: 1.02; letter-spacing: -0.035em; }
.display em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); max-width: 520px; }
.dark .lead { color: var(--on-night-muted); }

/* Word-mask reveal */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.split .wi { display: inline-block; transform: translateY(108%); transition: transform 1.15s var(--ease); }
.split.in .wi { transform: none; }

/* Scroll-lit statement */
.statement {
  font-family: var(--f-display); font-weight: 500;
  font-variation-settings: "opsz" 60;
  font-size: clamp(28px, 3.9vw, 62px);
  line-height: 1.08; letter-spacing: -0.035em;
}
.statement .sw { color: rgba(19,19,18,0.16); transition: color 0.4s; }
.statement .sw.lit { color: var(--ink); }
.statement em { font-style: normal; }
.statement em .sw.lit { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  height: 56px; padding: 0 10px 0 26px;
  border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-weight: 600; font-size: 15.5px;
  overflow: hidden; isolation: isolate;
  transition: color 0.4s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: translateY(101%); border-radius: inherit; transition: transform 0.55s var(--ease); }
.btn:hover::before { transform: none; }
.btn .ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ink); transition: transform 0.5s var(--ease); }
.btn .ic svg { width: 16px; height: 16px; }
.btn:hover .ic { transform: rotate(-45deg); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light .ic { background: var(--ink); color: var(--paper); }
.btn-light:hover { color: #fff; }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; padding-right: 26px; }
.btn-ghost:hover { color: #fff; box-shadow: none; }

.link {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; /* comfortable tap target; underline sits just under the text */
  font-weight: 600; position: relative;
}
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1.5px; background: currentColor; transform-origin: right; transition: transform 0.5s var(--ease); }
.link:hover::after { transform: scaleX(0); }
.link svg { width: 16px; height: 16px; }

.chip {
  display: inline-flex; align-items: center;
  padding: 9px 16px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px; font-weight: 500;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.dark .chip { box-shadow: inset 0 0 0 1px var(--line-night); }

.rec { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: blink 1.2s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: 0.15; } }

/* ---------- Viewfinder corners ---------- */
.vf { position: relative; }
.vf::after {
  content: ""; position: absolute; pointer-events: none; z-index: 3;
  inset: var(--vf-in, 16px);
  --c: var(--vf-c, #fff); --l: var(--vf-l, 26px); --t: 1.5px;
  background:
    linear-gradient(var(--c), var(--c)) left top / var(--l) var(--t),
    linear-gradient(var(--c), var(--c)) left top / var(--t) var(--l),
    linear-gradient(var(--c), var(--c)) right top / var(--l) var(--t),
    linear-gradient(var(--c), var(--c)) right top / var(--t) var(--l),
    linear-gradient(var(--c), var(--c)) left bottom / var(--l) var(--t),
    linear-gradient(var(--c), var(--c)) left bottom / var(--t) var(--l),
    linear-gradient(var(--c), var(--c)) right bottom / var(--l) var(--t),
    linear-gradient(var(--c), var(--c)) right bottom / var(--t) var(--l);
  background-repeat: no-repeat;
  transition: inset 0.7s var(--ease), opacity 0.5s;
}
.vf-hover::after { opacity: 0; --vf-in: 34px; }
.vf-hover:hover::after { opacity: 1; --vf-in: 14px; }
/* Corners that close in when revealed */
.vf-reveal::after { opacity: 0; --vf-in: -18px; }
.vf-reveal.in::after { opacity: 1; --vf-in: 16px; transition-delay: 0.3s; }

/* Focus-pull image reveal (blurred → sharp) */
.focus img, .focus video { filter: blur(18px) saturate(0.6); transform: scale(1.12); transition: filter 1.6s var(--ease), transform 1.8s var(--ease); }
.focus.in img, .focus.in video { filter: none; transform: scale(1); }

/* ---------- Shutter transition ---------- */
.shutter { position: fixed; inset: 0; z-index: 300; pointer-events: none; }
.shutter i { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--night); transition: transform 0.75s var(--ease-io); }
.shutter i:first-child { top: 0; transform-origin: top; }
.shutter i:last-child { bottom: 0; transform-origin: bottom; }
.shutter.open i { transform: scaleY(0); }
/* Safety net: never leave the page covered if JS fails to load */
.shutter:not(.leaving) i { animation: shutterFallback 0.75s var(--ease-io) 3s forwards; }
@keyframes shutterFallback { to { transform: scaleY(0); } }
.shutter .shutter-tc { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--on-night); display: flex; align-items: center; gap: 10px; transition: opacity 0.3s; }
.shutter.open .shutter-tc { opacity: 0; }

/* ---------- Cursor: native pointer everywhere; a viewfinder frame + label
   appears around it only over media marked [data-cursor] ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; display: none;
  width: 96px; height: 70px; margin: -35px 0 0 -48px;
  opacity: 0; transform-origin: center;
  transition: opacity 0.3s;
}
.cursor i { position: absolute; inset: 0; --c: #fff; --l: 12px; --t: 1.5px;
  background:
    linear-gradient(var(--c), var(--c)) left top / var(--l) var(--t), linear-gradient(var(--c), var(--c)) left top / var(--t) var(--l),
    linear-gradient(var(--c), var(--c)) right top / var(--l) var(--t), linear-gradient(var(--c), var(--c)) right top / var(--t) var(--l),
    linear-gradient(var(--c), var(--c)) left bottom / var(--l) var(--t), linear-gradient(var(--c), var(--c)) left bottom / var(--t) var(--l),
    linear-gradient(var(--c), var(--c)) right bottom / var(--l) var(--t), linear-gradient(var(--c), var(--c)) right bottom / var(--t) var(--l);
  background-repeat: no-repeat; filter: drop-shadow(0 0 4px rgba(0,0,0,0.5));
  transform: scale(1.4); transition: transform 0.5s var(--ease); }
.cursor span { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 8px); white-space: nowrap; padding: 4px 9px; border-radius: 999px; background: var(--accent); color: #fff; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.cursor.label { opacity: 1; }
.cursor.label i { transform: none; }
@media (hover: hover) and (pointer: fine) { .has-cursor .cursor { display: block; } }

/* ---------- Header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; color: var(--ink); transition: transform 0.6s var(--ease), color 0.4s, background 0.4s; }
.header.inverse { color: var(--on-night); }
/* Once scrolled, frost the bar so content never clashes with the logo */
.header.scrolled { background: rgba(244, 244, 242, 0.82); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 1px 0 var(--line); }
.header.scrolled.inverse { background: rgba(10, 10, 10, 0.72); box-shadow: 0 1px 0 var(--line-night); }
.header.scrolled .header-bar { height: 70px; }
.header-bar { transition: height 0.5s var(--ease); }
.header.hidden { transform: translateY(-100%); }
.header-bar { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; flex: none; }
.nav { display: flex; gap: 6px; margin-left: auto; padding: 5px; border-radius: 999px; background: rgba(244,244,242,0.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line); transition: background 0.4s, box-shadow 0.4s; }
.header.inverse .nav { background: rgba(10,10,10,0.4); box-shadow: inset 0 0 0 1px var(--line-night); }
.nav a { padding: 9px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; transition: background 0.3s, color 0.3s; }
.nav a:hover { background: rgba(19,19,18,0.07); }
.header.inverse .nav a:hover { background: rgba(244,244,242,0.1); }
.nav a.active { background: var(--ink); color: var(--paper); }
.header.inverse .nav a.active { background: var(--paper); color: var(--ink); }
.header-cta { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 20px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; font-size: 15px; transition: transform 0.4s var(--ease); }
.header-cta:hover { transform: translateY(-2px); }
.header-cta .rec { background: #fff; box-shadow: none; width: 7px; height: 7px; }

.menu-toggle { display: none; margin-left: auto; height: 46px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px currentColor; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; position: relative; z-index: 2; }
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--night); color: var(--on-night); padding: 110px var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; clip-path: inset(0 0 100% 0); transition: clip-path 0.8s var(--ease-io); }
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); }
.menu-open .header { color: var(--on-night); }
.menu-open .header .logo img { filter: none; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { display: flex; align-items: baseline; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line-night); font-family: var(--f-display); font-weight: 600; font-size: clamp(44px, 13vw, 76px); letter-spacing: -0.04em; line-height: 1.05; opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.mobile-menu nav a small { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--on-night-muted); }
.mobile-menu nav a.active { color: var(--accent); }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: 0.08s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: 0.16s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: 0.24s; }
.mobile-menu-foot { display: grid; gap: 4px; color: var(--on-night-muted); }

/* ==========================================================================
   HOME
   ========================================================================== */
.hero { height: 100svh; min-height: 600px; padding: 0; overflow: hidden; }
.hero-frame { position: absolute; inset: 0; overflow: hidden; transform-origin: center 30%; will-change: transform; }
.hero-frame video { width: 100%; height: 100%; object-fit: cover; }
.hero-frame::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.2) 40%, rgba(10,10,10,0.75) 100%); }
.hero-frame.vf { --vf-in: 22px; --vf-l: 34px; }
.hud { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; color: var(--on-night); }
.hud-tl { top: calc(var(--header-h) + 18px); left: calc(var(--gutter) + 14px); }
.hud-tr { top: calc(var(--header-h) + 18px); right: calc(var(--gutter) + 14px); gap: 18px; }
.hud-bl { bottom: 40px; left: calc(var(--gutter) + 14px); }
.hud-br { bottom: 40px; right: calc(var(--gutter) + 14px); }
.hud .battery { width: 26px; height: 12px; border: 1.5px solid currentColor; border-radius: 2px; position: relative; }
.hud .battery::before { content: ""; position: absolute; inset: 2px 6px 2px 2px; background: currentColor; }
.hud .battery::after { content: ""; position: absolute; right: -4px; top: 3px; width: 2px; height: 4px; background: currentColor; }
.hero-content { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 var(--gutter); color: var(--on-night); }
.hero-content .display { max-width: 12ch; }
.hero-content p { margin-top: 26px; color: rgba(244,244,242,0.78); font-size: clamp(16px, 1.3vw, 19px); max-width: 460px; }
.hero-content .btn { margin-top: 34px; }
.crosshair { position: absolute; left: 50%; top: 50%; z-index: 2; width: 44px; height: 44px; margin: -22px 0 0 -22px; opacity: 0.35; }
.crosshair::before, .crosshair::after { content: ""; position: absolute; background: #fff; }
.crosshair::before { left: 0; right: 0; top: 50%; height: 1px; }
.crosshair::after { top: 0; bottom: 0; left: 50%; width: 1px; }

/* ---------- Intro: statement + framed shot + meters ---------- */
.intro { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(36px, 6vw, 110px); align-items: center; }
.intro .statement { margin-top: 22px; }
.intro-shot { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; will-change: transform; }
.intro-shot img { width: 100%; height: 100%; object-fit: cover; }
.intro-shot .tag-live { position: absolute; left: 24px; bottom: 24px; z-index: 4; display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.intro-shot::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.55)); }
.meters { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 40px); margin-top: clamp(44px, 5vw, 70px); }
.meter b { display: block; font-family: var(--f-display); font-weight: 600; font-size: clamp(38px, 4.4vw, 68px); letter-spacing: -0.05em; line-height: 1; }
.meter b sup { font-size: 0.42em; color: var(--accent); vertical-align: top; margin-left: 2px; }
.meter .bar { height: 3px; background: var(--line); margin: 16px 0 10px; overflow: hidden; border-radius: 3px; }
.meter .bar i { display: block; height: 100%; width: var(--w, 80%); background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) 0.2s; }
.meter .bar i::after { content: ""; float: right; width: 6px; height: 100%; background: var(--accent); }
.meters.in .bar i { transform: scaleX(1); }
.meter .mono { color: var(--muted); }

/* ---------- Services: list + sticky camera monitor ---------- */
.svc-sec { background: var(--paper-2); }
.svc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 70px); }
.svc-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.svc-item { display: block; padding: clamp(22px, 2.6vw, 34px) 0; border-top: 1px solid var(--line); color: rgba(19,19,18,0.32); transition: color 0.45s; }
.svc-item:last-child { border-bottom: 1px solid var(--line); }
.svc-item .top { display: flex; align-items: baseline; gap: 18px; }
.svc-item h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 3.6vw, 56px); letter-spacing: -0.045em; line-height: 1; }
.svc-item .more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); }
.svc-item .more > div { overflow: hidden; }
.svc-item .more p { color: var(--muted); padding: 14px 0 0 42px; max-width: 440px; }
.svc-item .more .mono { display: inline-flex; gap: 8px; padding: 12px 0 0 42px; color: var(--ink); }
.svc-item .shot { display: none; }
.svc-item.active { color: var(--ink); }
.svc-item.active .num { color: var(--accent); }
.svc-item.active .more { grid-template-rows: 1fr; }

.monitor { position: sticky; top: calc(var(--header-h) + 30px); aspect-ratio: 16 / 11; border-radius: var(--radius); overflow: hidden; background: var(--night); color: #fff; }
.monitor img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 0 0 100%); transform: scale(1.08); transition: clip-path 0.9s var(--ease-io), transform 1.4s var(--ease); }
.monitor img.was { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 0; transition: none; }
.monitor img.on { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 1; }
.monitor::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(0,0,0,0.35), transparent 30%, transparent 65%, rgba(0,0,0,0.6)); }
.monitor.vf { --vf-in: 16px; --vf-l: 24px; }
.mon-hud { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; }
.mon-tl { top: 28px; left: 32px; } .mon-tr { top: 28px; right: 32px; }
.mon-bl { bottom: 26px; left: 32px; font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 2.2vw, 34px); letter-spacing: -0.03em; }
.mon-br { bottom: 32px; right: 32px; }
.mon-grid { position: absolute; inset: 0; z-index: 3; pointer-events: none; background:
  linear-gradient(rgba(255,255,255,0.12), rgba(255,255,255,0.12)) 33.33% 0 / 1px 100% no-repeat,
  linear-gradient(rgba(255,255,255,0.12), rgba(255,255,255,0.12)) 66.66% 0 / 1px 100% no-repeat,
  linear-gradient(rgba(255,255,255,0.12), rgba(255,255,255,0.12)) 0 33.33% / 100% 1px no-repeat,
  linear-gradient(rgba(255,255,255,0.12), rgba(255,255,255,0.12)) 0 66.66% / 100% 1px no-repeat; }

/* ---------- Work: two film strips running opposite ways ---------- */
.strip-sec { overflow: hidden; }
.strip-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 70px); }
.filmstrip { --hole: rgba(244,244,242,0.85); position: relative; padding: 34px 0; background: var(--night-2); width: max-content; will-change: transform; }
.filmstrip + .filmstrip { margin-top: 18px; }
/* Sprocket holes */
.filmstrip::before, .filmstrip::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; background: repeating-linear-gradient(90deg, transparent 0 14px, var(--hole) 14px 30px, transparent 30px 44px); opacity: 0.85; }
.filmstrip::before { top: 11px; } .filmstrip::after { bottom: 11px; }
.frames { display: flex; gap: 16px; padding-inline: 16px; }
.frame { position: relative; width: clamp(300px, 34vw, 540px); flex: none; }
.filmstrip.small .frame { width: clamp(200px, 20vw, 320px); }
.frame-media { aspect-ratio: 3 / 2; overflow: hidden; background: #222; }
.frame-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); transition: transform 1.2s var(--ease), filter 0.6s; }
.frame:hover .frame-media img { transform: scale(1.06); filter: none; }
.frame-cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; color: var(--on-night-muted); }
.frame-cap b { color: var(--on-night); font-weight: 500; }
.frame.vf { --vf-in: 10px; --vf-l: 18px; }
.strip-foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 34px; color: var(--on-night-muted); }

/* ---------- Studio: fanned photos + end credits ---------- */
.studio { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
#studio { overflow-x: clip; } /* fanned photos must never widen the page */
.fan { position: relative; height: clamp(380px, 42vw, 600px); }
.fan figure { position: absolute; left: 50%; top: 50%; height: 84%; width: auto; aspect-ratio: 4 / 5; margin: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.35); transform: translate(-50%, -50%) rotate(var(--r, 0deg)) translateX(var(--x, 0px)); will-change: transform; background: var(--paper-2); }
.fan figure img { width: 100%; height: 100%; object-fit: cover; }
.fan figure:nth-child(1) { z-index: 1; }
.fan figure:nth-child(2) { z-index: 2; }
.fan figure:nth-child(3) { z-index: 3; }
.studio-copy .d-md { margin-top: 18px; }
.studio-copy > p { color: var(--muted); margin-top: 20px; max-width: 460px; }
.credits { margin-top: 36px; display: grid; gap: 14px; }
.credits li { display: flex; align-items: baseline; gap: 14px; }
.credits .role { color: var(--muted); white-space: nowrap; }
.credits .dots { flex: 1; border-bottom: 1.5px dotted rgba(19,19,18,0.3); transform: translateY(-4px); }
.credits b { font-family: var(--f-display); font-weight: 600; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.02em; white-space: nowrap; }
.studio-copy .link { margin-top: 34px; }

/* ---------- Let's roll: film-leader countdown ---------- */
@property --sweep { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.roll { text-align: center; overflow: hidden; }
.leader {
  position: relative; width: min(64vw, 360px); aspect-ratio: 1; margin: 0 auto clamp(30px, 4vw, 50px);
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(244,244,242,0.16) var(--sweep), transparent 0);
  box-shadow: inset 0 0 0 1.5px var(--line-night), 0 0 0 14px rgba(244,244,242,0.03);
  display: grid; place-items: center;
}
.leader::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-night); }
.leader::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(var(--line-night), var(--line-night)) 50% 0 / 1.5px 100% no-repeat,
  linear-gradient(var(--line-night), var(--line-night)) 0 50% / 100% 1.5px no-repeat; }
.leader.run { animation: sweep 0.9s linear 3; }
@keyframes sweep { from { --sweep: 0deg; } to { --sweep: 360deg; } }
.leader-num { position: relative; z-index: 2; font-family: var(--f-display); font-weight: 700; font-size: clamp(100px, 15vw, 190px); letter-spacing: -0.06em; line-height: 1; }
.leader-num .rec { width: 0.34em; height: 0.34em; box-shadow: 0 0 40px var(--accent); }
.roll .d-xxl { display: inline-flex; align-items: center; gap: 0.12em; }
.roll .d-xxl .rec { width: 0.16em; height: 0.16em; box-shadow: 0 0 30px var(--accent); }
.roll p { color: var(--muted); margin: 22px auto 0; max-width: 440px; }
.dark.roll p { color: var(--on-night-muted); }
.roll-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

/* ==========================================================================
   INNER PAGES
   ========================================================================== */
.page-hero { padding: calc(var(--header-h) + clamp(70px, 10vw, 140px)) 0 clamp(50px, 6vw, 90px); }
.page-hero .display { margin-top: 18px; }
.page-hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-top: 26px; }

/* Services: clapperboard slates */
.slates { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.slate { scroll-margin-top: 110px; background: var(--paper-2); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.clapper { position: relative; height: 44px; perspective: 600px; }
.clapper::before, .clapper::after {
  content: ""; position: absolute; left: 0; right: 0; height: 22px;
  background: repeating-linear-gradient(-55deg, var(--ink) 0 22px, var(--paper) 22px 44px);
}
.clapper::before { top: 0; transform-origin: 0 100%; transition: transform 0.35s cubic-bezier(.5,0,.2,1.4); }
.clapper::after { bottom: 0; background: repeating-linear-gradient(55deg, var(--ink) 0 22px, var(--paper) 22px 44px); }
.slate:hover .clapper::before { transform: rotate(-12deg); }
.slate-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.slate-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.slate:hover .slate-media img { transform: scale(1.05); }
.slate-body { padding: clamp(22px, 2.6vw, 36px); display: grid; gap: 14px; }
.slate-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px 28px; color: var(--muted); }
.slate-meta b { display: block; color: var(--ink); }
.slate h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.04em; line-height: 1; }
.slate p { color: var(--muted); }
.slate .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.slate .link { justify-self: start; margin-top: 6px; }

/* Timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 44px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 1px; background: var(--line-night); }
.timeline-fill { position: absolute; left: 0; top: 10px; height: 1px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.tl-step { position: relative; }
.tl-step::before { content: ""; position: absolute; top: -40px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--night); box-shadow: inset 0 0 0 1.5px var(--on-night-muted); transition: background 0.4s, box-shadow 0.4s; }
.tl-step.on::before { background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.tl-step .mono { color: var(--accent); }
.tl-step h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.03em; margin: 10px 0 8px; }
.tl-step p { color: var(--on-night-muted); font-size: 15.5px; }

/* Marquee */
.marquee { overflow: hidden; padding-block: 28px; border-block: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--f-display); font-weight: 600; font-size: clamp(26px, 3.4vw, 50px); letter-spacing: -0.04em; white-space: nowrap; }
.marquee-track span::after { content: ""; width: 0.28em; height: 0.28em; border-radius: 50%; background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Work grid */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2vw, 28px); }
.tile { grid-column: span 4; position: relative; cursor: pointer; }
.tile.w8 { grid-column: span 8; }
.tile.w6 { grid-column: span 6; }
.tile.hide { display: none; }
.tile-media { position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 4 / 3; background: var(--paper-2); }
.tile.w8 .tile-media { aspect-ratio: 16 / 9; }
.tile.tall .tile-media { aspect-ratio: 4 / 5; }
.tile-media img, .tile-media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover .tile-media img { transform: scale(1.05); }
.tile-media.vf { --vf-l: 18px; }
.tile-cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; }
.tile-cap b { font-weight: 600; }
.tile-cap span { color: var(--muted); }
.tile-badge { position: absolute; left: 14px; top: 14px; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(10,10,10,0.6); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.c-lines { display: grid; margin-top: 44px; border-top: 1px solid var(--line); }
.c-line { display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding 0.5s var(--ease); }
a.c-line:hover { padding-left: 12px; }
.c-line .mono { color: var(--muted); }
.c-line b { font-family: var(--f-display); font-weight: 600; font-size: clamp(19px, 1.7vw, 26px); letter-spacing: -0.02em; line-height: 1.25; word-break: break-word; }
.c-line svg { width: 18px; height: 18px; color: var(--muted); }
.socials { display: flex; gap: 8px; margin-top: 28px; flex-wrap: wrap; }

.form { display: grid; gap: 28px; padding: clamp(26px, 3.6vw, 48px); background: var(--paper-2); border-radius: var(--radius); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label, .field .mono { display: block; margin-bottom: 10px; color: var(--muted); }
.field input, .field textarea { width: 100%; padding: 10px 0; border: 0; border-bottom: 1.5px solid var(--line); background: transparent; outline: none; font-size: 18px; transition: border-color 0.3s; border-radius: 0; }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { color: var(--accent); font-size: 15px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { padding: 0 0 28px; overflow: hidden; }
.footer-marquee { padding-block: clamp(40px, 6vw, 80px) clamp(30px, 4vw, 50px); }
.footer-marquee .marquee-track span { font-size: clamp(64px, 11vw, 190px); letter-spacing: -0.055em; }
.footer-marquee .marquee { border: 0; padding: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 40px; border-top: 1px solid var(--line-night); }
.footer h4 { color: var(--on-night-muted); margin-bottom: 14px; }
.footer-links { display: grid; gap: 6px; }
.footer-links a { width: fit-content; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent); }
.footer-brand p { color: var(--on-night-muted); margin-top: 16px; max-width: 300px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; color: var(--on-night-muted); }
/* Small text links get a bigger invisible hit area */
.hud-br, [data-top] { padding: 13px; margin: -13px; }
.footer-bottom a:hover { color: var(--on-night); }
.footer .logo img { height: 64px; }

/* ---------- Lightbox / modal ---------- */
.lightbox { position: fixed; inset: 0; z-index: 260; display: grid; place-items: center; padding: 70px 16px; background: rgba(10,10,9,0.95); opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; color: var(--on-night); }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1400px, 100%); max-height: 100%; object-fit: contain; border-radius: 6px; }
.ctl { position: absolute; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-night); transition: background 0.3s; }
.ctl:hover { background: var(--accent); box-shadow: none; }
.ctl svg { width: 18px; height: 18px; }
.ctl-close { top: 18px; right: 18px; }
.ctl-prev { left: 18px; top: 50%; margin-top: -25px; }
.ctl-next { right: 18px; top: 50%; margin-top: -25px; }
.lb-count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: var(--on-night-muted); }

/* ---------- Reveals ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .intro, .studio, .contact-wrap { grid-template-columns: 1fr; }
  .intro-shot { max-width: 520px; aspect-ratio: 16 / 11; }
  /* Services: no sticky monitor — every item open, with its own shot */
  .svc-wrap { grid-template-columns: 1fr; }
  .monitor { display: none; }
  .svc-item, .svc-item .num { color: var(--ink); }
  .svc-item .more { grid-template-rows: 1fr; }
  .svc-item .shot { display: block; margin: 18px 0 0 42px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; }
  .svc-item .shot img { width: 100%; height: 100%; object-fit: cover; }
  /* Tablet (701–1000px): service text beside its shot */
  .svc-item .more > div { display: grid; grid-template-columns: 1fr 38%; column-gap: 24px; align-items: start; }
  .svc-item .more p { grid-column: 1; }
  .svc-item .more .mono { grid-column: 1; align-self: start; }
  .svc-item .shot { grid-column: 2; grid-row: 1 / span 2; margin: 14px 0 0; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tile, .tile.w6 { grid-column: span 6; }
  .tile.w8 { grid-column: span 12; }
}
@media (max-width: 700px) {
  :root { --header-h: 72px; }
  section { padding-block: 84px; }
  .logo img { height: 40px; }
  .hud-tr span { display: none; }
  .meters { grid-template-columns: 1fr 1fr; }
  .svc-item .more p, .svc-item .more .mono { padding-left: 0; }
  .svc-item .shot { margin-left: 0; }
  .fan { height: 340px; }
  .fan figure { height: 80%; }
  .slates { grid-template-columns: 1fr; }
  .svc-item .more > div { display: block; }
  .svc-item .shot { margin: 18px 0 0; }
  .footer-links { gap: 12px; }
  .credits li { flex-wrap: wrap; gap: 2px 10px; }
  .credits .dots { display: none; }
  .credits .role { width: 100%; }
  .timeline { grid-template-columns: 1fr; }
  .tile, .tile.w6, .tile.w8 { grid-column: span 12; }
  .form .row { grid-template-columns: 1fr; }
  .c-line { grid-template-columns: 1fr auto; }
  .c-line .mono { grid-column: 1 / -1; }
  .form-foot .btn { width: 100%; justify-content: space-between; }
  .footer-grid { grid-template-columns: 1fr; }
  .ctl-prev, .ctl-next { top: auto; bottom: 14px; margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .split .wi { transform: none; }
  .focus img, .focus video { filter: none; transform: none; }
  .statement .sw { color: var(--ink); }
  .meter .bar i { transform: none; }
  .monitor img { clip-path: none; }
  .shutter { display: none; }
}
