/* ============================================================
   PROJECT X — витрина (главная и страницы второго уровня).
   Подключается после styles.css: токены, кнопки, поля и шторка — оттуда,
   здесь — только сцена. Характер: кино + постер. Чёрный, белый, алый X.

   Правила движения (apple-design / animate):
   - двигаем только transform и opacity, всё остальное — цвет и clip-path;
   - вход — ease-out, движение на экране — ease-in-out, лента — linear;
   - жест и курсор — пружина (assets/spring.js), не переход;
   - reduced-motion: меньше и мягче, а не ноль.
   ============================================================ */

:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --header-h: 64px;
  --x-glow: rgba(229, 26, 32, 0.55);
}

html { scroll-padding-top: calc(var(--header-h) + 12px); }
body { overflow-x: clip; }
/* Статичный отсвет базовой темы здесь не нужен: у hero свой свет */
body.site-v3::before { display: none; }

/* ---------- Шапка: прозрачная над hero, стекло после ---------- */
.site-v3 .site-header {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.site-v3 .site-header.is-solid,
.site-v3.is-sub .site-header {
  background: rgba(7, 7, 7, 0.72);
  border-bottom-color: var(--line-soft);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.site-v3 .top-nav a { color: var(--muted); transition: color 0.15s ease; }
.site-v3 .top-nav a:hover, .site-v3 .top-nav a.is-here { color: var(--text); }
.site-v3 .header-cta { display: inline-flex; padding: 10px 16px; font-size: 0.8rem; }
.site-v3 .site-header .container { gap: 12px; }
/* iPhone: страница просвечивает под статус-баром, а шапка стоит ниже него —
   между ними зазор с чужим контентом. Дотягиваем фон шапки вверх «козырьком»:
   в прозрачном состоянии он невидим, в стеклянном закрывает щель. */
.site-v3 .site-header::before {
  content: ''; position: absolute; inset-inline: 0; bottom: 100%; height: 120px;
  background: inherit; pointer-events: none;
  backdrop-filter: inherit; -webkit-backdrop-filter: inherit;
}
/* Над открытым меню шапка остаётся сверху: логотип и бургер-крестик видны,
   стекло шапки уступает стеклу меню */
body.menu-open .site-header {
  z-index: 80; background: transparent; border-bottom-color: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
body.menu-open .site-header::before { display: none; }
/* Липкая кнопка приходит снизу, когда карточка ночи ушла с экрана, и уходит
   тем же путём — в том числе под меню. */
.site-v3 .sticky-cta { transform: translateY(110%); visibility: hidden; transition: transform 260ms var(--ease-drawer), visibility 0s linear 260ms; }
.site-v3 .sticky-cta.is-on { transform: none; visibility: visible; transition-delay: 0s; }
body.menu-open .sticky-cta.is-on { transform: translateY(110%); visibility: hidden; transition-delay: 0s, 260ms; }

/* Бургер: две линии складываются в X — знак бренда и есть «закрыть» */
.burger {
  display: none; width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; color: var(--text); position: relative; cursor: pointer;
  border-radius: 12px;
}
.burger span {
  position: absolute; left: 12px; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 220ms var(--ease-out), opacity 150ms ease;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(4px) rotate(45deg); background: var(--acid); }
.burger[aria-expanded='true'] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); background: var(--acid); }
@media (max-width: 760px) {
  .burger { display: block; }
  .site-v3 .header-cta { display: inline-flex; }
  /* Логотип слева, всё остальное прижато к правому краю: кнопка «Проходки»
     стоит рядом с бургером, а не болтается посередине */
  .site-v3 .site-header .container { justify-content: flex-end; gap: 8px; padding-right: 12px; }
  .site-v3 .site-header .logo { margin-right: auto; }
}

/* Полноэкранное меню (телефон). Открывается изредка — стандартная анимация,
   ссылки входят лесенкой: движение подсказывает порядок. */
.menu {
  position: fixed; inset: 0; z-index: 75;
  background: rgba(7, 7, 7, 0.9);
  backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
  padding: calc(var(--header-h) + 24px) 24px calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  /* visibility: закрытое меню не держит слой со стеклом на каждой странице */
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 220ms var(--ease-out), visibility 0s linear 220ms;
}
.menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
@media (min-width: 761px) { .menu { display: none; } }
/* Материал приходит, а не просто проявляется: лёгкое сжатие к масштабу 1 */
.menu nav { display: grid; gap: 4px; transform: scale(1.02); transform-origin: 0 0; transition: transform 220ms var(--ease-out); }
.menu.is-open nav { transform: none; }
.menu nav a {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.2rem, 10vw, 3.4rem); line-height: 1.05; letter-spacing: -0.01em;
  color: var(--text); text-decoration: none; padding: 6px 0;
  opacity: 0; transform: translateY(14px);
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out), color 0.15s ease;
}
.menu.is-open nav a { opacity: 1; transform: none; }
.menu nav a:nth-child(1) { transition-delay: 40ms; }
.menu nav a:nth-child(2) { transition-delay: 80ms; }
.menu nav a:nth-child(3) { transition-delay: 120ms; }
.menu nav a:nth-child(4) { transition-delay: 160ms; }
.menu nav a:nth-child(5) { transition-delay: 200ms; }
.menu nav a:nth-child(6) { transition-delay: 240ms; }
.menu:not(.is-open) nav a { transition-delay: 0s; transition-duration: 120ms; }
.menu nav a small { display: block; font-family: var(--font-text); font-weight: 600; font-size: 0.8rem; text-transform: none; letter-spacing: 0; color: var(--muted); }
.menu nav a:active { color: var(--acid); }
.menu-foot { color: var(--muted); font-size: 0.8rem; display: grid; gap: 10px; }
.menu-foot a { color: var(--text); }
body.menu-open { overflow: hidden; }

