/* ═══════════════════════════════════════════════════════════════
   LUMENAI · V11 «РАЗРЕЗ v2» — целостность (аудит 2026-08-23) +
   де-AI-фейслифт типографики (правка Богдана 2026-08-24):
   золото = контент/генерация, электрик = интерфейс; единые токены
   ритма (--gap-*), титулов (--fs-*) и динамики (FOLLOW в main.js).
   bg #06070A · ink #F2F4F8 · электрик #4B58FF.
   Шрифт ОДИН — Onest (400/500/600), sentence case почти везде;
   Unbounded (--brand) только вордмарку LUMENAI. Mono удалён.
   (имя переменной --lime сохранено ради минимального диффа:
   --lime теперь электрик)
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #06070A;
  --ink: #F2F4F8;
  --lime: #4B58FF;
  /* электрик 4B58FF на тёмном = 3.97:1 — мало для мелкого текста;
     для текстовых употреблений — осветлённый вариант (~6.3:1) */
  --lime-text: #7B85FF;
  --lime-ink: #F5F7FF;
  /* ПРАВИЛО ПАЛИТР (аудит 2026-08-23): золото — всё, что сгенерировано
     студией (кадры, фильм, шов, подписи контента); электрик — интерфейс
     и служебная графика (индексы, ссылки, прогресс, курсор). */
  --gold: #E8A94F;
  --gold-hi: #FFE3B0;
  --well: #0E1116;
  --line: rgba(242, 244, 248, .1);
  --line-soft: rgba(242, 244, 248, .08);
  --mut-40: rgba(242, 244, 248, .4);
  --mut-50: rgba(242, 244, 248, .5);
  --mut-55: rgba(242, 244, 248, .55);
  --mut-68: rgba(242, 244, 248, .68);
  --pad: 52px;
  /* вертикальный ритм: два стыка, оба кратны 52 */
  --gap-lg: 208px;
  --gap-md: 104px;
  /* титульная шкала: один размер на все секционные титулы */
  --fs-title: clamp(30px, 4.4vw, 64px);
  --fs-phrase: clamp(24px, 3vw, 44px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  /* Один текстовый голос (правка Богдана 2026-08-24 «убрать нейросетевые
     паттерны»): Onest на всё — mono-код и капс сняты. Unbounded остаётся
     только вордмарку LUMENAI. */
  --brand: 'Unbounded', 'Onest', sans-serif;
  /* стрелка «наружу» — контур вместо шрифтового знака, см. .alink__head */
  --ico-ne: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.7 9.3 9 3M4.6 3H9v4.4' fill='none' stroke='%23000' stroke-width='1.05' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --onest: 'Onest', 'Helvetica Neue', sans-serif;
}
@media (max-width: 860px) {
  /* поля учитывают «безопасную зону»: viewport-fit=cover пускает страницу
     под вырез и скруглённые углы, в ландшафте это 44 px с каждой стороны */
  :root {
    --pad: max(20px, env(safe-area-inset-left), env(safe-area-inset-right));
    --gap-lg: 104px; --gap-md: 52px;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--onest);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; touch-action: manipulation; }
a:hover { color: var(--lime-text); }
::selection { background: var(--lime); color: var(--lime-ink); }
:focus-visible { outline: 1px solid var(--lime); outline-offset: 4px; border-radius: 3px; }
.lbtn:focus-visible { outline-offset: 6px; border-radius: 33px; }
img, video, canvas { display: block; max-width: 100%; }
/* ЗНАКИ, КОТОРЫХ НЕТ В ONEST, РИСУЕМ САМИ (правка Богдана 2026-08-26).
   Сабсеты Onest покрывают латиницу, кириллицу и U+2000–206F. Стрелка
   ↗ (U+2197), звёздочка ✳ (U+2733) и нота ♪ (U+266A) в них НЕ входят —
   браузер уходил в системный фолбэк, а iOS отдаёт такие символы
   Apple Color Emoji: на телефоне вместо тонких стрелок появлялись синие
   плашки, вместо звёздочек в бегущей строке — зелёные. Ни один из этих
   знаков больше не текст: стрелка — SVG-маска по currentColor, звёздочка —
   золотой ромб (наш знак), нота — три полоски эквалайзера, как в шапке.
   Стрелка ↓ (U+2193) в сабсете есть и остаётся символом. */
.alink__head, .dir__arrow {
  display: inline-block;
  width: .78em;
  height: .78em;
  background: currentColor;
  -webkit-mask: var(--ico-ne) center / contain no-repeat;
  mask: var(--ico-ne) center / contain no-repeat;
}
.divider__track em, .ftr__marquee em {
  display: inline-block;
  width: .38em;
  height: .38em;
  margin: 0 .06em .06em;
  vertical-align: middle;
  background: var(--gold);
  transform: rotate(45deg);
  border-radius: 1px;
  -webkit-text-stroke: 0;
}
h1, h2, h3, p, dl, dd, dt, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; touch-action: manipulation; }

@keyframes riseIn { from { transform: translateY(108%); } to { transform: translateY(0); } }
@keyframes pulse  { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ticker { to { transform: translateX(-50%); } }

.mask { display: block; overflow: hidden; }
.rise { display: block; animation: riseIn .9s var(--ease) both; }
/* rise ждут прелоадер: пока body не is-ready — на паузе */
body.is-loading .rise { animation-play-state: paused; }

/* ── Прелоадер «Проявление» ───────────────────────────────── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--bg);
  transition: opacity .6s ease, visibility 0s linear .6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__mark { width: 34px; height: 34px; }
.preloader__word {
  font-family: var(--brand);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .3em;
  color: var(--mut-55);
}
.preloader__bar {
  position: relative;
  width: min(180px, 40vw);
  height: 1px;
  background: rgba(242, 244, 248, .14);
  overflow: hidden;
}
.preloader__bar span {
  position: absolute;
  inset: 0;
  background: var(--lime);
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform .3s ease;
}
.rise-2 { animation-delay: .22s; }
.rise-3 { animation-delay: .32s; }
.rise-4 { animation-delay: .45s; animation-duration: 1s; }
.rise-5 { animation-delay: .55s; animation-duration: 1s; }
.rise-6 { animation-delay: .60s; animation-duration: 1s; }

/* reveal по скроллу (fail-open через rAF в main.js) */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].is-on { opacity: 1; transform: none; }
.mask > [data-reveal] {
  opacity: 1;
  transform: translateY(108%);
  transition: transform .9s var(--ease);
}
.mask > [data-reveal].is-on { transform: translateY(0); }

/* ── Общая типографика секций ─────────────────────────────── */
.sec-head { padding: 0 var(--pad); }
.sec-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--mut-55);
}
/* кикер главы — тот же золотой дэш, что у подписей контента и субтитров фильма */
.sec-label::before { content: '— '; color: var(--gold); }
.sec-title {
  margin-top: 22px;
  font-family: var(--onest);
  font-weight: 600;
  font-size: var(--fs-title);
  line-height: 1.08;
  letter-spacing: -.01em;
}
.sec-title .mask { display: block; }
/* золотой дэш у подписей контента — мост палитры (мотив дэша субтитров фильма) */
.k-dash::before { content: '— '; color: var(--gold); }
/* контурный номер-фон секции: система, а не разовый приём кейса */
.sec-wm {
  position: absolute;
  top: 40px;
  right: -2vw;
  font-family: var(--onest);
  font-weight: 600;
  font-size: 21vw;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(241, 242, 244, .07);
  pointer-events: none;
  user-select: none;
  z-index: -1;
}
.sec-sub {
  margin-top: 24px;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--mut-68);
}

/* ── Хедер ────────────────────────────────────────────────── */
.hdr {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 40px var(--pad) 12px;
  transition: transform .5s var(--ease), background .4s ease, padding .4s ease;
}
.hdr.is-solid {
  background: linear-gradient(180deg, rgba(6, 7, 10, .92), rgba(6, 7, 10, .72));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding-top: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}
@media (max-width: 860px) {
  .hdr.is-solid {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(6, 7, 10, .95);
  }
}
.hdr.is-hidden { transform: translateY(-110%); }
.hdr__brand { display: flex; align-items: center; gap: 14px; }
.hdr__mark { width: 18px; height: 18px; }
.hdr__name { font-family: var(--brand); font-size: 11px; font-weight: 500; letter-spacing: .22em; }
.hdr__nav {
  margin-left: auto;
  display: flex;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--mut-68);
}
/* тач-таргеты >=44px без изменения геометрии */
.hdr__nav a { padding: 15px 9px; }
.hdr__brand { padding: 13px 8px; margin-left: -8px; }
/* ── тумблер звука: эквалайзер из четырёх полосок ── */
.snd {
  margin-left: 12px; padding: 14px 9px; border: 0; background: none; cursor: pointer;
  display: flex; align-items: center; gap: 8px; height: 44px; box-sizing: border-box;
  font: 500 13px/1 var(--onest, 'Onest', sans-serif); letter-spacing: .02em;
  color: var(--mut-68);
  -webkit-tap-highlight-color: transparent;
}
.snd__bars { display: flex; align-items: flex-end; gap: 3px; height: 12px; }
.snd__lbl { font-weight: 500; transition: color .3s ease; }
.snd:hover { color: var(--ink); }
.snd.is-on .snd__lbl { color: var(--gold); }
/* в покое полоски разной высоты: четыре одинаковых читались как «....»,
   а не как звук (свип шапки 2026-08-25) */
