/* =========================================================
   Егор Ильичев — портфолио видеомонтажёра
   ========================================================= */

/* ---------- Шрифты ---------- */
@font-face { font-family: "Unbounded"; font-weight: 500; font-display: swap; src: url(../fonts/unbounded-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Unbounded"; font-weight: 500; font-display: swap; src: url(../fonts/unbounded-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2190-21FF,U+2212,U+2215,U+FEFF; }
@font-face { font-family: "Unbounded"; font-weight: 700; font-display: swap; src: url(../fonts/unbounded-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Unbounded"; font-weight: 700; font-display: swap; src: url(../fonts/unbounded-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2190-21FF,U+2212,U+2215,U+FEFF; }
@font-face { font-family: "Unbounded"; font-weight: 900; font-display: swap; src: url(../fonts/unbounded-cyrillic-900-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Unbounded"; font-weight: 900; font-display: swap; src: url(../fonts/unbounded-latin-900-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2190-21FF,U+2212,U+2215,U+FEFF; }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url(../fonts/manrope-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url(../fonts/manrope-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2190-21FF,U+2212,U+2215,U+FEFF; }
@font-face { font-family: "Manrope"; font-weight: 500; font-display: swap; src: url(../fonts/manrope-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Manrope"; font-weight: 500; font-display: swap; src: url(../fonts/manrope-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2190-21FF,U+2212,U+2215,U+FEFF; }
@font-face { font-family: "Manrope"; font-weight: 700; font-display: swap; src: url(../fonts/manrope-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Manrope"; font-weight: 700; font-display: swap; src: url(../fonts/manrope-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2190-21FF,U+2212,U+2215,U+FEFF; }

/* ---------- Переменные ---------- */
:root {
  --bg: #0a0a0b;
  --bg-2: #121214;
  --card: #17171a;
  --line: rgba(255, 255, 255, .09);
  --text: #f3f1ed;
  --muted: #8d8c93;
  --red: #ff2a3c;
  --red-deep: #d5122a;
  --red-btn: #e8132f;
  --display: "Unbounded", "Arial Black", sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(18px, 4.2vw, 64px);
  --radius: clamp(18px, 2vw, 28px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  color: var(--text);
  font-family: var(--body); font-size: clamp(15px, 1.05vw, 17px); line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--red); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 5.4vw, 84px); text-transform: uppercase; }
h2 em, h1 em { font-style: normal; color: var(--red); }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

section { position: relative; }

.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  margin-bottom: clamp(16px, 2vw, 28px);
}
.label span {
  font-family: var(--display); color: var(--red); font-size: 11px;
  border: 1px solid rgba(255, 42, 60, .45); border-radius: 999px; padding: 4px 9px;
}
.label--light { color: rgba(255,255,255,.8); }
.label--light span { color: #fff; border-color: rgba(255,255,255,.5); }

.section-head { padding: 0 var(--pad); margin-bottom: clamp(32px, 5vw, 72px); max-width: 1100px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }

.rec-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 12px var(--red); animation: rec 1.4s steps(1) infinite; vertical-align: middle;
}
@keyframes rec { 50% { opacity: .15; } }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
  will-change: transform;
}
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--red { background: var(--red-btn); color: #fff; box-shadow: 0 10px 40px -10px rgba(255, 42, 60, .7); }
.btn--red:hover { background: #f5223c; }
.btn--ghost { border: 1px solid rgba(255,255,255,.25); color: var(--text); background: rgba(255,255,255,.03); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: #fff; background: #fff; color: #000; }
.btn__arrow { transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translate(3px, -3px); }

/* ---------- Фоновые линии: тонкая сетка, по ней скользят блики при прокрутке ---------- */
.bg-lines {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  display: flex; justify-content: space-between; padding: 0 var(--pad);
  -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
}
.bg-lines i { position: relative; width: 1px; height: 100%; background: rgba(255,255,255,.04); overflow: hidden; }
.bg-lines b {
  position: absolute; left: 0; top: 0; width: 1px; height: 20vh; opacity: 0; will-change: transform; transition: opacity 1.2s;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.36), transparent);
}
.bg-lines i:nth-child(4) b { background: linear-gradient(to bottom, transparent, rgba(255,42,60,.6), transparent); }
.bg-lines.is-live b { opacity: 1; }
@media (max-width: 900px) { .bg-lines i:nth-child(2), .bg-lines i:nth-child(5) { display: none; } }

/* ---------- Зерно плёнки ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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; will-change: transform;
}
@media (max-width: 900px) { .grain { display: none; } .hero__aura { filter: blur(30px); } }
@keyframes grain {
  0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-5%, 3%); } 40% { transform: translate(4%, -6%); }
  60% { transform: translate(-3%, 5%); } 80% { transform: translate(6%, 2%); }
}

/* ---------- Прелоадер ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: #050505;
  display: flex; flex-direction: column; justify-content: space-between; padding: var(--pad);
  font-family: var(--display);
}
.loader__top, .loader__bottom { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.loader__tc { font-size: clamp(44px, 11vw, 170px); font-weight: 900; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.loader__tc small { font-size: .4em; color: var(--red); margin-left: .1em; }
.no-js .loader, .reduced .loader { display: none; }

/* ---------- Курсор ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: #fff; mix-blend-mode: difference; display: none;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s;
}
.cursor__label { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; opacity: 0; transition: opacity .2s; }
.cursor.is-play { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--red); mix-blend-mode: normal; }
.cursor.is-play .cursor__label { opacity: 1; }
.cursor.is-link { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }

/* ---------- Навигация ---------- */
.nav {
  position: fixed; z-index: 100; top: 16px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 18px;
  background: rgba(18, 18, 20, .72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--line); border-radius: 999px; width: max-content; max-width: calc(100vw - 24px);
  transition: transform .5s var(--ease);
}
.nav.is-hidden { transform: translate(-50%, -140%); }
.nav__brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 14px; margin-right: 14px; white-space: nowrap; }
.nav__links { display: flex; }
.nav__links a { padding: 9px 14px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.75); border-radius: 999px; transition: color .25s, background .25s; }
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav__cta { margin-left: 6px; }
.nav__burger { display: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease); }
.nav__burger span:first-child { top: 16px; } .nav__burger span:last-child { top: 22px; }
.menu-open .nav__burger span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: translateY(-3px) rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 99; background: rgba(8,8,9,.97);
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 100px var(--pad) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease); visibility: hidden;
}
.menu a:not(.btn) { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 10vw, 56px); text-transform: uppercase; line-height: 1.2; }
.menu .btn { margin-top: 28px; align-self: flex-start; }
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }

/* =========================================================
   HERO — аватар между слоями заголовка
   ========================================================= */
.hero { position: relative; }
.hero__stage { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; }
.hero__stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; z-index: 2; pointer-events: none; background: linear-gradient(transparent, var(--bg) 92%); }
.hero__glow {
  position: absolute; z-index: 0; left: 50%; bottom: -18%; width: min(120vw, 1400px); aspect-ratio: 1; transform: translateX(-50%);
  background: radial-gradient(circle at 50% 50%, rgba(255,42,60,.34) 0%, rgba(255,42,60,.12) 32%, transparent 62%);
  pointer-events: none; animation: glow 6s ease-in-out infinite; will-change: transform;
}
@keyframes glow { 50% { scale: 1.07; } }

