/* =========================================================
   КРЯ ПРОДАКШН — main stylesheet
   Palette: black / white / brand yellow (#FEEA27 from logo)
   ========================================================= */
:root {
  --black: #0a0a0a;
  --ink: #141414;
  --ink-2: #1d1d1d;
  --white: #f5f3ee;
  --pure: #ffffff;
  --yellow: #feea27;
  --yellow-deep: #f5d800;
  --gray: #8c8c8c;

  --bg: var(--black);
  --fg: var(--white);
  --muted: rgba(245, 243, 238, .55);
  --line: rgba(245, 243, 238, .14);
  --accent: var(--yellow);

  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 3.2vw, 72px);
  --radius: clamp(14px, 1.4vw, 32px);
  --ease: cubic-bezier(.65, .05, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --fs-body: clamp(15px, .55vw + 10px, 34px);
  --fs-lead: clamp(18px, 1.1vw + 10px, 56px);
  --fs-h3: clamp(22px, 1.8vw + 8px, 64px);
  --fs-xl: clamp(36px, 5.2vw, 260px);
  --fs-mega: clamp(44px, 8vw, 400px);
}

body[data-theme="light"] {
  --bg: var(--white);
  --fg: var(--black);
  --muted: rgba(10, 10, 10, .55);
  --line: rgba(10, 10, 10, .14);
  --accent: var(--black);
}
body[data-theme="yellow"] {
  --bg: var(--yellow);
  --fg: var(--black);
  --muted: rgba(10, 10, 10, .62);
  --line: rgba(10, 10, 10, .2);
  --accent: var(--black);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .8s var(--ease-out), color .8s var(--ease-out);
}
body.is-loading { overflow: hidden; }
main { overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
em { font-style: normal; color: var(--accent); }
::selection { background: var(--yellow); color: var(--black); }

.container { width: 100%; max-width: 3840px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(96px, 12vw, 320px) 0; position: relative; }

/* ---------- typography ---------- */
.h-xl, .h-mega, .hero__title, .svc__mega, .final {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.035em;
  line-height: .98;
}
.h-xl { font-size: var(--fs-xl); max-width: 16ch; }
.h-mega { font-size: var(--fs-mega); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .9em;
  font-size: clamp(12px, .45vw + 8px, 20px);
  font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  color: var(--muted);
  margin-bottom: clamp(20px, 2vw, 56px);
}
.eyebrow span { color: var(--fg); }
.eyebrow::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(254, 234, 39, .2); }

/* split words (JS) */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.sw > span { display: inline-block; will-change: transform; }

/* ---------- buttons ---------- */
.btn {
  --b-bg: var(--fg); --b-fg: var(--bg);
  position: relative; display: inline-flex; align-items: center; gap: .8em;
  padding: 1.05em 1.8em; border-radius: 999px;
  font-weight: 700; font-size: clamp(14px, .5vw + 9px, 24px); letter-spacing: .01em;
  background: var(--b-bg); color: var(--b-fg);
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .5s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--b-hover, var(--white));
  transform: translateY(101%); border-radius: 50% 50% 0 0;
  transition: transform .6s var(--ease-out), border-radius .6s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); border-radius: 0; }
.btn:hover { color: var(--b-hover-fg, var(--black)); }
.btn i { font-style: normal; transition: transform .4s var(--ease-out); }
.btn:hover i { transform: translateX(4px) rotate(-45deg); }
.btn--yellow { --b-bg: var(--yellow); --b-fg: var(--black); --b-hover: var(--pure); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--fg); --b-hover: var(--yellow); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--dark { --b-bg: var(--black); --b-fg: var(--yellow); --b-hover: var(--pure); }
.btn--sm { padding: .75em 1.3em; font-size: clamp(13px, .35vw + 9px, 28px); }
.btn--lg { padding: 1.25em 2.2em; font-size: clamp(16px, .7vw + 10px, 30px); }

.link-arrow { display: inline-flex; gap: .6em; font-weight: 700; border-bottom: 2px solid var(--yellow); padding-bottom: .2em; margin-top: 1.4em; }

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000; background: var(--black);
  display: grid; place-items: center;
}
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 2vw; }
.preloader__logo { width: clamp(140px, 18vw, 520px); }
.preloader__count { font-family: var(--font-display); font-size: clamp(14px, 1vw, 28px); color: var(--muted); letter-spacing: .2em; }
.preloader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.06); }
.preloader__bar span { display: block; height: 100%; width: 0; background: var(--yellow); }

/* ---------- cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--yellow); mix-blend-mode: difference;
  display: grid; place-items: center;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background-color .3s;
}
.cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.cursor.is-label { width: 110px; height: 110px; margin: -55px 0 0 -55px; mix-blend-mode: normal; background: var(--yellow); }
.cursor__label { font-size: 13px; font-weight: 800; color: var(--black); text-transform: uppercase; letter-spacing: .06em; opacity: 0; transition: opacity .2s; text-align: center; }
.cursor.is-label .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* grain */
.grain {
  position: fixed; inset: -50%; z-index: 998; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) } 40% { transform: translate(2%,-3%) }
  60% { transform: translate(-2%,-1%) } 80% { transform: translate(3%,3%) }
}

