/* =====================================================================
   THREE DIMENSION — стили. Mobile-first.
   Палитра: plum #381932 · milk #FFF3E6 · deep purple #5E1A66 · lavender #DCC8EC · grey-black #141414
   ===================================================================== */

:root {
  --plum: #381932;
  --plum-deep: #200e1d;
  --plum-2: #4a2043;
  --black: #141414;
  --purple: #5e1a66;
  --purple-2: #7b2a86;
  --lavender: #dcc8ec;
  --lavender-2: #c3a6de;
  --milk: #fff3e6;
  --milk-2: #f4e6d6;
  --ink: #22111f;

  --font-d: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --font-t: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --pad: clamp(20px, 5vw, 72px);
  --header-h: 68px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--plum);
  color: var(--milk);
  font-family: var(--font-t);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}
body.is-locked { overflow: hidden; }
::selection { background: var(--lavender); color: var(--plum); }
:focus-visible { outline: 2px solid var(--lavender); outline-offset: 3px; border-radius: 4px; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
main { position: relative; }

/* ---------- прелоадер ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
}
.loader__panel {
  position: absolute; left: 0; width: 100%; height: 50.5%;
  background: var(--plum-deep);
  transition: transform 1s var(--ease-io);
}
.loader__panel--top { top: 0; }
.loader__panel--bottom { bottom: 0; }
.loader__content {
  position: relative; display: grid; justify-items: center; gap: 26px;
  perspective: 700px;
  transition: opacity .35s, transform .35s;
}
.loader__text {
  font: 600 11px/1 var(--font-t); letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255, 243, 230, .55);
}
.loader__bar { width: 150px; height: 2px; background: rgba(255, 243, 230, .14); overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--lavender); transition: width .35s var(--ease); }
.loader.is-done { pointer-events: none; }
.loader.is-done .loader__panel--top { transform: translateY(-101%); }
.loader.is-done .loader__panel--bottom { transform: translateY(101%); }
.loader.is-done .loader__content { opacity: 0; transform: scale(.85); }

.cube {
  width: 58px; height: 58px; position: relative;
  transform-style: preserve-3d;
  animation: cube-spin 3.2s linear infinite;
}
.cube i { position: absolute; inset: 0; border: 1.5px solid var(--lavender); background: rgba(220, 200, 236, .04); }
.cube i:nth-child(1) { transform: translateZ(29px); }
.cube i:nth-child(2) { transform: rotateY(180deg) translateZ(29px); }
.cube i:nth-child(3) { transform: rotateY(90deg) translateZ(29px); }
.cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(29px); }
.cube i:nth-child(5) { transform: rotateX(90deg) translateZ(29px); }
.cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(29px); }
@keyframes cube-spin {
  from { transform: rotateX(-24deg) rotateY(0deg); }
  to   { transform: rotateX(-24deg) rotateY(360deg); }
}

/* ---------- кастомный курсор (только мышь) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor [data-cursor] { cursor: none; }
  .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; transition: opacity .3s; }
  .cursor.is-hidden { opacity: 0; }
  .cursor__dot {
    position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px;
    border-radius: 50%; background: var(--lavender);
    transition: opacity .2s;
  }
  .cursor__ring {
    position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px;
    border: 1.5px solid var(--lavender); border-radius: 50%;
    display: grid; place-items: center;
    transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background-color .35s, border-color .35s;
  }
  .cursor__ring span {
    font: 700 10px/1 var(--font-t); letter-spacing: .1em; text-transform: uppercase; color: var(--plum);
    opacity: 0; transition: opacity .2s;
  }
  .cursor.is-link .cursor__ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgba(220, 200, 236, .18); }
  .cursor.is-drag .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--lavender); }
  .cursor.is-drag .cursor__ring span { opacity: 1; }
  .cursor.is-drag .cursor__dot { opacity: 0; }
}

/* ---------- 3D-сцена ---------- */
.scene {
  position: fixed; inset: 0; z-index: 3;
  width: 100%; height: 100%;
  pointer-events: none;
}
.scene-fallback {
  display: none;
  position: fixed; z-index: 3; pointer-events: none;
  right: 4vw; top: 12vh; width: min(62vw, 380px);
  color: var(--lavender);
}
.scene-fallback.is-visible { display: block; }
.fb-float { animation: fb-float 6s ease-in-out infinite; transform-origin: 50% 50%; }
@keyframes fb-float { 50% { transform: translateY(-14px) rotate(2deg); } }

.noise {
  position: fixed; inset: 0; z-index: 5; pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}
@media (hover: hover) and (pointer: fine) {
  .noise { inset: -100%; width: 300%; height: 300%; animation: grain 1.4s steps(7) infinite; }
  @keyframes grain {
    0% { transform: translate(0, 0); } 15% { transform: translate(-3%, -4%); } 30% { transform: translate(2%, -6%); }
    45% { transform: translate(-5%, 3%); } 60% { transform: translate(4%, 5%); } 75% { transform: translate(-2%, 6%); }
    90% { transform: translate(5%, -2%); } 100% { transform: translate(0, 0); }
  }
}

/* ---------- кнопки, подписи, заголовки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 999px;
  font: 700 14px/1 var(--font-t); letter-spacing: .02em; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform .4s var(--ease), background-color .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateY(3px); }
.btn--milk { background: var(--milk); color: var(--plum); }
.btn--milk:hover { background: var(--lavender); }
.btn--lavender { background: var(--lavender); color: var(--plum); }
.btn--lavender:hover { background: var(--milk); }
.btn--ghost { border-color: rgba(255, 243, 230, .35); color: var(--milk); }
.btn--ghost:hover { border-color: var(--milk); background: rgba(255, 243, 230, .08); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 13px; }

.label {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 11px/1 var(--font-t); letter-spacing: .18em; text-transform: uppercase;
  color: var(--lavender); margin: 0 0 20px;
}
.label::before { content: ''; width: 22px; height: 1.5px; background: currentColor; }
.h2 {
  margin: 0; max-width: 900px;
  font-family: var(--font-d); font-weight: 900;
  font-size: clamp(1.9rem, 7.6vw, 4.4rem); line-height: 1.02; letter-spacing: -.025em;
  color: var(--milk);
}
.h2--xl { font-size: clamp(2.3rem, 9.6vw, 6.2rem); }
.lead {
  margin: 22px 0 0; max-width: 560px;
  font-size: clamp(1rem, 2.6vw, 1.18rem); line-height: 1.55;
  color: rgba(255, 243, 230, .72);
}
.section { position: relative; padding: clamp(84px, 14vw, 160px) var(--pad); overflow: hidden; }
.section--milk { background: var(--milk); color: var(--ink); }
.section--milk .label { color: var(--purple); }
.section--milk .h2 { color: var(--plum); }
.section--milk .lead { color: rgba(34, 17, 31, .72); }

/* появление при скролле */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
[data-split] .w { display: inline-block; white-space: nowrap; }
[data-split] .w > span {
  display: inline-block; opacity: 0; transform: translateY(.45em) rotate(2deg);
  transform-origin: 0 100%;
  transition: opacity .7s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 55ms);
}
[data-split].is-in .w > span, .is-in [data-split] .w > span { opacity: 1; transform: none; }