/* ---------- Общие блоки витрины ---------- */
.site-v3 .section { padding-block: clamp(64px, 12vw, 128px); }
/* Базовый .section-head — flex со space-between: на десктопе это разносило
   кикер и заголовок по краям. Витрине нужен вертикальный стек. */
.site-v3 .section-head { display: block; margin-bottom: clamp(24px, 5vw, 44px); }
.site-v3 .kicker {
  font-family: var(--font-text); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--acid); display: flex; align-items: center; gap: 12px;
}
.site-v3 .kicker::before { content: ''; width: 24px; height: 1px; background: var(--acid); }
.site-v3 h2 {
  font-size: clamp(2.2rem, 7vw, 4.6rem); line-height: 0.96; letter-spacing: -0.015em;
  text-transform: uppercase; margin: 12px 0 0;
}
.site-v3 h2 .x { color: var(--acid); }
.site-v3 .lead { color: var(--muted); font-size: 1.05rem; max-width: 560px; margin-top: 16px; line-height: 1.55; }
.site-v3 .lead b { color: var(--text); }

/* Появление по скроллу. Один раз, из полупрозрачного и чуть снизу: страница
   не должна воевать с читателем повторными въездами. */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(14px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: 60ms; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: 120ms; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: 180ms; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: 240ms; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: 300ms; }

/* Зерно плёнки: маленькая плитка шума, сдвигаемая transform'ом — дёшево.
   Мерцание в 8 кадров/с даёт «живую» картинку без единого движущегося объекта. */
