/* ==========================================================
   ARKH — видеопродакшн · Kinetic Cinema
   ========================================================== */
:root {
  /* primitives */
  --black: #0a0a0a;
  --black-2: #131313;
  --black-3: #1c1c1c;
  --paper: #ecebe6;
  --paper-2: #e2e1dc;
  --white: #ffffff;
  --gray-1: #a3a3a0;
  --gray-2: #6b6b68;
  --fire: #ff4a1c;
  --fire-2: #ff7a1a;
  --fire-3: #ffc04d;
  --red: #c4160a;

  /* semantic */
  --bg: var(--black);
  --fg: var(--white);
  --muted: var(--gray-1);
  --line: rgba(255, 255, 255, .14);
  --accent: var(--fire);

  /* type */
  --f-display: "Unbounded", "Arial Black", sans-serif;
  --f-body: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* layout */
  --radius: 28px;
  --radius-sm: 18px;
  --gutter: clamp(16px, 4vw, 64px);
  --header-h: 76px;

  /* motion */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: .2s;
  --t-med: .45s;
  --t-slow: .8s;

  /* z-index scale */
  --z-content: 1;
  --z-overlay: 10;
  --z-header: 40;
  --z-menu: 39;
  --z-modal: 100;
  --z-cursor: 110;
  --z-grain: 120;
  --z-slate: 200;
}

.light {
  --bg: var(--paper);
  --fg: var(--black);
  --muted: var(--gray-2);
  --line: rgba(10, 10, 10, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; background: var(--black); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; touch-action: manipulation; }
h1, h2, h3, h4, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--fire); color: var(--black); }
:focus-visible { outline: 2px solid var(--fire); outline-offset: 4px; border-radius: 6px; }

.mono { font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-style: normal; }
.container { width: 100%; max-width: 1560px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(96px, 13vw, 200px) 0; background: var(--bg); color: var(--fg); }
.light { background: var(--bg); color: var(--fg); }

.skip {
  position: fixed; top: 12px; left: 12px; z-index: var(--z-slate); padding: 12px 18px;
  background: var(--fire); color: var(--black); border-radius: 999px; transform: translateY(-200%);
}
.skip:focus { transform: none; }

.eyebrow { color: var(--fire); margin-bottom: 22px; }
.section-label {
  display: flex; align-items: center; gap: 16px; margin-bottom: clamp(28px, 4vw, 52px);
  font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fg);
}
.section-label span {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--f-display); font-weight: 600; font-size: 15px; letter-spacing: 0; color: var(--fire);
}
.section-label span::after { content: ""; width: 44px; height: 1px; background: currentColor; }

.h2 {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(44px, 8vw, 132px); line-height: .9; letter-spacing: -.03em;
}

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -100%; z-index: var(--z-grain); pointer-events: none; opacity: .07;
  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");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-6%, 4%); } 40% { transform: translate(5%, -7%); }
  60% { transform: translate(-3%, 8%); } 80% { transform: translate(7%, 2%); } 100% { transform: translate(0, 0); }
}

/* ---------- Intro slate ---------- */
.slate { display: none; }
.intro .slate {
  position: fixed; inset: 0; z-index: var(--z-slate); display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--gutter) + 8px) var(--gutter); background: var(--black); color: var(--white);
  animation: slateOut .7s var(--ease-out) 2.1s forwards;
}
.slate__row { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-1); }
.slate__count { display: grid; place-items: center; flex: 1; }
.slate__num {
  font-family: var(--f-display); font-weight: 900; font-size: clamp(120px, 26vw, 360px); line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--fire);
}
.slate__bar { height: 2px; background: var(--line); overflow: hidden; }
.slate__bar span { display: block; height: 100%; background: var(--fire); transform-origin: left; animation: slateBar 2s linear forwards; }
@keyframes slateBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes slateOut { to { transform: translateY(-100%); visibility: hidden; } }

/* ---------- Fire gradients (placeholders until real media arrives) ---------- */
.fire-bg {
  background:
    linear-gradient(180deg, transparent 0 22%, rgba(255,192,77,.9) 30%, transparent 36%),
    linear-gradient(180deg, transparent 0 40%, rgba(255,74,28,.95) 47%, rgba(255,140,40,.9) 52%, transparent 60%),
    linear-gradient(180deg, transparent 0 62%, rgba(196,22,10,.9) 70%, transparent 80%),
    linear-gradient(100deg, #120302 0%, #3a0904 40%, #0a0a0a 100%);
  background-size: 260% 100%, 200% 100%, 300% 100%, 100% 100%;
  animation: streak 7s var(--ease) infinite alternate;
  filter: saturate(1.15);
}
.fire-bg--mono {
  background:
    linear-gradient(170deg, transparent 0 30%, rgba(255,255,255,.75) 42%, transparent 50%),
    linear-gradient(175deg, transparent 0 55%, rgba(255,74,28,.95) 62%, rgba(255,192,77,.9) 65%, transparent 72%),
    radial-gradient(120% 80% at 70% 30%, #9b9b9b, #2a2a2a 60%, #050505);
  background-size: 220% 100%, 260% 100%, 100% 100%;
}
.fire-bg--car {
  background:
    radial-gradient(40% 18% at 72% 62%, rgba(255,74,28,.95), transparent 70%),
    radial-gradient(30% 10% at 60% 60%, rgba(255,192,77,.9), transparent 70%),
    linear-gradient(160deg, #e9e9e9 0%, #8d8d8d 30%, #121212 55%, #000 100%);
  background-size: 200% 100%, 220% 100%, 100% 100%;
}
@keyframes streak {
  0% { background-position: 0% 0, 100% 0, 30% 0, 0 0; }
  100% { background-position: 100% 0, 0% 0, 90% 0, 0 0; }
}

.fire-text {
  background: linear-gradient(90deg, var(--red), var(--fire) 25%, var(--fire-3) 50%, var(--fire) 75%, var(--red));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: fireText 5s linear infinite;
}
@keyframes fireText { to { background-position: -200% 0; } }
.is-following .js-follow { animation: none; background-position: var(--mx, 50%) 0; transition: background-position .6s var(--ease-out); }

/* ---------- Capsule (fire pill inside text) ---------- */
.capsule {
  display: inline-block; position: relative; overflow: hidden; border-radius: 999px;
  width: 80px; height: 52px; flex: none; background: #1a0503;
}
.capsule__fire {
  position: absolute; inset: -20%;
  background:
    linear-gradient(180deg, transparent 0 30%, #ffd27a 45%, #fff3d6 50%, #ff8a2b 56%, transparent 70%),
    linear-gradient(180deg, #2a0402 0%, #c4160a 30%, #ff4a1c 50%, #c4160a 70%, #2a0402 100%);
  background-size: 300% 100%, 100% 100%;
  filter: blur(1.5px);
  animation: capsule 2.6s ease-in-out infinite alternate;
}
.capsule__fire--alt {
  background:
    linear-gradient(180deg, transparent 0 20%, #fff 35%, transparent 45%),
    linear-gradient(180deg, transparent 0 50%, #ffc04d 58%, transparent 66%),
    linear-gradient(90deg, #1b1b1b, #ff4a1c 50%, #2a0402);
  background-size: 260% 100%, 300% 100%, 200% 100%;
}
@keyframes capsule { to { background-position: 100% 0, 0 0, 100% 0; } }
.capsule--inline { width: 1.9em; height: .82em; vertical-align: -.02em; margin: 0 .06em; }
.capsule--sm { width: 1.3em; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 58px; padding: 0 30px; border-radius: 999px; overflow: hidden;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: background var(--t-med) var(--ease), color var(--t-med) var(--ease), transform var(--t-fast);
}
.btn--sm { height: 44px; padding: 0 22px; font-size: 14px; }
.btn--fire { background: var(--fire); color: var(--black); }
.btn--fire::before {
  content: ""; position: absolute; inset: 0; background: var(--white); border-radius: inherit;
  transform: translateY(101%); transition: transform var(--t-med) var(--ease-out);
}
.btn--fire:hover::before { transform: none; }
.btn--fire { isolation: isolate; }
.btn--fire::before { z-index: -1; }
.btn__arrow { transition: transform var(--t-med) var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn:active { transform: scale(.97); }

.pill {
  display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 24px 0 7px;
  border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font-weight: 500; font-size: 15px;
  backdrop-filter: blur(8px); background: rgba(255,255,255,.04);
  transition: border-color var(--t-med), background var(--t-med);
}
.pill:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.pill__play {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); color: var(--black); padding-left: 2px;
  transition: transform var(--t-med) var(--ease-out);
}
.pill:hover .pill__play { transform: scale(1.1); }

.tag {
  display: inline-flex; align-items: center; height: 30px; padding: 0 13px; border-radius: 999px;
  border: 1px solid currentColor; font-size: 12px; width: max-content;
}

/* ---------- REC indicator ---------- */
.rec { display: inline-flex; align-items: center; gap: 7px; }
.rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--fire); box-shadow: 0 0 10px var(--fire); animation: blink 1.2s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .15; } }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-header); height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gutter);
  color: var(--white);
  transition: transform var(--t-med) var(--ease), background var(--t-med), color var(--t-med), border-color var(--t-med);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(10,10,10,.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: rgba(255,255,255,.08); }
.header.is-light { color: var(--black); }
.header.is-light.is-scrolled { background: rgba(236,235,230,.72); border-color: rgba(0,0,0,.08); }
.header.is-hidden { transform: translateY(-100%); }
.logo { position: relative; display: block; height: 28px; }
.logo__img { height: 28px; width: auto; transition: opacity var(--t-med); }
.logo__img--b { position: absolute; inset: 0; opacity: 0; }
.header.is-light .logo__img--w { opacity: 0; }
.header.is-light .logo__img--b { opacity: 1; }
.nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; padding: 5px; border-radius: 999px; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 18%, transparent); }
.nav__link { position: relative; padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: background var(--t-fast), color var(--t-fast); }
.nav__link:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.nav__link.is-active { background: var(--fire); color: var(--black); }
.header__right { display: flex; align-items: center; gap: 18px; }
.header .rec { color: inherit; opacity: .8; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform var(--t-med) var(--ease); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu); background: var(--black); color: var(--white);
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 10px; padding: 100px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-out); visibility: hidden;
}
.mobile-menu.is-open { clip-path: inset(0); visibility: visible; }
.mobile-menu a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 10vw, 64px); line-height: 1.1; }
.mobile-menu a i { color: var(--fire); font-size: 12px; }
.mobile-menu .mobile-menu__tg { margin-top: 32px; font-family: var(--f-body); font-weight: 600; font-size: 18px; text-transform: none; color: var(--fire); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; background: var(--black); color: var(--white);
}
@supports (min-height: 100svh) { .hero { min-height: max(680px, 100svh); } }
.hero__media {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 60% 38%, #5d5d5a 0%, #2a2a28 40%, #0d0d0d 75%),
    var(--black);
}
.hero__bg, .hero__poster {
  position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover;
  filter: grayscale(1) brightness(.42) contrast(1.15); animation: slowZoom 24s ease-in-out infinite alternate;
}
@keyframes slowZoom { to { transform: scale(1.08) translateX(-1.5%); } }
.hero.has-media .hero__vignette {
  background:
    linear-gradient(90deg, rgba(10,10,10,.82) 0%, rgba(10,10,10,.35) 45%, transparent 70%),
    linear-gradient(180deg, rgba(10,10,10,.7) 0%, transparent 22%, transparent 45%, rgba(10,10,10,.85) 82%, var(--black) 100%);
}
.hero__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,10,10,.7) 0%, transparent 22%, transparent 45%, rgba(10,10,10,.85) 82%, var(--black) 100%),
    radial-gradient(120% 90% at 50% 40%, transparent 50%, rgba(0,0,0,.6) 100%);
}

