/* Мой хит, сайт v2, компактная версия. Палитра «бархатная ночь». */
:root {
  --night: #1f0e25;
  --night-2: #2a1430;
  --night-3: #331938;
  --wine: #4c1732;
  --wine-2: #5e1f3f;
  --gold: #e5b567;
  --gold-hi: #f5d9a2;
  --rose: #e7899c;
  --milk: #f6ede4;
  --lilac: #bba8c9;
  --lilac-dim: #93809f;
  --line: rgba(246, 237, 228, .13);
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: clamp(16px, 4.2vw, 64px);
  --maxw: 1360px;
  --head-h: 56px;
  --ease: cubic-bezier(.2, .75, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--night); color-scheme: dark; }
body {
  margin: 0;
  background: var(--night);
  color: var(--milk);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
/* бархатное зерно поверх всего, очень тихо */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .95 0 0 0 0 .9 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 8px; }
::selection { background: var(--rose); color: var(--night); }
[id] { scroll-margin-top: calc(var(--head-h) + 8px); }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--gold); color: var(--night);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }
.nw { white-space: nowrap; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -.012em; }
h2 { font-size: clamp(34px, 3.9vw, 56px); line-height: 1; text-wrap: balance; }
h3 { line-height: 1.1; }
.sec { padding: clamp(44px, 3.4vw, 56px) 0; }
.sec-head { display: grid; gap: 10px; }
.sec-lead { color: var(--lilac); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.5; max-width: 34em; text-wrap: pretty; }

