/* FABRIKO — лендинг 3D-конструктора. Тёмный тёплый премиум семьи FABRIKO:
   фон #16120e, латунь #d98e4a, сериф-дисплей Playfair Display, текст Manrope.
   Все цвета — на переменных; вендорных библиотек стилей нет. */

:root {
  --bg: #16120e;
  --bg-deep: #100d0a;
  --panel: #1b1712;
  --panel-2: #221c15;
  --line: rgba(233, 224, 209, 0.10);
  --line-strong: rgba(233, 224, 209, 0.18);
  --text: #ede6d8;
  --text-dim: #c7c0b2;
  --muted: #a89f92;
  --brass: #d98e4a;
  --brass-strong: #eda45f;
  --brass-deep: #b06f34;
  --brass-dim: rgba(217, 142, 74, 0.14);
  --brass-glow: rgba(217, 142, 74, 0.30);
  --ink-on-brass: #241407;
  --ok: #9dc08b;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-1: 0 18px 44px rgba(0, 0, 0, 0.4);
  --shadow-2: 0 30px 70px rgba(0, 0, 0, 0.52);
  --font-display: "Unbounded", "Playfair Display", "Georgia", serif;
  --font-text: "Manrope", "Segoe UI", sans-serif;
  --header-h: 72px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Эконом-режим CPU-растра (класс ставит js/perf-guard.js при софтверном
   рендере — WARP/SwiftShader): backdrop-блюры — свёртка на всю полосу
   каждый кадр прокрутки, в программном растеризаторе одна из самых
   дорогих операций; полупрозрачный фон остаётся, стекло — нет.
   На GPU-железе класс не ставится и блюры работают как прежде. */
html.perf-eco .site-header,
html.perf-eco .hud-card,
html.perf-eco .hero-skip,
html.perf-eco .panel-card { backdrop-filter: none; }

body {
  margin: 0;
  background:
    radial-gradient(1100px 520px at 88% -120px, rgba(217, 142, 74, 0.08), transparent 62%),
    radial-gradient(900px 500px at -140px 34vh, rgba(143, 183, 217, 0.07), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: 0.01em; }
h1 em, h2 em { font-style: italic; color: var(--brass-strong); }
.display { font-size: clamp(30px, 4.6vw, 54px); }
.lead { color: var(--text-dim); font-size: clamp(15px, 1.6vw, 18px); max-width: 60ch; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--brass-strong); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--brass); opacity: 0.8; }

/* ── Кнопки ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font-text); letter-spacing: 0.02em; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-solid { background: linear-gradient(135deg, var(--brass-strong), var(--brass) 55%, var(--brass-deep)); color: var(--ink-on-brass); box-shadow: 0 10px 26px rgba(217, 142, 74, 0.22); }
.btn-solid:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(217, 142, 74, 0.3); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(233, 224, 209, 0.03); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass-strong); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* ── Шапка ──────────────────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: rgba(13, 16, 23, 0.72); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; gap: 26px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: 0.06em; }
/* волна 6: знак F — inline-SVG вместо logo-compact.png; высота та же, что у img */
.logo img, .logo svg.logo-mark { height: 38px; width: auto; }
.logo b { color: var(--brass-strong); }
.nav { display: flex; gap: 22px; margin-left: 8px; }
.nav a { font-size: 14px; color: var(--text-dim); transition: color 0.15s ease; }
.nav a:hover { color: var(--brass-strong); }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.header-tg { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text-dim); }
.header-tg:hover { color: var(--brass-strong); }
.header-tg svg { width: 16px; height: 16px; stroke: var(--brass); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-header { padding: 10px 18px; font-size: 13.5px; }

/* волна пилюли (06.11): чип RU·UZ в шапке — переключатель языка ЛЕНДИНГА
   ru⇄uz, клик обрабатывает js/lang-pill.js (тултип ниже — CSS-only);
   подпись/подсказка приходят из словаря (pill.label / pill.tip).
   Язык конструктора — его собственный select #interface-language. */
.lang {
  position: relative; display: inline-grid; place-items: center;
  min-width: 38px; height: 38px; padding: 0 11px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--muted);
  font: 700 12.5px var(--font-text); letter-spacing: 0.08em; cursor: pointer;
}
.lang:hover { border-color: var(--brass); color: var(--brass-strong); }
.lang::after {
  content: attr(data-tip); position: absolute; top: calc(100% + 9px); right: 0;
  transform: translateY(4px); padding: 6px 11px; border-radius: 8px;
  background: var(--panel-2); border: 1px solid var(--line-strong); color: var(--text);
  font: 500 12px var(--font-text); letter-spacing: 0.02em; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.15s ease, transform 0.15s ease;
  box-shadow: var(--shadow-1); z-index: 60;
}
/* волна i18n (хвост 2): на узких экранах тултип с right-якором рос ВЛЕВО от
   правого края чипа и резался левым краем вьюпорта (замер на 375: tipWidth
   349 px, pillRight 299 px → leftEdge −50 px; RU-тип той же длины — кейс
   обоих языков). Правый отступ чипа на мобиле константен (~76 px: паддинг
   шапки + бургер + зазор), поэтому коробке хватает 100vw − 88 px: 375 → 287
   (leftEdge +12), 360 → 272, 320 → 232 — клипа нет с запасом. Десктоп
   (>480) не тронут — RU-ховер остаётся прежним байт-в-байт (G-i18n-2). */
@media (max-width: 480px) {
  .lang::after {
    box-sizing: border-box; /* иначе max-width ограничит контент и padding вылезет за расчёт */
    max-width: calc(100vw - 88px);
    white-space: normal;
    text-align: right;
  }
}
.lang:hover::after, .lang:focus-visible::after { opacity: 1; transform: translateY(0); }

.burger { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 10px; width: 40px; height: 40px; color: var(--text); cursor: pointer; }
.burger svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; }
.mobile-nav { display: none; }

/* ── Герой: sticky-трек 100vh + канвас ──────────────────────────────── */
.hero-track { height: 340vh; position: relative; }
/* секция обязана тянуться на весь трек: иначе sticky-пину некуда ездить
   (высота содержимого = 100vh → пин «не прилипает», канвас уезжает за верх) */
.hero { height: 100%; }
.hero-pin {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  overflow: hidden; display: flex; align-items: center;
}
/* скролл НЕ лочится: тач по канвасу всегда скроллит страницу (панорамирование
   сцены не перехватывается), слушатели скролла в hero-scene.js — пассивные */
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(16, 20, 28, 0.85) 0%, rgba(16, 20, 28, 0.34) 30%, rgba(16, 20, 28, 0.22) 55%, rgba(16, 20, 28, 0.9) 100%),
    linear-gradient(90deg, rgba(16, 20, 28, 0.82) 0%, rgba(16, 20, 28, 0.58) 40%, rgba(16, 20, 28, 0.24) 60%, rgba(16, 20, 28, 0.04) 80%);
}
.hero.no-webgl .hero-pin {
  background:
    radial-gradient(900px 460px at 74% 60%, rgba(217, 142, 74, 0.14), transparent 65%),
    radial-gradient(700px 420px at 30% 80%, rgba(143, 183, 217, 0.1), transparent 60%),
    var(--bg-deep);
}
.hero.no-webgl .hero-canvas { display: none; }

.hero-ui { position: relative; z-index: 2; width: 100%; }
.hero-copy { position: relative; max-width: 620px; }
/* собранная кухня встаёт ровно в зону копии, поэтому под текстом держим
   собственное тёмное пятно: шейд сцены в центре слабее, чем нужно для контраста */
.hero-copy::before {
  content: ""; position: absolute; z-index: -1;
  inset: -34px -92px -40px -30px;
  background: radial-gradient(58% 66% at 38% 45%, rgba(11, 14, 20, 0.78), rgba(11, 14, 20, 0.5) 52%, rgba(11, 14, 20, 0) 78%);
}
.hero-copy .kicker, .hero-copy .hero-display, .hero-copy .lead {
  text-shadow: 0 2px 20px rgba(11, 14, 20, 0.8), 0 1px 4px rgba(11, 14, 20, 0.6);
}
.hero-copy .kicker { margin-bottom: 18px; }
/* гигантская чёткая типографика поверх сцены: герой v2 собирает кухню,
   заголовок держит кадр и читается поверх летящих модулей */
.hero-display {
  margin: 0 0 20px;
  font-family: var(--font-display); font-weight: 700; line-height: 1.02;
  font-size: clamp(38px, 6.4vw, 92px); letter-spacing: -0.015em;
}
.hero-display em { font-style: italic; color: var(--brass-strong); font-weight: 600; }
.hero-copy .lead { margin: 0 0 28px; max-width: 46ch; font-size: clamp(16px, 1.8vw, 20px); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-hud {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; pointer-events: none;
}
.hero-hud-in {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 18px;
  padding-bottom: 26px;
}
.hud-card {
  min-width: 250px; max-width: 320px; padding: 14px 18px 16px;
  background: rgba(13, 16, 23, 0.66); border: 1px solid var(--line);
  border-radius: var(--radius-sm); backdrop-filter: blur(10px);
}
.hud-card .k { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.hud-card .v { display: block; margin-top: 5px; font-weight: 600; font-size: 14.5px; color: var(--brass-strong); }
.hud-bar { margin-top: 10px; height: 4px; border-radius: 4px; background: rgba(233, 224, 209, 0.12); overflow: hidden; }
.hud-bar i { display: block; height: 100%; width: 0%; border-radius: 4px; background: linear-gradient(90deg, var(--brass-deep), var(--brass-strong)); transition: width 0.12s linear; }
.hud-count { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.hero-hint { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-dim); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-hint i { width: 1px; height: 34px; background: linear-gradient(180deg, var(--brass), transparent); animation: drip 1.8s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0.2); transform-origin: top; opacity: 0.3; } 45% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(0.2); transform-origin: top; opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) { .hero-hint i { animation: none; } }

/* правая колонка HUD: подсказка + «Пропустить сборку» (якорь #how, работает и без JS) */
.hero-side { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero-skip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(13, 16, 23, 0.55); color: var(--text-dim);
  font: 600 12.5px var(--font-text); letter-spacing: 0.06em; text-transform: uppercase;
  backdrop-filter: blur(8px); transition: color 0.15s ease, border-color 0.15s ease;
  pointer-events: auto;
}
.hero-skip svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-skip:hover { color: var(--brass-strong); border-color: var(--brass); }
/* статичный кадр (reduced-motion / нет WebGL / ?static=1): подсказка скролла
   не нужна — сборка уже показана собранной */
.hero.hero-static .hero-hint { display: none; }

/* ── Короткие десктоп-вьюпорты (высота ≤ 860px: 1366×768 и весь ряд ниже) ──
   Копия центрирована, и на невысоком десктопе CTA-кнопки опускались до
   ~y617 — ровно туда, где начинается HUD-карточка (bottom 26px, ~150px):
   от «Открыть конструктор» виднелась только латунная долька. Гасим
   типографику героя, приподнимаем копию (padding-bottom у .hero-ui при
   align-items:center сдвигает её вверх на половину) и сжимаем HUD-карточку. */
@media (min-width: 761px) and (max-height: 860px) {
  .hero-ui { padding-bottom: 96px; } /* клир ~48px между кнопками и HUD */
  .hero-copy .kicker { margin-bottom: 12px; }
  .hero-display { font-size: clamp(34px, 4.6vw, 58px); margin-bottom: 14px; }
  .hero-copy .lead { margin-bottom: 18px; }
  .hero-hud-in { padding-bottom: 20px; }
  .hud-card { padding: 10px 16px 12px; }
}

/* ── Секции ─────────────────────────────────────────────────────────── */
.section { padding: 84px 0; position: relative; }
/* якоря не прячутся под фиксированной шапкой */
.section, .hero-track { scroll-margin-top: calc(var(--header-h) + 14px); }
/* тинт на всю высоту секции: иначе низ секции сливается с чёрным фоном
   следующей, и стык читается как провал пустоты */
.section.tint { background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.006)); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head .kicker { margin-bottom: 12px; }
.section-head .lead { margin: 12px 0 0; }
.ruler { height: 1px; background: linear-gradient(90deg, var(--brass), rgba(217, 142, 74, 0.06) 55%, transparent); opacity: 0.5; margin-top: 30px; }