.fire-scene { position: absolute; inset: 0; overflow: hidden; }
.fire-scene__silhouette {
  position: absolute; left: 62%; top: 9%; width: min(48vw, 780px); height: auto; overflow: visible;
  transform: translateX(-48%); animation: sway 6s ease-in-out infinite alternate;
}
@keyframes sway { to { transform: translateX(-51%) skewX(-3deg); } }
.fs { position: absolute; z-index: 1; border-radius: 999px; filter: blur(18px); }
.fs--1 { left: 38%; top: 40%; width: 34%; height: 46px; background: linear-gradient(90deg, transparent, var(--fire-2) 40%, var(--fire-3) 70%, transparent); filter: blur(10px); animation: drift 4s ease-in-out infinite alternate; }
.fs--2 { left: 42%; top: 47%; width: 30%; height: 70px; background: linear-gradient(90deg, transparent, var(--red), var(--fire) 60%, transparent); animation: drift 5s ease-in-out infinite alternate-reverse; }
.fs--3 { left: 72%; top: 43%; width: 16%; height: 50px; background: linear-gradient(90deg, transparent, rgba(255,140,60,.75), transparent); filter: blur(22px); animation: drift 6s ease-in-out infinite alternate; }
.fs--4 { left: 30%; top: 30%; width: 30%; height: 120px; background: linear-gradient(90deg, transparent, rgba(0,0,0,.55), transparent); filter: blur(30px); }
.fs--5 { left: 54%; top: 54%; width: 26%; height: 140px; background: radial-gradient(closest-side, rgba(196,22,10,.85), transparent); filter: blur(26px); }
@keyframes drift { to { transform: translateX(6%) scaleX(1.15); } }

/* Viewfinder */
.vf { position: absolute; z-index: 2; inset: calc(var(--header-h) + 8px) var(--gutter) 22px; pointer-events: none; }
.vf__c { position: absolute; width: 34px; height: 34px; border: 0 solid rgba(255,255,255,.7); }
.vf__c--tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.vf__c--tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.vf__c--bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.vf__c--br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.vf__meta { position: absolute; display: flex; gap: 18px; font-size: 12px; color: rgba(255,255,255,.8); }
.vf__meta--tl { top: 14px; left: 48px; }
.vf__meta--tr { top: 14px; right: 48px; }
.vf__meta--bl { bottom: 14px; left: 48px; align-items: center; }
.js-timecode { font-variant-numeric: tabular-nums; min-width: 11ch; }
.vf__battery { position: relative; width: 24px; height: 11px; border: 1px solid currentColor; border-radius: 2px; padding: 1px; }
.vf__battery::after { content: ""; position: absolute; right: -4px; top: 3px; width: 2px; height: 3px; background: currentColor; }
.vf__battery i { display: block; height: 100%; width: 70%; background: currentColor; }

