/* ==========================================================================
   firma. / worldwide production house
   Design read: cinematic production-house site for brand clients (mostly iPhone),
   dark kinetic language. Dials: variance 9 / motion 8 / density 3.
   Shape rule: media & panels are sharp (0 radius), interactive controls are pills.
   Black & white (client, 30.09): no colour accent. One type family: Montserrat (free analogue of Muller).
   ========================================================================== */

/* Montserrat, self-hosted (Google Fonts is slow or blocked for part of the audience) */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/assets/fonts/montserrat-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/assets/fonts/montserrat-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* white site (client, 07.10); dark zones only where text lies over video — see .is-dark below */
  --bg: #ffffff;
  --bg-2: #f2f2f0;
  --bg-3: #e7e7e4;
  --fg: #0b0b0b;
  --fg-2: rgba(11, 11, 11, .6);
  --fg-3: rgba(11, 11, 11, .4);
  --line: rgba(11, 11, 11, .12);
  --accent: #0b0b0b;
  --g: clamp(16px, 1.6vw, 28px);
  --display: clamp(44px, 9vw, 150px);
  --h2: clamp(28px, 3.9vw, 66px);
  --lead: clamp(19px, 1.7vw, 28px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --font: "Montserrat", system-ui, -apple-system, sans-serif;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  /* z-index scale */
  --z-hud: 5;
  --z-light: 20;
  --z-hdr: 40;
  --z-menu: 50;
  --z-modal: 60;
  --z-curtain: 70;
  --z-grain: 80;
  --z-cursor: 90;
  color-scheme: light;
}
/* dark zones: services over video, end credits, the about page (showreel + flashlight) */
.svc, .ftr, :root:has(> body[data-page="about"]) {
  --bg: #0b0b0b;
  --bg-2: #151514;
  --bg-3: #1d1d1b;
  --fg: #f4f3ef;
  --fg-2: rgba(244, 243, 239, .64);
  --fg-3: rgba(244, 243, 239, .4);
  --line: rgba(244, 243, 239, .14);
  --accent: #ffffff;
  color-scheme: dark;
}
.svc, .ftr { color: var(--fg); }

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  text-size-adjust: 100%;
  background: var(--bg);
  overflow-x: clip;
}
html.is-locked { overflow: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  min-height: 100dvh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, video { display: block; max-width: 100%; }
ol, ul { list-style: none; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 4px; }
p, h1, h2, h3 { text-wrap: pretty; }

html[lang="en"] .only-ru, html[lang="ru"] .only-en { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; left: var(--g); top: 10px; z-index: var(--z-cursor); opacity: 0; pointer-events: none;
  padding: 10px 16px; border-radius: 999px; background: var(--fg); color: var(--bg);
  font-size: 14px; font-weight: 600; transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip:focus-visible { transform: none; opacity: 1; pointer-events: auto; }

.mono {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
}
.u-link { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .5s var(--ease); padding-bottom: 2px; }
@media (hover: hover) and (pointer: fine) { .u-link:hover { background-size: 0 1px; background-position: 100% 100%; } }

/* ---------- grain (fixed, never on scrolling layers) ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  display: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* ---------- header ---------- */
.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-hdr);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(var(--safe-t) + 14px) var(--g) 0;
  pointer-events: none;
}
.hdr > * { pointer-events: auto; }
.hdr::before {
  content: "";
  position: absolute;
  inset: 0 0 -36px 0;
  z-index: -1;
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 92%, transparent) 0%, color-mix(in srgb, var(--bg) 70%, transparent) 55%, transparent 100%);
  pointer-events: none;
  transition: opacity .5s var(--ease);
}
html.hide-logo .hdr::before { opacity: 0; }
.hdr__logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: 1;
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.hdr__logo i { font-style: normal; color: var(--accent); }
html.hide-logo .hdr__logo { opacity: 0; transform: translateY(-8px); pointer-events: none; }

.island {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 44px;
  padding: 4px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  box-shadow: inset 0 0 0 1px var(--line), 0 12px 40px -18px rgba(0, 0, 0, .25);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}
.island a, .island button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-2);
  transition: color .3s var(--ease), background-color .3s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .island a:hover, .island button:not(.island__req):hover { color: var(--fg); background: color-mix(in srgb, var(--fg) 7%, transparent); } }