/* ---------- header ---------- */
.header {
  position: fixed; z-index: 100; top: clamp(10px, 1.2vw, 28px); left: 50%;
  transform: translateX(-50%);
  width: calc(100% - var(--gutter) * 2); max-width: 3700px;
  display: flex; align-items: center; justify-content: space-between; gap: 2vw;
  padding: clamp(8px, .6vw, 16px) clamp(8px, .6vw, 16px) clamp(8px, .6vw, 16px) clamp(16px, 1.4vw, 32px);
  border-radius: 999px;
  background: rgba(10, 10, 10, .86);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--white);
  transition: transform .6s var(--ease-out);
}
.header.is-hidden { transform: translate(-50%, -150%); }
.header__logo { display: flex; align-items: center; gap: .7em; }
.header__logo img { height: clamp(24px, 1.7vw, 72px); width: auto; }
.header__logo span { font-family: var(--font-display); font-weight: 600; font-size: clamp(11px, .55vw + 4px, 26px); text-transform: uppercase; letter-spacing: .12em; color: var(--white); opacity: .8; }
.header__nav { display: flex; gap: clamp(16px, 2vw, 80px); font-size: clamp(13px, .4vw + 8px, 30px); font-weight: 600; }
.header__nav a { position: relative; opacity: .8; transition: opacity .3s; }
.header__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.header__nav a:hover, .header__nav a.is-active { opacity: 1; }
.header__nav a:hover::after, .header__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--black); transition: transform .45s var(--ease-out), top .45s var(--ease-out); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 99; background: var(--yellow); color: var(--black);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 50px) 40px);
  transition: clip-path .9s var(--ease);
  visibility: hidden;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 50px) 40px); visibility: visible; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(36px, 10vw, 96px); line-height: 1.05; letter-spacing: -.03em; display: flex; align-items: flex-start; gap: .3em; }
.menu__nav i { font-style: normal; font-size: .25em; margin-top: .6em; font-family: var(--font-body); }
.menu__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-weight: 700; }
.menu__foot .btn { --b-bg: var(--black); --b-fg: var(--yellow); }
.menu__contacts { display: flex; flex-direction: column; gap: .3em; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding: clamp(110px, 10vw, 260px) var(--gutter) clamp(28px, 3vw, 80px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 4vw;
  max-width: 3840px; margin: 0 auto; overflow: hidden;
}
.hero__glow {
  position: absolute; width: 60vw; height: 60vw; left: 50%; top: 40%;
  border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(254,234,39,.16) 0%, rgba(254,234,39,0) 65%);
  transform: translate(-50%, -50%);
}
.hero__meta { display: flex; align-items: center; gap: .8em; font-size: clamp(12px, .45vw + 8px, 20px); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.hero__meta-r { margin-left: auto; }
.dot { width: .65em; height: .65em; border-radius: 50%; background: var(--yellow); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(254,234,39,.6) } 100% { box-shadow: 0 0 0 14px rgba(254,234,39,0) } }

.hero__title { font-size: clamp(34px, 5.6vw, 300px); line-height: 1.02; }
.hero__title .line { display: block; overflow: hidden; padding: .04em 0; }
.hero__title .line--y { color: var(--yellow); }
.hero__title .w { display: inline-block; }
.pill {
  display: inline-block; vertical-align: middle;
  width: 1.9em; height: .82em; border-radius: 999px; overflow: hidden;
  margin: -.1em .08em 0; position: relative;
  box-shadow: 0 0 0 .04em rgba(254,234,39,.6);
}
.pill video { width: 100%; height: 100%; object-fit: cover; }