.grain {
  position: absolute; inset: -8%; width: 116%; height: 116%; pointer-events: none; z-index: 3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.14; mix-blend-mode: overlay;
  animation: grain 0.6s steps(5) infinite;
  will-change: transform;
}
.hero-v3.is-off .grain { animation-play-state: paused; }
@keyframes grain {
  0% { transform: translate3d(0, 0, 0); }
  20% { transform: translate3d(-4%, 3%, 0); }
  40% { transform: translate3d(3%, -5%, 0); }
  60% { transform: translate3d(-6%, -2%, 0); }
  80% { transform: translate3d(5%, 4%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* ---------- HERO: чёрная сцена, живой знак ---------- */
.hero-v3 {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 24px) 0 28px;
  background: var(--bg);
}
.hero-v3 .container { position: relative; z-index: 4; }

/* Свет: алое пятно за знаком и тёплый отсвет снизу. Гасим края виньеткой. */
.hero-light {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(52% 40% at 50% 38%, rgba(229, 26, 32, 0.34), transparent 70%),
    radial-gradient(70% 45% at 50% 100%, rgba(229, 26, 32, 0.12), transparent 70%);
  will-change: transform;
}
.hero-vignette {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(90% 80% at 50% 45%, transparent 55%, rgba(0, 0, 0, 0.72) 100%);
}
/* Огромный X далеко за сценой: глубина, движется медленнее всего */
.hero-bgx {
  position: absolute; z-index: 0; pointer-events: none;
  width: 130vmin; height: 130vmin; right: -30vmin; top: -14vmin;
  color: var(--acid); opacity: 0.09;
  will-change: transform;
}
.hero-bgx svg { width: 100%; height: 100%; display: block; }

/* Знак: PRO ✕ JECT. Буквы белые со свечением, крест алый, чуть крупнее
   и поверх — как на аватаре бренда. Три отдельных элемента, чтобы каждый
   мог войти своим путём и жить под курсором. */
.hero-stage {
  position: relative; z-index: 4;
  flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: clamp(14px, 3vw, 26px);
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.hero-kicker::before { content: ''; width: 28px; height: 1px; background: var(--acid); }
.hero-kicker b { color: var(--text); }
.hero-mark {
  display: flex; align-items: center;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(4.4rem, 20vw, 13rem); line-height: 0.9; letter-spacing: -0.015em;
  transform-style: preserve-3d; will-change: transform;
  margin-left: -0.02em;
}
.hero-mark .hm-word {
  color: #fff;
  text-shadow: 0 0 22px rgba(255, 255, 255, 0.28), 0 0 2px rgba(255, 255, 255, 0.6);
  position: relative; z-index: 1;
}
.hero-mark .hm-x {
  position: relative; z-index: 2;
  width: 0.98em; height: 1.06em; margin: 0 -0.1em;
  display: block;
}
.hero-mark .hm-x svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero-mark .hm-x .x-core { color: var(--acid); }
/* Ореол — отдельный слой с blur. Размывается один раз, дальше едет как картинка */
.hero-mark .hm-x .x-glow { color: var(--acid); filter: blur(14px); opacity: 0.85; }
.hero-mark .hm-x .x-glow2 { color: #ff5a5f; filter: blur(3px); opacity: 0.55; }

.hero-tagline {
  font-family: var(--font-display); font-weight: 500; text-transform: uppercase;
  font-size: clamp(1.25rem, 4.6vw, 2.4rem); line-height: 1.08; letter-spacing: 0.01em;
  max-width: 14em; color: var(--text);
}
.hero-tagline .x { color: var(--acid); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags span {
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 11px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
}
.hero-tags span.is-acid { background: var(--acid); border-color: var(--acid); color: var(--ink); }

/* Ближайшая ночь: карточка-билет внизу сцены */
.next-night {
  position: relative; z-index: 4; margin-top: clamp(24px, 6vw, 48px);
  display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: center;
  padding: 16px; border-radius: var(--radius);
  background: rgba(16, 16, 16, 0.92); border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.next-night[hidden] { display: none; }
.nn-date {
  font-family: var(--font-display); font-weight: 700; line-height: 0.9; text-align: center;
  min-width: 62px; padding: 8px 6px; border-radius: 10px; background: var(--acid); color: var(--ink);
}
.nn-date b { display: block; font-size: 2rem; }
.nn-date small { display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 2px; }
.nn-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; line-height: 1.05; }
.nn-meta { color: var(--muted); font-size: 0.86rem; margin-top: 4px; }
.nn-meta b { color: var(--text); }
.nn-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.nn-foot .btn { flex: 1 1 200px; }
.nn-count { display: flex; gap: 10px; color: var(--muted); font-size: 0.78rem; align-items: baseline; }
.nn-count b { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--text); font-variant-numeric: tabular-nums; min-width: 2ch; display: inline-block; text-align: right; }
.nn-count i { font-style: normal; }
@media (min-width: 761px) {
  .next-night { grid-template-columns: auto 1fr auto; max-width: 760px; }
  .nn-foot { grid-column: auto; display: grid; justify-items: end; gap: 8px; }
  .nn-foot .btn { flex: none; }
}

/* Вход сцены: знак собирается из центра, дальше — лесенка. Одноразовый момент,
   бюджет «восторга» тратим здесь. */
@media (prefers-reduced-motion: no-preference) {
  .hero-v3 .hm-x { opacity: 0; transform: scale(0.86); animation: x-in 800ms var(--ease-out) 60ms forwards; }
  .hero-v3 .hm-pro { clip-path: inset(0 0 0 100%); animation: word-l 700ms var(--ease-out) 320ms forwards; }
  .hero-v3 .hm-ject { clip-path: inset(0 100% 0 0); animation: word-r 700ms var(--ease-out) 320ms forwards; }
  .hero-v3 .hi { opacity: 0; transform: translateY(16px); animation: hero-in 700ms var(--ease-out) forwards; }
  .hero-v3 .hi-1 { animation-delay: 520ms; }
  .hero-v3 .hi-2 { animation-delay: 580ms; }
  .hero-v3 .hi-3 { animation-delay: 640ms; }
  .hero-v3 .hi-4 { animation-delay: 700ms; }
  .hero-v3 .hero-light { opacity: 0; animation: light-in 1400ms ease 100ms forwards; }
}
@keyframes x-in { to { opacity: 1; transform: none; } }
@keyframes word-l { to { clip-path: inset(0 0 0 0); } }
@keyframes word-r { to { clip-path: inset(0 0 0 0); } }
@keyframes hero-in { to { opacity: 1; transform: none; } }
@keyframes light-in { to { opacity: 1; } }

/* ---------- НОЧЬ: сцена по скроллу — три правила ---------- */
.night { position: relative; height: 330svh; }
@media (max-width: 760px) { .night { height: 280svh; } }
.night-stage {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.night-x {
  position: absolute; width: 78vmin; height: 78vmin; color: var(--acid); opacity: 0.16;
  will-change: transform; pointer-events: none;
}
.night-x svg { width: 100%; height: 100%; display: block; }
.night-rule {
  position: absolute; inset-inline: 0; padding: 0 24px; text-align: center;
  opacity: 0; will-change: transform, opacity; pointer-events: none;
}
.night-rule .nr-word {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(3.6rem, 19vw, 12rem); line-height: 0.9; letter-spacing: -0.02em; color: #fff;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}
.night-rule .nr-word .x { color: var(--acid); }
.night-rule .nr-line { color: var(--muted); font-size: clamp(1rem, 2.6vw, 1.25rem); max-width: 30em; margin: 18px auto 0; line-height: 1.5; }
.night-rule .nr-line b { color: var(--text); }
.night-nav {
  position: absolute; left: 24px; bottom: 28px; display: flex; gap: 8px; align-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; color: var(--muted);
}
.night-nav i { width: 28px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; position: relative; display: block; }
.night-nav i::after { content: ''; position: absolute; inset: 0; background: var(--acid); transform: scaleX(var(--f, 0)); transform-origin: left; }
.night-kicker { position: absolute; top: calc(var(--header-h) + 18px); left: 24px; }
.night-more { position: absolute; right: 24px; bottom: 22px; margin: 0; font-size: 0.9rem; }
.night.is-static .night-more { position: static; }
/* Без движения или на низком окне — три правила просто стоят друг под другом */
.night.is-static { height: auto; padding: 64px 0; }
.night.is-static .night-stage { position: static; height: auto; display: grid; gap: 48px; }
.night.is-static .night-rule { position: static; opacity: 1; transform: none; }
.night.is-static .night-x, .night.is-static .night-nav { display: none; }
.night.is-static .night-kicker { position: static; margin-bottom: 24px; }

/* ---------- АФИША ---------- */
/* Карточки широкие и горизонтальные — по одной в ряд. Перебиваем базовые
   auto-fill колонки, из-за которых карточка сжималась в узкий столбец. */
.afisha-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.night-card {
  display: grid; grid-template-columns: 1fr; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line-soft); color: inherit; text-decoration: none;
  transition: transform 160ms var(--ease-out), border-color 0.2s ease;
}
.night-card:active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) {
  .night-card:hover { transform: translateY(-4px); border-color: rgba(229, 26, 32, 0.5); transition-duration: 220ms; }
}
.nc-poster { position: relative; aspect-ratio: 4 / 3; background: #000; overflow: hidden; }
.nc-poster img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.92; }
.nc-poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(16, 16, 16, 0.9)); }
.nc-date {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  font-family: var(--font-display); font-weight: 700; line-height: 0.9; text-align: center;
  padding: 8px 8px; border-radius: 10px; background: var(--acid); color: var(--ink); min-width: 56px;
}
.nc-date b { display: block; font-size: 1.7rem; }
.nc-date small { display: block; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; }
.nc-badges { position: absolute; right: 12px; top: 12px; z-index: 2; display: flex; gap: 6px; }
.nc-body { padding: 18px 18px 20px; display: grid; gap: 10px; }
.nc-title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.4rem, 5vw, 2rem); line-height: 1; }
.nc-meta { color: var(--muted); font-size: 0.9rem; display: grid; gap: 4px; }
.nc-meta b { color: var(--text); }
.nc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.nc-price { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }
.nc-price small { font-family: var(--font-text); font-weight: 600; font-size: 0.8rem; color: var(--muted); margin-right: 6px; }
.nc-left { color: var(--muted); font-size: 0.82rem; }
.nc-left b { color: var(--acid); }
.nc-cta { display: inline-flex; }
@media (min-width: 761px) {
  .night-card { grid-template-columns: 5fr 6fr; }
  .nc-poster { aspect-ratio: auto; min-height: 340px; }
  .nc-poster::after { background: linear-gradient(90deg, transparent 60%, rgba(16, 16, 16, 0.9)); }
  .nc-body { padding: 28px 28px 28px 22px; align-content: center; }
}

