/* =========================================================
   MIVVAR — одностраничный магазин
   ========================================================= */

:root {
  --bg: #060a12;
  --bg-2: #0a111e;
  --bg-3: #0f1829;
  --line: rgba(190, 204, 228, 0.09);
  --line-2: rgba(190, 204, 228, 0.18);
  --text: #ece9e2;
  --muted: #8a93a4;
  --dim: #5b6475;
  --gold: #d4ae6a;
  --gold-2: #f1d59a;
  --gold-3: #9c7236;
  --ember: #e0782f;
  --gold-grad: linear-gradient(135deg, #f4dca4 0%, #d4ae6a 45%, #9c7236 100%);
  --silver-grad: linear-gradient(180deg, #f5f3ee 0%, #c5cad4 45%, #5d6677 100%);

  --serif: "Cormorant", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;

  --gutter: clamp(16px, 4vw, 64px);
  --maxw: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 700px at 50% -10%, #13203a 0%, transparent 60%),
    radial-gradient(900px 900px at 100% 55%, rgba(24, 38, 66, .55) 0%, transparent 60%),
    radial-gradient(900px 900px at 0% 85%, rgba(24, 38, 66, .45) 0%, transparent 60%),
    var(--bg);
  color: var(--text);
  font: 400 15px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
svg { width: 1em; height: 1em; flex: none; }
::selection { background: var(--gold); color: #0a0a0a; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }

/* Grain + guide lines -------------------------------------------------- */
.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.guides {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  display: flex; justify-content: space-between;
  max-width: calc(var(--maxw) + 120px); margin: 0 auto; padding: 0 clamp(8px, 2vw, 30px);
}
.guides span { width: 1px; background: linear-gradient(180deg, transparent, var(--line) 15%, var(--line) 85%, transparent); }
.guides span:nth-child(2), .guides span:nth-child(4) { opacity: .55; }
main, .footer, .header { position: relative; z-index: 1; }

/* Typography ------------------------------------------------------------ */
.display {
  font: 300 clamp(44px, 6.4vw, 92px)/1 var(--serif);
  letter-spacing: -0.01em;
  margin: 0 0 28px;
  background: var(--silver-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.display--right { text-align: right; }
.eyebrow {
  display: inline-block; font: 500 11px/1.4 var(--sans);
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px; padding: 0;
}

/* Buttons --------------------------------------------------------------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 26px; border-radius: 999px;
  border: 1px solid rgba(236, 233, 226, .55);
  font: 500 13px/1 var(--sans); letter-spacing: .04em;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
  white-space: nowrap;
}
.pill:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.pill--sm { height: 36px; padding: 0 20px; font-size: 12px; }
.pill--light { background: var(--text); color: var(--bg); border-color: var(--text); }
.pill--light:hover { background: transparent; color: var(--text); }
.pill--gold {
  background: var(--gold-grad); color: #1a1208; border: 0; font-weight: 600;
  box-shadow: 0 10px 40px -12px rgba(212, 174, 106, .55);
}
.pill--gold:hover { background: var(--gold-grad); color: #1a1208; transform: translateY(-2px); box-shadow: 0 16px 50px -12px rgba(212, 174, 106, .75); }
.pill--block { width: 100%; height: 54px; font-size: 14px; }
.pill--outline { height: 50px; padding: 0 28px; font-size: 14px; color: var(--gold-2); border-color: rgba(212, 174, 106, .75); box-shadow: 0 0 30px -10px rgba(212, 174, 106, .45); }
.pill--outline svg { transition: transform .35s var(--ease); }
.pill--outline:hover { background: var(--gold-grad); color: #1a1208; border-color: transparent; }
.pill--outline:hover svg { transform: translateX(4px); }
.pill--cta { height: 54px; padding: 0 30px; font-size: 14px; letter-spacing: .03em; }
.pill--cta svg { transition: transform .35s var(--ease); }
.pill--cta:hover svg { transform: translateX(4px); }
.pill__price { font-weight: 600; }
.product__card > .pill--cta { width: 100%; margin-top: 28px; }
.pill__price::before { content: "·"; margin: 0 8px 0 0; opacity: .55; }
html { -webkit-tap-highlight-color: transparent; }
[id] { scroll-margin-top: 70px; }
.product[id] { scroll-margin-top: 112px; }
.pill svg { width: 18px; height: 18px; }

.circle-btn {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(236, 233, 226, .5);
  display: inline-grid; place-items: center;
  transition: background .3s, color .3s, border-color .3s;
}
.circle-btn svg { width: 16px; height: 16px; }
.circle-btn:hover { background: var(--text); color: var(--bg); }
.circle-btn--lg { width: 40px; height: 40px; }
.circle-btn--lg svg { width: 20px; height: 20px; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; letter-spacing: .02em; border-bottom: 1px solid transparent; transition: gap .3s var(--ease), color .3s; }
.link-arrow svg { width: 18px; height: 18px; }
.link-arrow:hover { gap: 16px; color: var(--gold-2); }
.u-link { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; color: var(--muted); transition: color .3s; }

.socials { display: flex; gap: 14px; align-items: center; }
.socials a { color: var(--muted); transition: color .3s; display: grid; }
.socials a:hover { color: var(--gold-2); }
.socials svg { width: 18px; height: 18px; }
.hero__cta .socials { gap: 20px; }
.hero__cta .socials svg { width: 22px; height: 22px; }

/* Side labels (вертикальные подписи как в референсе) --------------------- */
.side-label {
  position: absolute; left: clamp(8px, 2vw, 30px); top: 50%;
  transform: translate(-50%, -50%) rotate(-90deg) translateY(50%);
  transform-origin: center;
  font: 400 12px/1 var(--sans); letter-spacing: .12em; color: var(--muted);
  white-space: nowrap; padding: 10px 14px;
  z-index: 2;
}
.rail { position: absolute; z-index: 2; }
.rail--dots { left: clamp(8px, 2vw, 30px); top: 120px; display: grid; gap: 10px; transform: translateX(-50%); padding: 8px 0; background: var(--bg); }
.rail--dots i { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); display: block; }
.rail--right {
  right: clamp(8px, 2vw, 30px); top: 150px;
  writing-mode: vertical-rl; font-size: 12px; letter-spacing: .12em; color: var(--muted);
  transform: translateX(50%); background: var(--bg); padding: 12px 0;
}

/* Header ---------------------------------------------------------------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px max(var(--gutter), env(safe-area-inset-right)) 18px max(var(--gutter), env(safe-area-inset-left));
  transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(6, 10, 18, .92);
  border-bottom-color: var(--line); padding-top: 12px; padding-bottom: 12px;
}
.logo { font: 500 20px/1 var(--serif); letter-spacing: .32em; }
.nav { display: flex; gap: 34px; font-size: 13px; color: var(--muted); }
.nav a { position: relative; transition: color .3s; }
.nav a:hover, .nav a.is-active { color: var(--text); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav a.is-active::after { transform: scaleX(1); }
.burger { display: none; width: 36px; height: 36px; position: relative; }
.burger span { position: absolute; left: 8px; right: 8px; height: 1px; background: var(--text); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 14px; } .burger span:last-child { top: 21px; }
.burger[aria-expanded="true"] span:first-child { top: 18px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 18px; transform: rotate(-45deg); }

/* HERO ------------------------------------------------------------------ */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding-top: 70px; overflow: hidden; }
.hero__word {
  position: absolute; left: 50%; top: 58px; transform: translateX(-50%);
  margin: 0; z-index: 1; pointer-events: none;
  font: 300 clamp(96px, 19vw, 300px)/0.9 var(--serif);
  letter-spacing: .04em; padding-left: .04em;
  background: linear-gradient(180deg, #f3f1ec 0%, #b9bfca 40%, #3b4458 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
}
.hero__grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 400px) 1fr;
  grid-template-rows: 1fr auto;
  column-gap: 40px;
  min-height: calc(100svh - 70px);
  padding-top: clamp(150px, 17vw, 250px);
  padding-bottom: 36px;
}
.hero__intro { grid-column: 1; grid-row: 1; align-self: start; max-width: 300px; padding-top: 20px; }
.hero__title { font: 400 30px/1.1 var(--serif); margin: 0 0 14px; }
.hero__text { margin: 0 0 22px; font-size: 13px; color: var(--muted); line-height: 1.7; min-height: 5.1em; }
.hero__intro [data-hero-title], .hero__intro [data-hero-text] { transition: opacity .35s; }
.hero__intro.is-swapping [data-hero-title], .hero__intro.is-swapping [data-hero-text] { opacity: 0; }

.hero__stage {
  grid-column: 2; grid-row: 1 / 3; position: relative;
  margin-top: clamp(-150px, -9vw, -60px);
  height: clamp(420px, 62vh, 640px);
  align-self: start;
}
.stage-layer {
  position: absolute; inset: 0 0 60px; z-index: 1; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(24px) scale(.96);
  transition: opacity .8s var(--ease), transform 1s var(--ease);
  pointer-events: none;
}
.stage-layer.is-active { opacity: 1; transform: none; pointer-events: auto; }
.stage-layer img { height: 100%; width: 100%; object-fit: contain; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .7)); }
.wall-cycle { position: relative; width: 100%; height: 94%; margin-top: 4%; }
.wall-cycle img { position: absolute; inset: 0; opacity: 0; transform: scale(.97) translateY(8px); transition: opacity 1.6s var(--ease), transform 2s var(--ease); }
.wall-cycle img.is-on { opacity: 1; transform: none; }
.stage-layer [data-audio-cover] { width: min(340px, 86%); }
.hero__glow {
  position: absolute; left: 50%; top: 45%; width: 140%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(224, 120, 47, .22), rgba(212, 174, 106, .08) 45%, transparent 70%);
  filter: blur(10px); transition: background 1s;
}
.hero__stage[data-active="walls"] .hero__glow { background: radial-gradient(closest-side, rgba(120, 150, 200, .2), rgba(80, 110, 160, .07) 45%, transparent 70%); }
.hero__pedestal {
  position: absolute; left: 50%; bottom: 20px; width: 78%; height: 70px; transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(241, 213, 154, .28), rgba(241, 213, 154, .06) 60%, transparent);
  border: 1px solid rgba(241, 213, 154, .18);
  box-shadow: inset 0 -8px 30px rgba(0, 0, 0, .5);
  z-index: 0;
}