/* шаги */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  position: relative; padding: 28px 26px 26px; border: 1px solid var(--line);
  border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), rgba(21, 26, 37, 0.55));
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.step:hover { transform: translateY(-3px); border-color: rgba(217, 142, 74, 0.4); }
.step-num {
  position: absolute; top: 20px; right: 22px; font-family: var(--font-display);
  font-size: 44px; line-height: 1; color: rgba(217, 142, 74, 0.22); font-weight: 700;
}
.step-ic {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brass-dim); border: 1px solid rgba(217, 142, 74, 0.35); margin-bottom: 18px;
}
.step-ic svg { width: 24px; height: 24px; stroke: var(--brass-strong); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { margin: 0; color: var(--text-dim); font-size: 14.5px; }
.step .spec { display: block; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.step .spec b { color: var(--brass-strong); font-weight: 600; }

/* живой конструктор — окно браузера */
.browser {
  border: 1px solid var(--line-strong); border-radius: 16px; overflow: hidden;
  background: #0d1017; box-shadow: var(--shadow-2);
}
.browser-top {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px;
  background: #141926; border-bottom: 1px solid var(--line);
}
.dots { display: inline-flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #3a4254; }
.dots i:nth-child(1) { background: #d97b6c; }
.dots i:nth-child(2) { background: #d9b36c; }
.dots i:nth-child(3) { background: #8fbf7f; }
.address {
  flex: 1; display: flex; align-items: center; gap: 9px; padding: 8px 14px;
  background: #0d1119; border: 1px solid var(--line); border-radius: 9px;
  color: var(--muted); font-size: 13px; overflow: hidden;
}
.address svg { width: 14px; height: 14px; stroke: var(--brass); fill: none; stroke-width: 1.8; flex: none; }
.address span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* бейдж статуса движка: серый, пока probe (js/landing.js) не ответил;
   зелёный «live» — только при живом конструкторе, «offline» — при недоступности
   (раньше «live» горел всегда, даже на мёртвом движке) */
.browser-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.browser-live i { width: 7px; height: 7px; border-radius: 50%; background: #3a4254; }
.browser-live.is-live { color: var(--ok); }
.browser-live.is-live i { background: var(--ok); box-shadow: 0 0 8px rgba(157, 192, 139, 0.8); }
.browser-live.is-off { color: #d98a7a; }
/* на телефоне в кадре статичный постер — точка не должна гореть зелёным */
.browser-live.is-static { color: var(--muted); }
.browser-live.is-static i { background: var(--muted); box-shadow: none; }
/* на телефоне подпись «3D» у статичного постера не скрываем (0-2-1 > 0-1-1) */
.browser-live.is-static span { display: inline; }
.browser-live.is-off i { background: #d98a7a; }
.browser-frame { position: relative; height: 80vh; min-height: 480px; background: #e8ebee; }
.browser-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ctor-note { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }
.ctor-note b { color: var(--brass-strong); font-weight: 600; }
.ctor-offline {
  display: none; margin: 14px 0 0; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1px solid rgba(217, 138, 122, 0.4); background: rgba(217, 138, 122, 0.08);
  color: #e6b3a6; font-size: 13.5px;
}
.ctor-offline.show { display: block; }

/* производство — 4 карточки */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prod {
  padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), rgba(21, 26, 37, 0.55));
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.prod:hover { transform: translateY(-3px); border-color: rgba(217, 142, 74, 0.4); }
.prod-ic {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brass-dim); border: 1px solid rgba(217, 142, 74, 0.35);
}
.prod-ic svg { width: 24px; height: 24px; stroke: var(--brass-strong); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.prod h3 { font-size: 19px; }
.prod p { margin: 0; color: var(--text-dim); font-size: 14px; flex: 1; }
.prod .formula {
  font-size: 12.5px; color: var(--muted); border-top: 1px dashed var(--line-strong);
  padding-top: 12px;
}
.prod .formula b { color: var(--brass-strong); font-weight: 600; }

/* библиотека — цифры + линейка модулей */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 26px; }
.stat {
  padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), rgba(26, 32, 48, 0.4)); text-align: left;
}
.stat .n { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; color: var(--brass-strong); line-height: 1.05; }
.stat .t { margin-top: 8px; color: var(--text-dim); font-size: 14px; }
/* W2.4: сетка чипов с воздухом (жалоба владельца «слиплись»: gap 10px был
   меньше вертикального ритма секции, baseline-выравнивание рвало строку —
   b 13px / i 12.5px). gap 14px / row-gap 12px, выравнивание по центру,
   тач-таргет ≥ 40px. Порядок/тексты чипов не тронуты (пресеты каталога
   движка, инвариант 198/60); подпись-источник не возвращается (поручение
   владельца 04.11, комментарий в index.html). */
/* OWNER-2 (08.11, точка 2): ряд чипов ПРИЖАТ к сетке карточек — зазор
   .m3d-grid → .modules-row был 0px на 1920/1366/375 (проба owner2: grid
   bottom = chips top), чипы «Нижний шкаф…» слипались с нижней кромкой
   карточек. margin-top по вертикальному ритму секции — как у .m3d-head
   (margin: 34px 0 14px), отделяющей соседний под-блок. */
.modules-row { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; margin-top: 34px; }
.module-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px;
  min-height: 40px; box-sizing: border-box;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(233, 224, 209, 0.03);
  font-size: 13px; color: var(--text-dim);
}
.module-chip b { color: var(--text); font-weight: 600; }
.module-chip i { font-style: normal; color: var(--brass-strong); font-variant-numeric: tabular-nums; font-size: 12.5px; }
/* подпись источника габаритов (фикс P2 критика 18.10: два ряда размеров
   без сверки читались как противоречие) */
.modules-src {
  display: block; margin-top: 10px; font-size: 12.5px; color: var(--text-dim); opacity: 0.8;
}

/* ── Lenis (GAP-3, ресёрч 18.10): минимальный обязательный CSS ──────────
   Из dist/lenis.css — без него плавный скролл дёргается на html/body. */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* CTA-финал */
.cta-card {
  position: relative; overflow: auto; border-radius: 26px; padding: clamp(36px, 5vw, 64px);
  /* ПОРУЧЕНИЕ владельца 08.11 (точка 2в): панель обязана вписываться во
     вьюпорт с полями, как у других станций (.cutgame-panel — orbit.css:622,
     «max-height: calc(100vh - 170px); overflow: auto»). Прежде карточка была
     без вписки по высоте: на коротких вьюпортах низ обрезался. */
  max-height: calc(100vh - 170px);
  border: 1px solid rgba(217, 142, 74, 0.4);
  background:
    radial-gradient(720px 320px at 88% 0%, rgba(217, 142, 74, 0.2), transparent 62%),
    radial-gradient(520px 300px at 4% 100%, rgba(143, 183, 217, 0.14), transparent 60%),
    linear-gradient(160deg, #1a1f2c, #12151e);
  box-shadow: var(--shadow-2);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px;
}
.cta-card > div, .cta-card > .cta-actions { position: relative; z-index: 1; }
.cta-text { max-width: 560px; }
/* ПОРУЧЕНИЕ владельца 08.11 (точка 2б): декоративная схема карты раскроя
   (.cta-map — absolute right:46 top:50%, dashed .waste-rect'ы, opacity .3)
   заехала ПОД правую колонку каналов; пунктирные прямоугольники торчали
   из-за «Открыть конструктор» и читались как «незакрытые заглушки фазы 2».
   Элемент убран из index.html (точка 2б) — правила сняты, чтобы каскад
   (в т.ч. media ≤640 .cta-map { right:0; width:170px }) не держал мёртвый
   слой. Декор панели — живой ЧПУ-контур .cnc-frame (js/pilot-cnc.js). */
.cta-card h2 { max-width: 560px; }
.cta-card .lead { margin: 14px 0 0; }
/* ПОРУЧЕНИЕ владельца 08.11 (точка 2а): правая колонка — явная равная ширина.
   Раньше грид-колонка auto жалась к ширине самой широкой кнопки (nowrap
   «Написать в Telegram») и рядом с ней элементы читались «разной ширины»;
   фикс — фиксированный стержень 340px с clamp-адаптацией, все элементы
   колонки (AI-менеджер / Telegram / ЛК-фаза 2 / «Открыть конструктор»)
   растягиваются на одну ширину (align-items: stretch ниже). */
.cta-actions {
  display: flex; flex-direction: column; gap: 12px; align-items: stretch;
  width: min(340px, 100%);
}
/* Telegram-кнопка CTA: латунная пилюля в стиле сайта (дыхание глоу — .btn-tg::after ниже) */
.btn-tg {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 15px 24px;
  border-radius: 999px; border: 1px solid rgba(217, 142, 74, 0.5); background: rgba(217, 142, 74, 0.08);
  font-family: var(--font-display); font-size: clamp(17px, 2vw, 21px); font-weight: 700; color: var(--brass-strong);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn-tg:hover { background: rgba(217, 142, 74, 0.16); transform: translateY(-1px); }
.btn-tg svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* каналы связи «Пилота» вместо телефона (решение владельца, 2026-10-12):
   AI-менеджер (кнопка открывает виджет agent/agent-widget.js), Telegram
   (ссылка из agent/config.js; пусто → открывает виджет), личный кабинет —
   фаза 2: бейдж-заглушка, НЕ кнопка (pointer-events нет, фокус не ловит) */
.pilot-channels { display: flex; flex-direction: column; gap: 10px; }
.pchannel {
  display: grid; gap: 9px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 14px;
  background: rgba(233, 224, 209, 0.03);
  transition: border-color 0.18s ease;
}
.pchannel:hover { border-color: rgba(217, 142, 74, 0.4); }
.pch-k { font-weight: 600; font-size: 14px; color: var(--text); letter-spacing: 0.01em; }
.pchannel .btn { width: 100%; }
.btn-agent {
  border-color: var(--line-strong); color: var(--text);
  background: transparent; padding: 12px 20px;
}
.btn-agent:hover { border-color: var(--brass); color: var(--brass-strong); }
.btn-agent svg { width: 18px; height: 18px; stroke: var(--brass); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pchannel .btn-tg { font-size: 16px; padding: 12px 20px; }
.pchannel.is-static { border-style: dashed; background: transparent; }
.pchannel.is-static:hover { border-color: var(--line); }
.pch-soon { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); pointer-events: none; }
.pch-soon svg { width: 15px; height: 15px; stroke: var(--brass); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pch-soon b { color: var(--text-dim); font-weight: 600; }

/* футер */
.site-footer { border-top: 1px solid var(--line); padding: 30px 0 34px; background: var(--bg-deep); }
.footer-in { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-in .logo img, .footer-in .logo svg.logo-mark { height: 30px; }
.footer-note { color: var(--muted); font-size: 13px; }
.footer-links { margin-left: auto; display: flex; gap: 18px; font-size: 13.5px; }
.footer-links a { color: var(--text-dim); }
.footer-links a:hover { color: var(--brass-strong); }

/* появление по скроллу */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ── Адаптив ────────────────────────────────────────────────────────── */
@media (max-width: 1060px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .nav, .header-tg, .btn-header { display: none; }
  .burger { display: inline-grid; place-items: center; }
  .mobile-nav {
    display: flex; flex-direction: column; gap: 4px; padding: 10px 24px 18px;
    /* фикс P2 критика (18.10, mob_menu_open.png): полупрозрачный
       rgba(...,0.97) на слое под fixed-родителем с backdrop-filter
       композитится так, что копия героя просвечивает сквозь пункты.
       Лечим тремя слоями защиты: НЕПРОЗРАЧНЫЙ фон бренда, собственный
       backdrop-блюр и isolation — слой меню никогда не смешивается
       с канвасом героя под ним. */
    background: #0d1017;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    isolation: isolate;
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .site-header.nav-open .mobile-nav { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-nav a { padding: 11px 2px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .mobile-nav a:last-child { border-bottom: 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .hero-track { height: 300vh; }
  .hero-copy { max-width: 560px; }
  .section { padding: 76px 0; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }

  /* ── мобильный герой: сцена сверху, текст — внизу на тёмной подложке ──
     (раньше текст висел по центру и наезжал на 3D-сцену, верх экрана пустовал) */
  .hero-pin {
    align-items: flex-end;
    /* фон под сценой: мягкий тёплый градиент — модули читаются на мобиле,
       верхняя треть не выглядит пустой тёмной зоной (канвас прозрачный) */
    background:
      radial-gradient(135% 46% at 50% 20%, rgba(217, 142, 74, 0.15), transparent 64%),
      radial-gradient(120% 36% at 50% 0%, rgba(143, 183, 217, 0.12), transparent 60%),
      linear-gradient(180deg, #1c2231 0%, #131826 46%, #0e1013 72%);
  }
  /* шейд: низ — плотная тёмная подложка под текст, верх сцены не глушим */
  .hero-shade {
    background: linear-gradient(180deg,
      rgba(16, 20, 28, 0.55) 0%, rgba(16, 20, 28, 0.1) 22%,
      rgba(16, 20, 28, 0.02) 42%, rgba(16, 20, 28, 0.34) 54%,
      rgba(16, 20, 28, 0.9) 66%, rgba(16, 20, 28, 0.98) 100%);
  }
  .hero-ui { padding-bottom: 152px; } /* клир над статус-панелью */
  .hero-copy { max-width: none; }
  .hero-copy::before { inset: -22px -18px -20px -14px; }
  .hero-copy .kicker { margin-bottom: 10px; }
  .hero-display { font-size: clamp(34px, 10.5vw, 46px); margin-bottom: 12px; }
  .hero-copy .lead { margin: 0 0 16px; font-size: 16px; }
  /* кнопки: 16px + полная ширина в столбик. В ряд не ставим: пара кнопок
     при 16px не влезает в 324–378px ни на одной из ширин 360/390/414 без
     переноса — по условию «в ряд, если влезают» оставляем столбик */
  .btn { min-height: 46px; padding: 12px 20px; font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn { width: 100%; }

  /* статус-панель сборки: всегда внутри экрана, с отступом от нижнего края
     (safe-area для телефонов с жестовой навигацией) */
  .hero-hud-in { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
  .hud-card { min-width: 0; max-width: 270px; padding: 10px 14px 12px; }
  .hud-card .k { font-size: 10.5px; }
  .hud-card .v { margin-top: 4px; font-size: 13.5px; }
  .hud-bar { margin-top: 8px; }
  .hud-count { margin-top: 6px; font-size: 12.5px; }

  /* тап-таргеты ≥ 44px */
  .burger { width: 44px; height: 44px; }
  .lang { min-width: 44px; height: 44px; }
  .header-in .logo { padding: 12px 0; }
  .mobile-nav a { padding: 13px 2px; font-size: 16px; }
  .footer-links a { padding: 12px 0; }

  /* чтение ≥ 16px на мобиле */
  .lead { font-size: 16px; }
  .step p, .prod p { font-size: 16px; }
  .stat .t { font-size: 16px; }
  .ctor-note { font-size: 16px; }
  .footer-note, .footer-links a { font-size: 16px; }
  .step h3 { font-size: 20px; }
  /* карточная «мета» (спеки/формулы/чипы) — подписи, 13–14px, не чтение */
  .step .spec, .prod .formula { font-size: 13.5px; }
  .module-chip { font-size: 14px; }
  .module-chip i { font-size: 13px; }
  /* W2.4: на 375 — 2-колоночный grid: чипы не «липнут» к фигурам над ними,
     ряды ровные, воздух сохранён */
  .modules-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .module-chip { width: 100%; justify-content: center; }
  /* каналы «Пилота» на мобиле: кнопки ≥ 46px (тик-таргет), подписи читаются */
  .pch-k { font-size: 15px; }
  .pchannel .btn { min-height: 46px; }
  .pch-soon { font-size: 14px; }

  .prod-grid, .stats-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
  .browser-frame { height: 72vh; min-height: 420px; }
  .browser-live span { display: none; }
  /* на тач-экране в живом режиме HUD-подсказка и «пропустить» не нужны
     (сборка едет от пальца); в статике (reduced-motion) «пропустить» возвращаем */
  .hero-side { display: none; }
  .hero.hero-static .hero-side { display: flex; align-items: flex-end; }
  .hero.hero-static .hero-hud-in { flex-wrap: wrap; }
  .cta-card { grid-template-columns: 1fr; gap: 20px; }
  .cta-actions { width: 100%; }
  /* фикс P1 критика (2-й раунд, 18.10, st375_pilot): lead обрезался справа
     посреди слова, карточка переполнялась на 64px. Корень: .btn-tg с
     white-space:nowrap («Написать в Telegram» ~320px) задавал min-content
     грид-колонки → карточка растягивалась за вьюпорт; cta-map с right:-30px
     добавлял ещё 30px поверх. Теперь: кнопка переносится, колонка сжимается,
     карта не выпирает, lead переносится по словам. */
  /* фикс P1 критика (4-й раунд): карта пилота наезжала на нижний HUD —
     нижний отступ ≥64px над станцией «Пилот».
     Глава 5 (кадр bp375-pilot + проба qa/glava5-probe-pilot.cjs): карточка
     886px при вьюпорте 812 — CTA-кнопки заканчивались на y787, последние
     пиксели под HUD-полосой. Уплотнение ≤640px: декоративный ЧПУ-чертёж
     скрыт (aria-hidden), паддинки/гэпы жаты, нижний клир 72px сохранён —
     карточка ~790px, кнопки целиком над HUD. */
  .cta-card { padding: 22px 18px 72px; }
  /* специфичность 0-2-0: базовое .cta-blueprint (0-1-0) стоит ниже по файлу
     (секция v4.1) и без неё перебивал бы это скрытие каскадом */
  .cta-text .cta-blueprint { display: none; }
  .pilot-channels { gap: 8px; }
  .pchannel { padding: 10px 14px; gap: 7px; }
  .cta-actions { gap: 10px; }
  .btn-tg { white-space: normal; font-size: 16px; padding: 12px 16px; }
  /* (точка 2б) .cta-map убран из разметки и из базового CSS — правило снято */
  .cta-text .lead { overflow-wrap: break-word; }
  .pchannel, .pchannel .btn { min-width: 0; max-width: 100%; }
  .footer-links { margin-left: 0; flex-wrap: wrap; gap: 0 16px; }
  .section { padding: 62px 0; }
}

/* ПОРУЧЕНИЕ владельца 08.11 (точка 2в): на коротких десктопных вьюпортах
   (ноутбук, масштаб ОС 125% — CSS-высота ~700-860px) панель «Пилота»
   (620px+ paddings) не вписывалась: низ уходил под нижний HUD/за край.
   Уплотняем как у героя (media min-width 761 + max-height 860, выше по
   файлу): паддинки/гэпы/отступы жаты, кикер короче — карточка входит
   целиком; жёсткий барьер max-height + overflow:auto остаётся страховкой. */
@media (min-width: 761px) and (max-height: 900px) {
  .cta-card { padding: 30px 40px 40px; gap: 30px; }
  .cta-card .kicker { margin-bottom: 8px; }
  .cta-card .lead { margin-top: 10px; }
  .cta-text .cta-blueprint { margin-top: 14px; }
  .pilot-channels { gap: 8px; }
  .pchannel { padding: 11px 14px; gap: 7px; }
  .pchannel .btn { min-height: 44px; }
  .cta-actions { gap: 9px; }
}

/* ── Живой конструктор: постер вместо iframe ─────────────────────────────
   Два случая: (1) тач-экран ≤760px — iframe не грузим по замыслу (проба
   qa/touch-probe.cjs, 2026-10-02: canvas движка перехватывает тач — скролл
   страницы «замирает» на 72vh); (2) десктоп при недоступном движке — фикс P1
   критика (2026-10-11): раньше iframe получал src и Chrome рисовал внутри
   нативную ошибку «Сайт не позволяет установить соединение» (белый блок);
   теперь js/landing.js не ставит src и показывает этот же постер
   (класс .is-offline-poster). */
.ctor-poster { display: none; }
.ctor-poster {
  position: absolute; inset: 0; flex-direction: column;
  align-items: center; justify-content: flex-end; text-align: center;
  /* фон = бренд-графит FABRIKO: постер с 18.10 — инлайн-SVG макета конструктора
     FABRIKO (тёмная тема), а не скриншот чужого светлого UI (фикс P1 критика) */
  background: #0e1117; overflow: hidden;
}
.browser.is-offline-poster .ctor-poster { display: flex; }
.ctor-poster img,
.ctor-poster .ctor-poster-art {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}
.ctor-poster::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(13, 16, 23, 0.72) 78%);
}
.ctor-poster-in {
  position: relative; z-index: 1; width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 0 22px calc(22px + env(safe-area-inset-bottom));
}
.ctor-poster-note {
  font-size: 14px; line-height: 1.45; color: #f0e9db;
  text-shadow: 0 1px 8px rgba(13, 16, 23, 0.8);
}
.ctor-poster .btn { min-height: 46px; padding: 12px 26px; font-size: 16px; }
@media (max-width: 760px) {
  .browser-frame iframe { display: none; }
  .ctor-poster { display: flex; } /* мобилка: постер всегда (тач-проба 2026-10-02) */
  /* глава 5 (кадр bp375-ctor): meet-масштаб макета 1280×800 в высоком узком
     окне постера оставлял пустоты СВЕРХУ и СНИЗУ — окно читалось сломанным.
     На мобиле окно выше макета: арт выравнивается к верху окна с собственной
     пропорцией, пустота уходит вниз под градиент и подпись (как у страницы) */
  .ctor-poster .ctor-poster-art {
    height: auto; inset: 0 0 auto 0; aspect-ratio: 1280 / 800;
  }
}

/* ═════════════════════════════════════════════════════════════════════════
   v3 — СОЧНОСТЬ НИЖНИХ СЕКЦИЙ (пара к hero-сборке) — ВОССТАНОВЛЕНО v4.1:
   кусок был случайно вырезан при пересборке poster-блока (fx-canvas стал
   static и вытолкнул контент секций — reveal/#how «исчез»).
   js/effects.js: фоновые панели [data-fx] (пыль-боке/лучи/туман — рецепт
   evo-scenes), микро-параллакс [data-parallax]; ниже — глоу-иконки при
   появлении, крупные градиентные цифры, ховер-подъёмы, CTA-световой акцент.
   ═════════════════════════════════════════════════════════════════════════ */

/* фоновые панели: canvas за контентом секции, сама секция не пускает
   канвас шире вьюпорта (h-scroll = 0) */
.section[data-fx] { overflow: hidden; }
.fx-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; display: block;
}
.section[data-fx] > .wrap { position: relative; z-index: 1; }

/* амбиентные градиенты секций — база сочности под канвасом */
#how {
  background:
    radial-gradient(880px 420px at 92% -60px, rgba(217, 142, 74, 0.10), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.006));
}
#live {
  background:
    radial-gradient(920px 460px at -120px 20%, rgba(143, 183, 217, 0.10), transparent 60%),
    radial-gradient(760px 400px at 108% 88%, rgba(217, 142, 74, 0.08), transparent 60%);
}
#production {
  background:
    radial-gradient(980px 480px at 88% 4%, rgba(217, 142, 74, 0.13), transparent 62%),
    radial-gradient(860px 440px at -140px 78%, rgba(143, 183, 217, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.006));
}
#library {
  background:
    radial-gradient(900px 440px at 6% 0%, rgba(143, 183, 217, 0.12), transparent 60%),
    radial-gradient(820px 420px at 100% 100%, rgba(217, 142, 74, 0.10), transparent 62%);
}
#pilot {
  background:
    radial-gradient(1000px 520px at 50% 64%, rgba(217, 142, 74, 0.09), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.006));
}

/* «Как это работает»: крупные цифры с латунным градиентом */
.step-num {
  top: 16px; right: 20px; font-size: 64px;
  background: linear-gradient(180deg, #f2ddb0 0%, var(--brass) 48%, rgba(165, 129, 63, 0.28) 94%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
/* «Библиотека»: те же градиентные цифры в стате */
.stat .n {
  background: linear-gradient(180deg, #f2ddb0 0%, var(--brass) 50%, rgba(165, 129, 63, 0.34) 94%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* глоу-обводка иконок при появлении карточки (данные [data-reveal].in) */
.step-ic, .prod-ic { position: relative; }
.step-ic::after, .prod-ic::after {
  content: ""; position: absolute; inset: -9px; border-radius: 18px;
  background: radial-gradient(closest-side, rgba(232, 198, 140, 0.55), rgba(217, 142, 74, 0.16) 58%, transparent 78%);
  filter: blur(9px);
  opacity: 0; transform: scale(0.55);
  pointer-events: none;
}
.step.in .step-ic::after, .prod.in .prod-ic::after {
  animation: iconGlow 1.15s cubic-bezier(0.2, 0.7, 0.3, 1) 0.18s forwards;
}
@keyframes iconGlow {
  0% { opacity: 0; transform: scale(0.55); }
  55% { opacity: 1; transform: scale(1.06); }
  100% { opacity: 0.85; transform: scale(1); }
}
.step.in .step-ic, .prod.in .prod-ic {
  border-color: rgba(217, 142, 74, 0.55);
  box-shadow: 0 0 22px rgba(217, 142, 74, 0.26), inset 0 0 12px rgba(217, 142, 74, 0.13);
  transition: border-color 0.5s ease 0.3s, box-shadow 0.5s ease 0.3s;
}

/* ховер-подъём карточек (глубже v2: −6px + латунное свечение) */
.step, .prod, .stat { will-change: transform; }
.step {
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.3, 1), border-color 0.22s ease, box-shadow 0.22s ease;
}
.step:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 142, 74, 0.5);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5), 0 10px 36px rgba(217, 142, 74, 0.12);
}
.prod {
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.3, 1), border-color 0.22s ease, box-shadow 0.22s ease;
}
.prod:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 142, 74, 0.5);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5), 0 10px 36px rgba(217, 142, 74, 0.12);
}
.stat {
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.3, 1), border-color 0.22s ease, box-shadow 0.22s ease;
}
.stat:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 142, 74, 0.45);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.46), 0 8px 30px rgba(217, 142, 74, 0.10);
}
.module-chip { transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease; }
.module-chip:hover {
  border-color: rgba(217, 142, 74, 0.5);
  background: rgba(217, 142, 74, 0.07);
  box-shadow: 0 6px 22px rgba(217, 142, 74, 0.12);
}

