@font-face {
  font-family: "Gramatika Regular";
  src: url("assets/fonts/Gramatika-Regular.otf") format("opentype"),
       url("Gramatika Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000000;
  --surface: #070707;
  --surface-2: #0F0F0F;
  --fg: #FFFFFF;
  --fg-dim: #B5B5B5;
  --fg-muted: rgba(255, 255, 255, 0.45);
  --red: #FF1E1E;
  --red-glow: rgba(255, 30, 30, 0.45);
  --red-soft: rgba(255, 30, 30, 0.12);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.3);
  --header-h: 72px;
  --rail-w: 64px;
  --font: "Gramatika Regular", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-weight: 400;
  font-style: normal;
  font-synthesis: none;
}

html {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  line-height: 1.55;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

h1, h2, h3, h4, strong, b, em, i, th, button, input, textarea, select, label, svg text {
  font-family: var(--font);
  font-weight: 400;
  font-style: normal;
  font-synthesis: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.curtain-box:focus-visible {
  outline: 1px solid var(--red);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 2500;
  background: var(--bg);
  color: var(--red);
  padding: 10px 16px;
  border: 1px solid var(--red);
  font-size: 0.85rem;
}

.skip-link:focus {
  top: 16px;
}

/* Фоновый canvas измерений */
.dimension-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
}

/* Левая вертикальная шкала измерений 0D -> 4D */
.dim-rail {
  display: none;
}

@media (min-width: 1120px) {
  .dim-rail {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 12px 0;
  }
}

.dim-rail-track {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 50%;
  width: 1px;
  background: var(--line);
  transform: translateX(-50%);
  pointer-events: none;
}

.dim-rail-progress {
  width: 100%;
  height: 0%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red-glow);
  transition: height 0.15s linear;
}

.dim-rail-node {
  position: relative;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.85);
  color: var(--fg-muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.dim-rail-node:hover {
  border-color: var(--fg);
  color: var(--fg);
}

.dim-rail-node.is-active {
  border-color: var(--red);
  color: var(--fg);
  background: rgba(255, 30, 30, 0.16);
  box-shadow: 0 0 16px var(--red-glow);
  transform: scale(1.1);
}

/* Контейнер с учетом левой шкалы на широких экранах */
.container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
}

@media (min-width: 1120px) {
  .container {
    padding: 0 56px 0 92px;
  }
}

/* Шапка */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.header-inner {
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (min-width: 768px) {
  .header-inner {
    padding: 0 36px;
  }
}

.brand-logo {
  font-size: 0.95rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.brand-logo:hover {
  color: var(--red);
}

.desktop-nav {
  display: none;
}

@media (min-width: 980px) {
  .desktop-nav {
    display: block;
  }
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding: 6px 0;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--fg);
}

.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Кнопка музыки + эквалайзер */
.audio-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.65);
  color: var(--fg-dim);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.audio-btn:hover {
  border-color: var(--fg);
  color: var(--fg);
}

.audio-btn.is-playing {
  border-color: var(--red);
  color: var(--fg);
  background: var(--red-soft);
}

.eq-bars {
  display: none;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.audio-btn.is-playing .eq-bars {
  display: inline-flex;
}

.eq-bar {
  width: 2px;
  height: 3px;
  background: var(--fg-muted);
  transition: height 0.2s ease, background-color 0.2s ease;
}

.audio-btn.is-playing .eq-bar {
  background: var(--red);
  animation: eqBounce 0.9s ease-in-out infinite;
}

.audio-btn.is-playing .eq-bar:nth-child(1) { animation-delay: 0s; }
.audio-btn.is-playing .eq-bar:nth-child(2) { animation-delay: 0.18s; }
.audio-btn.is-playing .eq-bar:nth-child(3) { animation-delay: 0.36s; }
.audio-btn.is-playing .eq-bar:nth-child(4) { animation-delay: 0.12s; }

@keyframes eqBounce {
  0%, 100% { height: 3px; }
  50% { height: 12px; }
}

.audio-btn-label {
  display: none;
}

@media (min-width: 560px) {
  .audio-btn-label {
    display: inline;
  }
}

.lang-switch {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.65);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--fg-muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  padding: 7px 11px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-btn.is-active {
  background: var(--red);
  color: var(--fg);
}

.burger-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.65);
  cursor: pointer;
}

@media (min-width: 980px) {
  .burger-btn {
    display: none;
  }
}

.burger-line {
  width: 100%;
  height: 1px;
  background: var(--fg);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger-btn[aria-expanded="true"] .burger-line:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}
.burger-btn[aria-expanded="true"] .burger-line:nth-child(2) {
  opacity: 0;
}
.burger-btn[aria-expanded="true"] .burger-line:nth-child(3) {
  transform: translateY(-3px) rotate(-45deg);
}

/* Мобильное меню */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(20px);
  padding: 40px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-link {
  display: block;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.mobile-nav-link.is-active,
.mobile-nav-link:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* ================= 1. HERO (центрированный с кинетическим сплитом) ================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 32px) 20px 84px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media-wrap video,
.hero-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.84) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.18) 45%, rgba(0, 0, 0, 0.88) 100%);
}

