/* AG / ПРАКТИКИ — базовый стиль. Конструктивизм: четыре цвета, ноль
   скруглений, диагональ только в декоре, текст всегда ровный. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-text);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  font-size: 17px;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--red-text); text-decoration: none; }
a:hover { color: var(--red-dark); }
h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: .95;
  margin: 0;
  letter-spacing: -.01em;
}
.container { max-width: 1280px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.rule { height: var(--rule); background: var(--black); border: 0; margin: 0; }
.rule.red { background: var(--red); }
.rule.blue { background: var(--blue); }

.meta {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 16px 30px;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  cursor: pointer;
  background: var(--red);
  color: var(--white);
  transition: background-color .15s ease;
}
.btn:hover { background: var(--red-dark); color: var(--white); }
.btn.blue { background: var(--blue); }
.btn.blue:hover { background: var(--blue-dark); }
.btn.outline { background: var(--white); color: var(--black); box-shadow: inset 0 0 0 3px var(--black); }
.btn.outline:hover { background: var(--black); color: var(--white); }
.btn.black { background: var(--black); }
.btn.black:hover { background: #000; }
.btn[disabled] { background: rgba(10,10,10,.2); color: rgba(255,255,255,.8); cursor: not-allowed; }

.field { margin-bottom: 18px; }
.field label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  font-family: var(--font-text);
  font-size: 16px;
  padding: 15px 16px;
  border: 3px solid var(--black);
  background: var(--white);
  width: 100%;
  min-height: 52px;
  border-radius: 0;
}
.field input:invalid, .field.error input { border-color: var(--red); }
.field textarea { min-height: 120px; resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { width: 24px; height: 24px; flex-shrink: 0; accent-color: var(--black); margin-top: 1px; }

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--white);
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; padding: 0 var(--pad); /* высота фиксирована, а не по контенту:
     иначе смена метрик шрифта после подгрузки на миллиметр меняет высоту
     шапки и сдвигает всё, что ниже (поймано Lighthouse как CLS). */
  box-shadow: inset 0 -3px 0 var(--black);
}
.site-header .logo { width: 150px; }
.site-header nav { display: flex; gap: 28px; align-items: center; }
.site-header nav a { color: var(--black); }
.site-header nav a:hover { color: var(--red-text); }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span, .burger span::before, .burger span::after {
  content: ''; display: block; width: 26px; height: 3px; background: var(--black); position: relative;
}
.burger span::before { position: absolute; top: -9px; width: 26px; height: 3px; background: var(--black); }
.burger span::after { position: absolute; top: 9px; width: 26px; height: 3px; background: var(--black); }

/* ---- hero ---- */
.hero {
  position: relative; overflow: hidden; background: var(--white);
  min-height: min(720px, 92svh);
  display: flex; flex-direction: column; justify-content: center;
  padding: 60px var(--pad) 0;
}
/* Не переносится: перенос на 1-2 строки зависит от того, какой шрифт уже
   загружен (резервный шире/уже Unbounded) — из-за этого вся секция
   прыгала вниз при позднем свопе шрифта (сдвиг макета под throttling,
   CLS 0.22). Ряд тегов короткий, в одну строку с горизонтальной
   прокруткой на самых узких экранах — так высота всегда постоянна. */
.hero .tags { display: flex; gap: 16px; flex-wrap: nowrap; overflow-x: auto; margin-bottom: 20px; scrollbar-width: none; }
.hero .tags::-webkit-scrollbar { display: none; }
.hero .tags span { flex-shrink: 0; }
.hero .tags span:nth-child(2n) { color: var(--red-text); }
.hero h1 { font-weight: 900; font-size: clamp(32px, 8.8vw, 92px); }
.hero .dates {
  display: flex; align-items: flex-end; gap: 26px; margin-top: 24px; flex-wrap: wrap;
}
.hero .dates .big { font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 4vw, 52px); line-height: 1; color: var(--red); }
.hero .dates .place strong { font-family: var(--font-display); font-weight: 700; font-size: 20px; text-transform: uppercase; display: block; }
.hero .dates .place span { color: var(--text-faint); font-size: 13px; letter-spacing: .05em; text-transform: uppercase; font-family: var(--font-display); }
.hero .lead { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.4; max-width: 620px; margin-top: 22px; }
.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; margin-bottom: 40px; }
/* top в vh, а не в % — иначе смена метрики шрифта после подгрузки меняет
   реальную высоту .hero (min-height растёт под текст) и декор дёргается
   (сдвиг макета, пойман Lighthouse: CLS 0.217 из-за "Web font loaded"). */