/* ---------- шапка ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  height: calc(var(--header-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) var(--pad) 0;
  display: flex; align-items: center; gap: 14px;
  transition: background-color .4s, backdrop-filter .4s, transform .5s var(--ease);
}
.header::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: rgba(220, 200, 236, .12); opacity: 0; transition: opacity .4s;
}
.header.is-scrolled { background: rgba(32, 14, 29, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.header.is-scrolled::after { opacity: 1; }
.header.is-hidden { transform: translateY(-100%); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--milk); text-decoration: none; margin-right: auto; }
.logo__mark { width: 30px; height: 30px; color: var(--lavender); transition: transform .6s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-12deg) scale(1.08); }
.logo__text { font: 400 15px/1 var(--font-d); letter-spacing: .01em; }
.logo__text b { font-weight: 900; color: var(--lavender); }
.nav { display: none; }
.header__cta { display: none; }
.burger {
  width: 46px; height: 46px; margin-right: -10px; padding: 0;
  border: 0; background: transparent; cursor: pointer;
  display: grid; place-items: center; gap: 0; position: relative;
}
.burger span {
  position: absolute; left: 12px; width: 22px; height: 2px; background: var(--milk); border-radius: 2px;
  transition: transform .45s var(--ease), width .3s;
}
.burger span:nth-child(1) { transform: translateY(-4px); }
.burger span:nth-child(2) { transform: translateY(4px); width: 14px; }
.burger.is-open span:nth-child(1) { transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: rotate(-45deg); width: 22px; }

/* ---------- мобильное меню ---------- */
.menu { position: fixed; inset: 0; z-index: 39; visibility: hidden; pointer-events: none; transition: visibility 0s .8s; }
.menu.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.menu__bg {
  position: absolute; inset: 0; background: var(--purple);
  clip-path: circle(0px at calc(100% - var(--pad) - 13px) calc(var(--header-h) / 2 + env(safe-area-inset-top)));
  transition: clip-path .8s var(--ease-io);
}
.menu.is-open .menu__bg { clip-path: circle(160vmax at calc(100% - var(--pad) - 13px) calc(var(--header-h) / 2 + env(safe-area-inset-top))); }
.menu__nav {
  position: absolute; left: var(--pad); right: var(--pad); top: calc(var(--header-h) + env(safe-area-inset-top) + 8vh);
  display: grid; gap: 6px;
}
.menu__nav a {
  display: flex; align-items: baseline; gap: 14px;
  font: 900 clamp(1.7rem, 8.4vw, 3.4rem)/1.08 var(--font-d); letter-spacing: -.02em;
  color: var(--milk); text-decoration: none;
  opacity: 0; transform: translateY(34px);
  transition: opacity .5s, transform .7s var(--ease), color .3s;
}
.menu__nav a:hover { color: var(--lavender); }
.menu__nav small { font: 700 11px/1 var(--font-t); letter-spacing: .16em; color: var(--lavender); }
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(1) { transition-delay: .2s; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .26s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .32s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .38s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: .44s; }
.menu__foot {
  position: absolute; left: var(--pad); right: var(--pad); bottom: max(28px, env(safe-area-inset-bottom));
  display: grid; gap: 16px; justify-items: start;
  opacity: 0; transform: translateY(20px); transition: opacity .5s .5s, transform .7s .5s var(--ease);
}
.menu.is-open .menu__foot { opacity: 1; transform: none; }
.menu__foot p { margin: 0; font-size: 13px; color: rgba(255, 243, 230, .6); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 40px) var(--pad) 96px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; will-change: transform; }
.orb--1 {
  width: 80vmax; height: 80vmax; right: -30vmax; top: -28vmax;
  background: radial-gradient(circle at center, rgba(123, 42, 134, .6), rgba(123, 42, 134, 0) 62%);
}
.orb--2 {
  width: 60vmax; height: 60vmax; left: -28vmax; bottom: -22vmax;
  background: radial-gradient(circle at center, rgba(220, 200, 236, .16), rgba(220, 200, 236, 0) 62%);
}
.hero__big {
  position: absolute; right: -3vw; top: 4vh;
  font: 900 clamp(15rem, 62vw, 46rem)/1 var(--font-d); letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(220, 200, 236, .16);
  user-select: none; will-change: transform;
}
.hero__floor {
  position: absolute; left: -30%; right: -30%; bottom: -6%; height: 58%;
  background-image:
    linear-gradient(rgba(220, 200, 236, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 200, 236, .16) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(520px) rotateX(66deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, 0) 90%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, 0) 90%);
}
.hero__side { display: none; }
.hero__drag { display: none; touch-action: pan-y; cursor: grab; }
.hero__cube {
  position: absolute; z-index: 1; right: calc(var(--pad) + 14px); top: calc(var(--header-h) + 34px);
  width: 58px; height: 58px; perspective: 520px;
  opacity: 0; transition: opacity 1s .6s;
}
.hero.is-in .hero__cube { opacity: 1; }
.hero__cube .cube { width: 58px; height: 58px; animation-duration: 9s; }
.hero__cube .cube i { border-color: rgba(220, 200, 236, .7); background: rgba(220, 200, 236, .05); }
.hero__drag:active { cursor: grabbing; }
.hero__content { position: relative; z-index: 2; max-width: 660px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font: 700 11px/1 var(--font-t); letter-spacing: .16em; text-transform: uppercase; color: var(--lavender);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lavender); box-shadow: 0 0 0 4px rgba(220, 200, 236, .18); animation: pulse 2.2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(220, 200, 236, 0); } }
.hero__title { margin: 0; font-family: var(--font-d); font-weight: 900; color: var(--milk); letter-spacing: -.03em; }
.hero__line { display: block; font-size: clamp(3rem, 17vw, 9.4rem); line-height: .96; }
.hero__line--sub {
  margin-top: .6em; font-size: clamp(1.1rem, 5.2vw, 2.4rem); font-weight: 700; line-height: 1.12; letter-spacing: -.01em;
  color: var(--lavender);
}
.extrude {
  font-style: normal; color: var(--milk); position: relative;
  text-shadow:
    1px 1px 0 var(--purple), 2px 2px 0 var(--purple), 3px 3px 0 var(--purple), 4px 4px 0 var(--purple),
    5px 5px 0 var(--purple), 6px 6px 0 var(--purple), 7px 7px 0 var(--purple), 8px 8px 0 var(--purple),
    9px 9px 0 var(--purple), 10px 10px 0 var(--purple);
}
.hero__lead { max-width: 520px; margin: 18px 0 0; font-size: clamp(.95rem, 2.6vw, 1.15rem); line-height: 1.5; color: rgba(255, 243, 230, .74); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero__actions .btn { height: 50px; padding: 0 22px; }
.hero__hint {
  display: none;
  position: absolute; z-index: 2; right: var(--pad); top: calc(var(--header-h) + 14px);
  align-items: center; gap: 8px; pointer-events: none;
  font: 700 10px/1 var(--font-t); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 243, 230, .6);
  opacity: 0; transition: opacity 1s 1.2s;
}
.hero.is-in .hero__hint { opacity: 1; }
.hero__hint svg { width: 18px; height: 18px; animation: spin-slow 7s linear infinite; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.hero__scroll {
  position: absolute; z-index: 2; left: var(--pad); bottom: 30px;
  display: flex; align-items: center; gap: 12px;
  font: 700 10px/1 var(--font-t); letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 243, 230, .5);
}
.hero__scroll i { width: 46px; height: 1.5px; background: rgba(255, 243, 230, .2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; left: 0; top: 0; width: 40%; height: 100%; background: var(--lavender); animation: scrollline 1.9s var(--ease-io) infinite; }
@keyframes scrollline { from { transform: translateX(-110%); } to { transform: translateX(260%); } }

/* стартовое появление контента героя */
.hero__eyebrow, .hero__lead, .hero__actions, .hero__scroll {
  opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform 1s var(--ease);
}
.hero.is-in .hero__eyebrow { opacity: 1; transform: none; transition-delay: .15s; }
.hero.is-in .hero__lead { opacity: 1; transform: none; transition-delay: .55s; }
.hero.is-in .hero__actions { opacity: 1; transform: none; transition-delay: .7s; }
.hero.is-in .hero__scroll { opacity: 1; transform: none; transition-delay: 1.1s; }

/* ---------- бегущие строки ---------- */
.marquee-wrap { position: relative; height: 170px; overflow: hidden; margin-top: -30px; pointer-events: none; }
.marquee { position: absolute; left: -6%; width: 112%; padding: 15px 0; overflow: hidden; white-space: nowrap; }
.marquee--a { top: 44px; background: var(--lavender); color: var(--plum); transform: rotate(-2.6deg); z-index: 2; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.marquee--b { top: 74px; background: var(--purple); color: var(--milk); transform: rotate(1.6deg); z-index: 1; }
.marquee__track { display: inline-flex; animation: marquee 28s linear infinite; }
.marquee--b .marquee__track { animation-direction: reverse; animation-duration: 34s; }
.marquee__track span {
  position: relative; padding: 0 30px;
  font: 900 clamp(1.05rem, 4.2vw, 1.85rem)/1 var(--font-d); text-transform: uppercase; letter-spacing: -.01em;
}
.marquee__track span::after {
  content: ''; position: absolute; right: -5px; top: 50%; width: 9px; height: 9px; margin-top: -4px;
  border-radius: 50%; background: currentColor; opacity: .45;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- ЗАЧЕМ ---------- */
.why__ghost {
  position: absolute; right: -4vw; top: 6vw; pointer-events: none; user-select: none;
  font: 900 clamp(6rem, 28vw, 24rem)/1 var(--font-d); letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(56, 25, 50, .12);
}
.why__stage { display: none; }
.why__head { position: relative; max-width: 780px; }
.versus { position: relative; margin-top: clamp(48px, 8vw, 96px); border-top: 1.5px solid rgba(56, 25, 50, .16); }
.versus__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; align-items: start;
  padding: 18px 0; border-bottom: 1.5px solid rgba(56, 25, 50, .12);
}
.versus__row [role="rowheader"] {
  grid-column: 1 / -1; margin-bottom: 2px;
  font: 700 11px/1 var(--font-t); letter-spacing: .14em; text-transform: uppercase; color: var(--purple);
}
.versus__row [role="cell"] { font-size: 14px; line-height: 1.4; color: rgba(34, 17, 31, .68); }
.versus__row [role="cell"] b { font-weight: 700; color: var(--plum); }
.versus__row > :nth-child(3) { background: rgba(220, 200, 236, .38); padding: 12px 14px; border-radius: 12px; }
.versus__row--head { padding: 14px 0; }
.versus__row--head > :first-child { display: none; }
.versus__row--head span { font: 700 11px/1 var(--font-t); letter-spacing: .14em; text-transform: uppercase; color: rgba(34, 17, 31, .5); }
.versus__row--head > :nth-child(3) { padding: 0; background: transparent; }
.tag { display: inline-block; padding: 9px 12px; border-radius: 999px; background: var(--plum); color: var(--milk) !important; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: clamp(40px, 7vw, 80px); }
.stat {
  padding: 22px 14px 18px; border-radius: 20px; background: var(--plum); color: var(--milk);
  display: grid; gap: 10px; align-content: start;
}
.stat__num { font: 900 clamp(2.2rem, 10vw, 5.2rem)/1 var(--font-d); color: var(--lavender); letter-spacing: -.03em; }
.stat__txt { font: 700 10px/1.35 var(--font-t); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 243, 230, .7); }

/* ---------- ПРОЦЕСС (sticky) ---------- */
.process { position: relative; height: 420vh; }
.process__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  padding: calc(var(--header-h) + 12px) var(--pad) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.process__head .h2 { font-size: clamp(1.7rem, 7vw, 4rem); }
.process__stage { position: absolute; left: 0; right: 0; top: 24%; height: 38%; pointer-events: none; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; min-height: 170px; }
.step {
  position: absolute; left: 0; right: 0; bottom: 0;
  opacity: 0; transform: translateY(26px); pointer-events: none;
  transition: opacity .5s, transform .7s var(--ease);
}
.step.is-active { opacity: 1; transform: none; }
.step__num { font: 700 11px/1 var(--font-t); letter-spacing: .18em; color: var(--lavender); }
.step__title { margin: 10px 0 8px; font: 900 clamp(1.35rem, 6vw, 2.5rem)/1.06 var(--font-d); letter-spacing: -.02em; color: var(--milk); }
.step__text { margin: 0; max-width: 480px; font-size: 15px; line-height: 1.5; color: rgba(255, 243, 230, .7); }
.process__progress { position: absolute; left: var(--pad); right: var(--pad); bottom: 18px; height: 2px; background: rgba(255, 243, 230, .14); }
.process__progress i { display: block; height: 100%; width: 0; background: var(--lavender); }
.process__hint { display: none; }

/* ---------- СЕТКА / РЕНДЕР ---------- */
.compare { padding-bottom: 0; }
.compare__head { position: relative; max-width: 780px; }
.compare__stage {
  position: relative; z-index: 4;
  height: 70vh; height: 70svh; margin: 28px calc(-1 * var(--pad)) 0;
  border-top: 1.5px solid rgba(220, 200, 236, .14);
  touch-action: pan-y; cursor: ew-resize;
  background: linear-gradient(to bottom, rgba(32, 14, 29, 0), rgba(32, 14, 29, .35));
}
.compare__divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 1.5px; background: var(--lavender); pointer-events: none; }
.compare__handle {
  position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px;
  border-radius: 50%; border: 0; padding: 0; background: var(--lavender); color: var(--plum);
  display: grid; place-items: center; pointer-events: auto; cursor: ew-resize; touch-action: none;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .4);
  transition: transform .3s var(--ease);
}
.compare__handle:active, .compare__stage.is-dragging .compare__handle { transform: scale(1.12); }
.compare__handle svg { width: 24px; height: 24px; }
.compare__tag {
  position: absolute; top: 18px; padding: 9px 12px; border-radius: 999px;
  font: 700 10px/1 var(--font-t); letter-spacing: .16em; text-transform: uppercase;
  border: 1.5px solid rgba(220, 200, 236, .4); color: var(--lavender);
}
.compare__tag--l { left: var(--pad); }
.compare__tag--r { right: var(--pad); background: var(--lavender); color: var(--plum); }