.hero__picker { grid-column: 3; grid-row: 1; justify-self: end; align-self: start; width: 100%; max-width: 330px; padding-top: 18px; }
.picker__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.picker__label { flex: 1; text-align: center; font-size: 12px; font-weight: 500; letter-spacing: .06em; position: relative; }
.picker__label::before, .picker__label::after { content: ""; position: absolute; top: 50%; width: 18%; height: 1px; background: var(--line-2); }
.picker__label::before { left: 0; } .picker__label::after { right: 0; }
.picker__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pick {
  display: grid; gap: 8px; justify-items: center; padding: 10px 4px 10px; border-radius: 16px;
  font-size: 10px; letter-spacing: .06em; color: var(--muted); border: 1px solid transparent;
  transition: background .4s, border-color .4s, color .4s;
}
.pick__img { height: 78px; display: grid; place-items: center; }
.pick__img img { max-height: 78px; width: auto; filter: drop-shadow(0 10px 14px rgba(0,0,0,.6)); transition: transform .5s var(--ease); }
.pick__img--audio img { width: 54px; height: 54px; object-fit: cover; border-radius: 6px; }
.pick:hover .pick__img img { transform: translateY(-4px); }
.pick.is-active { background: linear-gradient(180deg, rgba(34, 46, 70, .8), rgba(18, 26, 42, .8)); border-color: var(--line-2); color: var(--text); }
.pick.is-active span:last-child { border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

.hero__brand { grid-column: 1; grid-row: 2; align-self: end; display: grid; gap: 4px; }
.hero__brand strong { font: 500 18px/1 var(--serif); letter-spacing: .28em; }
.hero__brand span { font-size: 11px; color: var(--dim); letter-spacing: .04em; }
.hero__cta { grid-column: 3; grid-row: 2; align-self: end; justify-self: end; display: flex; align-items: center; gap: 22px; }

/* Audiobook cover (CSS-обложка) ---------------------------------------- */
.audio-cover {
  position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden;
  box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(241, 213, 154, .15);
  isolation: isolate;
}
.audio-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.audio-cover__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,10,18,.8) 0%, transparent 38%, transparent 62%, rgba(6,10,18,.85) 100%); }
.audio-cover__top { position: absolute; top: 7%; left: 0; right: 0; text-align: center; font: 500 clamp(8px, 2.4cqw, 11px)/1 var(--sans); letter-spacing: .5em; color: rgba(241, 213, 154, .85); }
.audio-cover__title {
  position: absolute; top: 12%; left: 0; right: 0; text-align: center;
  font: 400 clamp(18px, 9cqw, 40px)/1 var(--serif); letter-spacing: .04em; text-transform: uppercase; color: #f6ecd8;
}
.audio-cover__title small { display: block; font-size: .42em; letter-spacing: .18em; margin-top: .5em; color: rgba(246, 236, 216, .8); }
.audio-cover__badge {
  position: absolute; bottom: 7%; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font: 600 clamp(8px, 2.6cqw, 11px)/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2);
  padding: .9em 1.4em; border: 1px solid rgba(241, 213, 154, .4); border-radius: 999px;
  background: rgba(6, 10, 18, .45); backdrop-filter: blur(6px);
}
.audio-cover__badge svg { width: 1.4em; height: 1.4em; }
[data-audio-cover] { container-type: inline-size; width: 100%; }