.hero__eyebrow {
  position: absolute; z-index: 4; top: clamp(86px, 12vh, 120px); left: 0; right: 0; text-align: center;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75);
  display: flex; justify-content: center; align-items: center; gap: 10px;
}

/* Фигура: высота задаёт всё — аватар, строки заголовка и плашки */
.hero__figure { --H: min(74svh, 800px, calc(62vw * 1.095)); position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: var(--H); }
.hero__title { position: absolute; inset: 0; pointer-events: none; font-weight: 900; text-transform: uppercase; letter-spacing: -.035em; line-height: .86; }
.hero__line { position: absolute; left: 0; right: 0; display: block; overflow: hidden; padding: .04em 0; font-size: clamp(40px, 11.3vw, 220px); white-space: nowrap; text-align: center; }
.hero__line > span { display: block; }
.hero__line--1 { z-index: 1; top: 6%; }
.hero__line--2 { z-index: 3; top: 54%; color: var(--red); }
.hero__avatar { position: absolute; z-index: 2; left: 50%; bottom: 0; height: var(--AH, 114%); aspect-ratio: 1086 / 1448; translate: -50% 0; will-change: transform; }
.hero__avatar img { position: relative; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 22px rgba(255, 60, 80, .26)); }
/* Иконки программ над поднятым пальцем: карусель на орбите вокруг кончика пальца (крутит main.js) */
.hero__ae { --s: max(42px, calc(var(--H) * .11)); --c: #9999ff; position: absolute; z-index: 3; left: 79.6%; top: 34.6%;
  width: var(--s); height: var(--s); margin: calc(var(--s) * -1 - 8px) 0 0 calc(var(--s) / -2); transform-origin: 50% 100%; }
.hero__ae-in { position: absolute; inset: 0; animation: aeBob 3.2s ease-in-out infinite; }
.hero__ic { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 24%;
  --bg: #00005b; --fg: #9999ff; --gl: rgba(153,153,255,.45);
  background: var(--bg); border: max(2px, calc(var(--s) * .035)) solid var(--fg); color: var(--fg);
  font-family: var(--body); font-weight: 700; font-size: calc(var(--s) * .44); letter-spacing: -.02em;
  box-shadow: 0 0 calc(var(--s) * .6) var(--gl), 0 calc(var(--s) * .25) calc(var(--s) * .5) rgba(0,0,0,.55);
  opacity: 0; will-change: transform, opacity; }
