/* ─── Viral Production · screens system · Liquid Gold upgrade ──────
   5 экранов со scroll-snap, live-лента, команда, плеер.
   Palette (по промту): графит/почти чёрный фон, жемчужно-белый текст,
   глубокое золото + мягкий электрический фиолетовый в движении.
   ─────────────────────────────────────────────────────────────── */

:root {
  --bg: #0a0e13;
  --text: #f2f6f8;            /* жемчужно-белый */
  --muted: #93a0ae;
  --accent: #2fd8c8;          /* как было: бирюза на текстах */
  --accent-ink: #06231f;
  --gold: #d8b25c;            /* золото — только в анимациях/движении */
  --violet: #8f7bf3;
  --line: rgba(255, 255, 255, 0.09);
  --gold-line: rgba(47, 216, 200, 0.35);
  --glass: rgba(255, 255, 255, 0.045);
  --font: "Golos Text", system-ui, -apple-system, sans-serif;
  --r-pill: 999px;
  --r-md: 14px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--accent-ink); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  padding-inline: clamp(24px, 4.5vw, 110px);
}

/* ═══ фоновые пятна: золото/фиолет ═══ */
.orb { position: fixed; border-radius: 50%; filter: blur(110px); pointer-events: none; z-index: 0; }
.orb-gold { width: 56vw; height: 56vw; background: radial-gradient(circle at 45% 45%, rgba(216,178,92,.16), transparent 65%); top: -20vw; right: -16vw; }
.orb-violet { width: 48vw; height: 48vw; background: radial-gradient(circle at 55% 55%, rgba(143,123,243,.12), transparent 65%); bottom: -18vw; left: -14vw; }

/* ═══ экраны + снап ═══ */
.screen {
  min-height: 100svh;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
main > .screen:not(.clients) { border-top: 1px solid var(--line); }
main { overflow-x: clip; }  /* свечения и декор не должны раздвигать страницу вбок */

/* ═══ Liquid Glass базовый класс ═══ */
.lg {
  background: var(--glass);
  border: 1px solid var(--gold-line);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 20px 50px rgba(0,0,0,.35);
  border-radius: var(--r-md);
}

/* ═══ reveal ═══ */
html.js .rv {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
html.js .rv.in { opacity: 1; transform: none; }

/* ═══ типографика ═══ */
.kicker {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}
.big-title {
  margin: 0;
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--text);
  text-wrap: balance;
}
.big-title.center { text-align: center; }
.hl { color: var(--accent); }

/* ═══ кнопки ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-accent:hover {
  box-shadow: 0 0 0 1px rgba(47,216,200,.45), 0 10px 36px rgba(47,216,200,.4);
  transform: translateY(-2px);
}
.btn-accent:active { transform: translateY(0) scale(.98); }
.btn-outline {
  background: rgba(255,255,255,.04);
  color: #fff;
  border: 1px solid var(--gold-line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-outline:hover { background: rgba(216,178,92,.14); border-color: var(--accent); }
.btn-lg { padding: 17px 34px; font-size: 16px; }

.link-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(243,245,248,.85);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(243,245,248,.25);
  padding-bottom: 2px;
  transition: color 180ms ease, border-color 180ms ease;
}
.link-ghost:hover { color: var(--accent); border-color: var(--accent); }

/* ═══ 1 · HERO ═══ */
.hero { overflow: hidden; background: var(--bg); min-height: 100svh; justify-content: flex-start; }
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 38%;
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,8,12,.85) 0%, rgba(6,8,12,.25) 22%, transparent 40%),
    linear-gradient(90deg, rgba(6,8,12,.92) 0%, rgba(6,8,12,.55) 40%, rgba(6,8,12,.05) 68%, transparent 100%),
    linear-gradient(0deg, rgba(6,8,12,.6) 0%, transparent 18%);
}

/* золотые блик-виньетки на hero */
.hero::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60vw 40vh at 78% 30%, rgba(216,178,92,.12), transparent 70%);
}