.hero__content {
  position: relative; z-index: 3; padding: calc(var(--header-h) + 80px) calc(var(--gutter) + 48px) clamp(64px, 9vh, 104px);
  width: 100%;
}
.hero__title {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(30px, 6.4vw, 116px); line-height: .98; letter-spacing: -.035em;
}
.line { display: block; overflow: hidden; padding-bottom: .05em; margin-bottom: -.05em; }
.line > span { display: inline-block; }
.line--accent { padding-bottom: .32em; margin-bottom: -.2em; }
.hero__accent { position: relative; }
.stroke { position: absolute; left: -2%; bottom: -.3em; width: 104%; height: .34em; overflow: visible; }
.stroke path { fill: none; stroke: var(--fire); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 0 8px rgba(255,74,28,.8)); }
.anim .stroke path { stroke-dashoffset: 1; }
.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.hero__lead { max-width: 440px; font-size: 18px; line-height: 1.45; color: rgba(255,255,255,.75); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__aside {
  position: absolute; z-index: 3; right: calc(var(--gutter) + 48px); top: calc(var(--header-h) + 100px);
  width: clamp(250px, 22vw, 400px); display: flex; flex-direction: column; align-items: flex-end;
}
/* Stacked layers peeking behind the window (sonner-like) */
.vfwin-stack { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 16 / 9; pointer-events: none; }
.vfwin-stack i {
  --i: 1; position: absolute; inset: 0; border-radius: 18px; border: 1px solid rgba(255,255,255,.18); overflow: hidden;
  transform-origin: 50% 0; transform: translateY(calc(var(--i) * -12px)) scale(calc(1 - var(--i) * .06));
  filter: brightness(calc(.75 - var(--i) * .18)) saturate(.8); transition: transform .8s var(--ease-out), filter .8s var(--ease-out);
}
.vfwin-stack i:nth-child(2) { --i: 2; }
.vfwin-stack i:nth-child(1) { z-index: 1; }
.hero__aside:hover .vfwin-stack i { transform: translateY(calc(var(--i) * -21px)) scale(calc(1 - var(--i) * .045)); filter: brightness(calc(.9 - var(--i) * .15)); }
.hero__aside .vfwin { z-index: 2; }
/* Viewfinder window: the same reel in full colour */
.vfwin {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.28); background: var(--black-2); color: var(--white); text-align: left;
  box-shadow: 0 40px 100px -30px rgba(255,74,28,.5), 0 0 0 6px rgba(255,255,255,.035);
  transition: border-color var(--t-med), box-shadow var(--t-med);
}
.vfwin:hover { border-color: rgba(255,255,255,.6); box-shadow: 0 40px 110px -24px rgba(255,74,28,.7), 0 0 0 6px rgba(255,255,255,.06); }
.vfwin__media, .vfwin__media > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.vfwin__media img, .vfwin__media video { object-fit: cover; filter: saturate(1.25) contrast(1.06); transition: transform 1.2s var(--ease-out); }
.vfwin:hover .vfwin__media img, .vfwin:hover .vfwin__media video { transform: scale(1.04); }
.vfwin__flash {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; mix-blend-mode: screen;
  background: radial-gradient(90% 120% at 0% 50%, rgba(255,190,90,.95), rgba(255,74,28,.55) 40%, transparent 72%);
}
.vfwin.is-flash .vfwin__flash { animation: lightLeak .7s ease-out; }
@keyframes lightLeak { 0% { opacity: 0; transform: translateX(-35%); } 18% { opacity: 1; } 100% { opacity: 0; transform: translateX(45%); } }
.vfwin__c { position: absolute; width: 14px; height: 14px; border: 0 solid rgba(255,255,255,.85); }
.vfwin__c--tl { top: 10px; left: 10px; border-top-width: 1.5px; border-left-width: 1.5px; }
.vfwin__c--tr { top: 10px; right: 10px; border-top-width: 1.5px; border-right-width: 1.5px; }
.vfwin__c--bl { bottom: 10px; left: 10px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.vfwin__c--br { bottom: 10px; right: 10px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.vfwin__top { position: absolute; top: 16px; left: 30px; right: 30px; display: flex; justify-content: space-between; font-size: 11px; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.vfwin__play {
  position: absolute; left: 22px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px;
  border-radius: 999px; background: rgba(0,0,0,.45); backdrop-filter: blur(8px); font-size: 11px;
  transition: background var(--t-med), color var(--t-med);
}
.vfwin:hover .vfwin__play { background: var(--fire); color: var(--black); }
.cases {
  position: absolute; z-index: 3; right: calc(var(--gutter) + 48px); top: calc(var(--header-h) + 96px);
  width: clamp(240px, 18vw, 310px);
}
.cases__stack { position: relative; aspect-ratio: 1.5; }
.case-card {
  --i: 0;
  position: absolute; inset: 0; display: block; text-align: left; border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid rgba(255,255,255,.25); color: var(--white); background: var(--black-2);
  transform-origin: 50% 0;
  transform: translateY(calc(var(--i) * -16px)) scale(calc(1 - var(--i) * .07));
  z-index: calc(10 - var(--i)); filter: brightness(calc(1 - var(--i) * .22));
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.6);
  transition: transform .8s var(--ease-out), filter .8s var(--ease-out), opacity .5s;
}
.case-card[data-i="0"] { box-shadow: 0 30px 80px -20px rgba(255,74,28,.4); }
.case-card[data-i="3"] { opacity: 0; pointer-events: none; }
.cases:hover .case-card { transform: translateY(calc(var(--i) * -30px)) scale(calc(1 - var(--i) * .05)); }
.cases:hover .case-card[data-i="0"] { transform: rotate(-1.5deg) scale(1.02); }
.case-card__bg { position: absolute; inset: 0; }
.case-card > :not(.case-card__bg) { transition: opacity .4s; }
.case-card:not([data-i="0"]) > :not(.case-card__bg) { opacity: 0; }
.case-card .tag { position: absolute; top: 14px; left: 14px; background: rgba(0,0,0,.35); backdrop-filter: blur(6px); }
.case-card__body { position: absolute; left: 16px; right: 16px; bottom: 14px; display: grid; gap: 3px; }
.case-card__body strong { font-family: var(--f-display); font-weight: 600; font-size: 17px; letter-spacing: -.02em; line-height: 1.15; }
.case-card__body small { font-size: 13px; opacity: .85; }
.case-card__arrow { position: absolute; right: 14px; top: 10px; font-size: 22px; transition: transform var(--t-med) var(--ease-out); }
.case-card:hover .case-card__arrow { transform: translate(3px, -3px); }
.cases__nav { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 12px; color: rgba(255,255,255,.75); }
.cases__bar { flex: 1; height: 2px; background: rgba(255,255,255,.18); border-radius: 2px; overflow: hidden; }
.cases__bar i { display: block; height: 100%; background: var(--fire); transform-origin: left; transform: scaleX(0); }
.cases__bar i.is-run { animation: caseBar var(--case-dur, 4.5s) linear forwards; }
.cases:hover .cases__bar i.is-run { animation-play-state: paused; }
@keyframes caseBar { to { transform: scaleX(1); } }

.hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; color: rgba(255,255,255,.6); }
.hero__scroll span { width: 1px; height: 38px; background: linear-gradient(var(--white), transparent); transform-origin: top; animation: scrollLine 1.8s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Ticker ---------- */
.ticker { position: relative; background: var(--black); color: var(--white); padding: clamp(36px, 5vw, 72px) 0; overflow: visible; overflow-x: clip; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.ticker__row { overflow: hidden; }
.ticker__track {
  display: flex; align-items: center; gap: .45em; width: max-content; will-change: transform;
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(44px, 8vw, 140px); line-height: 1.05; letter-spacing: -.03em;
  animation: marquee 40s linear infinite;
}
.ticker__track span { transition: color .3s, -webkit-text-stroke-color .3s; }
.ticker__track .o { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55); }
.ticker__star {
  flex: none; width: .42em; height: .42em; background: var(--fire);
  clip-path: polygon(50% 0, 61% 35%, 100% 50%, 61% 65%, 50% 100%, 39% 65%, 0 50%, 39% 35%);
  animation: spin 6s linear infinite; filter: drop-shadow(0 0 12px var(--fire));
}
.ticker__row--sub { margin-top: clamp(14px, 1.6vw, 24px); }
.ticker__row--sub .ticker__track { font-family: var(--f-mono); font-weight: 400; font-size: clamp(14px, 1.3vw, 20px); letter-spacing: .2em; gap: 1.6em; color: rgba(255,255,255,.55); animation-duration: 50s; }
.ticker__row--sub b { color: var(--fire); font-weight: 400; }
.ticker__track--rev { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifest ---------- */
.manifest {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 3.7vw, 62px);
  line-height: 1.04; letter-spacing: -.035em; max-width: 1340px;
}
.manifest b { font-weight: 900; }
.manifest .w { color: color-mix(in srgb, var(--fg) 16%, transparent); transition: color .35s; }
.manifest .w.is-lit { color: var(--fg); }
.manifest b.w.is-lit { color: var(--fire); }
.manifest em { font-style: normal; }
.manifest em.w.is-lit {
  background: linear-gradient(90deg, var(--red), var(--fire) 40%, var(--fire-3) 60%, var(--fire));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- About ---------- */
.about__note { margin: clamp(28px, 4vw, 48px) 0 0 auto; max-width: 460px; font-size: 19px; line-height: 1.5; color: var(--muted); }

.bento {
  display: grid; gap: 14px; margin-top: clamp(64px, 9vw, 130px);
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-areas: "a b b" "a c d";
}
.bento .card:nth-child(1) { grid-area: a; }
.bento .card:nth-child(2) { grid-area: b; }
.bento .card:nth-child(3) { grid-area: c; }
.bento .card:nth-child(4) { grid-area: d; }
.card {
  position: relative; overflow: hidden; border-radius: var(--radius); min-height: 300px;
  padding: clamp(22px, 2.4vw, 34px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  color: var(--white); background: var(--black-2);
  transition: transform var(--t-slow) var(--ease-out);
}
.card__bg { position: absolute; inset: 0; transition: transform 1.2s var(--ease-out); }
@media (hover: hover) {
  .card:hover { transform: translateY(-6px); }
  .card:hover .card__bg { transform: scale(1.06); }
}
.card > :not(.card__bg) { position: relative; }
.card .tag { color: inherit; }
.card__body { display: grid; gap: 12px; max-width: 460px; }
.card__n { font-family: var(--f-display); font-weight: 900; font-size: clamp(48px, 5vw, 84px); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px currentColor; opacity: .55; }
.card h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(20px, 1.8vw, 30px); line-height: 1.08; letter-spacing: -.03em; }
.card p { font-size: 16px; line-height: 1.45; opacity: .78; }
.card--dark { background: var(--black); }
.card--dark .card__n { color: var(--fire); -webkit-text-stroke: 0; opacity: 1; }
.card--fire .card__bg::after, .card--photo .card__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.6)); }
.card--line { background: transparent; color: var(--black); border: 1px solid rgba(10,10,10,.2); }
.card--line:hover { background: var(--fire); border-color: var(--fire); }
.card--line .card__n { -webkit-text-stroke-color: var(--black); }

