/* 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 { opacity: 0; }
.scene.is-live .stage .js-only { opacity: 1; }
/* Десктоп с JS: до первого кадра сцены ничего готового не показываем (класс
   ставит inline-скрипт в <head> главной; hero.js возвращает opacity через inline-стили) */
html.scene-js .scene #room, html.scene-js .scene .poster, html.scene-js .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-js .site-header nav, html.scene-js .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) {
  .scene { height: 300svh; }
  .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)) {
  .scene { height: 250svh; }
  .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; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .scene { height: auto; }
  .scene-pin { position: relative; top: 0; }
  .scroll-ribbon { display: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 899px) {
  .scene-pin { height: auto; display: flex; flex-direction: column; }
  .stage { position: static; height: auto; aspect-ratio: 5 / 4; order: 2; }
  .poster { position: static; padding: 44px var(--pad) 8px; order: 1; }
  .poster .lead { display: block; }
  .scene .stats-bar { position: static; order: 3; flex-wrap: wrap; }
  .scene .stats-bar .blk { flex: 0 0 50%; padding: 18px var(--pad); }
}

/* Скошенные кромки секций: наклон только у края, текст ровный */
.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-photo { background-size: cover; background-position: center; }
.card .cover-photo .date { text-shadow: 0 1px 6px rgba(0,0,0,.55); }
.card .mini-gallery { display: flex; gap: 6px; margin-top: 2px; }
.card .mini-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.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); }

/* ---- крупная плашка ближайшего события на главной ---- */
.section.featured { padding-top: 56px; padding-bottom: 0; }
.featured-card {
  display: flex; align-items: stretch; box-shadow: inset 0 0 0 3px var(--black); background: var(--white);
}
.featured-date {
  flex: 0 0 clamp(140px, 16vw, 190px); background: var(--red); color: var(--white);
  display: flex; flex-direction: column; justify-content: flex-start; gap: 10px; padding: 32px 22px;
}
.featured-date .big { font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 3.2vw, 42px); line-height: 1; white-space: nowrap; }
.featured-date .place { font-family: var(--font-display); font-size: 13px; letter-spacing: .03em; text-transform: uppercase; color: rgba(255,255,255,.85); line-height: 1.4; }
/* декор внизу колонки с датой — чтобы не оставалось пустого места */
.featured-date .accent { margin-top: auto; display: flex; align-items: flex-end; gap: 8px; }
.featured-date .accent .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--black); }
.featured-date .accent .sq { width: 14px; height: 14px; background: var(--white); }
.featured-date .accent .bar { flex: 1; height: 3px; background: rgba(255,255,255,.5); margin-bottom: 5px; }
.featured-body { flex: 1; padding: 36px clamp(24px, 3vw, 40px); min-width: 0; }
.featured-body h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 14px; }
.featured-body .lead { font-size: 17px; line-height: 1.5; color: var(--black); margin: 0 0 22px; max-width: 640px; }
.featured-body .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
/* фото башни на белом, вокруг летает цепочка ролей — как на air2026.ru */
.featured-visual { flex: 0 0 clamp(320px, 27vw, 400px); background: var(--white); position: relative; overflow: hidden; box-shadow: inset 3px 0 0 0 var(--black); }
/* башня прижата к низу: срез у основания уходит за край панели, а не висит в воздухе */
.featured-visual img { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: auto; height: auto; max-width: 62%; max-height: 82%; }
.featured-visual .w {
  position: absolute; display: flex; align-items: center; gap: 6px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--black); animation: ag-float 6s ease-in-out infinite;
}
.featured-visual .w::before { content: ''; width: 6px; height: 6px; background: currentColor; flex: none; }
.featured-visual .w2, .featured-visual .w5, .featured-visual .w9 { color: var(--red-text); }
.featured-visual .w4, .featured-visual .w7 { color: var(--blue); }
/* длинные слова — сверху и снизу, где башни нет; короткие — по бокам */
.featured-visual .w7 { top: 4%; left: 10px; animation-delay: -5.2s; }
.featured-visual .w5 { top: 4%; right: 12px; flex-direction: row-reverse; animation-delay: -2.5s; }
.featured-visual .w3 { top: 15%; left: 26px; animation-delay: -3.1s; }
.featured-visual .w6 { top: 17%; right: 22px; flex-direction: row-reverse; animation-delay: -.9s; }
.featured-visual .w2 { top: 34%; left: 12px; animation-delay: -1.7s; }
.featured-visual .w1 { top: 36%; right: 16px; flex-direction: row-reverse; animation-delay: -.2s; }
.featured-visual .w4 { top: 55%; left: 20px; animation-delay: -4.4s; }
.featured-visual .w8 { top: 57%; right: 24px; flex-direction: row-reverse; animation-delay: -3.7s; }
.featured-visual .w9 { top: 76%; left: 6px; animation-delay: -1.3s; }
@keyframes ag-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .featured-visual .w { animation: none; } }

.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); }

/* между телефоном и широким экраном на фото со словами места нет */
@media (max-width: 1080px) {
  .featured-visual { display: none; }
}
@media (max-width: 700px) {
  .featured-card { flex-direction: column; }
  .featured-date { flex-direction: row; align-items: center; gap: 16px; order: 1; }
  .featured-date .accent { display: none; }
  /* в столбик фото становится полосой сразу под датой */
  .featured-visual { display: block; flex: none; height: 300px; order: 2; box-shadow: inset 0 3px 0 0 var(--black); }
  .featured-visual img { max-width: 40%; max-height: calc(100% - 26px); }
  /* на узком экране длинные слова уходят выше, где башни ещё нет */
  .featured-visual .w7 { top: 8px; left: 8px; right: auto; flex-direction: row; }
  .featured-visual .w5 { top: 8px; right: 8px; left: auto; flex-direction: row-reverse; }
  .featured-visual .w3 { top: 36px; left: 8px; right: auto; flex-direction: row; }
  .featured-visual .w6 { top: 36px; right: 8px; left: auto; flex-direction: row-reverse; }
  .featured-visual .w2 { top: 64px; left: 8px; right: auto; flex-direction: row; }
  .featured-visual .w1 { top: 64px; right: 8px; left: auto; flex-direction: row-reverse; }
  .featured-visual .w4 { top: 126px; left: 6px; right: auto; flex-direction: row; }
  .featured-visual .w8 { top: 126px; right: 6px; left: auto; flex-direction: row-reverse; }
  .featured-visual .w9 { top: 178px; left: 6px; right: auto; flex-direction: row; }
  .featured-body { order: 3; }
}

/* ---- 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; }
