/* =========================================================
   ТЕРРИТОРИЯ СПОРТА — визуальная система
   Тёмная основа · костяной светлый · один вольтовый акцент
   ========================================================= */
/* Шрифты лежат на нашем сервере: IP посетителей не уходит за границу */
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/golos-text-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/golos-text-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/golos-text-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/golos-text-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/golos-text-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/golos-text-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/oswald-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/oswald-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/oswald-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/oswald-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/oswald-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/oswald-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #0c0d0b;
  --ink-2: #161814;
  --ink-3: #22251f;
  --bone: #efebe2;
  --bone-2: #dcd7cb;
  --volt: #d2ff1f;
  --volt-ink: #1a2000;
  --muted: rgba(239, 235, 226, .62);
  --line: rgba(239, 235, 226, .16);

  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --text: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;

  --g: clamp(16px, 3vw, 44px);          /* боковое поле */
  --hdr: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--hdr); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font: 400 17px/1.5 var(--text);
  -webkit-font-smoothing: antialiased;
}
main, .foot { 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; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--volt); color: var(--ink); }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--volt); color: var(--ink); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; }

.num { font: 600 13px/1 var(--text); letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.kicker {
  font: 500 13px/1 var(--text); letter-spacing: .14em; text-transform: uppercase;
  color: var(--volt); margin-bottom: 20px;
}
.kicker--ink { color: var(--ink); }

.h-xl, .h-lg {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  line-height: .86; letter-spacing: -.01em;
}
.h-xl { font-size: clamp(56px, 11vw, 190px); }
.h-lg { font-size: clamp(44px, 7.4vw, 128px); }

/* ---------- Ссылки с раскрывающимся подчёркиванием ---------- */
.ulink {
  position: relative; display: inline-block;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size .45s var(--ease), color .2s;
  padding-bottom: 2px;
}
.ulink:hover, .ulink:focus-visible { background-size: 100% 2px; }
.ulink--volt { color: var(--volt); }

/* ---------- Медиа-слоты (заменяемые) ---------- */
.slot {
  position: relative; overflow: hidden; isolation: isolate;
  background-color: var(--ink-2);
  --c: rgba(210, 255, 31, .22);
  --glow: rgba(210, 255, 31, .16);
}
.slot--alt { --c: rgba(239, 235, 226, .16); --glow: rgba(239, 235, 226, .1); }
.slot--hot { --c: rgba(255, 92, 51, .26); --glow: rgba(255, 92, 51, .2); }

/* траектории сальто — концентрические дуги */
.slot--arc {
  background-image:
    radial-gradient(60% 70% at 70% 30%, var(--glow), transparent 70%),
    repeating-radial-gradient(circle at 18% 115%, transparent 0 46px, var(--c) 47px 48px);
}
/* удар — диагональные штрихи */
.slot--strike {
  background-image:
    radial-gradient(55% 60% at 25% 65%, var(--glow), transparent 70%),
    repeating-linear-gradient(118deg, transparent 0 26px, var(--c) 27px 28px);
}
/* покрытие зала — перспективная сетка */
.slot--grid {
  background-image:
    radial-gradient(50% 55% at 50% 40%, var(--glow), transparent 75%),
    linear-gradient(var(--c) 1px, transparent 1px),
    linear-gradient(90deg, var(--c) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
}
.slot--glow {
  background-image:
    radial-gradient(40% 50% at 65% 45%, var(--glow), transparent 70%),
    radial-gradient(30% 35% at 30% 70%, var(--c), transparent 70%),
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(239, 235, 226, .03) 3px 4px);
}
/* зерно */
.slot::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .35; mix-blend-mode: overlay;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.slot__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: grayscale(1) contrast(1.08); }
.slot__tag {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  font: 500 11px/1.3 var(--text); letter-spacing: .08em; text-transform: uppercase;
  color: var(--bone); background: rgba(12, 13, 11, .72); backdrop-filter: blur(6px);
  padding: 8px 10px 8px 26px; border: 1px dashed rgba(239, 235, 226, .35);
  max-width: calc(100% - 32px);
}
.slot__tag::before {
  content: ""; position: absolute; left: 10px; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border: 1.5px solid var(--volt);
}
.slot__tag b { font-weight: 600; color: var(--volt); text-transform: none; letter-spacing: .02em; }
.slot.is-filled { background-image: none; }
.slot.is-filled .slot__tag, .slot.is-filled .slot__orbit { display: none; }

/* ---------- Шапка ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hdr);
  display: flex; align-items: center; gap: 28px; padding: 0 var(--g);
  transition: transform .5s var(--ease), background-color .3s;
}
.hdr.is-solid { background: rgba(12, 13, 11, .86); backdrop-filter: blur(12px); }
.hdr.is-hidden { transform: translateY(-100%); }
.logo { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.logo__mark {
  width: 34px; height: 34px; background: var(--volt);
  clip-path: polygon(0 0, 100% 0, 100% 34%, 34% 34%, 34% 100%, 0 100%);
  transition: clip-path .5s var(--ease), transform .5s var(--ease);
}
.logo:hover .logo__mark { clip-path: polygon(0 0, 100% 0, 100% 100%, 66% 100%, 66% 34%, 0 34%); transform: rotate(90deg); }
.logo__txt { font: 700 15px/.95 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.hdr__nav { display: flex; gap: 26px; font-size: 15px; font-weight: 500; }
.hdr__phone { font-size: 15px; font-weight: 500; }

.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 8px 0 20px;
  background: var(--volt); color: var(--ink); font: 600 15px/1 var(--text); letter-spacing: .02em;
  border-radius: 999px; overflow: hidden; position: relative;
  transition: transform .25s var(--ease);
}
.pill .arr {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--ink); color: var(--volt); font-style: normal;
  transition: transform .45s var(--ease);
}
.pill:hover .arr { transform: rotate(-45deg); }
.pill:active { transform: scale(.95); }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--bone); position: relative; }
.burger i { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); transition: transform .4s var(--ease); }
.burger i:nth-of-type(1) { top: 18px; } .burger i:nth-of-type(2) { top: 26px; }
.burger[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-of-type(2) { transform: translateY(-4px) rotate(-45deg); }

/* Открытое меню салатовое: логотип и кнопка в шапке перекрашиваются, иначе сливаются с фоном */
.menu-open .logo { color: var(--ink); }
.menu-open .logo__mark { background: var(--ink); }
.menu-open .pill { background: var(--ink); color: var(--bone); }
.menu-open .pill .arr { background: var(--volt); color: var(--ink); }
.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--volt); color: var(--ink);
  display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--hdr) + 20px) var(--g) 32px;
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font: 700 clamp(48px, 15vw, 96px)/.95 var(--display); text-transform: uppercase; border-bottom: 2px solid var(--ink); padding: 6px 0; }
.menu__phone { margin-top: 24px; font-weight: 600; font-size: 20px; }