/* живой конструктор: окно получает латунный ореол при появлении */
.browser { transition: box-shadow 0.6s ease; }
.browser.in { box-shadow: var(--shadow-2), 0 0 64px rgba(217, 142, 74, 0.10); }

/* CTA-финал: световой акцент — дыхание ореола + диагональный блик-свип */
.cta-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  z-index: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(226, 192, 135, 0.30), 0 0 46px rgba(217, 142, 74, 0.12);
  animation: ctaBreath 5.2s ease-in-out infinite;
}
@keyframes ctaBreath { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
.cta-card::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  /* свип анимируется background-position, не transform: transform-бокс
     псевдоэлемента расширял scrollable-overflow карточки (+~970px
     element-метрики) — фон этого не делает */
  background: linear-gradient(115deg, transparent 40%, rgba(255, 228, 176, 0.09) 50%, transparent 60%) no-repeat;
  background-size: 220% 100%;
  animation: ctaSweep 5.6s ease-in-out infinite;
}
@keyframes ctaSweep { 0% { background-position: 130% 0; } 55%, 100% { background-position: -30% 0; } }
.btn-tg { box-shadow: 0 0 30px rgba(217, 142, 74, 0.16); }
.btn-tg:hover { box-shadow: 0 0 42px rgba(217, 142, 74, 0.26); }