/* Лента афиш: настоящие постеры как объекты. Прокрутка — родная (инерция
   платформы лучше любой нашей), наклон — по расстоянию до центра. */
.reel-wrap { position: relative; margin-top: clamp(36px, 8vw, 64px); }
.reel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.reel-head h3 { font-size: clamp(1.4rem, 4.6vw, 2rem); text-transform: uppercase; letter-spacing: -0.01em; margin: 0; }
.reel-head span { color: var(--muted); font-size: 0.82rem; }
.reel {
  display: flex; gap: 14px; overflow-x: auto; overflow-y: hidden;
  /* Лента бьётся в край экрана: отступ и вынос считаем от паддинга контейнера
     (20px), а не от 100vw — vw включает полосу прокрутки и давал +4px по X. */
  padding: 14px 20px 26px;
  margin-inline: -20px;
  scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none;
  perspective: 900px; cursor: grab; user-select: none; -webkit-user-select: none;
  touch-action: pan-x pan-y;
}
.reel::-webkit-scrollbar { display: none; }
.reel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.reel-item {
  flex: 0 0 auto; width: min(62vw, 300px); aspect-ratio: 4 / 5; scroll-snap-align: center;
  border-radius: 12px; overflow: hidden; position: relative; background: var(--bg-3);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
  transform-style: preserve-3d; will-change: transform;
}
.reel-item img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
/* Блик стекла: показывает объём, когда карточка наклонена */
.reel-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.14), transparent 45%, rgba(0, 0, 0, 0.35));
  opacity: var(--sheen, 0.5); pointer-events: none;
}
.reel-item figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; display: grid; gap: 4px;
}
.reel-item .rt { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1rem; line-height: 1; padding: 5px 8px; background: var(--acid); color: var(--ink); border-radius: 5px; justify-self: start; }
.reel-item .rn { font-size: 0.72rem; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8); }
.reel-item.no-img img { display: none; }
.reel-item.no-img { background: radial-gradient(70% 60% at 50% 40%, rgba(229, 26, 32, 0.35), var(--bg-3)); }

