/* =========================================================
   AICPIC — cinematic site
   Palette: ink / bone / steel, one signal red for the REC light
   ========================================================= */

:root {
  --ink: #05070a;
  --ink-2: #0c1016;
  --ink-3: #141a22;
  --bone: #ece8e1;
  --steel: #8b95a3;
  --line: rgba(236, 232, 225, 0.14);
  --line-strong: rgba(236, 232, 225, 0.32);
  --rec: #e8322b;

  --f-display: "Unbounded", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);

  --pad: clamp(20px, 5vw, 80px);
  --header-h: 84px;
}

*,
*::before,
*::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  background: var(--ink);
  color: var(--bone);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

::selection { background: var(--bone); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--bone);
  outline-offset: 4px;
}

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--steel);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rec);
  box-shadow: 0 0 12px var(--rec);
}

.h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(34px, 5.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 16ch;
}

.section-head { padding: 0 var(--pad); margin-bottom: clamp(48px, 7vw, 110px); }

/* word-split reveal (words wrapped by JS) */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-words .w > span {
  display: inline-block;
  transform: translateY(105%) rotate(4deg);
  transform-origin: left bottom;
  transition: transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i) * 55ms);
}
.split-words.in .w > span { transform: none; }

.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out), filter 1s var(--ease-out);
}
.reveal-up.in { opacity: 1; transform: none; filter: none; }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 28px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  font-size: 15px;
  font-weight: 500;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease-out), border-color 0.5s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bone);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.6s var(--ease-out);
  z-index: -1;
}
.btn:hover { color: var(--ink); border-color: var(--bone); }
.btn:hover::before { transform: none; }
.btn span { display: inline-block; transition: transform 0.6s var(--ease-out); }

.btn--solid { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn--solid::before { background: var(--ink-3); }
.btn--solid:hover { color: var(--bone); border-color: var(--line-strong); }

.btn--ghost { border-color: transparent; color: var(--steel); }
.btn--ghost:hover { border-color: var(--bone); }

/* =========================================================
   PRELOADER — film leader countdown
   ========================================================= */
.leader {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--ink);
  display: grid;
  place-items: center;
  transition: opacity 0.5s ease, visibility 0.5s;
}
.leader.done { opacity: 0; visibility: hidden; }

.leader__frame { position: relative; width: min(52vw, 300px); aspect-ratio: 1; }
.leader__svg { width: 100%; height: 100%; overflow: visible; }
.leader__svg circle,
.leader__svg line { fill: none; stroke: var(--bone); stroke-width: 1; opacity: 0.55; }
.leader__ring--inner { opacity: 0.3 !important; }
.leader__sweep {
  stroke: var(--bone) !important;
  stroke-width: 86 !important;
  opacity: 0.12 !important;
  stroke-dasharray: 0 100;
  transform: rotate(-90deg);
  transform-origin: 100px 100px;
  animation: sweep 0.8s linear infinite;
}
@keyframes sweep { to { stroke-dasharray: 100 0; } }

.leader__num {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 300;
  font-size: min(26vw, 150px);
  line-height: 1;
}
.leader__num.tick { animation: tick 0.8s steps(1) both; }
@keyframes tick { 0% { opacity: 0.4; } 8% { opacity: 1; } }

.leader__meta {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 40px;
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--steel);
}

/* scratch flicker on the leader */
.leader::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 31%, rgba(236,232,225,.07) 31.2%, transparent 31.5%),
    linear-gradient(90deg, transparent 73%, rgba(236,232,225,.05) 73.1%, transparent 73.3%);
  animation: flicker 0.12s steps(2) infinite;
  pointer-events: none;
}
@keyframes flicker { 50% { opacity: 0.3; transform: translateX(6px); } }

/* =========================================================
   LETTERBOX — closes the screen, then opens on the hero
   ========================================================= */
.letterbox {
  position: fixed;
  left: 0;
  right: 0;
  height: 50.5vh;
  background: #000;
  z-index: 250;
  pointer-events: none;
}
.letterbox--top { top: 0; }
.letterbox--bottom { bottom: 0; }

body.is-ready .letterbox { animation: barsOpen 1.9s var(--ease-io) forwards; }
@keyframes barsOpen {
  0% { height: 50.5vh; }
  40% { height: 12vh; }
  70% { height: 12vh; }
  100% { height: 0; }
}