/* ---------- КОНФИГУРАТОР ---------- */
.config__ghost, .cta__ghost {
  position: absolute; right: -4vw; top: 4vw; pointer-events: none; user-select: none;
  font: 900 clamp(6rem, 28vw, 22rem)/1 var(--font-d); letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(220, 200, 236, .13);
}
.config__text { position: relative; max-width: 720px; }
.config__stage { height: 48svh; min-height: 300px; }
.config__panel {
  position: relative; z-index: 4;
  display: grid; gap: 22px; padding: 22px;
  border-radius: 26px; background: rgba(255, 243, 230, .05);
  border: 1.5px solid rgba(220, 200, 236, .16);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.config__label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px;
  font: 700 11px/1 var(--font-t); letter-spacing: .16em; text-transform: uppercase; color: var(--lavender);
}
.config__label span { font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 13px; color: rgba(255, 243, 230, .7); }
.swatches { display: flex; flex-wrap: wrap; gap: 14px; }
.swatch {
  width: 42px; height: 42px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; position: relative;
  background: var(--c);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14), inset 0 -8px 14px rgba(0, 0, 0, .25);
  transition: transform .35s var(--ease);
}
.swatch--metal { background: linear-gradient(140deg, color-mix(in srgb, var(--c), white 50%), var(--c) 45%, color-mix(in srgb, var(--c), black 40%)); }
.swatch--img { background-color: #6a4a5e; background-size: cover; background-position: center; background-repeat: no-repeat; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .18), inset 0 -10px 16px rgba(0, 0, 0, .22); }
.swatch.is-loading::before {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 1.5px solid transparent; border-top-color: var(--lavender);
  animation: spin-slow 1s linear infinite;
}
.swatch::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 1.5px solid var(--lavender); opacity: 0; transform: scale(.75);
  transition: opacity .3s, transform .4s var(--ease);
}
.swatch.is-active::after { opacity: 1; transform: none; }
.swatch:hover { transform: scale(1.1); }
.config__note { margin: 0; font-size: 12px; line-height: 1.5; color: rgba(255, 243, 230, .5); }