/* ---------- МАНИФЕСТ: три фразы, слова входят по одному ---------- */
.manifest { display: grid; gap: clamp(22px, 5vw, 40px); }
.manifest p {
  font-family: var(--font-display); font-weight: 500; text-transform: uppercase;
  font-size: clamp(1.55rem, 5.4vw, 3.3rem); line-height: 1.06; letter-spacing: -0.005em; margin: 0; max-width: 20em;
}
.manifest p .x { color: var(--acid); }
.manifest .w { display: inline-block; opacity: 0.12; transform: translateY(0.25em); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.manifest p.is-in .w { opacity: 1; transform: none; }
.manifest .m-note { font-family: var(--font-text); font-weight: 400; text-transform: none; font-size: 1rem; color: var(--muted); letter-spacing: 0; line-height: 1.5; max-width: 34em; }

/* ---------- ПРОГРАММА: две ленты навстречу ---------- */
.program-band { position: relative; overflow: hidden; padding-block: 6px; border-block: 1px solid var(--line-soft); }
.band-row { display: flex; width: max-content; will-change: transform; }
.band-row span {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; white-space: nowrap;
  font-size: clamp(1.5rem, 5.5vw, 3rem); line-height: 1.3; padding-inline: 0.5em; color: var(--text);
}
.band-row span.x { color: var(--acid); padding-inline: 0.15em; }
.band-row.is-alt span { color: var(--muted); font-weight: 500; font-size: clamp(1.15rem, 4vw, 2rem); }
@media (prefers-reduced-motion: no-preference) {
  .band-row { animation: band 46s linear infinite; }
  .band-row.is-alt { animation-duration: 58s; animation-direction: reverse; }
  @media (hover: hover) and (pointer: fine) { .program-band:hover .band-row { animation-play-state: paused; } }
}
@keyframes band { to { transform: translateX(-50%); } }
.program-notes { display: grid; gap: 10px; margin-top: 28px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.program-notes div { padding: 16px; border: 1px solid var(--line-soft); border-radius: var(--radius-s); background: var(--bg-2); }
.program-notes b { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 1rem; margin-bottom: 6px; }
.program-notes p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

/* ---------- ФЕЙСКОНТРОЛЬ ---------- */
.site-v3 .face-section { background: none; position: relative; }
.site-v3 .face-panel { max-width: 520px; }
.site-v3 .face-bubble {
  transform: rotate(-2deg);
  transition: transform 300ms var(--ease-out);
}
@media (prefers-reduced-motion: no-preference) {
  .site-v3 .face-result:not(.hidden) .face-bubble { animation: stamp 420ms var(--ease-out) both; }
}
/* Штамп: приходит чуть крупнее и садится на место — один раз, как печать */
@keyframes stamp { from { opacity: 0; transform: rotate(-6deg) scale(1.12); } to { opacity: 1; transform: rotate(-2deg) scale(1); } }

/* ---------- ФИНАЛЬНЫЙ ПРИЗЫВ ---------- */
.cta-band { position: relative; overflow: hidden; padding-block: clamp(72px, 14vw, 140px); text-align: center; }
.cta-band .cta-x { position: absolute; left: 50%; top: 50%; width: 120vmin; height: 120vmin; transform: translate(-50%, -50%); color: var(--acid); opacity: 0.1; pointer-events: none; }
.cta-band .cta-x svg { width: 100%; height: 100%; }
.cta-band .container { position: relative; z-index: 1; display: grid; justify-items: center; gap: 18px; }
.cta-band h2 { font-size: clamp(2.4rem, 9vw, 6rem); }
.cta-band .lead { text-align: center; margin: 0; }
.cta-band .btn { padding: 18px 28px; font-size: 1rem; }

/* ---------- ФУТЕР ---------- */
.site-v3 .site-footer { border-top: 1px solid var(--line-soft); padding: 40px 0 calc(28px + env(safe-area-inset-bottom)); }
.site-v3 .f-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.f-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.f-links a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.9rem; min-height: 44px; display: inline-flex; align-items: center; }
.f-links a:hover { color: var(--acid); }
@media (min-width: 761px) { .site-v3 .f-grid { grid-template-columns: 1.3fr 1fr auto; align-items: start; } }

/* Появление без телепорта: плашка заметки и текст ошибки въезжают на 200мс,
   чип волны меняет цвет плавно, панели шторки сменяются кроссфейдом с блюром */
#wave-note, .err { transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
@starting-style { #wave-note:not(.hidden) { opacity: 0; transform: translateY(6px); } .err.is-on { opacity: 0; transform: translateY(-2px); } }
.chip { transition: transform 160ms var(--ease-out), background-color 150ms ease, color 150ms ease, border-color 150ms ease; }
#pane-form, #pane-success, #pane-fallback { transition: opacity 200ms var(--ease-out), filter 200ms var(--ease-out); }
@starting-style { #pane-form:not(.hidden), #pane-success:not(.hidden), #pane-fallback:not(.hidden) { opacity: 0; filter: blur(2px); } }
@media (prefers-reduced-motion: reduce) {
  #wave-note, .err { transform: none !important; }
  .site-v3 .sticky-cta { transform: none; transition: opacity 150ms ease, visibility 0s linear 150ms; opacity: 0; }
  .site-v3 .sticky-cta.is-on { opacity: 1; }
  body.menu-open .sticky-cta.is-on { transform: none; opacity: 0; }
  .menu nav { transform: none; }
}

/* Экран успеха: что дальше */
.next-steps { margin: 16px 0 6px; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.next-steps b { color: var(--text); }

/* ---------- Пустое состояние: следующая ночь готовится ---------- */
.teaser {
  display: grid; gap: 22px; padding: clamp(22px, 5vw, 34px); border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid var(--line-soft);
}
@media (min-width: 761px) { .teaser { grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; } }
.teaser-when b {
  display: block; font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2rem, 7vw, 3.4rem); line-height: 1; margin: 10px 0 8px;
}
.teaser-when p { margin: 0; color: var(--muted); line-height: 1.55; }
.teaser-form .tf-label {
  display: block; font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: 0.9rem; margin-bottom: 10px;
}
.teaser-form .field { margin-bottom: 12px; }
.teaser-form input[type='text'] {
  width: 100%; padding: 14px 16px; min-height: 50px; border-radius: var(--radius-s);
  background: var(--bg-3); border: 1px solid var(--line); color: var(--text); font: inherit;
}
.teaser-form input[type='text']:focus { border-color: var(--acid); }
.teaser-done { color: var(--text); line-height: 1.55; }
.teaser-done b { color: var(--acid); }

/* ---------- Афиша: стена постеров ---------- */
.wall-head { margin: clamp(48px, 10vw, 88px) 0 clamp(20px, 4vw, 32px); }
.poster-wall { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 620px) { .poster-wall { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 900px) { .poster-wall { grid-template-columns: repeat(4, 1fr); } }
.poster {
  position: relative; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; display: block;
  background: var(--bg-3); color: inherit; text-decoration: none;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  transition: transform 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .poster { will-change: transform; } }
.poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Блик идёт за курсором — карточка читается как глянцевый постер */
.poster::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.16), transparent 70%),
    linear-gradient(180deg, transparent 55%, rgba(7, 7, 7, 0.88));
}
.poster .p-date {
  position: absolute; left: 10px; top: 10px; z-index: 2; font-family: var(--font-display); font-weight: 700; line-height: 0.9;
  text-align: center; padding: 6px 7px; border-radius: 8px; background: var(--acid); color: var(--ink); min-width: 44px;
}
.poster .p-date b { display: block; font-size: 1.3rem; }
.poster .p-date small { display: block; font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; }
.poster .p-cap { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; display: grid; gap: 3px; }
.poster .p-cap b { font-family: var(--font-display); text-transform: uppercase; font-size: 1rem; line-height: 1.05; }
.poster .p-cap small { color: var(--muted); font-size: 0.72rem; }
.poster.no-img img { display: none; }
.poster.no-img { background: radial-gradient(70% 60% at 50% 40%, rgba(229, 26, 32, 0.35), var(--bg-3)); }
a.poster:active { --s: 0.98; transform: scale(var(--s)); }

/* ---------- Ночь: таймлайн ---------- */
.timeline { position: relative; display: grid; gap: clamp(28px, 6vw, 48px); padding-left: 40px; max-width: 720px; }
.tl-rail { position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.tl-fill { position: absolute; inset: 0; background: var(--acid); transform: scaleY(0); transform-origin: top; will-change: transform; }
.tl-stop { position: relative; }
.tl-stop::before {
  content: ''; position: absolute; left: -35px; top: 6px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line); box-sizing: border-box;
  transition: border-color 200ms ease, background 200ms ease, transform 200ms var(--ease-out);
}
.tl-stop.is-on::before { border-color: var(--acid); background: var(--acid); transform: scale(1.25); box-shadow: 0 0 18px rgba(229, 26, 32, 0.6); }
.tl-time { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 7vw, 3.4rem); line-height: 0.9; color: var(--dim); transition: color 250ms ease; }
.tl-stop.is-on .tl-time { color: var(--acid); }
.tl-stop h3 { text-transform: uppercase; font-size: 1.15rem; margin: 8px 0 6px; }
.tl-stop p { margin: 0; color: var(--muted); line-height: 1.55; max-width: 34em; }