.hero__bottom { display: grid; grid-template-columns: minmax(0, 1.3fr) auto auto; align-items: end; gap: clamp(20px, 3vw, 80px); }
.hero__sub { max-width: 46ch; color: var(--muted); font-size: var(--fs-body); }
.hero__sub b { color: var(--fg); display: block; margin-bottom: .4em; font-size: 1.1em; }
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.badge { position: relative; width: clamp(96px, 8vw, 220px); aspect-ratio: 1; display: grid; place-items: center; }
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.badge__ring text { fill: var(--fg); font-size: 15.5px; font-weight: 700; letter-spacing: 3.3px; font-family: var(--font-body); }
.badge__arrow { width: 42%; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); color: var(--black); display: grid; place-items: center; font-size: clamp(18px, 1.4vw, 40px); font-weight: 800; transition: transform .5s var(--ease-out); }
.badge:hover .badge__arrow { transform: scale(1.15); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- showreel ---------- */
.showreel { position: relative; height: 100vh; height: 100svh; }
.showreel__stage { position: relative; width: 100%; height: 100%; overflow: hidden; }
.showreel__words {
  position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center;
  padding: 0 var(--gutter); pointer-events: none;
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(56px, 13vw, 440px); letter-spacing: -.05em; line-height: 1;
}
.showreel__word--l { color: var(--white); }
.showreel__word--r { color: transparent; -webkit-text-stroke: 2px var(--yellow); }
.showreel__frame {
  position: absolute; inset: 0; z-index: 2; cursor: pointer;
  clip-path: inset(30% 30% round 24px);
  will-change: clip-path;
}
.showreel__frame video { width: 100%; height: 100%; object-fit: cover; }
.showreel__caption {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(20px, 3vw, 64px);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: clamp(11px, .45vw + 7px, 18px);
  color: var(--white); text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.showreel__sound { color: var(--yellow); }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding: clamp(18px, 1.8vw, 48px) 0; position: relative; z-index: 3; }
.marquee--y { background: var(--yellow); color: var(--black); transform: rotate(-2deg) scale(1.04); margin: 4vw 0; }
.marquee__track { display: flex; width: max-content; align-items: center; gap: clamp(20px, 2.4vw, 72px); will-change: transform; }
.marquee__track span { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 4.4vw, 150px); letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.marquee__track b { font-size: clamp(22px, 3vw, 100px); line-height: 1; }

/* ---------- about ---------- */
.about__lead {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(22px, 3vw, 104px); line-height: 1.18; letter-spacing: -.02em;
  max-width: 24ch; margin: clamp(48px, 6vw, 160px) 0 clamp(36px, 4vw, 100px) auto;
}
.fw { display: inline; opacity: .14; transition: none; }
.chips-cloud { display: flex; flex-wrap: wrap; gap: clamp(8px, .8vw, 20px); max-width: 1500px; }
.chip {
  display: inline-block; padding: .7em 1.4em; border-radius: 999px;
  border: 1.5px solid var(--line); font-weight: 700; font-size: clamp(15px, 1.1vw + 6px, 40px);
}
.chip--y { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.chip--w { background: var(--white); color: var(--black); border-color: var(--white); }

.questions { margin-top: clamp(80px, 10vw, 260px); display: grid; gap: clamp(40px, 5vw, 120px); }
.questions__row { display: grid; grid-template-columns: minmax(160px, 1fr) 3fr; gap: 3vw; align-items: start; border-top: 1px solid var(--line); padding-top: clamp(20px, 2vw, 48px); }
.questions__label { font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: clamp(12px, .45vw + 8px, 20px); color: var(--muted); }
.questions__q { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3.6vw, 128px); line-height: 1.08; letter-spacing: -.03em; text-transform: uppercase; }
.questions__row--no .questions__q { color: var(--muted); }
.strike { position: relative; display: inline; background: linear-gradient(var(--yellow), var(--yellow)) left 55% / 0% .12em no-repeat; }

.about__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; margin: clamp(60px, 7vw, 180px) 0 0 auto; max-width: 70%; font-size: var(--fs-lead); color: var(--muted); }
.nevers { margin-top: clamp(80px, 10vw, 260px); }
.nevers__line {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(22px, 3.4vw, 124px); line-height: 1.05; letter-spacing: -.035em;
  padding: .3em 0; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.nevers__line span { color: var(--yellow); }
.nevers__line:nth-child(2) { text-align: right; }

/* ---------- philosophy ---------- */
mark { background: linear-gradient(var(--yellow), var(--yellow)) left 88% / 0% .38em no-repeat; color: inherit; padding: 0 .05em; }
.clones { display: grid; grid-template-columns: 1fr 1.25fr; gap: 5vw; align-items: center; margin-top: clamp(60px, 7vw, 180px); }
.clones__text p { font-size: var(--fs-lead); color: var(--muted); max-width: 30ch; }
.clones__text .clones__big { margin-top: 1.2em; color: var(--fg); font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.4vw, 84px); line-height: 1.12; letter-spacing: -.02em; text-transform: uppercase; }
.clones__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(8px, .8vw, 20px); }
.clone {
  aspect-ratio: 9 / 16; border-radius: calc(var(--radius) * .7);
  background: #d9d6ce; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 10%;
}
.clone::before { content: ""; position: absolute; top: 10%; left: 10%; width: 28%; aspect-ratio: 1; border-radius: 50%; background: #c6c2b8; }
.clone i { display: block; height: 6%; min-height: 4px; border-radius: 99px; background: #c6c2b8; margin-top: 6%; }
.clone i:last-child { width: 60%; }
.clone span { position: absolute; top: 12%; right: 10%; font-size: clamp(8px, .5vw, 14px); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #a7a397; }
.clone--hero { background: var(--black); box-shadow: 0 0 0 4px var(--yellow); z-index: 2; padding: 0; }
.clone--hero::before { display: none; }
.clone--hero video { width: 100%; height: 100%; object-fit: cover; }
.clone--hero b { position: absolute; left: 8%; bottom: 6%; background: var(--yellow); color: var(--black); font-size: clamp(9px, .6vw, 16px); padding: .3em .7em; border-radius: 99px; font-weight: 800; text-transform: uppercase; }

.philosophy__mission { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3.4vw, 120px); line-height: 1.14; letter-spacing: -.025em; margin: clamp(80px, 10vw, 260px) 0 clamp(60px, 6vw, 160px); max-width: 22ch; }

.stack { position: relative; display: grid; gap: 4vh; padding-bottom: 6vh; }
.stack__card {
  position: sticky; top: calc(14vh + var(--i, 0) * 2.2vw);
  min-height: clamp(260px, 42vh, 900px);
  border-radius: var(--radius);
  background: var(--pure); color: var(--black);
  padding: clamp(24px, 3vw, 80px);
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 -20px 60px rgba(0,0,0,.08);
  transform-origin: center top;
  border: 1px solid rgba(0,0,0,.06);
}
.stack__card i { font-style: normal; font-family: var(--font-display); font-weight: 800; font-size: clamp(16px, 1.2vw, 40px); }
.stack__card span { font-size: var(--fs-lead); opacity: .65; margin-top: auto; }
.stack__card h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 5.6vw, 200px); line-height: 1; letter-spacing: -.04em; }
.stack__card--y { background: var(--yellow); }
.stack__card--d { background: var(--black); color: var(--white); }
.stack__card--d h3 { color: var(--yellow); }
.stack__card--w { background: var(--ink); color: var(--white); }
.philosophy__end { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(24px, 3vw, 104px); line-height: 1.1; letter-spacing: -.03em; margin-top: clamp(60px, 8vw, 200px); max-width: 22ch; }
body[data-theme="light"] .philosophy__end em, .philosophy__end em { background: var(--yellow); color: var(--black); padding: 0 .15em; }