.hero__ic--ae { opacity: 1; z-index: 20; }
.hero__ic--pr { --bg: #2a0634; --fg: #ea77ff; --gl: rgba(234,119,255,.45); }
.hero__ic--ps { --bg: #001e36; --fg: #31a8ff; --gl: rgba(49,168,255,.45); }
.hero__ic--ai { --bg: #e8132f; --fg: #fff; --gl: rgba(255,42,60,.6); border-color: #ff8a96; font-size: calc(var(--s) * .5); }
/* сама орбита — тонкий эллипс; передняя иконка стоит на его нижней точке */
.hero__orbit { position: absolute; z-index: 10; left: 50%; top: calc(50% - var(--s) * .3); width: calc(var(--s) * 2.4); height: calc(var(--s) * .72);
  translate: -50% -50%; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); opacity: 0;
  -webkit-mask: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); mask: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); }
.hero__ae-ring { position: absolute; z-index: 21; inset: -6px; border-radius: 30%; border: 1.5px solid var(--c); opacity: 0; pointer-events: none; }
@keyframes aeBob { 50% { translate: 0 -7px; rotate: -4deg; } }

/* Аура: вращающееся мягкое свечение за аватаром */
.hero__aura {
  position: absolute; z-index: -1; left: 50%; top: 40%; width: 82%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255,42,60,0) 0deg, rgba(255,42,60,.6) 70deg, rgba(255,150,100,.35) 120deg, rgba(255,42,60,0) 190deg, rgba(255,42,60,.45) 280deg, rgba(255,42,60,0) 360deg);
  filter: blur(46px); opacity: .85; animation: spin 16s linear infinite; pointer-events: none; will-change: transform;
}
@keyframes spin { to { rotate: 360deg; } }