.snd i {
  display: block; width: 2px; height: 5px; border-radius: 1px;
  background: var(--mut-55); transition: background .3s ease, height .3s ease;
}
.snd i:nth-child(1) { height: 4px; }
.snd i:nth-child(2) { height: 10px; }
.snd i:nth-child(3) { height: 6px; }
.snd i:nth-child(4) { height: 12px; }
.snd:hover i { background: var(--mut-68); }
.snd.is-on i { background: var(--gold); animation: sndbar 1s ease-in-out infinite; }
.snd.is-on i:nth-child(2) { animation-duration: 1.34s; animation-delay: -.2s; }
.snd.is-on i:nth-child(3) { animation-duration: .86s; animation-delay: -.5s; }
.snd.is-on i:nth-child(4) { animation-duration: 1.16s; animation-delay: -.8s; }
.snd:focus-visible { outline: 1px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
@keyframes sndbar { 0%, 100% { height: 4px; } 50% { height: 13px; } }
@media (prefers-reduced-motion: reduce) {
  .snd.is-on i { animation: none; height: 9px; }
}
.progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 41;
  height: 2px;
  width: 100%;
  background: var(--lime);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ── Hero «ПОТОК» ─────────────────────────────────────────────
   Стена кадров студии: наклонённые колонки едут навстречу друг другу,
   скролл разгоняет поток, курсор ведёт параллакс и проявляет кадр.
   Механика — js/flow.js. */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  background: #05060A;
}
.flow {
  position: absolute;
  inset: -14%;
  z-index: 1;
  display: flex;
  gap: clamp(12px, 1.2vw, 22px);
  justify-content: center;
  transform: rotate(-9deg) scale(1.28);
  transform-origin: 50% 50%;
  will-change: transform;
  pointer-events: auto;
}
.flow__col {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
}
.flow__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.2vw, 22px);
  will-change: transform;
}
.flow__card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(242, 244, 248, .1);
  background: #0B0D12;
  transition: transform .5s var(--ease), filter .5s ease, border-color .4s ease;
}
.flow__card img {
  width: 100%;
  aspect-ratio: var(--ar, 4 / 5);
  object-fit: cover;
  filter: saturate(.9) contrast(1.03) brightness(.82);
  transition: filter .5s ease;
}
.flow__card figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .02em;
  color: #fff;
  background: rgba(6, 8, 10, .62);
  padding: 4px 8px;
  border-radius: 3px;
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
/* вход-«проявление»: карточки ждут прелоадер, потом каскадом из темноты */
.flow__card.is-wait { opacity: 0; }
.flow__card.is-in {
  opacity: 1;
  transition: opacity 1.1s ease, transform .5s var(--ease), filter .5s ease, border-color .4s ease;
}
/* курсор проявляет кадр, соседние уходят в тень */
.flow.is-focus .flow__card { filter: brightness(.55) saturate(.7); }
.flow__card.is-hot {
  filter: none !important;
  transform: scale(1.04);
  border-color: rgba(242, 244, 248, .3);
}
.flow__card.is-hot img { filter: saturate(1) contrast(1.04) brightness(1); }
.flow__card.is-hot figcaption { opacity: 1; }

/* затемнение под текст */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(58% 54% at 32% 62%, rgba(5, 6, 10, .94) 0%, rgba(5, 6, 10, .78) 46%, rgba(5, 6, 10, .22) 78%, rgba(5, 6, 10, 0) 100%),
    linear-gradient(180deg, rgba(5, 6, 10, .86) 0%, rgba(5, 6, 10, .12) 24%, rgba(5, 6, 10, .16) 72%, rgba(5, 6, 10, .88) 100%);
}
/* editorial-композиция: текст ушёл из центра в левый нижний угол —
   центр-стек с mono-строкой читался как шаблон (правка 2026-08-24) */
.hero__center {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: left;
  padding: 96px var(--pad) 128px;
  pointer-events: none;
}
.hero__center > * { pointer-events: auto; }
.hero__h1 {
  font-family: var(--onest);
  font-weight: 600;
  font-size: clamp(40px, 6.2vw, 96px);
  line-height: 1.04;
  letter-spacing: -.02em;
  text-shadow: 0 12px 60px rgba(5, 6, 10, .9);
}
.hero__h1 .mask { display: block; }
.hero__h1-m { display: none; }
@media (max-width: 560px) {
  .hero__h1-d { display: none; }
  .hero__h1-m { display: block; }
}
.hero__lead {
  margin-top: 24px;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--mut-68);
  text-shadow: 0 2px 22px rgba(5, 6, 10, .95);
}
.hero__cta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  margin-top: 40px;
}
.hero__foot {
  position: absolute;
  z-index: 4;
  left: var(--pad);
  right: var(--pad);
  bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  letter-spacing: .01em;
  color: var(--mut-50);
  text-shadow: 0 1px 14px #000;
}
.hero__foot em { font-style: normal; }
.hero__pulse { color: var(--lime-text); animation: pulse 3s ease-in-out infinite; }
/* приглашение к звуку в подвале hero: тот же тумблер, что в шапке, но без
   отступа шапки и в размере подвала; включён — подпись золотая */
.hero__snd { margin-left: -9px; font-size: 12px; letter-spacing: .01em; color: var(--mut-50); text-shadow: 0 1px 14px #000; }
.hero__snd .snd__lbl { font-weight: 500; }
.hero__snd:hover { color: var(--ink); }

/* ── Жидкая кнопка ────────────────────────────────────────── */
.lbtn {
  position: relative;
  display: block;
  width: 232px;
  height: 66px;
  border-radius: 33px;
  padding: 3px;
  background: linear-gradient(180deg, #97979c, #3c3c41 32%, #191a1c 58%, #515157 92%);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .5);
  cursor: pointer;
  flex: none;
}
.lbtn__pad {
  display: block;
  height: 100%;
  border-radius: 30px;
  padding: 5px;
  background: var(--bg);
}
.lbtn__well {
  position: relative;
  display: block;
  height: 100%;
  border-radius: 25px;
  background: var(--well);
  overflow: hidden;
}
.lbtn__gloss {
  position: absolute;
  inset: 0;
  border-radius: 25px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 -10px 20px rgba(0, 0, 0, .55);
  pointer-events: none;
  z-index: 2;
}
.lbtn__label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #ECEEF3;
  /* лейбл должен читаться на ЛЮБОЙ фазе жидкого хрома, включая блики */
  text-shadow: 0 1px 2px rgba(6, 8, 14, .95), 0 0 10px rgba(6, 8, 14, .85), 0 0 22px rgba(6, 8, 14, .7);
  pointer-events: none;
  z-index: 3;
}
.lbtn:hover { color: inherit; }
/* фолбэк без WebGL: кнопка всё равно отвечает на ховер */
.lbtn { transition: transform .3s var(--ease), box-shadow .3s ease; }
.lbtn:hover { transform: translateY(-2px); box-shadow: 0 26px 54px rgba(0, 0, 0, .6); }

/* Ссылка-стрелка */
.alink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  cursor: pointer;
}
.alink__head { font-size: 18px; transition: transform .4s var(--ease); }
.alink:hover .alink__head, [data-arrow]:hover [data-arrow-head] { transform: translate(6px, -6px); }
.alink--lime { color: var(--lime-text); }

/* ── 01 · Направления: буквы-окна с живым видео ───────────────
   Тот же приём, что у вордмарка hero: белые буквы на чёрном +
   видео с mix-blend-mode multiply → материал живёт внутри букв. */
.dir { position: relative; padding: var(--gap-lg) 0 0; }
.dir__list { margin-top: 34px; border-bottom: 1px solid var(--line); }
.dir__row {
  position: relative;
  border-top: 1px solid var(--line);
}
.dir__link {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 90px 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 26px;
  padding: 30px var(--pad);
  cursor: pointer;
  background: transparent;
  /* фон должен стать чёрным ДО появления видео: на переходном фоне
     multiply-слой читается прямоугольником поверх строки */
  transition: background .22s ease;
}
.dir__link:hover { color: inherit; }
.dir__idx {
  grid-row: 1;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--mut-55);
  transition: color .4s ease;
}
.dir__stage {
  position: relative;
  grid-row: 1;
  grid-column: 2;
  overflow: hidden;
}
.dir__title {
  position: relative;
  font-family: var(--onest);
  font-weight: 600;
  font-size: var(--fs-title);
  line-height: 1.14;
  letter-spacing: -.01em;
  color: var(--ink);
  transition: color .4s ease, transform .6s var(--ease);
}
.dir__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  /* тёмный футаж поднимаем, чтобы буквы оставались читаемыми */
  filter: brightness(1.9) saturate(1.1) contrast(1.02);
  opacity: 0;
  /* лёгкая задержка — ждём, пока фон строки дочернеет (см. .dir__link) */
  transition: opacity .45s ease .14s;
  pointer-events: none;
}
/* ролики строк 1–2 — спец-генерации Veo (золотые нити, жидкий хром):
   они яркие сами по себе, множитель почти не нужен */