/* ---------- services (horizontal) ---------- */
.services { position: relative; overflow: hidden; }
.services__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(20px, 3vh, 48px); height: 3px; background: var(--line); z-index: 3; border-radius: 3px; }
.services__progress span { display: block; height: 100%; width: 100%; background: var(--yellow); transform-origin: left; transform: scaleX(0); border-radius: 3px; }
.services__track {
  display: flex; gap: clamp(16px, 1.6vw, 40px);
  height: 100vh; height: 100svh;
  padding: clamp(96px, 11vh, 200px) var(--gutter) clamp(56px, 8vh, 140px);
  width: max-content; will-change: transform;
}
.svc {
  width: clamp(320px, 46vw, 1400px); flex-shrink: 0;
  border-radius: var(--radius);
  background: var(--ink); border: 1px solid rgba(255,255,255,.07);
  padding: clamp(24px, 2.6vw, 72px);
  display: flex; flex-direction: column; gap: clamp(14px, 1.3vw, 36px);
  overflow: hidden; position: relative;
  font-size: clamp(14px, .5vw + 9px, 36px);
}
.svc p { color: var(--muted); max-width: 48ch; }
.svc__head { display: flex; gap: 1.4vw; align-items: flex-start; }
.svc__num {
  font-style: normal; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(54px, 6vw, 220px); line-height: .8; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1.5px var(--yellow);
}
.svc h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2.1vw, 76px); line-height: 1.02; letter-spacing: -.03em; max-width: 14ch; }
.svc h4 { font-size: .85em; text-transform: uppercase; letter-spacing: .12em; color: var(--fg); margin: 1em 0 .8em; }
.svc__accent { color: var(--fg) !important; font-weight: 600; border-left: 3px solid var(--yellow); padding-left: 1em; margin-top: auto; }
.svc__big { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 84px) !important; line-height: 1.1; letter-spacing: -.02em; color: var(--fg) !important; text-transform: uppercase; }
.tags-list { display: flex; flex-wrap: wrap; gap: .5em; }
.tags-list li { padding: .45em .95em; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); font-size: .88em; font-weight: 600; }
.num-list { counter-reset: n; display: grid; gap: 0; }
.num-list li { counter-increment: n; display: flex; gap: 1em; padding: .55em 0; border-bottom: 1px solid rgba(255,255,255,.09); font-weight: 600; }
.num-list li::before { content: counter(n, decimal-leading-zero); color: var(--yellow); font-family: var(--font-display); font-size: .78em; padding-top: .2em; min-width: 2ch; }
.svc--y { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.svc--y p { color: rgba(10,10,10,.7); }
.svc--y .svc__accent { color: var(--black) !important; border-color: var(--black); }
.svc--y .svc__num { -webkit-text-stroke-color: var(--black); }
.svc--y .tags-list li { border-color: rgba(0,0,0,.25); }
.svc--y .num-list li { border-color: rgba(0,0,0,.14); }
.svc--y .num-list li::before { color: var(--black); }
.svc--intro { background: transparent; border: 0; padding-left: 0; justify-content: center; width: clamp(320px, 38vw, 1200px); }
.svc__mega { font-size: clamp(48px, 6.2vw, 230px); line-height: .92; }
.svc__hint { margin-top: 2vw; font-weight: 700; color: var(--muted); }
.svc__hint span { display: inline-block; color: var(--yellow); animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(10px); } }
.svc--reels { width: clamp(320px, 62vw, 1800px); }
.svc__body { display: grid; grid-template-columns: 1fr auto; gap: 2.4vw; flex: 1; min-height: 0; }
.svc__body > div:first-child { display: flex; flex-direction: column; gap: 1vw; }
.svc__phone { height: 100%; max-height: 64vh; aspect-ratio: 9 / 16; border-radius: calc(var(--radius) * 1.1); overflow: hidden; border: 6px solid #000; box-shadow: 0 0 0 1.5px rgba(255,255,255,.18), 0 40px 80px rgba(0,0,0,.6); align-self: center; }
.svc__phone video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- funnel ---------- */
.funnel__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5vw; margin-top: clamp(48px, 6vw, 160px); }
.funnel__lead { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.4vw, 84px); line-height: 1.15; letter-spacing: -.02em; }
.funnel__qs { counter-reset: q; }
.funnel__qs li { counter-increment: q; display: flex; align-items: baseline; gap: 1.2em; font-size: var(--fs-lead); font-weight: 600; padding: .7em 0; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.funnel__qs li::before { content: "?" ; color: var(--black); background: var(--yellow); width: 1.6em; height: 1.6em; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: .7em; font-weight: 800; transform: translateY(-.15em); }
.funnel__note { margin: clamp(60px, 7vw, 180px) 0 clamp(28px, 3vw, 80px); font-size: var(--fs-lead); color: var(--muted); }
.chain { position: relative; display: grid; grid-template-columns: repeat(8, 1fr); gap: clamp(8px, .9vw, 24px); }
.chain__line { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--line); }
.chain__line span { display: block; height: 100%; background: var(--yellow); transform-origin: left; transform: scaleX(0); }
.chain__step {
  position: relative; z-index: 1; aspect-ratio: 1 / 1.15; border-radius: var(--radius);
  background: var(--ink); border: 1px solid var(--line);
  padding: clamp(12px, 1.2vw, 32px); display: flex; flex-direction: column; justify-content: space-between;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(13px, 1.05vw, 38px); line-height: 1.1; text-transform: uppercase; letter-spacing: -.01em;
  transition: background-color .5s, color .5s, transform .5s var(--ease-out);
}
.chain__step i { font-style: normal; font-size: .7em; opacity: .5; }
.chain__step.is-on { background: var(--yellow); color: var(--black); border-color: var(--yellow); transform: translateY(-8px); }
.chain__step:last-child.is-on { background: var(--white); }