/* PRODUCTS -------------------------------------------------------------- */
.products { position: relative; padding: 60px 0 20px; }
.tabs-wrap { position: sticky; top: 61px; z-index: 10; margin-bottom: 20px; transition: background .4s; }
.tabs-wrap.is-stuck { background: rgba(6, 10, 18, .94); }
.tabs {
  display: flex; gap: clamp(20px, 4vw, 60px); overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid var(--line);
}
.tabs::-webkit-scrollbar { display: none; }
.tabs a { position: relative; padding: 14px 0 16px; font-size: 13px; color: var(--dim); white-space: nowrap; transition: color .3s; }
.tabs a:hover { color: var(--text); }
.tabs a.is-active { color: var(--text); font-weight: 500; }
.tabs a.is-active::after { content: ""; position: absolute; left: -10px; right: -10px; bottom: -1px; height: 2px; background: var(--text); }

.product { position: relative; padding: clamp(70px, 10vw, 130px) 0; border-bottom: 1px solid var(--line); }
.product__grid { display: grid; grid-template-columns: 1fr minmax(260px, 1.05fr) 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.product__info p { font-size: 14px; margin: 0 0 16px; max-width: 340px; }
.product__info .pill { margin-top: 12px; }
.product__title { font: 400 clamp(30px, 3.2vw, 44px)/1.08 var(--serif); margin: 0 0 22px; }
.product__visual { position: relative; display: grid; place-items: center; min-height: 440px; }
.product__visual img { max-height: 500px; width: auto; position: relative; filter: drop-shadow(0 50px 60px rgba(0, 0, 0, .8)); }
.visual-glow { position: absolute; inset: -10%; background: radial-gradient(closest-side, rgba(212, 174, 106, .22), transparent 70%); filter: blur(20px); }
.visual-glow--ember { background: radial-gradient(closest-side, rgba(224, 120, 47, .26), rgba(212, 174, 106, .06) 55%, transparent 72%); }
.audio-visual { width: min(360px, 100%); position: relative; }

.product--rev .product__info { order: 3; }
.product--rev .product__visual { order: 2; }
.product--rev .product__card { order: 1; }

.product__card { position: relative; padding-top: 22px; }
.product__card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; border-top: 1px dashed var(--line-2); }
.card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.card__head::after { display: none; }
.card__counter { flex: 1; text-align: center; font-size: 12px; letter-spacing: .06em; position: relative; }
.card__counter::before, .card__counter::after { content: ""; position: absolute; top: 50%; width: 22%; height: 1px; background: var(--line-2); }
.card__counter::before { left: 0; } .card__counter::after { right: 0; }
.card__head--plain .card__counter { text-align: left; font-weight: 500; }
.card__head--plain .card__counter::before, .card__head--plain .card__counter::after { display: none; }
.card__counter b { font: 400 16px/1 var(--serif); color: var(--gold-2); margin-left: 4px; }
.card__slides { display: grid; min-height: 96px; }
.card__slide { grid-area: 1 / 1; opacity: 0; transform: translateX(14px); transition: opacity .5s, transform .6s var(--ease); pointer-events: none; }
.card__slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.card__kicker { display: block; font: 500 10px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.card__slide h4 { font: 400 30px/1.12 var(--serif); margin: 0; }
.card__slide p { font-size: 14px; line-height: 1.65; color: var(--muted); margin: 12px 0 0; }
.dots { display: flex; gap: 6px; justify-content: flex-end; margin: 18px 0 8px; }
.dots button { width: 5px; height: 5px; border-radius: 50%; background: var(--dim); transition: background .3s, width .3s; }
.dots button.is-active { background: var(--text); width: 16px; border-radius: 4px; }

.specs { margin: 22px 0 0; display: grid; gap: 0; }
.specs > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; text-align: right; }
.specs--row { grid-template-columns: repeat(4, auto); gap: clamp(20px, 4vw, 56px); margin: 0; }
.specs--row > div { display: grid; gap: 2px; border: 0; padding: 0; }
.specs--row dd { text-align: left; font: 400 20px/1.2 var(--serif); }