/* ---------- ЧТО ВЫ ПОЛУЧАЕТЕ ---------- */
.cards { display: grid; gap: 14px; margin-top: 40px; perspective: 1200px; }
.card {
  --bg-card: #fff9f2;
  position: relative; padding: 26px 22px; border-radius: 24px;
  background: var(--bg-card); border: 1.5px solid rgba(56, 25, 50, .08);
  transform-style: preserve-3d; overflow: hidden;
  transition: opacity .9s var(--ease), transform .9s var(--ease), box-shadow .4s;
}
.card.reveal { transform: rotateX(14deg) translateY(40px); }
.card.reveal.is-in { transform: none; }
.card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(220, 200, 236, .55), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.card:hover::after { opacity: 1; }
.card:hover { box-shadow: 0 30px 60px -30px rgba(56, 25, 50, .35); }
.card__icon {
  width: 52px; height: 52px; border-radius: 16px; margin-bottom: 22px;
  display: grid; place-items: center; background: var(--plum); color: var(--lavender);
  transform: translateZ(30px);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin: 0 0 10px; font: 900 1.12rem/1.18 var(--font-d); letter-spacing: -.01em; color: var(--plum); }
.card p { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(34, 17, 31, .7); }

/* ---------- ДЛЯ КОГО ---------- */
.rows { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1.5px solid rgba(220, 200, 236, .15); }
.row {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: baseline;
  padding: 22px 0; border-bottom: 1.5px solid rgba(220, 200, 236, .15); position: relative;
}
.row__num { font: 700 11px/1 var(--font-t); letter-spacing: .14em; color: var(--lavender); }
.row__name { font: 900 clamp(1.35rem, 6vw, 3rem)/1.05 var(--font-d); letter-spacing: -.02em; color: var(--milk); transition: transform .5s var(--ease), color .3s; }
.row__desc { grid-column: 2; font-size: 14px; line-height: 1.5; color: rgba(255, 243, 230, .55); }
.row:hover .row__name { transform: translateX(10px); color: var(--lavender); }