.island a[aria-current="page"] { color: var(--fg); }
.island a[aria-current="page"]::before { content: ""; width: 5px; height: 5px; background: var(--accent); }
/* language: a clear two-state switch — the current language is a filled pill, the other one is the button to press */
.island .lang { display: inline-flex; align-items: center; gap: 2px; height: 36px; padding: 3px; margin: 0 4px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.island .lang i { display: none; }
.island .lang button { height: 30px; min-width: 40px; padding: 0 10px; border-radius: 999px; background: none; color: var(--fg-2); font-size: 11px; font-weight: 600; letter-spacing: .08em; transition: background-color .25s var(--ease), color .25s var(--ease); }
.island .lang button.on { background: var(--fg); color: var(--bg); }
@media (hover: hover) and (pointer: fine) { .island .lang:hover button:not(.on) { color: var(--fg); background: color-mix(in srgb, var(--fg) 8%, transparent); } }
.island .lang, .menu__foot .lang { cursor: pointer; }
.lang-toast { position: fixed; top: calc(var(--safe-t) + 74px); right: var(--g); z-index: var(--z-menu); padding: 10px 16px; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: 13px; font-weight: 500; pointer-events: none; opacity: 0; transform: translate3d(0, -6px, 0); transition: opacity .25s var(--ease), transform .35s var(--ease); }
.lang-toast.on { opacity: 1; transform: none; }
/* language swap: page text dips out and back in */
main, .ftr, .island a, .menu__nav { transition: opacity .22s var(--ease); }
html.lang-swap main, html.lang-swap .ftr, html.lang-swap .menu__nav { opacity: 0; }
.island__sep { width: 1px; height: 18px; margin: 0 4px; background: var(--line); }
.island__menu { display: none !important; }
.island .island__req { margin-left: 4px; background: var(--fg); color: var(--bg); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .island .island__req:hover { opacity: .82; } }

@media (max-width: 900px) {
  .island a, .island .lang, .island__sep { display: none !important; }
  .island__menu { display: inline-flex !important; color: var(--fg) !important; padding: 0 16px !important; }
  .island .island__req { margin-left: 0; padding: 0 16px; }
}

/* ---------- menu overlay (mobile) ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--safe-t) + 88px) var(--g) calc(var(--safe-b) + 28px);
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease), visibility 0s .5s;
}
html.is-menu .menu { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
html.is-menu .hdr { z-index: calc(var(--z-menu) + 1); }
.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: clamp(38px, 11vw, 68px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: .98;
  text-transform: lowercase;
  opacity: 0;
  transform: translate3d(0, 48px, 0);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.menu__nav a { color: var(--fg-3); }
.menu__nav a[aria-current="page"] { color: var(--fg); }
html.is-menu .island__req { display: none !important; }
html.is-menu .menu__nav a { opacity: 1; transform: none; }
html.is-menu .menu__nav a:nth-child(2) { transition-delay: .05s; }
html.is-menu .menu__nav a:nth-child(3) { transition-delay: .1s; }
html.is-menu .menu__nav a:nth-child(4) { transition-delay: .15s; }
html.is-menu .menu__nav a:nth-child(5) { transition-delay: .2s; }
.menu__foot { display: flex; flex-direction: column; align-items: stretch; gap: 22px; }
.menu__meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--fg-2); font-size: 14px; }
.menu__foot .lang { display: inline-flex; gap: 4px; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.menu__foot .lang i { display: none; }
.menu__foot .lang button { min-width: 56px; height: 40px; border-radius: 999px; color: var(--fg-2); font-size: 14px; font-weight: 600; letter-spacing: .06em; }
.menu__foot .lang button.on { background: var(--fg); color: var(--bg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
  transition: transform .5s var(--ease), background-color .3s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .btn:hover { opacity: .84; } }
.btn:active { transform: scale(.97); }
button, a, label, [role="button"] { touch-action: manipulation; }
button, .btn, .chip, .island, .menu__nav a { -webkit-user-select: none; user-select: none; }
.btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- media ---------- */
.media { position: absolute; inset: 0; overflow: hidden; background: var(--bg-2); }
.media { background-position: center; background-size: cover; background-repeat: no-repeat; }
.media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s var(--ease); }
.media video.is-ready { opacity: 1; }
.media--ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 30% 40%, hsl(var(--h, 20) 25% 22%), transparent 70%), var(--bg-2);
}
.media__ph { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--fg-3); display: none; white-space: nowrap; }
.media--ph .media__ph { display: block; }

/* ---------- intro loader (home, once per session) ---------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: var(--z-curtain);
  display: grid;
  place-items: center;
  background: var(--bg);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s var(--ease-io);
}
.intro.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.intro__mark { display: flex; overflow: hidden; font-size: clamp(72px, 19vw, 280px); font-weight: 700; letter-spacing: -.06em; line-height: .9; padding: 0 .08em .06em 0; }
.intro__mark span { display: inline-block; transform: translate3d(0, 105%, 0); animation: intro-up 1s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 120ms); }
.intro__mark span:last-child { color: var(--accent); }
.intro__tag { position: absolute; right: var(--g); bottom: calc(var(--g) + var(--safe-b)); color: var(--fg-3); }
@keyframes intro-up { to { transform: none; } }

/* ---------- page curtain transition (on html so it exists before JS) ---------- */
html::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-curtain);
  background: var(--bg-3);
  transform: translate3d(0, 100%, 0);
  pointer-events: none;
}
html.is-entering::after { transform: none; transition: none; }
html.is-leaving::after { transform: none; transition: transform .6s var(--ease-io); }
html.is-arriving::after { transform: translate3d(0, -100%, 0); transition: transform .8s var(--ease-io); }
html:not(.has-intro) .intro { display: none; }

/* ==========================================================================
   HOME: cover (Feast-style wordmark) swallowed by the reel
   ========================================================================== */
.cover { position: relative; height: calc(100svh + 110svh + var(--n, 9) * 60svh); }
.cover__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }

/* title card: the wordmark sits on the bottom edge of the frame, like an opening credit */
.cover__mark {
  position: absolute;
  left: calc(var(--g) - .04em);
  bottom: calc(var(--safe-b) + clamp(54px, 7vh, 96px));
  z-index: 4;
  display: flex;
  color: #fff;
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: .78;
  white-space: nowrap;
  pointer-events: none;
}
.cover__mark { transform-origin: 0 0; will-change: transform; }
.cover__mark span { display: inline-block; }
.cover__sub { z-index: 4; color: #fff; }
.cover .cover__sub { left: calc(var(--g) + 30px); bottom: calc(var(--g) + var(--safe-b) + 16px); }
.cover .cover__sub .mono { color: rgba(255, 255, 255, .9); }
/* soft floor so the white letters always read, whatever the frame */
.cover__shade { opacity: 1; background: linear-gradient(180deg, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, 0) 46%, rgba(0, 0, 0, .5) 100%); }
.cover__sub {
  position: absolute;
  left: var(--g);
  bottom: calc(var(--g) + var(--safe-b) + 4px);
  max-width: 28ch;
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--fg-2);
  will-change: opacity;
}
.cover__sub .mono { display: block; color: var(--fg); }