/* =========================================================
   1. HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: grid; grid-template-rows: 1fr auto;
  padding: calc(var(--hdr) + 3vh) var(--g) var(--g);
}
.hero__media {
  position: absolute; inset: 0; z-index: 0;
  /* смещённый кадр: справа больше воздуха под фигуру */
}
.hero__media.slot--arc {
  background-image:
    radial-gradient(45% 55% at 72% 42%, rgba(210, 255, 31, .22), transparent 70%),
    repeating-radial-gradient(circle at 22% 120%, transparent 0 64px, rgba(210, 255, 31, .2) 65px 66px);
}
.hero__media .slot__tag { left: auto; right: var(--g); bottom: auto; top: calc(var(--hdr) + 12px); }
.slot__orbit {
  position: absolute; z-index: 1; left: 22%; top: 120%; width: 0; height: 0; pointer-events: none;
}
.slot__orbit i {
  position: absolute; width: 14px; height: 14px; margin: -7px; border-radius: 50%;
  background: var(--volt); box-shadow: 0 0 0 8px rgba(210, 255, 31, .15), 0 0 40px 10px rgba(210, 255, 31, .45);
  offset-path: circle(min(82vh, 70vw) at 0 0); offset-rotate: 0deg;
  animation: orbit 9s linear infinite;
}
@keyframes orbit { from { offset-distance: 62%; } to { offset-distance: 92%; } }

/* монтаж: два клипа + вольтовая шторка-склейка */
.hero__clip { visibility: hidden; }
.hero__clip.is-live, .hero__clip.is-next { visibility: visible; }
.hero__clip.is-next { z-index: 1; }
.hero__wipe { position: absolute; top: 0; bottom: 0; left: 100%; width: 14vw; z-index: 2; background: var(--volt); pointer-events: none; }
.hero__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12, 13, 11, .6) 0%, rgba(12, 13, 11, .2) 30%, rgba(12, 13, 11, .15) 55%, rgba(12, 13, 11, .92) 100%),
    linear-gradient(90deg, rgba(12, 13, 11, .5), transparent 65%);
}
.hero__curtain {
  position: absolute; inset: 0; z-index: 50; background: var(--volt); transform-origin: 50% 0;
  display: none;
}
.motion .hero__curtain { display: block; }

.hero__title {
  position: relative; z-index: 2; align-self: start;
  font: 700 clamp(72px, 17.2vw, 330px)/.8 var(--display);
  text-transform: uppercase; letter-spacing: -.02em;
  margin-left: -.04em;
}
.hero__title .line { display: block; overflow: hidden; padding: .09em 0 .03em; margin-top: -.09em; }
.hero__title .line > span { display: inline-block; will-change: transform; }
.hero__title .line--2 { text-align: right; color: var(--volt); margin-top: -.02em; }
.hero__title .line--1 > span { text-shadow: 0 .02em .3em rgba(0, 0, 0, .25); }

.badge {
  position: absolute; z-index: 3; width: clamp(120px, 12vw, 190px); aspect-ratio: 1;
  left: 50%; top: calc(var(--hdr) + 17.2vw * .8 - 1vw); translate: -60% 0;
  border-radius: 50%; background: var(--ink); color: var(--bone);
  display: grid; place-items: center;
  transition: background-color .3s, color .3s;
}
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.badge text { font: 600 14px var(--text); letter-spacing: .1em; text-transform: uppercase; fill: currentColor; }
/* Стрелки ↘ ↗ iOS рисует эмодзи, поэтому берём → и поворачиваем */
.badge__arr { display: inline-block; font: 700 clamp(40px, 4vw, 64px)/1 var(--display); color: var(--volt); transform: rotate(45deg); transition: transform .5s var(--ease); }
.badge:hover { background: var(--volt); color: var(--ink); }
.badge:hover .badge__arr { color: var(--ink); transform: rotate(-45deg) scale(1.1); }
.badge:active .badge__arr { transform: rotate(-45deg) scale(.85); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__base {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 1fr 1.25fr; align-items: stretch; gap: 0;
  border-top: 1px solid var(--line);
}
.hero__dirs { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 18px 24px 18px 0; }
.hero__dirs a {
  display: flex; align-items: baseline; gap: 14px;
  font: 600 clamp(18px, 1.6vw, 24px)/1.2 var(--text);
  transition: color .25s, transform .35s var(--ease);
}
.hero__dirs a .num { color: var(--volt); }
.hero__dirs a::after {
  content: ""; align-self: center; height: 2px; width: 0; background: var(--volt);
  transition: width .6s var(--ease);
}
.hero__dirs a.is-live::after { width: 36px; }
.hero__dirs a:hover { color: var(--volt); transform: translateX(8px); }

/* ---------- Крупные CTA ---------- */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: clamp(96px, 13vh, 132px); padding: 18px clamp(18px, 2vw, 32px);
  font: 700 clamp(26px, 2.7vw, 44px)/.95 var(--display); text-transform: uppercase; letter-spacing: .005em;
  transition: color .35s var(--ease), transform .2s var(--ease);
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform .5s var(--ease-io);
}
.cta:hover::before, .cta:focus-visible::before { transform: scaleY(1); }
.cta:active { transform: scale(.98); }
.cta__label small { display: block; margin-top: 8px; font: 500 14px/1.2 var(--text); text-transform: none; letter-spacing: 0; opacity: .75; }
.cta__arr {
  position: relative; overflow: hidden; flex: none;
  width: 1.4em; height: 1.4em; font-size: 1.15em; line-height: 1.4em; text-align: center;
}
.cta__arr i { position: absolute; inset: 0; font-style: normal; transition: transform .5s var(--ease); }
.cta__arr i + i { transform: translateX(-110%); }
.cta:hover .cta__arr i:first-child { transform: translateX(110%); }
.cta:hover .cta__arr i + i { transform: translateX(0); }
.cta--ghost .cta__arr i + i { transform: translateY(-110%); }
.cta--ghost:hover .cta__arr i:first-child { transform: translateY(110%); }
.cta--ghost:hover .cta__arr i + i { transform: translateY(0); }