/* reduced-motion: статичная «сочность» без анимаций (генератор FX сам
   рисует один кадр; здесь гасим только CSS-движения) */
@media (prefers-reduced-motion: reduce) {
  .step.in .step-ic::after, .prod.in .prod-ic::after { animation: none; opacity: 0.85; transform: none; }
  .cta-card::before, .cta-card::after { animation: none; }
  .cta-card::after { opacity: 0; }
  .cta-card::before { opacity: 0.7; }
  .step, .prod, .stat { will-change: auto; }
}

/* ═════════════════════════════════════════════════════════════════════════
   v4 — НИЖНИЕ СЕКЦИИ ДО УРОВНЯ ГЕРОЯ («цех-класс»)
   Световые швы между секциями, микро-сцены «Как это работает», живая сцена
   раскроя + печатающаяся смета, GLB-плитки «Библиотеки», ЧПУ-контур «Пилота».
   Всё процедурное, без внешних ассетов; герой не тронут.
   ═════════════════════════════════════════════════════════════════════════ */

/* ── Световые линии студии: швы на границах секций ────────────────────────
   Тонкая латунная прожилка + мягкое свечение (box-shadow) + бегущий пульс.
   Класс .live ставит js/effects.js по IntersectionObserver — вне вьюпорта
   анимация не крутится. */
.seam {
  position: relative; height: 30px; pointer-events: none; z-index: 1;
  overflow: hidden;
}
.seam i {
  position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  transform: translateY(-0.5px);
  background: linear-gradient(90deg,
    transparent 0%, rgba(217, 142, 74, 0.4) 16%,
    rgba(232, 198, 140, 0.85) 38%, rgba(217, 142, 74, 0.5) 58%,
    rgba(150, 180, 215, 0.28) 74%, transparent 96%);
  opacity: 0.45;
  box-shadow: 0 0 12px rgba(217, 142, 74, 0.30), 0 0 38px rgba(217, 142, 74, 0.14);
  transition: opacity 0.6s ease;
}
/* бегущий блик по прожилке */
.seam b {
  position: absolute; top: 50%; left: 0; width: 30%; height: 3px;
  transform: translate(-130%, -50%);
  background: linear-gradient(90deg, transparent, rgba(255, 230, 180, 0.9) 45%, rgba(255, 244, 220, 1) 50%, rgba(255, 230, 180, 0.9) 55%, transparent);
  filter: blur(0.6px);
  opacity: 0;
}
.seam.live i { opacity: 0.9; }
.seam.live b { animation: seamPulse 5.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; }
@keyframes seamPulse {
  0% { transform: translate(-130%, -50%); opacity: 0; }
  10% { opacity: 0.95; }
  60% { opacity: 0.55; }
  100% { transform: translate(440%, -50%); opacity: 0; }
}
/* туман глубины у шва: тонкие дымчатые полосы над и под линией */
.seam::before, .seam::after {
  content: ""; position: absolute; left: 12%; right: 12%; height: 14px;
  background: radial-gradient(50% 100% at 50% 50%, rgba(150, 175, 205, 0.07), transparent 75%);
  pointer-events: none;
}
.seam::before { top: -4px; }
.seam::after { bottom: -4px; }

/* ── «Как это работает»: микро-сцены вместо иконок ─────────────────────── */
.mscene {
  position: relative; height: 172px; margin: 0 0 18px;
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background:
    radial-gradient(130% 100% at 50% 0%, rgba(217, 142, 74, 0.07), transparent 58%),
    linear-gradient(180deg, #10141d, #0c0f16);
  box-shadow: inset 0 1px 0 rgba(233, 224, 209, 0.05);
}
/* золотой bloom крупных цифр 01/02/03: дыхание свечения поверх градиента текста */
.step-num {
  animation: numBloom 4.4s ease-in-out infinite;
  animation-delay: 0.4s;
  z-index: 2; pointer-events: none; /* поверх микро-сцены, не мешает тачу */
}
@keyframes numBloom {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(226, 192, 135, 0.28)) drop-shadow(0 4px 20px rgba(217, 142, 74, 0.16)); }
  50% { filter: drop-shadow(0 0 24px rgba(236, 206, 148, 0.6)) drop-shadow(0 4px 30px rgba(217, 142, 74, 0.34)); }
}