/* =========================================================
   GRAIN + VIGNETTE
   ========================================================= */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 200;
  pointer-events: none;
  opacity: 0.09;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 0.6s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-6%, 4%); }
  40% { transform: translate(5%, -7%); }
  60% { transform: translate(-3%, 8%); }
  80% { transform: translate(7%, 2%); }
  100% { transform: translate(0, 0); }
}

/* =========================================================
   CURSOR (fine pointers only, enabled by JS)
   ========================================================= */
.cursor { display: none; }
.has-cursor .cursor {
  display: grid;
  place-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--bone);
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 400;
  transition: width 0.45s var(--ease-out), height 0.45s var(--ease-out), margin 0.45s var(--ease-out), background 0.3s;
}
.has-cursor .cursor.is-big {
  width: 96px;
  height: 96px;
  margin: -48px 0 0 -48px;
  mix-blend-mode: normal;
  background: var(--bone);
}
.has-cursor .cursor.is-link { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: transparent; border: 1px solid var(--bone); }
.cursor__label {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.3s, transform 0.4s var(--ease-out);
}
.cursor.is-big .cursor__label { opacity: 1; transform: none; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 150;
  height: var(--header-h);
  padding: 0 var(--pad);
  padding-top: env(safe-area-inset-top, 0px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: transform 0.7s var(--ease-out), background 0.5s, height 0.5s;
  transform: translateY(-110%);
}
body.is-ready .header { transform: none; transition-delay: 1.3s; }
.header.is-scrolled {
  background: rgba(5, 7, 10, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  height: 68px;
  transition-delay: 0s;
}
.header.is-hidden { transform: translateY(-110%) !important; transition-delay: 0s !important; }

.header__logo img { width: 52px; height: auto; transition: transform 0.6s var(--ease-out); }
.header__logo:hover img { transform: rotate(-8deg) scale(1.06); }

.header__nav { display: flex; gap: 34px; }
.header__nav a {
  position: relative;
  display: inline-block;
  overflow: hidden;
  font-size: 15px;
  height: 1.5em;
  line-height: 1.5;
}
.header__nav a span { display: block; transition: transform 0.5s var(--ease-out); }
.header__nav a::after {
  content: attr(data-roll);
  position: absolute;
  left: 0;
  top: 100%;
  color: var(--steel);
  transition: transform 0.5s var(--ease-out);
}
.header__nav a:hover span,
.header__nav a:hover::after { transform: translateY(-100%); }
.header__nav a.is-active span { color: var(--bone); }
.header__nav a.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--bone);
}

.header__cta {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 20px;
  border-radius: 100px;
  background: var(--bone);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.3s;
}
.header__cta:hover { background: #fff; }

.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 2; }
.burger span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 1.5px;
  background: var(--bone);
  transition: transform 0.5s var(--ease-out), top 0.5s var(--ease-out);
}
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* full-screen menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: var(--ink);
  padding: calc(var(--header-h) + 30px + env(safe-area-inset-top, 0px)) var(--pad) calc(36px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease-io);
  visibility: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__nav { display: flex; flex-direction: column; gap: 6px; }
.menu__nav a {
  display: block;
  overflow: hidden;
  font-family: var(--f-display);
  font-size: clamp(32px, 9vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.menu__nav a span { display: inline-block; transform: translateY(110%); transition: transform 0.8s var(--ease-out); }
.menu.is-open .menu__nav a span { transform: none; }
.menu.is-open .menu__nav a:nth-child(1) span { transition-delay: 0.25s; }
.menu.is-open .menu__nav a:nth-child(2) span { transition-delay: 0.3s; }
.menu.is-open .menu__nav a:nth-child(3) span { transition-delay: 0.35s; }
.menu.is-open .menu__nav a:nth-child(4) span { transition-delay: 0.4s; }
.menu.is-open .menu__nav a:nth-child(5) span { transition-delay: 0.45s; }
.menu.is-open .menu__nav a:nth-child(6) span { transition-delay: 0.5s; }
.menu__foot { display: flex; gap: 24px; color: var(--steel); font-family: var(--f-mono); font-size: 13px; }

/* =========================================================
   HERO — viewfinder
   ========================================================= */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero__media {
  position: absolute;
  inset: -4%;
  will-change: transform;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 40%;
  transform: scale(-1.3, 1.3); /* mirrored: subject on the right, title on the left */
  filter: brightness(0.4) blur(8px);
  transition: transform 3.2s var(--ease-out), filter 2.4s var(--ease-out);
}
body.is-ready .hero__img { transform: scale(-1.06, 1.06); filter: brightness(1) blur(0); transition-delay: 0.5s; }

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(5,7,10,0.97) 0%, rgba(5,7,10,0.6) 30%, rgba(5,7,10,0) 62%),
    linear-gradient(90deg, rgba(5,7,10,0.82) 0%, rgba(5,7,10,0.35) 45%, rgba(5,7,10,0) 70%),
    linear-gradient(rgba(8,14,22,0.32), rgba(8,14,22,0.32)),
    radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
}