.hero .shapes { position: absolute; right: -8%; top: 9vh; width: 54%; max-width: 640px; opacity: .96; pointer-events: none; }
.hero .stats-bar {
  background: var(--black); color: var(--white);
  display: flex; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap;
  padding: 22px var(--pad); margin: 0 calc(-1 * var(--pad));
}
.hero .stats-bar .n { font-family: var(--font-display); font-weight: 900; font-size: clamp(24px,3vw,32px); line-height: 1; }
.hero .stats-bar .n.red { color: var(--red); }
.hero .stats-bar .l { font-family: var(--font-display); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-top: 6px; }

/* ---- сцена первого экрана (главная) ---- */
.scene { position: relative; background: var(--white); }
.scene-pin { position: relative; height: calc(100svh - 76px); min-height: 560px; overflow: hidden; }
.stage { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage .tag { font-family: var(--font-display); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: .04em; fill: var(--black); }
.stage .tag.red { fill: var(--red-text); }
.stage .tag.white { fill: var(--white); }
.stage .js-only, .stage .extra, .stage .extra-back { opacity: 0; }   /* без JS башни нет — только комната */
.scene.is-live .stage .js-only, .scene.is-live .stage .extra, .scene.is-live .stage .extra-back { opacity: 1; }
/* До первого кадра сцены ничего готового не показываем (класс scene-wait
   ставит inline-скрипт в <head> главной и сам снимает через 2,5 с; hero.js
   возвращает opacity через inline-стили) */
html.scene-wait .scene #room, html.scene-wait .scene .poster, html.scene-wait .site-header .logo { opacity: 0; }
.poster { position: absolute; left: var(--pad); top: 50%; transform: translateY(-58%); width: min(43%, 620px); }
.poster .tags { display: flex; gap: 16px; flex-wrap: nowrap; overflow-x: auto; margin-bottom: 20px; scrollbar-width: none; }
.poster .tags::-webkit-scrollbar { display: none; }
.poster .tags span { flex-shrink: 0; }
.poster .tags span:nth-child(2n) { color: var(--red-text); }
.poster h1 { font-weight: 900; font-size: clamp(32px, 5.4vw, 80px); }
.poster .lead { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.4; max-width: 560px; margin-top: 20px; }
.poster .dates { display: flex; align-items: flex-end; gap: 22px; margin-top: 22px; flex-wrap: wrap; }
.poster .dates .big { font-family: var(--font-display); font-weight: 900; font-size: clamp(28px, 3.4vw, 46px); line-height: 1; color: var(--red); }
.poster .dates .place strong { font-family: var(--font-display); font-weight: 700; font-size: 18px; text-transform: uppercase; display: block; }
.poster .dates .place span { color: var(--text-faint); font-size: 13px; letter-spacing: .05em; text-transform: uppercase; font-family: var(--font-display); }
.poster .actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.scene .stats-bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--black); color: var(--white);
  display: flex; flex-wrap: wrap;
}
.scene .stats-bar .blk { background: var(--black); padding: 18px clamp(14px, 2vw, 28px); min-height: 84px; }
.scene .stats-bar .blk:first-child { padding-left: var(--pad); }
.scene .stats-bar .blk.fill { padding: 0; }
/* Десктоп со сценой: полоса прозрачная, блоки приезжают по одному; снизу
   до их приезда — такая же тонкая чёрная линия, как под шапкой */
