/* ============ TERON prototype ============ */
:root {
  --bg: #000000;
  --panel: #0c0e10;
  --panel-2: #101316;
  --text: #f2f4f5;
  --muted: #97a0a6;
  --accent: #2ee68b;
  --accent-dim: rgba(46, 230, 139, 0.14);
  --font-display: "Inter Tight", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(20px, 5vw, 72px);
}

/* Dune Rise — фирменный шрифт бренда (латиница; кириллица падает в Unbounded) */
@font-face {
  font-family: "Dune Rise";
  src: url("../fonts/DuneRise.otf") format("opentype");
  font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; }
h2 { font-size: clamp(28px, 4.2vw, 54px); letter-spacing: 0.01em; }
h3 { font-size: clamp(17px, 1.6vw, 22px); }
p { color: var(--muted); }

/* ---------- nav: чёрная шапка, только бургер в углу (равные отступы) ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: flex-start; align-items: center;
  padding: 24px;
  background: #000;
}
.nav__burger {
  display: flex; flex-direction: column; gap: 6px;
  background: none; border: 0; cursor: pointer; padding: 0;
}
.nav__burger span {
  display: block; width: 26px; height: 2px; background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.nav__burger:hover span { background: var(--accent); }

/* ---------- меню-оверлей (заглушка) ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0, 0, 0, 0.97);
  display: flex; align-items: center; justify-content: center;
}
.menu-overlay[hidden] { display: none; }
.menu-overlay__close {
  position: absolute; top: 20px; left: 20px;
  background: none; border: 0; color: var(--text); font-size: 26px; cursor: pointer;
  line-height: 1; padding: 4px;
}
.menu-overlay__close:hover { color: var(--accent); }
.menu-overlay__label {
  position: absolute; top: 25px; left: 62px;
  color: var(--text); font-family: "Inter Tight", "Inter", sans-serif; font-weight: 600;
  font-size: 16px; letter-spacing: 0.02em; line-height: 24px;
}
.menu-overlay__logo {
  position: absolute; top: 25px; left: 50%; transform: translateX(-50%); text-decoration: none;
  font-family: "Dune Rise", sans-serif; font-weight: 400;
  font-size: 16px; line-height: 24px; letter-spacing: 0.08em; color: var(--text);
}
.menu-overlay__contacts {
  position: absolute; top: 25px; right: 24px;
  color: var(--text); text-decoration: none;
  font-family: "Inter Tight", "Inter", sans-serif; font-weight: 600;
  font-size: 16px; letter-spacing: 0.02em; line-height: 24px;
  transition: color 0.3s;
}
.menu-overlay__contacts:hover { color: var(--accent); }
.menu-overlay__stub { color: var(--muted); font-size: 15px; letter-spacing: 0.08em; }

/* ---------- БЛОК 1: сборка батареи по скроллу ---------- */
.build { height: 380vh; position: relative; }
.build__sticky {
  position: sticky; top: 0; height: 100svh; overflow: hidden; background: #000;
}
.build__frame {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  will-change: opacity, transform;
}
.build__frame.is-base { opacity: 1; }
.build__fade {
  position: absolute; inset: 0; background: #000; opacity: 0;
  z-index: 4; pointer-events: none; will-change: opacity;
}
/* HERO INTRO (12.09): TERON проявляется по центру → поднимается на место → снизу подъезжает холдер →
   под логотипом одной строкой в его ширину подзаголовок → только потом отпускаем скролл (body.intro) */
.build__frames { position: absolute; inset: 0; will-change: transform, opacity; transition: transform 2.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 2s ease; }
body.intro .build__frames { transform: translateY(42vh); opacity: 0; }
body.intro.intro-frames .build__frames { transform: none; opacity: 1; }
.build__title {
  position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%);
  text-align: center; z-index: 5; width: 94vw; overflow: hidden;   /* nowrap-подзаголовок не должен расширять документ */
  will-change: opacity, transform;
}
/* логотип проявляется сразу на своём месте — без вертикальных перемещений (правка 12.09) */
.build__title h1 {
  font-family: "Dune Rise", var(--font-display);
  font-size: clamp(34px, 13.5vw, 220px);   /* min 34px: 58 вылезал за экран телефона и включал зум-аут */
  letter-spacing: 0.12em; text-indent: 0.12em;
  font-weight: 400; line-height: 1;
  text-shadow: 0 4px 60px rgba(0,0,0,0.65);
  opacity: 0; transition: opacity 2.4s ease;
}
.build__title h1.is-in { opacity: 1; }
.build__title p {
  margin: clamp(22px, 2.6vw, 40px) 0 0;
  font-family: "Inter Tight", "Inter", sans-serif; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.2; white-space: nowrap;
  color: var(--text); opacity: 0; transition: opacity 1.8s ease;
}
.build__title p.is-in { opacity: 1; }
.build__subline { display: inline-block; }
body.intro { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .build__title h1, .build__title p { opacity: 1; transition: none; }
  .build__frames, .build__title { transition: none; }
}