/* viewfinder */
.vf {
  position: absolute;
  inset: calc(var(--header-h) + 8px) var(--pad) 28px;
  pointer-events: none;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(236, 232, 225, 0.82);
  opacity: 0;
  transition: opacity 1.2s ease 1.6s;
}
body.is-ready .vf { opacity: 1; }

.vf__corner { position: absolute; width: 26px; height: 26px; border-color: rgba(236,232,225,.7); border-style: solid; border-width: 0; }
.vf__corner--tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.vf__corner--tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.vf__corner--bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.vf__corner--br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }

.vf__thirds {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent calc(33.33% - .5px), rgba(236,232,225,.08) calc(33.33% - .5px), rgba(236,232,225,.08) calc(33.33% + .5px), transparent calc(33.33% + .5px)),
    linear-gradient(90deg, transparent calc(66.66% - .5px), rgba(236,232,225,.08) calc(66.66% - .5px), rgba(236,232,225,.08) calc(66.66% + .5px), transparent calc(66.66% + .5px)),
    linear-gradient(0deg, transparent calc(33.33% - .5px), rgba(236,232,225,.08) calc(33.33% - .5px), rgba(236,232,225,.08) calc(33.33% + .5px), transparent calc(33.33% + .5px)),
    linear-gradient(0deg, transparent calc(66.66% - .5px), rgba(236,232,225,.08) calc(66.66% - .5px), rgba(236,232,225,.08) calc(66.66% + .5px), transparent calc(66.66% + .5px));
}

.vf__focus {
  position: absolute;
  top: 0;
  left: 0;
  width: 74px;
  height: 54px;
  margin: -27px 0 0 -37px;
  border: 1px solid rgba(236,232,225,.75);
  transition: border-color 0.3s;
}
.vf__focus::before,
.vf__focus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(236,232,225,.75);
}
.vf__focus::before { width: 10px; height: 1px; margin-left: -5px; }
.vf__focus::after { width: 1px; height: 10px; margin-top: -5px; }
.vf__focus.locked { border-color: #7cff9b; animation: lock 0.35s steps(2) 2; }
@keyframes lock { 50% { opacity: 0.2; } }

.vf__row { position: absolute; display: flex; gap: 28px; }
.vf__row--top { top: 14px; left: 40px; right: 40px; justify-content: space-between; }
.vf__row--side {
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  gap: 14px;
  text-align: right;
}
.vf__rec { display: inline-flex; align-items: center; gap: 8px; color: var(--bone); }
.vf__rec i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rec);
  box-shadow: 0 0 10px var(--rec);
  animation: rec 1.1s steps(1) infinite;
}
@keyframes rec { 50% { opacity: 0.15; } }
.vf__tc { font-variant-numeric: tabular-nums; }

.vf__meter {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 120px;
  height: 4px;
  background: rgba(236,232,225,.15);
}
.vf__meter span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  background: linear-gradient(90deg, var(--bone) 70%, #ffd166 85%, var(--rec));
  transition: width 0.12s linear;
}

