/* SYNTHAZY.COM v2.0 — design system */
/* Montserrat (SIL OFL 1.1) — переменный шрифт, свой хостинг: без запросов к Google. Один файл на письменность покрывает веса 400–700 */
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/montserrat-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
:root {
  --bg: #050505;
  --bg-2: #0D0D0D;
  --gold: #C9A45C;
  --gold-l: #F0D28A;
  --white: #FFFFFF;
  --muted: #777777;
  --muted-2: #9A9A9A;          /* мелкий текст: контраст выше AA */
  --line: rgba(255, 255, 255, .09);
  --line-gold: rgba(201, 164, 92, .35);

  --font: "Montserrat", "Helvetica Neue", Arial, system-ui, sans-serif;
  --track-wide: .28em;
  --track: .14em;

  --pad: clamp(20px, 5vw, 64px);
  --max: 1180px;
  --top-h: 64px;
  --mini-h: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + env(safe-area-inset-top, 0px)); -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--white);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.has-player { padding-bottom: calc(var(--mini-h) + env(safe-area-inset-bottom, 0px)); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 1px solid var(--gold-l); outline-offset: 4px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--gold); color: #000; font-weight: 600; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

/* ---------- icons (drawn with CSS so states switch without extra requests) ---------- */
.ico { position: relative; display: inline-block; width: 12px; height: 14px; flex: none; }
.ico::before, .ico::after { content: ""; position: absolute; top: 0; bottom: 0; background: currentColor; }
[data-state="off"] .ico::before, [data-state="paused"] .ico::before, [data-state="error"] .ico::before, [data-state="ended"] .ico::before,
.ico.is-play::before {
  left: 1px; width: 11px; clip-path: polygon(0 0, 100% 50%, 0 100%);
}
[data-state="off"] .ico::after, [data-state="paused"] .ico::after, [data-state="error"] .ico::after, [data-state="ended"] .ico::after,
.ico.is-play::after { display: none; }
[data-state="playing"] .ico::before, .ico.is-pause::before { left: 1px; width: 3px; clip-path: none; }
[data-state="playing"] .ico::after, .ico.is-pause::after { display: block; right: 1px; width: 3px; }
[data-state="loading"] .ico::before, .ico.is-load::before {
  inset: 1px; width: auto; background: none; border: 1.5px solid currentColor; border-right-color: transparent;
  border-radius: 50%; clip-path: none; animation: spin 1s linear infinite;
}
[data-state="loading"] .ico::after, .ico.is-load::after { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- intro ---------- */
.intro {
  position: fixed; inset: 0; z-index: 90; background: #000;
  display: grid; place-content: center; justify-items: center; gap: 18px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .7s var(--ease), visibility 0s linear .7s;
}
.js body.is-intro .intro { opacity: 1; visibility: visible; transition: none; }
.intro__mark {
  font-weight: 600; font-size: clamp(22px, 5vw, 40px); letter-spacing: .5em; padding-left: .5em;
  opacity: 0; transition: opacity .9s var(--ease), letter-spacing 1.4s var(--ease);
}
.intro__signal {
  display: flex; align-items: center; gap: 10px; color: var(--gold-l);
  font-size: 11px; font-weight: 500; letter-spacing: var(--track-wide); text-transform: uppercase;
  opacity: 0; transition: opacity .6s var(--ease);
}
.intro .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-l); box-shadow: 0 0 10px var(--gold); }
body.intro-mark .intro__mark { opacity: 1; letter-spacing: .32em; }
body.intro-signal .intro__signal { opacity: 1; }