/* сцена 01: плитка кликается → модуль встаёт в мини-сцену (CSS 3D) */
.ms-stage { position: absolute; inset: 0; perspective: 640px; }
.ms-tiles { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 7px; }
.ms-tiles i {
  width: 46px; height: 30px; border-radius: 7px;
  border: 1px solid rgba(217, 142, 74, 0.35);
  background: linear-gradient(180deg, rgba(217, 142, 74, 0.16), rgba(217, 142, 74, 0.04));
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}
.ms-tiles i.ms-press { transform-origin: center; animation: tilePress 4.6s ease-in-out infinite; }
@keyframes tilePress {
  0%, 8% { transform: none; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4); background: linear-gradient(180deg, rgba(217, 142, 74, 0.16), rgba(217, 142, 74, 0.04)); }
  12%, 20% { transform: scale(0.88); box-shadow: 0 0 18px rgba(232, 198, 140, 0.45), inset 0 0 10px rgba(232, 198, 140, 0.3); background: linear-gradient(180deg, rgba(232, 198, 140, 0.4), rgba(217, 142, 74, 0.14)); }
  40% { transform: scale(0.94); }
  62%, 100% { transform: none; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4); }
}
.ms-scene {
  position: absolute; right: 8%; top: 50%; width: 190px; height: 190px; margin-top: -95px;
  transform-style: preserve-3d; transform: rotateX(56deg) rotateZ(-34deg);
}
.ms-grid {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(217, 142, 74, 0.14) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(217, 142, 74, 0.14) 0 1px, transparent 1px 24px);
  border: 1px solid rgba(217, 142, 74, 0.25);
  mask-image: radial-gradient(75% 75% at 50% 50%, #000 40%, transparent 92%);
  -webkit-mask-image: radial-gradient(75% 75% at 50% 50%, #000 40%, transparent 92%);
}
.ms-mod {
  position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  background: linear-gradient(160deg, #2a3040 0%, #1c2230 70%);
  border: 1px solid rgba(233, 224, 209, 0.25);
  box-shadow: inset 0 0 0 3px rgba(217, 142, 74, 0.16);
  animation: modRise 4.6s cubic-bezier(0.2, 0.9, 0.3, 1.15) infinite;
}
.ms-mod::before { /* верхняя грань куба */
  content: ""; position: absolute; left: 0; top: -14px; width: 44px; height: 14px;
  background: linear-gradient(180deg, rgba(233, 224, 209, 0.28), rgba(217, 142, 74, 0.18));
  transform: skewX(45deg); transform-origin: bottom left;
}
.ms-mod::after { /* боковая грань */
  content: ""; position: absolute; right: -14px; top: 0; width: 14px; height: 44px;
  background: linear-gradient(90deg, rgba(11, 14, 20, 0.7), rgba(26, 32, 48, 0.9));
  transform: skewY(45deg); transform-origin: top left;
}
@keyframes modRise {
  0%, 16% { transform: translate3d(0, 70px, 0) scale(0.7); opacity: 0; }
  38% { transform: translate3d(0, -6px, 0) scale(1.04); opacity: 1; }
  46% { transform: translate3d(0, 2px, 0) scale(1); opacity: 1; }
  74% { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
  92%, 100% { transform: translate3d(0, 46px, 0) scale(0.82); opacity: 0; }
}
.ms-glow {
  position: absolute; left: 50%; top: 50%; width: 90px; height: 90px; margin: -45px 0 0 -45px;
  background: radial-gradient(closest-side, rgba(232, 198, 140, 0.55), rgba(217, 142, 74, 0.16) 55%, transparent 78%);
  opacity: 0; animation: modGlow 4.6s ease-in-out infinite;
}
@keyframes modGlow {
  0%, 30% { opacity: 0; }
  40% { opacity: 0.9; }
  58% { opacity: 0.25; }
  74% { opacity: 0.5; }
  92%, 100% { opacity: 0; }
}

/* сцена 02: размеры бегут по линейкам (анимированные засечки + пульс габарита) */
.ms-box {
  position: absolute; left: 34px; top: 30px; width: 148px; height: 96px;
  border: 1px solid rgba(233, 224, 209, 0.3); border-radius: 4px;
  background: linear-gradient(160deg, rgba(217, 142, 74, 0.12), rgba(26, 32, 48, 0.7));
  animation: boxBreath 5.2s ease-in-out infinite;
}
@keyframes boxBreath { 0%, 100% { width: 148px; } 50% { width: 176px; } }
.ms-door {
  position: absolute; inset: 7px; border: 1px solid rgba(217, 142, 74, 0.4); border-radius: 3px;
  background: linear-gradient(180deg, rgba(233, 224, 209, 0.05), rgba(217, 142, 74, 0.06));
}
.ms-door::after { /* ручка */
  content: ""; position: absolute; right: 8px; top: 50%; width: 4px; height: 22px;
  transform: translateY(-50%); border-radius: 3px; background: var(--brass-strong);
  box-shadow: 0 0 8px rgba(232, 198, 140, 0.6);
}
.ms-dim { position: absolute; color: var(--brass-strong); }
.ms-dim b {
  position: absolute; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em; background: rgba(13, 16, 23, 0.92); padding: 1px 6px; border-radius: 4px;
}
.ms-dim::before, .ms-dim::after { content: ""; position: absolute; background: rgba(232, 198, 140, 0.8); }
.ms-dim-w { left: 0; right: 0; bottom: -24px; height: 1px; background: rgba(232, 198, 140, 0.55); }
.ms-dim-w::before, .ms-dim-w::after { width: 1px; height: 9px; top: -4px; }
.ms-dim-w::before { left: 0; }
.ms-dim-w::after { right: 0; }
.ms-dim-w b { left: 50%; top: -14px; transform: translateX(-50%); }
.ms-dim-h { top: 0; bottom: 0; right: -24px; width: 1px; background: rgba(232, 198, 140, 0.55); }
.ms-dim-h::before, .ms-dim-h::after { height: 1px; width: 9px; left: -4px; }
.ms-dim-h::before { top: 0; }
.ms-dim-h::after { bottom: 0; }
.ms-dim-h b { top: 50%; right: -30px; transform: translateY(-50%); }
.ms-ruler { position: absolute; overflow: hidden; }
.ms-ruler-x {
  left: 0; right: 0; bottom: 12px; height: 12px;
  background: repeating-linear-gradient(90deg, rgba(233, 224, 209, 0.34) 0 1px, transparent 1px 11px);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  animation: rulerRun 2.6s linear infinite;
}
.ms-ruler-y {
  top: 12px; bottom: 12px; right: 44px; width: 12px;
  background: repeating-linear-gradient(0deg, rgba(233, 224, 209, 0.34) 0 1px, transparent 1px 11px);
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  animation: rulerRunY 2.6s linear infinite;
}
@keyframes rulerRun { to { background-position-x: 22px; } }
@keyframes rulerRunY { to { background-position-y: 22px; } }

/* сцена 03: документы CSV/PDF летят в папку */
.ms-folder { position: absolute; inset: 0; }
.ms-folder-back {
  position: absolute; left: 50%; bottom: 26px; width: 118px; height: 44px;
  transform: translateX(-58%);
  background: linear-gradient(180deg, #232a3a, #1a2030);
  border: 1px solid rgba(217, 142, 74, 0.4); border-radius: 4px 8px 4px 4px;
}
.ms-folder-back::before { /* язычок папки */
  content: ""; position: absolute; top: -9px; left: -1px; width: 42px; height: 10px;
  background: linear-gradient(180deg, #2a3244, #232a3a);
  border: 1px solid rgba(217, 142, 74, 0.4); border-bottom: 0; border-radius: 4px 6px 0 0;
}
.ms-folder-front {
  position: absolute; left: 50%; bottom: 14px; width: 118px; height: 20px;
  transform: translateX(-58%);
  background: linear-gradient(180deg, #2b3346, #20263a);
  border: 1px solid rgba(217, 142, 74, 0.5); border-radius: 3px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}
.ms-folder-glow {
  position: absolute; left: 50%; bottom: 8px; width: 150px; height: 56px;
  transform: translateX(-58%);
  background: radial-gradient(closest-side, rgba(232, 198, 140, 0.5), transparent 75%);
  opacity: 0; animation: folderCatch 4.8s ease-in-out infinite;
}
@keyframes folderCatch {
  0%, 26% { opacity: 0; }
  32% { opacity: 0.95; }
  42% { opacity: 0.2; }
  52% { opacity: 0.85; }
  62% { opacity: 0.25; }
  80%, 100% { opacity: 0; }
}
.ms-doc {
  position: absolute; left: 50%; top: 18px; width: 42px; height: 54px; margin-left: -21px;
  border: 1px solid rgba(233, 224, 209, 0.35); border-radius: 4px;
  background: linear-gradient(180deg, #e9e0d1, #cabfa8);
  color: #241b0d; overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.ms-doc b { position: absolute; left: 0; right: 0; top: 16px; text-align: center; font: 700 11px/1 var(--font-text); letter-spacing: 0.06em; }
.ms-doc i { position: absolute; left: 7px; right: 7px; height: 3px; border-radius: 2px; background: rgba(36, 27, 13, 0.4); }
.ms-doc i:nth-of-type(1) { bottom: 13px; }
.ms-doc i:nth-of-type(2) { bottom: 6px; right: 16px; }
.ms-doc-csv { animation: docFly 4.8s cubic-bezier(0.3, 0.6, 0.4, 1) infinite; }
.ms-doc-pdf { animation: docFly2 4.8s cubic-bezier(0.3, 0.6, 0.4, 1) infinite; opacity: 0; }
/* PDF летит зеркально (справа) и садится позже CSV — фазы согласованы с folderCatch */
@keyframes docFly {
  0% { transform: translate(-150px, -10px) rotate(-16deg) scale(1); opacity: 0; }
  8% { opacity: 1; }
  24% { transform: translate(-60px, 12px) rotate(-6deg) scale(0.98); }
  30%, 31% { transform: translate(-10px, 44px) rotate(4deg) scale(0.62); opacity: 1; }
  34%, 100% { transform: translate(0, 64px) rotate(0deg) scale(0.4); opacity: 0; }
}
@keyframes docFly2 {
  0% { transform: translate(150px, -14px) rotate(18deg) scale(1); opacity: 0; }
  10%, 30% { opacity: 0; }
  36% { opacity: 1; transform: translate(66px, 6px) rotate(7deg) scale(0.98); }
  50%, 51% { transform: translate(12px, 46px) rotate(-3deg) scale(0.62); opacity: 1; }
  54%, 100% { transform: translate(0, 64px) rotate(0deg) scale(0.4); opacity: 0; }
}

/* вне вьюпорта секции — CSS-анимации микро-сцен на паузу (ставит effects.js) */
[data-fx-hold] .mscene, [data-fx-hold] .mscene * { animation-play-state: paused !important; }

/* ── «Для производства»: живая сцена раскроя + печатающаяся смета ──────── */
.cutstage {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 18px;
  margin-bottom: 24px;
}
.cut-sheet, .cut-est {
  position: relative; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background:
    radial-gradient(720px 300px at 82% -60px, rgba(217, 142, 74, 0.10), transparent 60%),
    linear-gradient(180deg, var(--panel), rgba(21, 26, 37, 0.6));
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.cut-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 18px 12px;
}
.cut-title { font-size: 13px; color: var(--text-dim); letter-spacing: 0.04em; }
.cut-title b { color: var(--brass-strong); font-variant-numeric: tabular-nums; }
.cut-live {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px;
  border: 1px solid rgba(217, 142, 74, 0.4); border-radius: 999px;
  font: 600 11px/1 var(--font-text); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass-strong); background: rgba(217, 142, 74, 0.08); white-space: nowrap;
}
.cut-live i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--brass-strong);
  box-shadow: 0 0 8px rgba(232, 198, 140, 0.9); animation: cutLivePulse 1.1s ease-in-out infinite;
}
@keyframes cutLivePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.cut-live.is-done { color: var(--ok); border-color: rgba(157, 192, 139, 0.5); background: rgba(157, 192, 139, 0.08); }
.cut-live.is-done i { background: var(--ok); box-shadow: 0 0 8px rgba(157, 192, 139, 0.8); animation: none; }
.cut-viewport {
  position: relative; margin: 0 16px; border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden;
  background: #0d1017;
}
.cut-svg { display: block; width: 100%; height: auto; }
/* внутренности SVG (создаёт js/cut-scene.js) */
.cut-svg .cs-sheet { fill: rgba(233, 224, 209, 0.045); stroke: rgba(233, 224, 209, 0.3); stroke-width: 2; }
.cut-svg .cs-tick { stroke: rgba(233, 224, 209, 0.16); stroke-width: 2; }
.cut-svg .cs-part rect {
  fill: rgba(233, 224, 209, 0.06); stroke: rgba(217, 142, 74, 0.35); stroke-width: 2.5;
  transition: fill 0.35s ease, stroke 0.35s ease, filter 0.35s ease;
}
.cut-svg .cs-part text { fill: rgba(199, 192, 178, 0.72); font: 600 58px var(--font-text); letter-spacing: 0.02em; }
.cut-svg .cs-part.cut rect {
  fill: rgba(217, 142, 74, 0.16); stroke: rgba(232, 198, 140, 0.85);
  filter: drop-shadow(0 0 10px rgba(217, 142, 74, 0.35));
}
.cut-svg .cs-part.cut text { fill: rgba(236, 226, 205, 0.95); }
.cut-svg .cs-waste rect { fill: url(#csHatch); stroke: rgba(216, 106, 92, 0); stroke-width: 3; opacity: 0; transition: opacity 0.5s ease, stroke 0.5s ease; }
.cut-svg .cs-waste.cut rect { opacity: 1; stroke: rgba(216, 106, 92, 0.75); }
.cut-svg .cs-waste text { fill: rgba(216, 106, 92, 0.85); font: 700 54px var(--font-text); letter-spacing: 0.18em; opacity: 0; transition: opacity 0.5s ease 0.15s; }
.cut-svg .cs-waste.cut text { opacity: 1; }
.cut-svg .cs-saw-rest { fill: none; stroke: rgba(233, 224, 209, 0.3); stroke-width: 3; stroke-dasharray: 14 12; }
.cut-svg .cs-saw-done {
  fill: none; stroke: #e9c88a; stroke-width: 5; stroke-linecap: round;
  filter: drop-shadow(0 0 7px rgba(232, 198, 140, 0.8)) drop-shadow(0 0 18px rgba(217, 142, 74, 0.45));
}
.cut-svg .cs-head {
  fill: #fff3de; stroke: rgba(232, 198, 140, 0.9); stroke-width: 3;
  filter: drop-shadow(0 0 9px rgba(255, 228, 176, 0.95));
}
.cut-meta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 13px 18px 15px; font-size: 13px; color: var(--text-dim);
}
.cut-meta b { color: var(--brass-strong); font-variant-numeric: tabular-nums; font-weight: 700; }
.cut-fillmeter { flex: 1 1 90px; height: 5px; border-radius: 4px; background: rgba(233, 224, 209, 0.1); overflow: hidden; min-width: 70px; }
.cut-fillmeter i {
  display: block; height: 100%; width: 0%; border-radius: 4px;
  background: linear-gradient(90deg, var(--brass-deep), var(--brass-strong));
  box-shadow: 0 0 10px rgba(217, 142, 74, 0.5);
}
.cut-waste b { color: #d98a7a; }
/* смета */
.cut-est { display: flex; flex-direction: column; }
.cut-est-head {
  display: flex; align-items: center; gap: 10px; padding: 15px 18px 12px;
  font: 600 13px var(--font-text); letter-spacing: 0.06em; color: var(--text-dim);
  border-bottom: 1px dashed var(--line-strong);
}
.cut-est-head svg { width: 17px; height: 17px; stroke: var(--brass); fill: none; stroke-width: 1.8; stroke-linecap: round; }
.cut-lines { list-style: none; margin: 0; padding: 8px 18px 4px; flex: 1; overflow: hidden; }
.cut-lines li {
  display: flex; align-items: baseline; gap: 10px;
  padding: 6px 0; border-bottom: 1px dashed rgba(233, 224, 209, 0.07);
  font-size: 13px; color: var(--text-dim);
  opacity: 0; transform: translateY(9px); transition: opacity 0.4s ease, transform 0.4s ease;
}
.cut-lines li.on { opacity: 1; transform: none; }
.cut-lines li .nm { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cut-lines li .qty { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12px; }
.cut-lines li .sum { color: var(--brass-strong); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cut-est-foot {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin: 4px 18px 0; padding: 11px 0 13px; border-top: 1px solid var(--line-strong);
  font-size: 13.5px; color: var(--text);
}
.cut-est-foot b { font-family: var(--font-display); font-size: 22px; color: var(--brass-strong); font-variant-numeric: tabular-nums; }
.cut-note { padding: 0 18px 14px; font-size: 11.5px; color: var(--muted); line-height: 1.5; }

/* ── скроллбар панели раскроя (глава 4, «белый скроллбар → тёмный
   фирменный»): .cutgame-panel — overflow:auto (orbit.css), при переполнении
   по высоте справа рисуется дефолтный светло-серый скроллбар Chrome —
   единственное белое пятно на тёмной карточке. Два пути сразу:
   • стандартные свойства (Chrome 121+/FF): scrollbar-color даёт плоский
     скроллбар в цветах бренда;
   • ::-webkit-scrollbar* — для сборок, где стандартные свойства ещё не
     действуют (при заданном scrollbar-color webkit-путь игнорируется
     автоматически, двойки не будет). Цвета — латунь бренда на тёмном
     треке, как .cut-live/.cut-title; трек — почти прозрачный тёмный,
     никаких светлых полос. */
.cutgame-panel {
  scrollbar-color: rgba(217, 142, 74, 0.42) rgba(233, 224, 209, 0.05); /* латунь · тёмный трек */
  scrollbar-width: thin;
}
.cutgame-panel::-webkit-scrollbar { width: 10px; height: 10px; }
.cutgame-panel::-webkit-scrollbar-track {
  background: rgba(233, 224, 209, 0.05); border-radius: 8px;
}
.cutgame-panel::-webkit-scrollbar-thumb {
  background: rgba(217, 142, 74, 0.42); /* латунь бренда */
  border-radius: 8px;
  border: 2px solid transparent; background-clip: padding-box; /* тоньше за счёт рамки */
}
.cutgame-panel::-webkit-scrollbar-thumb:hover { background: rgba(237, 164, 95, 0.65); }
.cutgame-panel::-webkit-scrollbar-corner { background: transparent; }

/* ── «Библиотека»: живые GLB-плитки ────────────────────────────────────── */
.m3d-head {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  margin: 34px 0 14px;
}
.m3d-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--brass-strong); font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
}
.m3d-kicker::before { content: ""; width: 22px; height: 1px; background: var(--brass); }
.m3d-kicker i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--brass-strong);
  box-shadow: 0 0 9px rgba(232, 198, 140, 0.9); animation: cutLivePulse 1.6s ease-in-out infinite;
}
.m3d-hint { color: var(--muted); font-size: 13px; }
.m3d-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.module3d {
  margin: 0; position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  /* ТЗ п.9.6: подложка плитки — тёплый графит (было сине-стальное 21,26,37) */
  background: linear-gradient(180deg, var(--panel), rgba(26, 20, 15, 0.55));
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.3, 1), border-color 0.22s ease, box-shadow 0.22s ease;
}
/* световая кромка сверху — студийный приём панелей */
.module3d::before {
  content: ""; position: absolute; z-index: 3; top: 0; left: 9%; right: 9%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 198, 140, 0.55), transparent);
  opacity: 0.5; transition: opacity 0.3s ease;
}
.module3d:hover {
  transform: translateY(-6px); border-color: rgba(217, 142, 74, 0.5);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5), 0 10px 36px rgba(217, 142, 74, 0.12);
}
.module3d:hover::before { opacity: 1; }
.m3d-stage {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  /* фикс B7 (BUGLIST 22.10): фон плитки поднят с #0c0f16 — живые GLB-превью
     на почти чёрном читались силуэтами; светлее подложка + свет сцены
     (js/module-previews.js) дают фронтальным граням тон.
     ТЗ п.9.6 (iter11, 04.11): фон превью — В ТОН БРЕНДА (тёплый
     шоколад/графит), НЕ синий: прежняя сине-стальная база #151a24 и голубой
     нижний радиал rgba(143,183,217) заменены тёплым графитом #1a140f и
     глубоким шоколадом; золотой верхний радиал сохранён (key сверху). */
  background:
    radial-gradient(120% 95% at 50% 8%, rgba(217, 142, 74, 0.12), transparent 56%),
    radial-gradient(105% 75% at 50% 108%, rgba(74, 51, 38, 0.42), transparent 64%),
    #1a140f;
}
/* глоу-подиум под моделью (фейк-бloom, GENERATE §7) — ТЗ п.9.6: тёплый
   золотой, голубой хвост заменён шоколадным */
.m3d-stage::after {
  content: ""; position: absolute; left: 50%; bottom: 9%; width: 62%; height: 14%;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(217, 142, 74, 0.2), rgba(74, 51, 38, 0.08) 60%, transparent 80%);
  filter: blur(6px);
}
.m3d-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
/* общий WebGL-канвас библиотеки (js/module-previews.js): растянут НАД всей
   сеткой, каждая плитка рисуется своим viewport+scissor. Раньше правила НЕ
   БЫЛО — канвас занимал обычную grid-ячейку: выпихивал фигуры в лишний ряд,
   а тайлы маппились мимо канваса (семейство «пустых превью», P1/P2 критика
   18.10: lib_previews_settled.png, race.cjs 5/6 ready с frames:0). */