.price { display: flex; align-items: baseline; gap: 14px; margin-top: 22px; }
.price__val { font: 400 44px/1 var(--serif); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price__old { font-size: 14px; color: var(--dim); text-decoration: line-through; }
.price__old:empty { display: none; }

.ticks { list-style: none; padding: 0; margin: 6px 0 20px; display: grid; gap: 10px; font-size: 14px; }
.ticks li { display: flex; gap: 12px; align-items: center; }
.ticks svg { width: 16px; height: 16px; color: var(--gold); }

/* Player */
.player {
  position: relative; overflow: hidden; margin-bottom: 20px;
  padding: 22px 22px 24px; border-radius: 22px; border: 1px solid var(--line-2);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(212, 174, 106, .12), transparent 55%),
    linear-gradient(180deg, rgba(18, 28, 48, .72), rgba(10, 17, 30, .72));
  transition: border-color .6s, box-shadow .6s;
}
.player.is-playing { border-color: rgba(212, 174, 106, .38); box-shadow: 0 24px 60px -30px rgba(212, 174, 106, .5); }
.player__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 18px; }
.player__label { display: block; font: 500 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 9px; }
.player__title { font: 400 26px/1 var(--serif); }
.player__time { font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; letter-spacing: .04em; white-space: nowrap; }
.player__time b { color: var(--text); font-weight: 500; }
.player__time i { font-style: normal; margin: 0 5px; }
.player__row { display: flex; align-items: center; gap: 18px; }
.player__btn {
  position: relative; flex: none; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-2);
  background: radial-gradient(circle at 32% 28%, rgba(241, 213, 154, .2), rgba(6, 10, 18, .7) 72%);
  transition: transform .35s var(--ease), color .3s;
}
.player__btn:hover { transform: scale(1.06); color: #fff3d6; }
.player__btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; }
.player.is-playing .player__btn::after { animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(212, 174, 106, .35); } 100% { box-shadow: 0 0 0 16px rgba(212, 174, 106, 0); } }
.player__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.player__ring circle { fill: none; stroke: rgba(241, 213, 154, .22); stroke-width: 1.4; }
.player__ring circle[data-ring] { stroke: var(--gold-2); stroke-width: 1.8; stroke-linecap: round; }
.player__icon { position: relative; width: 20px; height: 20px; }
.player__wave { position: relative; flex: 1; height: 46px; cursor: pointer; touch-action: none; outline: none; border-radius: 6px; }
.player__wave:focus-visible { box-shadow: 0 0 0 2px rgba(212, 174, 106, .5); }
.player__wave::before {
  content: ""; position: absolute; top: -4px; bottom: -4px; left: 0; width: var(--hover, 0%);
  border-right: 1px solid rgba(241, 213, 154, .35); background: linear-gradient(90deg, transparent 60%, rgba(241, 213, 154, .06));
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.player__wave:hover::before { opacity: 1; }
.wave { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.wave i { width: 2px; border-radius: 2px; background: rgba(200, 208, 222, .26); }
.wave--fill { clip-path: inset(0 100% 0 0); }
.wave--fill i { background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, var(--gold-3)); }
.wave__head {
  position: absolute; top: -5px; bottom: -5px; left: 0; width: 1px; margin-left: -.5px;
  background: var(--gold-2); box-shadow: 0 0 12px 1px rgba(241, 213, 154, .7);
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.player.is-playing .wave__head, .player.is-seeking .wave__head { opacity: 1; }
.player__quote { font: italic 300 19px/1.4 var(--serif); color: #cfd4dd; margin: 0 0 6px; }

/* Walls */
.walls__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 30px; }
.walls__lead { justify-self: end; max-width: 440px; margin-bottom: 18px; }
.walls__lead p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.forever {
  display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 16px;
  border: 1px solid rgba(212, 174, 106, .45);
  background: linear-gradient(100deg, rgba(212, 174, 106, .14), rgba(15, 24, 41, .3) 70%);
}
.forever__icon {
  flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font: 400 28px/1 var(--serif); color: #1a1208; background: var(--gold-grad);
}
.forever b { display: block; font: 400 19px/1.2 var(--serif); color: var(--gold-2); margin-bottom: 3px; }
.forever span:last-child { font-size: 12px; color: #c3c8d2; line-height: 1.5; }
.walls__head .product__title { margin: 0; font-size: clamp(38px, 4.6vw, 64px); }
.walls__fan { position: relative; height: clamp(420px, 52vw, 640px); display: flex; justify-content: center; align-items: center; perspective: 1400px; }
.walls__fan::before { content: ""; position: absolute; inset: 10% 20%; background: radial-gradient(closest-side, rgba(120, 150, 210, .16), transparent 70%); filter: blur(30px); }
.phone { position: absolute; margin: 0; height: 88%; transition: transform 1s var(--ease), filter .6s; }
.phone img { height: 100%; width: auto; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .8)); }
.walls__more { margin: 56px 0 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.walls__more-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 10px; }
.walls__more-label { display: block; font: italic 300 30px/1.2 var(--serif); color: var(--text); }
.walls__more-note { display: block; margin-top: 6px; font-size: 13px; color: var(--gold-2); letter-spacing: .02em; }
.walls__more-nav { display: flex; gap: 10px; }
.walls__strip {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 24px 4px 30px; margin: 0 -4px;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent);
}
.walls__strip::-webkit-scrollbar { display: none; }
.walls__strip.is-end { -webkit-mask-image: none; mask-image: none; }
.walls__strip > * { flex: none; scroll-snap-align: start; }
.walls__strip img {
  height: 300px; width: auto; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .7)) brightness(.85) saturate(.85);
  transition: transform .5s var(--ease), filter .5s;
}
.walls__strip img:hover { transform: translateY(-8px) scale(1.03); filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .8)) brightness(1) saturate(1); }
.more-tile {
  height: 300px; width: 148px; border-radius: 26px; border: 1px dashed rgba(212, 174, 106, .55);
  display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 16px;
  background: radial-gradient(circle at 50% 35%, rgba(212, 174, 106, .14), transparent 70%);
  transition: border-color .4s, transform .5s var(--ease);
}
.more-tile:hover { border-color: var(--gold-2); transform: translateY(-8px); }
.more-tile__plus { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 300 30px/1 var(--serif); color: #1a1208; background: var(--gold-grad); }
.more-tile__text { font: italic 300 19px/1.2 var(--serif); }
.more-tile__cta { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.phone--c { z-index: 3; transform: translateY(-3%); }
.phone--l { z-index: 2; transform: translateX(-62%) rotate(-9deg) scale(.86); filter: brightness(.7); }
.phone--r { z-index: 2; transform: translateX(62%) rotate(9deg) scale(.86); filter: brightness(.7); }
.walls__fan:hover .phone--l { transform: translateX(-78%) rotate(-12deg) scale(.88); filter: brightness(.95); }
.walls__fan:hover .phone--r { transform: translateX(78%) rotate(12deg) scale(.88); filter: brightness(.95); }
.walls__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding-top: 28px; border-top: 1px dashed var(--line-2); flex-wrap: wrap; }
.walls__buy { display: flex; align-items: center; gap: 26px; }
.walls__buy .price { margin: 0; }

/* MANIFESTO ------------------------------------------------------------- */
.manifesto { position: relative; min-height: 820px; padding: 140px 0 120px; overflow: hidden; display: flex; align-items: center; }
.manifesto__img { position: absolute; left: 0; bottom: 0; width: min(62vw, 820px); height: 100%; }
.manifesto__img img {
  width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%;
  filter: grayscale(1) contrast(1.1) brightness(.85);
  -webkit-mask-image: radial-gradient(ellipse 70% 72% at 42% 58%, #000 38%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 72% at 42% 58%, #000 38%, transparent 72%);
  opacity: .9;
}
.manifesto__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 40, .3), rgba(6, 10, 18, .1) 50%, var(--bg) 100%); }
.manifesto__inner { position: relative; display: flex; justify-content: flex-end; }
.manifesto__text { max-width: 480px; text-align: right; display: grid; justify-items: end; }
.manifesto__text p { font-size: 14px; color: #c3c8d2; margin: 0 0 22px; max-width: 360px; }
.link-arrow--right { margin-bottom: 26px; }
.btn-row { display: flex; gap: 12px; }

/* ORDER ----------------------------------------------------------------- */
.order { position: relative; padding: clamp(80px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.order__lead { color: var(--muted); margin: -10px 0 50px; max-width: 520px; }
.order__lead a, .gold-link { color: var(--gold-2); border-bottom: 1px solid rgba(241, 213, 154, .3); }
.order__more { margin-top: 22px; color: var(--muted); }
.order__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: start; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.choose-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choose {
  position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: center;
  padding: 16px; border-radius: 18px; border: 1px solid var(--line-2); cursor: pointer;
  background: rgba(15, 24, 41, .5);
  transition: border-color .35s, background .35s, transform .35s var(--ease);
}
.choose:hover { border-color: rgba(236, 233, 226, .35); transform: translateY(-2px); }
.choose input { position: absolute; opacity: 0; pointer-events: none; }
.choose__img { height: 96px; display: grid; place-items: center; }
.choose__img img { max-height: 96px; width: auto; filter: drop-shadow(0 10px 14px rgba(0,0,0,.6)); }
.choose__img--audio img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.choose__name { font: 400 21px/1.15 var(--serif); display: block; }
.choose__meta { font-size: 12px; color: var(--muted); display: block; margin: 4px 0 8px; }
.choose__price { font: 500 14px/1 var(--sans); color: var(--gold-2); }
.choose__mark {
  position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--line-2); display: grid; place-items: center; color: transparent; transition: all .3s;
}
.choose__mark svg { width: 13px; height: 13px; }
.choose:has(input:checked) { border-color: var(--gold); background: linear-gradient(160deg, rgba(212, 174, 106, .12), rgba(15, 24, 41, .6)); }
.choose:has(input:checked) .choose__mark { background: var(--gold-grad); border-color: transparent; color: #1a1208; }
.choose:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }

.bundle {
  margin-top: 14px; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  padding: 20px; border-radius: 18px; cursor: pointer;
  border: 1px dashed rgba(212, 174, 106, .45);
  background: linear-gradient(100deg, rgba(212, 174, 106, .08), transparent 60%);
  transition: border-color .3s, background .3s;
}
.bundle input, .agree input { position: absolute; opacity: 0; pointer-events: none; }
.bundle__box, .agree__box { width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--line-2); display: grid; place-items: center; color: transparent; transition: all .3s; }
.bundle__box svg, .agree__box svg { width: 14px; height: 14px; }
.bundle:has(input:checked) { border-style: solid; border-color: var(--gold); background: linear-gradient(100deg, rgba(212, 174, 106, .18), rgba(15, 24, 41, .4) 70%); }
.bundle:has(input:checked) .bundle__box, .agree:has(input:checked) .agree__box { background: var(--gold-grad); border-color: transparent; color: #1a1208; }
.bundle__body b { display: block; font: 400 22px/1.2 var(--serif); }
.bundle__body span { font-size: 12px; color: var(--muted); }
.bundle__price { text-align: right; display: grid; font: 400 26px/1 var(--serif); color: var(--gold-2); }
.bundle__price s { font: 400 12px/1.6 var(--sans); color: var(--dim); }

.order__summary {
  padding: clamp(22px, 3vw, 34px); border-radius: 24px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(18, 28, 48, .75), rgba(10, 17, 30, .75));
  backdrop-filter: blur(10px); position: sticky; top: 90px;
}
.order__summary > legend { display: block; }
.field { position: relative; margin-bottom: 14px; }
.field input {
  width: 100%; height: 56px; padding: 22px 18px 8px; border-radius: 14px;
  background: rgba(6, 10, 18, .55); border: 1px solid var(--line-2); color: var(--text);
  font: 400 16px/1 var(--sans); outline: none; transition: border-color .3s, box-shadow .3s;
}
.field input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 174, 106, .12); }
.field label { position: absolute; left: 18px; top: 18px; font-size: 14px; color: var(--muted); pointer-events: none; transition: all .25s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label { top: 9px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.field__err { display: none; color: #e58a73; font-size: 12px; margin: 6px 0 0 4px; }
.field.is-invalid input { border-color: #b8604c; }
.field.is-invalid .field__err { display: block; }

.summary { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.summary li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.summary li span:last-child { color: var(--muted); white-space: nowrap; }
.summary li.is-empty { color: var(--dim); justify-content: center; font-size: 13px; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 20px; }
.total span { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.total b { font: 400 40px/1 var(--serif); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 12px; color: var(--muted); cursor: pointer; margin-bottom: 18px; position: relative; }
.agree__box { flex: none; margin-top: -2px; }
.agree a { color: var(--text); border-bottom: 1px solid var(--line-2); }
.form-error { color: #e58a73; font-size: 13px; margin: -6px 0 12px; min-height: 0; }
.form-error:empty { display: none; }
.order__summary .small { margin: 14px 0 0; }
[data-submit].is-loading { pointer-events: none; opacity: .7; }

/* Оплата через Tribute ------------------------------------------------ */
.pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 10px; }
.pay-card {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 24px;
  border-radius: 22px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(18, 28, 48, .72), rgba(10, 17, 30, .72));
  transition: border-color .4s, transform .5s var(--ease);
}
.pay-card:hover { border-color: rgba(236, 233, 226, .3); }
.pay-card__img { height: 150px; display: grid; place-items: center; }
.pay-card__img img { max-height: 150px; width: auto; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .7)); }
.pay-card__img.is-square img { width: 118px; height: 118px; object-fit: cover; border-radius: 12px; }
.pay-card__body h3 { font: 400 24px/1.15 var(--serif); margin: 0 0 6px; }
.pay-card__body p { font-size: 13px; color: var(--muted); margin: 0; }
.pay-card > .pill--cta { width: 100%; margin-top: auto; padding: 0 20px; }

.pay-card--best {
  grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px;
  padding: 32px 32px 28px; margin-bottom: 8px;
  border-color: rgba(212, 174, 106, .55);
  background: linear-gradient(100deg, rgba(212, 174, 106, .16), rgba(15, 24, 41, .65) 60%);
  box-shadow: 0 30px 70px -40px rgba(212, 174, 106, .45);
}
.pay-card--best:hover { border-color: var(--gold); }
.pay-card--best > .pill--cta { width: auto; margin: 0; padding: 0 30px; }
.pay-card--best .pay-card__body h3 { font-size: 34px; }
.pay-card--best .pay-card__body p { font-size: 14px; color: #c3c8d2; max-width: 420px; }
.pay-card__badge {
  position: absolute; top: -12px; left: 32px; padding: 6px 14px; border-radius: 999px;
  font: 600 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #1a1208; background: var(--gold-grad);
}
.pay-card__imgs { display: flex; align-items: flex-end; }
.pay-card__imgs img { height: 126px; width: auto; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .7)); }
.pay-card__imgs img + img { margin-left: -16px; }
.pay-card__imgs img.is-square { width: 92px; height: 92px; object-fit: cover; border-radius: 10px; margin-bottom: 8px; position: relative; z-index: 1; }
.pay-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; }
.pay-card__price b { font: 400 40px/1 var(--serif); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pay-card__price s { font-size: 14px; color: var(--dim); }
.pay-card__price span { font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--gold-2); padding: 4px 10px; border: 1px solid rgba(212, 174, 106, .45); border-radius: 999px; }

.pay-steps { list-style: none; counter-reset: st; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pay-steps li { counter-increment: st; display: flex; gap: 14px; align-items: center; font-size: 14px; color: #c3c8d2; }
.pay-steps li::before {
  content: counter(st); flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font: 400 18px/1 var(--serif); color: var(--gold-2); border: 1px solid rgba(212, 174, 106, .45);
}
.pay-note { margin: 30px 0 0; text-align: center; font-size: 12px; color: var(--dim); }
.pay-note a { color: var(--gold-2); border-bottom: 1px solid rgba(241, 213, 154, .3); }

@media (max-width: 1080px) {
  .pay-grid { grid-template-columns: 1fr 1fr; }
  .pay-card--best { grid-template-columns: auto 1fr; }
  .pay-card--best > .pill--cta { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 640px) {
  .pay-grid { grid-template-columns: 1fr; }
  .pay-card--best { grid-template-columns: 1fr; gap: 18px; padding: 30px 20px 20px; text-align: center; }
  .pay-card--best .pay-card__imgs { justify-content: center; }
  .pay-card--best .pay-card__body h3 { font-size: 30px; }
  .pay-card--best .pay-card__body p { margin: 0 auto; }
  .pay-card__price { justify-content: center; }
  .pay-card__badge { left: 50%; transform: translateX(-50%); white-space: nowrap; }
  .pay-card { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 18px; gap: 14px 16px; }
  .pay-card--best { display: grid; }
  .pay-card__img { height: 96px; width: 70px; }
  .pay-card__img img { max-height: 96px; }
  .pay-card__img.is-square img { width: 70px; height: 70px; }
  .pay-card:not(.pay-card--best) .pay-card__body { flex: 1; min-width: 0; }
  .pay-card:not(.pay-card--best) .pay-card__body h3 { font-size: 21px; }
  .pay-card:not(.pay-card--best) > .pill--cta { flex-basis: 100%; }
  .pay-steps { grid-template-columns: 1fr; gap: 14px; margin-top: 30px; }
}


/* FAQ ------------------------------------------------------------------- */
.faq { position: relative; padding: clamp(70px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  font: 400 clamp(20px, 2vw, 26px)/1.25 var(--serif); transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-2); }
.faq summary svg { width: 22px; height: 22px; color: var(--muted); transition: transform .4s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); color: var(--gold); }
.faq details p { margin: -6px 0 24px; color: var(--muted); font-size: 14px; max-width: 560px; }
.faq details a { color: var(--gold-2); }

/* FOOTER ---------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding: 50px 0 30px; }
.footer__grid { display: grid; grid-template-columns: auto 1fr auto auto; gap: clamp(20px, 5vw, 70px); align-items: center; }
.footer__cta { display: flex; align-items: center; gap: 22px; }
.footer__quote { margin: 0; text-align: center; font: italic 300 22px/1.3 var(--serif); color: var(--muted); }
.footer__nav { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.footer__nav a:hover { color: var(--text); }
.brand-logo { width: 104px; height: auto; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .6)); }
.brand-logo--sm { width: 74px; margin: -14px auto 6px; }
.footer__bottom { display: flex; justify-content: space-between; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 11px; color: var(--dim); letter-spacing: .04em; }
.footer__bottom a:hover { color: var(--text); }

/* MODAL / TOAST --------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(3, 6, 12, .75); backdrop-filter: blur(8px); animation: fade .4s; }
.modal__box {
  position: relative; width: min(460px, 100%); text-align: center; padding: 44px 32px 32px; border-radius: 26px;
  background: linear-gradient(180deg, #121c30, #0a111e); border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .9); animation: pop .6s var(--ease);
}
.modal__box h3 { font: 400 36px/1.1 var(--serif); margin: 0 0 12px; }
.modal__box p { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.modal__box .summary { text-align: left; margin-bottom: 20px; }
.modal__note { margin: 0 0 22px; }
.modal__note a { color: var(--gold-2); border-bottom: 1px solid rgba(241, 213, 154, .3); }
.modal__close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; display: grid; place-items: center; color: var(--muted); }
.modal__close svg { width: 20px; height: 20px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 210; transform: translate(-50%, 20px); opacity: 0;
  padding: 12px 20px; border-radius: 999px; background: #162137; border: 1px solid var(--line-2); font-size: 13px;
  transition: opacity .35s, transform .35s var(--ease); pointer-events: none; max-width: calc(100% - 32px); text-align: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Motion ---------------------------------------------------------------- */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); }

/* появление при прокрутке (скрываем только если работает JS) */
html.js .reveal {
  opacity: 0; transform: translate3d(0, 46px, 0);
  transition: opacity 1.1s var(--ease-out), transform 1.5s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
html.js .reveal--img { transform: translate3d(0, 70px, 0) scale(.94); }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* первый экран собирается при загрузке */
html.js .hero__word { opacity: 0; letter-spacing: .16em; filter: blur(10px); }
html.js .hero__stage { opacity: 0; translate: 0 70px; }
html.js .hero__intro, html.js .hero__picker, html.js .hero__brand, html.js .hero__cta, html.js .rail { opacity: 0; translate: 0 26px; }
html.js.is-loaded .hero__word {
  opacity: 1; letter-spacing: .04em; filter: blur(0);
  transition: opacity 1.6s var(--ease-out), letter-spacing 2.4s var(--ease-out), filter 1.6s var(--ease-out);
}
html.js.is-loaded .hero__stage { opacity: 1; translate: 0 0; transition: opacity 1.4s var(--ease-out) .25s, translate 1.8s var(--ease-out) .25s; }
html.js.is-loaded .hero__intro, html.js.is-loaded .hero__picker, html.js.is-loaded .hero__brand, html.js.is-loaded .hero__cta, html.js.is-loaded .rail {
  opacity: 1; translate: 0 0; transition: opacity 1.2s var(--ease-out), translate 1.4s var(--ease-out);
}
html.js.is-loaded .hero__intro { transition-delay: .55s; }
html.js.is-loaded .hero__picker { transition-delay: .7s; }
html.js.is-loaded .hero__brand, html.js.is-loaded .hero__cta { transition-delay: .85s; }
html.js.is-loaded .rail { transition-delay: 1s; }


.float { animation: float 7s ease-in-out infinite; will-change: transform; }
@keyframes float { 50% { transform: translateY(-14px); } }

@media (max-width: 860px) {
  html.js .reveal { transform: translate3d(0, 28px, 0); transition-duration: .9s, 1.2s; }
  html.js .reveal--img { transform: translate3d(0, 40px, 0) scale(.96); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html.js .reveal, html.js .hero__word, html.js .hero__stage, html.js .hero__intro, html.js .hero__picker,
  html.js .hero__brand, html.js .hero__cta, html.js .rail { opacity: 1; transform: none; translate: none; filter: none; letter-spacing: .04em; }
}

/* RESPONSIVE ------------------------------------------------------------ */
@media (max-width: 1080px) {
  .product__grid { grid-template-columns: 1fr 1fr; }
  .product__visual { grid-column: 1 / -1; order: -1 !important; min-height: 380px; }
  .product__visual img { max-height: 420px; }
  .product--rev .product__info { order: 1; }
  .product--rev .product__card { order: 2; }
  .order__grid { grid-template-columns: 1fr; }
  .order__summary { position: static; }
  .footer__grid { grid-template-columns: 1fr auto; }
  .footer__grid > .brand-logo { grid-column: 1 / -1; grid-row: 1; justify-self: center; width: 120px; margin-bottom: 10px; }
  .footer__quote { display: none; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: block; }
  .header .pill--sm { margin-left: auto; }
  .header.is-open .nav {
    display: grid; position: absolute; top: 100%; left: 0; right: 0; gap: 0;
    background: rgba(6, 10, 18, .96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
  }
  .header.is-open .nav a { padding: 14px 0; font: 400 24px/1 var(--serif); color: var(--text); border-bottom: 1px solid var(--line); }
  .header.is-open .nav a::after { display: none; }

  .hero__word { top: 84px; font-size: 22vw; }
  .hero__grid { grid-template-columns: 1fr; grid-template-rows: none; padding-top: 25vw; row-gap: 28px; min-height: 0; }
  .hero__stage { grid-column: 1; grid-row: 1; margin-top: -8vw; height: 440px; }
  .hero__intro { grid-row: 2; grid-column: 1; max-width: none; text-align: center; justify-self: center; padding: 0; }
  .hero__text { max-width: 420px; margin-left: auto; margin-right: auto; min-height: 0; }
  .hero__picker { grid-row: 3; grid-column: 1; justify-self: center; }
  .hero__brand { display: none; }
  .hero__cta { grid-row: 4; grid-column: 1; justify-self: center; }
  .rail--right, .rail--dots { display: none; }


  .product__grid { grid-template-columns: 1fr; }
  .product__info p { max-width: none; }
  .walls__head { grid-template-columns: 1fr; gap: 10px; }
  .walls__lead { justify-self: start; margin: 0; }
  .walls__fan { height: 440px; }
  .phone--l { transform: translateX(-48%) rotate(-8deg) scale(.82); }
  .phone--r { transform: translateX(48%) rotate(8deg) scale(.82); }
  .walls__fan:hover .phone--l { transform: translateX(-54%) rotate(-9deg) scale(.84); }
  .walls__fan:hover .phone--r { transform: translateX(54%) rotate(9deg) scale(.84); }
  .walls__more-nav { display: none; }
  .walls__strip { gap: 14px; }
  .walls__strip img, .more-tile { height: 240px; }
  .more-tile { width: 118px; }
  .specs--row { grid-template-columns: repeat(2, 1fr); width: 100%; row-gap: 18px; }
  .walls__buy { width: 100%; justify-content: space-between; }

  .manifesto { min-height: 0; padding: 0 0 80px; flex-direction: column; align-items: stretch; }
  .manifesto__img { position: relative; width: 100%; height: 420px; }
  .manifesto__inner { margin-top: -60px; }

  .choose-list { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; gap: 0; }
  .side-label { display: none; }
  .tabs-wrap { top: 60px; }
}

@media (max-width: 520px) {
  body { font-size: 14px; }
  .header { gap: 12px; }
  .logo { font-size: 17px; letter-spacing: .26em; }
  .hero__stage { height: 380px; }
  .picker__list { gap: 4px; }
  .pick__img, .pick__img img { height: 64px; max-height: 64px; }
  .pick__img--audio img { width: 46px; height: 46px; }
  .walls__fan { height: 380px; }
  .specs--row dd { font-size: 17px; }
  .walls__buy { flex-direction: column; align-items: stretch; gap: 16px; }
  .walls__buy .pill { width: 100%; }
  .bundle { grid-template-columns: auto 1fr; }
  .bundle__price { grid-column: 2; text-align: left; }
  .footer__grid { grid-template-columns: 1fr; justify-items: start; }
  .price__val { font-size: 38px; }
}

/* =========================================================
   СМАРТФОНЫ: доводка
   ========================================================= */

.product--walls, .products { overflow-x: clip; }

/* Сенсорные экраны: без «залипающих» hover-эффектов */
@media (hover: none) {
  .walls__fan:hover .phone--l { transform: translateX(-62%) rotate(-9deg) scale(.86); filter: brightness(.7); }
  .walls__fan:hover .phone--r { transform: translateX(62%) rotate(9deg) scale(.86); filter: brightness(.7); }
  .walls__strip img:hover, .more-tile:hover, .choose:hover, .pick:hover .pick__img img, .pill--gold:hover, .player__btn:hover { transform: none; }
  .walls__strip img { filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .7)); }
  .pill:not(.pill--gold):not(.pill--outline):hover { background: transparent; color: var(--text); border-color: rgba(236, 233, 226, .55); }
  .pill--outline:hover { background: transparent; color: var(--gold-2); border-color: rgba(212, 174, 106, .75); }
  .pill--outline:hover svg { transform: none; }
  .toc li:hover, .faq summary:hover { color: inherit; }
  .pill:active, .circle-btn:active, .choose:active, .pick:active { transform: scale(.97); }
}

@media (max-width: 860px) {
  .grain { display: none; }                         /* экономим батарею и плавность прокрутки */
  .float { animation-duration: 9s; }

  /* меню на весь экран */
  html.menu-open { overflow: hidden; }
  .header.is-open { background: var(--bg); border-bottom-color: var(--line); }
  .header.is-open .nav {
    position: fixed; top: 61px; left: 0; right: 0; height: calc(100dvh - 61px);
    display: flex; flex-direction: column; padding: 12px var(--gutter) calc(30px + env(safe-area-inset-bottom));
    background: var(--bg); backdrop-filter: none; border: 0; overflow-y: auto;
    animation: fade .3s;
  }
  .header.is-open .nav a { padding: 20px 0; font: 400 30px/1 var(--serif); }

  /* крупнее зоны нажатия */
  .circle-btn { width: 40px; height: 40px; }
  .circle-btn svg { width: 18px; height: 18px; }
  .dots { gap: 0; margin-right: -8px; }
  .dots button { width: 21px; height: 21px; padding: 8px; background-clip: content-box; border-radius: 50%; }
  .dots button.is-active { width: 32px; border-radius: 10px; }
  .pick { padding: 12px 4px; }
  .faq summary { padding: 22px 0; }
  .agree { font-size: 13px; padding: 4px 0; }
  .agree__box, .bundle__box { width: 24px; height: 24px; }

  /* продукты */
  .product { padding: 64px 0; }
  .product__visual { min-height: 0; padding: 10px 0 10px; }
  .product__visual img { max-height: 380px; }
  .audio-visual { width: min(300px, 82%); }
  .walls__buy { width: 100%; }
  .walls__buy .pill--cta { flex: 1; width: 100%; max-width: none; }

  /* манифест по центру */
  .manifesto__text { text-align: center; justify-items: center; margin: 0 auto; }
  .manifesto__text .display--right { text-align: center; }
  .manifesto__text p { max-width: 460px; }

  /* футер по центру */
  .footer__grid { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 26px; }
  .footer__grid > .brand-logo { grid-column: auto; }
  .footer__cta { flex-direction: column; gap: 18px; }
  .footer__nav { display: flex; gap: 24px; }
  .footer__bottom { padding-bottom: env(safe-area-inset-bottom); }

}

@media (max-width: 520px) {
  .hero__stage { height: 360px; }
  .display { font-size: clamp(40px, 12vw, 56px); }
  .product__title { font-size: 32px; }
  .walls__head .product__title { font-size: 40px; }
  .card__slide h4 { font-size: 27px; }
  .modal__box { padding: 36px 22px 24px; max-height: calc(100dvh - 32px); overflow-y: auto; }
  .modal__box h3 { font-size: 32px; }
  .toast { bottom: calc(16px + env(safe-area-inset-bottom)); }
  .walls__buy { flex-direction: row; align-items: center; }
  .walls__buy .pill--cta { max-width: none; }
}