.dir__row:nth-child(1) .dir__media { filter: brightness(1.2) saturate(1.05); }
.dir__row:nth-child(2) .dir__media { filter: brightness(1.1) saturate(1.02); }
.dir__arrow {
  grid-row: 1;
  grid-column: 3;
  font-size: 24px;
  color: var(--mut-50);
  transition: transform .4s var(--ease), color .4s ease;
}
.dir__more {
  grid-row: 2;
  grid-column: 2 / 4;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .6s var(--ease), opacity .45s ease;
}
.dir__more-in {
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}
.dir__desc {
  max-width: 52ch;
  padding-top: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--mut-68);
}
.dir__meta {
  padding-top: 18px;
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--mut-50);
}
/* активная строка (ховер на десктопе, скролл-фокус на мобайле) */
.dir__link.is-live { background: #000; }
.dir__link.is-live .dir__title { color: #fff; transform: translateX(14px); }
/* видео проявляется только когда реально играет (класс is-play по событию
   playing) — раньше пустой элемент вспыхивал и замирал, пока файл грузился */
.dir__link.is-live .dir__media.is-play { opacity: .82; }
.dir__link.is-live .dir__idx { color: var(--lime); }
.dir__link.is-live .dir__arrow { color: var(--lime); transform: translate(6px, -6px); }
.dir__link.is-live .dir__more { grid-template-rows: 1fr; opacity: 1; }
/* без видео (reduce / save-data): буквы просто заливаются лаймом */
.dir--nomedia .dir__link.is-live .dir__title { color: var(--lime); }
.dir--nomedia .dir__media { display: none; }

/* ── 02 · «Смелые идеи оживают» — механика lusion Bold Ideas ──
   Хореография (тайминги/геометрия) — из reference/lusion-bold-ideas-block,
   палитра и шрифты — токены v10. Desktop-таймлайн:
   0.00–0.30 заголовок · 0.14–0.25 вход карточки · 0.22–0.62 подъём и
   разворот · 0.57–0.68 PLAY/REEL · 0.91–1.00 уход вверх. */
.xp {
  position: relative;
  height: 420svh;
  margin-top: var(--gap-md);
}
.xp__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
}
.xp__route {
  position: absolute;
  z-index: 1;
  left: -14vw;
  top: -12vh;
  width: 142vw;
  height: 132vh;
  overflow: visible;
  pointer-events: none;
  will-change: transform, opacity;
}
/* золотой шов (элемент В из лаборатории): тонкая нить + тёплое гало,
   тот же свет, что у кинцуги-монолита и пыли в луче */
.xp__route path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.xp__route-core { stroke: var(--gold-hi); stroke-width: 2.5px; }
.xp__route-glow { stroke: rgba(232, 169, 79, .3); stroke-width: 14px; }
.xp__title {
  position: absolute;
  z-index: 3;
  top: 0;
  left: var(--pad);
  width: calc(100% - (var(--pad) * 2));
  margin: 0;
  font-family: var(--onest);
  font-size: clamp(48px, 6.8vw, 112px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -.02em;
  will-change: transform, opacity;
}
.xp__label {
  display: block;
  margin-bottom: 26px;
}
/* заголовок теперь настоящий h2 — гасим UA-дефолты (1.5em, bold) */
.xp__lines {
  display: block;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}
.xp__line {
  display: block;
  white-space: nowrap;
  color: var(--ink);
}
.xp__line:first-child { margin-left: 15.1vw; }
/* слова разъехались и по скроллу стыкуются в предложение */
.xp__w {
  display: inline-block;
  white-space: pre;
  will-change: transform;
}

.xp__copy {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 65.1vw;
  width: min(31vw, 500px);
  will-change: transform, opacity;
}
.xp__copy p {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 20px);
  line-height: 1.5;
  color: var(--mut-68);
}
/* «Наш процесс» — та же стрелочная ссылка, что и у остальных секций:
   на сайте два семейства CTA (металл = главное, alink = переходы) */
.xp__approach { margin-top: 34px; }
.xp__reel {
  position: absolute;
  z-index: 7;
  left: 0;
  top: 0;
  overflow: visible;
  will-change: width, height, transform, opacity;
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  pointer-events: none;
}
.xp__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #0b0b12;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .55);
  pointer-events: auto;
  transform: translateZ(0);
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, border-radius;
}
/* Плоскость изгиба (WebGL): лежит внутри сцены под самим рилом, поэтому
   подписи, тикеры и кнопка остаются обычным DOM поверх — как у lusion.co.
   Пока плоскость активна, DOM-карточка отдаёт ей картинку: видео и вуаль
   гаснут, у рамки снимаются фон и тень (иначе за изогнутым листом торчал
   бы прямоугольник). */
.xp__warp {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}
.xp__reel.is-warp .xp__video,
.xp__reel.is-warp .xp__wash { opacity: 0 !important; }
.xp__reel.is-warp .xp__frame {
  background: transparent;
  box-shadow: none;
}

.xp__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #11131c;
  filter: saturate(1.04) contrast(1.03);
  transform: scale(1.008);
}
/* Вуаль рила: нейтральное затемнение, спадающее по мере роста карточки —
   «свет проявляет» вместо перекраски фильма в синий (аудит 2026-08-23:
   контент остаётся в родной тёплой гамме с первого кадра) */
.xp__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: #06070A;
  opacity: .55;
  will-change: opacity;
}
.xp__reel-title {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(16px, 2.4vw, 42px);
  padding: 0 8%;
  color: #fff;
  font-family: var(--onest);
  font-size: clamp(36px, 4.6vw, 82px);
  font-weight: 600;
  line-height: .9;
  letter-spacing: 0;
  pointer-events: none;
  will-change: opacity, transform;
}
.xp__reel-title span:first-child { justify-self: end; }
.xp__reel-title span:last-child { justify-self: start; }
/* кнопка play на языке кино-приборов сайта (тёмная плашка + hairline),
   а не белая пилюля generic-плеера */
.xp__pill {
  position: relative;
  z-index: 6;
  width: clamp(104px, 10vw, 166px);
  height: clamp(62px, 6.2vw, 98px);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(6, 8, 12, .58);
  border: 1px solid rgba(242, 244, 248, .38);
  box-shadow: 0 12px 38px rgba(0, 0, 0, .35);
  cursor: pointer;
  pointer-events: auto;
  transition: transform .24s var(--ease), background .24s ease, border-color .24s ease;
}
.xp__pill:hover,
.xp__pill:focus-visible {
  transform: scale(1.07);
  background: var(--lime);
  border-color: var(--lime);
  outline: none;
}
.xp__pill-ico {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 17px solid currentColor;
}
.xp__pill--mobile { display: none; }
.xp__ticker { display: none; }

/* следующая секция въезжает на хвост сцены — как в референсе */
.case {
  margin-top: -56svh;
  z-index: 10;
  background: var(--bg);
}

.reel-modal {
  position: fixed;
  z-index: 200;
  inset: 0;
  padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  display: grid;
  grid-template-rows: 1fr auto;
  color: #fff;
  background: #000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
.reel-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.reel-modal__close {
  position: absolute;
  z-index: 4;
  top: max(22px, env(safe-area-inset-top));
  right: max(22px, env(safe-area-inset-right));
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  background: #232331;
  font-size: 25px;
  cursor: pointer;
}
.reel-modal__media {
  width: min(100%, 1500px);
  height: min(75svh, 840px);
  align-self: center;
  justify-self: center;
  display: grid;
  place-items: center;
}
.reel-modal__video {
  width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  background: #080808;
}
.reel-modal__controls {
  width: min(100%, 1500px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}
.reel-modal__control {
  min-width: 44px;
  min-height: 44px;
  padding: 10px 6px;
  color: #fff;
  background: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
}
.reel-modal__progress {
  width: 100%;
  height: 44px;              /* хит-зона для пальца; полоска рисуется тонкой */
  accent-color: var(--lime);
  cursor: pointer;
}
.reel-modal__controls { padding-bottom: env(safe-area-inset-bottom, 0px); }
body.modal-open { overflow: hidden; }

/* ── 03 · Кейс ────────────────────────────────────────────── */
.case { position: relative; padding-top: var(--gap-lg); overflow-x: clip; }
.case__wm {
  position: absolute;
  top: 60px;
  right: -2vw;
  font-family: var(--onest);
  font-weight: 600;
  font-size: 21vw;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(241, 242, 244, .07);
  pointer-events: none;
  user-select: none;
}
.case__title {
  margin-top: 18px;
  font-family: var(--onest);
  font-weight: 600;
  font-size: clamp(36px, 6.8vw, 108px);
  line-height: 1.02;
  letter-spacing: -.02em;
}
.case__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 26px;
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--mut-50);
}
.case__meta span { position: relative; }
.case__meta span:not(:last-child)::after {
  content: '·';
  position: absolute;
  right: -16px;
  color: var(--mut-40);
}
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  padding: 72px var(--pad) 0;
}
.facts__item { border-top: 1px solid var(--line); padding-top: 18px; }
.facts__item dt {
  font-family: var(--onest);
  font-weight: 600;
  font-size: clamp(26px, 3.1vw, 48px);
  line-height: 1.05;
}
.facts__item dd {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--mut-50);
}