.cta--ghost { border-left: 1px solid var(--line); color: var(--bone); }
.cta--ghost::before { background: var(--bone); }
.cta--ghost:hover { color: var(--ink); }
.cta--volt { background: var(--volt); color: var(--ink); }
.cta--volt::before { background: var(--bone); }
.cta--ink { background: var(--ink); color: var(--bone); }
.cta--ink::before { background: var(--volt); }
.cta--ink:hover { color: var(--ink); }
.cta--sm { min-height: 76px; font-size: clamp(22px, 2vw, 30px); }

/* =========================================================
   ЛЕНТЫ
   ========================================================= */
.tapes { position: relative; z-index: 3; height: clamp(150px, 16vw, 230px); margin: -2vw 0 -3vw; pointer-events: none; }
.tape {
  position: absolute; left: -5vw; right: -5vw; top: 50%; overflow: hidden; white-space: nowrap;
  font: 700 clamp(26px, 3.4vw, 54px)/1 var(--display); text-transform: uppercase;
  padding: .32em 0;
}
.tape--volt { background: var(--volt); color: var(--ink); transform: translateY(-50%) rotate(-3.2deg); z-index: 2; }
.tape--ink { background: var(--bone); color: var(--ink); transform: translateY(-50%) rotate(2.4deg); }
.tape__track { display: inline-flex; will-change: transform; }
.tape__track span { padding-right: .3em; }

/* =========================================================
   2. ПАУЗА — светлое типографическое поле
   ========================================================= */
.pause {
  background: var(--bone); color: var(--ink);
  padding: clamp(120px, 16vw, 240px) var(--g) clamp(90px, 12vw, 180px);
}
.pause .kicker { color: var(--ink); }
.pause__text {
  font: 700 clamp(40px, 7.2vw, 128px)/.92 var(--display); text-transform: uppercase; letter-spacing: -.01em;
  max-width: 15ch; hyphens: manual;
}
.pause__text .w { display: inline-block; }
.pause__pill {
  display: inline-block; vertical-align: middle; position: relative;
  width: 2.2em; height: .78em; border-radius: 999px; margin: -.1em .08em 0;
  background-color: var(--ink);
}
.pause__pill::after { opacity: .5; }

/* =========================================================
   3. НАПРАВЛЕНИЯ
   ========================================================= */
.dirs-sec { padding: clamp(90px, 12vw, 170px) 0 0; }
.sec-head { padding: 0 var(--g) clamp(40px, 5vw, 72px); }
.sec-head .h-xl { max-width: 12ch; }

.dirs { display: flex; height: min(92svh, 980px); min-height: 640px; gap: 6px; }
.dir {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; isolation: isolate;
  transition: flex-grow .9s var(--ease-io);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(20px, 3vw, 48px);
}
.dir.is-active { flex-grow: 3.1; }
.dir__media { position: absolute; inset: 0; z-index: -1; }
.dir__media .slot { position: absolute; inset: 0; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); }
.dir__media .slot.is-on { clip-path: inset(0 0 0 0); z-index: 1; }
.dir__media .slot.is-leaving { clip-path: inset(0 0 0 0); z-index: 0; }
.dir__media .slot__tag { top: 20px; bottom: auto; }
.dir::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, transparent 30%, rgba(12, 13, 11, .88));
  transition: background-color .6s;
}
.dir:not(.is-active)::after { background-color: rgba(12, 13, 11, .45); }

.dir__head { display: block; text-align: left; width: 100%; }
.dir__head .num { color: var(--volt); display: block; margin-bottom: 10px; }
.dir__title {
  display: block; white-space: nowrap;
  font: 700 clamp(64px, 9.6vw, 176px)/.82 var(--display); text-transform: uppercase; letter-spacing: -.02em;
  transition: color .4s, -webkit-text-stroke-color .4s;
}
.dir:not(.is-active) .dir__title { color: transparent; -webkit-text-stroke: 1.5px var(--bone); }
.dir:not(.is-active):hover .dir__title { color: var(--volt); -webkit-text-stroke-color: var(--volt); }

/* Подсказка на свёрнутой панели: стрелка в сторону соседнего направления */
.dir__peek {
  position: absolute; z-index: 3; top: 46%; left: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.dir:not(.is-active) .dir__peek { opacity: 1; transition: opacity .5s .55s; }
.dir__peek i {
  display: grid; place-items: center; width: clamp(76px, 7vw, 112px); aspect-ratio: 1; border-radius: 50%;
  background: var(--volt); color: var(--ink); font: 700 clamp(34px, 3.2vw, 50px)/1 var(--display); font-style: normal;
  box-shadow: 0 0 0 10px rgba(210, 255, 31, .14), 0 0 0 22px rgba(210, 255, 31, .06);
  animation: peek 1.5s var(--ease) infinite;
  transition: scale .35s var(--ease);
}
.dir__peek b { font: 600 13px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--bone); white-space: nowrap; }
.dir[data-dir="fight"] { --dx: 12px; }
.dir[data-dir="acro"] { --dx: -12px; }
.dir:not(.is-active):hover .dir__peek i { scale: 1.12; }
@keyframes peek { 50% { translate: var(--dx, 0) var(--dy, 0); } }

.dir__body {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 40px; align-items: end;
  max-height: 520px; overflow: hidden; padding-top: 24px;
  transition: opacity .5s .35s, max-height .8s var(--ease-io), padding .8s var(--ease-io);
}
.dir:not(.is-active) .dir__body { opacity: 0; max-height: 0; padding-top: 0; transition: opacity .2s, max-height .6s var(--ease-io), padding .6s; pointer-events: none; }
.dir__lead { grid-column: 1 / -1; font-size: clamp(17px, 1.3vw, 20px); color: var(--muted); max-width: 46ch; }
.dir__list { display: flex; flex-wrap: wrap; gap: 8px; grid-column: 1; }
.dir__list button {
  font: 600 15px/1 var(--text); padding: 11px 15px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(12, 13, 11, .5); backdrop-filter: blur(6px);
  transition: background-color .25s, color .25s, border-color .25s;
}
.dir__list button:hover, .dir__list button.is-on { background: var(--volt); color: var(--ink); border-color: var(--volt); }
.dir__also { grid-column: 1; font-size: 14px; color: var(--muted); }
.dir .cta--sm { grid-column: 2; grid-row: 2 / span 2; min-width: 300px; }