/* About tiles: orange spotlight + glow on hover, optional media */
.bento .card { isolation: isolate; }
.bento .card::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; border-radius: inherit;
  background: radial-gradient(380px circle at var(--x, 50%) var(--y, 50%), rgba(255,74,28,.42), transparent 60%);
  transition: opacity var(--t-med);
}
.bento .card > :not(.card__bg) { z-index: 2; }
.bento .card > .card__n {
  position: absolute; top: clamp(22px, 2.4vw, 34px); right: clamp(22px, 2.4vw, 34px);
  font-size: clamp(20px, 1.7vw, 28px); line-height: 1; letter-spacing: -.02em;
}
.bento .card { box-shadow: 0 0 0 1px transparent; transition: transform var(--t-slow) var(--ease-out), box-shadow var(--t-med); }
@media (hover: hover) {
  .bento .card:hover { box-shadow: 0 0 0 1px rgba(255,74,28,.7), 0 30px 70px -25px rgba(255,74,28,.55); }
  .bento .card:hover::before { opacity: 1; }
}
.bento .card.is-active { box-shadow: 0 0 0 1px rgba(255,74,28,.7), 0 30px 70px -25px rgba(255,74,28,.55); }
.bento .card.is-active::before { opacity: 1; --x: 50%; --y: 30%; }
.card__media img, .card__media video { width: 100%; height: 100%; object-fit: cover; }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.45) 35%, rgba(0,0,0,.82) 70%, rgba(0,0,0,.9) 100%); }
.card__media video, .card__media img { filter: saturate(1.05) contrast(1.05); }
.card--media, .card--media.card--line { color: var(--white); border-color: transparent; }
.card--media.card--line .card__n { -webkit-text-stroke-color: var(--white); }
.card--media .card__n { color: var(--fire); -webkit-text-stroke: 0; opacity: 1; }
.bento .card--media::before { display: none; } /* no orange wash over footage — the frame glow is enough */

/* ---------- Clients ---------- */
.clients { background: var(--black); color: var(--white); padding: clamp(56px, 7vw, 100px) 0; border-top: 1px solid rgba(255,255,255,.08); }
.clients__title { color: rgba(255,255,255,.55); margin-bottom: clamp(24px, 3vw, 40px); text-align: center; }
.clients__row {
  overflow: hidden; padding: 44px 0; margin: -44px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.clients__track { display: flex; align-items: center; gap: clamp(28px, 4vw, 64px); width: max-content; animation: marquee 45s linear infinite; }
.clients__row:hover .clients__track { animation-play-state: paused; }
.client {
  flex: none; display: grid; place-items: center; height: 72px; padding: 0 18px; border-radius: 16px;
  transition: background var(--t-med), box-shadow var(--t-med);
}
.client img {
  max-height: 44px; max-width: 170px; width: auto; height: auto; object-fit: contain;
  filter: brightness(0) invert(1); opacity: .55; transition: filter var(--t-med), opacity var(--t-med), transform var(--t-med) var(--ease-out);
}
.client:hover { background: #f4f2ee; box-shadow: 0 0 0 1px rgba(255,74,28,.6), 0 0 40px -6px rgba(255,74,28,.55); }
.client:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.client--ph {
  width: 170px; border: 1px dashed rgba(255,255,255,.22); color: rgba(255,255,255,.35);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
}
.client--ph:hover { color: var(--white); }

/* ---------- Services ---------- */
.services { position: relative; }
.section-head { margin-bottom: clamp(44px, 6vw, 88px); }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.svc { border-bottom: 1px solid var(--line); }
.svc__item {
  position: relative; display: grid; grid-template-columns: 70px minmax(0, 1.25fr) minmax(0, 1fr) 56px; align-items: center; gap: 24px;
  padding: clamp(22px, 2.6vw, 38px) 0; border-top: 1px solid var(--line); cursor: pointer; isolation: isolate;
  transition: color var(--t-med) var(--ease);
}
.svc__item::before {
  content: ""; position: absolute; z-index: -1; inset: 0 calc(var(--gutter) * -1); background: var(--paper);
  transform: scaleY(0); transform-origin: bottom; transition: transform var(--t-med) var(--ease-out);
}
.svc__item:hover { color: var(--black); }
.svc__item:hover::before { transform: scaleY(1); }
.svc__num { color: var(--fire); font-size: 15px; }
.svc__title {
  font-family: var(--f-display); font-weight: 600; font-size: clamp(24px, 3.4vw, 56px); line-height: 1; letter-spacing: -.04em;
  transition: transform var(--t-med) var(--ease-out);
}
.svc__item:hover .svc__title { transform: translateX(16px); }
.svc__desc { color: var(--muted); font-size: 17px; line-height: 1.45; max-width: 420px; transition: color var(--t-med); }
.svc__item:hover .svc__desc { color: var(--gray-2); }
.svc__arrow {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid currentColor; font-size: 20px;
  transition: transform var(--t-med) var(--ease-out), background var(--t-med), color var(--t-med), border-color var(--t-med);
}
.svc__item:hover .svc__arrow { background: var(--fire); border-color: var(--fire); color: var(--black); transform: rotate(45deg); }
.svc-preview {
  position: fixed; left: 0; top: 0; z-index: var(--z-overlay); width: 340px; aspect-ratio: 4/3; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); border-radius: var(--radius-sm);
  overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.6) rotate(-6deg);
  transition: opacity .3s, transform .5s var(--ease-out);
}
.svc-preview.is-on { opacity: 1; }
.svc-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--black-2); }
.svc-preview__label { position: absolute; left: 12px; bottom: 12px; padding: 6px 11px; border-radius: 999px; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); color: var(--white); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.svc__title a { color: inherit; text-decoration: none; }