/* hero content */
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 calc(var(--pad) + 36px) clamp(70px, 9vh, 110px);
}
.hero__kicker {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--bone);
  opacity: 0.8;
  margin-bottom: 22px;
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(44px, 8.2vw, 148px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.line__inner {
  display: inline-block;
  transform: translateY(112%);
  transition: transform 1.4s var(--ease-out);
}
.hero__title .line:nth-child(1) .line__inner { transition-delay: 1.5s; }
.hero__title .line:nth-child(2) .line__inner { transition-delay: 1.62s; }
.hero__title .line:nth-child(3) .line__inner { transition-delay: 1.74s; }
body.is-ready .hero__title .line__inner { transform: none; }

/* hero staggered reveals */
.hero .reveal-up { transition-delay: calc(1.7s + var(--d, 0) * 0.12s); }
body.is-ready .hero .reveal-up { opacity: 1; transform: none; filter: none; }

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.hero__lede { max-width: 38ch; color: rgba(236,232,225,.82); font-size: 18px; line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--steel);
  opacity: 0;
  transition: opacity 1s ease 2.6s;
}
body.is-ready .scroll-cue { opacity: 1; }
.scroll-cue i { width: 1px; height: 40px; background: var(--line-strong); position: relative; overflow: hidden; }
.scroll-cue i::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 1px;
  height: 40%;
  background: var(--bone);
  animation: cue 1.8s var(--ease-io) infinite;
}
@keyframes cue { to { top: 100%; } }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  background: var(--ink);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  will-change: transform;
}
.marquee__track span {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(30px, 5vw, 72px);
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236,232,225,.55);
  transition: color 0.4s;
}
.marquee__track span:hover { color: var(--bone); }
.marquee__track b { font-size: 20px; color: var(--rec); font-weight: 400; }

/* =========================================================
   SERVICES
   ========================================================= */
.services { padding: clamp(100px, 14vw, 200px) 0 clamp(80px, 10vw, 160px); position: relative; }

.svc-list { border-top: 1px solid var(--line); }
.svc { border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.svc__row {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding: clamp(26px, 3.2vw, 44px) var(--pad);
  text-align: left;
  isolation: isolate;
  transition: color 0.55s var(--ease-out);
}
.svc__row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bone);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.6s var(--ease-out);
  z-index: -1;
}
.svc__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(28px, 4.4vw, 68px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  transition: transform 0.7s var(--ease-out);
}
.svc__desc { color: var(--steel); max-width: 40ch; transition: color 0.5s; }
.svc__go {
  font-family: var(--f-mono);
  font-size: 12px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  white-space: nowrap;
  transition: border-color 0.5s, background 0.5s, color 0.5s;
}
.svc__row:hover,
.svc__row:focus-visible { color: var(--ink); }
.svc__row:hover::before,
.svc__row:focus-visible::before { transform: scaleY(1); transform-origin: top; }
.svc__row:hover .svc__title { transform: translateX(18px); }
.svc__row:hover .svc__desc { color: #3c4450; }
.svc__row:hover .svc__go { background: var(--ink); color: var(--bone); border-color: var(--ink); }

/* reveal of each row */
.svc { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out); }
.svc.in { opacity: 1; transform: none; }

.svc-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: 340px;
  aspect-ratio: 4 / 3;
  pointer-events: none;
  z-index: 120;
  overflow: hidden;
  border-radius: 6px;
  clip-path: inset(50% 50% 50% 50%);
  transition: clip-path 0.6s var(--ease-out);
  will-change: transform;
}
.svc-preview.on { clip-path: inset(0 0 0 0); }
.svc-preview img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); transition: transform 0.8s var(--ease-out); }
.svc-preview.on img { transform: scale(1); }

/* =========================================================
   WORK — reel of shots
   ========================================================= */
.work { padding: clamp(80px, 10vw, 160px) 0; background: var(--ink); }
.section-head--split { display: flex; flex-direction: column; }

.reel { display: flex; flex-direction: column; gap: clamp(90px, 12vw, 200px); padding: 0 var(--pad); }

.shot { position: relative; width: min(100%, 1180px); --p: 0; }
.shot--right { align-self: flex-end; }

.shot__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  clip-path: inset(calc((1 - var(--p)) * 14%) calc((1 - var(--p)) * 10%) round 4px);
  background: var(--ink-2);
}
.shot__img {
  position: absolute;
  inset: -12% 0;
  width: 100%;
  height: 124%;
  object-fit: cover;
  transform: translateY(var(--py, 0px)) scale(calc(1.2 - var(--p) * 0.14));
  filter: saturate(calc(0.4 + var(--p) * 0.6)) brightness(calc(0.55 + var(--p) * 0.45));
  transition: filter 0.4s;
  will-change: transform;
}
.shot__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5,7,10,.55), transparent 45%);
  transition: opacity 0.6s;
}
.shot__frame:hover::after { opacity: 0.3; }
.shot__tc {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 2;
  font-family: var(--f-mono);
  font-size: 11px;
  color: rgba(236,232,225,.75);
}