.todo-box {
  grid-column: 1; border: 1.5px dashed rgba(255, 92, 51, .7); padding: 16px 18px; max-width: 460px;
  background: rgba(12, 13, 11, .55);
}
.todo-box span { font: 600 12px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: #ff7a52; }
.todo-box p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* =========================================================
   4. ПУТЬ ЧЕМПИОНА — горизонтальный эпизод
   ========================================================= */
.path { position: relative; padding-top: clamp(80px, 10vw, 150px); }
.path__pin { position: relative; }
.path__track { display: flex; align-items: stretch; gap: clamp(12px, 1.4vw, 20px); padding: 0 var(--g) 20px; height: min(78svh, 760px); overflow-x: auto; scroll-snap-type: x mandatory; }
.path__track > * { scroll-snap-align: start; }
.path__bar { display: none; position: absolute; left: var(--g); right: var(--g); bottom: 4svh; height: 2px; background: var(--line); }
/* закреплённый режим — только когда работает GSAP */
.motion-ready .path__pin { height: 100svh; overflow: hidden; display: flex; align-items: center; }
.motion-ready .path__track { overflow: visible; scroll-snap-type: none; padding-bottom: 0; will-change: transform; }
.motion-ready .path__bar { display: block; }
.path__bar i { position: absolute; inset: 0; background: var(--volt); transform-origin: 0 50%; transform: scaleX(0); }

.pp { position: relative; flex: none; width: clamp(300px, 34vw, 560px); padding: clamp(22px, 2.6vw, 40px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.pp h3 { font: 700 clamp(40px, 4.6vw, 82px)/.88 var(--display); text-transform: uppercase; letter-spacing: -.01em; margin: 14px 0 16px; hyphens: manual; }
.pp p { font-size: clamp(16px, 1.2vw, 19px); max-width: 32ch; }
.pp .num { color: inherit; opacity: .7; }

.pp--intro { width: clamp(320px, 46vw, 760px); justify-content: center; padding-left: 0; }
.pp--intro { overflow: visible; }
.pp--intro .h-xl { font-size: clamp(64px, 9.2vw, 176px); }
.pp__lead { margin-top: 28px; color: var(--muted); max-width: 34ch !important; }
.pp__hint { margin-top: 36px; font: 600 13px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--volt); }
.pp__hint i { display: inline-block; font-style: normal; animation: nudge 1.4s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }

.pp--media { width: clamp(300px, 40vw, 680px); color: var(--bone); }
.pp--wide { width: clamp(320px, 56vw, 960px); }
.pp--media .slot { position: absolute; inset: 0; z-index: -1; }
.pp--media .slot__tag { top: 16px; bottom: auto; }
.pp--media::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(12, 13, 11, .9)); }
.pp--volt { background: var(--volt); color: var(--ink); width: clamp(280px, 28vw, 460px); }
.pp--bone { background: var(--bone); color: var(--ink); width: clamp(280px, 30vw, 500px); justify-content: space-between; }
.pp--bone h3 { font-size: clamp(44px, 5.4vw, 96px); }
.pp--ink { background: var(--ink-3); width: clamp(300px, 34vw, 560px); }
.pp--ink .ulink { margin-top: 24px; font-weight: 600; align-self: flex-start; }

/* =========================================================
   5. ДОСТИЖЕНИЯ — вольтовое поле
   ========================================================= */
.wins {
  background: var(--volt); color: var(--ink); position: relative; overflow: hidden;
  padding: clamp(90px, 11vw, 170px) var(--g) clamp(70px, 9vw, 140px);
  margin-top: clamp(80px, 10vw, 150px);
}
.wins__head .h-lg { max-width: 11ch; }
.wins__list { display: grid; grid-template-columns: repeat(12, 1fr); margin-top: clamp(40px, 6vw, 90px); row-gap: 10px; }
.win { display: flex; align-items: flex-end; gap: 18px; border-top: 2px solid var(--ink); padding-top: 10px; }
.win b { font: 700 clamp(110px, 21vw, 380px)/.78 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.win span { font: 600 clamp(17px, 1.6vw, 26px)/1.1 var(--text); padding-bottom: .6em; max-width: 9ch; }
.win--a { grid-column: 1 / span 5; }
.win--b { grid-column: 7 / span 6; margin-top: 12vw; }
.win--c { grid-column: 2 / span 6; }
.win--d { grid-column: 8 / span 5; margin-top: 8vw; }
.wins__note { margin: clamp(40px, 5vw, 70px) 0 0 auto; max-width: 30ch; font: 500 clamp(18px, 1.6vw, 24px)/1.3 var(--text); }

/* =========================================================
   6. ПРОСТРАНСТВО
   ========================================================= */
.space { padding: clamp(70px, 8vw, 120px) 0 clamp(80px, 10vw, 160px); }
.space__frame { position: relative; height: 100svh; min-height: 560px; overflow: hidden; display: flex; align-items: flex-end; }
.space__media { position: absolute; inset: -8% 0; }
.space__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(12, 13, 11, .75)); pointer-events: none; }
.space__title {
  position: relative; z-index: 2; padding: 0 var(--g) .1em;
  font: 700 clamp(64px, 13.5vw, 260px)/.8 var(--display); text-transform: uppercase; letter-spacing: -.02em;
  max-width: 8ch; margin-bottom: -.12em;
}
.space__collage {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2vw, 28px);
  padding: clamp(60px, 8vw, 120px) var(--g) 0; align-items: start;
}
.space__a { grid-column: 1 / span 4; aspect-ratio: 3 / 4; margin-top: 10vw; }
.space__text { grid-column: 6 / span 7; }
.big-copy { font: 600 clamp(26px, 2.7vw, 44px)/1.12 var(--text); letter-spacing: -.01em; }
.space__hours { display: flex; align-items: baseline; gap: 18px; margin-top: 36px; border-top: 1px solid var(--line); padding-top: 18px; }
.space__hours span { color: var(--muted); }
.space__hours b { font: 700 clamp(44px, 5vw, 84px)/1 var(--display); color: var(--volt); }
.space__b { grid-column: 7 / span 7; margin-right: calc(var(--g) * -1); aspect-ratio: 16 / 10; margin-top: -2vw; }

/* =========================================================
   7. ТРЕНЕРЫ
   ========================================================= */