/* ---------- Why ---------- */
.why { background: var(--paper); }
.why__banner { position: relative; overflow: hidden; background: var(--black); color: var(--white); min-height: clamp(560px, 92vh, 960px); display: flex; align-items: center; }
.why__streaks { position: absolute; inset: 0; background: linear-gradient(180deg, #2a0800, #000 85%); }
.why__streaks span {
  position: absolute; left: -20%; right: -20%; height: 12%;
  background: linear-gradient(90deg, transparent, var(--red) 20%, var(--fire) 45%, var(--fire-3) 55%, var(--fire) 70%, transparent);
  filter: blur(14px); animation: wind 9s ease-in-out infinite alternate;
}
.why__streaks span:nth-child(1) { top: 2%; opacity: .9; transform: rotate(-2deg); }
.why__streaks span:nth-child(2) { top: 14%; height: 6%; filter: blur(6px); opacity: .95; animation-duration: 7s; }
.why__streaks span:nth-child(3) { top: 26%; height: 20%; opacity: .7; animation-duration: 11s; transform: rotate(3deg); }
.why__streaks span:nth-child(4) { top: 40%; height: 4%; filter: blur(4px); animation-duration: 6s; }
.why__streaks span:nth-child(5) { top: 50%; height: 10%; opacity: .55; transform: rotate(-4deg); }
.why__streaks span:nth-child(6) { top: 64%; height: 3%; filter: blur(3px); opacity: .6; animation-duration: 5s; }
@keyframes wind { from { translate: -8% 0; } to { translate: 8% 0; } }
.why__banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, var(--black)); }
.why__banner-inner { position: relative; z-index: 2; text-align: center; }
.why__banner-title {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(30px, 8.4vw, 140px); line-height: .9; letter-spacing: -.04em;
}
.why__banner-title .line:nth-child(2) > span { color: transparent; -webkit-text-stroke: 2px var(--white); }
.why__cta { margin-top: 28px; }
.why__banner-sub { margin: 32px auto 0; max-width: 500px; font-size: 20px; color: rgba(255,255,255,.8); }
.why__body { padding-top: clamp(96px, 12vw, 180px); padding-bottom: clamp(96px, 12vw, 180px); background: transparent; }
.usp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(64px, 8vw, 120px); }
.usp__item {
  position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 14px; align-content: start;
  min-height: 260px; padding: clamp(24px, 2.4vw, 36px); border-radius: var(--radius);
  background: #f7f6f2; border: 1px solid rgba(10,10,10,.08); box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 18px 40px -28px rgba(10,10,10,.35);
  transition: background var(--t-med) var(--ease), color var(--t-med) var(--ease), border-color var(--t-med), transform var(--t-slow) var(--ease-out);
}
.usp__item::before {
  content: ""; position: absolute; z-index: -1; inset: 0; opacity: 0; transition: opacity var(--t-med);
  background: radial-gradient(420px circle at var(--x, 50%) var(--y, 50%), rgba(255,74,28,.45), transparent 60%);
}
.usp__item::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--fire); transform: scaleX(0); transform-origin: left; transition: transform var(--t-slow) var(--ease-out); }
.usp__item.is-active { background: var(--black); color: var(--white); border-color: var(--black); }
.usp__item.is-active::before { opacity: 1; --x: 50%; --y: 20%; }
.usp__item.is-active::after { transform: scaleX(1); }
@media (hover: hover) {
  .usp__item:hover { background: var(--black); color: var(--white); border-color: var(--black); transform: translateY(-6px); }
  .usp__item:hover::before { opacity: 1; }
  .usp__item:hover::after { transform: scaleX(1); }
  .usp__item.is-active .usp__n { color: var(--fire); }
  .usp__item.is-active p { color: rgba(255,255,255,.75); }
}
.usp__n {
  font-family: var(--f-display); font-weight: 900; font-size: 44px; line-height: 1; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px var(--fire); transition: color var(--t-med);
}
.usp__item.is-active .usp__n { color: var(--fire); }
.usp__item h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(21px, 1.8vw, 28px); letter-spacing: -.03em; line-height: 1.1; margin-top: auto; }
.usp__item p { color: #55554f; font-size: 17px; line-height: 1.45; max-width: 400px; transition: color var(--t-med); }
.usp__item.is-active p { color: rgba(255,255,255,.75); }

/* ---------- Works (horizontal reel) ---------- */
.works { overflow: hidden; }
.works .section-head { margin-bottom: clamp(36px, 4vw, 56px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.chip:hover { border-color: var(--fg); }
.chip.is-active { background: var(--fire); border-color: var(--fire); color: var(--black); }
.works__controls { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.arrows { display: flex; gap: 8px; }
.arrow {
  width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); font-size: 20px;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), opacity var(--t-fast);
}
.arrow:hover { background: var(--fire); border-color: var(--fire); color: var(--black); }
.arrow:disabled { opacity: .3; pointer-events: none; }
.works__grid {
  --wh: clamp(380px, 62vh, 620px);
  --wmax: calc((100vw - var(--gutter) * 2) * .625); /* a 16:10 card never wider than the screen */
  display: flex; gap: 16px; width: max-content; padding-right: var(--gutter);
}
.work {
  position: relative; flex: none; height: min(var(--wh), var(--wmax)); aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden;
  background: var(--black-2); color: var(--white); cursor: pointer; isolation: isolate;
}
.work--vertical { aspect-ratio: 9 / 16; }
.work.is-hidden { display: none; }
.work__media { position: absolute; inset: 0; transition: transform 1.2s var(--ease-out); }
.work__media video, .work__media img { width: 100%; height: 100%; object-fit: cover; }
.work:hover .work__media { transform: scale(1.05); }
.work::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.75)); pointer-events: none; }
.work .tag { position: absolute; z-index: 2; top: 20px; left: 20px; background: rgba(0,0,0,.35); backdrop-filter: blur(6px); }
.work__idx { position: absolute; z-index: 2; top: 24px; right: 22px; color: rgba(255,255,255,.75); }
.work__play {
  position: absolute; z-index: 2; left: 50%; top: 50%; width: 84px; height: 84px; border-radius: 50%;
  background: var(--fire); transform: translate(-50%, -50%) scale(.6); opacity: 0;
  transition: transform var(--t-med) var(--ease-out), opacity var(--t-med);
}
.work__play::before { content: ""; position: absolute; left: 36px; top: 29px; border-left: 18px solid var(--black); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.work:hover .work__play, .work:focus-visible .work__play { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.work__info { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; display: grid; gap: 6px; }
.work__info small { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.work__info h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(18px, 1.6vw, 26px); letter-spacing: -.03em; line-height: 1.1; }
.works__bar { margin-top: 28px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.works__bar span { display: block; height: 100%; background: var(--fire); transform-origin: left; transform: scaleX(0); }
.works__scroller { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding-left: var(--gutter); scroll-padding-left: var(--gutter); scroll-snap-type: x mandatory; cursor: grab; }
.works__scroller.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.works__scroller.is-dragging .work { pointer-events: none; }
.works__scroller:focus-visible { outline-offset: -4px; }
.works__scroller::-webkit-scrollbar { display: none; }
.works__scroller .work { scroll-snap-align: start; }

/* ---------- Backstage ---------- */
.backstage { padding: clamp(96px, 13vw, 200px) 0; overflow: hidden; }
.strip { display: flex; gap: 14px; margin: clamp(56px, 7vw, 100px) 0; width: max-content; animation: marquee 180s linear infinite; }
.strip:hover { animation-play-state: paused; }
.shot { position: relative; flex: none; height: clamp(240px, 30vw, 440px); aspect-ratio: 4 / 5; border-radius: var(--radius-sm); overflow: hidden; background: var(--black-2); }
.shot--big { aspect-ratio: 16 / 10; }
.shot--wide { aspect-ratio: 3 / 2; }
.shot--square { aspect-ratio: 1; }
.shot img:not(.shot__logo), .shot .fire-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot__logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 34%; height: auto; }
.shot figcaption { position: absolute; left: 14px; bottom: 14px; padding: 7px 13px; border-radius: 999px; background: rgba(0,0,0,.5); backdrop-filter: blur(6px); color: var(--white); font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 48px); padding-top: 44px; }
.process::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line); }
.process__line { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--fire); transform-origin: left; transform: scaleX(0); }
.process__step { position: relative; display: grid; gap: 12px; align-content: start; }
.process__step::before { content: ""; position: absolute; top: -51px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--fire); }
.process__step span { color: var(--fire); }
.process__step h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 2vw, 32px); letter-spacing: -.03em; }
.process__step p { color: var(--muted); font-size: 17px; line-height: 1.45; }