/* BUILD-скраб */
.build { height: 340vh; margin-top: var(--gap-md); position: relative; }
/* ПИН БЕЗ STICKY НА ТАЧЕ. Замер записи экрана Богдана (2026-09-04, 99
   кадров): шапка на `position: fixed` стоит намертво — размах 0.0 px, а
   плашка «Ход строительства» ВНУТРИ липкого блока гуляет на 12 px со
   скачками до 11 px за кадр. То есть дрожала не секвенция, а сам липкий
   блок: на iOS в этой секции (предки с `overflow-x: clip` — и `body`, и
   `.case`) WebKit уводит `position: sticky` с композитора на главный
   поток, и блок обновляется через кадр. Поэтому на таче блок пиним сами
   тем же способом, что и шапку, — `position: fixed`; классы вешает
   main.js по положению секции. На десктопе остаётся штатный sticky. */
.build.is-pin-a .build__sticky { position: absolute; top: 0; left: 0; right: 0; }
.build.is-pin-f .build__sticky { position: fixed; top: 0; left: 0; right: 0; }
.build.is-pin-z .build__sticky { position: absolute; top: auto; bottom: 0; left: 0; right: 0; }
.build__sticky {
  position: sticky;
  top: 0;
  /* svh, а НЕ dvh: динамическая высота меняется на каждом кадре, пока
     iOS прячет адресную строку. Канвас растянут на 100% липкого блока —
     вместе с ним каждый кадр перемасштабировался на пару пикселей, и
     секвенция «вибрировала» (правка Богдана 2026-08-26). Весь остальной
     сайт живёт на svh, этот блок был единственным исключением. */
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #07080C;
}
.build__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.build__sticky::before,
.build__sticky::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 180px;
  z-index: 1;
  pointer-events: none;
}
.build__sticky::before { top: 0; background: linear-gradient(180deg, rgba(10, 12, 14, .72), rgba(10, 12, 14, 0)); }
.build__sticky::after { bottom: 0; background: linear-gradient(0deg, rgba(10, 12, 14, .78), rgba(10, 12, 14, 0)); }
.build__hud::before {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(242, 244, 248, .07), inset 0 0 160px rgba(6, 7, 10, .42);
}
.build__hud {
  position: absolute;
  inset: 0;
  z-index: 2;
  font-size: 12px;
  letter-spacing: .02em;
  color: rgba(241, 242, 244, .95);
  /* кадры стройки светлые (небо) — текст держит плотная тень */
  text-shadow: 0 1px 2px rgba(0, 0, 0, .85), 0 2px 14px rgba(0, 0, 0, .7);
  pointer-events: none;
}
.build__hud-a, .build__hud-b {
  background: rgba(6, 8, 10, .5);
  padding: 6px 10px;
  border-radius: 3px;
}
.build__hud-a { position: absolute; top: 86px; left: var(--pad); }
.build__hud-b { position: absolute; top: 86px; right: var(--pad); }
.build__phase {
  position: absolute;
  left: var(--pad);
  bottom: calc(46px + env(safe-area-inset-bottom, 0px));
  font-family: var(--onest);
  font-weight: 600;
  font-size: clamp(19px, 2.5vw, 38px);
  letter-spacing: -.01em;
  transition: opacity .24s ease, transform .24s ease;
}
.build__phase.is-swap { opacity: 0; transform: translateY(10px); }
.build__final {
  position: absolute;
  z-index: 3;
  left: var(--pad);
  right: var(--pad);
  bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  color: #fff;
  opacity: 0;
  transform: translateY(26px);
  pointer-events: none;
}
.build__final.is-on { pointer-events: auto; }
.build__final-kicker {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .8);
}
.build__final-line {
  margin-top: 12px;
  max-width: 24ch;
  font-size: var(--fs-phrase);
  font-weight: 600;
  line-height: 1.25;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .7);
}
.build__final-cta { margin-top: 22px; text-shadow: 0 1px 12px rgba(0, 0, 0, .8); }
.build__bar {
  position: absolute;
  left: var(--pad); right: var(--pad);
  bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  height: 1px;
  background: rgba(241, 242, 244, .18);
}
.build__bar span {
  position: absolute;
  left: 0; top: -1px;
  height: 3px;
  width: 100%;
  background: var(--lime);
  transform-origin: 0 50%;
  transform: scaleX(0);
}


/* ── 06 · «Кадры» — живая мозаика генераций ──────────────────
   Лента-аккордеон: JS ведёт flex-grow каждой ячейки (дыхание + акцент),
   CSS отвечает за скругление, кен-бёрнс активного кадра и подписи. */
.shots { position: relative; padding-top: var(--gap-lg); }
.mz {
  display: flex;
  gap: 10px;
  height: clamp(480px, 55vw, 700px);
  margin-top: 48px;
  padding: 0 var(--pad);
}
/* стопка дорожек слева + вертикальный столбец справа */
.mz__rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 3 1 0%;
  min-width: 0;
}
.mz__row {
  display: flex;
  gap: 10px;
  flex: 1 1 0%;
  min-height: 0;
  min-width: 0;
}
.mz__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1.1 1 0%;
  min-width: 0;
}
.mz__cell {
  position: relative;
  flex: 1 1 0%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  cursor: pointer;
  background: #0B0D12;
  transform: translateZ(0);
}
/* золотая кромка-прожектор: радиальный градиент у рамки, центр ведёт JS */
.mz__cell::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: 2;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%),
              rgba(255, 227, 176, .85), rgba(232, 169, 79, .18) 44%, transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}
.mz.is-lit .mz__cell::before { opacity: 1; }
/* вспышка при смене главного кадра: рамка коротко загорается целиком */
.mz__cell.is-fresh::before { opacity: .7; transition: opacity .3s ease; }
/* обёртка кадра: параллакс живёт на ней (JS), кен-бёрнс — на img (CSS) */
.mz__media {
  position: absolute;
  inset: -6%;
  will-change: transform;
}
.mz__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(.92) brightness(.78);
  transition: filter .6s ease, transform 7s linear;
}
.mz__cell.is-on .mz__media img {
  filter: none;
  transform: scale(1.09);
}
.mz__cap {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .02em;
  color: #fff;
  background: rgba(6, 8, 10, .66);
  padding: 6px 10px;
  border-radius: 3px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s ease .1s, transform .4s var(--ease) .1s;
}
.mz__cell.is-on .mz__cap { opacity: 1; transform: none; }
.mz__tail { margin-top: 44px; padding: 0 var(--pad); }
.mz__kicker {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--mut-55);
}
.mz__line {
  margin-top: 12px;
  font-size: var(--fs-phrase);
  font-weight: 600;
  line-height: 1.25;
}
/* статичная ветка (reduce / save-data): ровные ряды без анимации */
.mz--static { height: auto; flex-direction: column; }
.mz--static .mz__row, .mz--static .mz__col { flex: none; flex-direction: row; }
.mz--static .mz__cell { aspect-ratio: 4 / 3; flex: 1 1 0% !important; }
.mz--static .mz__media { position: static; inset: auto; height: 100%; }
.mz--static .mz__media img { transform: none; filter: none; }
.mz--static .mz__cap { opacity: 1; transform: none; }
.mz--static .mz__cell::before { display: none; }

/* ── Разделитель ──────────────────────────────────────────── */
.divider {
  margin-top: var(--gap-md);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.divider__track {
  display: flex;
  width: max-content;
  padding: 20px 0;
  animation: marquee 28s linear infinite;
  font-family: var(--onest);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: .01em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 244, 248, .38);
}
.divider__track span { white-space: nowrap; padding-right: .8em; }
.divider__track em {
  font-style: normal;
  color: var(--gold);
  -webkit-text-stroke: 0;
}

/* ── 04 · Персоны ─────────────────────────────────────────── */
.pers { padding-top: var(--gap-md); }
.pers__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 0 var(--pad);
}
.pers__chips { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 30px; }
.pers__chips li {
  position: relative;
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--mut-55);
}
.pers__chips li:not(:last-child)::after {
  content: '·';
  position: absolute;
  right: -12px;
  color: var(--mut-40);
}
.pers__media { position: relative; }
.pers__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(241, 242, 244, .14);
}
.pers__cta { margin-top: 28px; }
.pers__cap {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--mut-50);
}

/* ── 05 · Процесс: карточки-«марки», на обороте — наш кадр ───
   Референс — каталожные карточки abetkaua.com; переворот 3D по
   слегка диагональной оси, оборот — инверсия в лайм. */