/* Плавающие плашки вокруг аватара */
.hero__float {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 7px; border-radius: 999px; white-space: nowrap;
  background: rgba(24, 24, 28, .88);
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 14px 36px -12px rgba(0,0,0,.7);
  font-size: 13px; font-weight: 700; animation: floaty 5s ease-in-out infinite; will-change: transform;
}
.hero__float b { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-family: var(--display); font-size: 11px; background: #1e1e24; color: var(--red); border: 1px solid rgba(255,42,60,.35); }
.hero__float--1 { left: max(10px, calc(50% - var(--H) * .6)); top: 33%; }
.hero__float--2 { left: max(10px, calc(50% - var(--H) * .68)); top: 45%; animation-delay: -1.6s; }
.hero__float--3 { right: max(10px, calc(50% - var(--H) * .66)); top: 46%; padding: 10px 17px; background: var(--red-btn); border-color: transparent; animation-delay: -2.4s; }
@keyframes floaty { 50% { translate: 0 -10px; } }

.hero__bottom {
  position: absolute; z-index: 4; left: var(--pad); right: var(--pad); bottom: clamp(24px, 5vh, 48px);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; pointer-events: none;
}
.hero__bottom > * { pointer-events: auto; }
.hero__lead { max-width: 330px; color: rgba(255,255,255,.72); font-size: clamp(14px, 1.05vw, 16px); }
.hero__lead strong { display: block; color: #fff; font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: clamp(15px, 1.3vw, 20px); letter-spacing: -.01em; margin-bottom: 8px; }
.hero__ctas { display: flex; gap: 10px; flex-direction: column; align-items: stretch; }
.hero__scroll {
  position: absolute; z-index: 4; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.hero__scroll em { font-style: normal; }
[data-hero-tc] { display: inline-block; min-width: 9.6ch; }
.hero__scroll span { width: 1px; height: 34px; background: linear-gradient(var(--red), transparent); animation: scrollLine 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* =========================================================
   ЛЕНТЫ
   ========================================================= */
.tapes { padding: clamp(60px, 9vw, 140px) 0; overflow: hidden; }
.tape { white-space: nowrap; overflow: hidden; padding: clamp(14px, 1.6vw, 22px) 0; }
.tape--red { background: var(--red); transform: rotate(-3deg) scale(1.08); position: relative; z-index: 2; box-shadow: 0 20px 60px -20px rgba(255,42,60,.6); }
.tape--dark { background: #f3f1ed; color: #0a0a0b; transform: rotate(2deg) scale(1.08); margin-top: -10px; }
.tape__track { display: inline-flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); will-change: transform; }
.tape__track span { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(26px, 4.6vw, 72px); letter-spacing: -.02em; line-height: 1; }
.tape__track i { font-style: normal; font-size: clamp(16px, 2.4vw, 36px); }
.tape--dark .tape__track i { color: var(--red); }

/* =========================================================
   МАНИФЕСТ
   ========================================================= */
.manifest { padding: clamp(40px, 8vw, 120px) var(--pad) clamp(80px, 12vw, 180px); max-width: 1400px; margin: 0 auto; }
.manifest__text { font-family: var(--display); font-weight: 500; font-size: clamp(26px, 4.3vw, 66px); line-height: 1.12; letter-spacing: -.02em; }
.manifest__text .w { opacity: .2; transition: none; }
.manifest__text .w.hl { color: var(--red); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: clamp(56px, 8vw, 110px); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg); padding: clamp(22px, 3vw, 40px); display: grid; grid-template-columns: auto 1fr; align-items: baseline; }
.stat b { font-family: var(--display); font-weight: 900; font-size: clamp(54px, 7vw, 110px); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat i { font-style: normal; font-family: var(--display); font-weight: 900; color: var(--red); font-size: clamp(34px, 4vw, 64px); }
.stat span { grid-column: 1 / -1; color: var(--muted); margin-top: 14px; max-width: 260px; }

/* =========================================================
   ПРОЛЁТ
   ========================================================= */
.fly { height: 300vh; }
.fly__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; perspective: 1000px; }
.fly__word { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; z-index: 1; padding: 0 var(--pad); }
.fly__word h2 { font-size: clamp(64px, 17vw, 300px); font-weight: 900; letter-spacing: -.05em; line-height: .85; color: rgba(255,255,255,.08); -webkit-text-stroke: 1px rgba(255,255,255,.22); }
.fly__sub { margin-top: 22px; color: var(--muted); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.fly__items { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.fly__item {
  position: absolute; left: 50%; top: 50%; border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); opacity: 0; will-change: transform, opacity;
  background: #111;
}
.fly__item img { width: 100%; height: 100%; object-fit: cover; }
.fly__item--v { width: clamp(110px, 13vw, 220px); aspect-ratio: 9 / 16; }
.fly__item--h { width: clamp(170px, 22vw, 380px); aspect-ratio: 16 / 9; }

/* =========================================================
   ВЕРТИКАЛЬНЫЕ
   ========================================================= */
.vert { padding: clamp(40px, 6vw, 80px) 0; }
.vert__pin { overflow: hidden; }
.vert__track { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 32px); padding: 0 var(--pad); width: max-content; will-change: transform; }
.vert__intro { width: clamp(280px, 28vw, 420px); flex: none; padding-right: 20px; }
.vert__intro h2 { font-size: clamp(42px, 5.6vw, 92px); margin-bottom: 22px; }
.vert__intro .muted { max-width: 320px; }
.vert__hint { margin-top: 28px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.vert__hint span { color: var(--red); display: inline-block; animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.vert__cards { display: flex; gap: clamp(18px, 2.4vw, 32px); }

/* Карточка работы */
.work { position: relative; flex: none; cursor: pointer; text-align: left; display: block; width: 100%; }
.work__media { position: relative; overflow: hidden; border-radius: var(--radius); background: #111; transform: translateZ(0); }
.work__media img, .work__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .5s; }
.work__media video { opacity: 0; }
.work__media.is-playing video { opacity: 1; }
.work:hover .work__media img, .work:hover .work__media video { transform: scale(1.06); }
.work__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, transparent 25%, transparent 60%, rgba(0,0,0,.65) 100%); pointer-events: none; }
.work__badge { position: absolute; z-index: 2; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; font-family: var(--display); font-size: 11px; letter-spacing: .08em; }
.work__badge span { background: rgba(0,0,0,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 6px 10px; border-radius: 999px; }
.work__play {
  position: absolute; z-index: 2; right: 14px; bottom: 14px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--red); display: grid; place-items: center; transform: scale(.85); transition: transform .4s var(--ease);
}
.work__play svg { width: 16px; height: 16px; margin-left: 3px; fill: #fff; }
.work:hover .work__play { transform: scale(1); }
.work__info { padding: 16px 4px 0; }
.work__title { font-family: var(--display); font-weight: 700; font-size: clamp(16px, 1.3vw, 20px); text-transform: uppercase; letter-spacing: -.01em; line-height: 1.15; }
.work__tags { color: var(--muted); font-size: 14px; margin-top: 6px; }
.work--v { width: clamp(220px, 21vw, 320px); }
.work--v .work__media { aspect-ratio: 9 / 16; }
.work--h .work__media { aspect-ratio: 16 / 9; }

/* =========================================================
   ГОРИЗОНТАЛЬНЫЕ
   ========================================================= */
.horiz { padding: clamp(80px, 10vw, 160px) 0 clamp(60px, 8vw, 120px); }
.horiz__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 3vw, 48px) clamp(18px, 2.4vw, 32px); padding: 0 var(--pad); }
.horiz__grid .work:nth-child(even) { margin-top: clamp(0px, 8vw, 140px); }
.horiz__more { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin: clamp(48px, 7vw, 100px) var(--pad) 0; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); }
.horiz__more p { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(16px, 1.8vw, 26px); }

/* =========================================================
   УСЛУГИ — стопка карточек
   ========================================================= */
.services { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 90px); padding: clamp(80px, 10vw, 160px) var(--pad); max-width: 1500px; margin: 0 auto; }
.services__aside { position: sticky; top: 120px; align-self: start; }
.services__aside h2 { margin-bottom: 22px; }
.services__cards { display: flex; flex-direction: column; gap: 22px; }
.svc {
  position: sticky; top: calc(110px + var(--i, 0) * 22px);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 44px); min-height: clamp(260px, 26vw, 340px);
  display: flex; flex-direction: column; transform-origin: center top; will-change: transform;
  box-shadow: 0 -20px 50px -20px rgba(0,0,0,.8);
}
.svc--red { background: linear-gradient(140deg, var(--red) 0%, var(--red-deep) 100%); border-color: transparent; }
.svc__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; }
.svc__num { font-family: var(--display); font-size: 13px; color: var(--muted); }
.svc--red .svc__num { color: rgba(255,255,255,.75); }
.svc__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.svc h3 { font-size: clamp(30px, 3.6vw, 56px); text-transform: uppercase; margin: 36px 0 12px; }
.svc p { color: rgba(255,255,255,.7); max-width: 460px; }
.svc--red p { color: rgba(255,255,255,.92); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags li { font-size: 13px; padding: 6px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; }

/* =========================================================
   ФИЗИКА
   ========================================================= */
.drop { padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 6vw, 80px); }
.drop__box {
  position: relative; height: clamp(440px, 62vh, 640px); margin: 0 var(--pad); overflow: hidden;
  border-radius: var(--radius); background: radial-gradient(ellipse at 50% 120%, rgba(255,42,60,.28), transparent 60%), var(--bg-2);
  border: 1px solid var(--line); touch-action: pan-y;
}
.chip {
  position: absolute; left: 0; top: 0; padding: clamp(12px, 1.3vw, 18px) clamp(18px, 2vw, 30px);
  border-radius: 999px; font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(13px, 1.5vw, 22px); white-space: nowrap; background: #26262c; color: #fff;
  user-select: none; -webkit-user-select: none; will-change: transform; cursor: grab;
}
.chip:active { cursor: grabbing; }
.chip--red { background: var(--red); }
.chip--light { background: #f3f1ed; color: #0a0a0b; }
.chip--outline { background: var(--bg); border: 1.5px solid rgba(255,255,255,.35); }
/* Без JS плашки просто лежат в ряд */
.drop__box:not(.is-live) { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-end; padding: 20px; }
.drop__box:not(.is-live) .chip { position: static; }
.drop__hint { margin-top: 14px; font-size: 14px; }
/* Монтажная лента под плашками */
.tl { position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; pointer-events: none; font-family: var(--display); }
.tl__head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.tl__head > span:first-child { display: flex; gap: 8px; align-items: center; }
.tl__ruler { position: relative; height: 26px; margin-left: 48px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding-right: 8px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 1px, transparent 1px 2%) bottom / 100% 7px no-repeat; }
.tl__ruler span { font-size: 9px; color: rgba(255,255,255,.4); padding: 4px 0 0 4px; }
.tl__tracks { position: relative; flex: 1; display: flex; flex-direction: column; }
.tl__track { flex: 1; display: flex; border-bottom: 1px solid rgba(255,255,255,.05); min-height: 0; }
.tl__track > b { width: 48px; flex: none; display: grid; place-items: center; font-size: 10px; color: rgba(255,255,255,.45); background: rgba(255,255,255,.025); border-right: 1px solid var(--line); }
.tl__lane { position: relative; flex: 1; margin: 6px 8px 6px 0; }
.clip { position: absolute; top: 0; bottom: 0; border-radius: 6px; overflow: hidden; font-style: normal; font-size: 10px; padding: 5px 8px; letter-spacing: .06em; text-transform: uppercase; opacity: .78; }
.clip--fx { background: linear-gradient(180deg, rgba(255,42,60,.55), rgba(255,42,60,.3)); border: 1px solid rgba(255,42,60,.7); color: #fff; }
.clip--v { background-color: #2a2540; background-repeat: repeat-x; background-size: auto 100%; border: 1px solid rgba(160,140,255,.55); box-shadow: inset 0 3px 0 rgba(160,140,255,.8); }
.clip--a { background: rgba(46, 204, 113, .16); border: 1px solid rgba(46, 204, 113, .5); }
.clip--m { background: rgba(26, 188, 156, .12); border: 1px solid rgba(26, 188, 156, .4); }
.clip svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tl__playhead { position: absolute; z-index: 1; top: 38px; bottom: 0; left: 48px; width: 2px; background: var(--red); box-shadow: 0 0 14px var(--red); will-change: transform; }
.tl__playhead::before { content: ""; position: absolute; top: 0; left: -6px; width: 14px; height: 12px; background: var(--red); clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }
.tl__playhead span { position: absolute; top: -2px; left: 10px; font-size: 10px; color: #fff; background: var(--red-btn); padding: 2px 6px; border-radius: 4px; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .tl__track > b { width: 30px; font-size: 8px; } .tl__ruler { margin-left: 30px; } .tl__playhead { left: 30px; }
  .tl__ruler span:nth-child(even) { visibility: hidden; } .clip { font-size: 8px; padding: 3px 5px; }
  .tl__head { font-size: 8px; padding: 10px 12px; }
}
@media (hover: none) { .drop__hint { display: none; } }

/* =========================================================
   ОБО МНЕ
   ========================================================= */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 110px); padding: clamp(80px, 10vw, 160px) var(--pad); max-width: 1500px; margin: 0 auto; }