/* ---------- Contact (one screen) ---------- */
.contact {
  position: relative; overflow: hidden; background: var(--black); color: var(--white);
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-top: calc(var(--header-h) + clamp(24px, 5vh, 64px));
}
.contact__media { position: absolute; inset: 0; background: radial-gradient(60% 50% at 75% 25%, #3a3a37, #121212 55%, var(--black) 80%); }
.fire-scene--contact .fs--1 { top: 22%; left: 50%; }
.fire-scene--contact .fs--2 { top: 28%; left: 54%; width: 40%; }
.fire-scene--contact .fs--5 { top: 20%; left: 64%; }
.contact__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact__shade { position: absolute; inset: 0; background: linear-gradient(180deg, var(--black) 0%, rgba(10,10,10,.35) 30%, rgba(10,10,10,.6) 70%, var(--black) 100%); }
.contact__inner { position: relative; z-index: 2; }
.contact .section-label { color: var(--white); }
.contact__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); align-items: center; gap: clamp(28px, 4vw, 64px); }
.contact__title {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(32px, min(5.4vw, 9vh), 104px); line-height: .98; letter-spacing: -.04em;
}
.contact__title .line { padding-top: .14em; margin-top: -.14em; }
.rotator { display: inline-block; height: 1.3em; margin: -.15em 0; overflow: hidden; vertical-align: top; }
.rotator__list { display: flex; flex-direction: column; animation: rotate 8s var(--ease-out) infinite; }
.rotator__list span { display: block; height: 1.3em; line-height: 1.3; }
@keyframes rotate {
  0%, 20% { transform: translateY(0); } 25%, 45% { transform: translateY(-1.3em); }
  50%, 70% { transform: translateY(-2.6em); } 75%, 95% { transform: translateY(-3.9em); } 100% { transform: translateY(-5.2em); }
}
.contact__lead { margin-top: clamp(16px, 2.4vh, 28px); max-width: 460px; font-size: 19px; color: rgba(255,255,255,.8); }

.tg-wrap { position: relative; width: 100%; }
.qr {
  position: absolute; z-index: 3; right: 0; bottom: calc(100% + 14px); width: 236px; padding: 16px 16px 12px;
  border-radius: 26px; background: rgba(28,28,28,.92); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 70px -20px rgba(0,0,0,.7);
  opacity: 0; transform: translateY(16px) scale(.9); transform-origin: 85% 100%; pointer-events: none;
  transition: opacity .3s, transform .55s cubic-bezier(.34, 1.56, .64, 1);
}
.tg-wrap:hover .qr, .tg-wrap:focus-within .qr { opacity: 1; transform: none; }
.qr__code { background: var(--white); border-radius: 16px; padding: 12px; aspect-ratio: 1; }
.qr__code svg { display: block; width: 100%; height: 100%; }
.qr__caption { margin-top: 10px; text-align: center; font-size: 14px; color: rgba(255,255,255,.65); }
.qr:empty, .no-qr .qr { display: none; }
@media (hover: none), (pointer: coarse) { .qr { display: none; } }
.tg-card {
  position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; gap: 22px;
  width: 100%; padding: 22px; border-radius: 26px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 30px 80px -30px rgba(255,74,28,.55);
  transition: border-color var(--t-med), transform var(--t-slow) var(--ease-out), color var(--t-med);
}
.tg-card::before {
  content: ""; position: absolute; z-index: -1; inset: 0; background: var(--fire); border-radius: inherit;
  clip-path: circle(0% at 44px 50%); transition: clip-path .7s var(--ease-out);
}
.tg-card:hover { border-color: var(--fire); color: var(--black); }
.tg-card:hover::before { clip-path: circle(150% at 44px 50%); }
.tg-card__glow { position: absolute; z-index: -2; right: -40px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,74,28,.5), transparent); filter: blur(10px); }
.tg-card__icon {
  flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--fire); color: var(--black); padding-right: 3px; transition: background var(--t-med), color var(--t-med);
  box-shadow: 0 0 0 0 rgba(255,74,28,.5); animation: pulse 2.4s var(--ease) infinite;
}
.tg-card:hover .tg-card__icon { background: var(--black); color: var(--fire); }
.tg-card__body { display: grid; gap: 4px; flex: 1; min-width: 0; }
.tg-card__status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; opacity: .75; }
.tg-card__status i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 8px #3ddc84; }
.tg-card__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.03em; line-height: 1.1; }
.tg-card__handle { font-size: 13px; opacity: .7; text-transform: none; letter-spacing: .02em; }
.tg-card__arrow {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid currentColor; font-size: 20px;
  transition: transform var(--t-med) var(--ease-out);
}
.tg-card:hover .tg-card__arrow { transform: rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,74,28,.45); } 70%, 100% { box-shadow: 0 0 0 22px rgba(255,74,28,0); } }

.wordmark {
  position: relative; z-index: 2; flex: 1; display: flex; align-items: center; justify-content: center;
  padding: clamp(20px, 4vh, 48px) 0 clamp(12px, 2vh, 24px); white-space: nowrap; user-select: none; pointer-events: none;
  font-family: var(--f-display); font-weight: 900; font-size: min(26vw, 36vh); line-height: .86; letter-spacing: -.06em;
}
.wordmark .js-brand-split {
  display: inline-block; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.22);
  background: linear-gradient(90deg, var(--fire) 0 50%, transparent 50%); background-size: 200% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
}
.wordmark .ch { display: inline; }

.footer {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap;
  padding-top: 22px; padding-bottom: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: 15px;
}
.footer p { color: rgba(255,255,255,.7); }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer__links a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--t-med) var(--ease-out), color var(--t-fast); }
.footer__links a:hover { background-size: 100% 1px; color: var(--fire); }
.footer__end { display: flex; align-items: center; gap: 24px; }
.footer__up { color: var(--fire); }
.footer__privacy { color: rgba(255,255,255,.6); text-decoration: none; transition: color var(--t-fast); }
.footer__privacy:hover { color: var(--white); }
.footer__copy { color: rgba(255,255,255,.5); font-size: 12px; }

/* ---------- Seamless crossfades between sections ----------
   JS adds .morph when GSAP runs: sections become transparent and the page
   background itself dissolves between black and paper while scrolling. */
.morph .section, .morph .light, .morph .clients, .morph .why, .morph .contact { background: transparent; }
/* the ticker keeps its black ground (white type must never sit on paper) and feathers into the next block */
.ticker { z-index: 2; }
.ticker::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: clamp(60px, 9vw, 140px); pointer-events: none;
  background: linear-gradient(180deg, var(--black), rgba(10,10,10,0));
}
.morph .why__banner { background: transparent; }
.morph .why__streaks, .morph .why__banner::after {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
}
.morph .contact__media {
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 28%);
}
.morph .contact__shade { background: linear-gradient(180deg, transparent 0%, rgba(10,10,10,.35) 30%, rgba(10,10,10,.6) 70%, var(--black) 100%); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: var(--gutter); visibility: hidden; pointer-events: none; }
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.82); backdrop-filter: blur(10px); opacity: 0; transition: opacity var(--t-med); }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__box {
  position: relative; width: min(1720px, 100%, calc(90vh * 16 / 9 + 340px)); max-height: calc(100vh - 2 * var(--gutter)); overflow: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; background: var(--black-2); color: var(--white);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); transform: translateY(40px) scale(.97); opacity: 0;
  transition: transform var(--t-med) var(--ease-out), opacity var(--t-med);
}
.modal.is-open .modal__box { transform: none; opacity: 1; }
.modal__close { position: absolute; z-index: 3; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%; background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.2); font-size: 16px; transition: background var(--t-fast); }
.modal__close:hover { background: var(--fire); color: var(--black); }
.modal__player { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.modal__player--vertical { aspect-ratio: 9 / 16; height: min(88vh, 960px, calc(100vh - 2 * var(--gutter) - 4px)); width: auto; }
.modal__box:has(.modal__player--vertical) { width: auto; grid-template-columns: auto 340px; }
.modal__player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.modal__placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; font-size: 15px; color: rgba(255,255,255,.85); background: rgba(0,0,0,.35); }
.modal__info { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.modal__cat { color: var(--fire); }
.modal__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 2.2vw, 34px); letter-spacing: -.03em; line-height: 1.05; }
.modal__task { color: rgba(255,255,255,.7); }
.modal__result { font-family: var(--f-display); font-weight: 600; color: var(--fire); font-size: 18px; margin-bottom: 10px; }