.coaches { padding: clamp(80px, 10vw, 150px) var(--g); background: var(--ink-2); }
.coaches__top { display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: clamp(60px, 8vw, 120px); }
.coaches__top .h-xl { max-width: 10ch; }
.coaches__lead { max-width: 52ch; color: var(--muted); font-size: clamp(17px, 1.3vw, 20px); margin-left: auto; }

.feature { display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; gap: 0; margin-bottom: clamp(70px, 9vw, 140px); }
.feature__photo { grid-column: 1 / span 6; grid-row: 1; aspect-ratio: 4 / 5; }
/* студийные портреты на белом фоне: затемняем край, на который заходит имя */
.feature__photo .slot__media { filter: grayscale(1) contrast(1.1) brightness(.88); object-position: 50% 18%; }
.feature__photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, transparent 40%, rgba(22, 24, 20, .55) 72%, rgba(22, 24, 20, .95));
}
.feature--flip .feature__photo::before { background: linear-gradient(270deg, transparent 40%, rgba(22, 24, 20, .55) 72%, rgba(22, 24, 20, .95)); }
.feature__name { text-shadow: 0 .03em .25em rgba(12, 13, 11, .35); }
.feature__txt { grid-column: 6 / span 7; grid-row: 1; position: relative; z-index: 2; padding-bottom: 6%; }
.feature__role { font: 600 13px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--volt); margin-bottom: 16px; }
.feature__name { font: 700 clamp(64px, 9.6vw, 176px)/.82 var(--display); text-transform: uppercase; letter-spacing: -.02em; margin-left: -.06em; }
.feature__quote { margin-top: 26px; max-width: 34ch; font: 500 clamp(18px, 1.5vw, 23px)/1.35 var(--text); margin-left: 16%; }
.feature__quote span { background: var(--volt); color: var(--ink); padding: 0 .2em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.feature--flip .feature__photo { grid-column: 8 / span 5; aspect-ratio: 3 / 4; }
.feature--flip .feature__txt { grid-column: 1 / span 8; text-align: right; }
.feature--flip .feature__name { margin: 0 -.06em 0 0; }
.feature--flip .feature__quote { margin: 26px 18% 0 auto; text-align: left; }
.feature--fight { position: relative; align-items: start; }
.feature--fight .feature__photo { aspect-ratio: 3 / 4; }
.feature--fight .feature__txt { padding: 4vw 0 0; }
.feature--fight .feature__quote, .medals { margin-left: 16%; }
.feature__inset {
  position: absolute; z-index: 3; left: 23%; bottom: -7%; width: 25%; aspect-ratio: 3 / 2;
  outline: 8px solid var(--ink-2);
}
.medals { margin-top: 28px; max-width: 46ch; border-top: 1px solid var(--line); }
.medals li { display: flex; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: clamp(15px, 1.1vw, 17px); line-height: 1.35; }
.medals b {
  flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  font: 700 14px/1 var(--display); color: var(--ink); transform: translateY(5px);
}
.medals .m1 { background: var(--volt); }
.medals .m2 { background: var(--bone); }
.medals .m3 { background: transparent; color: var(--bone); box-shadow: inset 0 0 0 1.5px var(--bone); }

.roster { position: relative; border-top: 2px solid var(--bone); }
.roster__cap { font: 600 13px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 18px 0; }
.roster__peek {
  position: fixed; left: 0; top: 0; width: 220px; aspect-ratio: 3 / 4; z-index: 60; pointer-events: none;
  opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease);
}
.roster__peek.is-on { opacity: 1; transform: scale(1); }
.roster__peek .slot__tag { font-size: 10px; }
.coach { border-top: 1px solid var(--line); }
.coach summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; gap: 24px;
  padding: 18px 0; position: relative;
}
.coach summary::-webkit-details-marker { display: none; }
.coach__name { font: 700 clamp(32px, 4.4vw, 76px)/.95 var(--display); text-transform: uppercase; transition: color .3s, transform .5s var(--ease); }
.coach__spec { color: var(--muted); font-size: 15px; text-align: right; }
.coach__exp { font: 600 13px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--volt); min-width: 64px; text-align: right; }
.coach summary:hover .coach__name, .coach[open] .coach__name { color: var(--volt); transform: translateX(14px); }
.coach { display: flow-root; }
.coach__pic { float: left; width: clamp(110px, 12vw, 170px); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; margin: 4px 24px 26px 14px; filter: grayscale(1) contrast(1.08); }
.coach p { padding: 0 0 26px 14px; max-width: 70ch; color: var(--muted); }
.roster__peek .slot__media:not([src]) { display: none; }
.roster__peek .slot__media { object-position: 50% 15%; }

/* =========================================================
   8. ФИЛИАЛЫ
   ========================================================= */