/* ---------- works gallery ---------- */
.works { padding-bottom: clamp(60px, 8vw, 200px); }
.works__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 3vw; flex-wrap: wrap; }
.works__head .h-mega { max-width: 11ch; }
.works__hint { color: var(--muted); font-weight: 600; max-width: 30ch; }
.works__count { display: block; margin-top: .6em; color: var(--yellow); font-family: var(--font-display); }
.works__gallery {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.4vw, 40px);
  padding: clamp(48px, 6vw, 160px) var(--gutter) 0;
  max-width: 3840px; margin: 0 auto;
}
.works__col { display: flex; flex-direction: column; gap: clamp(12px, 1.4vw, 40px); will-change: transform; }
.works__col:nth-child(even) { margin-top: 18vh; }
.work { position: relative; cursor: pointer; }
.work__media {
  position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden;
  background: var(--ink-2);
  transform: translateZ(0);
}
.work__media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1s var(--ease-out), filter .6s; filter: grayscale(.35) brightness(.85); }
.work:hover .work__media video, .work.is-playing .work__media video { transform: scale(1); filter: none; }
.work__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.75) 100%); pointer-events: none; }
.work__play {
  position: absolute; z-index: 2; top: 50%; left: 50%; width: 22%; aspect-ratio: 1; margin: -11% 0 0 -11%;
  border-radius: 50%; background: var(--yellow); color: var(--black); display: grid; place-items: center;
  font-size: clamp(14px, 1.2vw, 34px); transform: scale(.8); opacity: .95;
  transition: transform .5s var(--ease-out), opacity .4s;
}
.work:hover .work__play, .work.is-playing .work__play { transform: scale(.4); opacity: 0; }
.work__num { position: absolute; z-index: 2; top: 1.1em; left: 1.2em; font-family: var(--font-display); font-weight: 700; font-size: clamp(11px, .6vw, 18px); color: var(--white); background: rgba(0,0,0,.4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: .35em .7em; border-radius: 99px; }
.work__info { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(14px, 1.3vw, 36px); color: var(--white); }
.work__info h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(18px, 1.5vw, 56px); line-height: 1; letter-spacing: -.02em; }
.work__info p { font-size: clamp(12px, .5vw + 6px, 20px); opacity: .75; margin-top: .3em; }
.tags { display: flex; flex-wrap: wrap; gap: .35em; margin-top: .7em; }
.tags li, .tag { font-size: clamp(10px, .4vw + 5px, 17px); font-weight: 700; padding: .35em .75em; border-radius: 99px; background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); white-space: nowrap; }
.tags li:first-child { background: var(--yellow); color: var(--black); }
.work__case { margin-top: .9em; font-size: clamp(11px, .45vw + 6px, 18px); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; border-bottom: 2px solid var(--yellow); padding-bottom: .15em; }

/* ---------- clients ---------- */
.clients { overflow: hidden; }
.clients__sub { font-size: var(--fs-lead); color: var(--muted); margin-top: 1em; }
.logos { margin-top: clamp(48px, 6vw, 160px); display: grid; gap: clamp(12px, 1.2vw, 32px); }
.logos__row { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(18px, 2vw, 56px) 0; }
.logos__track { display: flex; gap: clamp(48px, 6vw, 200px); width: max-content; align-items: center; }
.lg { white-space: nowrap; font-size: clamp(28px, 3.4vw, 120px); line-height: 1; opacity: .9; transition: color .3s, opacity .3s; }
.lg:hover { color: var(--black); opacity: 1; text-shadow: 0 0 0 var(--yellow); }
.lg--1 { font-family: var(--font-display); font-weight: 900; letter-spacing: -.04em; }
.lg--2 { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; }
.lg--3 { font-family: var(--font-display); font-weight: 800; letter-spacing: .12em; font-size: clamp(22px, 2.6vw, 92px); }
.lg--4 { font-family: var(--font-body); font-weight: 300; letter-spacing: .3em; }
.lg--5 { font-family: var(--font-body); font-weight: 800; letter-spacing: -.02em; }
.lg--6 { font-family: var(--font-display); font-weight: 500; text-transform: none; letter-spacing: -.03em; }
.lg--7 { font-family: var(--font-display); font-weight: 900; color: transparent; -webkit-text-stroke: 1.5px var(--fg); letter-spacing: .05em; }

/* ---------- cases ---------- */
.cases__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 1.6vw, 40px); margin-top: clamp(48px, 6vw, 160px); }
.case-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--black); color: var(--white);
  min-height: clamp(420px, 38vw, 1200px);
  display: grid; grid-template-columns: 1fr .8fr; cursor: pointer;
}
.case-card__media { position: relative; overflow: hidden; }
.case-card__media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.case-card:hover .case-card__media video { transform: scale(1.06); }
.case-card__body { padding: clamp(20px, 2.4vw, 64px); display: flex; flex-direction: column; gap: 1em; }
.case-card__body small { font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--yellow); font-size: clamp(11px, .45vw + 6px, 18px); }
.case-card__body h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 2.6vw, 96px); line-height: 1; letter-spacing: -.03em; }
.case-card__body p { color: rgba(245,243,238,.65); }
.case-card__body .btn { margin-top: auto; align-self: flex-start; }
.case-card--cta { background: var(--yellow); color: var(--black); grid-template-columns: 1fr; place-items: center; text-align: center; padding: 3vw; }
.case-card--cta h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 3.4vw, 120px); line-height: 1; letter-spacing: -.04em; }
.case-card--cta .plus { width: clamp(64px, 6vw, 200px); aspect-ratio: 1; border-radius: 50%; background: var(--black); color: var(--yellow); display: grid; place-items: center; font-size: clamp(32px, 3vw, 100px); margin: 0 auto 1.4vw; transition: transform .6s var(--ease-out); }
.case-card--cta:hover .plus { transform: rotate(90deg) scale(1.08); }