/* ---------- No signal (offline) ---------- */
.signal { position: fixed; inset: 0; z-index: calc(var(--z-modal) + 5); display: grid; place-items: center; padding: var(--gutter); background: rgba(10,10,10,.9); backdrop-filter: blur(10px); color: var(--white); }
.signal__bars { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(7, 1fr); opacity: .16; animation: jitter .18s steps(2) infinite; }
.signal__bars i:nth-child(1) { background: #c0c0c0; } .signal__bars i:nth-child(2) { background: #c0c000; }
.signal__bars i:nth-child(3) { background: #00c0c0; } .signal__bars i:nth-child(4) { background: #00c000; }
.signal__bars i:nth-child(5) { background: #c000c0; } .signal__bars i:nth-child(6) { background: var(--fire); }
.signal__bars i:nth-child(7) { background: #0000c0; }
@keyframes jitter { 50% { transform: translateX(3px); } }
.signal__box { position: relative; max-width: 460px; padding: clamp(26px, 4vw, 40px); border-radius: var(--radius); background: var(--black-2); border: 1px solid rgba(255,255,255,.12); display: grid; gap: 14px; justify-items: start; }
.signal__tag { display: inline-flex; align-items: center; gap: 8px; color: var(--fire); }
.signal__tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--fire); animation: blink 1s steps(2, jump-none) infinite; }
.signal h2 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 4vw, 44px); letter-spacing: -.03em; line-height: 1; }
.signal p { color: rgba(255,255,255,.72); font-size: 17px; margin-bottom: 8px; }

/* ---------- Cursor: liquid glass drop ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: var(--z-cursor); width: 26px; height: 26px; pointer-events: none;
  display: grid; place-items: center; transition: width .5s var(--ease-out), height .5s var(--ease-out);
}
.cursor__blob {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.85) 0 8%, rgba(255,255,255,0) 30%),
    radial-gradient(circle at 70% 78%, rgba(255,200,120,.55), transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(255,110,50,.28), rgba(255,74,28,.62) 75%, rgba(196,22,10,.75));
  border: 1px solid rgba(255,255,255,.45);
  box-shadow: inset 0 2px 3px rgba(255,255,255,.55), inset 0 -4px 8px rgba(120,20,0,.45), 0 6px 18px rgba(255,74,28,.45);
  backdrop-filter: blur(2px) saturate(1.8) brightness(1.1); -webkit-backdrop-filter: blur(2px) saturate(1.8) brightness(1.1);
  transition: background .4s, box-shadow .4s;
}
.cursor__label { position: relative; opacity: 0; font-size: 13px; font-weight: 600; color: var(--white); text-shadow: 0 1px 6px rgba(0,0,0,.4); transition: opacity .2s; white-space: nowrap; }
.cursor.is-big { width: 108px; height: 108px; }
.cursor.is-big .cursor__blob {
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,.55) 0 6%, rgba(255,255,255,0) 26%),
    radial-gradient(circle at 50% 50%, rgba(255,90,40,.10), rgba(255,74,28,.38) 80%, rgba(196,22,10,.55));
  backdrop-filter: blur(6px) saturate(1.8); -webkit-backdrop-filter: blur(6px) saturate(1.8);
}
.cursor.is-big .cursor__label { opacity: 1; }
.cursor.is-down .cursor__blob { transform: scale(.8); }
.cursor__blob { transition: transform .25s var(--ease-out), background .4s; }
@media (hover: none), (pointer: coarse) { .cursor, .svc-preview { display: none; } }
@media (hover: hover) and (pointer: fine) { .has-cursor, .has-cursor a, .has-cursor button { cursor: none; } }

/* ---------- Reveal (only when JS animations are active) ---------- */
.anim .reveal { opacity: 0; transform: translateY(28px); }
.anim .hero .line > span, .anim .why__banner-title .line > span, .anim .contact__title .line > span { transform: translateY(115%); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .header .rec { display: none; }
  .cases { display: none; }
  .hero__aside { width: clamp(260px, 34vw, 380px); top: calc(var(--header-h) + 84px); }
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "a b" "a c" "d d"; }
  .usp { grid-template-columns: 1fr 1fr; }
  .svc__item { grid-template-columns: 50px minmax(0, 1fr) 56px; }
  .svc__desc { grid-column: 2; grid-row: 2; }
  .svc__arrow { grid-column: 3; grid-row: 1; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .process__step::before { display: none; }
  .usp__item { min-height: 230px; }
  .contact__top { grid-template-columns: 1fr; }
  .tg-wrap { max-width: 520px; }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .header .btn { display: none; }
  .vf { inset: calc(var(--header-h) + 4px) 12px 12px; }
  .vf__meta--tr { display: none; }
  .vf__meta--tl, .vf__meta--bl { left: 24px; }
  .vf__c { width: 22px; height: 22px; }
  .hero__content { padding: calc(var(--header-h) + 60px) 24px 72px; }
  .hero__title { font-size: clamp(24px, 7.6vw, 44px); }
  .hero__lead { font-size: 16px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1; }
  .hero__scroll { display: none; }
  .hero__aside { right: 24px; top: calc(var(--header-h) + 64px); width: min(46vw, 200px); }
  .why__banner-title { line-height: 1.1; }
  .why__banner-title .line:nth-child(2) > span { -webkit-text-stroke-width: 1.5px; }
  .vfwin { border-radius: 12px; }
  .vfwin-stack i { border-radius: 12px; }
  .vfwin__c { width: 10px; height: 10px; }
  .vfwin__c--tl, .vfwin__c--tr { top: 7px; } .vfwin__c--bl, .vfwin__c--br { bottom: 7px; }
  .vfwin__c--tl, .vfwin__c--bl { left: 7px; } .vfwin__c--tr, .vfwin__c--br { right: 7px; }
  .vfwin__top span:last-child { display: none; }
  .vfwin__top { left: 20px; top: 10px; font-size: 9px; }
  .vfwin__play { left: 10px; bottom: 10px; height: 24px; padding: 0 9px; font-size: 9px; gap: 6px; }
  .fire-scene__silhouette { width: 110vw; left: 58%; top: 18%; opacity: .9; }
  .fs--1, .fs--2 { left: 14%; width: 76%; top: 44%; }
  /* phone: tiles and USP cards become swipeable rows instead of a long stack */
  .bento, .usp {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 4px var(--gutter) 36px; margin-bottom: -18px;
    scroll-padding-left: var(--gutter);
    overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y;
  }
  .bento::-webkit-scrollbar, .usp::-webkit-scrollbar { display: none; }
  .bento .card { flex: 0 0 84%; min-height: 380px; grid-area: auto !important; scroll-snap-align: start; }
  .usp__item { flex: 0 0 80%; min-height: 250px; scroll-snap-align: start; }
  .why__banner-sub { font-size: 17px; padding: 0 8px; }
  .usp { grid-template-columns: 1fr; }
  .svc__item { grid-template-columns: minmax(0, 1fr) 44px; gap: 10px 16px; }
  .svc__num { grid-column: 1; grid-row: 1; }
  .svc__title { grid-column: 1; grid-row: 2; }
  .svc__desc { grid-column: 1; grid-row: 3; }
  .svc__arrow { grid-column: 2; grid-row: 1 / 3; width: 44px; height: 44px; font-size: 16px; }
  .works__grid { --wh: min(70vh, 520px); }
  .works__grid .work:not(.work--vertical) { aspect-ratio: auto; width: 84vw; height: var(--wh); }
  .works__grid .work--vertical { width: 70vw; height: auto; max-height: var(--wh); }
  /* phone: process as a vertical timeline */
  .process { grid-template-columns: 1fr; row-gap: 34px; padding: 4px 0 4px 34px; }
  .process::before { top: 8px; bottom: 8px; left: 7px; right: auto; width: 2px; height: auto; }
  .process__line { display: none; }
  .process__step::before { display: block; top: 3px; left: -34px; width: 16px; height: 16px; }
  .process__step span { font-family: var(--f-display); font-weight: 800; font-size: 13px; letter-spacing: .04em; }
  .process__step h3 { font-size: 24px; }
  .process__step p { font-size: 16px; }
  /* phone: lift the hero copy above Safari's floating bottom bar */
  .vf { bottom: calc(48px + env(safe-area-inset-bottom)); }
  /* phone: banner is a composed block, not an empty picture */
  .why__banner { min-height: 0; padding: 120px 0 110px; }
  .morph .why__streaks, .morph .why__banner::after { -webkit-mask-image: none; mask-image: none; }
  .why__banner::after { background: linear-gradient(180deg, rgba(10,10,10,.15) 0%, transparent 40%, rgba(10,10,10,.55) 100%); }
  .tg-card { gap: 14px; padding: 16px; }
  .tg-card__icon { width: 52px; height: 52px; }
  .tg-card__arrow { display: none; }
  .footer { flex-direction: column; align-items: flex-start; }
  .wordmark { font-size: 30vw; margin-top: 40px; }
  .arrows { display: none; }
  .modal__box { grid-template-columns: 1fr; }
  .modal__player--vertical { height: 62vh; margin: 0 auto; }
  .modal__box:has(.modal__player--vertical) { width: 100%; grid-template-columns: 1fr; }
}

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