.about__photo { position: sticky; top: 0; align-self: start; height: 100svh; display: flex; align-items: center; justify-content: center; }
.about__photo .photo-card { width: min(100%, calc((100svh - 150px) * .8)); }
.photo-card {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(ellipse at 50% 36%, #ff6170 0%, #f3223b 30%, #b00c23 68%, #4d0410 100%);
  box-shadow: 0 40px 100px -30px rgba(255, 42, 60, .55); will-change: transform;
}
.photo-card img.photo-card__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.photo-card__avatar { position: absolute; z-index: 1; left: 50%; bottom: 0; width: 98%; height: auto; translate: -50% 0; filter: drop-shadow(0 0 16px rgba(255,240,230,.35)) drop-shadow(0 24px 40px rgba(0,0,0,.4)); will-change: transform; }
.photo-card__aura {
  position: absolute; z-index: 0; left: 50%; top: 38%; width: 92%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,236,224,.62) 0%, rgba(255,190,170,.22) 38%, transparent 66%);
  animation: auraPulse 5s ease-in-out infinite; pointer-events: none; will-change: transform;
}
@keyframes auraPulse { 50% { opacity: .65; scale: 1.08; } }
.photo-card__rays {
  position: absolute; z-index: 0; left: 50%; top: 38%; width: 170%; aspect-ratio: 1; translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.10) 0deg 4deg, transparent 4deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 0%, transparent 60%); mask: radial-gradient(circle, #000 0%, transparent 60%);
  animation: spin 60s linear infinite; pointer-events: none; will-change: transform;
}
.photo-card__frame { position: absolute; inset: 16px; z-index: 2; pointer-events: none; }
.photo-card__frame i { position: absolute; width: 28px; height: 28px; border: 2px solid rgba(255,255,255,.9); }
.photo-card__frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.photo-card__frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.photo-card__frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.photo-card__frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }
.photo-card__meta { position: absolute; z-index: 2; left: 34px; right: 34px; bottom: 28px; display: flex; justify-content: space-between; font-family: var(--display); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.9); text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.photo-card__mono { position: absolute; inset: 0; display: grid; place-items: start center; padding-top: 9%; font-family: var(--display); font-weight: 900; font-size: clamp(110px, 16vw, 260px); letter-spacing: -.06em; color: rgba(0,0,0,.18); }
.photo-card__hud { position: absolute; z-index: 2; left: 34px; right: 34px; top: 30px; font-variant-numeric: tabular-nums; display: flex; justify-content: space-between; font-family: var(--display); font-size: 11px; letter-spacing: .1em; }
.photo-card__hud > span:first-child { display: flex; gap: 8px; align-items: center; }
.photo-card__hud .rec-dot { background: #fff; box-shadow: 0 0 10px #fff; }
.about__body h2 { margin-bottom: 26px; }
.about__lead { font-size: clamp(17px, 1.5vw, 22px); color: rgba(255,255,255,.82); max-width: 640px; }
.timeline { position: relative; margin-top: clamp(48px, 6vw, 80px); padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline::after { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--red); transform-origin: top; transform: scaleY(var(--p, 0)); box-shadow: 0 0 12px var(--red); }
.reduced .timeline::after { --p: 1; }
.timeline__item { position: relative; padding-bottom: clamp(30px, 3.6vw, 48px); }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before { content: ""; position: absolute; left: -34px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid rgba(255,255,255,.3); transition: border-color .4s, background .4s, box-shadow .4s; }
.timeline__item.is-on::before { border-color: var(--red); background: var(--red); box-shadow: 0 0 14px var(--red); }
.timeline__date { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.timeline__item h3 { font-size: clamp(20px, 2vw, 30px); text-transform: uppercase; margin: 8px 0 8px; }
.timeline__item p { color: var(--muted); max-width: 520px; }

/* =========================================================
   ПРОЦЕСС
   ========================================================= */
.process { padding: clamp(60px, 8vw, 120px) 0; }
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 0 var(--pad); }
.step { position: relative; padding: clamp(22px, 2.4vw, 34px); border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); min-height: 260px; display: flex; flex-direction: column; overflow: hidden; transition: border-color .4s, transform .5s var(--ease); }
.step:hover { border-color: rgba(255,42,60,.5); transform: translateY(-6px); }
.step__num { font-family: var(--display); font-weight: 900; font-size: clamp(56px, 6vw, 96px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.25); margin-bottom: auto; }
.step:hover .step__num { -webkit-text-stroke-color: var(--red); }
.step h3 { font-size: clamp(18px, 1.6vw, 24px); text-transform: uppercase; margin: 30px 0 10px; }
.step p { color: var(--muted); font-size: 15px; }