.branches {
  background: var(--bone); color: var(--ink); position: relative;
  padding: clamp(90px, 11vw, 170px) var(--g);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(14px, 2vw, 28px);
}
.branches__head { grid-column: 1 / -1; margin-bottom: clamp(40px, 6vw, 90px); }
.branch { position: relative; }
.branch--1 { grid-column: 1 / span 7; }
.branch--2 { grid-column: 6 / span 7; margin-top: clamp(60px, 8vw, 140px); }
.branch__addr {
  display: flex; flex-direction: column;
  font: 700 clamp(56px, 8.6vw, 156px)/.82 var(--display); text-transform: uppercase; letter-spacing: -.02em;
}
.branch__addr span + span { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.branch--2 .branch__addr { align-items: flex-end; text-align: right; }
.branch__where { margin: 18px 0 26px; font-weight: 500; }
.branch--2 .branch__where { text-align: right; }
.branch__grid { display: grid; grid-template-columns: auto 1fr; gap: 20px 32px; border-top: 2px solid var(--ink); padding-top: 22px; margin-bottom: 22px; }
.price__cap { display: block; font: 600 12px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; opacity: .7; }
.price__num { display: block; font: 700 clamp(48px, 5.4vw, 92px)/.9 var(--display); }
.price__sub { display: block; margin-top: 6px; font-weight: 500; }
.price dl { display: grid; grid-template-columns: auto auto; gap: 6px 18px; justify-content: start; font-weight: 500; }
.price dd { font-weight: 700; }
.branch__dirs { grid-column: 1 / -1; font-size: 15px; line-height: 1.6; opacity: .8; }
.branch__dirs mark { background: var(--volt); color: var(--ink); padding: 0 .25em; }
.branches__foot { grid-column: 1 / span 6; margin-top: clamp(40px, 6vw, 90px); font-size: 16px; max-width: 48ch; }
.branches__foot b { display: block; font: 700 clamp(40px, 4.4vw, 72px)/1 var(--display); margin-bottom: 8px; }

/* =========================================================
   9. ЗАПИСЬ
   ========================================================= */
.signup {
  position: relative; overflow: hidden;
  padding: clamp(90px, 11vw, 170px) var(--g) clamp(80px, 10vw, 150px);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(14px, 2vw, 28px);
}
.signup__title {
  grid-column: 1 / -1;
  font: 700 clamp(68px, 15.5vw, 300px)/.8 var(--display); text-transform: uppercase; letter-spacing: -.025em;
  color: var(--volt); margin-bottom: clamp(40px, 5vw, 80px);
}
.form { grid-column: 4 / span 9; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.chips { grid-column: 1 / -1; border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { font: 600 12px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; padding: 0; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span {
  display: inline-block; padding: 14px 22px; border: 1.5px solid var(--line); border-radius: 999px;
  font: 600 clamp(16px, 1.3vw, 19px)/1 var(--text);
  transition: background-color .25s, color .25s, border-color .25s, transform .2s var(--ease);
}
.chips label:hover span { border-color: var(--bone); }
.chips input:checked + span { background: var(--volt); border-color: var(--volt); color: var(--ink); }
.chips input:focus-visible + span { outline: 3px solid var(--volt); outline-offset: 3px; }
.chips input:active + span { transform: scale(.96); }
.field { display: flex; flex-direction: column; gap: 10px; }
.field > span { font: 600 12px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input {
  font: 500 clamp(22px, 2vw, 30px)/1.2 var(--text); color: var(--bone); background: transparent;
  border: 0; border-bottom: 2px solid var(--line); padding: 8px 0 12px; border-radius: 0;
  transition: border-color .3s;
}
.field input::placeholder { color: rgba(239, 235, 226, .3); }
.field input:focus { outline: none; border-bottom-color: var(--volt); }
.field input.is-bad { border-bottom-color: #ff6a42; }
.check { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--volt); flex: none; }
.check.is-bad span { color: #ff8a66; }
.check .ulink { display: inline; color: var(--bone); }
.form__legal { grid-column: 1 / -1; margin-top: -8px; font-size: 13px; color: var(--muted); }
.submit {
  grid-column: 1 / -1; position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between;
  min-height: clamp(96px, 11vw, 150px); padding: 0 clamp(20px, 3vw, 44px);
  background: var(--volt); color: var(--ink);
  font: 700 clamp(44px, 6vw, 104px)/1 var(--display); text-transform: uppercase;
  transition: color .4s, transform .2s var(--ease);
}
.submit::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bone); transform: translateX(-101%); transition: transform .6s var(--ease-io); }
.submit:hover::before, .submit:focus-visible::before { transform: translateX(0); }
.submit i { font-style: normal; transition: transform .5s var(--ease); }
.submit:hover i { transform: translateX(14px) rotate(-20deg); }
.submit:active { transform: scale(.985); }
.form[hidden] { display: none; }
.callcta { grid-column: 4 / span 9; grid-row: 2; display: grid; gap: clamp(20px, 2.4vw, 32px); align-content: start; }
.callcta__lead { max-width: 34ch; font: 500 clamp(20px, 1.9vw, 28px)/1.35 var(--text); }
.callcta__num { color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); font-variant-numeric: tabular-nums; }
.form__msg { grid-column: 1 / -1; min-height: 1.5em; font-size: 16px; font-weight: 500; }
.form__msg.is-ok { color: var(--volt); }
.form__msg.is-bad { color: #ff8a66; }
.signup__alt { grid-column: 4 / span 9; margin-top: 18px; color: var(--muted); }
.signup__media { grid-column: 1 / span 3; grid-row: 2 / span 2; align-self: start; aspect-ratio: 3 / 5; margin-top: calc(clamp(40px, 5vw, 80px) * -1.6); }
/* смена фото: шов идёт через кадр, за ним — вольтовая полоса */
.signup__media .slot__media { transition: clip-path .9s var(--ease-io); }
.signup__media [data-show-as="gym"] { clip-path: inset(0 100% 0 0); }
.signup__media [data-show-as="fight"] { clip-path: inset(0 0 0 100%); }
.signup__media[data-show="gym"] [data-show-as="gym"],
.signup__media[data-show="fight"] [data-show-as="fight"] { clip-path: inset(0 0 0 0); }
.signup__wipe { position: absolute; top: 0; bottom: 0; left: 100%; width: 12px; z-index: 2; background: var(--volt); transition: left .9s var(--ease-io); }
.signup__media[data-show="fight"] .signup__wipe { left: -12px; }
.signup .form { grid-row: 2; }
.signup .signup__alt { grid-row: 3; }
.signup__alt a { color: var(--bone); font-weight: 600; }

/* =========================================================
   ПОДВАЛ
   ========================================================= */
.foot { border-top: 1px solid var(--line); padding: clamp(50px, 6vw, 90px) var(--g) 24px; overflow: hidden; }
/* Соцсети — крупные типографические ссылки */
.soc { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--bone); border-bottom: 1px solid var(--line); margin-bottom: clamp(40px, 5vw, 70px); }
.soc__link {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: clamp(18px, 2.2vw, 30px) clamp(14px, 1.6vw, 24px);
  font: 700 clamp(30px, 4.4vw, 76px)/1 var(--display); text-transform: uppercase; letter-spacing: -.01em;
  transition: color .35s var(--ease);
}
.soc__link + .soc__link { border-left: 1px solid var(--line); }
.soc__link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--volt); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--ease-io); }
.soc__link i { display: inline-block; font-style: normal; color: var(--volt); transform: rotate(-45deg); transition: transform .5s var(--ease), color .35s; }
.soc__link:hover, .soc__link:focus-visible { color: var(--ink); }
.soc__link:hover::before, .soc__link:focus-visible::before { transform: scaleY(1); }
.soc__link:hover i, .soc__link:focus-visible i { color: var(--ink); transform: translate(6px, -6px) rotate(0deg); }
.soc__link:active { transform: scale(.98); }
.menu__soc { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; font-weight: 600; font-size: 17px; }
.menu__soc a { border-bottom: 2px solid var(--ink); }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot__cols > div { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 16px; }
.foot__cols > div p:not(.kicker) { color: var(--muted); }
.foot__mark {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 .2em;
  margin: clamp(60px, 8vw, 120px) 0 18px;
  font: 700 clamp(56px, 12.4vw, 236px)/.8 var(--display); text-transform: uppercase; letter-spacing: -.025em;
  color: var(--volt);
}
.foot__legal { font-size: 13px; color: var(--muted); }