/* ---------- topbar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  padding-top: env(safe-area-inset-top, 0px);
  display: flex; align-items: center; gap: 32px;
  height: calc(var(--top-h) + env(safe-area-inset-top, 0px));
  padding-inline: var(--pad);
  transition: background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.topbar.is-scrolled { background: rgba(5, 5, 5, .86); border-bottom-color: var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
/* открытое мобильное меню: backdrop-filter у шапки превращает её в контейнер для fixed-меню (меню обрезалось по высоте шапки и накладывалось на страницу) — на время открытия убираем */
.topbar.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-bottom-color: transparent; }
.brand { font-weight: 600; font-size: 13px; letter-spacing: .34em; }
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav a { font-size: 11px; font-weight: 500; letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--muted-2); transition: color .2s; }
.nav a:hover, .nav a[aria-current="true"] { color: var(--white); }
.nav__listen { display: none; }
.book-link {
  font-size: 11px; font-weight: 600; letter-spacing: var(--track-wide); text-transform: uppercase;
  color: var(--gold); padding: 8px 14px; border: 1px solid var(--line-gold); transition: color .2s, border-color .2s;
}
.book-link:hover { color: var(--gold-l); border-color: var(--gold); }
.nav__login { display: none; }
.menu-btn { display: none; width: 40px; height: 40px; position: relative; margin-right: -8px; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--white); transition: transform .3s var(--ease); }
.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { top: 23px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--top-h) + 24px) 0 40px; text-align: center;
  position: relative; overflow: hidden;
}
.hero__head { padding-inline: var(--pad); }
body.has-player .hero { min-height: calc(100svh - var(--mini-h) - env(safe-area-inset-bottom, 0px)); }
.wordmark {
  font-weight: 600; line-height: 1;
  font-size: clamp(44px, 12.5vw, 150px);
  letter-spacing: .16em; padding-left: .16em;   /* компенсирует трекинг, чтобы слово стояло по центру */
}
.role {
  margin-top: 22px; color: var(--muted-2); font-size: 12px; font-weight: 500;
  letter-spacing: .42em; padding-left: .42em; text-transform: uppercase;
}
.signal { height: clamp(90px, 17vh, 170px); margin: clamp(16px, 4.5vh, 44px) 0; }
.signal svg { width: 100%; height: 100%; display: block; overflow: visible; }
.hero__control { display: grid; justify-items: center; gap: 18px; padding-inline: var(--pad); }

.listen {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 19px 34px 19px 30px; border: 1px solid var(--gold);
  color: var(--gold-l); font-size: 12px; font-weight: 600; letter-spacing: var(--track-wide); text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
@media (hover: hover) { .listen:hover { background: var(--gold); color: #050505; box-shadow: 0 0 40px rgba(201, 164, 92, .25); } }
.listen[data-state="playing"] { border-color: var(--line-gold); color: var(--gold); }
@media (hover: hover) { .listen[data-state="playing"]:hover { background: transparent; color: var(--gold-l); border-color: var(--gold); box-shadow: none; } }

.status { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 500; letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--muted-2); }
.status__glyph { font-size: 10px; line-height: 1; color: var(--muted); transition: color .3s, text-shadow .3s; }
[data-state="playing"] .status__glyph, .status[data-state="playing"] { color: var(--gold-l); }
[data-state="playing"] .status__glyph { text-shadow: 0 0 10px var(--gold); animation: onair 2.4s ease-in-out infinite; }
[data-state="loading"] .status__glyph { color: var(--gold); }
.status[data-state="error"] { color: var(--white); }
@keyframes onair { 50% { opacity: .45; } }
.error-note { font-size: 13px; color: var(--muted-2); max-width: 34ch; }

.now { display: grid; justify-items: center; gap: 4px; margin-top: 10px; animation: fadein .8s var(--ease); }
.now__title { font-size: 18px; font-weight: 600; letter-spacing: var(--track); text-transform: uppercase; }
.now__artist, .now__genre { font-size: 11px; letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--muted-2); }
.now__time { font-size: 12px; color: var(--muted-2); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.bar { width: min(420px, 78vw); height: 1px; background: var(--line); margin: 14px 0 6px; position: relative; }
.bar span { position: absolute; left: 0; top: -.5px; height: 2px; width: 0; background: var(--gold); box-shadow: 0 0 8px rgba(201, 164, 92, .6); }
@keyframes fadein { from { opacity: 0; } }

/* ---------- sections ---------- */
.section {
  max-width: var(--max); margin: 0 auto; padding: clamp(72px, 12vw, 140px) var(--pad) 0;
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 48px; row-gap: 32px;
}
.section > :not(.section__head) { grid-column: 2; }
.section__head { grid-column: 1; grid-row: 1 / span 3; align-self: start; position: sticky; top: calc(var(--top-h) + 32px); }
.section__head h2 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.25; }
.section__note { margin-top: 12px; color: var(--muted-2); font-size: 14px; max-width: 30ch; }
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transition: opacity .9s var(--ease); }
.js .reveal.is-in { opacity: 1; }