.cover__screen {
  position: absolute;
  inset: 0;
  z-index: 2;
  clip-path: inset(var(--ct, 0px) var(--cr, 0px) var(--cb, 0px) var(--cl, 0px));
}
.reel__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s .6s; }
.reel__slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }
.reel__slide .media video { transform: scale(1.08); transition: transform 2.4s var(--ease); }
.reel__slide.is-active .media video { transform: scale(1); }
.cover__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 8, 7, .5) 0%, rgba(8, 8, 7, 0) 30%, rgba(8, 8, 7, 0) 48%, rgba(8, 8, 7, .55) 100%);
  opacity: var(--shade, 0);
}

/* viewfinder HUD follows the clip rect */
.hud {
  position: absolute;
  top: calc(var(--ct, 0px) + 14px);
  right: calc(var(--cr, 0px) + 14px);
  bottom: calc(var(--cb, 0px) + 14px);
  left: calc(var(--cl, 0px) + 14px);
  z-index: var(--z-hud);
  pointer-events: none;
  color: rgba(255, 255, 255, .88);
}
.hud__c { position: absolute; width: 18px; height: 18px; border: 0 solid rgba(255, 255, 255, .75); transition: opacity .5s var(--ease); }
.hud__c:nth-child(1) { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.hud__c:nth-child(2) { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.hud__c:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.hud__c:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.hud__rec { position: absolute; top: auto; bottom: 0; left: 28px; display: flex; align-items: center; gap: 8px; }
.hud__rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: rec 1.6s steps(2) infinite; }
@keyframes rec { 50% { opacity: 0; } }
.cover.is-reel .hud__c { opacity: 0; }
.cover.is-reel .hud__rec { top: auto; bottom: 0; left: 0; }

/* reel typography (Bennett & Clive mechanics) */
.reel__ui { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease); }
.cover.is-reel .reel__ui { opacity: 1; }
.reel__active, .reel__list {
  font-size: var(--display);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .9;
}
.reel__active {
  position: absolute;
  top: calc(var(--safe-t) + 66px);
  left: calc(var(--g) - .05em);
  display: grid;
  width: min(60vw, 11ch);
  overflow: hidden;
  padding-bottom: .06em;
}
.reel__active, .reel__list { color: #fff; }
.reel__active > span { grid-area: 1 / 1; }
.reel__active > .in { animation: title-in .9s cubic-bezier(.2, .7, .2, 1) both; }
.reel__active > .out { animation: title-out .6s cubic-bezier(.4, 0, .6, 1) both; }
@keyframes title-in { from { opacity: 0; transform: translate3d(0, 28%, 0); filter: blur(6px); } }
@keyframes title-out { to { opacity: 0; transform: translate3d(0, -18%, 0); filter: blur(6px); } }
.reel__mid {
  position: absolute;
  top: 50%;
  left: var(--g);
  right: var(--g);
  display: flex;
  justify-content: space-between;
  transform: translateY(-100%);
  color: rgba(255, 255, 255, .8);
}
.reel__listwrap { position: absolute; top: calc(50% + 10px); bottom: 0; left: var(--g); right: var(--g); overflow: hidden; }
.reel__list { text-align: right; color: rgba(255, 255, 255, .94); will-change: transform; }
.reel__list li { margin-left: auto; max-width: 15ch; padding-bottom: .02em; }
@media (max-width: 900px) {
  .reel__active { top: calc(var(--safe-t) + 84px); width: calc(100vw - 2 * var(--g)); }
  .reel__list { font-size: clamp(28px, 8.4vw, 40px); line-height: .98; }
  .reel__listwrap { top: calc(50% + 24px); }
  .cover__sub { max-width: calc(100vw - 2 * var(--g) - 96px); font-size: 16px; }
}

/* ==========================================================================
   HOME: sections after the reel
   ========================================================================== */
.section { position: relative; padding: clamp(120px, 18vh, 220px) var(--g); }

/* scroll-scrubbed manifesto */
.say { padding-top: clamp(140px, 22vh, 260px); }
.say__line {
  display: block;
  max-width: 17ch;
  font-size: var(--h2);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.02;
  margin-bottom: .18em;
}
/* lines alternate between the left and the right edge of the screen */
.say__line:nth-child(even) { margin-left: auto; text-align: right; }
.say__line + .say__line { margin-top: clamp(28px, 7vh, 90px); }
.say .w { color: var(--fg-3); transition: color .4s var(--ease); }
.say .w.on { color: var(--fg); }
.say__line:last-child .w.on:last-child { color: var(--accent); }
@media (max-width: 900px) { .say__line { max-width: 13ch; } .say__line + .say__line { margin-top: 32px; } }

/* split: sticky media card + scrolling copy */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.split__media { position: sticky; top: 14vh; }
.frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.frame .media video { will-change: transform; }
.frame--wide { aspect-ratio: 16 / 9; }
@media (min-width: 901px) {
  .split:has(.frame--wide) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
  .split:has(.frame--wide) .split__media { top: 22vh; }
}
@media (max-width: 900px) { .split:has(.frame--wide) .split__media { width: 100%; } }
.frame--wide .media video { inset: -12px 0; height: calc(100% + 24px); }
.split__cap { display: flex; justify-content: space-between; margin-top: 12px; color: var(--fg-3); }
.split__copy { padding-top: 12vh; }
.split__copy p {
  max-width: 24ch;
  font-size: var(--lead);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.22;
  margin-bottom: 1.6em;
}
.split__copy p:last-child { margin-bottom: 0; }
.split__copy .dim { color: var(--fg-3); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split__media { position: relative; top: 0; width: 74%; }
  .split__copy { padding-top: 0; }
}

/* questions: a dense cluster around a centre axis (like the client list on bennettandclive.com) —
   left column hugs the axis from the left, right column from the right, one question per line;
   on scroll the lines drift out to the screen edges, the cursor pushes them apart */
.ask { position: relative; height: 230svh; }
.ask__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.ask__pile { width: 100%; padding: 0 var(--g); display: grid; grid-template-columns: 1fr 1fr; column-gap: .6em; row-gap: .12em; align-items: center; }
.ask__q { margin: 0; padding: .05em 0; font-size: clamp(17px, 2.05vw, 34px); font-weight: 500; letter-spacing: -.03em; line-height: .98; will-change: transform; }
.ask__q span { display: inline-block; max-width: 15em; text-wrap: balance; }
.ask__q--l { grid-column: 1; text-align: right; }
.ask__q--r { grid-column: 2; text-align: left; }
/* a dense, even cluster (like the client list on bennettandclive.com); two lines carry the weight */
.ask__q.sz-xl { font-size: clamp(22px, 2.9vw, 48px); font-weight: 600; letter-spacing: -.04em; }
.ask__edge { position: absolute; top: 50%; transform: translateY(-50%); font-size: clamp(15px, 1.32vw, 22px); font-weight: 700; letter-spacing: -.02em; }
.ask__edge--l { left: var(--g); }
.ask__edge--r { right: var(--g); }
@media (max-width: 900px) {
  .ask__pile { column-gap: .5em; row-gap: .45em; align-items: start; }
  .ask__q { white-space: normal; font-size: 3.9vw; line-height: 1.08; }
  .ask__q.sz-xl { font-size: 4.9vw; }
  .ask__edge { top: auto; bottom: calc(var(--g) + var(--safe-b) + 8px); transform: none; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .ask { height: auto; } .ask__stage { position: relative; height: auto; padding: 14vh 0; } }

/* text mask reveal: video visible only through the letters */
.mask { position: relative; height: 230svh; }
.mask__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.mask__cut {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 var(--g);
  background: #0b0b0b;
  color: #fff;
  mix-blend-mode: multiply;
}
.mask__cut p {
  font-size: clamp(54px, 10.6vw, 200px);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: .9;
  text-align: center;
  transform: scale(var(--ms, 1));
  will-change: transform;
}
.mask__after {
  position: absolute;
  left: var(--g);
  right: var(--g);
  bottom: calc(var(--g) + var(--safe-b));
  opacity: var(--mo, 0);
  transform: translate3d(0, calc((1 - var(--mo, 0)) * 30px), 0);
}
.mask__after { color: #fff; }
.mask__after p { max-width: 34ch; font-size: clamp(16px, 1.2vw, 20px); font-weight: 400; letter-spacing: -.01em; line-height: 1.35; }
.mask__fallback { display: none; }

@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* partners (logos managed in the admin; block hidden when empty) */
.partners { padding-top: 8vh; padding-bottom: 8vh; }
.partners__label { color: var(--fg-3); margin-bottom: 28px; }
.partners__list { display: flex; flex-wrap: wrap; align-items: center; gap: 28px clamp(32px, 5vw, 80px); }
.partners__list img { height: clamp(26px, 2.6vw, 40px); width: auto; max-width: 180px; object-fit: contain; opacity: .7; transition: opacity .4s var(--ease); }
.partners__list img.is-white { filter: grayscale(1) brightness(0); }
@media (hover: hover) and (pointer: fine) { .partners__list a:hover img, .partners__list img:hover { opacity: 1; } }

/* geography */
.geo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 120px); align-items: end; }
.geo__cities li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  font-size: clamp(34px, 4.4vw, 74px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: .98;
  color: var(--fg-3);
  transition: color .5s var(--ease);
}
.geo__cities li.is-now { color: var(--fg); }
@media (hover: hover) and (pointer: fine) { .geo__cities li:hover { color: var(--fg); } }
.geo__cities time { font-family: var(--font); font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.geo__copy h2 { font-size: clamp(24px, 2.3vw, 38px); font-weight: 500; letter-spacing: -.03em; line-height: 1.08; margin-bottom: 22px; }
.geo__copy p { max-width: 36ch; color: var(--fg-2); font-size: 16px; line-height: 1.5; }
.geo__copy p + p { margin-top: 14px; }
.geo__copy .btn { margin-top: 36px; }
@media (max-width: 900px) { .geo { grid-template-columns: 1fr; } }

/* ==========================================================================
   Shared page title (fit to width)
   ========================================================================== */
.ptitle { padding: calc(var(--safe-t) + 96px) var(--g) 0; }
.ptitle h1, .ptitle__word { font-weight: 600; letter-spacing: -.05em; line-height: .86; white-space: nowrap; margin-left: -.04em; }
.ptitle .ptitle__word .clip, .ptitle h1 .clip { display: inline-block; overflow: hidden; padding: 0 .02em .06em 0; vertical-align: top; }
.ptitle__word .l, .ptitle h1 .l { display: inline-block; transform: translate3d(0, 105%, 0); animation: intro-up 1.1s var(--ease) forwards; animation-delay: calc(var(--i) * 45ms + 250ms); }
.ptitle__word .l.acc, .ptitle h1 .l.acc { color: var(--accent); }

/* ==========================================================================
   SERVICES: index list on a changing background
   ========================================================================== */
.svc { position: relative; margin-top: 12vh; background: var(--bg); }
.svc__bg { position: sticky; top: 0; height: 100svh; margin-bottom: -100svh; overflow: hidden; }
.svc__bg .media { opacity: 0; transition: opacity .9s var(--ease); }
.svc__bg .media.is-active { opacity: .5; }
.svc__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 12, 11, .82) 0%, rgba(12, 12, 11, .3) 62%, rgba(12, 12, 11, .55) 100%); }
.svc__list { position: relative; padding: 16vh var(--g) 26vh; }
.svc__row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
  gap: var(--g);
  align-items: baseline;
  width: 100%;
  padding: 18px 0 20px;
  text-align: left;
  isolation: isolate;
  transition: color .35s var(--ease);
}
.svc__row::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--g) * -.5);
  z-index: -1;
  background: rgba(238, 235, 227, .1);
  box-shadow: inset 0 0 0 1px rgba(238, 235, 227, .14);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.svc__row.is-active::before { transform: scaleX(1); }