/* ---------- Service pages (reklama / vertikalnyj-kontent / imidzhevye-filmy) ---------- */
.svc-page { background: var(--black); color: var(--white); }
.svc-page__main { padding-top: calc(var(--header-h) + clamp(40px, 7vw, 100px)); }
.svc-page .nav__link { white-space: nowrap; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.crumbs a:hover { color: var(--fire); }
.crumbs [aria-current] { color: var(--fire); }
.svc-page__title { margin-top: 22px; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 8vw, 132px); line-height: .92; letter-spacing: -.045em; }
.svc-page__lead { margin-top: 26px; max-width: 760px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: rgba(255,255,255,.75); }
.svc-page__count { margin-top: 22px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.svc-grid { margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 16px; }
.svc-grid--vertical { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.svc-grid .work { height: auto; width: 100%; }
.svc-steps { margin-top: clamp(80px, 10vw, 150px); }
.svc-steps__title, .svc-cta__title { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 4.4vw, 64px); line-height: .95; letter-spacing: -.04em; }
.svc-steps__list { margin-top: clamp(28px, 4vw, 52px); display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.svc-steps__list li { padding: 24px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.12); display: grid; gap: 10px; align-content: start; }
.svc-steps__list span { color: var(--fire); font-size: 13px; }
.svc-steps__list h3 { font-family: var(--f-display); font-weight: 600; font-size: 19px; letter-spacing: -.02em; line-height: 1.15; }
.svc-steps__list p { font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.65); }
.svc-cta { margin-top: clamp(80px, 10vw, 150px); padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 22px; justify-items: start; }
.svc-cta__lead { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.72); }
.svc-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; margin-bottom: clamp(56px, 7vw, 100px); }
.svc-more__card {
  position: relative; display: grid; align-content: end; gap: 8px; min-height: 220px; padding: 24px; border-radius: var(--radius); overflow: hidden;
  background-size: cover; background-position: center; isolation: isolate;
}
.svc-more__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.78)); transition: background var(--t-med); }
.svc-more__card span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.svc-more__card strong { font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -.03em; line-height: 1.05; }
.svc-more__card:hover::before { background: linear-gradient(180deg, rgba(255,74,28,.25), rgba(0,0,0,.8)); }
@media (max-width: 960px) { .svc-page .nav { display: none; } }
@media (max-width: 720px) {
  .svc-page__title { font-size: 7.4vw; }
  .svc-page .header__right .btn { display: inline-flex; }
  .svc-grid--vertical { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .svc-grid--vertical .work__info h3 { font-size: 15px; }
  .svc-grid--vertical .work__info { left: 12px; right: 12px; bottom: 12px; }
  .svc-grid--vertical .work__idx { display: none; }
}
.contact__mail { display: inline-block; margin-top: 14px; font-size: 13px; letter-spacing: .06em; color: rgba(255,255,255,.6); transition: color var(--t-fast); }
.contact__mail:hover, .footer__mail:hover { color: var(--fire); }
.footer__mail { color: inherit; }

/* ---------- Project pages ---------- */
.work__info h3 a { color: inherit; }
.modal__more { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.65); transition: color var(--t-fast); }
.modal__more:hover { color: var(--fire); }
.modal__more[href="#"] { display: none; }
.case__title { margin-top: 22px; max-width: 1100px; font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 4.6vw, 72px); line-height: 1; letter-spacing: -.04em; }
.case { margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 3vw, 48px); align-items: start; }
.case__player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.case__player--vertical { aspect-ratio: 9 / 16; width: min(100%, 460px); justify-self: center; }
.case__player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.case__info { display: grid; gap: 14px; justify-items: start; }
.case__h { font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.case__h:not(:first-child) { margin-top: 12px; }
.case__h--more { margin: clamp(20px, 3vw, 40px) 0 20px; font-size: clamp(24px, 2.6vw, 38px); }
.case__text { font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.78); }
.case__result { font-family: var(--f-display); font-weight: 600; color: var(--fire); font-size: 18px; }
.case__list { display: grid; gap: 8px; margin-bottom: 10px; }
.case__list li { position: relative; padding-left: 22px; color: rgba(255,255,255,.75); }
.case__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--fire); }
@media (max-width: 960px) { .case { grid-template-columns: 1fr; } }

/* ---------- Phone swipe rows: a progress line under each row ---------- */
.swipe-bar { position: relative; height: 2px; margin-top: 8px; background: var(--line); border-radius: 2px; overflow: hidden; }
.swipe-bar span { position: absolute; top: 0; bottom: 0; left: 0; width: 30%; background: var(--fire); border-radius: 2px; transition: width .2s; }
.swipe-bar--strip { margin: 0 var(--gutter) clamp(40px, 7vw, 100px); }
@media (max-width: 720px) {
  /* backstage: swipe by hand instead of the endless ribbon */
  .strip.is-swipe {
    animation: none; width: auto; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding: 0 var(--gutter); scroll-padding-left: var(--gutter); margin-bottom: 0;
  }
  .strip.is-swipe::-webkit-scrollbar { display: none; }
  .strip.is-swipe .shot { height: 300px; scroll-snap-align: start; }
  .strip.is-swipe .shot--wide { aspect-ratio: 4 / 3; }
  /* «досматривают / пересылают / покупают» fits the screen */
  .ticker__row--sub .ticker__track { font-size: 11px; letter-spacing: .12em; gap: 1em; }
}

/* ---------- Footer: three tidy columns ---------- */
.footer { display: block; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px 40px; padding-bottom: 26px; }
.footer__col { display: grid; gap: 10px; align-content: start; justify-items: start; }
.footer__h { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.42); margin-bottom: 4px; }
.footer__col a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--t-med) var(--ease-out), color var(--t-fast); }
.footer__col a:hover { background-size: 100% 1px; color: var(--fire); }
.footer__col p { color: rgba(255,255,255,.6); }
.footer__end { justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
@media (max-width: 720px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__col--contacts { grid-column: 1 / -1; }
  .footer__col--contacts a:first-of-type { font-family: var(--f-display); font-weight: 600; font-size: 20px; }
}

/* ---------- Phone hero: showreel window + copy as one group, centred in the visible screen ----------
   Safari's bottom bar floats over the page (Yandex/Chrome shrink the page instead), so the group keeps
   a fixed gap above the bottom edge and is centred in what is left — same look in every browser. */
@media (max-width: 720px) {
  .hero {
    min-height: 100vh; min-height: 100svh;
    justify-content: center;
    padding: calc(var(--header-h) + 52px) 0 calc(108px + env(safe-area-inset-bottom));
  }
  .hero__aside {
    position: relative; z-index: 3; order: -1; top: auto; right: auto;
    align-self: flex-end; margin: 0 24px 28px 0; width: min(46vw, 200px);
  }
  .hero__content { padding: 0 24px; }
  .vf { bottom: calc(56px + env(safe-area-inset-bottom)); }
}
@media (max-width: 720px) and (max-height: 700px) {
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero__aside { width: min(38vw, 160px); margin-bottom: 20px; }
}