.scene.is-live .stats-bar { background: transparent; flex-wrap: nowrap; overflow: hidden; }
.scene.is-live .scene-pin::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--black); }
html.scene-wait .site-header nav, html.scene-wait .site-header .burger { opacity: 0; }
.scene .stats-bar .n { font-family: var(--font-display); font-weight: 900; font-size: clamp(24px,3vw,32px); line-height: 1; }
.scene .stats-bar .n.red { color: var(--red); }
.scene .stats-bar .l { font-family: var(--font-display); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-top: 6px; }
.scroll-ribbon { display: none; }
/* Десктоп — или телефон в горизонте: там вертикальная камера ломается, собираем как десктоп */
@media ((min-width: 900px) and (hover: hover)) or ((orientation: landscape) and (max-height: 520px) and (min-width: 600px)) {
  .scene { height: 660svh; }   /* два акта: комната, затем афиша события */
  .scene.scene-simple { height: 420svh; }   /* архив: сетка с надписью → здание события, один проход */
  .scene-pin { position: sticky; top: 76px; }
  .scroll-ribbon { display: block; position: fixed; right: 0; top: 0; width: 6px; height: 100vh; background: var(--blue); transform: scaleY(0); transform-origin: top; z-index: 30; pointer-events: none; }
}
/* Телефон и планшет: та же сцена, но стадия сверху (камера наезжает на
   комнату через viewBox), афиша под ней, полоса цифр в одну строку */