.proc { padding-top: var(--gap-lg); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
  padding: 0 var(--pad);
}
.steps__card { perspective: 1400px; }
.steps__flip {
  display: block;
  width: 100%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.steps__inner {
  position: relative;
  display: block;
  aspect-ratio: 1;
  transform-style: preserve-3d;
  transition: transform .9s var(--ease);
}
.steps__face {
  position: absolute;
  inset: 0;
  display: block;
  padding: 20px 22px;
  border-radius: 8px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  text-align: left;
}
.steps__face--front {
  background: #0D0F14;
  border: 1px solid rgba(241, 242, 244, .12);
  transition: border-color .4s ease;
}
.steps__face--back {
  background: #08090D;
  color: var(--ink);
  border: 1px solid rgba(232, 169, 79, .28);
  transform: rotate3d(.14, 1, 0, 180deg);
  display: flex;
  flex-direction: column;
}
/* «Плёнка процесса»: за текстом живёт наш кадр — этап показан, а не назван.
   Слои уходят в отрицательный z-index: у грани свой стек-контекст (transform),
   поэтому они остаются внутри карточки и над её фоном. */
.steps__reel { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.steps__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  filter: grayscale(.12) contrast(1.06) brightness(.98);
  transition: opacity .9s ease, transform 7s linear;
}
.steps__frame.is-on { opacity: .88; }
.steps__flip.is-live .steps__frame.is-on { transform: scale(1.11); }
.steps__scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(6, 7, 10, .78) 0%, rgba(6, 7, 10, .18) 30%,
                            rgba(6, 7, 10, .5) 58%, rgba(6, 7, 10, .95) 100%),
    linear-gradient(90deg, rgba(6, 7, 10, .62), rgba(6, 7, 10, .04) 60%);
}
.steps__rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(242, 244, 248, .09);
}
.steps__rail i {
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold), var(--gold-hi));
  box-shadow: 0 0 12px rgba(232, 169, 79, .55);
}
.steps__idx {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--mut-55);
}
.steps__face--back .steps__idx { color: rgba(242, 244, 248, .62); }
.steps__plus {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 16px;
  color: var(--mut-40);
  transition: color .4s ease, transform .5s var(--ease);
}
.steps__digit {
  position: absolute;
  right: -4%;
  bottom: -14%;
  font-family: var(--onest);
  font-weight: 600;
  font-size: clamp(74px, 7.6vw, 132px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 244, 248, .32);
  pointer-events: none;
}
.steps__face--back::after {
  content: attr(data-n);
  position: absolute;
  z-index: -1;
  right: -4%;
  bottom: -14%;
  font-family: var(--onest);
  font-weight: 600;
  font-size: clamp(74px, 7.6vw, 132px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .3);
  pointer-events: none;
}
.steps__name {
  position: absolute;
  left: 22px;
  bottom: 42px;
  font-size: clamp(19px, 1.8vw, 27px);
  font-weight: 600;
  color: var(--ink);
}
.steps__hint {
  position: absolute;
  left: 22px;
  bottom: 20px;
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--mut-40);
}
.steps__desc {
  display: block;
  margin-top: auto;
  font-size: clamp(13px, 1.05vw, 16px);
  line-height: 1.45;
  font-weight: 500;
  text-shadow: 0 1px 12px rgba(6, 7, 10, .8);
}
.steps__meta {
  display: block;
  margin-top: 14px;
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: .02em;
  color: rgba(242, 244, 248, .74);
}
.steps__flip.is-flip .steps__inner,
.steps__flip:focus-visible .steps__inner {
  transform: rotate3d(.14, 1, 0, 180deg);
}
@media (hover: hover) and (pointer: fine) {
  .steps__flip:hover .steps__inner { transform: rotate3d(.14, 1, 0, 180deg) translateY(-6px); }
  .steps__card:hover { z-index: 2; }
}

/* ── 06 · Студия ──────────────────────────────────────────── */
.studio { padding-top: var(--gap-lg); }
.studio__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  padding: 0 var(--pad);
}
.studio__media img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(241, 242, 244, .14);
}
.studio__cap {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--mut-50);
}
.studio__roles { display: flex; gap: 46px; margin-top: 34px; }
.studio__roles b { display: block; font-size: 15px; font-weight: 600; }
.studio__roles span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--mut-50);
}
.studio__stack { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 36px; }
.studio__stack span {
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--mut-50);
}

/* ── Люм: 3D-светлячок студии ─────────────────────────────── */
.lum { margin-top: 88px; padding: 0 var(--pad); }
/* Люм и разговор с ним стоят парой: слева маскот, справа ветка реплик.
   На узком — колонкой, Люм сверху и мельче (правка Богдана 2026-08-25). */
.lum__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 52px);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}
.lum__stage {
  position: relative;
  height: clamp(300px, 34vw, 440px);
  display: grid;
  place-items: center;
}
.lum__cv {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
  transition: opacity .9s ease;
}
.lum__cv.is-ready { opacity: 1; }
.lum__still { display: none; height: 86%; width: auto; }
.lum--static .lum__cv { display: none; }
.lum--static .lum__still { display: block; }
.lum__cap {
  margin-top: 6px;
  text-align: center;
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--mut-50);
}

/* ── разговор с Люмом: неоновое жидкое стекло ─────────────────────────
   Заказ Богдана: «в стиле Gemini, но под наш стиль — неоновый liquid glass,
   чтобы цвета переливались». Собрано из трёх слоёв: под стеклом медленно
   плывёт аврора из четырёх пятен, сверху полупрозрачная поверхность с
   верхним бликом, по кромке — бегущая градиентная рамка. Палитра: наши
   электрик и золото плюс фиалка и бирюза — они и дают перелив.
   Правило палитр аудита не нарушено: золото остаётся на репликах Люма
   (контент), электрик — на кнопках и выборе человека (интерфейс). */
:root {
  --iri-1: #4B58FF;   /* электрик — наш */
  --iri-2: #8B5CF6;   /* фиалка */
  --iri-3: #E8A94F;   /* золото — наше */
  --iri-4: #35D6C8;   /* бирюза */
}
.lum__chat {
  --chat-r: 26px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 2.2vw, 28px);
  border-radius: var(--chat-r);
  /* высота панели фиксирована: иначе ряды кнопок то в одну строку, то в три,
     и низ страницы прыгает прямо во время разговора */
  height: clamp(322px, 33vw, 404px);
  background:
    linear-gradient(158deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02) 46%, rgba(255, 255, 255, .05)),
    rgba(9, 11, 17, .72);
  box-shadow:
    0 30px 70px -34px rgba(0, 0, 0, .95),
    0 0 90px -30px rgba(75, 88, 255, .85),
    0 0 130px -50px rgba(53, 214, 200, .55),
    inset 0 1px 0 rgba(255, 255, 255, .18),
    inset 0 -1px 0 rgba(255, 255, 255, .06);
}
/* Кромка стекла — СТАТИЧНАЯ (правка Богдана: «что это за движущиеся линии
   по контуру, должно быть только плавное переливание»). Бегущий градиент
   читался как линии, ползущие по рамке; движение отдано авроре под
   стеклом, кромка только ловит её цвета. */
.lum__chat::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(75, 88, 255, .85), rgba(139, 92, 246, .55) 34%,
    rgba(232, 169, 79, .45) 62%, rgba(53, 214, 200, .70));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
/* Обойма для движущихся слоёв. clip-path обязателен: overflow:hidden не
   обрезает по скруглению слои, которые ушли в свой композиторский слой
   (у них blur и анимация transform) — от этого у Богдана и торчали
   квадратные углы за скруглённой кромкой. */
.lum__aura {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  pointer-events: none;
  border-radius: inherit;
  clip-path: inset(0 round var(--chat-r));
}
/* аврора под стеклом: четыре пятна медленно расходятся и сходятся */
.lum__aura::before,
.lum__aura::after {
  content: '';
  position: absolute;
  inset: -34%;
}
.lum__aura::before {
  background:
    radial-gradient(34% 42% at 20% 26%, rgba(75, 88, 255, .78), transparent 72%),
    radial-gradient(30% 36% at 80% 20%, rgba(232, 169, 79, .52), transparent 72%),
    radial-gradient(36% 40% at 68% 84%, rgba(53, 214, 200, .46), transparent 72%),
    radial-gradient(32% 38% at 16% 82%, rgba(139, 92, 246, .60), transparent 72%);
  filter: blur(30px) saturate(1.25);
  opacity: .68;
  animation: lumAura 26s ease-in-out infinite alternate;
}
/* второй слой перелива: другие пятна, другой ритм, режим screen — на
   пересечениях цвета складываются в неон, а не мажутся в серое */