/* ---------- кнопки ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 28px;
  border: 0; border-radius: 999px;
  font: 600 17px/1 var(--sans); letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  isolation: isolate; overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .3s, box-shadow .3s, color .3s;
}
.btn-label { position: relative; display: inline-block; }
.btn-gold {
  background: var(--gold); color: #2b0f25;
  box-shadow: 0 14px 34px -14px rgba(229, 181, 103, .7), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.btn-gold::after {
  content: ""; position: absolute; inset: -2px; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 250, 236, .85) 48%, rgba(255, 250, 236, .2) 56%, transparent 66%);
  transform: translateX(-130%);
}
.btn-gold:hover { background: #ecc27a; box-shadow: 0 18px 44px -14px rgba(229, 181, 103, .85), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-gold:hover::after { animation: sheen 1s var(--ease); }
[data-hero-cta]::after, [data-final-cta]::after { animation: sheen-idle 7.5s 3s var(--ease) infinite; }
@keyframes sheen { from { transform: translateX(-130%); } to { transform: translateX(130%); } }
@keyframes sheen-idle { 0%, 84% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
.btn-ghost { background: rgba(246, 237, 228, .06); color: var(--milk); box-shadow: inset 0 0 0 1px rgba(246, 237, 228, .3); }
.btn-ghost:hover { background: rgba(246, 237, 228, .12); }
.btn-lg { min-height: 62px; padding: 0 38px; font-size: 18px; }

.pp, .round-play { position: relative; }
.pp { width: 22px; height: 22px; display: inline-grid; place-items: center; }
.pp svg, .round-play svg { width: 100%; height: 100%; fill: currentColor; }
.i-pause { display: none; }
[aria-pressed="true"] .i-play { display: none; }
[aria-pressed="true"] .i-pause { display: block; }

/* ---------- шапка ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--head-h);
  transition: background-color .4s, box-shadow .4s;
}
.top.scrolled {
  background: rgba(31, 14, 37, .84);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.top-in { height: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 8px; }
.logo { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--milk); }
.logo-mark { width: 24px; height: 24px; color: var(--gold); flex: none; }
.nav { display: none; gap: 28px; margin-left: auto; font-size: 15px; color: var(--lilac); }
.nav a { text-decoration: none; transition: color .25s; }
.nav a:hover { color: var(--milk); }
.chip-price {
  margin-left: auto; padding: 8px 11px; border-radius: 999px; white-space: nowrap;
  font: 600 14px/1 var(--sans); color: var(--gold-hi); text-decoration: none;
  background: rgba(229, 181, 103, .12); box-shadow: inset 0 0 0 1px rgba(229, 181, 103, .28);
}
.top-cta {
  padding: 9px 14px; border-radius: 999px; white-space: nowrap;
  font: 600 14px/1.1 var(--sans); text-decoration: none;
  background: var(--gold); color: #2b0f25;
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.top:not(.scrolled) .top-cta { background: transparent; color: var(--gold-hi); box-shadow: inset 0 0 0 1px rgba(229, 181, 103, .55); }
.top-cta:hover { background: #ecc27a; color: #2b0f25; }
@media (max-width: 399px) { .logo-mark { display: none; } .logo { font-size: 18px; } }
@media (max-width: 349px) { .chip-price { display: none; } .top-cta { margin-left: auto; } }

/* ---------- первый экран ---------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 540px; max-height: 1080px;
  display: flex; flex-direction: column;
  padding-top: var(--head-h);
  overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s ease; touch-action: pan-y; }
.hero-poster {
  position: absolute; left: var(--disc-cx, 50%); top: var(--disc-cy, 24%);
  width: calc(var(--disc-r, 38vw) * 2.04); height: auto;
  transform: translate(-50%, -50%);
  transition: opacity 1.2s ease;
  pointer-events: none;
}
.hero.gl-on .hero-canvas { opacity: 1; }
.hero.gl-on .hero-poster { opacity: 0; }
.hero-scrim {
  position: absolute; inset: auto 0 0 0; height: 66%; pointer-events: none;
  background: linear-gradient(to top, var(--night) 30%, rgba(31, 14, 37, .78) 62%, rgba(31, 14, 37, 0));
}
.hero-stage { position: relative; z-index: 3; flex: 1 1 auto; min-height: 96px; pointer-events: none; }
.hero-lyric { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 4px; text-align: center; pointer-events: none; }
.hero-lyric .lyric-line { font-size: clamp(17px, 5vw, 21px); }
.hero-copy {
  position: relative; z-index: 3; flex: none;
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gutter) max(20px, env(safe-area-inset-bottom));
}
.hero-title { font-size: calc(clamp(36px, 10.6vw, 128px) * var(--h1k, 1)); line-height: 1; letter-spacing: -.02em; font-weight: 500; }
.hero-title .ln { display: block; }
@media (min-width: 360px) { .hero-title .ln { white-space: nowrap; } }
.wd { display: inline-block; }
.js .wd { opacity: 0; transform: translateY(.38em); filter: blur(10px); animation: wd-in 1.25s var(--ease) forwards; animation-delay: calc(var(--i) * 110ms + 300ms); }
@keyframes wd-in { to { opacity: 1; transform: none; filter: blur(0); } }
.hero-lead { margin-top: 12px; max-width: 27em; color: var(--lilac); font-size: clamp(16px, 1.45vw, 20px); line-height: 1.45; }
.facts { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.facts li {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 8px 6px 7px; border-radius: 999px;
  font-size: 13px; font-weight: 500; line-height: 1.2; color: var(--milk);
  background: rgba(31, 14, 37, .55); box-shadow: inset 0 0 0 1px rgba(246, 237, 228, .18);
}
.facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.facts b { font-weight: 600; color: var(--gold-hi); }
.js .hero-lead, .js .facts, .js .hero-actions, .js .hero-note { opacity: 0; animation: fade-in .9s ease forwards .85s; }
.js .facts { animation-delay: .95s; }
.js .hero-actions { animation-delay: 1.05s; }
.js .hero-note { animation-delay: 1.15s; }
@keyframes fade-in { to { opacity: 1; } }
.hero-actions { display: flex; flex-direction: column; gap: 4px; margin-top: 18px; }
.hero-actions .btn { width: 100%; }
.hero-actions .btn-ghost { min-height: 44px; background: transparent; box-shadow: none; }
.hero-actions .btn-ghost:hover { background: rgba(246, 237, 228, .06); }
.hero-note { margin-top: 6px; font-size: 13px; color: var(--lilac-dim); text-align: center; }

.lyric-line {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(21px, 2.2vw, 32px); line-height: 1.2; min-height: 1.2em;
  color: var(--milk); text-wrap: balance;
  text-shadow: 0 2px 18px rgba(31, 14, 37, .9);
}
.lw { display: inline-block; opacity: 0; transform: translateY(.25em); filter: blur(6px); transition: opacity .45s ease, transform .55s var(--ease), filter .5s ease, color .6s; }
.lw.on { opacity: 1; transform: none; filter: none; }
.lyric-line.rest .lw { opacity: 0; transition-duration: 1.2s; }
.hero-now { display: none; margin-top: 10px; font-size: 13px; color: var(--lilac); opacity: 0; transition: opacity .6s; }
.hero-now-title { color: var(--gold-hi); }
.hero-now-meta { margin-left: 12px; }
.hero-now-bar { display: block; height: 2px; margin: 8px auto 0; width: 200px; background: rgba(246, 237, 228, .14); border-radius: 2px; overflow: hidden; }
.hero-now-bar i { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); }
.hero.is-active .hero-now { opacity: 1; }

/* ---------- пластинки ---------- */
.crate-wrap { padding: 0; }
.crate {
  list-style: none; margin: 8px 0 0; padding: 40px var(--gutter) 8px;
  display: grid; grid-auto-flow: column; grid-auto-columns: min(72vw, 300px); gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
}
.crate::-webkit-scrollbar { display: none; }
.rec { scroll-snap-align: start; min-width: 0; }
.rec-hit { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; border-radius: 6px; -webkit-tap-highlight-color: transparent; }
.rec-hit:focus-visible { outline-offset: 6px; }
.rec-stage { position: relative; display: block; aspect-ratio: 1 / 1.3; perspective: 1000px; }
.rec-sleeve {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  aspect-ratio: 1; border-radius: 4px; overflow: hidden;
  background: var(--night-3);
  box-shadow: 0 34px 50px -26px rgba(6, 1, 8, .9), 0 0 0 1px rgba(246, 237, 228, .07);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease), box-shadow .6s;
  will-change: transform;
}
.rec-sleeve img { width: 100%; height: 100%; object-fit: cover; }
.rec-sheen {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background:
    radial-gradient(circle at var(--mx, 30%) var(--my, 25%), rgba(255, 238, 210, .34), rgba(255, 238, 210, 0) 42%),
    linear-gradient(115deg, rgba(255, 255, 255, 0) 40%, rgba(255, 245, 225, .12) 50%, rgba(255, 255, 255, 0) 60%);
  mix-blend-mode: screen;
}
.rec-vinyl {
  position: absolute; z-index: 1; left: 3%; width: 94%; aspect-ratio: 1;
  top: 25.4%;
  transform: translateY(var(--lift, -14%));
  transition: transform .9s var(--ease);
}
.rec-disc {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  background:
    radial-gradient(circle, rgba(0, 0, 0, 0) 0 30%, rgba(246, 237, 228, .05) 30.5%, rgba(0, 0, 0, 0) 31.5%),
    repeating-radial-gradient(circle, #170a19 0 1px, #3a1d41 1.7px 2.7px),
    #1a0c1d;
  box-shadow: inset 0 0 0 1.5px rgba(240, 160, 175, .42), inset 0 0 0 5px #170a19, 0 0 0 1px rgba(246, 237, 228, .1), 0 24px 40px -18px rgba(0, 0, 0, .8);
  animation: spin 1.8s linear infinite paused;
}
/* блик на самой пластинке крутится вместе с ней, так вращение видно */
.rec-disc::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(245, 217, 162, 0) 0 3%, rgba(245, 217, 162, .28) 4.5%, rgba(245, 217, 162, 0) 6.5% 100%);
}
.rec-disc img { position: absolute; left: 34%; top: 34%; width: 32%; height: 32%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #1a0c1c; }
.rec-disc::after { content: ""; position: absolute; left: 48.6%; top: 48.6%; width: 2.8%; height: 2.8%; border-radius: 50%; background: var(--night); }
.rec-vinyl::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 20deg, rgba(255, 236, 210, 0) 0 7%, rgba(255, 236, 210, .2) 12.5%, rgba(255, 236, 210, 0) 19% 51%, rgba(255, 236, 210, .14) 57.5%, rgba(255, 236, 210, 0) 65%);
}
@keyframes spin { to { transform: rotate(360deg); } }
.rec-ring { position: absolute; inset: -3.5%; width: 107%; height: 107%; transform: rotate(-90deg); opacity: 0; transition: opacity .6s; overflow: visible; }
.rec-ring circle { fill: none; stroke: var(--gold); stroke-width: .9; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0) * 100); }
.rec-arm { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; overflow: visible; pointer-events: none; }
.rec-arm .arm { transform-origin: 97px 3px; transform: rotate(-42deg); opacity: 0; transition: transform 1s var(--ease) .15s, opacity .5s; }
.rec-arm circle { fill: var(--gold); }
.rec-arm path { fill: none; stroke: #e9dfe4; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.rec-arm rect { fill: #e9dfe4; }
.rec.is-active { --lift: -44%; }
.rec.is-active .rec-ring { opacity: 1; }
.rec.is-playing .rec-disc { animation-play-state: running; }
.rec.is-playing .rec-arm .arm { opacity: 1; transform: rotate(0deg); }
.rec h3 { margin-top: 12px; font-size: clamp(24px, 1.9vw, 28px); }
.rec-meta { margin-top: 2px; font-size: 14px; color: var(--gold); }
.rec-text { display: grid; margin-top: 8px; }
.rec-text > * { grid-area: 1 / 1; transition: opacity .6s ease; }
.rec-story { font-size: 15px; line-height: 1.45; color: var(--lilac); }
.rec-lyric { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.15; color: var(--gold-hi); text-align: left; opacity: 0; align-self: center; text-shadow: none; }
.rec.has-line .rec-story { opacity: 0; }
.rec.has-line .rec-lyric { opacity: 1; }
.rec-wave { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.rec-wave .wave { height: 34px; }
.wave { width: 100%; height: 42px; cursor: pointer; touch-action: pan-y; }
.mini-time { font-variant-numeric: tabular-nums; color: var(--lilac-dim); font-size: 13px; }

@media (hover: hover) and (pointer: fine) {
  .rec-hit:hover .rec-sheen { opacity: 1; }
  .rec:not(.is-active) .rec-hit:hover { --lift: -27%; }
  .rec-hit:hover .rec-sleeve { box-shadow: 0 50px 70px -30px rgba(6, 1, 8, .95), 0 0 0 1px rgba(229, 181, 103, .25); }
}

/* ---------- как это работает ---------- */
.story-stage { position: relative; display: grid; gap: 26px; margin-top: 28px; }
.story-threads { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.story-threads path { fill: none; stroke: url(#thread-g); stroke-width: 1.3; stroke-linecap: round; opacity: .85; }
.story-note {
  position: relative; z-index: 1; margin: 0;
  padding: 18px 20px 20px;
  background: var(--night-2);
  border-radius: 24px 24px 24px 8px;
  box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -40px rgba(0, 0, 0, .8);
  max-width: 32em;
}
.story-note figcaption { font-size: 13px; color: var(--lilac-dim); margin-bottom: 8px; }
.story-text { font-size: clamp(18px, 1.7vw, 23px); line-height: 1.45; }
.story-text mark { position: relative; background: none; color: inherit; transition: color .6s; }
.story-text mark::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--rose));
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.story-text mark.on { color: var(--gold-hi); }
.story-text mark.on::after { transform: scaleX(1); }
.story-song { position: relative; z-index: 1; }
.story-song-cap { font-size: 13px; color: var(--lilac-dim); margin-bottom: 8px; }
.lyr { list-style: none; margin: 0; padding: 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(22px, 2.1vw, 31px); line-height: 1.22; }
.lyr li { transition: opacity .8s ease, filter .8s ease, transform .8s var(--ease), color .5s; }
.js .lyr li { opacity: .14; filter: blur(4px); transform: translateX(-10px); }
.js .lyr li.on { opacity: 1; filter: none; transform: none; }
.lyr li.now { color: var(--gold-hi); }
.mini-player { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.round-play {
  flex: none; width: 52px; height: 52px; padding: 15px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--gold); color: var(--night);
  box-shadow: 0 12px 30px -12px rgba(229, 181, 103, .8);
  transition: transform .25s var(--ease), background-color .25s;
}
.round-play:hover { transform: scale(1.06); background: #ecc27a; }
.round-play .i-play { transform: translateX(1.5px); }
.mini-body { flex: 1; min-width: 0; }
.mini-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 4px; font-size: 13px; color: var(--lilac); }

.steps { list-style: none; margin: clamp(28px, 3vw, 40px) 0 0; padding: 0; display: grid; gap: 0; }
.steps li {
  position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 12px; align-items: baseline;
  padding: 14px 0; border-top: 1px solid var(--line);
  transition: opacity .6s, border-color .6s;
}
.js .steps li { opacity: .4; }
.js .steps li.lit { opacity: 1; }
.steps li.lit { border-top-color: rgba(229, 181, 103, .55); }
.st-time { font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--gold); font-variant-numeric: lining-nums tabular-nums; }
.steps h3 { font-size: 22px; }
.steps p { margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--lilac); max-width: 26em; }

/* ---------- моменты ---------- */
.moments-grid { display: grid; gap: 26px; }
.moments-head { display: grid; gap: 10px; }
.moments-note { font-size: 13px; color: var(--lilac-dim); max-width: 30em; }
.phones {
  list-style: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px;
  display: grid; grid-auto-flow: column; grid-auto-columns: min(50vw, 210px); gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none;
}
.phones::-webkit-scrollbar { display: none; }
.phones > li { scroll-snap-align: start; }
.phone { margin: 0; }
.phone-body {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 17.6; padding: 8px; border: 0; cursor: pointer;
  border-radius: 32px;
  background: linear-gradient(160deg, #3a2040, #1a0b1d 60%);
  box-shadow: inset 0 0 0 1px rgba(246, 237, 228, .16), inset 0 0 0 4px rgba(0, 0, 0, .35), 0 34px 60px -36px rgba(0, 0, 0, .9);
  transition: transform .6s var(--ease), box-shadow .6s;
  -webkit-tap-highlight-color: transparent;
}
.phone-screen { position: relative; display: block; height: 100%; border-radius: 25px; overflow: hidden; background: #120814; }
.phone-screen video { width: 100%; height: 100%; object-fit: cover; }
.phone-notch { position: absolute; top: 8px; left: 50%; width: 30%; height: 16px; transform: translateX(-50%); border-radius: 16px; background: #0c050d; }
.phone-now {
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  display: flex; align-items: center; gap: 8px; padding: 8px 11px; border-radius: 14px;
  background: rgba(31, 14, 37, .62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(246, 237, 228, .14);
  font-size: 13px; font-weight: 500; color: var(--milk); text-align: left; white-space: nowrap; overflow: hidden;
}
.bars { display: inline-flex; align-items: flex-end; gap: 2px; width: 14px; height: 12px; flex: none; }
.bars i { flex: 1; height: 30%; border-radius: 1px; background: var(--gold); transition: height .3s; }
[aria-pressed="true"] .bars i { animation: bar .9s ease-in-out infinite; }
[aria-pressed="true"] .bars i:nth-child(2) { animation-delay: -.3s; }
[aria-pressed="true"] .bars i:nth-child(3) { animation-delay: -.6s; }
@keyframes bar { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.phone figcaption { margin-top: 12px; font-family: var(--serif); font-size: clamp(19px, 1.5vw, 22px); line-height: 1.15; }
@media (hover: hover) and (pointer: fine) {
  .phone-body:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(229, 181, 103, .4), inset 0 0 0 4px rgba(0, 0, 0, .35), 0 44px 70px -36px rgba(0, 0, 0, .95); }
}

/* ---------- бегущая строка ---------- */
.mq {
  overflow: hidden; white-space: nowrap; padding: 10px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.mq-belt { display: flex; width: max-content; will-change: transform; }
.mq-track { display: inline-flex; align-items: center; gap: .5em; padding-right: .5em; font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3vw, 42px); line-height: 1.1; }
.mq-w { transition: color .35s, text-shadow .35s; cursor: default; }
.mq-i { font-style: italic; color: var(--lilac); }
.mq-w:hover { color: var(--gold-hi); text-shadow: 0 0 30px rgba(229, 181, 103, .45); }
.mq-s { width: .16em; height: .16em; border-radius: 50%; background: var(--rose); opacity: .75; flex: none; }

/* ---------- цена и вопросы ---------- */
.pf-grid { display: grid; gap: 56px; }
.pf-price { container-type: inline-size; }
.pf-price .sec-lead { margin-top: 10px; }
.ticket-wrap {
  margin-top: 26px;
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .7s var(--ease);
  filter: drop-shadow(0 34px 40px rgba(8, 2, 10, .6));
}
.ticket {
  --notch: 13px; --px: 0px; --py: 0px;
  position: relative;
  display: grid; grid-template-columns: 1fr;
  background: var(--wine);
  border-radius: 16px;
  color: var(--milk);
  -webkit-mask:
    radial-gradient(circle var(--notch) at 0 var(--py), transparent 97%, #000 100%) left / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% var(--py), transparent 97%, #000 100%) right / 51% 100% no-repeat;
  mask:
    radial-gradient(circle var(--notch) at 0 var(--py), transparent 97%, #000 100%) left / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% var(--py), transparent 97%, #000 100%) right / 51% 100% no-repeat;
}
.ticket::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(circle at var(--mx, 70%) var(--my, 30%), rgba(255, 228, 190, .12), rgba(255, 228, 190, 0) 40%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .85 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.tk-stub, .tk-main { position: relative; padding: 22px 22px 24px; }
.tk-stub { background: var(--wine-2); border-radius: 16px 16px 0 0; }
.tk-main { border-radius: 0 0 16px 16px; }
.tk-perf { position: relative; height: 0; }
.tk-perf::before { content: ""; position: absolute; left: var(--notch); right: var(--notch); top: -1px; border-top: 2px dashed rgba(246, 237, 228, .28); }
.tk-kind { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold-hi); }
.tk-sum { font-family: var(--serif); font-variant-numeric: lining-nums; font-weight: 600; font-size: clamp(54px, 6vw, 84px); line-height: 1; margin-top: 10px; letter-spacing: -.02em; }
.tk-foil {
  background: linear-gradient(100deg, #c99446 0%, #f7dea8 calc(var(--fx, 40%) - 12%), #fff6e0 var(--fx, 40%), #e5b567 calc(var(--fx, 40%) + 14%), #b9823b 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tk-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; font-size: 15px; color: rgba(246, 237, 228, .88); }
.tk-list li { position: relative; padding-left: 20px; }
.tk-list li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--gold); }
.tk-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; font-size: 13px; color: rgba(246, 237, 228, .62); }
.tk-top [data-brand] { font-family: var(--serif); font-size: 17px; color: var(--milk); }
.tk-bottom { display: flex; flex-direction: column; gap: 16px; margin-top: 18px; }
.tk-code { width: 100%; height: 38px; opacity: .75; }
.tk-bottom .btn { width: 100%; }
.packs { margin-top: 22px; font-size: clamp(16px, 1.3vw, 18px); }
.pay { margin-top: 6px; color: var(--lilac); font-size: 14px; }

@container (min-width: 540px) {
  .ticket {
    grid-template-columns: minmax(0, 4fr) 0 minmax(0, 7fr);
    -webkit-mask:
      radial-gradient(circle var(--notch) at var(--px) 0, transparent 97%, #000 100%) top / 100% 51% no-repeat,
      radial-gradient(circle var(--notch) at var(--px) 100%, transparent 97%, #000 100%) bottom / 100% 51% no-repeat;
    mask:
      radial-gradient(circle var(--notch) at var(--px) 0, transparent 97%, #000 100%) top / 100% 51% no-repeat,
      radial-gradient(circle var(--notch) at var(--px) 100%, transparent 97%, #000 100%) bottom / 100% 51% no-repeat;
  }
  .tk-stub { border-radius: 16px 0 0 16px; padding: 24px 24px; }
  .tk-main { border-radius: 0 16px 16px 0; padding: 24px 30px; }
  .tk-sum { font-size: clamp(54px, 5.2vw, 76px); }
  .tk-list { margin-top: 10px; gap: 4px; }
  .tk-bottom { margin-top: 14px; }
  .tk-perf { height: auto; width: 0; }
  .tk-perf::before { left: -1px; right: auto; top: var(--notch); bottom: var(--notch); border-top: 0; border-left: 2px dashed rgba(246, 237, 228, .28); }
  .tk-bottom { flex-direction: row; align-items: center; }
  .tk-code { flex: 1; min-width: 0; }
  .tk-bottom .btn { width: auto; flex: none; }
}

.faq h2 { margin-bottom: 14px; }
.faq-list { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 17px 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-weight: 500; font-size: clamp(21px, 1.8vw, 26px); line-height: 1.15;
  transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-hi); }
.pm { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, transform .5s var(--ease); }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; margin: -.8px 0 0 -5.5px; background: var(--gold); border-radius: 2px; transition: transform .5s var(--ease); }
.pm::after { transform: rotate(90deg); }
details[open] .pm { transform: rotate(180deg); box-shadow: inset 0 0 0 1px rgba(229, 181, 103, .6); }
details[open] .pm::after { transform: rotate(0deg); }
.faq details p { padding: 0 0 18px; max-width: 34em; color: var(--lilac); font-size: 16px; }
.faq details[open] p { animation: faq-in .5s ease; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
.faq details a { color: var(--gold-hi); }

/* ---------- финал ---------- */
.final { position: relative; overflow: hidden; text-align: center; padding: clamp(52px, 5vw, 72px) 0; }
.final-rings { position: absolute; left: 50%; top: 50%; width: min(120vw, 860px); transform: translate(-50%, -50%) scale(1); opacity: .75; pointer-events: none; transition: transform 1.4s var(--ease), opacity 1s; }
.final:has(.btn:hover) .final-rings, .final:has(.btn:focus-visible) .final-rings { transform: translate(-50%, -50%) scale(1.07) rotate(8deg); opacity: 1; }
.final-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.final h2 { margin-inline: auto; max-width: 13em; }
.final .sec-lead { margin: 14px auto 0; }
.final .btn { margin-top: 22px; }

/* ---------- подвал ---------- */
.foot { padding: 34px 0 calc(30px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 14px; color: var(--lilac-dim); }
.foot p + p { margin-top: 8px; }
.foot-brand { font-family: var(--serif); font-size: 21px; color: var(--milk); }
.foot a { color: var(--lilac); }
.foot a:hover { color: var(--milk); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ============ планшет ============ */
@media (min-width: 700px) {
  .hero-actions { flex-direction: row; align-items: center; gap: 12px; }
  .hero-actions .btn { width: auto; }
  .hero-actions .btn-ghost { min-height: 54px; padding: 0 24px; box-shadow: inset 0 0 0 1px rgba(246, 237, 228, .3); }
  .hero-note { text-align: left; margin-top: 12px; }
  .phones { grid-auto-columns: 200px; }
}

/* ============ компьютер ============ */
@media (min-width: 900px) {
  :root { --head-h: 64px; }
  .logo { font-size: 21px; }
  .logo-mark { width: 28px; height: 28px; }
  .nav { display: flex; }
  .chip-price { display: none; }
  .top-cta { margin-left: 12px; padding: 10px 18px; font-size: 15px; }
  .facts { margin-top: 18px; }
  .facts { gap: 8px; }
  .facts li { font-size: 15px; padding: 8px 15px 8px 13px; gap: 8px; }
  .hero-actions { margin-top: 22px; }
  .sec-head { grid-template-columns: minmax(0, 1fr) minmax(0, 30em); align-items: end; gap: 40px; }
  .sec-head .sec-lead { justify-self: end; }
  .story-stage { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(64px, 8vw, 140px); align-items: center; margin-top: 26px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
  .steps li { grid-template-columns: 1fr; gap: 4px; padding: 16px 0 4px; }
  .steps p { font-size: 14px; }
  .steps li::before { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--night); box-shadow: inset 0 0 0 1.5px var(--lilac-dim); transition: box-shadow .4s; }
  .steps li.lit::before { box-shadow: inset 0 0 0 4px var(--gold); }
  .moments-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: center; gap: clamp(40px, 5vw, 80px); }
  .phones { margin: 0; padding: 0; grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 180px)); justify-content: end; overflow: visible; gap: clamp(16px, 2vw, 28px); }
  .final-in { flex-direction: row; justify-content: center; align-items: center; gap: clamp(32px, 5vw, 80px); text-align: left; }
  .final h2 { max-width: 12em; margin: 0; }
  .final .sec-lead { margin: 10px 0 0; }
  .final .btn { margin-top: 0; flex: none; }
}

@media (min-width: 1024px) {
  .crate-wrap { padding: 0 var(--gutter); }
  .crate { margin-top: 0; padding: 34px 0 0; grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; column-gap: clamp(22px, 2.4vw, 40px); row-gap: 0; }
  @supports (grid-template-rows: subgrid) {
    .rec { display: grid; grid-template-rows: subgrid; grid-row: span 5; align-content: start; }
  }
  .pf-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 88px); align-items: start; }
  .faq h2 { margin-bottom: 26px; }
}

/* первый экран рядом: текст слева, пластинка справа, без наложения (компьютер и телефон лёжа) */
@media (min-width: 900px), (orientation: landscape) and (min-width: 640px) and (max-height: 600px) {
  .hero { --disc-cx: 76%; --disc-cy: 42%; --disc-r: 17vw; }
  .hero-stage { display: contents; }
  .hero-scrim { display: none; }
  .hero-lyric { left: var(--lyric-left, 60%); right: auto; bottom: auto; top: var(--lyric-top); z-index: 3; width: var(--lyric-w, 36vw); }
  .hero-lyric .lyric-line { font-size: clamp(19px, 2.1vw, 30px); }
  .hero-now { display: block; }
  .hero-copy { margin-top: auto; padding-bottom: clamp(24px, 7vh, 80px); }
  .hero-title { font-size: calc(clamp(38px, min(6.1vw, 11vh), 100px) * var(--h1k, 1)); }
  .hero-actions { flex-direction: row; align-items: center; gap: 12px; }
  .hero-actions .btn { width: auto; }
  .hero-actions .btn-ghost { min-height: 54px; padding: 0 24px; box-shadow: inset 0 0 0 1px rgba(246, 237, 228, .3); }
  .hero-note { text-align: left; }
}
/* телефон лёжа: первый экран может быть чуть выше окна, текст не обрезаем */
@media (orientation: landscape) and (max-height: 600px) and (max-width: 899px) {
  .hero { height: auto; min-height: 100vh; min-height: 100svh; }
  .hero-lead { font-size: 15px; margin-top: 8px; }
  .facts { margin-top: 10px; }
  .hero-actions { margin-top: 12px; }
  .hero-actions .btn { min-height: 46px; }
}
/* короткие экраны ноутбуков */
@media (min-width: 900px) and (max-height: 780px) {
  .hero-lead { margin-top: 10px; }
  .facts { margin-top: 12px; }
  .hero-actions { margin-top: 16px; }
}

/* ============ меньше движения ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .wd, .js .hero-lead, .js .facts, .js .hero-actions, .js .hero-note { opacity: 1; transform: none; filter: none; animation: none; }
  .rec-disc { animation: none; }
  .mq { -webkit-mask-image: none; mask-image: none; white-space: normal; }
  .mq-track { display: flex; flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); column-gap: .45em; }
  .mq-clone, .mq-s { display: none; }
  .js .lyr li { opacity: 1; filter: none; transform: none; }
  .js .steps li { opacity: 1; }
}