/* =========================================================
   ОТЗЫВЫ
   ========================================================= */
.reviews { padding: clamp(60px, 8vw, 120px) 0; }
.reviews__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0 var(--pad); }
.review { position: relative; padding: clamp(28px, 4vw, 60px); border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); min-height: clamp(260px, 26vw, 380px); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.review--red { background: linear-gradient(140deg, var(--red), var(--red-deep)); border-color: transparent; }
.review__q { font-family: var(--display); font-weight: 900; font-size: clamp(90px, 10vw, 160px); line-height: .7; color: var(--red); height: .55em; }
.review--red .review__q { color: rgba(0,0,0,.25); }
.review blockquote { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.6vw, 40px); line-height: 1.15; letter-spacing: -.02em; margin: 28px 0; }
.review figcaption { font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }

/* ---------- Вопросы (FAQ) ---------- */
.faq { padding: clamp(60px, 8vw, 120px) 0; }
.faq__list { max-width: 1100px; margin: 0 var(--pad); border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(20px, 2.2vw, 30px) 0; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h3 { font-size: clamp(17px, 1.7vw, 26px); font-weight: 500; letter-spacing: -.01em; transition: color .3s; }
.faq__item summary:hover h3 { color: var(--red); }
.faq__icon { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); transition: rotate .45s var(--ease), background .3s, border-color .3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; translate: -50% -50%; }
.faq__icon::after { rotate: 90deg; }
.faq__item[open] .faq__icon { rotate: 45deg; background: var(--red-btn); border-color: var(--red-btn); }
.faq__item::details-content { height: 0; overflow: clip; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
.faq__item[open]::details-content { height: auto; }
.faq__a { padding: 0 64px clamp(22px, 2.4vw, 32px) 0; max-width: 820px; color: var(--muted); font-size: clamp(15px, 1.1vw, 17px); line-height: 1.6; }
.faq__a a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,42,60,.6); text-underline-offset: 3px; }
@media (max-width: 600px) { .faq__icon { width: 32px; height: 32px; } .faq__a { padding-right: 0; } }
.review--red figcaption { color: rgba(255,255,255,.8); }