.svc__name {
  font-size: clamp(26px, 3.3vw, 56px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1;
  transition: transform .6s var(--ease);
}
.svc__row.is-active .svc__name { transform: translateX(10px); }
.svc__desc { max-width: 40ch; font-size: 15px; line-height: 1.4; letter-spacing: -.01em; color: var(--fg-2); transition: color .3s; }
.svc__row.is-active .svc__desc { color: var(--fg); }
.svc__more { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; margin-top: 14vh; }
@media (max-width: 900px) {
  .svc__row { grid-template-columns: 1fr; row-gap: 8px; padding: 16px 0 18px; }
  .svc__desc { font-size: 15px; }
}

/* ==========================================================================
   TEAM: works cascade + creator cast
   ========================================================================== */
.works { position: relative; height: calc(100svh + var(--n, 10) * 50svh); }
.works__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.works__main { position: relative; overflow: hidden; }
.works__main .media { opacity: 0; transition: opacity .7s var(--ease); }
.works__main .media.is-active { opacity: 1; }
.works__main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 8, 7, .75), rgba(8, 8, 7, 0) 45%); pointer-events: none; }
.works__info { position: absolute; left: var(--g); right: var(--g); bottom: calc(var(--g) + var(--safe-b)); z-index: 2; }
.works__title { font-size: clamp(34px, 4vw, 68px); font-weight: 600; letter-spacing: -.04em; line-height: .98; }
.works__credits { margin-top: 10px; color: rgba(255, 255, 255, .72); }
.works__word {
  position: absolute;
  top: calc(var(--safe-t) + 74px);
  left: calc(var(--g) - .05em);
  z-index: 3;
  font-size: clamp(56px, 8.4vw, 150px);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: .82;
  color: #fff;
  pointer-events: none;
}
.works__rail { position: relative; overflow: hidden; }
.works__card {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(150px, 15vw, 250px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-2);
  opacity: .36;
  transition: opacity .5s var(--ease);
  will-change: transform;
}
.works__card.is-active { opacity: 1; }
.works__card .works__c { opacity: 0; transition: opacity .5s var(--ease); }
.works__card.is-active .works__c { opacity: 1; }
/* admin uploads have no b/w copy: they fall back to the filter */
.works__card--filter { filter: grayscale(1); transition: opacity .5s var(--ease), filter .5s var(--ease); }
.works__card--filter.is-active { filter: none; }
@media (max-width: 900px) {
  .works__stage { grid-template-columns: 1fr; grid-template-rows: 64svh 36svh; }
  .works__card { width: 28vw; }
}