.case-modal {
  position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.6);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s;
}
.case-modal.is-open { opacity: 1; visibility: visible; }
.case-modal__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(1100px, 100%);
  background: var(--white); color: var(--black); overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); transition: transform .8s var(--ease);
  padding: clamp(24px, 4vw, 80px);
}
.case-modal.is-open .case-modal__panel { transform: none; }
.case-modal__close { position: sticky; top: 0; float: right; width: 52px; height: 52px; border-radius: 50%; background: var(--black); color: var(--yellow); font-size: 20px; z-index: 2; }
.cm__eyebrow { font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: 14px; color: rgba(0,0,0,.5); }
.cm__title { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 6vw, 110px); line-height: .95; letter-spacing: -.04em; margin: .2em 0 .4em; }
.cm__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.cm__tags .tag { background: var(--black); color: var(--white); }
.cm__tags .tag:first-child { background: var(--yellow); color: var(--black); }
.cm__videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 48px; }
.cm__videos video { width: 100%; aspect-ratio: 9/16; object-fit: cover; border-radius: 16px; background: #000; }
.cm__block { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid rgba(0,0,0,.12); }
.cm__block h4 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 16px; letter-spacing: .02em; }
.cm__block p, .cm__block li { font-size: clamp(16px, 1.2vw, 20px); }
.cm__block ul { display: grid; gap: 6px; }
.cm__block li::before { content: "— "; color: rgba(0,0,0,.4); }
.cm__results { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.cm__result { background: var(--yellow); border-radius: 16px; padding: 20px; }
.cm__result b { display: block; font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 44px); line-height: 1; margin-bottom: 8px; }

/* ---------- process ---------- */
.process__wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 6vw; align-items: start; }
.process__aside { position: sticky; top: 16vh; }
.process__counter { margin-top: 4vw; font-family: var(--font-display); font-weight: 900; line-height: .8; letter-spacing: -.06em; }
.process__cur { font-size: clamp(100px, 16vw, 560px); color: var(--yellow); display: inline-block; }
.process__tot { font-size: clamp(24px, 3vw, 100px); color: var(--muted); }
.steps { position: relative; padding-left: clamp(28px, 3vw, 80px); }
.steps__line { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--line); }
.steps__line span { display: block; width: 100%; height: 100%; background: var(--yellow); transform-origin: top; transform: scaleY(0); }
.step { display: grid; grid-template-columns: auto 1fr; gap: 2vw; padding: clamp(32px, 4.4vw, 120px) 0; border-bottom: 1px solid var(--line); opacity: .28; transition: opacity .6s var(--ease-out); position: relative; }
.step::before { content: ""; position: absolute; left: calc(clamp(28px, 3vw, 80px) * -1 - 7px); top: calc(clamp(32px, 4.4vw, 120px) + .5em); width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); transition: background .4s, border-color .4s; }
.step.is-active { opacity: 1; }
.step.is-active::before { background: var(--yellow); border-color: var(--yellow); box-shadow: 0 0 0 6px rgba(254,234,39,.2); }
.step i { font-style: normal; font-family: var(--font-display); font-weight: 800; color: var(--yellow); font-size: clamp(16px, 1.2vw, 40px); padding-top: .4em; }
.step h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 3.4vw, 120px); line-height: 1; letter-spacing: -.04em; }
.step p { margin-top: .8em; font-size: var(--fs-lead); color: var(--muted); max-width: 32ch; }

/* ---------- impact ---------- */
.impact { position: relative; height: 100vh; height: 100svh; }
.impact__stage { position: relative; height: 100%; overflow: hidden; background: var(--black); }
.impact__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.impact__mask {
  position: absolute; inset: 0; background: var(--black); color: var(--pure);
  mix-blend-mode: multiply; display: grid; place-items: center; will-change: opacity;
}
.impact__title {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(44px, 11.2vw, 400px); line-height: .9; letter-spacing: -.055em; text-align: center;
  will-change: transform;
}
.impact__copy {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--gutter) clamp(32px, 6vh, 120px);
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.85) 60%);
  padding-top: 20vh; color: var(--white);
  display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 3vw; align-items: end;
  font-size: var(--fs-lead);
}
.impact__copy b { color: var(--yellow); }
.impact__final { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 84px); line-height: 1; letter-spacing: -.03em; color: var(--yellow); }