.m3d-shared-canvas {
  position: absolute; inset: 0; z-index: 2; display: block;
  pointer-events: none;
}
.m3d-fallback {
  position: absolute; inset: 0; display: grid; place-items: center; color: rgba(217, 142, 74, 0.4);
}
.m3d-fallback svg { width: 52px; height: 52px; stroke: currentColor; fill: none; stroke-width: 1.2; }
/* СТАТИЧНАЯ ПОДЛОЖКА (P1 критика 2026-10-20): изометрия конкретного модуля
   вместо куба-заглушки — плитка читается даже без WebGL/до первого кадра */
.m3d-fallback svg.m3d-iso {
  width: 74%; height: 78%;
  stroke: currentColor; fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round;
}
.m3d-iso .f-front { fill: rgba(217, 142, 74, 0.10); }
.m3d-iso .f-top { fill: rgba(238, 168, 95, 0.16); }
.m3d-iso .f-side { fill: rgba(12, 15, 22, 0.55); }
.m3d-iso .f-dark { fill: rgba(238, 168, 95, 0.55); stroke: none; }
.m3d-iso .ln { stroke-width: 1.4; opacity: 0.75; }
.m3d-iso .ln.dim { opacity: 0.35; }
/* честный режим (m3d-degraded ставит module-previews.js): подпись .m3d-hint
   переписывается из JS — «модели дорисовываются — софт-рендер медленнее GPU» */
/* фолбэк-изометрия видна до ПЕРВОГО реально отрисованного кадра (m3d-drawn
   ставит module-previews.js) — живой слой сменяет её только по факту кадра */
.module3d .m3d-fallback { color: rgba(238, 168, 95, 0.8); opacity: 1; }
.module3d.m3d-live:not(.m3d-drawn) .m3d-fallback { opacity: 0.6; transition: opacity 0.4s; }
.module3d.m3d-drawn .m3d-fallback { display: none; }
/* подпись «кадр собирается…» — только пока живой слой реально пытается */
.module3d.m3d-live:not(.m3d-drawn) .m3d-fallback::after {
  content: "кадр собирается…"; position: absolute; left: 0; right: 0; bottom: 8px;
  font-size: 11px; letter-spacing: 0.06em; color: var(--text-dim); text-align: center;
}
.module3d figcaption {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 12px 16px 14px; border-top: 1px solid var(--line); background: rgba(13, 16, 23, 0.55);
}
.module3d figcaption b { font-size: 14.5px; font-weight: 600; color: var(--text); }
.module3d figcaption i { font-style: normal; font-size: 12.5px; color: var(--brass-strong); font-variant-numeric: tabular-nums; }

/* ── CTA «Пилот»: ЧПУ-контур + глоу Telegram-кнопки ────────────────────── */
.cnc-frame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.cnc-frame .cnc-track { fill: none; stroke: rgba(233, 224, 209, 0.18); stroke-width: 1.5; stroke-dasharray: 10 9; }
.cnc-frame .cnc-path {
  fill: none; stroke: rgba(233, 198, 140, 0.9); stroke-width: 2; stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(217, 142, 74, 0.65)) drop-shadow(0 0 16px rgba(217, 142, 74, 0.3));
}
.cnc-frame .cnc-dot { fill: #fff3de; filter: drop-shadow(0 0 8px rgba(255, 228, 176, 1)); }
.cnc-frame .cnc-cross { stroke: rgba(232, 198, 140, 0.55); stroke-width: 1.5; opacity: 0; transition: opacity 0.3s ease, filter 0.3s ease; }
.cnc-frame .cnc-cross.on { opacity: 1; stroke: rgba(236, 206, 148, 0.95); filter: drop-shadow(0 0 5px rgba(232, 198, 140, 0.8)); }
.cnc-frame text { fill: rgba(232, 198, 140, 0.8); font: 600 12px ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: 0.08em; }
.btn-tg { position: relative; }
.btn-tg::after {
  content: ""; position: absolute; inset: -3px; border-radius: 999px; pointer-events: none;
  box-shadow: 0 0 26px rgba(217, 142, 74, 0.38), inset 0 0 14px rgba(232, 198, 140, 0.22);
  opacity: 0.5; animation: tgGlow 3s ease-in-out infinite;
}
@keyframes tgGlow { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ── свечение за панелями (мягкий латунный ореол под карточкой) ─────────── */
.step.in, .prod.in, .stat.in, .module3d.in {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.36), 0 4px 28px rgba(217, 142, 74, 0.07);
}
.stat { position: relative; }

/* ── туман глубины: статичные дымчатые полосы в фоне секций ────────────── */
#production {
  background-image:
    linear-gradient(180deg, transparent 58%, rgba(96, 118, 140, 0.055) 78%, rgba(96, 118, 140, 0.02) 88%, transparent 99%),
    radial-gradient(980px 480px at 88% 4%, rgba(217, 142, 74, 0.13), transparent 62%),
    radial-gradient(860px 440px at -140px 78%, rgba(143, 183, 217, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.006));
}
#pilot {
  background-image:
    linear-gradient(180deg, transparent 58%, rgba(96, 118, 140, 0.05) 78%, transparent 99%),
    radial-gradient(1000px 520px at 50% 64%, rgba(217, 142, 74, 0.09), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.006));
}
#library {
  background-image:
    linear-gradient(180deg, transparent 64%, rgba(150, 175, 205, 0.05) 82%, transparent 98%),
    radial-gradient(900px 440px at 6% 0%, rgba(143, 183, 217, 0.12), transparent 60%),
    radial-gradient(820px 420px at 100% 100%, rgba(217, 142, 74, 0.10), transparent 62%);
}