/* =========================================================
   КОНТАКТЫ
   ========================================================= */
.contact { padding: clamp(40px, 6vw, 80px) var(--pad) clamp(60px, 8vw, 100px); }
.contact__card {
  position: relative; overflow: hidden; border-radius: clamp(24px, 3vw, 40px);
  background: radial-gradient(ellipse at 85% 110%, #ff6a76 0%, transparent 45%), linear-gradient(140deg, var(--red) 0%, var(--red-deep) 70%, #a00a1d 100%);
  padding: clamp(32px, 6vw, 96px); min-height: clamp(460px, 48vw, 640px);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.contact__title { font-size: clamp(36px, 6.6vw, 108px); font-weight: 900; text-transform: uppercase; max-width: 1000px; }
.contact__title em { color: #0a0a0b; }
.contact__lead { margin-top: 20px; max-width: 460px; font-size: clamp(15px, 1.2vw, 18px); color: rgba(255,255,255,.88); }
.contact__big {
  position: absolute; right: clamp(24px, 5vw, 80px); top: clamp(24px, 5vw, 80px);
  width: clamp(130px, 15vw, 220px); aspect-ratio: 1; border-radius: 50%; background: #0a0a0b; color: #fff;
  display: grid; place-items: center; text-align: center; font-family: var(--display); font-weight: 700;
  font-size: clamp(13px, 1.2vw, 18px); text-transform: uppercase; line-height: 1.2; transition: background .3s, color .3s;
}
.contact__big:hover { background: #fff; color: #0a0a0b; }
.contact__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 14px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.contact__list a { background: var(--bg); padding: clamp(18px, 2.4vw, 30px); font-family: var(--display); font-weight: 500; font-size: clamp(14px, 1.2vw, 18px); transition: background .3s; overflow-wrap: anywhere; }
.contact__list a:hover { background: var(--bg-2); }
.contact__list small { display: block; font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }

/* =========================================================
   ФУТЕР
   ========================================================= */
.footer { padding: 0 var(--pad); overflow: hidden; }
.footer__row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer__row nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__row a:hover { color: #fff; }
.footer__name { display: flex; justify-content: space-between; gap: .2em; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 8.3vw; line-height: .82; white-space: nowrap; letter-spacing: -.05em; color: var(--red); padding-bottom: .04em; }
.footer__name span { display: block; }

/* =========================================================
   ПЛЕЕР
   ========================================================= */
.player { position: fixed; inset: 0; z-index: 180; background: rgba(5,5,6,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: grid; place-items: center; padding: 70px 20px 30px; opacity: 0; transition: opacity .35s; }
.player[hidden] { display: none; }
.player.is-open { opacity: 1; }
.player__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; max-width: 1200px; transform: translateY(30px) scale(.97); transition: transform .5s var(--ease); }
.player.is-open .player__inner { transform: none; }
.player__frame { border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 40px 120px -20px rgba(0,0,0,.9); }
.player__video { display: block; max-height: calc(100svh - 190px); max-width: min(100%, 1200px); }
.player--v .player__video { max-height: calc(100svh - 190px); width: auto; }
.player__info { text-align: center; }
.player__title { font-size: clamp(18px, 2vw, 28px); text-transform: uppercase; }
.player__tags { color: var(--muted); margin-top: 4px; }
.player__close, .player__nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid var(--line); font-size: 18px; display: grid; place-items: center; transition: background .3s; z-index: 2; }
.player__close:hover, .player__nav:hover { background: var(--red); }
.player__close { top: 16px; right: 16px; }
.player__nav--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.player__nav--next { right: 20px; top: 50%; transform: translateY(-50%); }

/* =========================================================
   АДАПТИВ
   ========================================================= */
@media (max-width: 1100px) {
  .nav__links a { padding: 9px 10px; }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__list { grid-template-columns: repeat(2, 1fr); }
  .contact__list a:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav { left: 12px; right: 12px; transform: none; width: auto; justify-content: space-between; padding-left: 16px; }
  .nav.is-hidden { transform: translateY(-140%); }
  .nav__links { display: none; }
  .nav__brand { margin-right: auto; }
  .nav__burger { display: block; }

  .hero__line { font-size: 11.3vw; }
  .hero__eyebrow { font-size: 10px; top: 92px; letter-spacing: .12em; }
  .hero__figure { --H: min(calc(86vw * 1.095), 60svh); bottom: 178px; }
  .hero__stage::after { display: none; }
  .hero__float { font-size: 11px; padding: 5px 11px 5px 5px; }
  .hero__float b { width: 24px; height: 24px; font-size: 9px; border-radius: 7px; }
  .hero__float--2 { display: none; }
  .hero__avatar { --AH: 106%; }
  .hero__float--1 { top: 36%; }
  .hero__float--3 { top: 40%; padding: 8px 12px; }
  .hero__bottom { flex-direction: column; align-items: stretch; text-align: center; gap: 16px; }
  .hero__lead { max-width: none; margin: 0 auto; font-size: 14px; }
  .hero__lead strong { font-size: 15px; }
  .hero__ctas { flex-direction: row; justify-content: center; flex-wrap: nowrap; }
  .hero__ctas .btn { flex: 1; height: 50px; padding: 0 16px; font-size: 14px; }
  .hero__scroll { display: none; }

  .stats { grid-template-columns: 1fr; }
  .stat span { max-width: none; }

  .fly { height: 240vh; }

  /* Вертикальные — свайп вместо закреплённой прокрутки */
  .vert__pin { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-padding-inline: var(--pad); }
  .vert__pin::-webkit-scrollbar { display: none; }
  .vert__track { transform: none !important; align-items: stretch; }
  .vert__intro { width: 78vw; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: center; }
  .work--v { width: 64vw; max-width: 300px; scroll-snap-align: center; }
  .vert__track::after { content: ""; flex: none; width: 1px; }

  .horiz__grid { grid-template-columns: 1fr; }
  .horiz__grid .work:nth-child(even) { margin-top: 0; }

  .services { grid-template-columns: 1fr; }
  .services__aside { position: static; }
  .svc { top: calc(84px + var(--i, 0) * 14px); min-height: 280px; }

  .about { grid-template-columns: 1fr; }
  .about__photo { position: static; max-width: 420px; height: auto; display: block; }
  .about__photo .photo-card { width: 100%; }

  .reviews__grid { grid-template-columns: 1fr; }

  .contact__card { padding-top: 190px; }
  .contact__big { width: 130px; }

  .player { padding: 70px 10px 20px; }
  .player__nav { top: auto; bottom: 18px; transform: none; width: 46px; height: 46px; }
  .player__nav--prev { left: calc(50% - 56px); }
  .player__nav--next { right: calc(50% - 56px); }
  .player__inner { margin-bottom: 60px; }
  .player__video, .player--v .player__video { max-height: calc(100svh - 230px); }
  .player:not(.player--v) .player__frame, .player:not(.player--v) .player__video { width: 100%; }
}

@media (max-width: 560px) {
  .process__grid { grid-template-columns: 1fr; }
  .step { min-height: 200px; }
  .contact__list { grid-template-columns: 1fr; }
  .nav__cta { display: none; }
  .footer__name { flex-direction: column; font-size: 13.2vw; }
  .footer__name span:last-child { align-self: flex-end; }
}

/* Пользователи, которые просят меньше анимации */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { display: none; }
}
.reduced .fly { height: auto; }
.reduced .fly__stage { position: relative; height: auto; padding: 120px 0; }
.reduced .fly__word { position: relative; }
.reduced .fly__items { display: none; }
.reduced .manifest__text .w { opacity: 1; }
