/* UNCREDITED — edition of one. 04.10, Амир: «нужно прям дороже всё. чёрно-белое и с голубым (доп) оттенком»,
   «шрифт более дорогой», «задумка с пластинкой пиздатая».
   Чёрное и белое. Голубой — только чернила: подпись на этикетке, штамп SOLD, линия проигрывания, фокус.
   Шрифты — набор data-type на <html> (site.json → "type"): editorial (Instrument Serif), didone (Bodoni Moda),
   swiss (Inter Tight). Текст — Inter Tight, цифры и каталожные номера — Geist Mono, подпись — Mrs Saint Delafield.
   Тема: тёмная по умолчанию, светлая — data-theme="light" (кнопка в шапке, localStorage unc_theme).
   Пластинка, конверт и этикетка одинаковые в обеих темах. */
:root {
  --display: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --text: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --hand: "Mrs Saint Delafield", "Snell Roundhand", cursive;
  --d-w: 400; --d-ls: -.012em; --d-lh: .98; --d-k: 1; --d-em: italic;

  --bg: #050608; --fg: #f3f5f8; --fg2: #bfc6cf; --graphite: #838c98; --rule: #1a1f27; --rule-strong: #333b46;
  --ink: #8fc4ff; --on-ink: #03111f;
  --surface: #0b0e13; --btn-bg: #f3f5f8; --btn-fg: #050608; --field: #333b46;
  --hover-row: rgb(143 196 255 / .045); --shade: rgb(0 0 0 / .75);
  --wave-base: #262c35; --wave-prev: #8a93a0;
  --disc-rim: 0 0 0 1px rgb(255 255 255 / .1);
  --foot-bg: #020304; --foot-fg: #838c98; --foot-hi: #f3f5f8; --dw-disc: #090b0f; --dw-line: #1a1f27; --dw-etch: #4a535f;
  --glow: rgb(120 180 255 / .13); --grain: 1;
  --vinyl: #060709; --label: #f5f7fa; --label-ink: #0a0c10; --label-grey: #6b7480; --pen: #2467d6;
  --gut: clamp(18px, 4vw, 64px); --max: 1320px; --body: 1.0625rem; --ease: cubic-bezier(.22, .8, .2, 1);
  --edge: max(var(--gut), calc((100% - var(--max)) / 2 + var(--gut)));   /* шапка и подвал — по левому краю колонки с содержимым */
  color-scheme: dark;
}
:root[data-type="didone"] { --display: "Bodoni Moda", Didot, "Bodoni 72", serif; --d-ls: -.02em; --d-lh: 1.03; --d-k: .86; }
:root[data-type="swiss"] { --display: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif; --d-w: 500; --d-ls: -.042em; --d-k: .86; --d-em: normal; }
:root[data-theme="light"] {
  --bg: #f4f5f7; --fg: #07090c; --fg2: #2c323a; --graphite: #66707c; --rule: #dde1e7; --rule-strong: #9aa3ae;
  --ink: #1f6fe0; --on-ink: #fff;
  --surface: #fff; --btn-bg: #07090c; --btn-fg: #f4f5f7; --field: #aab2bc;
  --hover-row: rgb(31 111 224 / .05); --shade: rgb(7 9 12 / .4);
  --wave-base: #cfd4db; --wave-prev: #7a838f;
  --disc-rim: 0 1px 0 1px #000;
  --glow: rgb(31 111 224 / .08); --grain: 0;
  --foot-bg: #07090c;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--fg); overflow-x: hidden; transition: background-color .3s, color .3s;
  font: 400 var(--body)/1.55 var(--text); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* зерно плёнки поверх чёрного фона (под содержимым): чёрный перестаёт быть плоским; на светлой теме выключено */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: var(--grain);
  background: 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 .055 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--ink); color: var(--on-ink); }
a { color: inherit; }
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 4px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: var(--d-w); letter-spacing: var(--d-ls); text-wrap: balance; }
h2 { font-size: calc(clamp(2.1rem, 3.8vw, 3.4rem) * var(--d-k)); line-height: 1.02; }
h3 { font-size: calc(1.7rem * var(--d-k)); line-height: 1.1; }
em { font-style: var(--d-em); }
p { margin: 0; text-wrap: pretty; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--btn-bg); color: var(--btn-fg); padding: 8px 12px; z-index: 60; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* мелкие прописные подписи и моноширинные цифры — два голоса интерфейса */
.eyebrow, .top nav, .crate-head, .crumbs, .name-try > span, .fact-k, .tp-cat, .tp-data dt, .tp-col dt, .inc thead th,
.foot-nav, .toc p, .lead label, .filters button, .lbl-k {
  font: 500 .72rem/1.4 var(--text); letter-spacing: .16em; text-transform: uppercase;
}
.r-cat, .r-data, .count, .hero-cap, .cam, .mini-time, .fmt, .inc-len, .tp-secs dd, .tp-hint, .foot-small, .sleeve-print { font-family: var(--mono); }