/* ---------- why ---------- */
.why__list { margin-top: clamp(48px, 6vw, 160px); border-top: 1px solid var(--line); }
.why__row {
  position: relative; display: grid; grid-template-columns: .3fr 1.6fr 1fr; gap: 3vw; align-items: center;
  padding: clamp(24px, 2.6vw, 72px) clamp(8px, 1.4vw, 40px);
  border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease-out);
}
.why__row::before { content: ""; position: absolute; inset: 0; background: var(--black); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease-out); }
.why__row:hover { color: var(--white); }
.why__row:hover::before { transform: scaleY(1); transform-origin: top; }
.why__row i { font-style: normal; font-family: var(--font-display); font-weight: 800; font-size: clamp(14px, 1.1vw, 36px); }
.why__row:hover i, .why__row:hover h3 { color: var(--yellow); }
.why__row h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(24px, 3.4vw, 124px); line-height: 1; letter-spacing: -.04em; transition: transform .6s var(--ease-out), color .4s; }
.why__row:hover h3 { transform: translateX(1vw); }
.why__row p { font-size: var(--fs-lead); color: var(--muted); transition: color .4s; }
.why__row:hover p { color: rgba(245,243,238,.8); }

/* ---------- contact / form ---------- */
.contact {
  background: var(--yellow); color: var(--black);
  --fg: var(--black); --muted: rgba(10, 10, 10, .62); --line: rgba(10, 10, 10, .2); --accent: var(--black);
}
.contact__wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 6vw; align-items: start; position: relative; }
.contact__intro { position: sticky; top: 16vh; }
.contact__intro p { margin-top: 1.4em; font-size: var(--fs-lead); max-width: 30ch; color: var(--muted); }
.contact__quick { display: flex; flex-direction: column; align-items: flex-start; gap: .4em; margin-top: 2em; font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 1.5vw, 60px); letter-spacing: -.02em; }
.contact__quick a { white-space: nowrap; background: linear-gradient(var(--black), var(--black)) left bottom / 0% 3px no-repeat; transition: background-size .5s var(--ease-out); padding-bottom: .1em; }
.contact__quick a:hover { background-size: 100% 3px; }
.contact .eyebrow::before { background: var(--black); box-shadow: 0 0 0 4px rgba(0,0,0,.12); }
.form { display: grid; gap: clamp(28px, 2.6vw, 64px); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2vw, 48px) clamp(16px, 2vw, 48px); }
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 2px solid rgba(10,10,10,.3);
  padding: 1.3em 0 .6em; font: inherit; font-size: clamp(16px, 1vw + 6px, 34px); font-weight: 600; color: var(--black);
  outline: none; border-radius: 0; resize: vertical; transition: border-color .3s;
}
.field span { position: absolute; left: 0; top: 1.3em; font-size: clamp(16px, 1vw + 6px, 34px); font-weight: 600; color: rgba(10,10,10,.55); pointer-events: none; transition: transform .35s var(--ease-out), font-size .35s, color .3s; transform-origin: left top; }
.field input:focus, .field textarea:focus { border-color: var(--black); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-1.2em) scale(.6); color: var(--black); }
.field.is-invalid input { border-color: #d40000; }
.form__services { border: 0; padding: 0; margin: 0; }
.form__services legend { font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: clamp(12px, .45vw + 8px, 20px); margin-bottom: 1.2em; }
.form__chips { display: flex; flex-wrap: wrap; gap: clamp(6px, .6vw, 14px); }
.form__chips label { position: relative; cursor: pointer; }
.form__chips input { position: absolute; opacity: 0; pointer-events: none; }
.form__chips span { display: inline-block; padding: .7em 1.2em; border-radius: 999px; border: 1.5px solid rgba(10,10,10,.35); font-weight: 700; font-size: clamp(13px, .5vw + 8px, 24px); transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease-out); }
.form__chips label:hover span { border-color: var(--black); }
.form__chips input:checked + span { background: var(--black); color: var(--yellow); border-color: var(--black); }
.form__chips input:focus-visible + span { outline: 2px solid var(--black); outline-offset: 3px; }
.form .btn { justify-self: start; }
.form__error { color: #b00000; font-weight: 700; min-height: 1.5em; }
.form__success {
  position: absolute; inset: 0; left: auto; width: 55%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1em;
  opacity: 0; visibility: hidden; pointer-events: none;
}
.form__success-icon { width: clamp(72px, 7vw, 200px); aspect-ratio: 1; border-radius: 50%; background: var(--black); color: var(--yellow); display: grid; place-items: center; font-size: clamp(32px, 3vw, 90px); }
.form__success h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 3.4vw, 120px); line-height: 1; letter-spacing: -.04em; }
.form__success p { font-size: var(--fs-lead); }
.contact.is-sent .form { opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.contact.is-sent .form__success { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .6s .3s; }

/* ---------- footer ---------- */
.footer {
  padding-top: clamp(80px, 10vw, 260px); overflow: hidden; position: relative;
  background: var(--black); color: var(--white);
  --fg: var(--white); --muted: rgba(245, 243, 238, .55); --line: rgba(245, 243, 238, .14); --accent: var(--yellow);
}
.footer__top { display: grid; grid-template-columns: 1fr 2fr auto; gap: 4vw; align-items: start; padding-bottom: clamp(48px, 6vw, 160px); border-bottom: 1px solid var(--line); }
.footer__brand img { width: clamp(120px, 10vw, 320px); margin-bottom: 1.2em; }
.footer__brand p { color: var(--muted); }
.footer__brand b { color: var(--fg); }
.footer__contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2vw 3vw; }
.footer__contacts dt { font-size: clamp(11px, .4vw + 7px, 18px); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: .4em; }
.footer__contacts dd { font-weight: 700; font-size: var(--fs-lead); white-space: nowrap; }
.footer__contacts a { background: linear-gradient(var(--yellow), var(--yellow)) left bottom / 0% 2px no-repeat; transition: background-size .5s var(--ease-out); }
.footer__contacts a:hover { background-size: 100% 2px; }
.final { font-size: clamp(34px, 6.6vw, 240px); margin: clamp(80px, 10vw, 260px) 0 clamp(40px, 5vw, 120px); max-width: none; }
.final em { color: var(--yellow); }
.footer__word {
  display: flex; justify-content: space-between; gap: 2vw; padding: 0 var(--gutter);
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(40px, 8.3vw, 520px); line-height: .9; letter-spacing: -.06em;
  color: var(--yellow); white-space: nowrap; user-select: none;
}
.footer__word span:last-child { color: transparent; -webkit-text-stroke: 2px var(--yellow); }
.footer__bottom { display: flex; justify-content: space-between; padding-top: 2.4vw; padding-bottom: 2.4vw; color: var(--muted); font-weight: 600; font-size: clamp(12px, .4vw + 8px, 20px); }
.to-top:hover { color: var(--yellow); }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(5,5,5,.94);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2vw; padding: 3vh 3vw;
  opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__media { height: 88vh; display: flex; justify-content: center; align-items: center; transform: scale(.92); transition: transform .7s var(--ease-out); }