.cast__title { font-size: clamp(38px, 6.4vw, 116px); font-weight: 600; letter-spacing: -.05em; line-height: .9; }
.cast__lead { max-width: 30ch; margin: 5vh 0 12vh; font-size: var(--lead); font-weight: 400; letter-spacing: -.02em; line-height: 1.22; color: var(--fg-2); }
.cast__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 9vh, 96px) clamp(32px, 5vw, 96px); }
.cast__item { display: block; }
.cast__item:nth-child(even) { translate: 0 clamp(40px, 10vh, 120px); }
.cast__item h3 { font-size: clamp(22px, 2.2vw, 36px); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 12px; }
.cast__item p { max-width: 38ch; color: var(--fg-2); font-size: 15px; line-height: 1.5; }
@media (max-width: 900px) {
  .cast__grid { grid-template-columns: 1fr; }
  .cast__item:nth-child(even) { translate: none; }
}

/* ==========================================================================
   ABOUT: manifesto in the dark, lit by a flashlight, bursts on press
   ========================================================================== */
.manifesto {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--safe-t) + 120px) var(--g) 150px;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}
.manifesto__inner { max-width: 640px; text-align: center; }
.manifesto__inner p { font-size: clamp(14px, 1.05vw, 17px); font-weight: 400; letter-spacing: -.005em; line-height: 1.45; }
.manifesto__inner .m-lead { font-size: clamp(20px, 2vw, 32px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; margin-bottom: .6em; }
.manifesto__inner .m-gap { margin-top: 1em; }
.manifesto__inner .m-cities { font-family: var(--font); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: .8em 0 .2em; }
.manifesto .bw { display: inline-block; white-space: nowrap; }
.manifesto .bc { display: inline-block; will-change: transform; }
.manifesto__hint { position: absolute; left: 50%; bottom: calc(var(--safe-b) + 36px); z-index: calc(var(--z-light) + 1); transform: translateX(-50%); color: var(--fg-2); white-space: nowrap; transition: opacity .6s var(--ease); }
.manifesto.is-touched .manifesto__hint { opacity: 0; }
.dark {
  position: fixed;
  inset: 0;
  z-index: var(--z-light);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity .8s var(--ease);
}
.dark__lamp {
  position: absolute;
  left: -300vmax;
  top: -300vmax;
  width: 600vmax;
  height: 600vmax;
  background: radial-gradient(circle 300px at 50% 50%, rgba(12, 12, 11, 0) 0%, rgba(12, 12, 11, .3) 50%, rgba(12, 12, 11, .86) 100%);
  will-change: transform;
}
.dark.is-on { opacity: 1; }


/* about: showreel behind the manifesto (fixed, under the text and the flashlight) */
.about-reel { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: var(--bg); }
.about-reel .media { opacity: 0; transition: opacity 1.2s var(--ease); background-color: transparent; }
.about-reel .media.is-active { opacity: .62; }
.about-reel::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 48%, rgba(12, 12, 11, .5) 0%, rgba(12, 12, 11, .82) 100%); }
.about-reel__hud { position: absolute; left: var(--g); right: var(--g); bottom: calc(var(--g) + var(--safe-b)); z-index: 2; display: flex; justify-content: space-between; color: rgba(255, 255, 255, .78); }
.about-reel__hud .hud__rec { display: flex; align-items: center; gap: 8px; }
.about-reel__hud .hud__rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: rec 1.6s steps(2) infinite; }
.manifesto { z-index: 1; }
.manifesto__inner p { text-shadow: 0 1px 18px rgba(0, 0, 0, .55); }
@media (max-width: 900px) {
  .about-reel .media.is-active { opacity: .85; }
  .about-reel::after { background: linear-gradient(180deg, rgba(12, 12, 11, .62) 0%, rgba(12, 12, 11, .5) 50%, rgba(12, 12, 11, .7) 100%); }
  .about-reel__hud { display: none; }
  .manifesto { padding-bottom: 110px; }
  .manifesto__hint { bottom: calc(var(--safe-b) + 64px); }
}