.lum__aura::after {
  inset: -30%;
  mix-blend-mode: screen;
  background:
    radial-gradient(28% 34% at 72% 42%, rgba(53, 214, 200, .55), transparent 70%),
    radial-gradient(26% 32% at 30% 62%, rgba(232, 169, 79, .45), transparent 70%),
    radial-gradient(30% 34% at 50% 12%, rgba(139, 92, 246, .55), transparent 70%);
  filter: blur(38px);
  opacity: .55;
  animation: lumAura2 19s ease-in-out infinite alternate;
}
.lum__log {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(242, 244, 248, .18) transparent;
}
.lum__log::-webkit-scrollbar { width: 4px; }
.lum__log::-webkit-scrollbar-thumb { background: rgba(242, 244, 248, .18); border-radius: 4px; }
.lum__msg {
  max-width: 86%;
  padding: 12px 16px;
  font: 400 15px/1.5 var(--onest);
  border-radius: 16px;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  animation: lumIn .42s var(--ease) both;
}
.lum__msg--lum {
  align-self: flex-start;
  color: var(--ink);
  background: linear-gradient(152deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .055));
  border: 1px solid rgba(255, 255, 255, .2);
  border-bottom-left-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 22px -18px rgba(0, 0, 0, .9);
}
.lum__msg--me {
  align-self: flex-end;
  color: var(--lime-ink);
  background: linear-gradient(152deg, rgba(139, 92, 246, .40), rgba(75, 88, 255, .22));
  border: 1px solid rgba(163, 168, 255, .42);
  border-bottom-right-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 10px 26px -20px rgba(75, 88, 255, .9);
}
.lum__who {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--gold-hi);
}
.lum__msg a { color: #C9CEFF; text-decoration: none; border-bottom: 1px solid rgba(163, 168, 255, .5); }
.lum__msg a:hover { color: #fff; border-bottom-color: #C9CEFF; }
/* «печатает»: три точки перебирают тот же перелив */
.lum__dots { display: inline-flex; gap: 6px; padding: 4px 0; }
.lum__dots i {
  width: 7px; height: 7px; border-radius: 50%;
  animation: lumDot 1.05s ease-in-out infinite;
}
.lum__dots i:nth-child(1) { background: var(--iri-3); }
.lum__dots i:nth-child(2) { background: var(--iri-1); animation-delay: .16s; }
.lum__dots i:nth-child(3) { background: var(--iri-4); animation-delay: .32s; }
.lum__opts { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 9px; flex: 0 0 auto; }
.lum__opt {
  position: relative;
  padding: 11px 17px;
  cursor: pointer;
  font: 500 14px/1.2 var(--onest);
  color: var(--ink);
  background: linear-gradient(152deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .035));
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 100px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
  transition: color .25s, box-shadow .3s, transform .3s var(--ease), border-color .25s;
  -webkit-tap-highlight-color: transparent;
}
/* на наведении по кромке кнопки пробегает тот же перелив */
.lum__opt::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, var(--iri-1), var(--iri-2) 45%, var(--iri-4));
  opacity: 0;
  transition: opacity .3s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.lum__opt:hover { color: #fff; transform: translateY(-1px); border-color: transparent; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 10px 26px -18px rgba(75, 88, 255, .9); }
.lum__opt:hover::after { opacity: 1; }
.lum__opt:focus-visible { outline: 1px solid var(--iri-1); outline-offset: 3px; }
.lum__opt--go { color: var(--gold-hi); border-color: rgba(232, 169, 79, .42); }
.lum__opt--go::after { background: linear-gradient(140deg, var(--iri-3), var(--iri-4) 55%, var(--iri-2)); }
.lum__opt--go:hover { color: #FFF0D6; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 10px 26px -18px rgba(232, 169, 79, .9); }
@keyframes lumAura {
  0% { transform: translate3d(-3%, -2%, 0) scale(1) rotate(0deg); }
  50% { transform: translate3d(4%, 3%, 0) scale(1.12) rotate(8deg); }
  100% { transform: translate3d(-2%, 4%, 0) scale(1.04) rotate(-6deg); }
}
@keyframes lumAura2 {
  0% { transform: translate3d(4%, 3%, 0) scale(1.06) rotate(0deg); }
  100% { transform: translate3d(-5%, -3%, 0) scale(1.18) rotate(-12deg); }
}
@keyframes lumIn { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@keyframes lumDot { 0%, 100% { opacity: .3; transform: translateY(0); } 45% { opacity: 1; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) {
  .lum__msg { animation: none; }
  .lum__dots i, .lum__aura::before, .lum__aura::after { animation: none; }
  .lum__opt:hover { transform: none; }
}
@media (max-width: 860px) {
  .lum__grid { grid-template-columns: 1fr; gap: 18px; }
  .lum__stage { height: clamp(230px, 52vw, 300px); }
  .lum__msg { max-width: 92%; font-size: 14px; }
  .lum__chat { height: clamp(330px, 52vh, 400px); --chat-r: 22px; }
  .lum__aura::before { filter: blur(24px) saturate(1.25); }
  .lum__aura::after { filter: blur(28px); }
  /* на телефоне backdrop-filter пересчитывается каждый кадр, пока под
     стеклом плывёт аврора; заменяем его чуть более плотной заливкой */
  .lum__msg, .lum__opt { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .lum__msg--lum { background: linear-gradient(152deg, rgba(255, 255, 255, .17), rgba(28, 30, 44, .55)); }
  .lum__msg--me { background: linear-gradient(152deg, rgba(139, 92, 246, .46), rgba(52, 62, 150, .5)); }
  .lum__opt { background: linear-gradient(152deg, rgba(255, 255, 255, .12), rgba(24, 26, 38, .5)); }
}
}
@media (max-width: 860px) {
  .lum { margin-top: 52px; }
  .lum__stage { height: clamp(260px, 60vw, 340px); }
}
@media (prefers-reduced-motion: reduce) {
  .lum__cv { display: none; }
  .lum__still { display: block; }
}

/* ── 07 · Футер ───────────────────────────────────────────── */
.ftr { padding: var(--gap-lg) 0 0; overflow: hidden; }
.ftr__marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ftr__marquee {
  display: flex;
  width: max-content;
  padding: 18px 0;
  animation: marquee 28s linear infinite;
  font-family: var(--onest);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: .01em;
}
.ftr__marquee:hover { animation-play-state: paused; }
.ftr__marquee span { white-space: nowrap; padding-right: .8em; }
.ftr__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 52px var(--pad) 0;
}
.ftr__label { display: block; margin-bottom: 16px; }
.ftr__ask { font-size: 22px; font-weight: 600; }
.ftr__note { margin-top: 8px; font-size: 14px; color: var(--mut-55); }
.ftr__note .alink { font-size: 14px; letter-spacing: 0; gap: 4px; padding: 12px 4px; margin: -12px -4px; }
.ftr__note .alink__head { font-size: 14px; }
.ftr__meta {
  margin-top: 48px;
  padding: 16px var(--pad);
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: .01em;
  color: var(--mut-50);
}

/* ── Шторка-переход между секциями (приём из фильма) ──────────
   Наклонённая пластина с торцами-электрик проезжает экран на входе
   в секцию. Ставится только на стыки без скролл-анимаций (04, 05, 07):
   на 02 и 06 она перекрыла бы сцену, привязанную к скроллу.
   Ниже хедера (40) и модалки (200) — шапка и шоурил не перекрываются. */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 35;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
  contain: layout paint;
}
.curtain.is-run { visibility: visible; }
.curtain__plate {
  position: absolute;
  top: -16%;
  left: 0;
  width: 156%;
  height: 132%;
  transform: rotate(-5deg) translateX(-172%);
  /* кромки плиты растворяются: на входе и выходе она читается тёмной
     волной с золотым торцом, а не прямоугольником, приехавшим на экран */
  background: linear-gradient(105deg,
    rgba(9, 11, 17, 0) 0%, #0B0D13 7%, #14171F 26%, #07080C 52%,
    #13161E 76%, #0B0D13 93%, rgba(9, 11, 17, 0) 100%);
  will-change: transform;
}
.curtain__plate::before,
.curtain__plate::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(232, 169, 79, .2), var(--gold-hi) 34%, var(--gold) 72%, rgba(232, 169, 79, .16));
}
.curtain__plate::before { right: -1px; box-shadow: -10px 0 44px rgba(232, 169, 79, .5); }
.curtain__plate::after  { left: -1px;  box-shadow: 10px 0 44px rgba(232, 169, 79, .5); }
.curtain__sheen {
  position: absolute;
  top: -12%;
  bottom: -12%;
  left: -560px;
  width: 520px;
  transform: skewX(-7deg);
  filter: blur(7px);
  background: linear-gradient(90deg, transparent, rgba(255, 227, 176, .04),
                              rgba(255, 227, 176, .16), rgba(255, 227, 176, .04), transparent);
}
/* блок-шапка «NN — ИМЯ» на полном перекрытии — как в фильме */

/* ── Пыль в луче: тихий слой в пустых тёмных зонах ────────────
   Луч — статичный CSS-градиент (бесплатно), в canvas только частицы.
   Слой уходит под контент через z-index:-1 + isolation у секции. */
/* overflow-x: clip — контурный номер секции (.sec-wm) уходит за правый край
   на -2vw и давал странице 30 px хода вбок; клип оставляет ровно ту же
   картинку, но страница больше не едет в сторону (2026-08-26) */
.pers, .proc, .studio { position: relative; isolation: isolate; overflow-x: clip; }
.dust {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.dust__beam {
  position: absolute;
  inset: -12% -22%;
  background: linear-gradient(102deg, transparent 13%, rgba(255, 227, 176, .055) 27%,
                              rgba(255, 227, 176, .014) 47%, transparent 65%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, 1) 32%, rgba(0, 0, 0, .2));
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, 1) 32%, rgba(0, 0, 0, .2));
}
.dust__cv {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ── Курсор ───────────────────────────────────────────────── */
.cursor {
  position: fixed;
  z-index: 210;              /* выше модалки — фирменная точка живёт и в шоуриле */
  left: 0; top: 0;
  width: 10px; height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--lime);
  pointer-events: none;
  opacity: 0;
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), opacity .3s ease, background .3s ease;
  mix-blend-mode: exclusion;
}
.cursor.is-live { opacity: 1; }
.cursor.is-link {
  width: 46px; height: 46px;
  margin: -23px 0 0 -23px;
  background: rgba(75, 88, 255, .9);
}
@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