/* Координатная рамка с угловыми перекрестиями */
.hero-frame {
  position: absolute;
  inset: calc(var(--header-h) + 20px) 24px 66px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 2;
  pointer-events: none;
}

@media (min-width: 1120px) {
  .hero-frame {
    inset: calc(var(--header-h) + 24px) 48px 72px 84px;
  }
}

.crosshair {
  position: absolute;
  font-size: 1rem;
  line-height: 1;
  color: var(--red);
}

.crosshair--tl { top: -9px; left: -6px; }
.crosshair--tr { top: -9px; right: -6px; }
.crosshair--bl { bottom: -9px; left: -6px; }
.crosshair--br { bottom: -9px; right: -6px; }

.hero-center {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1040px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: clamp(2.8rem, 9.5vw, 7.6rem);
  line-height: 0.94;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-title-line {
  display: block;
  will-change: transform;
  transition: transform 0.12s ease-out;
}

.hero-title-line--right {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.9);
}

.hero-subtitle {
  max-width: 680px;
  font-size: clamp(0.98rem, 1.6vw, 1.2rem);
  color: var(--fg-dim);
  line-height: 1.6;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.28s ease;
}

.pill-btn--accent {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.pill-btn--accent:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--fg);
  box-shadow: 0 0 24px var(--red-glow);
}

.pill-btn--ghost {
  background: rgba(0, 0, 0, 0.55);
  color: var(--fg);
  border-color: var(--line-strong);
}

.pill-btn--ghost:hover {
  border-color: var(--red);
  color: var(--red);
}

/* Бегущая строка внизу Hero */
.hero-ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44px;
  z-index: 3;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.82);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-ticker-track {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  animation: tickerScroll 28s linear infinite;
}

.ticker-item {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: inline-flex;
  align-items: center;
  gap: 40px;
}

.ticker-item::after {
  content: "+";
  color: var(--red);
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ================= ОБЩИЕ СЕКЦИИ ================= */
.section {
  position: relative;
  z-index: 2;
  padding: 104px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: var(--header-h);
}

@media (min-width: 1024px) {
  .section {
    padding: 136px 0;
  }
}

.section-title {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-subtitle {
  font-size: clamp(0.98rem, 1.3vw, 1.12rem);
  color: var(--fg-dim);
  max-width: 560px;
}

.section-head-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: end;
  margin-bottom: 64px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 900px) {
  .section-head-split {
    grid-template-columns: 6fr 6fr;
    gap: 48px;
  }
}

.subblock-title {
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
}

/* ================= 2. ОБ ИНСТАЛЛЯЦИИ (Sticky Морфинг 0D->4D + Журнальный текст) ================= */
.about-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}

@media (min-width: 980px) {
  .about-split {
    grid-template-columns: 5fr 7fr;
    gap: 72px;
  }

  .about-sticky-col {
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
}

.morph-widget {
  margin-top: 32px;
  border: 1px solid var(--line);
  background: rgba(7, 7, 7, 0.9);
  padding: 20px;
}

.morph-canvas-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#morph-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.morph-badge {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--red);
  padding: 3px 9px;
  border: 1px solid rgba(255, 30, 30, 0.5);
  background: rgba(0, 0, 0, 0.75);
}

.morph-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 14px;
}

.morph-tab {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--fg-muted);
  padding: 9px 4px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.25s ease;
}

.morph-tab:hover {
  color: var(--fg);
  border-color: var(--line-strong);
}

.morph-tab.is-active {
  background: var(--red);
  border-color: var(--red);
  color: var(--fg);
}

.morph-info {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.morph-info-name {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 6px;
}

.morph-info-desc {
  font-size: 0.88rem;
  color: var(--fg-dim);
}

.about-editorial-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 8px;
}

.about-lead {
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  line-height: 1.42;
  color: var(--fg);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-paragraphs p {
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--fg-dim);
}

/* ================= 3. КОНЦЕПТ: Кинотеатр + Шторка сравнения ================= */
.cinema-stage {
  margin-bottom: 96px;
}

.cinema-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.scene-tabs {
  display: inline-flex;
  gap: 8px;
}

.scene-tabs--compact {
  margin-bottom: 16px;
}

.scene-tab-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg-dim);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.scene-tab-btn:hover {
  border-color: var(--fg);
  color: var(--fg);
}

.scene-tab-btn.is-active {
  background: var(--red);
  border-color: var(--red);
  color: var(--fg);
}

.cinema-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}

.cinema-screen video,
.cinema-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cinema-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 4px 0;
  font-size: 0.85rem;
}