/* ==========================================================================
   CONTACTS
   ========================================================================== */
.ct { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 12vh; padding: 16vh var(--g) 0; }
.ct__cities { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--g); }
.ct__city { padding-top: 16px; box-shadow: inset 0 1px 0 var(--line); }
.ct__city time { display: block; font-family: var(--font); font-size: clamp(34px, 3.6vw, 60px); font-weight: 500; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; margin: 22px 0 10px; }
.ct__city span { color: var(--fg-2); }
.ct__mail { grid-column: 1 / span 8; }
.ct__mail .mono, .ct__people .mono { display: block; color: var(--fg-3); margin-bottom: 16px; }
.ct__mail a.big { font-size: clamp(24px, 3.2vw, 54px); font-weight: 500; letter-spacing: -.035em; line-height: 1; overflow-wrap: anywhere; }
.ct__copy { display: inline-flex; align-items: center; gap: 8px; height: 40px; margin-top: 20px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--fg-2); transition: color .3s, box-shadow .3s, transform .4s var(--spring); }
@media (hover: hover) and (pointer: fine) { .ct__copy:hover { color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg-3); } }
.ct__copy:active { transform: scale(.97); }
.ct__copy.is-done { color: var(--accent); }
.ct__phone { display: block; margin-top: 18px; font-size: clamp(19px, 1.6vw, 26px); font-weight: 500; letter-spacing: -.02em; }
.ct__extra { margin-top: 14px; font-size: clamp(16px, 1.3vw, 20px); font-weight: 500; }
.ct__extra .mono { display: block; margin-bottom: 4px; color: var(--fg-3); }
.ct__people { grid-column: 9 / -1; align-self: end; font-size: clamp(17px, 1.3vw, 21px); font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.ct__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
.ct__actions a { color: var(--fg-2); }
@media (max-width: 900px) {
  .ct { row-gap: 8vh; padding-top: 8vh; }
  .ct__cities { grid-template-columns: 1fr; gap: 0; }
  .ct__city { display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 12px; padding: 14px 0; }
  .ct__city time { grid-row: 1 / 3; grid-column: 2; margin: 0; font-size: 34px; }
  .ct__city > span:last-child { font-size: 13px; }
  .ct__mail, .ct__people { grid-column: 1 / -1; }
}

/* ---------- privacy ---------- */
.legal { max-width: 760px; padding: 10vh var(--g) 8vh; }
.legal h2 { font-size: 24px; font-weight: 650; letter-spacing: -.03em; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--fg-2); line-height: 1.6; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--fg); }
.legal__note { margin-top: 24px; padding: 16px 18px; box-shadow: inset 0 0 0 1px var(--line); color: var(--fg-3); font-size: 15px; }