/* ── Мобайл ───────────────────────────────────────────────── */
@media (max-width: 860px) {
  .hdr { padding-top: max(12px, env(safe-area-inset-top)); padding-bottom: 6px; gap: 4px; }
  .hdr__nav { gap: 0; }
  .hdr__nav a { padding: 15px 6px; letter-spacing: .02em; }
  .hdr__nav a:nth-child(2) { display: none; }  /* ПРОЦЕСС прячем, КЕЙСЫ и КОНТАКТ остаются */
  .hdr__brand { padding: 13px 4px; margin-left: -4px; gap: 10px; }

  .hero { min-height: 580px; }
  .flow { inset: -20%; transform: rotate(-11deg) scale(1.5); }
  .hero__center { padding: 84px var(--pad) 96px; }
  .hero__h1 { font-size: clamp(36px, 11vw, 54px); }
  .hero__lead { margin-top: 18px; font-size: 15px; line-height: 1.5; }
  .hero__cta { flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 30px; }
  .hero__foot { bottom: max(20px, env(safe-area-inset-bottom)); font-size: 11px; letter-spacing: .01em; }
  .hero__foot span:last-child { display: none; }
  .hero__snd { font-size: 11px; margin-left: -6px; padding: 14px 6px; }


  .dir__link {
    grid-template-columns: 1fr auto;
    column-gap: 16px;
    padding: 22px var(--pad);
  }
  .dir__idx { grid-column: 1; }
  .dir__arrow { grid-column: 2; font-size: 20px; }
  .dir__stage { grid-row: 2; grid-column: 1 / 3; margin-top: 10px; }
  .dir__title { font-size: clamp(24px, 8vw, 36px); }
  .dir__more { grid-row: 3; grid-column: 1 / 3; }
  .dir__desc, .dir__meta { padding-top: 14px; }
  /* на таче «ожившая» строка не должна читаться как погасшая */
  .dir__link.is-live .dir__media.is-play { opacity: .95; filter: brightness(3) saturate(1.2) !important; }
  /* шаг титула вперёд — ответ на ховер; на таче строка оживает сама от
     скролла, и сдвиг читался как съехавшая вёрстка (2026-08-26) */
  .dir__link.is-live .dir__title { transform: none; }

  /* сцена «Смелые идеи» — мобильная хореография референса */
  /* путь длиннее: карточка теперь приходит маленькой и растёт, росту
     нужен экран прокрутки (правка Богдана 2026-08-26) */
  .xp { height: 380svh; }
  /* шов занимает ровно портретный кадр: у него на вертикали свой путь
     (viewBox 390×900, см. main.js), а обводка 29 px читалась кремовыми
     кляксами у кромок (2026-08-26) */
  .xp__route { left: 0; top: -4vh; width: 100%; height: 108vh; }
  .xp__route .xp__route-core { stroke-width: 1.8px; }
  .xp__route .xp__route-glow { stroke-width: 11px; }
  .xp__title {
    font-size: clamp(34px, 10.4vw, 52px);
    line-height: 1.04;
    letter-spacing: 0;
  }
  .xp__label { padding-left: 0; margin-bottom: 18px; }
  .xp__line { white-space: normal; }
  .xp__line:first-child { margin-left: 0; }
  .xp__copy { left: var(--pad); width: calc(100% - (var(--pad) * 2)); }
  .xp__copy p { max-width: 100%; font-size: clamp(15px, 4vw, 17px); line-height: 1.45; }
  .xp__approach { margin-top: 28px; }
  .xp__reel-title { display: none; }
  .xp__frame { overflow: visible; }
  .xp__video, .xp__wash { overflow: hidden; border-radius: inherit; }
  .xp__video { object-position: 50% center; }
  .xp__pill--mobile {
    display: grid;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 132px;
    height: 82px;
    translate: -50% -50%;
  }
  .xp__ticker {
    position: absolute;
    left: 0;
    width: 100%;
    height: 34px;
    overflow: hidden;
    display: block;
    color: var(--mut-68);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .06em;
    line-height: 34px;
    white-space: nowrap;
    pointer-events: none;
  }
  .xp__ticker--top { bottom: calc(100% + 7px); }
  .xp__ticker--bottom { top: calc(100% + 7px); }
  .xp__ticker-track {
    display: inline-flex;
    gap: 28px;
    min-width: max-content;
    animation: ticker 10s linear infinite;
  }
  .xp__ticker--bottom .xp__ticker-track { animation-direction: reverse; }
  .xp__ticker-track span::before {
    content: '—';
    margin-right: 28px;
    color: var(--mut-40);
  }
  .case { margin-top: -55svh; }
  .reel-modal {
    padding-left: max(10px, env(safe-area-inset-left));
    padding-right: max(10px, env(safe-area-inset-right));
  }
  .reel-modal__media { height: 70svh; }
  .reel-modal__controls { gap: 12px; }

  .case__wm, .sec-wm { display: none; }
  .facts { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding-top: 52px; }
  .build { height: 280vh; }
  .build__hud-a { top: 74px; }
  .build__hud-b { display: none; }
  .build__phase { bottom: 42px; }
  .build__bar { bottom: 30px; }
  /* мобайл: столбец становится четвёртой дорожкой снизу */
  /* дорожки выше: на 210vw ячейка выходила 94×196 — на телефоне это
     плитка, а не кадр. Плюс в дорожке остаётся по два снимка (см. main.js),
     и оба читаются (правка Богдана 2026-08-26) */
  .mz { flex-direction: column; height: 292vw; gap: 8px; margin-top: 34px; }
  .mz__rows { gap: 8px; flex: 3 1 0%; }
  .mz__col { flex-direction: row; flex: 1 1 0%; gap: 8px; }
  .mz__row { gap: 8px; }
  .mz__cell { border-radius: 10px; }
  /* подпись переносится: на вертикали ячейка узкая, и «Кадр из фильма
     LUMENAI» в одну строку обрезалось кромкой (2026-08-26) */
  .mz__cap {
    left: 8px; right: 8px; bottom: 8px;
    width: max-content; max-width: calc(100% - 16px);
    font-size: 10.5px; line-height: 1.3; white-space: normal; padding: 5px 8px;
  }
  .mz__tail { margin-top: 34px; }
  .mz__line { font-size: clamp(20px, 5.6vw, 30px); }
  .mz--static { grid-template-columns: 1fr 1fr; height: auto; }

  .divider__track { font-size: 19px; padding: 14px 0; }

  .pers__grid, .studio__grid { grid-template-columns: 1fr; gap: 40px; }
  .pers__media { order: 2; }

  .steps { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 34px; }
  .steps__face { padding: 14px 16px; border-radius: 8px; }
  .steps__idx { font-size: 10px; }
  .steps__plus { top: 12px; right: 14px; font-size: 13px; }
  .steps__digit, .steps__face--back::after { font-size: clamp(52px, 16vw, 78px); bottom: -10%; }
  .steps__name { left: 16px; bottom: 32px; font-size: 15px; }
  .steps__hint { left: 16px; bottom: 14px; font-size: 10px; letter-spacing: .02em; }
  .steps__desc { font-size: 14px; line-height: 1.5; }
  .steps__meta { margin-top: 10px; font-size: 11px; letter-spacing: .02em; }

  .studio__roles { gap: 30px; }

  .ftr__marquee { font-size: 19px; padding: 14px 0; }
  .ftr__row { padding-top: 40px; }
  .ftr__meta { margin-top: 36px; padding-bottom: max(0px, env(safe-area-inset-bottom)); }
}

/* ── 06 на телефоне: крупный кадр + лента миниатюр ────────────
   Сборка — phoneShots() в main.js. Пропорция 3:2 родная для наших
   снимков: ничего не режется по композиции и ничего не тянется вверх
   (у половины кадров исходник 1300×726, у трёх — 620×346). */
@media (max-width: 860px) {
  .mz--phone { display: block; height: auto; }
  .mzp__hero {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--line-soft);
    background: #0B0D12;
  }
  .mzp__shot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .8s ease;
  }
  /* «Живое — в движении»: активный кадр очень медленно наезжает —
     без этого блок на телефоне статичен, а вся глава про движение */
  .mzp__shot.is-on { opacity: 1; animation: mzpKen 11s ease-out both; }
  @keyframes mzpKen { from { transform: scale(1); } to { transform: scale(1.07); } }
  .mzp__cap {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 1;
    max-width: calc(100% - 20px);
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .02em;
    color: #fff;
    background: rgba(6, 8, 10, .68);
    border-radius: 4px;
  }
  .mzp__strip {
    display: flex;
    gap: 7px;
    margin-top: 8px;
    padding-bottom: 2px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
  }
  .mzp__strip::-webkit-scrollbar { display: none; }
  .mzp__thumb {
    flex: 0 0 auto;
    width: 78px;
    height: 52px;
    padding: 0;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid var(--line-soft);
    opacity: .45;
    scroll-snap-align: center;
    transition: opacity .3s ease, border-color .3s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .mzp__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .mzp__thumb.is-on { opacity: 1; border-color: var(--gold); }
  .mzp__thumb:focus-visible { outline: 1px solid var(--lime); outline-offset: 2px; }
}

/* ── Телефон (≤560) ───────────────────────────────────────────
   Карточка процесса на двух колонках ужималась до 169 px и резала пополам
   и цифру-призрак, и подпись под именем шага. На вертикали — одна колонка
   в пропорции 16:10: карточка того же размера, что на десктопе. */
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: 10px; }
  /* переворот быстрее (0.9 с → 0.5): на прокрутке фокус переходит к
     следующей карточке за ~0.3 с, и при девятисотке предыдущая ещё
     доворачивалась — на экране оказывались ДВЕ карточки в развороте
     разом (правка Богдана 2026-09-04: «поворачиваются по 2») */
  .steps__inner { transition: transform .5s var(--ease); }
  /* дальше точка схода — меньше «раздувание» карточки на повороте */
  .steps__card { perspective: 2600px; }
  .steps__inner { aspect-ratio: 16 / 10; }
  .steps__face { padding: 18px 20px; }
  .steps__digit, .steps__face--back::after { font-size: 88px; right: -2%; bottom: -18%; }
  .steps__name { left: 20px; bottom: 42px; font-size: 20px; }
  .steps__hint { left: 20px; bottom: 20px; font-size: 11px; }
  .steps__plus { top: 16px; right: 18px; }
  .steps__desc { font-size: 15px; }

  /* точка-разделитель висит абсолютом справа от тега: когда адрес
     переносится, точка остаётся болтаться в конце строки — уводим
     адрес на свою строку и снимаем точку перед ним */
  .case__meta span:last-child { flex-basis: 100%; }
  .case__meta span:nth-last-child(2)::after { display: none; }
}