/* ---------- FC/DC: дресс-код, чеклист, двери ---------- */
.page-hero.face-section .face-panel { margin-top: 24px; }
.dc-grid { display: grid; gap: 14px; }
@media (min-width: 761px) { .dc-grid { grid-template-columns: 1fr 1fr; } }
.dc-col { padding: 22px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line-soft); }
.dc-head { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.2rem; margin-bottom: 14px; }
.dc-mark { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.dc-col.is-yes .dc-mark { background: var(--ok-bg); color: var(--ok); }
.dc-col.is-no .dc-mark { background: rgba(229, 26, 32, 0.15); color: var(--acid); }
.dc-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dc-col li { padding-left: 18px; position: relative; color: var(--muted); line-height: 1.45; }
.dc-col li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.5; }
.dc-col.is-yes li::before { background: var(--ok); opacity: 1; }
.dc-col.is-no li::before { background: var(--acid); opacity: 1; }

.pack-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 640px; }
.pack-list label {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--radius-s);
  background: var(--bg-2); border: 1px solid var(--line-soft); cursor: pointer; min-height: 44px;
  transition: border-color 0.15s ease, transform 160ms var(--ease-out);
}
.pack-list label:active { transform: scale(0.99); }
.pack-list input { width: 22px; height: 22px; accent-color: var(--acid); flex: 0 0 auto; margin-top: 2px; }
.pack-list label:has(input:checked) { border-color: rgba(229, 26, 32, 0.5); }
.pack-list b { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 1rem; }
.pack-list small { display: block; color: var(--muted); font-size: 0.84rem; margin-top: 3px; line-height: 1.4; }
.pack-list label:has(input:checked) b { text-decoration: line-through; text-decoration-color: var(--acid); }
.pack-done { margin-top: 20px; }
.pack-done[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .pack-done:not([hidden]) .face-bubble { animation: stamp 420ms var(--ease-out) both; } }