/* ── адаптив v4 ────────────────────────────────────────────────────────── */
@media (max-width: 1060px) {
  .m3d-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .cutstage { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .mscene { height: 158px; }
  .ms-scene { width: 160px; height: 160px; margin-top: -80px; right: 4%; }
  .cut-head { flex-wrap: wrap; }
  .cut-meta { gap: 10px; font-size: 13.5px; }
  .cut-lines li { font-size: 13.5px; }
  .cut-est-foot b { font-size: 20px; }
  .m3d-hint { display: none; }
  .cnc-frame text { font-size: 11px; }
}
@media (max-width: 480px) {
  .m3d-grid { grid-template-columns: 1fr; }
  /* фикс P1 критика (3-й раунд): пустая плитка 16/10 занимала до пол-экрана */
  .m3d-stage { aspect-ratio: auto; height: 150px; }
}

/* ── reduced-motion v4: всё статичное, но сочное ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .seam b, .seam.live b { animation: none; opacity: 0; }
  .seam i, .seam.live i { opacity: 0.8; }
  .step-num { animation: none; filter: drop-shadow(0 0 16px rgba(226, 192, 135, 0.4)); }
  .mscene, .mscene * { animation: none !important; }
  /* статичные раскладки микро-сцен (финальные положения циклов) */
  .ms-tiles i.ms-press { transform: scale(0.94); box-shadow: 0 0 16px rgba(232, 198, 140, 0.4); }
  .ms-mod { transform: none; opacity: 1; }
  .ms-glow { opacity: 0.5; }
  .ms-ruler-x, .ms-ruler-y { animation: none; }
  .ms-box { animation: none; width: 168px; }
  .ms-doc-pdf { display: none; }
  .ms-doc-csv { animation: none; transform: translate(-10px, 36px) scale(0.72); opacity: 0.9; }
  .ms-folder-glow { opacity: 0.7; }
  .cut-live i { animation: none; }
  .btn-tg::after { animation: none; opacity: 0.8; }
  .agent-fab, .agent-panel, .agent-msg, .agent-status u, .agent-typing i { animation: none !important; }
}

/* ═════════════════════════════════════════════════════════════════════════
   v4.1 — фикс-раунд критика (avg 8.66): статика #how/#pilot держит планку
   героя. ЧПУ-разметка листа в CTA (пустая нижне-левая зона), контраст
   микро-сцен #how (keyGlow поднят в effects.js: how gain 0.9, pilot 1.15).
   ═════════════════════════════════════════════════════════════════════════ */

/* ЧПУ-разметка под текстом CTA: размерные тики листа + координаты */
.cta-blueprint {
  margin-top: 26px; max-width: 430px;
  display: flex; flex-direction: column; gap: 7px;
}
.cb-ruler {
  height: 13px;
  background:
    repeating-linear-gradient(90deg,
      rgba(217, 142, 74, 0.5) 0 1px, transparent 1px 23px),
    linear-gradient(180deg, transparent 0 8px, rgba(217, 142, 74, 0.35) 8px 9px, transparent 9px);
  /* каждая 5-я засечка длиннее — слои ниже перекрывают короткие */
  position: relative;
  mask-image: linear-gradient(90deg, #000 82%, transparent);
  -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent);
}
.cb-ruler::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 100%;
  background: repeating-linear-gradient(90deg,
    rgba(232, 198, 140, 0.85) 0 1.5px, transparent 1.5px 115px);
}
.cb-labels {
  display: flex; align-items: baseline; gap: 10px;
  font: 600 12px ui-monospace, "Cascadia Mono", Consolas, monospace;
  letter-spacing: 0.1em; color: rgba(226, 192, 135, 0.8);
}
.cb-labels b { font-weight: 600; }
.cb-labels i { font-style: normal; color: rgba(217, 142, 74, 0.45); }