.site-header { position: relative; z-index: 3; }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-block: 24px;
}
.logo { display: flex; flex-direction: column; line-height: 1; text-decoration: none; justify-self: start; }
.logo-a { font-weight: 900; font-size: 22px; letter-spacing: .04em; color: #fff; }
.logo-b { margin-top: 5px; font-weight: 600; font-size: 10px; letter-spacing: .52em; color: var(--accent); text-transform: uppercase; }

.site-nav {
  display: flex;
  gap: clamp(20px, 2.4vw, 44px);
  justify-content: center;
  background: rgba(10,13,17,.45);
  border: 1px solid var(--gold-line);
  border-radius: var(--r-pill);
  padding: 8px 10px;
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  box-shadow: 0 14px 44px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.08);
}
.site-nav a {
  color: rgba(242,246,248,.78);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  transition: color 180ms ease, background-color 180ms ease;
}
.site-nav a:hover { color: #fff; background: rgba(216,178,92,.12); }
.header-cta { justify-self: end; white-space: nowrap; }
.burger {
  display: none;
  position: fixed; top: 18px; right: 18px; z-index: 130;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--gold-line);
  background: rgba(10,14,19,.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  cursor: pointer; padding: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s ease, opacity .2s ease, top .3s ease; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 30px; }
.burger.is-open span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 23px; transform: rotate(-45deg); }
body.modal-open .burger { display: none !important; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 125;
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
  padding: 90px 28px 40px;
  background: rgba(6,9,13,.96);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  animation: tmFade .25s ease;
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mm-nav { display: flex; flex-direction: column; gap: 4px; }
.mm-nav a { padding: 10px 0; font-size: 26px; font-weight: 800; color: #fff; text-decoration: none; border-bottom: 1px solid var(--line); }
.mm-nav a:active, .mm-nav a:hover { color: var(--accent); }
.mm-cta { align-self: stretch; }
.mm-social { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.mm-social a { color: var(--accent); text-decoration: none; }
body.menu-open { overflow: hidden; }

.hero-body {
  position: relative; z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 50px 90px;
  max-width: 1160px;
  width: 100%;
}
.hero-eyebrow { margin: 0 0 26px; max-width: 780px; font-size: 12px; font-weight: 600; line-height: 1.9; letter-spacing: .16em; text-transform: uppercase; color: rgba(242,246,248,.72); }
.he-lead { color: var(--accent); }
.he-list i { font-style: normal; color: var(--accent); margin: 0 .55em; }
.hero-title {
  margin: 0;
  font-weight: 900;
  font-size: clamp(2.1rem, 4.3vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--text);
  text-wrap: balance;
}
.gold-glow { color: var(--accent); text-shadow: 0 0 34px rgba(47,216,200,.55); }
/* каскад букв hero-заголовка */
.hero-title .w { display: inline-block; white-space: nowrap; }
.hero-title .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em) rotate(4deg);
  transition: opacity 0.55s cubic-bezier(0.22,0.61,0.36,1), transform 0.55s cubic-bezier(0.22,0.61,0.36,1);
}
.hero-title.in .ch { opacity: 1; transform: none; }
.hero-title .ch-hl { text-shadow: 0 0 34px rgba(47,216,200,.55); }
.hero-sub { margin: 28px 0 0; max-width: 54ch; color: var(--muted); font-size: clamp(16px, 1.3vw, 18px); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 30px; margin-top: 38px; }

.hero-scroll-hint {
  position: absolute; z-index: 2;
  left: 50%; bottom: 22px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hint-line { width: 1px; height: 34px; background: linear-gradient(var(--accent), transparent); animation: hint 1.8s ease-in-out infinite; }
.hint-text { font-size: 10px; letter-spacing: .34em; text-transform: uppercase; color: rgba(242,246,248,.45); }
@keyframes hint { 0%,100% { opacity: .25; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ═══ 2 · КЛИЕНТЫ ═══ */
.clients { flex-direction: column; justify-content: center; padding-block: 90px 60px; text-align: center; }
.clients .kicker, .clients .big-title { margin-inline: auto; }

.clients-track {
  margin-top: clamp(40px, 6vw, 80px);
  overflow: hidden;
  -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.logo-grid {
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 2vw, 26px);
  max-width: 1120px;
  margin-inline: auto;
}
/* 4 в ряд на десктопе, 2 — на мобильных; неполный ряд центрируется */
.logo-cell {
  --cols: 4;
  flex: 0 0 calc((100% - (var(--cols) - 1) * clamp(14px, 2vw, 26px)) / var(--cols));
  aspect-ratio: 2.2 / 1;
  display: grid;
  place-items: center;
}
.logo-cell img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s cubic-bezier(0.22,0.61,0.36,1), filter .35s ease; }
.logo-cell:hover img { transform: translateY(-6px) scale(1.03); filter: drop-shadow(0 0 18px rgba(47,216,200,.35)) drop-shadow(0 16px 30px rgba(0,0,0,.5)); }
.logo-name { display: none; }
.clients-track > .marquee-run { display: flex; align-items: center; gap: clamp(28px, 4vw, 60px); padding-right: clamp(28px, 4vw, 60px); animation: scrollleft 34s linear infinite; }
.clients-track:hover > .marquee-run { animation-play-state: paused; }
@keyframes scrollleft { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.partner { transform: translateY(0); transition: color 200ms ease, transform 600ms cubic-bezier(0.22,0.61,0.36,1); }
.clients-track.wave .partner { animation: wave 2.6s ease-in-out infinite; animation-delay: calc(var(--wi, 0) * 0.14s); }
@keyframes wave {
  0%, 100% { transform: translateY(0); color: rgba(243,245,248,.45); }
  12% { transform: translateY(-14px); color: var(--accent); }
  24% { transform: translateY(0); color: rgba(243,245,248,.45); }
}

.partner:hover { color: var(--accent); }
.partner-sep { color: var(--accent); font-size: 14px; opacity: .8; }
.clients-note { margin: clamp(26px,4vw,44px) auto 0; color: var(--muted); max-width: 52ch; font-size: 15px; }

/* ═══ 3 · LIVE ═══ */
.live {
  flex-direction: column; justify-content: center;
  padding-block: 90px 60px;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 85% 30%, rgba(47,216,200,.10), transparent 70%),
    radial-gradient(50% 45% at 10% 85%, rgba(143,123,243,.08), transparent 70%);
}
.live-bg-word {
  position: absolute; z-index: 0;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-weight: 900; font-size: clamp(9rem, 30vw, 28rem); line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(47,216,200,.08);
  pointer-events: none; user-select: none;
}
.live-head { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.live-hint { margin: 14px 0 0; max-width: 46ch; color: var(--muted); font-size: 15px; }
.rec-dot {
  display: inline-block; width: 9px; height: 9px; margin-right: 10px;
  border-radius: 50%; background: #ff3b47; vertical-align: 1px;
  box-shadow: 0 0 0 0 rgba(255,59,71,.6);
  animation: recpulse 1.6s ease-out infinite;
}
@keyframes recpulse {
  0% { box-shadow: 0 0 0 0 rgba(255,59,71,.6); }
  70% { box-shadow: 0 0 0 9px rgba(255,59,71,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,59,71,0); }
}
.live-stats { display: flex; gap: 14px; flex-shrink: 0; }
.ls-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--glass); border: 1px solid var(--gold-line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.ls-num { font-weight: 900; font-size: 30px; line-height: 1; color: var(--accent); text-shadow: 0 0 18px rgba(47,216,200,.45); }
.ls-label { font-size: 12px; line-height: 1.35; color: var(--muted); }

.live-rows {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 18px;
  margin-top: clamp(30px, 4.5vw, 56px);
  transform: rotate(-2deg) scale(1.04);
}
.live-row {
  overflow: hidden; width: 100%;
  padding-block: 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; width: max-content; }
.marquee-track > .marquee-run {
  display: flex;
  gap: 16px;
  padding-right: 16px;
  animation: scrollleft var(--live-dur, 60s) linear infinite;
}
.live-row-rev .marquee-track > .marquee-run { animation-direction: reverse; }
.marquee-track:hover > .marquee-run { animation-play-state: paused; }

.reel-tile {
  --tile-h: clamp(200px, 29svh, 320px);
  position: relative;
  width: calc(var(--tile-h) * 9 / 16);
  height: var(--tile-h);
  flex-shrink: 0;
  padding: 0;
  border: 1px solid rgba(47,216,200,.22);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #0d1218;
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  transition: transform 300ms cubic-bezier(0.22,0.61,0.36,1), box-shadow 300ms ease, border-color 300ms ease;
}
.reel-tile:hover, .reel-tile:focus-visible {
  transform: translateY(-8px) scale(1.05);
  border-color: var(--accent);
  box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 0 36px rgba(47,216,200,.35);
  z-index: 2;
}
.reel-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s ease; }
.reel-preview.on { opacity: 1; }
.reel-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(4,7,10,.75)); pointer-events: none; }
.reel-play {
  position: absolute; left: 12px; bottom: 12px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; padding-left: 3px;
  background: rgba(47,216,200,.92); color: var(--accent-ink);
  box-shadow: 0 0 0 4px rgba(47,216,200,.18), 0 6px 18px rgba(0,0,0,.4);
  transition: transform .25s ease, box-shadow .25s ease;
}
.reel-tile:hover .reel-play { transform: scale(1.12); box-shadow: 0 0 0 7px rgba(47,216,200,.22), 0 0 26px rgba(47,216,200,.6); }
.reel-ext {
  position: absolute; right: 10px; top: 10px;
  padding: 4px 9px; border-radius: var(--r-pill);
  font-size: 10px; font-weight: 700; letter-spacing: .06em;
  background: rgba(6,9,13,.7); color: #fff; border: 1px solid rgba(255,255,255,.2);
}
.reel-cover-ph {
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(130% 90% at 50% 0%, rgba(47,216,200,.14), transparent 62%), rgba(255,255,255,.03);
}
.reel-ph-idx { font-weight: 900; font-size: 2.6rem; color: rgba(243,245,248,.18); }
.reel-tile.is-demo { cursor: default; }
.reel-tile.is-demo .reel-play { display: none; }

.swipe-hint { display: none; margin: 14px 0 0; text-align: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ═══ 4 · КОМАНДА ═══ */
.team { flex-direction: column; justify-content: center; padding-block: 90px 60px; }
.team-grid {
  margin-top: clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: clamp(18px, 3vw, 40px);
  max-width: 1060px;
  margin-inline: auto;
  width: 100%;
}
.team-card { --glow: 47,216,200; display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.team-photo {
  position: relative;
  display: block; width: 100%;
  padding: 0; border: 0; background: none;
  font: inherit; color: inherit;
  cursor: pointer;
  aspect-ratio: 3 / 4;
  isolation: isolate;
}
.team-photo:disabled { cursor: default; }
/* свечение за спиной */
.team-photo::before {
  content: "";
  position: absolute; z-index: -1;
  left: 50%; top: 40%;
  width: 124%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(var(--glow),.75) 0%, rgba(var(--glow),.42) 26%, rgba(var(--glow),.14) 46%, transparent 66%);
  filter: blur(26px);
  opacity: .85;
  animation: teamglow 4.5s ease-in-out infinite;
  transition: opacity .5s ease, transform .5s cubic-bezier(0.22,0.61,0.36,1);
}
.team-card:nth-child(2) .team-photo::before { animation-delay: -1.5s; }
.team-card:nth-child(3) .team-photo::before { animation-delay: -3s; }
@keyframes teamglow {
  0%, 100% { opacity: .7; transform: translate(-50%, -50%) scale(.96); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
}
/* светящийся «пол» под человеком */
.team-photo::after {
  content: "";
  position: absolute; z-index: -1;
  left: 8%; right: 8%; bottom: -2%;
  height: 12%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(var(--glow),.5), rgba(var(--glow),.12) 45%, transparent 70%);
  filter: blur(6px);
  pointer-events: none;
  transition: opacity .5s ease;
}
.team-card:hover .team-photo::before, .team-photo:focus-visible::before { animation-play-state: paused; opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
.team-photo:focus-visible { outline: none; }
/* фото без фона: все одной высоты, низ мягко растворяется в свечении */
.team-cutout-wrap {
  position: absolute; inset: -8% 0 0 0;
  pointer-events: none;
}
.team-cutout {
  position: absolute; left: 50%; bottom: 0;
  height: 100%; width: auto; max-width: none;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
  filter: drop-shadow(0 0 1px rgba(var(--glow),.35));
  transition: transform .6s cubic-bezier(0.22,0.61,0.36,1), filter .6s ease;
}
.team-card:hover .team-cutout, .team-photo:focus-visible .team-cutout {
  transform: translateX(-50%) translateY(-8px) scale(1.03);
  filter: drop-shadow(0 0 14px rgba(var(--glow),.35));
}
.team-card:nth-child(1) .team-photo { transition-delay: 0s; }
.team-card:nth-child(2) .team-photo { transition-delay: .08s; }
.team-card:nth-child(3) .team-photo { transition-delay: .16s; }
.team-ph {
  width: 100%; height: 100%;
  border: 1px solid var(--gold-line);
  display: flex; align-items: center; justify-content: center;
  border-radius: inherit;
  background: radial-gradient(120% 80% at 50% 0%, rgba(47,216,200,.1), transparent 60%), rgba(255,255,255,.02);
}
.team-ph-role {
  font-weight: 800; font-size: 15px;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(243,245,248,.3);
  writing-mode: vertical-rl;
}
.team-name { margin: 20px 0 0; font-weight: 700; font-size: 20px; color: #fff; }
.team-role {
  margin: 6px 0 auto;
  font-size: 13px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent);
}
.team-insta { margin: 14px 0 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 8px; font-size: 14px; color: var(--muted); }
.team-insta-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px 5px 9px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(120deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5) border-box;
  color: #fff; font-weight: 600; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.team-insta-link svg { color: #f56040; }
.team-insta-link:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(214,41,118,.35); }
.team-more { margin-top: 16px; padding: 10px 22px; font-size: 14px; }

/* ═══ Модалка участника команды ═══ */
.team-modal {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center;
  padding: clamp(10px, 3vw, 32px);
  background: rgba(4, 8, 12, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: tmFade .25s ease;
}
.team-modal[hidden] { display: none; }
@keyframes tmFade { from { opacity: 0; } to { opacity: 1; } }
.tm-box {
  --stage-h: min(76svh, 780px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  gap: clamp(20px, 3vw, 40px);
  width: min(1240px, 100%);
  max-height: calc(100svh - 2 * clamp(10px, 3vw, 32px));
  padding: clamp(18px, 2.4vw, 32px);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(20,28,36,.96), rgba(10,14,19,.98));
  border: 1px solid var(--gold-line);
  box-shadow: 0 0 60px rgba(47,216,200,.14), 0 40px 100px rgba(0,0,0,.6);
  overflow: auto;
  overscroll-behavior: contain;
  animation: tmRise .35s cubic-bezier(0.22,0.61,0.36,1);
}
@keyframes tmRise { from { transform: translateY(18px) scale(.98); } to { transform: none; } }
.tm-close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--gold-line);
  background: rgba(10,14,19,.85); color: #fff; font-size: 16px;
  cursor: pointer; transition: border-color .2s ease, color .2s ease;
}
.tm-close:hover { border-color: var(--accent); color: var(--accent); }

.tm-gallery { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tm-stage {
  position: relative;
  height: var(--stage-h);
  display: grid; place-items: center;
  border-radius: 16px;
  background: rgba(0,0,0,.35);
  overflow: hidden;
}
.tm-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  user-select: none; -webkit-user-drag: none;
}
.tm-nav, .tm-zoom {
  position: absolute;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  background: rgba(6,9,13,.7);
  color: #fff; cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.tm-nav { top: 50%; width: 48px; height: 48px; margin-top: -24px; font-size: 30px; line-height: 1; padding-bottom: 4px; }
.tm-prev { left: 12px; }
.tm-next { right: 12px; }
.tm-zoom { right: 12px; bottom: 12px; width: 40px; height: 40px; font-size: 18px; }
.tm-nav:hover, .tm-zoom:hover { border-color: var(--accent); color: var(--accent); background: rgba(6,9,13,.9); }
.tm-count {
  position: absolute; left: 12px; bottom: 12px;
  padding: 5px 11px; border-radius: var(--r-pill);
  background: rgba(6,9,13,.7); border: 1px solid var(--line);
  font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--muted);
}
.tm-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; }
.tm-thumb {
  flex: 0 0 auto; height: 74px; padding: 0;
  border-radius: 8px; overflow: hidden;
  border: 2px solid transparent; background: none;
  opacity: .55; cursor: pointer;
  transition: opacity .2s ease, border-color .2s ease;
}
.tm-thumb img { display: block; height: 100%; width: auto; }
.tm-thumb:hover { opacity: .9; }
.tm-thumb.is-active { opacity: 1; border-color: var(--accent); }
.tm-box.single .tm-nav, .tm-box.single .tm-thumbs, .tm-box.single .tm-count { display: none; }
.tm-box.no-gallery { grid-template-columns: 1fr; max-width: 640px; }
.tm-box.no-gallery .tm-gallery { display: none; }