/* ---------- radio console ---------- */
.console {
  display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 36px;
  padding: 32px; background: var(--bg-2); border: 1px solid var(--line);
}
.console__cover { aspect-ratio: 1; background: #000; border: 1px solid var(--line); overflow: hidden; }
.console__cover img { width: 100%; height: 100%; object-fit: cover; animation: fadein .6s var(--ease); }
.console__body { display: grid; align-content: start; gap: 6px; min-width: 0; }
.status--small { margin-bottom: 10px; }
.console__source { font-size: 11px; letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--gold); }
.console__title { font-size: clamp(22px, 3vw, 32px); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; }
.console__genre { font-size: 12px; letter-spacing: var(--track); text-transform: uppercase; color: var(--muted-2); }
.seek { height: 56px; margin-top: 18px; position: relative; touch-action: none; }
.seek[aria-disabled="false"] { cursor: pointer; }
.seek canvas { width: 100%; height: 100%; display: block; }
.console__time { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.console__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-top: 18px; }
.transport { display: flex; align-items: center; gap: 14px; flex: none; }
.skip-btn {
  flex: none; width: 44px; height: 44px; min-width: 44px; border-radius: 50%;
  display: grid; place-items: center; color: var(--muted-2); border: 1px solid var(--line);
  transition: color .2s, border-color .2s;
}
.skip-btn svg, .mini__skip svg { width: 16px; height: 16px; }
.skip-btn:disabled, .mini__skip:disabled { opacity: .3; cursor: default; }
.to-radio {
  justify-self: start; margin-top: 14px; font-size: 11px; font-weight: 600; letter-spacing: var(--track-wide);
  text-transform: uppercase; color: var(--gold); padding: 8px 0; border-bottom: 1px solid var(--line-gold);
}
.context-note { font-size: 11px; font-weight: 500; letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--gold); }
.endcard { display: grid; gap: 14px; justify-items: center; margin-top: 6px; animation: fadein .6s var(--ease); }
.console .endcard { justify-items: start; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.endcard__title { font-size: 12px; font-weight: 600; letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--white); }
.endcard__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: inherit; }
.hero .endcard__actions { justify-content: center; }
.round {
  flex: 0 0 56px; width: 56px; min-width: 56px; max-width: 56px;
  height: 56px; min-height: 56px; max-height: 56px; padding: 0;
  aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-l);
  display: grid; place-items: center; transition: background .25s, color .25s;
}
.round .ico { margin-left: 2px; }
.round .ico.is-pause { margin-left: 0; }
.console__hint { display: none; min-width: 0; font-size: 11px; letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--muted-2); }
/* громкость: тонкая линия + маленький бегунок; значок динамика = mute */
.volume { display: inline-flex; align-items: center; gap: 6px; color: var(--muted-2); }
.vol-btn { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--muted-2); transition: color .2s; }
.vol-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.vol-btn .x { opacity: 0; transition: opacity .2s; }
.volume.is-muted .vol-btn { color: var(--gold); }
.volume.is-muted .vol-btn .x { opacity: 1; }
.volume.is-muted .vol-btn .wv { opacity: .25; }
.volume input[type="range"] {
  --v: 100%; -webkit-appearance: none; appearance: none; width: 96px; height: 24px; margin: 0;
  background: transparent; cursor: pointer; accent-color: var(--gold);
}
.volume input[type="range"]::-webkit-slider-runnable-track {
  height: 2px; border-radius: 2px; background: linear-gradient(to right, var(--gold) var(--v), rgba(255, 255, 255, .14) var(--v));
}
.volume input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 10px; height: 10px; margin-top: -4px; border: 0; border-radius: 50%;
  background: var(--gold-l); box-shadow: 0 0 0 4px rgba(240, 210, 138, 0); transition: box-shadow .2s, transform .2s;
}
.volume input[type="range"]::-moz-range-track { height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .14); }
.volume input[type="range"]::-moz-range-progress { height: 2px; border-radius: 2px; background: var(--gold); }
.volume input[type="range"]::-moz-range-thumb { width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--gold-l); }
.volume input[type="range"]:focus-visible { outline: none; }
.volume input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(240, 210, 138, .25); }
.volume.is-muted input[type="range"]::-webkit-slider-runnable-track { background: rgba(255, 255, 255, .14); }
.volume.is-muted input[type="range"]::-moz-range-progress { background: transparent; }
.volume.is-muted input[type="range"]::-webkit-slider-thumb { background: var(--gold); }
.volume--mini input[type="range"] { width: 80px; }
@media (hover: hover) {
  .vol-btn:hover { color: var(--gold-l); }
  .volume input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.2); }
}
.no-volume .volume { display: none; }
.upnext { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.upnext__label { font-size: 11px; letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.upnext ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.upnext li { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted-2); }
.upnext li span:last-child { font-variant-numeric: tabular-nums; }

/* ---------- tracks (sets + mood) ---------- */
.tracks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tracks__empty { padding: 28px 0; color: var(--muted-2); font-size: 14px; }
.track {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 48px; align-items: center; gap: 22px;
  padding: 16px 0; border-bottom: 1px solid var(--line); cursor: pointer;
  transition: background .25s;
}
@media (hover: hover) { .track:hover { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .025), transparent); } }
.track__cover { width: 64px; height: 64px; object-fit: cover; background: var(--bg-2); }
.track__main { min-width: 0; display: grid; gap: 2px; }
.track__title { font-weight: 600; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .2s; }
.track__genre { font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; color: var(--muted-2); }
.track__meta { display: grid; justify-items: end; font-size: 12px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.track__play {
  flex: none; width: 44px; height: 44px; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--white); transition: border-color .2s, color .2s;
}
.track__play .ico { width: 10px; height: 12px; margin-left: 2px; }
.track__play .ico.is-pause, .track__play .ico.is-load { margin-left: 0; }
@media (hover: hover) { .track:hover .track__play { border-color: var(--gold); color: var(--gold-l); } }
.track.is-active .track__title { color: var(--gold-l); }
.track.is-active .track__play { border-color: var(--gold); color: var(--gold-l); }