/* контраст микро-сцен #how: сочнее фон, рамки, элементы — статика читается */
.mscene {
  border-color: rgba(217, 142, 74, 0.28);
  background:
    radial-gradient(130% 110% at 50% -6%, rgba(232, 198, 140, 0.13), transparent 60%),
    radial-gradient(90% 70% at 18% 108%, rgba(143, 183, 217, 0.14), transparent 62%),
    linear-gradient(180deg, #131826, #0b0e15);
  box-shadow: inset 0 1px 0 rgba(233, 224, 209, 0.08), 0 8px 26px rgba(0, 0, 0, 0.3);
}
.ms-tiles i { border-color: rgba(217, 142, 74, 0.5); background: linear-gradient(180deg, rgba(217, 142, 74, 0.26), rgba(217, 142, 74, 0.07)); }
.ms-grid {
  background:
    repeating-linear-gradient(0deg, rgba(217, 142, 74, 0.22) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(217, 142, 74, 0.22) 0 1px, transparent 1px 24px);
  border-color: rgba(217, 142, 74, 0.4);
}
.ms-box { border-color: rgba(233, 224, 209, 0.45); background: linear-gradient(160deg, rgba(217, 142, 74, 0.2), rgba(26, 32, 48, 0.75)); }
.ms-door { border-color: rgba(217, 142, 74, 0.55); }
.ms-folder-back { background: linear-gradient(180deg, #2c354a, #1e2536); border-color: rgba(217, 142, 74, 0.55); }
.ms-folder-front { background: linear-gradient(180deg, #35405a, #262e44); border-color: rgba(217, 142, 74, 0.6); }
.ms-doc { background: linear-gradient(180deg, #f4ecdd, #d5cab2); border-color: rgba(255, 244, 224, 0.5); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55), 0 0 14px rgba(232, 198, 140, 0.25); }

/* покоящиеся фазы полнее: модуль в сцене дольше виден, плитка дольше нажата */
@keyframes modRise {
  0%, 14% { transform: translate3d(0, 70px, 0) scale(0.7); opacity: 0; }
  36% { transform: translate3d(0, -6px, 0) scale(1.04); opacity: 1; }
  44% { transform: translate3d(0, 2px, 0) scale(1); opacity: 1; }
  82% { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
  94%, 100% { transform: translate3d(0, 46px, 0) scale(0.82); opacity: 0; }
}
@keyframes tilePress {
  0%, 8% { transform: none; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4); background: linear-gradient(180deg, rgba(217, 142, 74, 0.26), rgba(217, 142, 74, 0.07)); }
  12%, 26% { transform: scale(0.88); box-shadow: 0 0 18px rgba(232, 198, 140, 0.5), inset 0 0 10px rgba(232, 198, 140, 0.34); background: linear-gradient(180deg, rgba(232, 198, 140, 0.44), rgba(217, 142, 74, 0.16)); }
  44% { transform: scale(0.94); }
  66%, 100% { transform: none; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4); }
}

/* ═════════════════════════════════════════════════════════════════════════
   ГЛАВА 3 — ЧИТАЕМОСТЬ КАРТОЧЕК ПРОЛЁТА (приказ 23.10 + «качество 1-к-1»)
   Гейт qa/gate-glava3.cjs: пиксельный контраст «буквы vs подложка» ≥ 4.5:1
   на каждом кадре пролёта с карточками, 1920/1366. Замер ДО (претензия):
   63 текста ниже порога — герой (kicker 2.57, «одним кадром» 1.82, hint
   1.97), метки разбор-лаб на светлой древесине (3.17), габариты листа
   cg-dim (2.30), слабые строки панелей (3.5–4.26). Ниже — только подложки,
   фоны, тени и тон текста; механика и раскладка не тронуты. landing.css
   грузится ДО orbit.css, поэтому переопределения даны с большей
   специфичностью, чем исходные правила.
   ═════════════════════════════════════════════════════════════════════════ */

/* 1 · Герой (станция «Стапель»): тёмная радиальная подложка под копию —
   та же, что у статичного режима (orbit.css .orbit-static .st-hero
   .hero-copy-orbit), но плотнее в ядре: на пине за заголовком светлая стена
   цеха. Отрицательные поля компенсируют паддинг — текст не сдвигается. */
.station .hero-copy-orbit {
  margin: -26px auto;
  padding: 26px 24px;
  border-radius: 20px;
  background: radial-gradient(120% 150% at 27% 42%,
    rgba(11, 13, 17, 0.9) 0%, rgba(11, 13, 17, 0.62) 55%, rgba(11, 13, 17, 0) 100%);
  /* P2 iter 8 (поручение владельца 04.11): переходный кадр hero→studio на
     паузе — снап таймлайна доводит скролл до якоря главы, и инлайновая
     opacity копии (js/orbit-ui.js updatePinState пишет её по scrollY)
     на этом кадре менялась ступенью. Мягкий фейд: низкочастотное сглаживание
     только opacity (0.45s ease-out); transform НЕ трогаем — контр-трансформ
     «держатель экрана» обязан оставаться точным, иначе копия поплывёт при
     скролле. Уходящая копия растворяется вместо среза. */
  transition: opacity 0.45s ease-out;
}
/* ?look=room: светлый шоурум — вместо тёмной карточки левый скрим,
   кухня справа остаётся видимой */
body.look-room .station .hero-copy-orbit {
  background: linear-gradient(90deg, rgba(12, 14, 17, 0.82) 0%, rgba(12, 14, 17, 0.48) 45%, rgba(12, 14, 17, 0) 78%);
  border-radius: 0;
  margin-left: 0;
  padding-left: 8px;
}
.station .hero-copy-orbit .kicker,
.station .hero-copy-orbit .hero-display,
.station .hero-copy-orbit .lead,
.station .hero-copy-orbit .hero-hint-orbit {
  text-shadow: 0 2px 18px rgba(11, 13, 17, 0.9), 0 1px 4px rgba(11, 13, 17, 0.75);
}
/* подсказка скролла: 13px капс над сценой, AA-разбавление мелкого текста —
   был 1.97:1; тон поднят с --fabriko-dim до светлого тёплого серого */
.station .hero-copy-orbit .hero-hint-orbit { color: #c9c4b8; }

/* 2 · HUD-подпись станции: чип в тон hud-coords (справа такой же) —
   «СТАНЦИЯ»/название падали до 4.2:1 над светлой сценой; тексты ярче. */
.hud .hud-station-box {
  background: rgba(12, 14, 17, 0.88);
  border: 1px solid rgba(233, 224, 209, 0.1);
  border-radius: 8px;
  padding: 5px 10px;
}
.hud .hud-kicker { color: #cfc9bd; }
.hud .hud-station {
  color: #f2b976;
  text-shadow: 0 1px 3px rgba(12, 14, 17, 0.85);
}

/* 3 · Метки разбор-лаборатории: на светлой древесине проседали до 3.17:1 —
   чип плотнее (0.78 → 0.94), тон на полступени ярче #eda45f → #f2b976,
   вес 600: у 11px mono тонкие штрихи размывались антиалиасингом. */
.explode-labels .explode-label {
  background: rgba(12, 14, 17, 0.94);
  border-color: rgba(217, 142, 74, 0.5);
  color: #f2b976;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(12, 14, 17, 0.85);
}

/* 4 · Слабые строки панелей: примечания с собственной opacity не дотягивали
   (3.5–3.9:1) — плотность текста поднята, цвет не тронут. */
.cutgame-panel .cut-metanote { opacity: 0.92; }
.est-panel .est-note { opacity: 0.92; }
/* lead студии на панели — самое слабое место после правок (4.50:1 ровно на
   1920/end): полступени запаса тем же тёплым серым тоном */
.station .studio-panel .lead { color: #b8b2a6; }
/* коэффициент сметы «×1,85» и чипы количества строк «×1/×2» (11px mono,
   наследуют тусклый цвет строки — 4.26–4.38:1 на 1366) */
.est-panel .est-coeff,
.studio-est .est-coeff,
.est-panel .est-line .qty { color: #9fc4e3; }

/* 5 · Габариты листа на карте раскроя (cg-dim): 34 юнита при масштабе SVG
   дают 6–7px на 1366 — не читались и контрастом (2.30:1). Крупнее на ~65%
   и светлее: это внешние размеры листа 2440×1830, не механика раскроя. */
.cutgame-panel .cg-dim {
  fill: #8b939d;
  font-size: 56px;
}

/* 6 · Сепараторы координат листа в CTA «Пилота» («·»): были rgba(...,0.45) —
   почти невидимы (1.8:1). Тон — как у соседних .cb-labels b. */
.cta-card .cb-labels i { color: rgba(226, 192, 135, 0.8); }

/* ══ ГЛАВА 2 (приказ 21.10 «слишком тёмная… дофамин и вау»): состояние входа ══
   Пока интро-гейт закрыт, канвас орбиты получает тёплую тёмную подложку:
   сцена рендерится с прозрачной очисткой (alpha), и на позах прогрева/сборки
   без геометрии у кромки сквозь канвас светился контент страницы (заголовок
   героя, кнопки) — двойной UI в кадре входа. Подложка прячет страницу, живая
   сцена за лого читается на тёплом эспрессо (эталон тона — Терра EVO v3).
   Состояние снимается классом orbit-live, который js/orbit-ui.js ставит на
   body в момент «ВОЙТИ В ЦЕХ»: после входа канвас прозрачен, как прежде, —
   пролёт, станции и разбор-лаб не задеты. */
body:not(.orbit-live) .orbit-canvas {
  background:
    radial-gradient(120% 90% at 62% 28%, rgba(74, 50, 29, 0.6), transparent 72%),
    radial-gradient(90% 70% at 16% 84%, rgba(56, 38, 22, 0.55), transparent 70%),
    #150f0a;
}

/* ГЛАВА 2: под закрытым гейтом страница скрыта — гейт есть модальный вход
   (role="dialog"), свои сообщения у него внутри (лого, прогресс, статус).
   Шапка и копия героя не спорят с лого гейта и не просвечивают вуалью;
   контент прочих станций и пост-orbit-секции ниже фолда — тоже (их края
   подсвечивались сквозь вуаль на позах прогрева). Снимается тем же
   orbit-live на входе; visibility (не display) — layout не дёргается,
   замеры секций (offsetTop рельса) не меняются. */
body:not(.orbit-live) .site-header,
body:not(.orbit-live) .st-hero .pin > .panel,
body:not(.orbit-live) .st-hero .panel-dock,
body:not(.orbit-live) .station:not(.st-hero) .pin,
body:not(.orbit-live) .after-orbit { visibility: hidden; }

/* Станция: постер до клика + кнопки входа и звука (28.10) */
.browser.is-teaser .ctor-poster { display: flex; }
.ctor-poster-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block; }
.ctor-enter {
  position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%);
  padding: 14px 30px; border-radius: 999px; border: 1px solid #c9a86a;
  background: rgba(23,27,30,.86); color: #f3ead8; font: 600 15px/1 'Segoe UI', system-ui, sans-serif;
  letter-spacing: .06em; cursor: pointer; backdrop-filter: blur(6px);
}
.ctor-enter:hover { background: #c9a86a; color: #171b1e; }
.ctor-sound {
  position: absolute; right: 18px; bottom: 18px; padding: 8px 12px; border-radius: 999px;
  border: 1px solid rgba(201,168,106,.5); background: rgba(23,27,30,.7); color: #f3ead8;
  font: 500 12px/1 'Segoe UI', system-ui, sans-serif; cursor: pointer;
}
.ctor-sound:hover { border-color: #c9a86a; }
.browser { position: relative; }

.browser.is-teaser .ctor-poster-in { display: none; }
.browser.is-teaser .ctor-enter { bottom: 64px; }
/* TAILSFIX (08.11, хвост 2): честный тост «движок загружается» — плашка в
   стилистике мока (та же палитра, что .ctor-enter/.ctor-sound: тёмная
   подложка, латунная кайма), над кнопкой входа. Появляется только при клике
   до вердикта resolveEngine (js/landing.js), pointer-events:none — скролл и
   повторные клики по кнопке не перекрыты. */
.ctor-toast {
  position: absolute; left: 50%; bottom: 124px; z-index: 6;
  transform: translateX(-50%) translateY(6px);
  padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(201, 168, 106, 0.5);
  background: rgba(23, 27, 30, 0.92); color: #f3ead8;
  font: 500 12.5px/1 'Segoe UI', system-ui, sans-serif; letter-spacing: .04em;
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.ctor-toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .ctor-toast { transition: none; }
}
.browser.is-teaser .ctor-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.45)); pointer-events: none; border-radius: 8px; }

/* ── card-glow: «золотое пятно за курсором» на карточках лендинга ─────────
   ПОРУЧЕНИЕ владельца 08.11 (точка 3): тот же брендовый приём, что в
   CRM-дашборде (crm-glow crm.css v3.6/v3.7) и в hero: тёплое золотое
   свечение следует за мышью по карточкам «Как это работает» (.step 01/02/03),
   живым превью каталога (.module3d) и колонкам «Пилота» (.pchannel).
   • Тон — золото hero: rgba(200,162,75,·) #C8A24B (rim-свет по контуру
     шкафов и шиммер стены в src/hero/hero-scene.js, знак F в лого/футере;
     CRM v3.6 использовал тот же «золото знака»). Альфа ≤ .12 — чтению
     не мешает; пятно поверх карточки, pointer-events:none.
   • --mx/--my пишет js/card-glow.js: ОДИН делегированный pointermove на
     document + rAF-троттлинг (никаких re-layout на каждый пиксель), сброс
     на уходе курсора — прилипания нет. Селектор-пара синхронна с
     GLOW_SEL в js/card-glow.js — менять синхронно.
   • Слой целиком только на fine-указателях (hover + pointer:fine): на тач
     следящего свечения нет вовсе (мобилка/тач — отключён, поручение);
     prefers-reduced-motion гасит и слой, и слушатель (js не ставится). */
@media (hover: hover) and (pointer: fine) {
  .step, .module3d, .pchannel { --glow-on: 0; }
  /* .module3d уже relative (landing.css:1248); .step/.pchannel — позиционируем,
     чтобы ::after считал inset от карточки */
  .step, .pchannel { position: relative; }
  /* ПОРУЧЕНИЕ 08.11 (точка 3, пилот-колонки): станция держит pointer-events:none
     (css/orbit.css:161), а auto — только у a/button внутри панели
     (css/orbit.css:287-291): сама карточка .pchannel не ловила курсор — у неё
     был мёртв и штатный :hover-бордер, и свечение не включалось. Колонка
     каналов получает pointer-events:auto на fine-указателе (на таче — как
     было: тап по кнопкам работает, свечение выключено). Скролл колесом это
     не блокирует. */
  .pilot-channels { pointer-events: auto; }
  .step::after, .module3d::after, .pchannel::after {
    content: ''; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
    pointer-events: none; opacity: var(--glow-on, 0); transition: opacity .18s ease-out;
    background:
      radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%),
        rgba(200, 162, 75, 0.12), rgba(200, 162, 75, 0) 62%);
  }
  /* появление — по факту наведения (страховка и без JS); переменные координат
     живёт только у карточки под курсором — пятно всегда «за курсором».
     Пятно рисуется ПОВЕРХ карточки (как в CRM v3.6: pointer-events:none,
     альфа .12 ≤ принятых .16 — контраст текста не падает, принудительный
     position детям .step не ставим: ломал бы раскладку микро-сцен .mscene). */
  .step:hover::after, .module3d:hover::after, .pchannel:hover::after { --glow-on: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .step::after, .module3d::after, .pchannel::after { display: none; }
}

/* ── sect-glow: «золотой призрак за курсором» на фоне тёмных секций ───────
   СВПЕР СВЕТА 08.11 (точка владельца «наводишь мышку на тёмный уголок —
   нет свечения»): свечение карточек уже есть (слой выше), его фон не имеет —
   «Как это работает» (#factory, .section.tint) и «Библиотека» (#library):
   мёртвый тёмный фон (body --bg #16120e + тинт 2%/радиалы ≤ .12), под ним
   ни живого 3D-кадра, ни карточек. Тот же брендовый приём, что и слой выше:
   • --sx/--sy пишет js/card-glow.js в том же rAF-кадре (селектор-пара
     SECT_SEL — менять синхронно);
   • тон — то же золото #C8A24B, альфа центра 0.10 (потолок поручения;
     карточный — 0.12 на 320px, секционный — 0.10 на 460px: на площадь
     пятна альфа падает, призрак читается заметно тише карточного);
   • content ПОВЕРХ слоя: .section[data-fx] > .wrap уже несёт z-index:1
     (landing.css:712), сам слой z-index:0 — как .fx-canvas (710), но
     деревом позже (пыль под призраком), текст и карточки над ним;
     pointer-events:none — скролл, выделение и клики не тронуты;
   • visibility:hidden в покое: пока секция не под курсором, слой не
     красится вовсе (SwiftShader-перф гейтов не платит за призрака);
   • touch/coarse и prefers-reduced-motion — выключено (медиа-обёртка
     как у карточек; JS-слушатель не ставится — см. card-glow.js);
   • светлых секций в потоке нет (#factory/#library — единственные
     .section-потока; станции orbit с живым 3D-фоном не накрываются). */
@media (hover: hover) and (pointer: fine) {
  #factory, #library { --sglow-on: 0; }
  #factory::after, #library::after {
    content: ''; position: absolute; inset: 0; z-index: 0;
    pointer-events: none;
    opacity: var(--sglow-on, 0); visibility: hidden;
    transition: opacity 0.25s ease-out, visibility 0s linear 0.3s;
    background:
      radial-gradient(460px circle at var(--sx, 50%) var(--sy, 50%),
        rgba(200, 162, 75, 0.10), rgba(200, 162, 75, 0) 70%);
  }
  /* появление — по факту наведения на секцию (страховка и без JS) */
  #factory:hover::after, #library:hover::after {
    --sglow-on: 1; visibility: visible;
    transition: opacity 0.25s ease-out;
  }
}
@media (prefers-reduced-motion: reduce) {
  #factory::after, #library::after { display: none; }
}