/* ── шапка ───────────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--edge); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--rule);
}
.mark { font: 600 .82rem/1 var(--text); letter-spacing: .36em; text-transform: uppercase; text-decoration: none; }
.top nav { display: flex; gap: clamp(18px, 3vw, 40px); }
.top nav a { text-decoration: none; color: var(--graphite); transition: color .2s; }
.top nav a:hover { color: var(--fg); }
.top-right { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
.theme-tog { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid var(--rule-strong); border-radius: 50%;
  background: transparent; color: var(--graphite); cursor: pointer; transition: color .2s, border-color .2s; }
.theme-tog:hover { color: var(--fg); border-color: var(--fg); }
.theme-tog svg { width: 14px; height: 14px; fill: currentColor; }
.theme-tog .i-sun, :root[data-theme="light"] .theme-tog .i-moon { display: none; }
:root[data-theme="light"] .theme-tog .i-sun { display: block; }

main > section, .tp, .legal, .guide { padding: 0 var(--gut); max-width: var(--max); margin: 0 auto; }
main > section + section { margin-top: clamp(96px, 12vw, 176px); }

/* ── кнопки и ссылки ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  font: 600 .76rem/1 var(--text); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  color: var(--btn-fg); background: var(--btn-bg); border: 1px solid var(--btn-bg); border-radius: 0; padding: 16px 28px; cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.btn:disabled { opacity: .5; cursor: progress; }
.btn-sm { padding: 11px 18px; font-size: .7rem; }
.btn-lg { padding: 19px 34px; font-size: .8rem; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--rule-strong); }
.btn-ghost:hover { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.text-link { font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--rule-strong); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.text-link:hover { color: var(--ink); border-bottom-color: currentColor; }
.arrow::after { content: "→"; display: inline-block; margin-left: .5em; transition: translate .25s var(--ease); }
.arrow:hover::after { translate: 4px 0; }
.link-btn { font: inherit; font-weight: 500; background: none; border: 0; color: var(--graphite); padding: 10px 8px; cursor: pointer; }
.link-btn:hover { color: var(--fg); }

/* ── пластинка ───────────────────────────────────────── */
.rec { position: relative; aspect-ratio: 1; }
.disc {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 23.6%, #000 23.8% 24.6%, transparent 24.8%),
    radial-gradient(circle, transparent 0 46%, #000 46.3% 46.6%, transparent 46.9%),
    repeating-radial-gradient(circle, #0b0d11 0 1px, #15181d 1px 2.2px),
    var(--vinyl);
  box-shadow: var(--disc-rim), 0 34px 60px -28px var(--shade);
}
.sheen {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 210deg, transparent 0 8%, rgb(176 214 255 / .14) 14%, transparent 22% 58%, rgb(176 214 255 / .09) 64%, transparent 72%);
  -webkit-mask: radial-gradient(circle, transparent 0 25%, #000 25.5%); mask: radial-gradient(circle, transparent 0 25%, #000 25.5%);
}
.lbl {
  position: absolute; inset: 24%; border-radius: 50%; container-type: inline-size; color: var(--label-ink);
  background: radial-gradient(circle at 38% 32%, #fff, var(--label) 55%, #e6e9ee);
  box-shadow: inset 0 0 0 1px rgb(10 12 16 / .08);
}
.lbl-print { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lbl-ring { fill: none; stroke: rgb(10 12 16 / .5); stroke-width: .5; }
.lbl-arc { font: 500 7.8px var(--text); letter-spacing: 3px; text-transform: uppercase; fill: rgb(10 12 16 / .72); }
.lbl > span { position: absolute; left: 0; right: 0; text-align: center; }
.lbl-cat {
  top: 24.5%; left: 31% !important; right: 31% !important; font: 500 5.6cqi/1 var(--mono); letter-spacing: .08em;
  border: .3cqi solid currentColor; padding: 1.5cqi 0 1.3cqi;
}
.lbl-side { top: 43%; left: 13% !important; right: auto !important; font: var(--d-w) 13cqi/1 var(--display); }
.lbl-rpm { top: 46.5%; left: auto !important; right: 11% !important; font: 400 4.2cqi/1 var(--mono); color: var(--label-grey); }
.lbl-title {
  top: 60.5%; left: 12% !important; right: 12% !important; font: var(--d-em) var(--d-w) calc(11cqi * var(--d-k))/1 var(--display); letter-spacing: var(--d-ls);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding-bottom: .1em;
}
.lbl-artist-row { top: 77.5%; left: 24% !important; right: 24% !important; display: flex; align-items: flex-end; gap: 2.5cqi; border-bottom: .3cqi solid rgb(10 12 16 / .55); padding-bottom: .4cqi; }
.lbl-k { font-size: 3.2cqi; color: var(--label-grey); padding-bottom: .9cqi; }
.lbl-artist { flex: 1; min-width: 0; font: 13cqi/.8 var(--hand); color: var(--label-grey); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .4; text-align: left; padding: 2cqi 1cqi 0; }
.lbl-artist.is-set { color: var(--pen); opacity: 1; }
.spindle, .spindle-hole {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%; display: grid; place-items: center;
}
.spindle-hole { width: 7%; height: 7%; background: var(--bg); box-shadow: inset 0 1px 2px rgb(0 0 0 / .4); }
.spindle {
  width: 19%; height: 19%; border: 0; padding: 0; cursor: pointer; color: var(--label); background: var(--vinyl);
  box-shadow: 0 0 0 1.2cqi var(--label), 0 0 0 1.4cqi rgb(10 12 16 / .25); transition: background .25s;
}
.spindle svg { width: 44%; height: 44%; fill: currentColor; }
.spindle:hover, .spindle.on { background: var(--pen); }
.play .i-pause, .play.on .i-play, .mini-play .i-pause, .mini-play.on .i-play { display: none; }
.play.on .i-pause, .mini-play.on .i-pause { display: block; }
.rec.is-playing .disc { animation: spin 1.333s linear infinite; }       /* 45 rpm */
@keyframes spin { to { transform: rotate(1turn); } }

/* штамп: SOLD и тип трека — тонкая рамка, чернила */
.stamp {
  display: inline-block; font: 600 .7rem/1 var(--text); text-transform: uppercase; letter-spacing: .22em;
  color: var(--ink); border: 1px solid currentColor; padding: .62em .6em .56em .82em; pointer-events: none;
}
.rec .stamp { position: absolute; left: 50%; top: 50%; translate: -50% -50%; rotate: -8deg; font-size: clamp(.9rem, 2vw, 1.5rem); color: #8fc4ff; background: #050608; }
.rec.is-sold .disc { filter: brightness(.6); }

/* ── первый экран ────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: center;
  padding-top: clamp(40px, 6vw, 96px);
}
/* холодный свет за пластинкой — тот самый голубой оттенок */
.hero, .tp-top { position: relative; }
.hero::before, .tp-top::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; left: -6%; top: 50%; translate: 0 -50%; width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, var(--glow), transparent);
}
/* конверт = пластинка по размеру; пластинка выдвинута на 78%, чтобы этикетка (r = 26% диска) вышла из конверта целиком */
.sleeve-wrap { position: relative; aspect-ratio: 1.78; width: 116%; margin-left: -16%; }   /* конверт уходит за левый край — пластинка крупнее */
.hero-art { min-width: 0; }
.sleeve {
  position: absolute; left: 0; top: 0; width: 56.2%; height: 100%; z-index: 2;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(135deg, #ffffff, #eceff3);
  box-shadow: 0 1px 2px rgb(7 9 12 / .12), 0 40px 70px -34px var(--shade), inset -1px 0 0 rgb(7 9 12 / .06);
}
/* вырубка конверта: в ней видна этикетка ещё не вынутой пластинки — бумага темнее */
.sleeve-hole { position: absolute; left: 50%; top: 50%; width: 36%; height: 36%; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, #c9ced6 0 6%, #e2e6eb 7% 100%); box-shadow: inset 0 3px 8px rgb(7 9 12 / .22); }
.sleeve-print { position: absolute; right: 7%; bottom: 6%; font-size: clamp(.5rem, .72vw, .64rem); letter-spacing: .22em; text-transform: uppercase; color: rgb(7 9 12 / .55); }
.sleeve-wrap .rec { position: absolute; top: 0; height: 100%; left: 43.8%; z-index: 1; }
.hero-cap { margin-top: 22px; margin-left: auto; color: var(--graphite); font-size: .78rem; line-height: 1.7; letter-spacing: .02em; max-width: 60ch; }
.hero-cap a { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--rule-strong); }
.hero-cap a:hover { color: var(--ink); border-bottom-color: currentColor; }
.cam { color: var(--graphite); }
.hero h1 { font-size: calc(clamp(3rem, 5.9vw, 5.7rem) * var(--d-k)); line-height: var(--d-lh); }
.hero h1 .eyebrow { display: block; margin-bottom: 24px; color: var(--graphite); }
.hero h1 .l, .hero h1 em { display: block; }
.hero h1 em { color: var(--graphite); }
.lede { margin-top: 26px; font-size: clamp(1.08rem, 1.35vw, 1.25rem); line-height: 1.5; max-width: 40ch; color: var(--fg2); }
.name-try { display: grid; gap: 0; margin-top: 38px; max-width: 24rem; color: var(--graphite); }
.name-try input {
  font: 2.9rem/1 var(--hand); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--rule-strong);
  padding: 12px 4px 0; width: 100%; transition: border-color .25s;
}
.name-try input::placeholder { color: color-mix(in srgb, var(--fg) 22%, transparent); }
.name-try input:focus { outline: none; border-bottom-color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; margin-top: 38px; }

/* одно движение при загрузке: пластинка выезжает из конверта */
@media (prefers-reduced-motion: no-preference) {
  .sleeve-wrap .rec { animation: slideout 1.6s var(--ease) .25s both; }
  .sleeve-wrap .rec .disc { animation: settle 1.6s var(--ease) .25s both; }
  .sleeve-wrap .rec.is-playing .disc { animation: spin 1.333s linear infinite; }
}
@keyframes slideout { from { left: 0; } }
@keyframes settle { from { transform: rotate(-140deg); } }

/* ── волна ───────────────────────────────────────────── */
.wave { display: block; width: 100%; height: 100%; }
.wave .w-base { fill: var(--wave-base); }
/* --s/--e: где в треке минута превью; --p: 0..1 прогресс по ней */
.wave .w-prev { fill: var(--wave-prev); clip-path: inset(0 calc(100% - var(--e)) 0 var(--s)); }
.wave .w-played { fill: var(--ink); clip-path: inset(0 calc(100% - var(--s) - (var(--e) - var(--s)) * var(--p, 0)) 0 var(--s)); }
.r-wave, .ht-wave { cursor: pointer; }

/* ── каталог ─────────────────────────────────────────── */
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; margin-bottom: 30px; }
.count { color: var(--graphite); font-size: .8rem; letter-spacing: .04em; }
.filters { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.filters button { color: var(--graphite); background: transparent; border: 0; border-bottom: 1px solid transparent; padding: 6px 0; cursor: pointer; transition: color .2s; }
.filters button:hover { color: var(--fg); }
.filters button[aria-pressed="true"] { color: var(--fg); border-bottom-color: var(--fg); }
.crate-head, .row {
  display: grid; align-items: center; column-gap: clamp(16px, 2.4vw, 36px);
  grid-template-columns: 56px minmax(11rem, 1.1fr) minmax(0, 2fr) auto 10.5rem;
}
.crate-head { padding: 0 0 12px; border-bottom: 1px solid var(--rule-strong); color: var(--graphite); }
.crate-head span:last-child { text-align: right; }
.ch-data, .r-data { display: grid; grid-template-columns: 3rem 5.6rem; gap: 14px; }
.crate { list-style: none; margin: 0; padding: 0; }
.row { position: relative; padding: 20px 0; border-bottom: 1px solid var(--rule); transition: background .3s; }
.row:hover { background: linear-gradient(90deg, transparent, var(--hover-row) 18%, var(--hover-row) 82%, transparent); }
.row[hidden] { display: none; }
.r-rec .rec { width: 56px; }
.rec-sm .lbl { inset: 30%; }
.rec-sm .spindle { width: 100%; height: 100%; box-shadow: none; background: var(--vinyl); color: var(--label); }
.rec-sm .spindle:hover, .rec-sm .spindle.on { background: var(--pen); }
.rec-sm .spindle svg { width: 50%; height: 50%; }
.rec-sm .disc { box-shadow: var(--disc-rim), 0 6px 14px -8px var(--shade); }
.r-head { position: relative; display: grid; gap: 3px; min-width: 0; justify-items: start; }
.r-cat { color: var(--graphite); font-size: .68rem; letter-spacing: .14em; }
.r-title { font: var(--d-w) calc(1.75rem * var(--d-k))/1.05 var(--display); letter-spacing: var(--d-ls); text-decoration: none; overflow-wrap: anywhere; transition: color .2s; }
a.r-title:hover { color: var(--ink); }
.r-genre { color: var(--graphite); font-size: .88rem; }
.r-wave { height: 44px; }
.r-data { margin: 0; font-size: .86rem; }
.r-data div { display: block; }
.r-data dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.r-data dd { margin: 0; white-space: nowrap; }
.r-buy { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.r-price { font: var(--d-w) calc(1.5rem * var(--d-k))/1 var(--display); letter-spacing: var(--d-ls); }
.row.is-sold { color: var(--graphite); }
.row.is-sold .r-wave { opacity: .4; cursor: default; }
.row.is-sold .rec-sm .disc { opacity: .5; }
.r-head .stamp { font-size: .58rem; margin-top: 5px; }
.sold-note { color: var(--graphite); font: 500 .72rem var(--text); letter-spacing: .16em; text-transform: uppercase; }
.empty { padding: 36px 0; font-size: 1.15rem; color: var(--fg2); max-width: 56ch; }

/* ── три факта вместо длинной главной ─────────────────── */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.facts > div { border-top: 1px solid var(--rule-strong); padding-top: 20px; }
.fact-k { color: var(--graphite); }
.facts h3 { margin-top: 14px; font-size: calc(clamp(1.5rem, 2.2vw, 2rem) * var(--d-k)); line-height: 1.12; max-width: 18ch; }
.facts-more { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: clamp(8px, 2vw, 24px); }

/* ── что входит (страница «как это работает») ─────────── */
.pack-list { margin: 22px 0 0; border-top: 1px solid var(--rule-strong); }
.pack-list div { display: grid; grid-template-columns: minmax(10rem, 1fr) minmax(0, 1.6fr); gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.pack-list dt { font-weight: 500; }
.pack-list dd { margin: 0; color: var(--graphite); }

/* ── шаги (это последовательность — номера по делу) ───── */
.steps ol { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); counter-reset: s; }
.steps-5 ol { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps li { counter-increment: s; border-top: 1px solid var(--rule-strong); padding-top: 18px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 400 .78rem/1 var(--mono); letter-spacing: .1em; color: var(--graphite); margin-bottom: 16px; }
.steps p { color: var(--graphite); margin-top: 8px; max-width: 32ch; font-size: .98rem; }
.more { margin-top: 40px; }

/* ── под заказ, формы ────────────────────────────────── */
.custom { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.custom-copy p { margin-top: 18px; color: var(--fg2); max-width: 40ch; font-size: 1.12rem; }
.custom-copy .from { font: var(--d-w) calc(1.9rem * var(--d-k))/1 var(--display); color: var(--fg); }
.lead { display: grid; gap: 26px; }
.lead label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; color: var(--graphite); }
.lead label > :is(input, textarea, select) { flex: 1 0 100%; }
.opt { text-transform: none; letter-spacing: 0; font-size: .86rem; font-weight: 400; opacity: .8; }
.lead input, .lead textarea, .lead select {
  font: 400 1.08rem/1.4 var(--text); letter-spacing: 0; text-transform: none; color: var(--fg); background: transparent;
  border: 0; border-bottom: 1px solid var(--field); border-radius: 0; padding: 8px 0; width: 100%; transition: border-color .2s;
}
.lead textarea { resize: vertical; border: 1px solid var(--field); padding: 12px 14px; margin-top: 6px; }
.lead select { appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23838c98' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 4px center / 11px; padding-right: 24px; }
.lead select option { background: var(--surface); color: var(--fg); }
.lead input:focus, .lead textarea:focus, .lead select:focus { outline: none; border-color: var(--ink); }
.lead ::placeholder { color: color-mix(in srgb, var(--fg) 28%, transparent); }
.lead .btn { justify-self: start; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.lead .hp { position: absolute; left: -9999px; }
.form-msg { color: var(--graphite); min-height: 1.5em; font-size: .95rem; }
.form-msg.ok { color: var(--ink); }

/* ── вопросы ─────────────────────────────────────────── */
.faq > * { max-width: 960px; }   /* ширина секции общая — слева по общей колонке, узкий только текст */
.faq h2 { margin-bottom: 26px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 20px 0; font: var(--d-w) calc(1.55rem * var(--d-k))/1.2 var(--display); letter-spacing: var(--d-ls); list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 1.2rem/1 var(--text); color: var(--graphite); }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--ink); }
.faq details p { padding: 0 0 24px; color: var(--fg2); max-width: 64ch; }

/* ── диалог покупки ──────────────────────────────────── */
.buy-dlg { background: var(--surface); color: var(--fg); border: 1px solid var(--rule-strong); border-radius: 0; padding: 32px; width: min(480px, calc(100vw - 32px)); }
.buy-dlg::backdrop, .zoom-dlg::backdrop { background: var(--shade); backdrop-filter: blur(6px); }
.buy-dlg h2 { font-size: calc(2.2rem * var(--d-k)); }
.dlg-price { color: var(--graphite); }
.dlg-note { color: var(--fg2); font-size: .98rem; }
.dlg-actions { display: flex; gap: 8px; align-items: center; }

/* ── страница трека ──────────────────────────────────── */
.tp { padding-top: clamp(24px, 3vw, 40px); }
.crumbs { display: flex; gap: 14px; color: var(--graphite); }
.crumbs a { text-decoration: none; transition: color .2s; }
.crumbs a:hover { color: var(--fg); }
.crumbs a + a::before { content: "/"; margin-right: 14px; opacity: .5; }
.tp-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: 28px; }
.tp-art .rec { width: min(100%, 580px); }
.tp-cat { color: var(--graphite); }
.tp-title { font-size: calc(clamp(3.1rem, 7.2vw, 6.6rem) * var(--d-k)); line-height: .95; margin-top: 14px; overflow-wrap: anywhere; }
.tp-data { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; margin: 32px 0 0; border-top: 1px solid var(--rule-strong); }
.tp-data div { padding: 12px 0 11px; border-bottom: 1px solid var(--rule); }
.tp-data dt { color: var(--graphite); }
.tp-data dd { margin: 3px 0 0; font-weight: 500; font-size: 1.08rem; }
.tp-buy { margin-top: 32px; display: grid; justify-items: start; gap: 16px; }
.tp-price { font: var(--d-w) calc(3.6rem * var(--d-k))/1 var(--display); letter-spacing: var(--d-ls); }
.tp-small, .tp-sold { color: var(--graphite); font-size: .92rem; }
.tp-wave { margin-top: clamp(44px, 5vw, 72px); }
.tp-wave .ht-wave { height: clamp(72px, 9vw, 120px); }
.tp-hint { color: var(--graphite); margin-top: 10px; font-size: .76rem; letter-spacing: .02em; }
.tp-desc { max-width: 62ch; margin-top: 36px; font-size: 1.2rem; line-height: 1.5; color: var(--fg2); }
.tp-plugins { max-width: 72ch; margin-top: 12px; color: var(--graphite); }
.tp-note { max-width: 62ch; margin-top: 16px; color: var(--fg2); }
.tp section { margin-top: clamp(80px, 10vw, 136px); }
.tp section h2 { margin-bottom: 26px; }

/* ── внутри проекта: тип, скриншот проекта, установка / вокал / структура ── */
.type-line { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.type-stamp { flex: none; }
.type-line p { flex: 1 1 28rem; max-width: 66ch; font-size: 1.12rem; color: var(--fg2); }
.shot { margin: 36px 0 0; }
.shot a { display: block; border: 1px solid var(--rule-strong); background: #2e2e2e; cursor: zoom-in; overflow: hidden; }
.shot img { display: block; width: 100%; height: auto; transition: scale .6s var(--ease); }
.shot a:hover img { scale: 1.012; }
.shot figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 12px; color: var(--graphite); font-size: .92rem; }
.shot figcaption span { font: 400 .76rem/1.9 var(--mono); letter-spacing: .02em; }
.zoom-dlg { padding: 0; border: 0; background: transparent; width: 100vw; height: 100dvh; max-width: none; max-height: none; overflow: auto; overscroll-behavior: contain; }
.zoom-dlg img { display: block; margin: auto; width: auto; height: auto; max-width: 96vw; max-height: 92dvh; position: absolute; inset: 0; cursor: zoom-in; box-shadow: 0 30px 80px rgb(0 0 0 / .6); }
.zoom-dlg.is-full img { position: static; max-width: none; max-height: none; width: var(--fw); cursor: zoom-out; }
.zoom-close { position: fixed; right: 18px; top: 16px; z-index: 2; width: 40px; height: 40px; border: 1px solid rgb(255 255 255 / .3); border-radius: 50%; background: rgb(5 6 8 / .7); color: #f3f5f8; font: 300 1.3rem/1 var(--text); cursor: pointer; }
.zoom-close:hover { border-color: #fff; }
.tp-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); margin-top: clamp(44px, 5vw, 72px); align-items: start; }
.tp-col { border-top: 1px solid var(--rule-strong); padding-top: 20px; }
.tp-col h3 { margin-bottom: 12px; }
.tp-col p { color: var(--fg2); max-width: 44ch; font-size: .98rem; }
.tp-col p + p { margin-top: 10px; }
.tp-col dl { margin: 0; }
.tp-col dl div { display: grid; grid-template-columns: 5.4rem minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.tp-col dt { color: var(--graphite); }
.tp-col dd { margin: 0; font-size: .98rem; }
.tp-secs div { grid-template-columns: minmax(0, 1fr) auto !important; }
.tp-secs dt { color: var(--fg) !important; font: 400 .98rem/1.55 var(--text) !important; letter-spacing: 0 !important; text-transform: none !important; }
.tp-secs dd { color: var(--graphite); font-size: .8rem; }
.tp-col .tp-fine { color: var(--graphite); font-size: .88rem; margin-top: 14px; }

/* ── что получает покупатель: файл / что внутри / формат ── */
.inc { width: 100%; border-collapse: collapse; border-top: 1px solid var(--rule-strong); }
.inc th, .inc td { text-align: left; vertical-align: top; padding: 15px 20px 15px 0; border-bottom: 1px solid var(--rule); }
.inc thead th { color: var(--graphite); padding-top: 12px; padding-bottom: 12px; }
.inc tbody th { font-weight: 500; white-space: nowrap; }
.inc td { color: var(--graphite); font-size: .98rem; }
.inc .inc-fmt { text-align: right; white-space: nowrap; padding-right: 0; }
.inc-len { font-size: .8rem; color: var(--graphite); margin-left: 8px; }
.fmt { display: inline-block; margin-left: 6px; padding: 3px 7px 2px; border: 1px solid var(--rule-strong); color: var(--fg2); font-size: .68rem; letter-spacing: .1em; }
.inc details { margin-top: 6px; }
.inc summary { cursor: pointer; color: var(--fg2); border-bottom: 1px solid var(--rule-strong); list-style: none; width: max-content; transition: color .2s; }
.inc summary::-webkit-details-marker { display: none; }
.inc summary:hover { color: var(--ink); }
.inc details p { margin-top: 10px; max-width: 70ch; font-size: .92rem; }
.inc-note { margin-top: 16px; color: var(--graphite); font-size: .88rem; }

/* ── жанры, гайд, юридическое ────────────────────────── */
.gp, .guide { padding-top: clamp(24px, 3vw, 40px); }
.gp-title { font-size: calc(clamp(3rem, 7vw, 6.2rem) * var(--d-k)); line-height: .96; margin-top: 22px; max-width: 16ch; }
.gp .lede, .guide .lede { margin-top: 24px; max-width: 52ch; }
.gp .count { margin: 52px 0 18px; }
.guide .steps { margin-top: clamp(56px, 7vw, 96px); }
.guide-grid { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(64px, 8vw, 112px); align-items: start; }
.toc { position: sticky; top: 96px; color: var(--graphite); font-size: .95rem; }
.toc p { margin-bottom: 14px; }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.toc a { text-decoration: none; transition: color .2s; }
.toc a:hover { color: var(--fg); }
.guide-body { max-width: 66ch; }
.guide-body section + section { margin-top: 56px; }
.guide-body h2 { font-size: calc(clamp(1.9rem, 3vw, 2.5rem) * var(--d-k)); margin-bottom: 16px; }
.guide-body p { font-size: 1.12rem; line-height: 1.6; color: var(--fg2); }
.guide-body p + p { margin-top: 14px; }
.guide-body .cta-row { margin-top: 56px; }
.guide .faq { margin-top: clamp(80px, 10vw, 136px); }
.legal { padding-top: clamp(40px, 5vw, 72px); }
.legal h1 { font-size: calc(clamp(2.8rem, 6vw, 5rem) * var(--d-k)); line-height: .98; margin-bottom: 30px; }
.legal p { margin-top: 14px; max-width: 64ch; font-size: 1.08rem; color: var(--fg2); }
.legal .address { font-weight: 500; line-height: 1.6; }

/* ── мини-плеер ─────────────────────────────────────── */
.mini {
  position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 35; translate: -50% 0;
  width: min(720px, calc(100vw - 24px)); display: grid; grid-template-columns: 40px auto minmax(0, 1fr) minmax(60px, 1.1fr) auto auto;
  align-items: center; gap: 16px; padding: 10px 10px 10px 12px;
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(14px); border: 1px solid var(--rule-strong); box-shadow: 0 24px 50px -20px var(--shade);
}
.mini[hidden] { display: none; }
.mini .rec { width: 40px; }
.mini .rec .lbl { inset: 30%; }
.mini-play { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--btn-bg); color: var(--btn-fg); display: grid; place-items: center; cursor: pointer; padding: 0; transition: background .2s; }
.mini-play:hover { background: var(--ink); color: var(--on-ink); }
.mini-play svg { width: 44%; height: 44%; fill: currentColor; }
.mini-title { font: var(--d-w) calc(1.3rem * var(--d-k))/1.1 var(--display); letter-spacing: var(--d-ls); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-bar { height: 1px; background: var(--rule-strong); overflow: hidden; }
.mini-bar span { display: block; height: 100%; width: calc(var(--mp, 0) * 100%); background: var(--ink); }
.mini-time { color: var(--graphite); font-size: .74rem; }
body.has-mini .foot { padding-bottom: 120px; }

/* ── подвал: мёртвая дорожка с выцарапанной надписью ── */
.foot { position: relative; overflow: hidden; margin-top: clamp(120px, 14vw, 208px); background: var(--foot-bg); color: var(--foot-fg); border-top: 1px solid var(--rule); padding: clamp(56px, 7vw, 96px) var(--edge) 34px; }
.deadwax { position: absolute; right: clamp(-200px, -8vw, -60px); top: 50%; translate: 0 -50%; width: clamp(360px, 44vw, 640px); pointer-events: none; }
.deadwax svg { display: block; width: 100%; height: auto; }
.dw-disc { fill: var(--dw-disc); stroke: var(--dw-line); stroke-width: 1; }
.dw-lbl { fill: none; stroke: var(--dw-line); stroke-width: 1; }
.dw-hole { fill: var(--foot-bg); stroke: var(--dw-line); stroke-width: 1; }
.dw-etch { font: 500 11.5px var(--text); letter-spacing: 3.6px; fill: var(--dw-etch); text-transform: uppercase; }
.foot-in { position: relative; display: grid; gap: clamp(36px, 5vw, 64px); }
.foot-mark { color: var(--foot-hi); font: 600 .82rem/1 var(--text); letter-spacing: .36em; text-transform: uppercase; }
.foot-brand p + p { margin-top: 14px; max-width: 34ch; font-size: .95rem; }
.foot-navs { display: grid; gap: 14px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 12px clamp(20px, 3vw, 40px); }
.foot-nav[aria-label="Legal"] { opacity: .7; }
.foot-nav a { text-decoration: none; transition: color .2s; }
.foot-nav a:hover { color: var(--foot-hi); }
.foot-small { font-size: .7rem; letter-spacing: .04em; color: #4a535f; }

/* ── адаптив ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .crate-head { display: none; }
  .row { grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: "r h b" "r w w" "r d d"; row-gap: 12px; align-items: start; }
  .r-rec { grid-area: r; } .r-head { grid-area: h; } .r-buy { grid-area: b; } .r-wave { grid-area: w; height: 38px; }
  .r-data { grid-area: d; display: flex; flex-wrap: wrap; gap: 4px 18px; }
  .r-data div { display: flex; gap: 8px; }
  .r-data dt { position: static; width: auto; height: auto; clip: auto; overflow: visible; color: var(--graphite); }
  .steps ol, .steps-5 ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .tp-cols, .facts { grid-template-columns: minmax(0, 1fr); }
  .facts h3 { max-width: 28ch; }
  .tp-col p { max-width: 64ch; }
  .top nav a:not(:first-child) { display: none; }
  .hero, .custom, .tp-top, .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { order: -1; }
  .toc { position: static; }
  .foot { padding-bottom: calc(46vw + 28px); }
  .deadwax { top: auto; bottom: -46vw; right: auto; left: 50%; translate: -50% 0; width: 92vw; }
  .mini { grid-template-columns: auto minmax(0, 1fr) auto; }
  .mini .rec, .mini-time { display: none; }
  .mini-bar { grid-column: 1 / -1; order: 9; }
}
@media (max-width: 560px) {
  .inc thead { display: none; }
  .inc tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
  .inc th, .inc td { border: 0; padding: 0; }
  .inc tbody th { white-space: normal; }
  .inc td:not(.inc-fmt) { grid-column: 1 / -1; grid-row: 2; }
  .tp-data { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pack-list div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .steps ol, .steps-5 ol { grid-template-columns: minmax(0, 1fr); }
  .f2 { grid-template-columns: 1fr; }
  .filters { margin-left: 0; }
  .r-buy .r-price { display: none; }
  .name-try input { font-size: 2.5rem; }
  .mark { letter-spacing: .28em; }
}
@media (prefers-reduced-motion: reduce) {
  .rec.is-playing .disc { animation: none; }
  .shot a:hover img { scale: none; }
}