/* ── Reduced motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .preloader { display: none !important; }
  .flow__card.is-wait { opacity: 1 !important; }
  .rise, .hero__pulse { animation: none !important; }
  .ftr__marquee, .divider__track { animation: none; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .mask > [data-reveal] { transform: none !important; }
  .xp__ticker-track { animation: none; }
  .steps__inner { transition: none; }
  .steps__frame { transition: opacity .2s linear; transform: none !important; }
  .curtain { display: none !important; }
  .dust { display: none !important; }
  .flow { transform: rotate(-9deg) scale(1.32); }
  /* мозаика без motion — ровные ряды (класс ставит main.js, тут страховка) */
  .mz { height: auto; flex-direction: column; }
  .mz__row, .mz__col { flex: none; flex-direction: row; }
  .mz__cell { aspect-ratio: 4 / 3; flex: 1 1 0% !important; }
  .mz__media { position: static; inset: auto; height: 100%; }
  .mz__media img { transform: none !important; filter: none; }
  .mz__cap { opacity: 1; transform: none; }
  .mz__cell::before { display: none; }
  .cursor { display: none; }
}

/* ══════════════ 06½ · Экспириенс «Рой осколков → Монолит» ══════════════
   Секция-погружение на нативном скролле: sticky-сцена 100svh внутри
   780svh пути. Без WebGL2 / reduce-motion / save-data остаётся компактный
   постер-кадр (класс is-scroll не ставится). Механика: js/experience.js */
.xp2 { position: relative; height: 100svh; background: #05060A; }
.xp2.is-scroll { height: 780svh; }
/* склейка с мозаикой 06: блок начинался резким чёрным встык — у секции 06
   не было нижнего поля вовсе, её хвост упирался в сцену. Даём воздух и
   уход в черноту ПОСЛЕ хвоста (затемнять сам хвост нельзя — это пуант
   главы), а на самой границе — золотой волосок шва. */
.shots::after {
  content: ''; display: block; height: clamp(130px, 22vh, 260px);
  background: linear-gradient(to bottom, rgba(5,6,10,0), #05060A);
}
/* на телефоне глава 06 стала вдвое короче — столько воздуха под ней
   читается уже провалом, а не паузой */
@media (max-width: 860px) { .shots::after { height: clamp(90px, 13vh, 150px); } }
.xp2::after {
  content: ''; position: absolute; left: 12%; right: 12%; top: 0; height: 1px; z-index: 4;
  background: linear-gradient(to right, rgba(232,169,79,0), rgba(232,169,79,.5), rgba(232,169,79,0));
  pointer-events: none;
}
.xp2__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.xp2__cv {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  opacity: 0; transition: opacity .9s ease;
}
.xp2.is-live .xp2__cv { opacity: 1; }
.xp2__poster { position: absolute; inset: 0; transition: opacity .9s ease .15s; }
.xp2__poster img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.82); }
.xp2.is-live .xp2__poster { opacity: 0; pointer-events: none; }
.xp2__flash {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(38% 38% at 50% 46%, #FFF3DC, #F5C87E 40%, rgba(232,169,79,.25) 68%, rgba(232,169,79,0) 100%);
}
/* кикер главы: секция без номера (интерлюдия), но в системе навигации —
   тот же «— Имя», что у всех остальных глав */
.xp2__label {
  position: absolute; left: clamp(20px, 4vw, 56px); top: clamp(76px, 9vh, 104px);
  opacity: 0; transition: opacity .6s ease; pointer-events: none;
  text-shadow: 0 2px 16px rgba(5,6,10,.9);
}
.xp2.is-live .xp2__label { opacity: 1; }
/* подсказка: секция «скроллится в себя» — без неё длинный путь читается как зависание */
.xp2__hint {
  position: absolute; left: 50%; bottom: 6vh; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 13px; letter-spacing: .02em; color: rgba(242,244,248,.6);
  opacity: 0; transition: opacity .7s ease; pointer-events: none;
  text-shadow: 0 2px 16px rgba(5,6,10,.9);
}
.xp2__hint.is-live { pointer-events: auto; }
.xp2__hint span, .xp2__hint i { transition: opacity .5s ease; }
.xp2__hint.is-scrolled span, .xp2__hint.is-scrolled i { opacity: 0; }
/* приглашение к звуку живёт внутри блока: шапка с общим тумблером уезжает
   при скролле вниз ровно там, где звук и нужен (поймано свипом 2026-08-25) */
.xp2__snd {
  margin-bottom: 4px; padding: 11px 22px; cursor: pointer;
  font: 500 13px/1 var(--onest, 'Onest', sans-serif); letter-spacing: .02em;
  color: var(--ink); background: rgba(6,7,10,.5);
  border: 1px solid rgba(242,244,248,.26); border-radius: 100px;
  transition: border-color .3s, background .3s, opacity .5s;
  -webkit-tap-highlight-color: transparent;
}
.xp2__snd::before {
  content: '';
  display: inline-block;
  width: 12px; height: 11px;
  margin-right: 9px;
  vertical-align: -1px;
  background:
    linear-gradient(var(--gold), var(--gold)) 0 100% / 2px 6px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 5px 100% / 2px 11px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 10px 100% / 2px 8px no-repeat;
}
.xp2__snd:hover { border-color: var(--gold); background: rgba(232,169,79,.1); }
.xp2__snd:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
html.snd-on .xp2__snd { display: none; }
.xp2__hint i {
  width: 1px; height: 34px; background: linear-gradient(to bottom, rgba(232,169,79,0), var(--gold));
  animation: xp2hint 2.4s ease-in-out infinite;
}
@keyframes xp2hint { 0%, 100% { transform: translateY(-6px); opacity: .35; } 50% { transform: translateY(6px); opacity: 1; } }
/* рельса прогресса главы — как в лаборатории: видно, сколько пути осталось */
.xp2__rail {
  position: absolute; right: clamp(14px, 2.4vw, 34px); top: 50%; transform: translateY(-50%);
  width: 1px; height: min(30vh, 240px); background: rgba(242,244,248,.13);
  opacity: 0; transition: opacity .6s ease; pointer-events: none;
}
.xp2.is-live .xp2__rail { opacity: 1; }
.xp2__rail i {
  position: absolute; left: -1px; top: 0; width: 3px; height: 0;
  background: linear-gradient(to bottom, rgba(232,169,79,.35), var(--gold));
  box-shadow: 0 0 12px rgba(232,169,79,.55);
}
/* финал: нижняя треть-плашка вместо капсулы — на вертикали CTA лежал прямо
   на монолите и читался как ошибка вёрстки (свип 390×844, 2026-08-25) */
.xp2__fin {
  position: absolute; left: 0; right: 0; bottom: 0;
  text-align: center; opacity: 0; pointer-events: none;
  padding: clamp(54px, 9vh, 92px) 20px clamp(26px, 4vh, 40px);
  background: linear-gradient(to top, rgba(5,6,10,.94) 0%, rgba(5,6,10,.86) 34%, rgba(5,6,10,.5) 66%, rgba(5,6,10,0) 100%);
}
.xp2__fin.is-on { pointer-events: auto; }
.xp2__fin-sub { margin: 0; font-size: clamp(14px, 1.5vw, 19px); color: rgba(242,244,248,.68); text-shadow: 0 2px 18px rgba(5,6,10,.9); }
.xp2__cta {
  display: inline-block; margin-top: 20px; padding: 13px 30px;
  font: 500 14px/1 var(--onest, 'Onest', sans-serif); letter-spacing: .02em; color: var(--ink);
  text-decoration: none; border: 1px solid rgba(242,244,248,.28); border-radius: 100px;
  background: rgba(6,7,10,.35); transition: border-color .3s, background .3s;
}
.xp2__cta:hover { border-color: var(--gold); background: rgba(232,169,79,.08); }
/* мини-индикатор загрузки сцены поверх постера */
.xp2__load {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: rgba(242,244,248,.55); pointer-events: none;
  opacity: 0; transition: opacity .5s;
}
.xp2.is-scroll:not(.is-live) .xp2__load { opacity: 1; }
.xp2__load i {
  width: 26px; height: 1px; background: rgba(242,244,248,.16); position: relative; overflow: hidden;
}
.xp2__load i::after {
  content: ''; position: absolute; inset: 0; background: var(--gold);
  transform: translateX(-100%); animation: xp2load 1.6s ease-in-out infinite;
}
@keyframes xp2load { 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) {
  .xp2 { height: 100svh !important; }
  .xp2__load i::after { animation: none; }
  .xp2__hint i { animation: none; }
}
/* на вертикали рельса и кикер отнимают у сцены поля — прижимаем к краям */
@media (max-width: 640px) {
  .xp2__label { top: 78px; left: 18px; }
  .xp2__rail { right: 10px; height: 22vh; }
  .xp2__hint { bottom: 4.5vh; font-size: 12px; }
}