.shot__caption {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 8px 24px;
  margin-top: -0.55em;
  position: relative;
  z-index: 2;
  padding: 0 clamp(10px, 2vw, 30px);
  font-size: clamp(44px, 8vw, 128px);
}
.shot__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1em;
  line-height: 1;
  letter-spacing: -0.05em;
  grid-column: 1 / -1;
  overflow: hidden;
}
.shot__title .ch { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 28ms); }
.shot.in .shot__title .ch { transform: none; }
.shot__kind { font-size: 17px; color: var(--steel); }
.shot__play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 18px 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  transition: background 0.4s, color 0.4s;
}
.shot__play i {
  width: 0;
  height: 0;
  border-left: 9px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  margin-left: 6px;
}
.shot__play:hover { background: var(--bone); color: var(--ink); }

/* =========================================================
   ABOUT
   ========================================================= */
.about { padding: clamp(100px, 13vw, 200px) var(--pad); background: var(--ink-2); position: relative; }
.about__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.about__left { position: sticky; top: 120px; }

.about__scrub {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(22px, 2.5vw, 36px);
  line-height: 1.38;
  letter-spacing: -0.02em;
  margin-bottom: clamp(60px, 7vw, 100px);
}
.about__scrub .sw { opacity: 0.14; transition: opacity 0.35s linear; }
.about__scrub .sw.lit { opacity: 1; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 28px 20px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat dt {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(38px, 4.8vw, 72px);
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat dd { margin-top: 12px; color: var(--steel); font-size: 15px; }

/* =========================================================
   QUOTE
   ========================================================= */
.quote { padding: clamp(100px, 13vw, 200px) 0; }
.quote__lede { margin-top: 26px; color: var(--steel); max-width: 52ch; }

.tabs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 var(--pad);
  margin-bottom: 50px;
}
.tab {
  position: relative;
  z-index: 1;
  height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  font-size: 15px;
  transition: color 0.4s, border-color 0.4s;
}
.tab:hover { border-color: var(--bone); }
.tab[aria-selected="true"] { color: var(--ink); border-color: transparent; }
.tab--link { color: var(--steel); border-style: dashed; }
.tabs__ink {
  position: absolute;
  top: 0;
  left: 0;
  height: 46px;
  border-radius: 100px;
  background: var(--bone);
  z-index: 0;
  opacity: 0;
  transition: transform 0.6s var(--ease-out), width 0.6s var(--ease-out), opacity 0.3s;
}

.quote__stage { padding: 0 var(--pad); }
.quote__empty {
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  padding: 50px 30px;
  text-align: center;
  color: var(--steel);
  font-family: var(--f-mono);
  font-size: 13px;
}

.qform {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  padding: clamp(26px, 4vw, 60px);
  animation: formIn 0.9s var(--ease-out);
}
@keyframes formIn { from { opacity: 0; transform: translateY(30px); clip-path: inset(0 0 40% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }

.qform__head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.qform__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 3vw, 42px); letter-spacing: -0.03em; }
.qform__note { font-family: var(--f-mono); font-size: 12px; color: var(--steel); }

.qform__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 40px; }
.field { display: flex; flex-direction: column; gap: 8px; animation: fieldIn 0.8s var(--ease-out) both; animation-delay: calc(var(--i) * 45ms + 0.2s); }
@keyframes fieldIn { from { opacity: 0; transform: translateY(16px); } }
.field--wide { grid-column: 1 / -1; }
.field__label { font-size: 14px; color: var(--steel); }
.qform__group {
  grid-column: 1 / -1;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--steel);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-top: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 17px;
  color: var(--bone);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 10px 0 12px;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%238b95a3' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
  cursor: pointer;
}
.field select option { background: var(--ink-2); color: var(--bone); }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(139,149,163,.6); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--bone); }
.field input[type="date"] { color-scheme: dark; }