/* ---------- CTA ---------- */
.cta { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; }
.cta__stage { position: absolute; left: 0; right: 0; top: 3%; height: 40%; pointer-events: none; }
.cta__content { position: relative; max-width: 860px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.cta__actions .btn { max-width: 100%; }

/* ---------- подвал ---------- */
.footer {
  position: relative; padding: 36px var(--pad) max(32px, env(safe-area-inset-bottom));
  border-top: 1.5px solid rgba(220, 200, 236, .12);
  display: grid; gap: 22px;
}
.logo--footer { margin: 0; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__nav a { font-size: 13px; font-weight: 600; color: rgba(255, 243, 230, .6); text-decoration: none; transition: color .3s; }
.footer__nav a:hover { color: var(--milk); }
.footer__copy { margin: 0; font-size: 13px; color: rgba(255, 243, 230, .45); }

/* =====================================================================
   ПЛАНШЕТ ≥ 720px
   ===================================================================== */
@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .card { padding: 32px 28px; }
  .versus__row { grid-template-columns: 1fr 1.3fr 1.3fr; gap: 12px 20px; align-items: center; }
  .versus__row [role="rowheader"] { grid-column: auto; margin: 0; }
  .versus__row [role="cell"] { font-size: 16px; }
  .versus__row--head > :first-child { display: block; }
  .stat { padding: 28px 24px 22px; }
  .stat__txt { font-size: 11px; }
  .row { grid-template-columns: 60px 1fr 1fr; align-items: center; }
  .row__desc { grid-column: 3; font-size: 15px; }
  .config__panel { padding: 28px; }
  .swatch { width: 46px; height: 46px; }
  .footer { grid-template-columns: auto 1fr; align-items: center; }
  .footer__copy { grid-column: 1 / -1; }
}

/* =====================================================================
   ДЕСКТОП ≥ 1024px
   ===================================================================== */
@media (min-width: 1024px) {
  :root { --header-h: 80px; }

  .nav { display: flex; gap: 30px; margin: 0 auto; }
  .nav a { position: relative; font-size: 14px; font-weight: 600; color: rgba(255, 243, 230, .72); text-decoration: none; transition: color .3s; padding: 6px 0; }
  .nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--lavender); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
  .nav a:hover { color: var(--milk); }
  .nav a:hover::after { transform: scaleX(1); transform-origin: left; }
  .header__cta { display: inline-flex; }
  .burger { display: none; }
  .logo__text { font-size: 16px; }

  /* hero: текст слева, кресло справа */
  .hero { justify-content: center; padding: var(--header-h) var(--pad) 80px calc(var(--pad) + 36px); }
  .hero__side {
    display: block; position: absolute; left: 26px; top: 50%; z-index: 2;
    transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl;
    font: 700 10px/1 var(--font-t); letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 243, 230, .4);
  }
  .hero__drag { display: block; position: absolute; z-index: 1; left: 50%; right: 0; top: var(--header-h); bottom: 0; }
  .hero__cube { display: none; }
  .hero__content { max-width: 700px; }
  .hero__actions { gap: 12px; margin-top: 30px; }
  .hero__actions .btn { height: 56px; padding: 0 28px; }
  .hero__line { font-size: clamp(5.5rem, 9.4vw, 10.5rem); }
  .hero__line--sub { font-size: clamp(1.6rem, 2.4vw, 2.5rem); }
  .extrude {
    text-shadow:
      1px 1px 0 var(--purple), 2px 2px 0 var(--purple), 3px 3px 0 var(--purple), 4px 4px 0 var(--purple),
      5px 5px 0 var(--purple), 6px 6px 0 var(--purple), 7px 7px 0 var(--purple), 8px 8px 0 var(--purple),
      9px 9px 0 var(--purple), 10px 10px 0 var(--purple), 11px 11px 0 var(--purple), 12px 12px 0 var(--purple),
      13px 13px 0 var(--purple), 14px 14px 0 var(--purple);
  }
  .hero__hint { display: inline-flex; top: auto; bottom: 64px; right: var(--pad); }
  .hero__big { right: 2vw; top: 50%; margin-top: -.5em; font-size: clamp(28rem, 40vw, 46rem); }
  .marquee-wrap { height: 200px; margin-top: -60px; }
  .marquee { padding: 18px 0; }
  .marquee--a { top: 60px; }
  .marquee--b { top: 96px; }

  /* зачем: кресло слева, текст справа */
  .why__stage { display: block; position: absolute; left: var(--pad); top: 100px; width: 40%; height: 560px; }
  .why__head { margin-left: 46%; max-width: 640px; }
  .versus { margin-top: 120px; }
  .versus__row { padding: 22px 0; }
  .versus__row > :nth-child(3) { padding: 16px 22px; border-radius: 14px; }
  .versus__row [role="cell"] { font-size: 17px; }

  /* процесс: текст слева, кресло справа */
  .process { height: 460vh; }
  .process__sticky {
    display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; column-gap: 40px;
    padding: calc(var(--header-h) + 30px) var(--pad) 64px;
  }
  .process__head { grid-column: 1; grid-row: 1; }
  .process__stage { position: static; grid-column: 2; grid-row: 1 / span 2; height: auto; min-height: 0; }
  .steps { grid-column: 1; grid-row: 2; align-self: end; min-height: 230px; }
  .step__text { font-size: 17px; max-width: 520px; }
  .process__progress { bottom: 34px; right: 50%; }
  .process__hint {
    display: block; position: absolute; right: var(--pad); bottom: 32px;
    font: 700 10px/1 var(--font-t); letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 243, 230, .4);
  }

  .compare__stage { height: 76vh; margin-top: 40px; }
  .compare__handle { width: 68px; height: 68px; margin: -34px 0 0 -34px; }

  /* конфигуратор: текст+панель слева, кресло справа */
  .config {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto;
    column-gap: 48px; align-items: start; min-height: 100vh;
  }
  .config__text { grid-column: 1; grid-row: 1; }
  .config__panel { grid-column: 1; grid-row: 2; margin-top: 48px; padding: 32px; }
  .config__stage { grid-column: 2; grid-row: 1 / span 2; height: auto; min-height: 640px; align-self: stretch; }
  .config__ghost { top: auto; bottom: 2vw; }

  .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
  .card { padding: 36px 32px; }
  .card h3 { font-size: 1.2rem; }

  .rows { margin-top: 60px; }
  .row { padding: 30px 0; }
  .row::before {
    content: ''; position: absolute; left: -20px; right: -20px; top: 0; bottom: 0; border-radius: 16px;
    background: rgba(220, 200, 236, .06); opacity: 0; transition: opacity .35s;
  }
  .row:hover::before { opacity: 1; }
  .row__desc { font-size: 16px; }

  .cta { justify-content: center; }
  .cta__stage { left: auto; right: 0; top: 0; bottom: 0; width: 46%; height: auto; }
  .cta__content { max-width: 52%; }
  .cta__ghost { top: auto; bottom: -2vw; right: -2vw; }

  .footer { grid-template-columns: auto 1fr auto; }
  .footer__nav { justify-content: center; }
  .footer__copy { grid-column: auto; }
}

@media (min-width: 1440px) {
  .hero__content { max-width: 760px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, [data-split] .w > span, .hero__eyebrow, .hero__lead, .hero__actions, .hero__scroll, .card.reveal { opacity: 1; transform: none; }
  .noise { display: none; }
}

/* ---------- режим ?og=1: статичный кадр для превью ссылки ---------- */
.is-og .loader, .is-og .cursor, .is-og .noise, .is-og .hero__scroll, .is-og .hero__hint { display: none !important; }
.is-og .hero__eyebrow, .is-og .hero__lead, .is-og .hero__actions, .is-og [data-split] .w > span,
.is-og .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- режим ?shot=1: только кресло на прозрачном фоне (кадры для постов) ---------- */
html.is-shot, .is-shot body { background: transparent !important; }
.is-shot main, .is-shot .header, .is-shot .footer, .is-shot .menu, .is-shot .scene-fallback, .is-shot .marquee-wrap { display: none !important; }
.is-shot .scene { position: fixed; inset: 0; }