/* ---------- footer: end credits over a dimmed clip ---------- */
.ftr { position: relative; z-index: 1; isolation: isolate; overflow: hidden; background: var(--bg); padding: clamp(120px, 22vh, 240px) var(--g) calc(var(--g) + var(--safe-b)); }
.ftr__bg { position: absolute; inset: 0; z-index: -1; }
.ftr__bg .media { opacity: .5; }
.ftr__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(12, 12, 11, .55) 28%, rgba(12, 12, 11, .62) 70%, var(--bg) 100%); }
.ftr__credits { max-width: 920px; margin: 0 auto; text-align: center; }
.ftr__eyebrow { color: var(--fg-2); margin-bottom: clamp(40px, 7vh, 72px); letter-spacing: .32em; }
.ftr__rows { display: grid; gap: clamp(22px, 3.4vh, 34px); }
.ftr__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(20px, 3vw, 44px); align-items: baseline; }
.ftr__row dt { text-align: right; color: var(--fg-2); }
.ftr__row dd { text-align: left; font-size: clamp(17px, 1.45vw, 22px); font-weight: 500; letter-spacing: -.015em; line-height: 1.4; }
.ftr__row dd a { color: var(--fg); }
.ftr__city { display: block; }
.ftr__city time { margin-left: 10px; color: var(--fg-2); font-size: .82em; font-variant-numeric: tabular-nums; }
.ftr__nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.ftr__cta { margin-top: clamp(48px, 9vh, 90px); }
.ftr__mark { display: flex; justify-content: center; margin: clamp(80px, 16vh, 180px) 0 0; font-weight: 700; letter-spacing: -.06em; line-height: .78; white-space: nowrap; user-select: none; }
.ftr__mark span { display: inline-block; }
.ftr__bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 22px; padding-top: 16px; color: var(--fg-3); box-shadow: inset 0 1px 0 var(--line); }
.ftr__bottom > span { display: inline-flex; gap: .5em; flex-wrap: wrap; }
.ftr.ftr--compact { --bg: #ffffff; --fg: #0b0b0b; --fg-2: rgba(11, 11, 11, .6); --fg-3: rgba(11, 11, 11, .4); --line: rgba(11, 11, 11, .12); color-scheme: light; padding-top: 14vh; }
.ftr--compact .ftr__mark { margin-top: 0; }
@media (max-width: 900px) {
  .ftr { padding-top: 16vh; }
  .ftr__row { grid-template-columns: 1fr; gap: 6px; text-align: center; }
  .ftr__row dt, .ftr__row dd { text-align: center; }
  .ftr__row dd { font-size: 18px; }
  .ftr__nav { justify-content: center; }
  .ftr__cta { width: 100%; }
  .ftr__bottom { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
  .ftr__bottom > span { justify-content: center; }
}

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translate3d(0, 40px, 0); filter: blur(8px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ==========================================================================
   Request sheet
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: var(--z-modal); visibility: hidden; pointer-events: none; transition: visibility 0s .8s; }
.modal.is-open { visibility: visible; pointer-events: auto; transition: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6, 6, 5, .62); opacity: 0; transition: opacity .6s var(--ease); }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel {
  position: absolute;
  top: 10px; right: 10px; bottom: 10px;
  width: min(600px, calc(100% - 20px));
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 120px -40px rgba(0, 0, 0, .8);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px clamp(22px, 2.6vw, 40px) calc(var(--safe-b) + 32px);
  transform: translate3d(calc(100% + 20px), 0, 0);
  transition: transform .8s var(--ease);
}
.modal.is-open .modal__panel { transform: none; }
.modal__top { display: flex; justify-content: space-between; align-items: center; color: var(--fg-3); }
.modal__close { height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--fg); font-size: 13px; font-weight: 500; transition: box-shadow .3s, transform .2s; }
.modal__close:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .modal__close:hover { box-shadow: inset 0 0 0 1px var(--fg-3); } }
.modal__title { margin: 7vh 0 14px; font-size: clamp(34px, 3.6vw, 52px); font-weight: 600; letter-spacing: -.04em; line-height: .98; }
.modal__lead { color: var(--fg-2); max-width: 34ch; }

.form { display: flex; flex-direction: column; gap: 26px; margin-top: 40px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { color: var(--fg-2); }
.field input, .field textarea {
  width: 100%;
  padding: 8px 0 12px;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--fg) 28%, transparent);
  border-radius: 0;
  background: none;
  color: var(--fg);
  font: 400 18px/1.3 var(--font);
  letter-spacing: -.02em;
  outline: none;
  transition: border-color .3s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-3); }