/* ---------- чёрная пауза ---------- */
.void { height: 5vh; background: #000; }

/* ---------- манифест: текст квадратом ---------- */
.statement { height: 260vh; position: relative; background: #000; }
.statement__sticky {
  position: sticky; top: 0; height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
/* прямоугольник текста по центру экрана: длинные строки во всю ширину */
.statement__text {
  width: 80vw;
  font-family: "Inter Tight", "Inter", sans-serif;
  font-weight: 600;
  font-size: clamp(15px, min(2.75vw, 6.5svh), 64px);
  line-height: 1.26;
  color: var(--text);
  text-transform: uppercase;
  opacity: 0;
  will-change: opacity;
}
.statement__text .ln {
  display: block;
  text-align: left;
}
/* эпловское затемнение вводных строк: серый ввод, белый акцент */
.statement__text .ln--dim { color: #86868b; }

/* ---------- numbers ---------- */
.numbers { padding: 0 var(--pad) clamp(80px, 12vh, 140px); }
.numbers__grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.numbers__item {
  background: var(--panel); border: 1px solid #16191c; border-radius: 20px;
  padding: 34px 26px; display: flex; flex-direction: column; gap: 8px;
}
.numbers__value {
  font-family: "Dune Rise", var(--font-display); font-weight: 400;
  font-size: clamp(34px, 4vw, 56px); color: var(--accent); line-height: 1;
}
.numbers__value small { font-size: 0.45em; font-weight: 400; color: var(--text); }
.numbers__label { color: var(--muted); font-size: 14px; }

/* ---------- БЛОК 4: прочность — конструкционное склеивание ---------- */
.strength { height: 270vh; position: relative; background: #000; }
.strength__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.strength__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  will-change: opacity, transform;
}
.strength__copy {
  position: absolute; top: 9svh; left: 50%;
  transform: translate(-50%, 60px);
  width: min(86vw, 1100px); max-width: 92%; text-align: center; z-index: 2;
  opacity: 0; will-change: opacity, transform;
}
.strength__eyebrow {
  color: var(--accent); font-size: clamp(11px, 1.1vw, 15px); font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 16px;
}
.strength__copy h2 {
  font-size: clamp(26px, 4.4vw, 64px);
  text-transform: uppercase;
  font-weight: 600;
  /* перелив в стиле Apple Intelligence (iPad Pro): синий → фиолет → розовый → оранжевый */
  background: linear-gradient(95deg, #4facff 0%, #7f63ff 28%, #b95cff 52%, #ff6fce 76%, #ff9f45 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: ai-shimmer 9s ease-in-out infinite alternate;
}
@keyframes ai-shimmer {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}
.strength__sub {
  margin: 22px auto 0; max-width: 40ch;
  color: #b9c0c5; font-weight: 500;
  font-size: clamp(19px, 1.9vw, 29px); line-height: 1.28;   /* как «Проводники увеличенного сечения», строки плотнее */
  text-shadow: 0 2px 20px rgba(0,0,0,0.9);
}

/* ---------- манифест безопасности: центрированная стена ---------- */
.statement--safety .statement__text { text-align: center; font-size: clamp(17px, min(3.4vw, 7svh), 78px); }
.statement--safety .ln { text-align: center; }

/* ---------- БЛОК 3: ядро (ячейки + текст с переливанием) ---------- */
.core { height: 320vh; position: relative; background: #000; }
.core__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.core__text {
  position: absolute; top: 9svh; left: 50%;
  transform: translate(-50%, 60px);
  width: 80vw; z-index: 2;
  font-family: "Inter Tight", "Inter", sans-serif;
  font-weight: 600;
  font-size: clamp(14px, min(2.55vw, 5svh), 54px);
  line-height: 1.3;
  text-transform: uppercase;
  background: linear-gradient(105deg, #f2f4f5 0%, #86868b 28%, #6fdfa8 50%, #86868b 72%, #f2f4f5 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: shimmer 7s ease-in-out infinite alternate;
  opacity: 0;
  will-change: opacity, transform;
}
.core__text .ln { display: block; text-align: left; }
@keyframes shimmer {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}
.core__img {
  position: absolute; top: 0; left: 50%;
  width: 100%; z-index: 1;
  transform: translate(-50%, 100vh);
  will-change: transform;
}

/* ---------- feature (cells) ---------- */
.feature {
  display: grid; grid-template-columns: 1.25fr 1fr; align-items: center;
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(60px, 10vh, 120px) var(--pad);
  max-width: 1400px; margin: 0 auto;
}
.feature__media img { border-radius: 24px; }
.feature__copy h2 { margin-bottom: 20px; }
.feature__copy p { max-width: 46ch; }

/* ---------- scroll sequence ---------- */
.seq { height: 320vh; position: relative; }
.seq__sticky {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.seq__frame {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 0.35s linear;
}
.seq__frame.is-active { opacity: 1; }
.seq__title {
  position: absolute; top: clamp(76px, 12vh, 120px); left: 50%; transform: translateX(-50%);
  font-size: clamp(24px, 3.4vw, 44px); text-align: center; width: 90%;
  text-shadow: 0 2px 30px rgba(0,0,0,0.8);
}
.seq__captions {
  position: absolute; bottom: clamp(48px, 9vh, 90px); left: 50%; transform: translateX(-50%);
  width: min(680px, 88vw); text-align: center; min-height: 60px;
}
.seq__caption {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.35s;
  color: var(--text); font-size: clamp(15px, 1.6vw, 19px);
  text-shadow: 0 2px 20px rgba(0,0,0,0.9);
}
.seq__caption.is-active { opacity: 1; }

/* ---------- tech grid ---------- */
.tech { padding: clamp(90px, 14vh, 160px) var(--pad); max-width: 1400px; margin: 0 auto; }
.tech__heading { text-align: center; margin-bottom: clamp(40px, 7vh, 80px); }
.tech__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tech__card {
  background: var(--panel); border: 1px solid #16191c; border-radius: 24px;
  overflow: hidden; display: flex; flex-direction: column;
}
.tech__card img { aspect-ratio: 16/9; object-fit: cover; }
.tech__card-body { padding: 26px 28px 30px; }
.tech__card-body h3 { color: var(--accent); margin-bottom: 10px; letter-spacing: 0.08em; font-family: "Dune Rise", var(--font-display); font-weight: 400; }
.tech__card-body p { font-size: 15px; max-width: 60ch; }
.tech__card--fire {
  justify-content: flex-end;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(46,230,139,0.16), transparent 55%),
    var(--panel);
}

/* ---------- bms ---------- */
.bms {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 90px);
  padding: clamp(80px, 12vh, 150px) var(--pad);
  max-width: 1400px; margin: 0 auto; align-items: start;
}
.bms__copy h2 { margin-bottom: 20px; }
.bms__copy p { max-width: 44ch; }
.bms__list { list-style: none; display: flex; flex-direction: column; }
.bms__list li {
  display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid #16191c;
}
.bms__list li:first-child { border-top: 1px solid #16191c; }
.bms__list strong {
  font-family: "Dune Rise", var(--font-display); font-size: clamp(22px, 2.4vw, 32px);
  color: var(--accent); font-weight: 400;
}
.bms__list span { color: var(--muted); font-size: 15px; }

/* ---------- models ---------- */
.models { padding: clamp(90px, 14vh, 160px) var(--pad); max-width: 1200px; margin: 0 auto; text-align: center; }
.models__heading { margin-bottom: 14px; }
.models__sub { margin-bottom: clamp(36px, 6vh, 64px); }
.models__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 60px; }
.models__card {
  background: var(--panel); border: 1px solid #16191c; border-radius: 24px;
  padding: 40px 24px 36px; transition: transform 0.3s, border-color 0.3s;
}
.models__card:hover { transform: translateY(-6px); border-color: #263029; }
.models__card--hl { border-color: rgba(46,230,139,0.35); background: linear-gradient(180deg, rgba(46,230,139,0.05), transparent 60%), var(--panel); }
.models__card h3 { letter-spacing: 0.1em; margin-bottom: 14px; font-family: "Dune Rise", var(--font-display); font-weight: 400; }
.models__cap { font-size: 15px; }
.models__cap span { opacity: 0.7; }
.models__price {
  font-family: "Dune Rise", var(--font-display); font-weight: 400;
  font-size: clamp(24px, 2.6vw, 34px); color: var(--text); margin-top: 14px;
}
.models__runtime {
  background: var(--panel); border: 1px solid #16191c; border-radius: 24px;
  padding: clamp(28px, 4vw, 48px); text-align: left;
}
.models__runtime h3 { margin-bottom: 26px; }
.runtime__rows { display: flex; flex-direction: column; gap: 16px; }
.runtime__row {
  display: grid; grid-template-columns: 150px 1fr 90px; gap: 18px; align-items: center;
  font-size: 14px; color: var(--muted);
}
.runtime__row i {
  display: block; height: 8px; border-radius: 8px;
  background: linear-gradient(90deg, rgba(46,230,139,0.25), var(--accent));
  width: var(--w); transform-origin: left;
}
.runtime__row b { color: var(--text); text-align: right; font-weight: 600; }
.runtime__note { margin-top: 24px; font-size: 13px; opacity: 0.75; }

/* ---------- cta ---------- */
.cta {
  text-align: center; padding: clamp(100px, 16vh, 180px) var(--pad);
  background: radial-gradient(60% 80% at 50% 100%, rgba(46,230,139,0.07), transparent 70%);
}
.cta h2 { margin-bottom: 16px; }
.cta p { margin-bottom: 36px; }
.cta__btn {
  display: inline-block; background: var(--accent); color: #032313;
  font-weight: 600; font-size: 17px; text-decoration: none;
  padding: 18px 46px; border-radius: 100px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.cta__btn:hover { transform: scale(1.05); box-shadow: 0 10px 50px rgba(46,230,139,0.35); }
.cta__note { margin-top: 18px; font-size: 12px; opacity: 0.5; }

/* ---------- footer ---------- */
.footer {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 34px var(--pad); border-top: 1px solid #14171a;
  position: relative; z-index: 20; background: #000;   /* прикрывает свисающие хвосты pinned-сцен */
  color: var(--muted); font-size: 13px; flex-wrap: wrap;
}
.footer__logo { font-family: "Dune Rise", var(--font-display); letter-spacing: 0.3em; color: var(--text); }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .core__text { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .numbers__grid { grid-template-columns: 1fr 1fr; }
  .feature { grid-template-columns: 1fr; }
  .tech__grid { grid-template-columns: 1fr; }
  .bms { grid-template-columns: 1fr; }
  .models__grid { grid-template-columns: 1fr; }
  .runtime__row { grid-template-columns: 110px 1fr 80px; }
  .nav__links a:not(.nav__cta) { display: none; }
}

/* ---------- БЛОК 3.2: клеевые соединения (холдер + текст) ---------- */
.glue { height: 430vh; position: relative; background: #000; }
.glue__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.glue__img {
  position: absolute; top: 0; left: 50%;
  width: 100%; z-index: 1;
  transform: translate(-50%, 100vh);
  will-change: transform, opacity;
}
.glue__text {
  position: absolute; top: 13svh; left: 50%;
  transform: translateX(-50%);
  width: 84vw; z-index: 2;
  font-family: "Inter Tight", "Inter", sans-serif;
  font-weight: 600;
  font-size: clamp(13px, min(2vw, 4.2svh), 40px);
  line-height: 1.32;
  color: var(--text);
  text-transform: uppercase;
}
.glue__text .ln { display: block; text-align: center; }
.glue__part { display: block; opacity: 0; will-change: opacity; }
.glue__part + .glue__part { margin-top: clamp(18px, 3svh, 42px); }
.glue__text .ln--dim { color: #86868b; }
.glue__text .brand { font-family: "Dune Rise", "Inter Tight", sans-serif; font-weight: 400; letter-spacing: 0.08em; }

/* ---------- PURPLE — фирменный перелив (Apple Intelligence style) ---------- */
.purple {
  background: linear-gradient(95deg, #4facff 0%, #7f63ff 28%, #b95cff 52%, #ff6fce 76%, #ff9f45 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: ai-shimmer 9s ease-in-out infinite alternate;
}

/* ---------- БЛОК 4: высокая проводимость — центр, одна ось, ~125vh ---------- */
.cond {
  background: #000;
  padding: clamp(140px, 26vh, 300px) var(--pad) clamp(90px, 15vh, 170px);
  text-align: center;
}
.cond__heading {
  font-family: "Inter Tight", "Inter", sans-serif; font-weight: 600;
  font-size: clamp(38px, 5.6vw, 84px); line-height: 1.06;
  color: var(--text);
  margin-bottom: clamp(20px, 3vh, 36px);
}
.cond__sub {
  font-family: "Inter Tight", "Inter", sans-serif; font-weight: 600;
  font-size: clamp(19px, 2vw, 30px); line-height: 1.4;
  color: #b9c0c5;
  max-width: 30ch; margin: 0 auto clamp(40px, 7vh, 80px);
}
.cond__card {
  background: #151519;
  border-radius: 32px;
  width: min(88vw, 720px);
  margin: 0 auto;
  padding: clamp(36px, 6vh, 64px) clamp(28px, 4vw, 60px);
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(22px, 4vh, 40px);
}
.cond__cardtext {
  color: var(--text); font-weight: 500;
  font-size: clamp(19px, 1.9vw, 29px); line-height: 1.45;
  max-width: 36ch;
}
.cond__certs {
  color: #86868b; font-size: clamp(14px, 1.2vw, 17px);
  letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600;
}

/* ---------- БЛОК «TERON 1. БЕЗОПАСНЫЙ»: pinned-сцена с текстами ---------- */
.safe { height: 400vh; position: relative; background: #000; z-index: 2; }  /* выше чёрного фона .fire — хвост текстов дочитывается после анпина */
.safe__sticky { position: sticky; top: 0; height: 100svh; }  /* overflow открыт: хвост текста дочитывается после анпина */
.safe__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;   /* кадр как есть: ячейки правее центра */
  transform: scale(0.93);   /* правка 06.09: картинку чуть меньше */
  will-change: opacity;
}
.safe__shade {
  position: absolute; top: 0; left: 0; right: 0; height: 36svh;
  background: linear-gradient(to bottom, #000 0%, #000 22%, rgba(0,0,0,0) 100%);
  z-index: 1; pointer-events: none;   /* гасит засвет кадра на стыке с чёрным блоком выше */
}
.safe__title {
  position: absolute; left: clamp(24px, 8vw, 150px); top: 0;
  text-align: center; z-index: 2;
  display: flex; flex-direction: column; gap: clamp(8px, 1.4vh, 18px);
  will-change: transform;
}
.safe__brand,
.safe__word {
  font-family: "Inter Tight", "Inter", sans-serif; font-weight: 600;
  font-size: clamp(38px, 5.6vw, 84px); line-height: 1.05;   /* как «Высокая проводимость» */
}
.safe__brand { color: var(--text); }
.safe__texts {
  position: absolute; z-index: 2;
  left: 56vw; right: clamp(24px, 6vw, 100px);
}
.safe__t {
  font-family: "Inter Tight", "Inter", sans-serif; font-weight: 600;
  color: #b9c0c5; font-size: clamp(19px, 2vw, 30px); line-height: 1.4;
  opacity: 0; will-change: opacity;
}
.safe__t + .safe__t { margin-top: clamp(22px, 4vh, 44px); }
.safe__t .w { color: var(--text); font-weight: 600; }

/* ---------- заглушка следующего блока (временная) ---------- */
.stub {
  height: 130vh;
  display: flex; align-items: center; justify-content: center;
  /* без фона и z-index: свисающий хвост текстов сцены безопасности должен быть виден поверх */
}
.stub__text {
  color: #3c4248; font-size: clamp(13px, 1.1vw, 16px);
  letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
}

/* ---------- БЛОК FIRE ---------- */
.fire { height: 460vh; position: relative; background: #000; }
.fire__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.fireglow {
  background: linear-gradient(95deg, #ffb03a 0%, #ff7a3d 35%, #ff4d3d 65%, #ff2d55 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: ai-shimmer 7s ease-in-out infinite alternate;
}
.fire__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  will-change: opacity, transform;
}
.fire__title {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  text-align: center; z-index: 2;
  opacity: 0; will-change: opacity, transform;
}
.fire__eyebrow {
  color: var(--accent); font-size: clamp(12px, 1.15vw, 16px); font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  position: absolute; left: 50%; top: clamp(80px, 11vh, 120px);
  transform: translateX(-50%); white-space: nowrap; margin: 0;
  z-index: 2; opacity: 0; will-change: opacity;
}
.fire__name {
  font-family: "Inter Tight", "Inter", sans-serif; font-weight: 600;
  font-size: clamp(52px, 8.6vw, 150px); line-height: 1.02; white-space: nowrap;
}
.fire__text {
  position: absolute; z-index: 2;
  left: clamp(24px, 8vw, 150px); top: 50%;
  transform: translateY(-50%);
  width: min(38vw, 560px); text-align: left;
  opacity: 0; will-change: opacity;
}
.fire__text p {
  font-family: "Inter Tight", "Inter", sans-serif; font-weight: 600;
  font-size: clamp(19px, 2vw, 30px); line-height: 1.4;
  color: var(--text);
}
.fire__note { margin-top: clamp(18px, 3vh, 32px); color: #b9c0c5 !important; }
@media (prefers-reduced-motion: reduce) { .fireglow { animation: none; } }

/* ---------- БЛОК THERMAL SCREEN ---------- */
.thermal { height: 460vh; position: relative; background: #000; }
.thermal__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.frostglow {
  /* правка 12.09: перелив заметнее и раньше — контрастнее стопы, короче период, старт с середины хода */
  background: linear-gradient(95deg, #e4f8ff 0%, #4facff 38%, #7f63ff 68%, #9becff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: ai-shimmer 5s ease-in-out -2.5s infinite alternate;
}
.thermal__frame {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  will-change: opacity, transform;
}
.thermal__title {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  text-align: center; z-index: 2;
  opacity: 0; will-change: opacity, transform;
}
.thermal__eyebrow {
  color: var(--accent); font-size: clamp(13px, 1.3vw, 19px); font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; line-height: 1.6;
  margin-bottom: clamp(18px, 3vh, 34px);
}
.thermal__name {
  font-family: "Inter Tight", "Inter", sans-serif; font-weight: 600;
  font-size: clamp(64px, 11vw, 200px); line-height: 1.02;
}
.thermal__zones {
  position: absolute; z-index: 2; list-style: none;
  left: 50%; top: clamp(84px, 12vh, 140px); transform: translateX(-50%);
  display: flex; flex-direction: row; align-items: baseline;
  gap: clamp(28px, 5vw, 90px); white-space: nowrap;
  opacity: 0; will-change: opacity;
}
.thermal__zones li {
  display: flex; align-items: baseline; gap: 14px;
  font-family: "Inter Tight", "Inter", sans-serif; font-weight: 600;
  font-size: clamp(17px, 1.7vw, 26px);
  color: #4a5157; transition: color 0.4s;
}
.thermal__zones li i {
  font-style: normal; font-family: "Dune Rise", sans-serif;
  font-size: 0.8em; color: #3c4248; transition: color 0.4s;
}
.thermal__zones li.is-on { color: var(--text); }
.thermal__zones li.is-on i { color: var(--accent); }
.thermal__stats {
  position: absolute; z-index: 2;
  left: 50%; transform: translateX(-50%);
  bottom: clamp(28px, 6vh, 64px);
  display: flex; gap: clamp(36px, 6vw, 110px);
  opacity: 0; will-change: opacity;
}
.thermal__stat { display: flex; flex-direction: column; gap: 6px; text-align: center; align-items: center; }
.thermal__stat b {
  font-family: "Inter Tight", "Inter", sans-serif; font-weight: 600;
  font-size: clamp(30px, 3.4vw, 58px); color: var(--accent); line-height: 1;
}
.thermal__stat span {
  color: #86868b; font-size: clamp(12px, 1vw, 15px);
  text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600;
}
@media (prefers-reduced-motion: reduce) { .frostglow { animation: none; } }

/* тексты THERMAL SCREEN (фазы A и B) */
.thermal__copy {
  position: absolute; z-index: 2;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(84vw, 1040px); text-align: center;
  font-family: "Inter Tight", "Inter", sans-serif; font-weight: 600;
  font-size: clamp(19px, 2vw, 30px); line-height: 1.45;
  color: #b9c0c5;
  opacity: 0; will-change: opacity;
}
.thermal__copy .w { color: var(--text); }


/* ---------- БЛОК SHOCK STOP v2: сборка взрыв-схемы из трёх частей ---------- */
.shock { height: 700vh; position: relative; background: #000; }
.shock__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.shock__part {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;   /* масштаб исходного фото, растянутого на весь экран */
  will-change: opacity, transform;
}
.shock__part--top, .shock__part--bot { opacity: 0; }

/* SHOCK STOP: тексты сверху/снизу при сдвиге схемы */
.shock__text {
  position: absolute; z-index: 2;
  left: 50%; transform: translateX(-50%);
  width: min(86vw, 1020px); max-width: 92%; text-align: center;
  font-family: "Inter Tight", "Inter", sans-serif; font-weight: 600;
  font-size: clamp(16px, 1.65vw, 25px); line-height: 1.45;
  color: #b9c0c5;
  opacity: 0; will-change: opacity;
}
.shock__text .w { color: var(--text); }
.shock__text--top { top: clamp(64px, 9svh, 110px); }
.shock__text--bottom { bottom: clamp(40px, 7svh, 90px); }

/* ---------- THERMAL: заставка с фризом и тексты потоком (восстановлено 06.09) ---------- */
.thermal-head { height: 135vh; position: relative; background: #000; }
.thermal-head__sticky {
  position: sticky; top: 0; height: 100svh;
  display: flex; align-items: center; justify-content: center;
}
.thermal-head .thermal__title { position: static; transform: none; opacity: 1; will-change: auto; }  /* will-change:transform создавал containing block для абсолютного надзаголовка */
.thermal-texts {
  background: #000;
  padding: clamp(20px, 3.5vh, 44px) var(--pad) clamp(60px, 10vh, 120px);
  max-width: 1340px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
}
.thermal-texts__col {
  font-family: "Inter Tight", "Inter", sans-serif; font-weight: 600;
  font-size: clamp(17px, 1.6vw, 25px); line-height: 1.45;
  color: #b9c0c5;
}
.thermal-texts__col .w { color: var(--text); }
@media (max-width: 900px) { .thermal-texts { grid-template-columns: 1fr; } }

/* ---------- эффект GREEN: зелёный перелив в тёмно-зелёный (демпферы/статы) ---------- */
.green {
  background: linear-gradient(95deg, #baffd9 0%, #4dffa6 26%, #2ee68b 48%, #12b86b 72%, #0c7a4a 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: ai-shimmer 9s ease-in-out infinite alternate;
}

/* надзаголовок THERMAL — одной строкой у верхнего края экрана */
.thermal-head .thermal__eyebrow {
  position: absolute; left: 50%; top: clamp(80px, 11vh, 120px);   /* ниже фикс-шапки с бургером (~66px, чёрный фон) */
  transform: translateX(-50%);
  white-space: nowrap; margin-bottom: 0;
}

/* ---------- МЕНЮ: три модели-фотографии на весь экран (06.09, v2) ---------- */
.menu-overlay { background: #000; }
.menu__inner {
  width: 100%; height: 100%;
  max-width: 1600px; margin: 0 auto;
  padding: clamp(80px, 12vh, 130px) clamp(16px, 3vw, 60px) clamp(30px, 5vh, 60px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.menu__eyebrow {
  color: var(--accent); font-size: clamp(11px, 1.1vw, 15px); font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: clamp(10px, 2vh, 30px);
  animation: menu-in 0.7s cubic-bezier(0.16,1,0.3,1) 0.05s backwards;
}
.menu__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1.5vw, 32px); width: 100%;
}
.menu__grid li:nth-child(1) .menu__card { animation: menu-in 0.8s cubic-bezier(0.16,1,0.3,1) 0.12s backwards; }
.menu__grid li:nth-child(2) .menu__card { animation: menu-in 0.8s cubic-bezier(0.16,1,0.3,1) 0.22s backwards; }
.menu__grid li:nth-child(3) .menu__card { animation: menu-in 0.8s cubic-bezier(0.16,1,0.3,1) 0.32s backwards; }
.menu__card {
  display: flex; flex-direction: column; align-items: center;
  text-decoration: none; text-align: center;
  transition: opacity 0.4s;
}
.menu__photo { position: relative; display: block; width: 100%; }
.menu__photo::before {
  /* своя подсветка: зелёное свечение под батареей, разгорается на ховере */
  content: ""; position: absolute; left: 14%; right: 14%; bottom: 6%; height: 36%;
  background: radial-gradient(ellipse 62% 58% at 50% 80%, rgba(46,230,139,0.22), rgba(46,230,139,0) 70%);
  filter: blur(8px); opacity: 0; transition: opacity 0.5s; pointer-events: none;
}
.menu__photo img {
  display: block; width: 100%; height: auto;
  /* края рендера растворяются в чёрный фон меню */
  -webkit-mask-image: radial-gradient(ellipse 66% 60% at 50% 48%, #000 58%, transparent 90%);
          mask-image: radial-gradient(ellipse 66% 60% at 50% 48%, #000 58%, transparent 90%);   /* кадр main-1 (5:3), края в чёрный */
  transform: scale(1); filter: brightness(1);
  transition: transform 0.55s cubic-bezier(0.16,1,0.3,1), filter 0.55s;
}
.menu__name {
  display: block; margin-top: clamp(2px, 0.8vh, 12px);
  font-family: "Dune Rise", "Inter Tight", sans-serif; font-weight: 400;
  font-size: clamp(17px, 2vw, 34px); line-height: 1;
  color: var(--text); white-space: nowrap;
  transition: color 0.4s;
}
.menu__meta {
  display: block; margin-top: 12px;
  font-family: "Inter Tight", "Inter", sans-serif; font-weight: 600;
  font-size: clamp(15px, 1.5vw, 24px); letter-spacing: 0.02em;
}
.menu__price {
  display: block; margin-top: 8px;
  font-family: "Inter Tight", "Inter", sans-serif; font-weight: 500;
  font-size: clamp(14px, 1.25vw, 19px); color: #b9c0c5;
  transition: color 0.4s;
}
/* ховер: карточка растёт и подсвечивается, соседи гаснут */
.menu__grid:hover .menu__card { opacity: 0.35; }
.menu__grid .menu__card:hover { opacity: 1; }
.menu__card:hover .menu__photo img { transform: scale(1.07); filter: brightness(1.35); }
.menu__card:hover .menu__photo::before { opacity: 1; }
/* имя при ховере остаётся белым (правка 11.09) */
.menu__card:hover .menu__price { color: var(--text); }
.menu__note {
  margin-top: clamp(14px, 3vh, 40px);
  color: #4a5157; font-size: clamp(11px, 0.95vw, 14px); font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  animation: menu-in 0.7s cubic-bezier(0.16,1,0.3,1) 0.42s backwards;
}
@keyframes menu-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
body.menu-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .menu__eyebrow, .menu__card, .menu__note { animation: none; }
  .menu__photo img { transition: none; }
}
@media (max-width: 760px) {
  .menu__grid { grid-template-columns: 1fr; gap: 0; }
  .menu__name { font-size: clamp(22px, 6.5vw, 32px); }
  .menu__inner { overflow-y: auto; justify-content: flex-start; }
}

/* ---------- БЛОК TERON CONTROL v3 (06.09) ---------- */
.control { height: 660vh; position: relative; background: #000; }   /* +фаза текста */
.control__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #000; }
/* перелив STEEL — холодный металл, бело-серый */
.steelglow {
  background: linear-gradient(95deg, #f4f6f8 0%, #b3bcc4 28%, #ffffff 50%, #8a949d 74%, #e3e8ec 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: ai-shimmer 9s ease-in-out infinite alternate;
}
.control__title {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  text-align: center; z-index: 2; width: max-content; max-width: 96%; overflow: hidden;
  will-change: opacity, transform;
}
.control__name {
  position: relative; margin: 0;
  font-family: "Inter Tight", "Inter", sans-serif; font-weight: 600;
  font-size: clamp(44px, 9.2vw, 168px); line-height: 1.02; white-space: nowrap;
}
.control__layer { display: block; }
.control__layer--purple {
  /* второй слой поверх: PURPLE проявляется через маску-фронт (двигается из JS) */
  position: absolute; inset: 0;
  -webkit-mask-image: linear-gradient(100deg, #000 -35%, rgba(0,0,0,0) 0%);
          mask-image: linear-gradient(100deg, #000 -35%, rgba(0,0,0,0) 0%);
}
.control__sub {
  margin: clamp(30px, 6vh, 72px) auto 0; width: max-content;   /* одна строка, кегль подбирает JS по ширине букв Teron Control (12.09) */
  font-family: "Inter Tight", "Inter", sans-serif; font-weight: 600;
  font-size: clamp(18px, 2.3vw, 40px); line-height: 1.22; white-space: nowrap;
  opacity: 0; will-change: opacity, transform;
}
.control__text {
  /* смысловой текст под поднявшимся именем: шире имени, кегль как у подзаголовка */
  position: absolute; left: 50%; top: 50%; transform: translateX(-50%);
  width: min(92vw, 1400px); max-width: 92%; margin: 0; text-align: center; z-index: 2;
  font-family: "Inter Tight", "Inter", sans-serif; font-weight: 600;
  font-size: clamp(18px, 2.3vw, 40px); line-height: 1.3; color: #b9c0c5;
  opacity: 0; will-change: opacity, transform;
}
.control__text .w { color: var(--text); }
.control__info {
  /* шесть цифр расползаются по всему экрану равномерно */
  position: absolute; inset: 0; z-index: 2;
  padding: clamp(90px, 13vh, 140px) clamp(24px, 5vw, 90px) clamp(40px, 8vh, 90px);
}
.control__stats {
  list-style: none; margin: 0; padding: 0; height: 100%;
  display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr;
  align-content: space-evenly; align-items: center; justify-items: center;
  text-align: center;
}
.control__stat b {
  display: block; font-family: "Dune Rise", "Inter Tight", sans-serif; font-weight: 400;
  font-size: clamp(44px, 6vw, 104px); line-height: 1; color: var(--text); white-space: nowrap;
}
.control__stat b .x { font-style: normal; margin-right: 0.14em; }          /* × чуть дальше от цифры */
.control__stat b.control__tech {
  /* нижний ряд — три технологии-«стикера» в своих переливах */
  font-family: "Inter Tight", "Inter", sans-serif; font-weight: 600;
  font-size: clamp(26px, 3.3vw, 56px); letter-spacing: -0.01em; line-height: 1.05;
}
.control__stat b small { font-family: "Inter Tight", "Inter", sans-serif; font-weight: 600; font-size: 0.42em; color: #b9c0c5; }
.control__stat span.control__cap { color: #86868b; }   /* подписи стикеров — серым, не Purple */
.control__stat span {
  display: inline-block; margin-top: clamp(12px, 2vh, 22px);
  font-size: clamp(13px, 1.15vw, 17px); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;   /* подписи — PURPLE (класс в HTML) */
}
.control .drop { opacity: 0; will-change: opacity, transform; }
@media (max-width: 900px) {
  .control__feats { grid-template-columns: 1fr; }
}

/* ================= АДАПТИВ (07.09): телефон · планшет · ландшафт ================= */
/* НЕ ставить overflow-x:hidden на html вместе с body — body становится скролл-контейнером и все sticky ломаются (грабля 07.09). Ширину держим отсутствием nowrap-переполнений. */

/* --- узкие экраны (≤ 900px: телефон, планшет портретом) --- */
@media (max-width: 900px) {
  .thermal__eyebrow, .thermal-head .thermal__eyebrow, .fire__eyebrow, .thermal__zones, .fire__name { white-space: normal; }   /* .thermal-head .thermal__eyebrow — иначе проигрывает по специфичности nowrap-правилу */
  .thermal-head .thermal__eyebrow, .fire__eyebrow { width: 88%; max-width: 92%; text-align: center; line-height: 1.5; }
  .thermal__zones { flex-wrap: wrap; justify-content: center; width: auto; max-width: 92%; gap: 8px 22px; }
  .thermal__zones li { font-size: clamp(14px, 3.4vw, 22px); }
  .menu-overlay__label { display: none; }
  .control__stat span.control__cap { min-height: 3.2em; }   /* двухстрочная подпись не поднимает стикер выше соседей (планшет) */
}

/* --- портрет: горизонтальные рендеры показываем целиком; фон чёрный — швов нет --- */
@media (orientation: portrait) {
  .build__frame, .strength__img, .safe__img, .fire__img, .thermal__frame, .shock__part { object-fit: contain; }
  .fire__img { object-position: 50% 94%; }   /* кадр вниз — текст сверху */
  .safe__img { transform: none; object-position: 50% 88%; }
}

/* --- телефон портретом --- */
@media (max-width: 760px) {
  :root { --pad: 20px; }
  .statement__text { font-size: clamp(15px, 5vw, 26px); }
  .strength__copy { top: 11svh; width: 90vw; }
  .strength__copy h2 { font-size: clamp(24px, 7.6vw, 40px); }
  .strength__sub { font-size: clamp(14px, 4vw, 19px); max-width: 100%; margin-top: 14px; }
  .glue__text { width: 92vw; font-size: clamp(11px, 3.1vw, 16px); top: 13svh; line-height: 1.3; }
  /* безопасность: заголовок сверху слева, тексты под ним на всю ширину (top считает JS) */
  .safe__title { left: 6vw; text-align: left; }
  .safe__brand, .safe__word { font-size: clamp(32px, 10.5vw, 56px); }
  .safe__texts { left: 6vw; right: 6vw; }
  .safe__t { font-size: clamp(15px, 4.3vw, 20px); }
  .safe__t + .safe__t { margin-top: 18px; }
  /* fire: текст сверху на всю ширину, кадр внизу */
  .fire__text { left: 6vw; width: 88vw; top: 13svh; transform: none; }
  .fire__text p { font-size: clamp(15px, 4.3vw, 20px); }
  .fire__name { font-size: clamp(40px, 13vw, 84px); }
  .thermal__name { font-size: clamp(48px, 16vw, 100px); }
  .thermal__copy { width: 90vw; font-size: clamp(15px, 4.3vw, 20px); }
  .thermal__stat b { font-size: clamp(24px, 7vw, 40px); }
  .thermal__stats { gap: 28px; }
  .shock__text { width: 90vw; font-size: clamp(13px, 3.9vw, 18px); }
  .control__name { font-size: clamp(34px, 11vw, 64px); }
  .control__text { width: 90vw; font-size: clamp(14px, 4.2vw, 20px); }
  .control__stats { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); }
  .control__stat b { font-size: clamp(34px, 10.5vw, 60px); }
  .control__stat b.control__tech { font-size: clamp(20px, 6vw, 32px); white-space: normal; }
  .control__stat span { font-size: clamp(10px, 2.9vw, 13px); letter-spacing: 0.1em; margin-top: 8px; }
  .cond__card { width: 90vw; }
}

/* --- телефон горизонтально: мало высоты — всё компактнее (кегли от svh) --- */
@media (max-height: 520px) and (orientation: landscape) {
  .build__title h1 { font-size: clamp(40px, 17svh, 96px); }
  .build__title p { font-size: clamp(13px, 4.2svh, 18px); }
  .statement__text { font-size: clamp(12px, 5.4svh, 26px); }
  .strength__copy { top: 5svh; }
  .strength__copy h2 { font-size: clamp(20px, 8.5svh, 40px); }
  .strength__sub { font-size: clamp(12px, 4.2svh, 16px); margin-top: 8px; max-width: 60ch; }
  .glue__text { top: 5svh; font-size: clamp(10px, 3.7svh, 16px); }
  .glue__img { width: 70%; }                                   /* иначе холдер (середина картинки) уезжает под низ экрана */
  .safe__brand, .safe__word { font-size: clamp(26px, 11svh, 48px); }
  .safe__t { font-size: clamp(12px, 4.3svh, 16px); }
  .safe__t + .safe__t { margin-top: 10px; }
  .fire__name { font-size: clamp(36px, 17svh, 90px); }
  .fire__text p { font-size: clamp(12px, 4.3svh, 16px); }
  .thermal-head .thermal__eyebrow, .fire__eyebrow { top: 11svh; font-size: 11px; letter-spacing: 0.18em; }
  .thermal__name { font-size: clamp(40px, 19svh, 96px); }
  .thermal__copy { font-size: clamp(12px, 4.3svh, 16px); }
  .thermal__zones { top: clamp(56px, 15svh, 84px); }
  .thermal__zones li { font-size: clamp(12px, 3.8svh, 16px); }
  .thermal__stats { bottom: 3svh; }
  .thermal__stat b { font-size: clamp(20px, 7.5svh, 34px); }
  .thermal__stat span { font-size: 10px; }
  .shock__text { font-size: clamp(11px, 3.9svh, 15px); }
  .control__name { font-size: clamp(30px, 15svh, 84px); }
  .control__sub { margin-top: 3svh; }
  .control__text { font-size: clamp(11px, 3.9svh, 16px); }
  .control__info { padding-top: 13svh; padding-bottom: 4svh; }
  .control__stats { grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; }   /* ширины хватает: цифры рядом, стикеры рядом */
  .control__stat b { font-size: clamp(22px, 11svh, 50px); }
  .control__stat b.control__tech { font-size: clamp(16px, 6svh, 30px); }
  .control__stat span { font-size: 10px; margin-top: 6px; letter-spacing: 0.1em; }
  .menu__grid { grid-template-columns: repeat(3, 1fr); }
  .menu__inner { padding-top: 64px; justify-content: center; }
  .menu__name { font-size: clamp(14px, 4.5svh, 22px); }
  .menu__meta { font-size: clamp(12px, 3.6svh, 16px); margin-top: 6px; }
  .menu__price { font-size: clamp(11px, 3.2svh, 14px); margin-top: 4px; }
}

/* ---------- БЛОК ДИЗАЙН (07.09): структура Apple «Magic Keyboard» — заголовок слева, абзац, фото ---------- */
.design { background: #000; padding: clamp(90px, 16vh, 190px) var(--pad) clamp(60px, 10vh, 120px); }
.design__inner { max-width: 1100px; margin: 0 auto; }
.design__title {
  font-family: "Inter Tight", "Inter", sans-serif; font-weight: 600;
  font-size: clamp(38px, 5.6vw, 80px); line-height: 1.05; letter-spacing: -0.015em;
  color: var(--text); margin: 0; max-width: 72%;
}
.design__text {
  margin: clamp(28px, 4.5vh, 54px) 0 0; max-width: 68%;
  font-family: "Inter Tight", "Inter", sans-serif; font-weight: 600;
  font-size: clamp(16px, 1.5vw, 21px); line-height: 1.4; color: #86868b;
}
.design__text .w { color: var(--text); }
.design__media { margin: clamp(48px, 9vh, 110px) auto 0; width: min(78%, 900px); }   /* поменьше, по центру (12.09) */
.design__media img {
  display: block; width: 100%; height: auto;
  /* низ кадра (отражение на полу) растворяется в чёрный — без резкой кромки */
  -webkit-mask-image: linear-gradient(to bottom, #000 66%, rgba(0,0,0,0) 100%);
          mask-image: linear-gradient(to bottom, #000 66%, rgba(0,0,0,0) 100%);
}
@media (max-width: 760px) {
  .design__title, .design__text { max-width: 100%; }
  .design__title { font-size: clamp(34px, 9.5vw, 48px); }
}

/* ---------- БЛОК ВЫБОРА МОДЕЛИ (10.09, pinned): заголовок → полка → тает → батареи → полка ---------- */
.models { height: 400vh; position: relative; background: #000; }
.models__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #000; }
.models__title {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 94vw; text-align: center; margin: 0;
  font-family: "Inter Tight", "Inter", sans-serif; font-weight: 600;
  font-size: clamp(32px, 4.8vw, 72px); line-height: 1.06; letter-spacing: -0.015em;
  color: var(--text); will-change: opacity, transform;
}
.models__title-sub { display: inline-block; font-size: 0.78em; margin-top: 0.18em; }   /* «Выберите свой.» чуть меньше */
.models__grid {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(92vw, 1500px); padding: 0 var(--pad); box-sizing: border-box;
  opacity: 0; will-change: opacity, transform;
}
.models__grid .menu__card { animation: none; }
/* сдержанное «дыхание» батарей: плавно чуть больше — чуть меньше, у каждой свой такт */
.models__grid .menu__photo { animation: models-float 7s ease-in-out infinite; transform-origin: 50% 70%; }
.models__grid li:nth-child(2) .menu__photo { animation-delay: -2.3s; }
.models__grid li:nth-child(3) .menu__photo { animation-delay: -4.6s; }
@keyframes models-float {
  0%, 100% { transform: scale(1) translateY(0); }
  50%      { transform: scale(1.025) translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) { .models__grid .menu__photo { animation: none; } }
@media (max-width: 760px) {
  .models__grid { grid-template-columns: 1fr; gap: 0; width: 96vw; }
  .models__grid .menu__photo { max-width: 60vw; margin: 0 auto; }
}

/* ================= МОБИЛЬНАЯ ПЛОТНАЯ ВЕРСИЯ (12.09) — по мотивам apple.com/macbook-pro на iPhone ================= */
/* Замеры Apple на 390px: eyebrow 21/600 · заголовок 48/52 600 слева с отступом 24 · описание 19/23 600 #86868b с белыми
   акцентами · плитки #1d1d1f r28 с текстом 17/25 600 · чёрных пауз между блоками почти нет.
   Здесь: пины в 1,6–2 раза короче (стартовые фазы пропускает JS: mp(p, SKIP)), имена технологий в две строки слева
   (word-spacing:100vw — каждое слово на своей строке), кегли крупнее, рендеры 16:9 крупнее (contain ×1.6 шире экрана),
   THERMAL — панорама (cover + object-position по скроллу из JS), тексты — в плитках. Только портрет: ландшафт живёт по старым правилам. */
@media (max-width: 760px) and (orientation: portrait) {
  :root { --mpad: 24px; }
  .build { height: 220vh; }
  .statement { height: 140vh; }
  .strength { height: 160vh; }
  .glue { height: 220vh; }
  .safe { height: 240vh; }
  .fire { height: 250vh; }
  .thermal { height: 260vh; }
  .shock { height: 340vh; }
  .control { height: 330vh; }
  .models { height: 200vh; }
  /* рендеры крупнее: contain, но шире экрана — иначе 16:9 на портрете мелкий и вокруг чернота */
  .build__frame, .strength__img, .fire__img, .shock__part, .safe__img, .glue__img { max-width: none; }   /* глобальный img{max-width:100%} иначе режет ширину */
  .build__frame, .strength__img, .fire__img { width: 160%; left: -30%; }
  .shock__part { width: 170%; left: -35%; }
  .safe__img { width: 140%; left: -20%; object-position: 50% 62%; }   /* фото ячеек ближе к заголовку — меньше разрыва */
  .safe__sticky { overflow-x: clip; }   /* широкое фото не должно расширять документ; по вертикали хвост текстов по-прежнему открыт */
  .glue__img { width: 130%; }
  .build__title { top: 30%; }
  /* манифест */
  .statement__text { width: 88vw; font-size: clamp(17px, 5.3vw, 26px); line-height: 1.2; }
  /* прочность: копия слева */
  .strength__copy { left: var(--mpad); width: calc(100% - 2 * var(--mpad)); max-width: 100%; text-align: left; top: 12svh; }
  .strength__copy h2 { font-size: clamp(30px, 9.6vw, 44px); line-height: 1.04; }
  .strength__sub { font-size: clamp(16px, 4.6vw, 19px); line-height: 1.3; margin: 16px 0 0; max-width: 100%; }
  /* клей: текст слева, крупнее */
  .glue__text { left: var(--mpad); width: calc(100% - 2 * var(--mpad)); transform: none; text-align: left; font-size: clamp(13px, 3.9vw, 16px); line-height: 1.28; top: 12svh; }
  .glue__text .ln { text-align: left; }
  .glue__part + .glue__part { margin-top: 14px; }
  /* проводимость: меньше воздуха, слева */
  .cond { padding: clamp(56px, 9vh, 90px) var(--mpad) clamp(36px, 6vh, 60px); text-align: left; }
  .cond__heading { font-size: clamp(38px, 12vw, 52px); line-height: 1.04; letter-spacing: -0.01em; margin-bottom: 16px; }
  .cond__sub { font-size: clamp(17px, 4.9vw, 20px); line-height: 1.3; max-width: 100%; margin: 0 0 22px; }
  .cond__card { width: 100%; max-width: 100%; margin: 0; border-radius: 24px; padding: 22px; text-align: left; }
  .cond__cardtext { font-size: clamp(16px, 4.6vw, 19px); line-height: 1.35; }
  /* безопасность */
  .safe__title { left: var(--mpad); }
  .safe__brand, .safe__word { font-size: clamp(38px, 12vw, 52px); line-height: 1.04; }
  .safe__texts { left: var(--mpad); right: var(--mpad); }
  .safe__t { font-size: clamp(16px, 4.7vw, 19px); line-height: 1.32; }
  .safe__t + .safe__t { margin-top: 14px; }
  /* fire: eyebrow + имя в две строки слева у верха, текст слева, кадр внизу крупнее */
  .fire__eyebrow { left: var(--mpad); transform: none; text-align: left; width: auto; max-width: 88%; top: 11svh; font-size: 12px; letter-spacing: 0.2em; line-height: 1.4; }
  .fire__title { left: var(--mpad); top: 17svh; transform: none; transform-origin: 0 0; text-align: left; width: calc(100% - 2 * var(--mpad)); }
  .fire__name { font-size: clamp(52px, 17vw, 76px); line-height: 0.98; letter-spacing: -0.02em; white-space: normal; word-spacing: 100vw; }
  .fire__text { left: var(--mpad); width: calc(100% - 2 * var(--mpad)); top: 11svh; }
  .fire__text p { font-size: clamp(17px, 4.9vw, 20px); line-height: 1.3; }
  .fire__note { margin-top: 14px; }
  .fire__img { object-position: 50% 100%; }
  /* thermal: заставка потоком слева, тексты — плитки сразу под ней */
  .thermal-head { height: auto; padding: 12svh var(--mpad) 18px; }
  .thermal-head__sticky { position: static; height: auto; display: block; }
  .thermal-head .thermal__title { text-align: left; width: 100%; max-width: 100%; }
  .thermal-head .thermal__eyebrow { position: static; transform: none; width: auto; max-width: 100%; text-align: left; font-size: 12px; letter-spacing: 0.2em; line-height: 1.4; margin: 0 0 14px; }
  .thermal__name { font-size: clamp(52px, 17vw, 76px); line-height: 0.98; letter-spacing: -0.02em; }
  .thermal-texts { padding: 0 var(--mpad) 36px; gap: 12px; }
  .thermal-texts__col { background: #121417; border-radius: 22px; padding: 20px; font-size: clamp(15px, 4.4vw, 18px); line-height: 1.38; color: #9aa1a6; }
  .thermal-texts__col .w { color: var(--text); }
  /* thermal-сканирование: панорама — cover на весь экран, object-position едет из JS */
  .thermal__frame { object-fit: cover; }
  .thermal__zones { top: 11svh; left: var(--mpad); transform: none; justify-content: flex-start; width: auto; max-width: calc(100% - 2 * var(--mpad)); gap: 6px 18px; }
  .thermal__zones li { font-size: clamp(15px, 4.2vw, 18px); }
  .thermal__stats { bottom: 5svh; gap: 20px; width: calc(100% - 2 * var(--mpad)); justify-content: space-around; }
  .thermal__stat b { font-size: clamp(30px, 9vw, 40px); }
  .thermal__stat span { font-size: 11px; }
  /* shock: тексты слева */
  .shock__text { left: var(--mpad); transform: none; width: calc(100% - 2 * var(--mpad)); max-width: 100%; text-align: left; font-size: clamp(15px, 4.4vw, 18px); line-height: 1.32; }
  .shock__text--top { top: 10svh; }
  .shock__text--bottom { bottom: 5svh; }
  /* control: имя в две строки слева, подзаголовок обычный, текст слева; цифры в ряд + стикеры-плитки */
  .control__title { left: var(--mpad); width: calc(100% - 2 * var(--mpad)); max-width: 100%; text-align: left; }
  .control__name { font-size: clamp(52px, 17vw, 76px); line-height: 0.98; letter-spacing: -0.02em; white-space: normal; word-spacing: 100vw; }
  .control__sub { width: 100%; white-space: normal; font-size: clamp(17px, 4.9vw, 20px) !important; line-height: 1.25; margin: 18px 0 0; }
  .control__text { left: var(--mpad); width: calc(100% - 2 * var(--mpad)); max-width: 100%; text-align: left; font-size: clamp(16px, 4.6vw, 19px); line-height: 1.32; }
  .control__info { padding: 12svh var(--mpad) 4svh; }
  .control__stats { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto auto auto; gap: 10px; align-content: center; align-items: start; }
  .control__stat--tech { grid-column: 1 / -1; justify-self: stretch; text-align: left; background: #121417; border-radius: 20px; padding: 16px 18px; }
  .control__stat b { font-size: clamp(38px, 12vw, 52px); }
  .control__stat b.control__tech { font-size: clamp(24px, 7vw, 30px); }
  .control__stat span { font-size: 11px; margin-top: 6px; }
  .control__stat span.control__cap { min-height: 0; margin-top: 4px; }
  /* дизайн, выбор модели */
  .design { padding: clamp(50px, 8vh, 80px) var(--mpad) 30px; }
  .design__title { font-size: clamp(38px, 12vw, 52px); line-height: 1.04; }
  .design__text { margin-top: 18px; font-size: clamp(16px, 4.6vw, 19px); line-height: 1.35; }
  .design__media { width: 100%; margin-top: 26px; }
  .models__title { font-size: clamp(32px, 9.6vw, 44px); }
}