/* ---------- frequency (mood) ---------- */
.freq { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); }
.freq button {
  display: grid; gap: 6px; padding: 18px 16px 16px; text-align: left; position: relative;
  border-right: 1px solid var(--line); color: var(--muted-2); transition: color .25s, background .25s;
}
.freq button:last-child { border-right: 0; }
.freq button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.freq .no { font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: .1em; color: var(--muted); }
.freq .name { font-size: 13px; font-weight: 600; letter-spacing: var(--track-wide); text-transform: uppercase; }
.freq button:hover { color: var(--white); }
.freq button[aria-selected="true"] { color: var(--gold-l); background: var(--bg-2); }
.freq button[aria-selected="true"]::after { transform: scaleX(1); }

/* ---------- about ---------- */
.about__body { display: grid; gap: 18px; max-width: 62ch; }
.about__lead { font-size: clamp(24px, 3.4vw, 40px); font-weight: 500; line-height: 1.25; letter-spacing: .01em; margin-bottom: 12px; }
.about__body p:not(.about__lead) { color: var(--muted-2); }

/* ---------- social / booking ---------- */
.links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.links li:has(a[href=""]) { display: none; }
.links a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(18px, 2.4vw, 24px); font-weight: 500; letter-spacing: .04em;
  transition: color .2s, padding .3s var(--ease);
}
.links__handle { font-size: 13px; color: var(--muted-2); letter-spacing: .06em; }
@media (hover: hover) { .links a:hover { color: var(--gold-l); padding-left: 8px; } }
.book-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 24px; }
.book-cta p { color: var(--muted-2); font-size: 14px; max-width: 40ch; }
.ghost {
  display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px;
  border: 1px solid var(--line-gold); color: var(--gold);
  font-size: 11px; font-weight: 600; letter-spacing: var(--track-wide); text-transform: uppercase;
  transition: border-color .2s, color .2s, background .2s;
}
.ghost:hover { border-color: var(--gold); color: var(--gold-l); }
.ghost--solid { background: var(--gold); color: #050505; border-color: var(--gold); }
.ghost--solid:hover { background: var(--gold-l); color: #050505; }

.booking {
  width: min(520px, calc(100vw - 32px)); max-height: calc(100svh - 32px);
  padding: 40px 36px 32px; border: 1px solid var(--line); background: var(--bg-2); color: var(--white);
}
.booking::backdrop { background: rgba(0, 0, 0, .78); backdrop-filter: blur(6px); }
.booking[open] { animation: fadein .35s var(--ease); }
.booking h2 { font-size: 22px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.booking h3 { margin-top: 28px; font-size: 11px; font-weight: 600; letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--muted-2); }
.booking__close-form { position: absolute; top: 12px; right: 12px; }
.booking__close { width: 40px; height: 40px; display: grid; place-items: center; color: var(--muted-2); }
.booking__close svg { width: 20px; height: 20px; }
.booking__close:hover { color: var(--white); }
.booking__formats { list-style: none; padding: 0; margin: 20px 0 0; border-top: 1px solid var(--line); }
.booking__formats li > * { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; letter-spacing: .04em; }
.booking__formats a:hover { color: var(--gold-l); }
.booking__formats a::after { content: " ↗"; font-size: 12px; color: var(--muted); }
.booking__contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.booking__note { margin-top: 16px; font-size: 13px; color: var(--muted-2); }

/* ---------- footer ---------- */
.footer {
  max-width: var(--max); margin: clamp(80px, 12vw, 140px) auto 0; padding: 28px var(--pad) 36px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--line); font-size: 12px; color: var(--muted-2); letter-spacing: .06em;
}
.footer a:hover { color: var(--gold-l); }

/* ---------- persistent mini player ---------- */
.mini {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; gap: 18px;
  height: calc(var(--mini-h) + env(safe-area-inset-bottom, 0px));
  padding: 0 var(--pad) env(safe-area-inset-bottom, 0px);
  background: rgba(8, 8, 8, .92); border-top: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  animation: rise .5s var(--ease);
}
@keyframes rise { from { transform: translateY(100%); } }
.mini__bar { position: absolute; left: 0; right: 0; top: -1px; height: 1px; }
.mini__bar span { position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--gold); box-shadow: 0 0 8px rgba(201, 164, 92, .6); }
.mini__skip {
  flex: none; width: 36px; height: 36px; min-width: 36px; display: grid; place-items: center; color: var(--muted-2);
}
.mini__toggle { flex: none; min-width: 44px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-l); display: grid; place-items: center; flex: none; }
.mini__toggle[data-state="off"] .ico, .mini__toggle[data-state="paused"] .ico, .mini__toggle[data-state="error"] .ico, .mini__toggle[data-state="ended"] .ico { margin-left: 2px; }
.mini__meta { min-width: 0; display: grid; gap: 2px; flex: 1; }
.mini__source[data-state="playing"] .status__glyph { color: var(--gold-l); }
.mini__source { font-size: 10px; letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.mini__title { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini__time { font-size: 12px; color: var(--muted-2); font-variant-numeric: tabular-nums; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .section { grid-template-columns: minmax(0, 1fr); }
  .section > :not(.section__head) { grid-column: 1; }
  .section__head { grid-row: auto; position: static; }
  .console { grid-template-columns: minmax(0, 1fr); padding: 22px; gap: 22px; }
  .console__cover { max-width: 180px; }
}
@media (max-width: 760px) {
  :root { --top-h: 58px; --mini-h: 66px; }
  .topbar { gap: 12px; }
  .book-link { margin-left: auto; padding: 7px 12px; }
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1; margin: 0;
    padding: calc(var(--top-h) + env(safe-area-inset-top, 0px) + 32px) var(--pad) 40px;
    flex-direction: column; align-items: flex-start; gap: 6px;
    background: var(--bg);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s linear .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
  .nav a { font-size: 26px; font-weight: 600; letter-spacing: .12em; color: var(--white); padding: 8px 0; }
  .nav__listen {
    display: inline-flex; align-items: center; gap: 14px; margin-top: 28px;
    padding: 16px 24px; border: 1px solid var(--gold); color: var(--gold-l);
    font-size: 12px; font-weight: 600; letter-spacing: var(--track-wide); text-transform: uppercase;
  }
  .nav a.nav__login { display: inline-block; margin-top: 22px; font-size: 11px; font-weight: 500; letter-spacing: .3em; color: var(--muted-2); padding: 6px 0; }
  .hero { padding-bottom: 28px; }
  .hero__control { gap: 14px; }
  .now__title { font-size: 16px; }
  .role { letter-spacing: .3em; padding-left: .3em; font-size: 11px; }
  .track { grid-template-columns: 52px minmax(0, 1fr) 44px; gap: 14px; }
  .track__cover { width: 52px; height: 52px; }
  .track__meta { display: none; }
  .track__genre::after { content: attr(data-dur); margin-left: 10px; color: var(--muted); letter-spacing: .04em; }
  .freq button { padding: 14px 6px 12px; text-align: center; justify-items: center; }
  .freq .name { font-size: 10px; letter-spacing: .1em; }
  .mini { gap: 10px; }
  .mini .volume { display: none; }
  .console .volume { flex: 1 1 auto; justify-content: flex-end; }
  .booking { padding: 36px 22px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (hover: hover) {
  .round:hover { background: var(--gold); color: #050505; }
  .skip-btn:not(:disabled):hover, .mini__skip:not(:disabled):hover { color: var(--gold-l); border-color: var(--gold); }
}

/* очень узкие экраны: 320–359 px */
@media (max-width: 359px) {
  :root { --pad: 16px; }
  .console { padding: 18px 16px; }
  .transport { gap: 10px; }
  .skip-btn { width: 40px; height: 40px; min-width: 40px; }
  .console .volume { flex-basis: 100%; justify-content: flex-start; }
  .console .volume input[type="range"] { width: 100%; max-width: 180px; }
  .mini__time { display: none; }
  .listen { padding: 17px 24px 17px 22px; gap: 12px; }
  .wordmark { letter-spacing: .12em; padding-left: .12em; }
}
/* горизонтальный телефон: низкий экран */
@media (max-height: 480px) and (orientation: landscape) {
  :root { --top-h: 50px; --mini-h: 58px; }
  .section { padding-top: 56px; }
  .mini__toggle { width: 40px; min-width: 40px; height: 40px; }
  .hero { min-height: auto; padding-top: calc(var(--top-h) + 20px); padding-bottom: 28px; }
  .signal { height: 72px; margin: 14px 0; }
  .wordmark { font-size: clamp(36px, 8vw, 72px); }
  .role { margin-top: 12px; }
}

/* конец Mood: вместо главной кнопки — выбор продолжения (п.15 ТЗ) */
.listen[data-state="ended"] { display: none; }
.booking__eyebrow { margin: 0 0 6px; font-size: 11px; font-weight: 600; letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--gold); }
.booking__note--small { font-size: 12px; line-height: 1.5; }
.booking__note a { color: var(--gold-l); text-decoration: underline; }

/* ---------- privacy policy popup (EN) ---------- */
.booking--legal { width: min(640px, calc(100vw - 32px)); overflow-y: auto; overscroll-behavior: contain; }
.booking--legal h3 { margin-top: 22px; }
.booking--legal p { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted-2); }
.booking--legal a { color: var(--gold-l); text-decoration: underline; }
.footer p + p { margin: 0; }