/* =========================================================
   СТАРТОВЫЕ СОСТОЯНИЯ ДЛЯ АНИМАЦИЙ (только при .motion)
   ========================================================= */
.motion .hero__title .line > span { transform: translateY(105%); }
.motion .hero__base, .motion .badge { opacity: 0; }
.motion [data-split] { visibility: hidden; }

/* =========================================================
   АДАПТИВ
   ========================================================= */
@media (max-width: 1100px) {
  .hdr__nav, .hdr__phone { display: none; }
  .burger { display: block; }
  .hdr { gap: 12px; }
}

@media (max-width: 860px) {
  :root { --hdr: 64px; }
  .pill { height: 42px; padding-left: 16px; font-size: 14px; }
  .pill .arr { width: 28px; height: 28px; }
  .logo__txt { font-size: 13px; }
  .logo__mark { width: 28px; height: 28px; }

  .hero { padding-top: calc(var(--hdr) + 4vh); }
  .hero__title { font-size: clamp(60px, 19.6vw, 150px); line-height: .82; }
  .hero__title .line--2 > span { display: block; }
  .hero__title .line--2 { text-align: right; }
  .badge { left: var(--g); top: calc(var(--hdr) + 4vh + 19.6vw * .82 + 2vw); translate: none; width: clamp(96px, 24vw, 140px); }
  .hero__base { grid-template-columns: 1fr 1fr; }
  .hero__dirs { grid-column: 1 / -1; padding: 14px 0; flex-direction: row; flex-wrap: wrap; gap: 6px 18px; }
  .hero__dirs a { font-size: 16px; gap: 8px; }
  .cta { min-height: 84px; font-size: clamp(22px, 6vw, 30px); padding: 14px 16px; }
  .cta--ghost { border-left: 0; border-top: 1px solid var(--line); }
  .cta__label small { font-size: 12px; margin-top: 5px; }
  .hero__media .slot__tag { top: auto; right: auto; left: var(--g); bottom: 200px; }

  .dirs { flex-direction: column; height: auto; min-height: 0; }
  .dir { flex: none; height: 22svh; min-height: 150px; transition: height .8s var(--ease-io); }
  .dir.is-active { height: auto; min-height: 78svh; padding-top: 72px; }
  .dir__title { font-size: clamp(46px, 14vw, 110px); }
  .dir__body { max-height: 1400px; }
  .dir:not(.is-active) .slot__tag { display: none; }
  .dir__peek { top: 22px; left: auto; right: 20px; transform: none; }
  .dir__peek b { display: none; }
  .dir__peek i { width: 60px; font-size: 30px; rotate: 90deg; box-shadow: 0 0 0 8px rgba(210, 255, 31, .14); }
  .dir[data-dir="fight"] { --dx: 0px; --dy: 8px; }
  .dir[data-dir="acro"] { --dx: 0px; --dy: -8px; }
  .dir__body { grid-template-columns: 1fr; }
  .dir .cta--sm { grid-column: 1; grid-row: auto; min-width: 0; }

  .pp { width: 82vw !important; }
  .pp--intro { width: 88vw !important; }
  /* На телефоне эпизод прижат к шапке, а не к центру экрана: иначе сверху пустота */
  .path { padding-top: 48px; }
  .path__track { height: 72svh; }
  .motion-ready .path__pin { align-items: flex-start; padding-top: calc(var(--hdr) + 12px); }
  .motion-ready .path__track { height: calc(100svh - var(--hdr) - 12px - 9svh); }
  .pp--intro { justify-content: flex-start; padding-top: 8px; }

  .wins__list { grid-template-columns: 1fr 1fr; column-gap: 14px; }
  .win { flex-direction: column; align-items: flex-start; gap: 8px; }
  .win b { font-size: clamp(96px, 30vw, 200px); }
  .win span { padding-bottom: 0; }
  .win--a { grid-column: 1; } .win--b { grid-column: 2; margin-top: 16vw; }
  .win--c { grid-column: 1; } .win--d { grid-column: 2; margin-top: 16vw; }

  .space__frame { height: 86svh; }
  .space__collage { grid-template-columns: repeat(6, 1fr); }
  .space__a { grid-column: 1 / span 3; margin-top: 0; }
  .space__text { grid-column: 1 / -1; grid-row: 1; margin-bottom: 20px; }
  .space__b { grid-column: 3 / span 4; margin-top: 30vw; }

  .feature__photo { grid-column: 1 / span 9; }
  .feature__txt { grid-column: 1 / -1; grid-row: 2; margin-top: -18vw; padding-bottom: 0; }
  .feature__quote { margin-left: 0; }
  /* Подпись заходит на светлое фото: на тёмной плашке она читается */
  .feature__role { display: inline-block; max-width: 100%; padding: 6px 8px; margin-bottom: 10px; line-height: 1.35; background: var(--ink); }
  .feature--flip .feature__photo { grid-column: 4 / span 9; }
  .feature--flip .feature__txt { grid-column: 1 / -1; }
  .feature--flip .feature__quote { margin-right: 0; }
  .feature--fight .feature__txt { margin-top: 0; padding-top: 28px; }
  .feature--fight .feature__quote, .medals { margin-left: 0; }
  .feature__inset { position: relative; left: auto; bottom: auto; grid-column: 4 / span 9; grid-row: 2; width: auto; margin-top: -16vw; }
  .feature--fight .feature__txt { grid-row: 3; }
  .coach summary { grid-template-columns: 1fr auto; gap: 6px 14px; }
  .coach__spec { grid-row: 2; text-align: left; font-size: 14px; }
  .coach__exp { grid-row: 1 / span 2; align-self: center; }
  .roster__peek { display: none; }

  .pause__text { font-size: clamp(30px, 9.2vw, 64px); }
  .feature__name { font-size: clamp(48px, 15vw, 96px); }
  .branch--1, .branch--2 { grid-column: 1 / -1; }
  .branch--2 { margin-top: 80px; }
  .branch__grid { grid-template-columns: 1fr; }
  .branches__foot { grid-column: 1 / -1; }

  .form, .signup__alt, .callcta { grid-column: 1 / -1; }
  .callcta { grid-row: auto; }
  .signup__media { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 5; margin: 0 0 32px; }
  .signup__media [data-show-as="gym"] { object-position: 50% 0; }
  .signup .form, .signup .signup__alt { grid-row: auto; }
  .form { grid-template-columns: 1fr; }
  .chips span { padding: 12px 16px; }

  .foot__cols { grid-template-columns: 1fr 1fr; }
  .soc { grid-template-columns: 1fr; }
  .soc__link + .soc__link { border-left: 0; border-top: 1px solid var(--line); }
  .foot__mark { flex-direction: column; }
}