.lightbox.is-open .lightbox__media { transform: none; }
.lightbox__media video { max-height: 88vh; max-width: 100%; border-radius: var(--radius); background: #000; box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.lightbox__info { position: absolute; left: 3vw; bottom: 4vh; color: var(--white); max-width: 22vw; }
.lightbox__info h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2.2vw, 72px); line-height: 1; letter-spacing: -.03em; }
.lightbox__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.lightbox__tags .tag:first-child { background: var(--yellow); color: var(--black); }
.lightbox__close, .lightbox__nav { width: clamp(48px, 3.6vw, 96px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-size: clamp(18px, 1.2vw, 32px); color: var(--white); border: 1.5px solid rgba(255,255,255,.2); transition: background .3s, color .3s, border-color .3s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.lightbox__close { position: absolute; top: 3vh; right: 3vw; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1200px) {
  .header__nav { display: none; }
  .burger { display: block; }
  .header__cta { margin-left: auto; }
  .hero__bottom { grid-template-columns: 1fr auto; }
  .hero__btns { grid-column: 1 / -1; grid-row: 2; }
  .badge { grid-row: 1; grid-column: 2; }
  .footer__top { grid-template-columns: 1fr; }
  .chain { grid-template-columns: repeat(4, 1fr); }
  .chain__line { display: none; }
}

@media (max-width: 1023px) {
  .services__track { flex-direction: column; width: 100%; height: auto; padding-top: clamp(96px, 14vw, 160px); padding-bottom: clamp(96px, 14vw, 160px); }
  .svc, .svc--reels, .svc--intro { width: 100%; }
  .svc--intro { padding: 0 0 4vw; }
  .services__progress { display: none; }
  .svc__body { grid-template-columns: 1fr; }
  .svc__phone { max-height: 70vh; width: min(100%, 360px); justify-self: center; height: auto; }
  .works__gallery { grid-template-columns: repeat(2, 1fr); }
  .works__col:nth-child(even) { margin-top: 12vh; }
  .process__wrap, .contact__wrap, .funnel__grid, .clones { grid-template-columns: 1fr; }
  .process__aside, .contact__intro { position: relative; top: 0; }
  .process__counter { display: none; }
  .cases__grid { grid-template-columns: 1fr; }
  .about__cols { max-width: none; }
  .impact__copy { grid-template-columns: 1fr; gap: 1em; }
  .form__success { width: 100%; position: relative; inset: auto; display: none; }
  .contact.is-sent .form { display: none; }
  .contact.is-sent .form__success { display: flex; }
  .lightbox { grid-template-columns: 1fr; padding: 70px 12px 120px; }
  .lightbox__nav { position: absolute; bottom: 24px; }
  .lightbox__nav--prev { left: 50%; transform: translateX(-120%); }
  .lightbox__nav--next { left: 50%; transform: translateX(20%); }
  .lightbox__media, .lightbox__media video { height: auto; max-height: calc(100vh - 220px); }
  .lightbox__info { position: static; max-width: none; text-align: center; display: none; }
  .lightbox__close { top: 14px; right: 14px; }
}

@media (max-width: 720px) {
  .header__cta { display: none; }
  .header__logo span { display: none; }
  .hero__meta-r { display: none; }
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__btns { grid-row: auto; }
  .hero__btns .btn { flex: 1 1 100%; justify-content: center; }
  .badge { display: none; }
  .questions__row { grid-template-columns: 1fr; gap: 12px; }
  .about__cols { grid-template-columns: 1fr; gap: 1.2em; }
  .nevers__line { white-space: normal; }
  .clones__grid { grid-template-columns: repeat(4, 1fr); }
  .chain { grid-template-columns: repeat(2, 1fr); }
  .chain__step { aspect-ratio: auto; min-height: 110px; }
  .form__grid { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; justify-content: center; }
  .footer__contacts { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer__word { flex-direction: column; font-size: 12vw; gap: 0; }
  .case-card { grid-template-columns: 1fr; }
  .case-card__media { aspect-ratio: 4 / 5; }
  .cm__block { grid-template-columns: 1fr; gap: 10px; }
  .cm__videos { grid-template-columns: repeat(2, 1fr); }
  .why__row { grid-template-columns: auto 1fr; }
  .why__row p { grid-column: 2; }
  .step { grid-template-columns: 1fr; gap: 8px; }
  .lightbox__info { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .grain { display: none; }
}