.cinema-scene-name {
  color: var(--fg);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cinema-hint {
  color: var(--fg-muted);
}

/* Блок сравнения Concept vs Reality */
.compare-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.compare-subtitle {
  margin-top: 8px;
  color: var(--fg-dim);
  font-size: 0.96rem;
  max-width: 580px;
}

.mode-switch {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.mode-btn {
  background: transparent;
  border: none;
  color: var(--fg-dim);
  padding: 9px 18px;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.mode-btn.is-active {
  background: var(--fg);
  color: var(--bg);
}

/* Интерактивная шторка */
.curtain-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border: 1px solid var(--line-strong);
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}

.curtain-layer {
  position: absolute;
  inset: 0;
}

.curtain-layer video,
.curtain-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.curtain-layer--concept {
  clip-path: inset(0 50% 0 0);
}

.curtain-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--red);
  box-shadow: 0 0 18px var(--red-glow);
  transform: translateX(-1px);
  pointer-events: none;
  z-index: 4;
}

.curtain-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.88);
  border: 1px solid var(--red);
  color: var(--fg);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--red-glow);
}

.curtain-tag {
  position: absolute;
  top: 16px;
  z-index: 3;
  padding: 5px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid var(--line);
  pointer-events: none;
}

.curtain-tag--left {
  left: 16px;
  color: var(--fg);
}

.curtain-tag--right {
  right: 16px;
  color: var(--red);
  border-color: rgba(255, 30, 30, 0.5);
}

.curtain-hint {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--fg-muted);
  text-align: center;
}

/* Галерея 3 видео Compare */
.compare-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 900px) {
  .compare-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.compare-gallery[hidden] {
  display: none;
}

.gallery-card {
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}

.gallery-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.gallery-card-media video,
.gallery-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-card-foot {
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
  border-top: 1px solid var(--line);
}

.gallery-card-code {
  color: var(--red);
}

/* ================= 4. УСТРОЙСТВО (Строчный райдер + Анимированная схема) ================= */
.organizer-banner {
  padding: 20px 24px;
  border-left: 2px solid var(--red);
  background: var(--red-soft);
  color: var(--fg);
  font-size: 0.96rem;
  margin-bottom: 48px;
  max-width: 860px;
}

.spec-rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  margin-bottom: 72px;
}

.spec-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 28px 8px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s ease;
}

@media (min-width: 900px) {
  .spec-row {
    grid-template-columns: 80px 3fr 4fr 5fr;
    gap: 28px;
    align-items: baseline;
  }
}

.spec-row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.spec-row:hover {
  background: rgba(255, 255, 255, 0.025);
}

.spec-row:hover::after {
  transform: scaleX(1);
}

.spec-row-num {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  color: var(--red);
}

.spec-row-name {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg);
}

.spec-row-spec {
  font-size: 0.94rem;
  color: var(--fg);
}

.spec-row-desc {
  font-size: 0.9rem;
  color: var(--fg-dim);
  line-height: 1.6;
}

/* Анимированная схема водяного экрана */
.schematic-block {
  margin-top: 24px;
}

.schematic-card {
  margin-top: 20px;
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.92);
  padding: 24px 16px;
  overflow-x: auto;
}

.schematic-svg {
  display: block;
  width: 100%;
  max-width: 960px;
  height: auto;
  margin: 0 auto;
}

@keyframes beamPulse {
  0%, 100% { opacity: 0.22; }
  50% { opacity: 0.55; }
}

@keyframes waterRippleDash {
  0% { stroke-dashoffset: 48; }
  100% { stroke-dashoffset: 0; }
}

.svg-beam {
  animation: beamPulse 3.6s ease-in-out infinite;
}

.svg-water-flow {
  stroke-dasharray: 8 8;
  animation: waterRippleDash 2.2s linear infinite;
}

/* ================= 5. КОНТАКТЫ (Underline-форма) ================= */
.contacts-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

@media (min-width: 900px) {
  .contacts-split {
    grid-template-columns: 5fr 7fr;
    gap: 72px;
  }
}

.contacts-left {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.micro-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 10px;
  display: block;
}

.contact-email {
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  letter-spacing: 0.04em;
  color: var(--fg);
  border-bottom: 1px solid var(--red);
  padding-bottom: 4px;
  transition: color 0.25s ease;
}

.contact-email:hover {
  color: var(--red);
}

.socials-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.social-pill:hover {
  border-color: var(--red);
  color: var(--fg);
}

.line-form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.line-input,
.line-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  color: var(--fg);
  padding: 10px 0;
  font-size: 1rem;
  border-radius: 0;
  transition: border-color 0.25s ease;
}

.line-input:focus,
.line-textarea:focus {
  border-bottom-color: var(--red);
  outline: none;
}

.line-textarea {
  min-height: 92px;
  resize: vertical;
}

.form-status {
  padding: 14px 18px;
  border-left: 2px solid var(--red);
  background: var(--red-soft);
  color: var(--fg);
  font-size: 0.9rem;
  display: none;
}

.form-status.is-visible {
  display: block;
}

/* Футер */
.site-footer {
  position: relative;
  z-index: 2;
  padding: 36px 0;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  font-size: 0.95rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: 0.84rem;
  color: var(--fg-muted);
}

.gif-mode-btn {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg-muted);
  padding: 6px 14px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.gif-mode-btn.is-active,
.gif-mode-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

/* Reveal при скролле */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(4px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .hero-ticker-track,
  .svg-beam,
  .svg-water-flow,
  .audio-btn.is-playing .eq-bar {
    animation: none !important;
  }
}