@media not (((min-width: 900px) and (hover: hover)) or ((orientation: landscape) and (max-height: 520px) and (min-width: 600px))) {
  .scene { height: 560svh; }
  .scene.scene-simple { height: 380svh; }
  .scene-pin { position: sticky; top: 76px; height: calc(100svh - 76px); min-height: 0; }
  /* Стадия на весь экран: вертикальная сетка сверху донизу; в конце сцены
     камера (viewBox, считает hero.js) оставляет комнату в верхних 40 % */
  .stage { position: absolute; inset: 0; width: 100%; height: 100%; }
  .poster { position: absolute; left: var(--pad); right: var(--pad); top: 45%; transform: none; width: auto; padding: 0; }
  .poster .lead { display: none; }
  .poster .tags { margin-bottom: 12px; }
  .poster h1 { font-size: clamp(26px, 8vw, 40px); }
  .poster .dates { margin-top: 14px; gap: 14px; }
  .poster .dates .big { font-size: 26px; }
  .poster .dates .place strong { font-size: 15px; }
  .poster .dates .place span { display: none; }
  .poster .actions { margin-top: 16px; gap: 10px; flex-wrap: nowrap; }
  .poster .actions .btn { flex: 1; padding: 10px 8px; min-height: 46px; font-size: 14px; }
  .scene .stats-bar, .scene.is-live .stats-bar { flex-wrap: wrap; }
  .scene .stats-bar .blk { flex: 0 0 50%; min-width: 0; padding: 8px 8px 8px var(--pad); min-height: 0; }
  .scene .stats-bar .blk.fill { display: none; }
  .scene .stats-bar .n { font-size: 20px; }
  .scene .stats-bar .l { font-size: 11px; letter-spacing: 0; margin-top: 4px; }
  .scroll-ribbon { display: none; }
  /* Низкие экраны (iPhone SE): стадия ниже, афиша плотнее, иначе полоса
     цифр накрывает кнопки */
  @media (max-height: 700px) {
    .poster { top: 35%; }
    .poster .tags { display: none; }
    .poster h1 { font-size: clamp(22px, 6.4vw, 30px); }
    .poster .dates { margin-top: 10px; }
    .poster .dates .big { font-size: 22px; }
    .poster .actions { margin-top: 12px; }
    .poster .actions .btn { min-height: 42px; padding: 8px 6px; font-size: 13px; }
  }
}
/* ---- второй акт сцены: афиша ближайшего события с башней ---- */
.stage .roles text { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; fill: var(--white); text-anchor: middle; }
/* центр по свободной части экрана — над полосой партнёров */
.poster2 { position: absolute; left: var(--pad); top: 45%; transform: translateY(-50%); width: min(36%, 540px); }
.poster2 .meta { color: var(--red-text); }
.poster2 h2 { font-weight: 900; font-size: clamp(34px, 3.9vw, 58px); line-height: .95; margin: 12px 0 0; }
.poster2 .when { display: flex; flex-direction: column; gap: 4px; margin-top: 18px; }
.poster2 .when .big { font-family: var(--font-display); font-weight: 900; font-size: clamp(24px, 2.6vw, 38px); line-height: 1; color: var(--red); }
.poster2 .when .place { font-family: var(--font-display); font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--text-faint); }
.poster2 .recap { font-size: 14px; line-height: 1.5; color: var(--text-soft); margin-top: 14px; max-width: 46ch; }
.poster2 .themes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.poster2 .themes span { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; box-shadow: inset 0 0 0 3px var(--black); }
.poster2 .themes span:nth-child(2n) { background: var(--black); color: var(--white); }
/* дни события — каждая дата отдельной строкой, чтобы бросалась в глаза */
.poster2 .days { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.poster2 .days div { display: flex; align-items: baseline; gap: 12px; }
.poster2 .days b { font-family: var(--font-display); font-weight: 900; font-size: clamp(18px, 1.6vw, 24px); color: var(--red-text); white-space: nowrap; }
.poster2 .days span { font-size: clamp(13px, 1vw, 16px); color: var(--text-soft); }
.poster2 .stat-row { margin-top: 16px; gap: 8px; }
.poster2 .stat-chip { padding: 8px 12px; }
.poster2 .stat-chip .v { font-size: 18px; }
.poster2 .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.poster2 .actions .btn { padding: 12px 18px; font-size: 14px; }
@media (max-height: 820px) {
  .poster2 .stat-row, .poster2 .themes, .poster2 .recap { display: none; }   /* низкие ноутбуки: только суть */
}
html.scene-wait .scene .poster2, html.scene-wait .scene .partners-bar { opacity: 0; }
.scene .partners-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 84px; overflow: hidden; }
.scene .partners-bar .track { display: flex; height: 100%; }
.scene .partners-bar .blk { flex: 0 0 200px; height: 100%; background: var(--black); margin-right: 3px; display: flex; align-items: center; justify-content: center; padding: 16px 22px; }
.scene .partners-bar img { max-width: 100%; max-height: 100%; object-fit: contain; filter: brightness(0) invert(1); opacity: .92; }
.scene .partners-bar img.keep { filter: grayscale(1); }   /* цветной квадратный логотип, инверсия его убивает */
@media not (((min-width: 900px) and (hover: hover)) or ((orientation: landscape) and (max-height: 520px) and (min-width: 600px))) {
  .stage .roles { display: none; }
  .poster2 { left: var(--pad); right: var(--pad); top: 50%; transform: none; width: auto; }
  /* на телефоне даты уже есть в блоке дней — общую строку с датой убираем */
  .poster2 .stat-row, .poster2 .meta, .poster2 .when, .poster2 .recap { display: none; }
  .poster2 .days { margin-top: 8px; gap: 2px; }
  .poster2 .days b { font-size: 17px; }
  .poster2 .days span { font-size: 13px; }
  .poster2 .themes { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .poster2 .themes::-webkit-scrollbar { display: none; }
  .poster2 .themes span { flex-shrink: 0; }
  .poster2 h2 { font-size: clamp(24px, 7vw, 34px); margin-top: 8px; }
  .poster2 .when { margin-top: 10px; gap: 2px; }
  .poster2 .when .big { font-size: 22px; }
  .poster2 .when .place { font-size: 11px; }
  .poster2 .themes { margin-top: 10px; gap: 6px; }
  .poster2 .themes span { font-size: 11px; padding: 4px 8px; }
  .poster2 .actions { margin-top: 14px; gap: 8px; }
  .poster2 .actions .btn { flex: 1 1 40%; padding: 10px 8px; min-height: 44px; font-size: 13px; }
  .scene .partners-bar { height: 56px; }
  .scene .partners-bar .blk { flex-basis: 140px; padding: 10px 14px; }
  /* Низкие телефоны (Safari с панелями, iPhone SE): башня в верхних 40 %,
     афиша та же, но в меньшем масштабе — иначе партнёры накрывают кнопку */
  @media (max-height: 700px) {
    .poster2 { top: 43%; }
    .poster2 h2 { font-size: clamp(18px, 5.6vw, 24px); margin-top: 4px; }
    .poster2 .themes { margin-top: 6px; gap: 4px; }
    .poster2 .themes span { font-size: 11px; padding: 3px 6px; box-shadow: inset 0 0 0 2px var(--black); }
    .poster2 .days { margin-top: 6px; gap: 0; }
    .poster2 .days b { font-size: 14px; }
    .poster2 .days span { font-size: 12px; }
    .poster2 .actions { margin-top: 8px; gap: 6px; }
    .poster2 .actions .btn { min-height: 36px; padding: 7px 8px; font-size: 12px; }
    .scene .partners-bar { height: 44px; }
    .scene .partners-bar .blk { flex-basis: 110px; padding: 6px 10px; }
  }
}
/* Без JS (класс scene-js не поставлен): комната, афиша сезона, цифры, афиша
   события и партнёры идут друг за другом обычным потоком. «Уменьшение
   движения» сюда больше не ведёт — сцену ведёт прокрутка, hero.js лишь
   убирает интро и бегущую ленту */
html:not(.scene-js) .scene { height: auto; }
html:not(.scene-js) .scene-pin { position: relative; top: 0; height: auto; min-height: 0; display: flex; flex-direction: column; }
html:not(.scene-js) .stage { position: static; height: auto; aspect-ratio: 16 / 9; order: 2; }
html:not(.scene-js) .stage .roles { display: none; }
html:not(.scene-js) .poster { position: static; transform: none; width: auto; padding: 44px var(--pad) 8px; order: 1; }
html:not(.scene-js) .poster .lead { display: block; }
html:not(.scene-js) .scene .stats-bar { position: static; order: 3; flex-wrap: wrap; }
html:not(.scene-js) .scene .stats-bar .blk { flex: 0 0 50%; padding: 18px var(--pad); }
html:not(.scene-js) .poster2 { position: static; transform: none; width: auto; padding: 44px var(--pad) 24px; order: 4; }
html:not(.scene-js) .scene .partners-bar { position: static; order: 5; height: auto; }
html:not(.scene-js) .scene .partners-bar .track { flex-wrap: wrap; }
html:not(.scene-js) .scene .partners-bar .blk { flex: 1 0 33%; height: 64px; margin: 0 3px 3px 0; }
html:not(.scene-js) .scroll-ribbon { display: none; }
/* Телефон в горизонте (высота до 520 px): десктопная сцена, но всё компактнее,
   иначе афиша не влезает в экран */
@media (max-height: 520px) and (min-width: 600px) {
  .scene-pin { min-height: 0; }
  .poster { width: min(42%, 400px); }
  .poster .tags, .poster .lead, .poster .dates .place span { display: none; }
  .poster h1 { font-size: 24px; }
  .poster .dates { margin-top: 8px; gap: 12px; }
  .poster .dates .big { font-size: 20px; }
  .poster .dates .place strong { font-size: 13px; }
  .poster .actions { margin-top: 10px; gap: 8px; }
  .poster .actions .btn, .poster2 .actions .btn { padding: 8px 12px; min-height: 36px; font-size: 12px; }
  .scene .stats-bar .blk { min-height: 0; padding: 8px 14px; }
  .scene .stats-bar .n { font-size: 18px; }
  .scene .stats-bar .l { display: none; }
  .poster2 { width: min(44%, 420px); top: 46%; }
  .poster2 .meta, .poster2 .when .place, .poster2 .themes, .poster2 .stat-row, .poster2 .recap { display: none; }
  .poster2 h2 { font-size: 22px; }
  .poster2 .when { margin-top: 6px; }
  .poster2 .when .big { font-size: 16px; }
  .poster2 .days { margin-top: 6px; gap: 2px; }
  .poster2 .days b { font-size: 13px; }
  .poster2 .days span { font-size: 11px; }
  .poster2 .actions { margin-top: 10px; gap: 8px; }
  .scene .partners-bar { height: 44px; }
  .scene .partners-bar .blk { flex-basis: 120px; padding: 6px 12px; }
  .stage .roles { display: none; }
}

/* Скошенные кромки секций: наклон только у края, текст ровный */
.section.slant { clip-path: polygon(0 0, 100% 3.5vw, 100% 100%, 0 100%); padding-top: calc(72px + 3.5vw); }
.section.slant-r { clip-path: polygon(0 3.5vw, 100% 0, 100% 100%, 0 100%); padding-top: calc(72px + 3.5vw); }

/* ---- sections ---- */
.section { padding: 72px var(--pad); overflow: hidden; }
.section.tint { background: rgba(10,10,10,.04); }
.section.dark { background: var(--black); color: var(--white); }
.section.dark h2 { color: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head > * { min-width: 0; }
.section h2, .hero h1 { overflow-wrap: break-word; }
.section h2 { font-weight: 700; font-size: clamp(28px, 3.4vw, 44px); }
.section .sub { font-size: 16px; color: var(--text-soft); max-width: 560px; margin-top: 12px; }

.grid { display: grid; gap: var(--gap); }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 900px) {
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
}

.stat { }
.stat .n { font-family: var(--font-display); font-weight: 900; font-size: clamp(48px, 6vw, 88px); line-height: .85; color: var(--red); }
.stat .l { font-family: var(--font-display); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-top: 10px; }

.tile {
  box-shadow: inset 0 0 0 3px var(--black);
  padding: 26px;
}
.tile h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.tile p { font-size: 14px; color: var(--text-soft); margin: 0; }

.diagonal {
  position: relative; overflow: hidden;
}
.diagonal::before {
  content: ''; position: absolute; inset: 0;
  clip-path: polygon(0 0, 100% 0, 100% 68%, 0 100%);
}

/* ---- event card ---- */
.card {
  box-shadow: inset 0 0 0 3px var(--black);
  display: flex; flex-direction: column; background: var(--white);
}
.card .cover { height: 150px; background: var(--red); position: relative; overflow: hidden; }
.card .cover .date {
  position: absolute; left: 18px; top: 16px; color: var(--white);
  font-family: var(--font-display); font-weight: 900; font-size: 28px; line-height: .9;
}
.card .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.card .body .status { font-family: var(--font-display); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--red-text); }
.card .body h3 { font-size: 21px; font-weight: 700; line-height: 1.08; }
.card .body p { font-size: 14px; color: var(--text-soft); margin: 0; }
.card .go {
  font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: .01em; text-transform: uppercase;
  background: var(--red); color: var(--white); padding: 16px 20px; display: flex; justify-content: space-between; align-items: center;
  min-height: 56px;
}
.card .go:hover { background: var(--red-dark); }
.card .cover-mosaic .date { text-shadow: 0 1px 6px rgba(0,0,0,.55); }