.tm-info { display: flex; flex-direction: column; align-items: flex-start; padding-top: 8px; min-width: 0; }
.tm-role { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.tm-name { margin: 10px 0 0; font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 900; line-height: 1; color: #fff; }
.tm-tagline { margin: 12px 0 0; font-size: 15px; color: var(--muted); font-style: italic; }
.tm-tagline[hidden] { display: none; }
.tm-about { margin-top: 26px; }
.tm-insta { margin: 0 0 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.tm-about:empty { display: none; }
.tm-about-title {
  margin: 0 0 12px; font-size: 13px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: #fff;
}
.tm-about p { margin: 0 0 12px; font-size: 15px; line-height: 1.6; color: rgba(242,246,248,.82); }
.tm-cta { margin-top: 22px; }

/* только галерея (структура работы) и «развернуть кадр» */
.tm-box.gallery-only { grid-template-columns: 1fr; width: min(820px, 100%); --stage-h: calc(100svh - 2 * clamp(10px, 3vw, 32px) - 2 * clamp(18px, 2.4vw, 32px) - 96px); }
.tm-box.gallery-only .tm-info, .tm-box.gallery-only .tm-zoom { display: none; }
.tm-box.gallery-only .tm-img { cursor: default; }
.tm-box.zoomed { --stage-h: calc(100svh - 2 * clamp(10px, 3vw, 32px) - 2 * clamp(18px, 2.4vw, 32px) - 96px); grid-template-columns: 1fr; }
.tm-box.zoomed .tm-info { display: none; }
.tm-box.zoomed .tm-img { cursor: zoom-out; }

@media (max-width: 860px) {
  .tm-box { grid-template-columns: 1fr; --stage-h: 62svh; }
  .tm-stage { height: auto; aspect-ratio: var(--ar, 9 / 16); max-height: 64svh; }
  .tm-box.zoomed .tm-stage, .tm-box.gallery-only .tm-stage { max-height: 76svh; }
  .tm-box.zoomed { --stage-h: 78svh; }
  .tm-info { padding-top: 0; }
  .tm-nav { width: 40px; height: 40px; margin-top: -20px; font-size: 26px; }
  .tm-thumb { height: 60px; }
}

/* ═══ 5 · СТРУКТУРА РАБОТЫ ═══ */
.process { flex-direction: column; justify-content: center; padding-block: 90px 60px; }
.process-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.process-hint { margin: 14px 0 0; color: var(--muted); font-size: 15px; }
.process-arrows { display: flex; gap: 10px; flex-shrink: 0; }
.process-arrow {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--gold-line); background: var(--glass);
  color: #fff; font-size: 28px; line-height: 1; padding-bottom: 4px;
  cursor: pointer; transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.process-arrow:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); background: rgba(47,216,200,.08); }
.process-arrow:disabled { opacity: .3; cursor: default; }
.process-foot { display: flex; align-items: center; gap: 18px; margin-top: 6px; }
.scroll-progress { position: relative; flex: 1; max-width: 420px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.scroll-progress span { position: absolute; left: 0; top: 0; bottom: 0; width: 30%; border-radius: inherit; background: var(--accent); box-shadow: 0 0 10px rgba(47,216,200,.6); transition: transform .15s linear; }
.process-count { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--muted); font-variant-numeric: tabular-nums; }
.process-swipe { margin: 0 0 0 auto; }
.process-track {
  --card-w: clamp(230px, 24vw, 330px);
  display: flex; gap: clamp(14px, 1.6vw, 22px);
  margin-top: clamp(30px, 4vw, 50px);
  padding: 14px clamp(24px, 4.5vw, 110px) 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: clamp(24px, 4.5vw, 110px);
  scrollbar-width: none;
}
.process-track::-webkit-scrollbar { display: none; }
.process-card {
  position: relative; flex: 0 0 var(--card-w);
  aspect-ratio: 940 / 1672;
  padding: 0; border: 0; background: none;
  border-radius: 18px; overflow: hidden;
  scroll-snap-align: start;
  cursor: zoom-in;
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
  transition: transform .35s cubic-bezier(0.22,0.61,0.36,1), box-shadow .35s ease;
}
.process-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.process-card:hover, .process-card:focus-visible { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(0,0,0,.55), 0 0 30px rgba(47,216,200,.25); outline: none; }
.process-zoom {
  position: absolute; right: 12px; bottom: 12px;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(6,9,13,.7); border: 1px solid var(--gold-line);
  color: #fff; font-size: 16px;
  opacity: 0; transition: opacity .2s ease;
}
.process-card:hover .process-zoom, .process-card:focus-visible .process-zoom { opacity: 1; }

/* ═══ 6 · СВЯЗЬ ═══ */
.contact { justify-content: center; padding-block: 100px 70px; }
.contact-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.contact-title {
  margin: 0;
  font-weight: 900;
  font-size: clamp(2.4rem, 6.4vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--text);
  background: linear-gradient(100deg, var(--text) 40%, var(--accent) 50%, var(--text) 60%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sweep 5.5s ease-in-out infinite;
}
@keyframes sweep {
  0%, 100% { background-position: 120% 0; }
  50% { background-position: -20% 0; }
}
.vp-logo {
  margin: clamp(34px, 5vw, 56px) 0 clamp(30px, 4vw, 46px);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.vp-mark {
  display: grid; place-items: center;
  width: clamp(130px, 14vw, 170px); aspect-ratio: 1;
  border-radius: 34px;
  border: 2px solid var(--accent);
  background: radial-gradient(circle at 50% 40%, rgba(47,216,200,.18), rgba(10,14,19,.9) 70%);
  box-shadow: 0 0 40px rgba(47,216,200,.35), inset 0 0 30px rgba(47,216,200,.18);
  font-weight: 900; font-size: clamp(3.4rem, 6vw, 4.6rem); letter-spacing: -0.04em;
  color: #fff;
  text-shadow: 0 0 18px rgba(47,216,200,.9), 0 0 42px rgba(47,216,200,.5);
  animation: vpglow 3.2s ease-in-out infinite;
}
@keyframes vpglow {
  0%, 100% { box-shadow: 0 0 40px rgba(47,216,200,.35), inset 0 0 30px rgba(47,216,200,.18); }
  50% { box-shadow: 0 0 70px rgba(47,216,200,.55), inset 0 0 40px rgba(47,216,200,.28); }
}
.vp-word { font-size: 13px; font-weight: 700; letter-spacing: .5em; margin-right: -.5em; color: var(--accent); }
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.contact-link {
  display: flex; align-items: center; gap: 14px;
  min-width: 250px;
  padding: 14px 24px 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--gold-line);
  background: var(--glass);
  color: #fff; text-decoration: none; text-align: left;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.contact-link:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 16px 40px rgba(0,0,0,.45), 0 0 26px rgba(47,216,200,.25); }
.cl-icon {
  width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink);
}
.cl-text { display: flex; flex-direction: column; gap: 2px; }
.cl-label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cl-handle { font-size: 18px; font-weight: 700; }

/* ═══ Плеер (glass) ═══ */
.player-modal {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center;
  padding: 24px;
  background: rgba(4, 8, 12, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.player-modal[hidden] { display: none; }
.player-stage video {
  display: block;
  width: min(440px, calc(100vw - 32px), calc((100svh - 120px) * 9 / 16));
  height: auto; aspect-ratio: 9 / 16; object-fit: contain;
  border-radius: 16px; background: #000;
  border: 1px solid var(--gold-line);
  box-shadow: 0 0 60px rgba(47,216,200,.25), 0 30px 90px rgba(0,0,0,.6);
}
.player-stage iframe {
  width: min(400px, 94vw);
  aspect-ratio: 9 / 16;
  border: 0; border-radius: 16px; background: #000;
}
.marquee-mask {
  overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee-track { display: flex; width: max-content; }

.player-close {
  position: absolute; top: 18px; right: 22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  background: rgba(10,14,19,.8);
  color: #fff; font-size: 18px;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease;
}
.player-close:hover { border-color: var(--accent); color: var(--accent); }
body.modal-open { overflow: hidden; }

/* ═══ Футер ═══ */
.site-footer {
  scroll-snap-align: end;
  border-top: 1px solid var(--line);
  background: #080b0f;
}
.footer-inner {
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  padding-block: 30px;
}
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 180ms ease; }
.footer-nav a:hover { color: var(--accent); }
.footer-copy { margin: 0 0 0 auto; font-size: 13px; color: var(--muted); }
.footer-dev {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 10px;
  padding-block: 16px 22px;
  border-top: 1px solid var(--line);
  font-size: 13px; color: rgba(147,160,174,.75);
}
.dev-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); text-decoration: none; font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.dev-link:hover { color: #fff; border-color: var(--accent); }

/* ═══ Responsive ═══ */
@media (max-width: 1024px) {
  .site-nav { display: none; }
  .burger { display: block; }
  .header-cta { margin-right: 60px; }
  .header-inner { grid-template-columns: 1fr auto; gap: 16px; }
}
@media (max-width: 760px) {
  .hero-title { font-size: clamp(1.6rem, 7.6vw, 3rem); line-height: 1.08; }
  .header-cta { padding: 10px 16px; font-size: 13px; }
  .hero-eyebrow { font-size: 10.5px; letter-spacing: .12em; }
  .clients { text-align: left; }
  .clients .kicker, .clients .big-title, .clients-note { margin-inline: 0; }
  .clients .big-title { text-align: left; }
  html { scroll-snap-type: none; }
  .screen { min-height: auto; padding-block: 72px 56px !important; }
  .container { padding-inline: 20px; }
  .header-cta { display: none; }
  .burger { top: 14px; right: 14px; }
  .header-inner { padding-block: 18px; }
  .hero { min-height: 100svh; padding-block: 0 !important; }
  .hero-bg { inset: 0 0 auto 0; height: 64svh; object-position: 79% 30%; }
  .hero-scrim { inset: 0 0 auto 0; height: 64svh; background: linear-gradient(180deg, rgba(6,8,12,.7) 0%, transparent 20%, transparent 50%, rgba(10,14,19,.85) 80%, var(--bg) 100%); }
  .hero::after { display: none; }
  .hero-body { justify-content: flex-start; padding-block: calc(64svh - 190px) 36px; }
  .hero-eyebrow { margin-bottom: 16px; }
  .hero-sub { margin-top: 18px; font-size: 15px; }
  .hero-actions { margin-top: 26px; flex-direction: column; align-items: stretch; gap: 16px; text-align: center; }
  .hero-actions .link-ghost { align-self: center; }
  .hero-scroll-hint { display: none; }
  .live-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .live-stats { width: 100%; }
  .ls-item { flex: 1; padding: 12px 14px; }
  .ls-num { font-size: 24px; }
  .live-rows { transform: none; gap: 12px; }
  .live-row { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; }
  .live-row::-webkit-scrollbar { display: none; }
  .live-row .marquee-track { padding-inline: 20px; }
  .live-row .marquee-run { animation: none !important; }
  .live-row .marquee-dup { display: none !important; }
  .reel-tile { --tile-h: 260px; scroll-snap-align: start; }
  .reel-tile:hover { transform: none; }
  .live-swipe { display: block; }
  .live-bg-word { font-size: 9rem; top: 30%; }
  .process-foot { gap: 12px; }
  .scroll-progress { max-width: none; }
  .process-swipe { display: none; }
  .process-track { --card-w: 74vw; padding-inline: 20px; scroll-padding-inline: 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-nav { gap: 12px 20px; }
  .logo-cell { --cols: 2; }
  .team-grid { grid-template-columns: 1fr; gap: 54px; max-width: 270px; }
  .team-ph-role { font-size: 11px; letter-spacing: .14em; }
  .team-name { font-size: 16px; }
  .contact { padding-block: 70px 50px; }
  .process-head { align-items: flex-start; flex-direction: column; }
  .process-arrows { display: none; }
  .contact-link { min-width: 0; width: 100%; }
  .contact-links { width: 100%; flex-direction: column; }
  .footer-copy { margin-left: 0; width: 100%; }
}

/* ═══ Reduced motion ═══ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  html.js .rv { opacity: 1; transform: none; transition: none; }
  .clients-track > .marquee-run, .marquee-track > .marquee-run,
  .hint-line { animation: none; }
  .clients-track, .marquee-mask { overflow-x: auto; }
  .btn, .link-ghost, .site-nav a, .footer-nav a { transition: none; }
  .hero-title .ch { opacity: 1 !important; transform: none !important; transition: none !important; }
  .contact-title { animation: none !important; -webkit-text-fill-color: currentColor; }
  .clients-track.wave .partner { animation: none !important; }
  .rec-dot { animation: none !important; }
  .live-row { overflow-x: auto; }
  .live-rows { transform: none; }
  .vp-mark { animation: none !important; }
  .team-photo::before { animation: none !important; }
}