.door-steps { display: grid; gap: 14px; }
@media (min-width: 761px) { .door-steps { grid-template-columns: repeat(3, 1fr); } }
.door-step { padding: 22px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line-soft); }
.door-step .ds-num { font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: var(--acid); line-height: 1; }
.door-step h3 { text-transform: uppercase; font-size: 1.1rem; margin: 10px 0 6px; }
.door-step p { margin: 0; color: var(--muted); line-height: 1.5; }

/* Меню: кнопка проходок внутри, раз липкая кнопка под ним прячется */
.menu-foot .btn { margin-bottom: 6px; }

/* Ссылка «дальше» под секцией главной — ведёт на свою страницу */
.more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 700; color: var(--text); text-decoration: none; min-height: 44px; }
.more-link .x { color: var(--acid); transition: transform 160ms var(--ease-out); display: inline-block; }
@media (hover: hover) and (pointer: fine) { .more-link:hover .x { transform: translateX(4px); } }

/* ---------- Страницы второго уровня ---------- */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(48px, 10vw, 96px)) 0 clamp(32px, 6vw, 56px); }
.page-hero h1 { font-size: clamp(2.6rem, 10vw, 6rem); line-height: 0.94; letter-spacing: -0.02em; text-transform: uppercase; margin: 12px 0 0; }
.page-hero h1 .x { color: var(--acid); }
.page-hero .hero-bgx { opacity: 0.07; }
.page-body { padding-bottom: clamp(64px, 12vw, 120px); }
.rule-cards { display: grid; gap: 14px; }
.rule-card { padding: 22px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line-soft); display: grid; gap: 10px; }
.rule-card .rc-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 9vw, 4.4rem); line-height: 0.9; color: var(--acid); }
.rule-card h3 { text-transform: uppercase; font-size: 1.2rem; margin: 0; }
.rule-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.rule-card p b { color: var(--text); }
@media (min-width: 761px) { .rule-cards { grid-template-columns: repeat(3, 1fr); } }
.rule-note { margin-top: 28px; padding: 22px; border-radius: var(--radius); border: 1px dashed var(--line); color: var(--muted); line-height: 1.55; display: grid; gap: 14px; }
.rule-note b { color: var(--text); }
.rule-note .btn { justify-self: start; }

/* FAQ: аккордеон с анимацией высоты (единственное место, где высота
   оправдана: у раскрытия нет transform-эквивалента) */