.photo-mosaic { display: block; width: 100%; height: 100%; }

.mosaic-banner { height: 420px; margin: 0 calc(-1 * var(--pad)); }
@media (max-width: 780px) { .mosaic-banner { height: 260px; } }
@media (max-width: 480px) { .mosaic-banner { height: 190px; } }

.tabs { display: flex; gap: 10px; margin: -14px 0 32px; }
.tabs .tab {
  font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
  padding: 10px 18px; box-shadow: inset 0 0 0 3px var(--black); color: var(--black);
}
.tabs .tab.is-on { background: var(--black); color: var(--white); }

.stat-row { display: flex; flex-wrap: wrap; gap: 10px; }
.stat-chip { box-shadow: inset 0 0 0 3px var(--black); padding: 10px 16px; display: flex; flex-direction: column; gap: 2px; }
.stat-chip .v { font-family: var(--font-display); font-weight: 900; font-size: 22px; line-height: 1; color: var(--red-text); }
.stat-chip .l { font-family: var(--font-display); font-size: 11px; letter-spacing: .03em; text-transform: uppercase; color: var(--text-soft); }

/* ---- footer ---- */
.site-footer { background: var(--black); color: rgba(255,255,255,.8); padding: 56px var(--pad) 32px; }
.site-footer .cols { display: flex; gap: 60px; flex-wrap: wrap; margin-bottom: 40px; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: var(--white); }
.site-footer .bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,.5); padding-top: 24px; box-shadow: inset 0 3px 0 rgba(255,255,255,.15); }

/* ---- reduced motion / mobile nav ---- */
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

@media (max-width: 780px) {
  .burger { display: block; }
  .site-header nav { position: fixed; inset: 76px 0 0 0; background: var(--white); flex-direction: column; align-items: flex-start; padding: 30px var(--pad); gap: 22px; transform: translateX(100%); transition: transform .25s ease; }
  .site-header nav.open { transform: translateX(0); }
  .site-header nav a { font-family: var(--font-display); text-transform: uppercase; font-size: 20px; }
  .hero { min-height: auto; padding-top: 40px; padding-bottom: 32px; }
  .hero .shapes { position: static; width: 100%; margin: 24px 0; }
  .section { padding: 48px var(--pad); }
}

/* Появление секций при прокрутке */
/* Появление — только сдвигом, без прозрачности: текст должен быть полностью
   контрастным в любой момент (иначе аудит доступности и просто пользователь,
   не дождавшийся анимации, видят нечитаемый полупрозрачный текст). */
[data-reveal] { transform: translateY(24px); transition: transform .5s ease; }
[data-reveal].is-in { transform: none; }