.qform__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; align-items: center; }
.qform__hint { font-size: 14px; color: var(--steel); margin-left: auto; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  padding: clamp(110px, 14vw, 220px) var(--pad) clamp(80px, 10vw, 140px);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 120%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(139,149,163,.14), transparent 70%);
  pointer-events: none;
}
.contact__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(44px, 9vw, 160px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  margin-bottom: clamp(60px, 8vw, 120px);
}
.contact__title .line__inner { transition-duration: 1.3s; }
.contact__title .line:nth-child(2) .line__inner { transition-delay: 0.12s; }
.contact__title.in .line__inner { transform: none; }

.contact__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.clink {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px 30px 0;
  overflow: hidden;
}
.clink + .clink { padding-left: 24px; border-left: 1px solid var(--line); }
.clink__k { font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -0.03em; }
.clink__v { color: var(--steel); font-size: 15px; overflow-wrap: anywhere; transition: color 0.3s; }
.clink::after {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  height: 2px;
  width: 100%;
  background: var(--bone);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.7s var(--ease-out);
}
.clink:hover::after { transform: scaleX(1); transform-origin: left; }
.clink:hover .clink__v { color: var(--bone); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  padding: 40px var(--pad) calc(40px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  color: var(--steel);
  font-size: 14px;
}
.footer__logo { width: 44px; height: auto; opacity: 0.85; }
.footer__top { margin-left: auto; color: var(--bone); border-bottom: 1px solid var(--line-strong); }
.footer__top:hover { border-color: var(--bone); }

/* =========================================================
   CINEMA PLAYER
   ========================================================= */
.cinema {
  position: fixed;
  inset: 0;
  z-index: 350;
  background: rgba(0,0,0,.94);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s;
}
.cinema.open { opacity: 1; visibility: visible; }
.cinema__bar { position: absolute; left: 0; right: 0; height: 0; background: #000; transition: height 0.9s var(--ease-io); z-index: 2; }
.cinema__bar--top { top: 0; }
.cinema__bar--bottom { bottom: 0; }
.cinema.open .cinema__bar { height: 9vh; }

.cinema__screen {
  width: min(92vw, calc(78vh * 16 / 9));
  aspect-ratio: 16 / 9;
  background: #000;
  transform: scale(0.92);
  opacity: 0;
  transition: transform 0.9s var(--ease-out) 0.2s, opacity 0.6s ease 0.25s;
}
.cinema.open .cinema__screen { transform: none; opacity: 1; }
.cinema__screen iframe { width: 100%; height: 100%; border: 0; display: block; }

.cinema__ui {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  top: calc(env(safe-area-inset-top, 0px) + 2.2vh);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}
.cinema__title { font-family: var(--f-display); font-size: 16px; margin-right: auto; }
.cinema__yt { color: var(--steel); border-bottom: 1px solid var(--line-strong); }
.cinema__yt:hover { color: var(--bone); }
.cinema__close {
  height: 40px;
  padding: 0 18px;
  border-radius: 100px;
  background: var(--bone);
  color: var(--ink);
  font-weight: 600;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .svc__row { grid-template-columns: 1fr auto; }
  .svc__desc { grid-column: 1 / -1; grid-row: 2; }
  .svc__go { grid-row: 1; grid-column: 2; }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .header__nav, .header__cta { display: none; }
  .burger { display: block; }
  .vf__row--side, .vf__meter, .vf__focus { display: none; }
  .vf__row--top { left: 34px; right: 34px; }
  .hero__content { padding-left: calc(var(--pad) + 8px); padding-right: calc(var(--pad) + 8px); }
  .about__grid { grid-template-columns: 1fr; }
  .about__left { position: static; }
  .contact__links { grid-template-columns: 1fr; }
  .clink + .clink { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .svc-preview { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { min-height: 600px; }
  .hero__img { object-position: 42% 50%; }
  .hero__lede { font-size: 16px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .vf__row--top span:last-child { display: none; }
  .scroll-cue { display: none; }
  .svc__go { display: none; }
  .svc__row { grid-template-columns: 1fr; gap: 10px; }
  .shot__caption { grid-template-columns: 1fr; }
  .shot__play { justify-self: start; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-bottom: 20px; }
  .stat { padding-bottom: 20px; }
  .qform__grid { grid-template-columns: 1fr; }
  .qform__hint { margin-left: 0; }
  .footer__top { margin-left: 0; }
  .cinema__title { display: none; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  html { scroll-behavior: auto; }
  .grain { display: none; }
  .letterbox { display: none; }
}