.site-v3 .faq { max-width: 760px; }
.site-v3 .faq details { border-bottom: 1px solid var(--line-soft); }
.site-v3 .faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.05rem; line-height: 1.2;
}
.site-v3 .faq summary::-webkit-details-marker { display: none; }
.site-v3 .faq summary::after {
  content: '+'; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center; color: var(--acid); font-family: var(--font-text); font-weight: 400; font-size: 1.2rem;
  transition: transform 220ms var(--ease-out), background 0.15s ease;
}
.site-v3 .faq details[open] summary::after { transform: rotate(45deg); background: rgba(229, 26, 32, 0.12); }
.site-v3 .faq .faq-a { overflow: hidden; color: var(--muted); line-height: 1.6; padding-bottom: 20px; }
.site-v3 .faq .faq-a b { color: var(--text); }

/* Контакты */
.site-v3 .contact-cards { display: grid; gap: 12px; }
@media (min-width: 761px) { .site-v3 .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.city-block { margin-top: clamp(48px, 10vw, 88px); padding-top: clamp(40px, 8vw, 64px); border-top: 1px solid var(--line-soft); }

/* ---------- Меньше движения / прозрачности / больше контраста ---------- */
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .reveal, .reveal-stagger > * { transition: opacity 300ms ease; transform: none; }
  .manifest .w { transform: none; transition: opacity 300ms ease; }
  .menu nav a { transform: none; transition: opacity 200ms ease; }
  .hero-light, .hero-bgx, .hero-mark { transform: none !important; }
  .reel-item { transform: none !important; }
  .hero-v3 .hm-x, .hero-v3 .hm-pro, .hero-v3 .hm-ject, .hero-v3 .hi { animation: none; opacity: 1; transform: none; clip-path: none; }
  .band-row { flex-wrap: wrap; width: auto; }
  .band-row > span:nth-child(n + 15) { display: none; } /* без ленты хватит одного набора */
  .night-card, .site-v3 .face-bubble { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .next-night, .menu, .site-v3 .site-header.is-solid { background: var(--bg-2); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .grain { display: none; }
}
@media (prefers-contrast: more) {
  .next-night, .night-card, .rule-card, .program-notes div { border-color: var(--muted); }
  .hero-tags span { border-color: var(--muted); }
}

/* ---------- v7: видео ----------
   Hero: немой луп за сценой, слой 0 (под большим X и светом). Приглушён
   и накрыт градиентом, чтобы знак и текст остались главными. Появляется
   только с первого сыгранного кадра (is-ready); при reduced-motion и
   save-data — статичный кадр-постер (is-static). */
.hero-video { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-video video {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block;
  opacity: 0; transition: opacity 900ms ease; filter: saturate(1.15) contrast(1.05);
}
.hero-video.is-ready video { opacity: 0.42; }
/* На широком экране портретный кадр растянут в ~2,7 раза — держим его тише */
@media (min-width: 900px) { .hero-video.is-ready video { opacity: 0.34; } }
.hero-video.is-static video { opacity: 0.3; transition: none; }
.hero-video::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 7, 0.6), rgba(7, 7, 7, 0.15) 40%, rgba(7, 7, 7, 0.78) 100%);
}

/* Афтемуви: «телефон» 9:16 и текст рядом; на узком экране — столбиком */
.am-section { padding-top: 0; }
.am-grid { display: grid; gap: clamp(22px, 5vw, 48px); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) { .am-grid { grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); } }
.am-phone {
  position: relative; margin: 0; width: min(100%, 360px); aspect-ratio: 9 / 16; justify-self: center;
  border-radius: 22px; overflow: hidden; background: var(--bg-3);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--line);
}
.am-video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.am-play {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer;
  display: grid; place-content: center; justify-items: center; gap: 12px; color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.55));
}
.am-play svg {
  width: 84px; height: 84px; padding: 20px; box-sizing: border-box; border-radius: 50%;
  background: var(--acid); color: var(--ink); box-shadow: 0 0 40px var(--acid-glow);
  transition: transform 160ms var(--ease-out);
}
.am-play:hover svg, .am-play:focus-visible svg { transform: scale(1.06); }
.am-play:active svg { transform: scale(0.96); transition-duration: 80ms; }
.am-play span { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.08em; font-size: 0.9rem; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8); }
.am-cap {
  position: absolute; left: 14px; right: 14px; top: 14px; font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}
.is-playing .am-play, .is-playing .am-cap { display: none; }
.am-text h2 { font-size: clamp(2.2rem, 7vw, 4.4rem); }
.am-text .lead { margin: 0 0 22px; }
@media (prefers-reduced-motion: reduce) {
  .hero-video video { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .hero-video { display: none; }
}

/* Что внутри (страница ночи): программа из сида карточками */
.ev-program { margin-top: clamp(40px, 8vw, 72px); }
.ev-program .section-head { margin-bottom: 18px; }
.ev-program h2 { font-size: clamp(1.8rem, 6vw, 3rem); margin: 0; }
.ev-program-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.evp-item { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.evp-item h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.02em; margin: 0 0 6px; }
.evp-item p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