@media (max-width: 380px) {
  .hdr { gap: 8px; }
  .logo { gap: 8px; }
  .logo__txt { font-size: 12px; }
  .pill { padding-left: 13px; font-size: 13px; }
}
@media (max-width: 340px) {
  .logo__txt { font-size: 10.5px; letter-spacing: .02em; }
  .pill .arr { display: none; }
  .pill { padding-right: 13px; }
}

/* =========================================================
   ОНЛАЙН-ЧАТ
   ========================================================= */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 80; font-family: var(--text); }
.chat [hidden] { display: none !important; }
.chat__fab {
  position: relative; display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 24px 0 20px;
  border-radius: 999px; background: var(--volt); color: var(--ink);
  font: 600 18px/1 var(--display); text-transform: uppercase; letter-spacing: .04em;
  box-shadow: 0 0 0 2px var(--ink), 0 10px 30px rgba(0, 0, 0, .45); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.chat__fab svg { width: 22px; height: 22px; }
.chat__fab:hover { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--ink), 0 14px 34px rgba(0, 0, 0, .55); }
.chat__fab:active { transform: scale(.96); }
.chat__badge {
  position: absolute; top: -6px; right: -4px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px;
  display: grid; place-items: center; background: var(--ink); color: var(--volt); border: 2px solid var(--volt);
  font: 600 12px/1 var(--text);
}
.chat__panel {
  position: absolute; right: 0; bottom: calc(100% + 14px); width: 380px; height: min(580px, calc(100dvh - 120px));
  display: flex; flex-direction: column; background: var(--ink-2); color: var(--bone);
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
  transform-origin: 100% 100%; opacity: 0; visibility: hidden; translate: 0 18px; scale: .96;
  transition: opacity .3s var(--ease), translate .45s var(--ease), scale .45s var(--ease), visibility 0s .45s;
}
.chat.is-open .chat__panel { opacity: 1; visibility: visible; translate: 0 0; scale: 1; transition-delay: 0s; }
.chat__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 14px 20px; background: var(--volt); color: var(--ink); }
.chat__title { font: 600 24px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.chat__sub { display: flex; align-items: center; gap: 7px; margin-top: 6px; font-size: 13px; opacity: .8; }
.chat__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: chatPulse 2s infinite; }
@keyframes chatPulse { 50% { opacity: .25; } }
.chat__x { width: 40px; height: 40px; border-radius: 50%; font-size: 26px; line-height: 1; transition: background .25s; }
.chat__x:hover { background: rgba(12, 13, 11, .12); }
.chat__log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.chat__msg { max-width: 86%; display: flex; flex-direction: column; }
.chat__msg span { padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.42; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat__msg small { margin-top: 4px; padding: 0 6px; font-size: 11px; color: var(--muted); }
.chat__msg--op { align-self: flex-start; }
.chat__msg--op span { background: var(--ink-3); border-bottom-left-radius: 4px; }
.chat__msg--me { align-self: flex-end; align-items: flex-end; }
.chat__msg--me span { background: var(--volt); color: var(--ink); border-bottom-right-radius: 4px; }
.chat__msg.is-pending { opacity: .55; }
.chat__msg.is-failed span { background: transparent; color: var(--bone); outline: 1px dashed #ff8a6e; }
.chat__msg.is-failed small { color: #ff8a6e; }
.chat__msg--bot small { color: var(--volt); }
.chat__typing span { display: flex; gap: 5px; padding: 14px 16px; }
.chat__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: chatDot 1.2s infinite; }
.chat__typing i:nth-child(2) { animation-delay: .15s; }
.chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chatDot { 0%, 60%, 100% { opacity: .3; translate: 0 0; } 30% { opacity: 1; translate: 0 -4px; } }
.chat__note { font-size: 11px; line-height: 1.35; color: var(--muted); padding: 0 4px; }
.chat__consent { display: flex; gap: 8px; align-items: flex-start; padding: 0 4px; font-size: 11px; line-height: 1.35; color: var(--muted); cursor: pointer; }
.chat__consent[hidden] { display: none; }
.chat__consent input { width: 16px; height: 16px; margin: 0; flex: none; accent-color: var(--volt); }
.chat__consent .ulink { display: inline; color: var(--bone); }
.chat__consent.is-bad span { color: #ff8a66; }
.chat__quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.chat__quick button { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; transition: border-color .25s, color .25s; }
.chat__quick button:hover { border-color: var(--volt); color: var(--volt); }
.chat__form { padding: 12px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.chat__name, .chat__form textarea {
  width: 100%; background: var(--ink); color: var(--bone); border: 1px solid var(--line); border-radius: 14px;
  font: 400 15px/1.4 var(--text); padding: 11px 14px; outline: none; transition: border-color .25s;
}
.chat__name:focus, .chat__form textarea:focus { border-color: var(--volt); }
.chat__row { display: flex; gap: 8px; align-items: flex-end; }
.chat__form textarea { resize: none; max-height: 120px; }
.chat__send {
  flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--volt); color: var(--ink);
  font-size: 22px; transition: transform .25s var(--ease);
}
.chat__send:hover { transform: translateX(2px); }
.chat__send:active { transform: scale(.92); }

@media (max-width: 600px) {
  .chat { right: 14px; bottom: 14px; }
  .chat__fab { height: 52px; padding: 0 20px 0 16px; font-size: 16px; }
  .chat__panel { position: fixed; inset: auto 0 0; width: 100%; height: min(85dvh, 640px); border-radius: 22px 22px 0 0; border-bottom: 0; transform-origin: 50% 100%; }
  .chat.is-open .chat__fab { opacity: 0; pointer-events: none; }
  .chat__form textarea, .chat__name { font-size: 16px; } /* без автозума в iOS */
}

/* =========================================================
   УМЕНЬШЕННОЕ ДВИЖЕНИЕ
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .slot__orbit { display: none; }
}

a[href^="tel:"] { white-space: nowrap; }