.field input:focus, .field textarea:focus { border-color: var(--fg); }
.field__err { display: none; font-size: 14px; color: var(--fg); font-weight: 600; }
.field.is-bad input, .field.is-bad textarea { border-color: var(--fg); font-weight: 600; }
.field.is-bad .field__err { display: block; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg) 22%, transparent);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-2);
  cursor: pointer;
  transition: background-color .25s, color .25s, box-shadow .25s, transform .4s var(--spring);
}
@media (hover: hover) and (pointer: fine) { .chip span:hover { color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg-3); } }
.chip input:checked + span { background: var(--fg); color: var(--bg); box-shadow: none; }
.chip input:active + span { transform: scale(.96); }
.chip input:focus-visible + span { outline: 1.5px solid var(--accent); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.4; color: var(--fg-2); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--accent); }
.consent.is-bad { color: var(--fg); font-weight: 600; }
.consent a { color: var(--fg); }
.form__submit { align-self: flex-start; }
.form__submit:disabled { opacity: .5; pointer-events: none; }
.form__error { font-size: 15px; color: var(--fg); font-weight: 600; }
.form__error:empty { display: none; }
.form-done { display: none; margin-top: 8vh; }
.modal.is-done .form, .modal.is-done .modal__lead { display: none; }
.modal.is-done .form-done { display: block; }
.form-done p { font-size: var(--lead); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; max-width: 22ch; margin-bottom: 32px; }
@media (max-width: 640px) {
  .modal__panel { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 94svh; transform: translate3d(0, 100%, 0); }
  .modal__title { margin-top: 5vh; }
}

/* ---------- cursor: camera autofocus frame ---------- */
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input, html.has-cursor textarea { cursor: text !important; }
.af {
  position: fixed;
  left: 0;
  top: 0;
  z-index: var(--z-cursor);
  width: 26px;
  height: 26px;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: difference;
  transition: width .22s var(--ease), height .22s var(--ease), opacity .2s;
  will-change: transform;
}
html.cursor-on .af { opacity: 1; }
.af.is-lock { transition: transform .22s var(--ease), width .22s var(--ease), height .22s var(--ease), opacity .2s; }
.af.no-anim { transition: none; }
.af.is-hidden { opacity: 0 !important; }
.af > i { position: absolute; width: 7px; height: 7px; border: 0 solid #fff; transition: width .22s var(--ease), height .22s var(--ease); }
.af > i:nth-child(1) { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.af > i:nth-child(2) { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.af > i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.af > i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.af.is-lock > i { width: 10px; height: 10px; }
.af__dot { position: absolute; left: 50%; top: 50%; width: 3px; height: 3px; margin: -1.5px 0 0 -1.5px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.af.is-lock .af__dot { transform: scale(0); }
.af.is-down > i { width: 12px; height: 12px; }
.af.is-down .af__dot { transform: scale(1.8); }
.af__tag {
  position: absolute;
  left: 0;
  bottom: calc(100% + 6px);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(0, 4px, 0);
  transition: opacity .2s, transform .25s var(--ease);
}
.af.has-tag .af__tag { opacity: 1; transform: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
  .grain, .intro, .dark { display: none; }
}

/* ---------- phones: keep the GPU for video ----------
   A fixed noise layer and a blurred header are re-composited over every video frame;
   on an iPhone that is what turns smooth playback into stutter. */
@media (max-width: 900px) {
  .grain { display: none; }
  .island { background: color-mix(in srgb, var(--bg) 94%, transparent); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .frame .media video { transform: none; }
  /* header wash: longer, eased fade — no visible lower edge over dark video */
  .hdr::before {
    inset: 0 0 -72px 0;
    background: linear-gradient(180deg,
      color-mix(in srgb, var(--bg) 86%, transparent) 0%,
      color-mix(in srgb, var(--bg) 78%, transparent) 18%,
      color-mix(in srgb, var(--bg) 64%, transparent) 33%,
      color-mix(in srgb, var(--bg) 48%, transparent) 46%,
      color-mix(in srgb, var(--bg) 32%, transparent) 58%,
      color-mix(in srgb, var(--bg) 19%, transparent) 70%,
      color-mix(in srgb, var(--bg) 9%, transparent) 81%,
      color-mix(in srgb, var(--bg) 3%, transparent) 91%,
      transparent 100%);
  }
}
@media (max-width: 900px) {
  .svc__bg .media.is-active { opacity: .78; }
  .svc__bg::after { background: linear-gradient(180deg, rgba(12, 12, 11, .55) 0%, rgba(12, 12, 11, .38) 45%, rgba(12, 12, 11, .62) 100%); }
  .svc__row:not(.is-active) .svc__desc { color: rgba(238, 235, 227, .7); }
}

/* cases: project title on the video, credits small and black in the right corner */
.works__main .works__title { position: absolute; left: var(--g); bottom: calc(var(--g) + var(--safe-b)); z-index: 2; margin: 0; max-width: calc(100% - 2 * var(--g)); color: #fff; font-size: clamp(22px, 2.2vw, 36px); font-weight: 600; letter-spacing: -.03em; line-height: 1; opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.works__credit { position: absolute; right: var(--g); bottom: calc(var(--g) + var(--safe-b)); z-index: 3; margin: 0; color: #0b0b0b; font-size: 7px; font-weight: 500; letter-spacing: .02em; opacity: 0; transition: opacity .5s var(--ease); }
.works__main .works__title.is-in, .works__credit.is-in { opacity: 1; transform: none; }
@media (max-width: 900px) { .works__credit { bottom: auto; top: calc(64svh + 12px); } }
/* the second Spartak x Zenit cut is dark: lift it so the letters read on the dark ground */
.mask__stage .media video { filter: brightness(1.55) contrast(1.05); }
@media (max-width: 900px) and (orientation: portrait) {
  /* questions: a normal block on phones — no sticky stage, nothing that looks frozen while scrolling */
  .ask { height: auto; }
  .ask__stage { position: relative; height: auto; overflow: visible; padding: 14vh 0 12vh; }
  .ask__edge { display: none; }
  /* reel: the header logo stays, the city labels give way to the list */
  .reel__mid { display: none; }
}
