/* DJ RAVO v3 — «Маг». Закрытый клуб после полуночи: чернильный фон, старое золото, дымчатый аметист.
   Композиция: фиксированное ч/б фото позади всего, контент в тёмных панелях с боковыми отступами,
   между блоками линия 1px, внизу полоса 45px, где снова видно фото. */

/* ───────── шрифты (локально, без Google Fonts) ───────── */
@font-face { font-family: 'Fira Sans Extra Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/fira-sans-extra-condensed-cyrillic-600-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Fira Sans Extra Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/fira-sans-extra-condensed-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fira Sans Extra Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/fira-sans-extra-condensed-latin-600-normal.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: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/manrope-cyrillic-400-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/manrope-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/manrope-latin-400-normal.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: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/manrope-cyrillic-500-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/manrope-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/manrope-latin-500-normal.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: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/manrope-cyrillic-700-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/manrope-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/manrope-latin-700-normal.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; }

/* ───────── токены ───────── */
:root {
  --bg: #06050B;
  --panel: rgba(10, 7, 20, 0.82);
  --ink-violet: #1B1233;
  --amethyst: #5A4380;
  --text: #ECE7F1;
  --muted: #9890A6;
  --gold: #C6A15B;
  --line: rgba(236, 231, 241, 0.38);
  --gold-line: rgba(198, 161, 91, 0.6);

  --f-head: 'Fira Sans Extra Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --nav-h: 53px;
  --side: 20px;
  --max: 1160px;
  --pad: clamp(20px, 4vw, 48px);

  /* меняется из JS под музыку */
  --bass: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  color: var(--text);
  font: 400 1.0625rem/1.75 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.has-dock { --dock-h: 74px; }
html:has(.nav[data-open='true']) { overflow: hidden; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
svg { fill: currentColor; }
[id] { scroll-margin-top: var(--nav-h); }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; transition: top 0.2s; }
.skip:focus { top: 12px; }

/* ───────── фон: ч/б фото, у каждого раздела своё ───────── */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); isolation: isolate; will-change: transform; }
.bg__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: grayscale(1); opacity: 0; transition: opacity 0.6s ease; }
.bg__img.is-on { opacity: 1; }
.bg__tint { position: absolute; inset: 0; background: var(--ink-violet); mix-blend-mode: multiply; opacity: 0.45; }

/* ───────── типографика ───────── */
.h2, .sub, .hero__name, .venue__name {
  font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
}
.h2 { margin: 0 0 clamp(24px, 3vw, 36px); color: var(--gold); font-size: clamp(1.875rem, 3vw, 2.125rem); line-height: 1.1; }
.sub { margin: clamp(40px, 5vw, 64px) 0 10px; color: var(--text); font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.2; }
.h2 + .sub { margin-top: 0; }
.lead { max-width: 60ch; margin: 0 0 22px; color: var(--muted); }
.empty { color: var(--muted); }

/* ───────── кнопки ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 26px; border-radius: 2px;
  font: 700 0.8125rem/1 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn--gold { background: var(--gold); color: var(--bg); }
.btn--gold:hover { background: #d3b273; }
.btn--ghost { color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold-line); }
.btn--ghost:hover { background: rgba(198, 161, 91, 0.12); box-shadow: inset 0 0 0 1px var(--gold); }
.btn--small { min-height: 38px; padding: 0 18px; font-size: 0.75rem; }
.btn__ico { display: inline-grid; width: 18px; height: 18px; }
.btn__ico svg { width: 18px; height: 18px; }

.i-pause { display: none; }
.is-playing > .i-play, .is-playing .i-play { display: none; }
.is-playing > .i-pause, .is-playing .i-pause { display: block; }

/* ───────── шапка ───────── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); transition: background 0.3s; }
.nav::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.nav--solid::before, body:not([data-view='top']) .nav::before { opacity: 1; }
.nav__in { position: relative; display: flex; align-items: center; justify-content: space-between; height: 100%; padding: 0 var(--side); }
.nav__logo { font: 600 1.5rem/1 var(--f-head); letter-spacing: 0.08em; text-decoration: none; }
.nav__menu { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); }
.nav__links { display: flex; gap: clamp(16px, 2.2vw, 32px); margin: 0; padding: 0; list-style: none; }
.nav__links a, .lang a { font: 500 0.9375rem/1 var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: var(--text); transition: color 0.2s; }
.nav__links a { display: inline-block; padding: 18px 0; }
.nav__links a:hover, .nav__links a.is-active, .lang a:hover, .lang a[aria-current='true'] { color: var(--gold); }
.lang { display: flex; gap: 14px; padding-left: clamp(8px, 1.6vw, 20px); border-left: 1px solid var(--line); }
.lang a { color: var(--muted); font-size: 0.8125rem; }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; z-index: 2; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--text); transition: transform 0.25s, top 0.25s; }
.nav__burger span:first-child { top: 16px; }
.nav__burger span:last-child { top: 26px; }
.nav[data-open='true'] .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav[data-open='true'] .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav__burger { display: block; }
  .nav__menu {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 36px;
    background: #000; visibility: hidden; opacity: 0; transition: opacity 0.25s, visibility 0s 0.25s;
  }
  .nav[data-open='true'] .nav__menu { visibility: visible; opacity: 1; transition: opacity 0.25s; }
  .nav__logo { position: relative; z-index: 2; }
  .nav__links { flex-direction: column; align-items: center; gap: 4px; }
  .nav__links a { padding: 10px 0; font: 600 2rem/1.1 var(--f-head); letter-spacing: 0.06em; }
  .lang { padding: 0; border: 0; gap: 22px; }
  .lang a { font-size: 1rem; }
}

/* ───────── экраны: всё на одной странице, листать не нужно ───────── */
.app { position: relative; }
.view__in { max-width: var(--max); margin: 0 auto; padding: clamp(28px, 4vw, 48px) var(--pad); background: var(--panel); }
.view[tabindex]:focus { outline: none; }

html.js, html.js body { height: 100%; overflow: hidden; }
.js .view {
  position: fixed; inset: var(--nav-h) 0 var(--dock-h, 0px) 0; z-index: 1;
  display: flex; align-items: flex-start; justify-content: center; padding: 14px var(--side) 18px;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.3s ease, visibility 0s 0.3s;
}
.js .view.is-on { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 0.3s ease; }
.js .view__in { width: 100%; max-height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--amethyst) transparent; }
.js .view--home { inset: 0; padding: 0; display: grid; place-items: center; background-color: #000; background-size: cover; background-position: center; background-repeat: no-repeat; }
.js .view--home .view__in { display: none; }
/* без JS: обычная длинная страница */
html:not(.js) .view { margin: 0 var(--side); border-top: 1px solid var(--line); }
html:not(.js) .view--home { min-height: 100vh; position: relative; display: grid; place-items: center; text-align: center; }
html:not(.js) .bg__img:first-child { opacity: 1; }

/* ───────── hero: видео на весь экран ───────── */
.view--home { position: relative; overflow: hidden; text-align: center; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 50% 100%, rgba(90, 67, 128, 0.25), transparent 70%),
    rgba(0, 0, 0, 0.35);
}
.hero__body { position: relative; max-width: 100%; padding: calc(var(--nav-h) + 16px) 12px calc(70px + var(--dock-h, 0px)); }
.hero__h1 { margin: 0; display: grid; justify-items: center; gap: 12px; font-weight: 400; }
.hero__name { font-size: clamp(3.5rem, 18vw, 8.75rem); line-height: 0.9; letter-spacing: 0.04em; color: var(--text); }
.hero__sub { white-space: nowrap; font: 500 clamp(8.5px, 2.3vw, 1rem)/1.6 var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); }
@media (min-width: 900px) { .hero__sub { letter-spacing: 0.14em; } }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(24px, 4vh, 40px); }
.hero__mail { position: absolute; left: 0; right: 0; bottom: calc(24px + var(--dock-h, 0px)); margin: 0; font-size: 0.875rem; color: var(--muted); }
.hero__mail a { color: var(--text); text-underline-offset: 4px; text-decoration-color: var(--gold-line); }
.hero__mail a:hover { color: var(--gold); }
.hero .btn--ghost, .view--home .btn--ghost { background: rgba(6, 5, 11, 0.62); }
.view--home .btn--ghost:hover { background: rgba(6, 5, 11, 0.85); }

@keyframes reveal { from { opacity: 0; letter-spacing: 0.2em; } to { opacity: 1; letter-spacing: 0.04em; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.js .hero__name { animation: reveal 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.js .hero__sub, .js .hero__cta, .js .hero__mail { animation: fade 1s ease 0.8s both; }

/* ───────── музыка: сначала фото, при прокрутке оно уходит вверх, снизу чёрный фон с релизами ───────── */
.js .view--music { display: block; padding: 0; inset: 0 0 var(--dock-h, 0px) 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--amethyst) transparent; background: var(--bg); }
.music__stage { position: relative; height: 100%; min-height: 420px; overflow: hidden; }
.music__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; filter: grayscale(1); transform: translateY(calc(var(--mp, 0) * 9%)) scale(1.05); opacity: 0; transition: opacity 0.8s ease; will-change: transform; }
.music__photo[src] { opacity: 1; }
/* виньетка: по краям и снизу фото плавно уходит в чёрный */
.music__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(6, 5, 11, 0.85) 14%, rgba(6, 5, 11, 0) 46%),
    radial-gradient(ellipse 78% 70% at 50% 40%, rgba(6, 5, 11, 0) 52%, rgba(6, 5, 11, 0.78) 100%),
    linear-gradient(rgba(27, 18, 51, 0.32), rgba(27, 18, 51, 0.32));
}
.music__veil { position: absolute; inset: 0; background: var(--bg); opacity: calc(var(--mp, 0) * 0.9); pointer-events: none; }
.music__head { position: absolute; left: var(--pad); bottom: clamp(70px, 14vh, 120px); }
.music__title { margin: 0; font: 600 clamp(3rem, 11vw, 7.5rem)/0.9 var(--f-head); letter-spacing: 0.04em; text-transform: uppercase; color: var(--text); text-shadow: 0 2px 30px rgba(0, 0, 0, 0.6); }
.music__cue { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; display: grid; justify-items: center; gap: 8px; color: var(--muted); font: 500 0.8125rem var(--f-body); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; transition: color 0.2s; }
.music__cue:hover { color: var(--gold); }
.music__cue i { width: 10px; height: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; rotate: 45deg; margin-top: -4px; animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0%, 100% { translate: 0 0; opacity: 0.5; } 50% { translate: 0 6px; opacity: 1; } }
.music__body { position: relative; z-index: 1; min-height: 100%; background: var(--bg); margin-top: -1px; padding: clamp(20px, 5vh, 56px) 0 clamp(48px, 8vh, 96px); display: grid; align-content: center; }
.music__in { width: min(900px, 100%); margin: 0 auto; padding: 0 var(--pad); }

/* релизы «высвечиваются», пока фото поднимается */
.js .list { opacity: clamp(0, calc((var(--mp, 0) - 0.12) * 2.2), 1); transform: translateY(calc((1 - var(--mp, 0)) * 28px)); }
.js .plat { opacity: clamp(0, calc((var(--ms, 0) - 0.5) * 3), 1); }

/* релизы: обложки сеткой по центру */
.list { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px, 3vw, 36px); }
.list + .list { margin-top: clamp(16px, 3vw, 36px); }
.trk { flex: 0 0 calc((100% - 2 * clamp(16px, 3vw, 36px)) / 3); min-width: 0; display: block; padding: 0; border: 0; background: none; text-align: left; }
.trk:hover, .trk.is-active { background: none; }
.trk:last-child { border-bottom: 0; }
.trk__play { display: block; width: 100%; }
.trk__art { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 3px; background: linear-gradient(165deg, var(--c1), var(--c2)) center / cover; box-shadow: 0 0 0 1px rgba(236, 231, 241, 0.16); transition: box-shadow 0.25s, transform 0.3s; }
.trk__play:hover:not(:disabled) .trk__art { transform: translateY(-3px); }
.trk.is-active .trk__art { box-shadow: 0 0 0 2px var(--gold); }
.trk__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(6, 5, 11, 0.72); opacity: 0; transition: opacity 0.25s, box-shadow 0.2s; }
.trk__play:hover .trk__ico, .trk__play:focus-visible .trk__ico, .trk.is-active .trk__ico { opacity: 1; }
@media (hover: none) { .trk__ico { opacity: 0.9; } }
.trk__ico svg { width: 22px; height: 22px; color: var(--text); }
.trk__main { display: block; margin-top: 10px; }
.trk__title { margin: 0; font: 600 clamp(1rem, 1.6vw, 1.15rem)/1.2 var(--f-head); letter-spacing: 0.04em; text-transform: uppercase; transition: color 0.25s; }
.trk.is-active .trk__title { color: var(--gold); }
.trk__meta { margin: 2px 0 0; color: var(--muted); font-size: 0.8125rem; }
.trk__time { display: none; }
.trk__links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; }
.trk__links a { color: var(--muted); font-size: 0.8125rem; text-underline-offset: 4px; text-decoration-color: var(--line); transition: color 0.2s; }
.trk__links a:hover { color: var(--gold); }
.trk.is-soon { opacity: 0.6; }

/* стриминговые сервисы в линию */
.plat { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: clamp(18px, 4vw, 52px); margin-top: clamp(40px, 7vh, 80px); }
.plat__i { display: grid; justify-items: center; gap: 8px; width: 84px; color: var(--muted); text-decoration: none; transition: color 0.2s, transform 0.2s; }
.plat__i svg { width: 44px; height: 44px; }
.plat__i span { font: 500 0.6875rem/1.2 var(--f-body); letter-spacing: 0.1em; text-transform: uppercase; text-align: center; }
a.plat__i:hover { color: var(--gold); transform: translateY(-2px); }
.plat__i.is-off { opacity: 0.4; }

/* плеер внутри активной строки */
.trk__player { display: none; gap: 6px; margin-top: 10px; }
.trk.is-active .trk__player { display: grid; }
.wave { position: relative; display: block; height: 40px; cursor: pointer; touch-action: none; }
.wave__l { position: absolute; inset: 0; display: flex; align-items: center; gap: 2px; }
.wave__l i { flex: 1; height: calc(var(--h) * 1%); min-height: 3px; border-radius: 1px; background: rgba(236, 231, 241, 0.22); }
.wave__l--on i { background: #8a6fb8; }
.wave__l--on { clip-path: inset(0 calc(100% - var(--p, 0%)) 0 0); }
.trk.is-playing .wave__l { transform: scaleY(calc(0.92 + var(--bass) * 0.24)); }
.trk__viz { width: 100%; height: 40px; }

@media (max-width: 600px) {
  .trk { flex-basis: calc((100% - clamp(16px, 3vw, 36px)) / 2); }
  .plat { flex-wrap: nowrap; gap: 4px; }
  .plat__i { flex: 1 1 0; width: auto; min-width: 0; }
  .plat__i svg { width: 32px; height: 32px; }
  .plat__i span { font-size: 0.5rem; letter-spacing: 0.03em; overflow-wrap: anywhere; }
}

/* ───────── афиша ───────── */
.events { margin: 0; padding: 0; list-style: none; }
.ev { display: grid; grid-template-columns: clamp(92px, 12vw, 150px) minmax(0, 1fr) auto; align-items: center; gap: 12px clamp(20px, 4vw, 56px); padding: clamp(22px, 3vw, 32px) 12px; border-top: 1px solid var(--line); transition: background 0.3s; }
.ev:hover { background: rgba(27, 18, 51, 0.6); }
.ev:last-child { border-bottom: 1px solid var(--line); }
.ev[hidden] { display: none; }
.ev__date { display: grid; gap: 4px; }
.ev__date b { font: 600 clamp(2.6rem, 6vw, 4rem)/0.95 var(--f-head); letter-spacing: 0.02em; }
.ev__date span { font: 600 1rem var(--f-head); color: var(--gold); text-transform: uppercase; letter-spacing: 0.1em; }
.ev__title { margin: 0; font: 600 clamp(1.3rem, 2.6vw, 1.8rem)/1.2 var(--f-head); letter-spacing: 0.04em; text-transform: uppercase; }
.ev__place { margin: 6px 0 0; color: var(--muted); }
.ev__time { margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.ev__act { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.events__empty { display: grid; justify-items: start; gap: 22px; padding: 32px 0; border-block: 1px solid var(--line); }
.events__empty[hidden] { display: none; }
.events__empty p { margin: 0; max-width: 44ch; font: 600 clamp(1.3rem, 2.6vw, 1.7rem)/1.3 var(--f-head); letter-spacing: 0.04em; text-transform: uppercase; }
@media (max-width: 760px) {
  .ev { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .ev__act { grid-column: 1 / -1; justify-content: flex-start; }
}

/* ───────── площадки: карточки в сетку, чтобы всё помещалось на экране ───────── */
.venues { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.venue { display: grid; align-content: start; gap: 14px; padding: 16px 0 0; border-top: 1px solid var(--line); }
.venue__visual { display: none; }
.venue__status { display: block; margin-bottom: 4px; font: 600 0.9375rem var(--f-head); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.venue__h { margin: 0; font: 600 clamp(1.3rem, 2vw, 1.6rem)/1.15 var(--f-head); letter-spacing: 0.04em; text-transform: uppercase; }
.venue__city { margin: 6px 0 0; color: var(--muted); font-size: 0.875rem; }
.venue__desc { margin: 0; font-size: 0.9375rem; line-height: 1.65; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.venue .btn { justify-self: start; }
.formats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 28px); margin: 0; }
.formats div { padding: 14px 0; border-top: 1px solid var(--line); }
.formats dt { font: 600 1.1rem/1.25 var(--f-head); letter-spacing: 0.04em; text-transform: uppercase; }
.formats dd { margin: 6px 0 0; color: var(--muted); font-size: 0.9375rem; line-height: 1.55; }
@media (max-width: 1000px) {
  .venues { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .formats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .venues, .formats { grid-template-columns: 1fr; }
}

.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(20px, 3vw, 36px); }
.review { margin: 0; padding-top: 24px; border-top: 1px solid var(--gold-line); }
.review blockquote { margin: 0; }
.review blockquote p { margin: 0; font-size: 1.125rem; line-height: 1.6; }
.review figcaption { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 16px; color: var(--muted); font-size: 0.9375rem; }
.review figcaption strong { color: var(--text); font-weight: 700; }
.review figcaption a { color: var(--gold); text-underline-offset: 4px; }

/* ───────── видео ───────── */
.clips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.clip { position: relative; margin: 0; aspect-ratio: 16 / 9; background: var(--bg); box-shadow: inset 0 0 0 1px rgba(236, 231, 241, 0.16); overflow: hidden; }
.clip__btn { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.clip video { width: 100%; height: 100%; object-fit: cover; }
.clip__btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.7)); transition: opacity 0.3s; }
.clip__btn:hover::after { opacity: 0.6; }
.clip__cap { position: absolute; left: 16px; bottom: 12px; z-index: 1; font: 600 1rem var(--f-head); letter-spacing: 0.1em; text-transform: uppercase; }
@media (max-width: 760px) { .clips { grid-template-columns: 1fr; } }

.vbox { width: min(92vw, 520px); max-height: 92vh; padding: 0; border: 1px solid var(--line); background: #000; color: var(--text); overflow: hidden; }
.vbox::backdrop { background: rgba(0, 0, 0, 0.88); }
.vbox video { width: 100%; max-height: 88vh; background: #000; }
.vbox__close { position: absolute; right: 8px; top: 8px; z-index: 2; width: 40px; height: 40px; font-size: 1.75rem; line-height: 1; background: rgba(0, 0, 0, 0.6); }
.vbox__close:hover { color: var(--gold); }

/* ───────── обо мне ───────── */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.about__photo { aspect-ratio: 3 / 4; background: var(--ink-violet); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(236, 231, 241, 0.16); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 0.5s; }
.about__photo:hover img { filter: none; }
.about__text p { margin: 0 0 18px; max-width: 58ch; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.stats { display: flex; flex-wrap: wrap; gap: 20px clamp(28px, 5vw, 56px); margin: 36px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.stats dt { font: 600 clamp(2.4rem, 5vw, 3.4rem)/1 var(--f-head); letter-spacing: 0.02em; }
.stats dd { margin: 6px 0 0; color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about__photo { max-width: 420px; } }

/* ───────── контакты ───────── */
.book { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.book__or { margin: 28px 0 14px; color: var(--muted); font-size: 0.9375rem; }
.book__direct { display: flex; flex-wrap: wrap; gap: 12px; }
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 4px; }
.field span { font-size: 0.875rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 8px 0 10px; font: 400 1.0625rem/1.4 var(--f-body); color: var(--text);
  background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; transition: border-color 0.2s; color-scheme: dark;
}
.field select option { background: var(--bg); color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
.field textarea { resize: vertical; min-height: 80px; }
.field input.is-invalid, .field select.is-invalid { border-bottom-color: #d27a7a; }
.form .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 860px) { .book { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } .form .btn { justify-self: stretch; } }

.faq__list { display: grid; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary { position: relative; display: block; list-style: none; padding: 18px 40px 18px 0; cursor: pointer; font-weight: 500; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: '+'; position: absolute; right: 4px; top: 50%; translate: 0 -50%; font: 400 1.6rem/1 var(--f-body); color: var(--gold); transition: transform 0.3s ease; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list summary:hover { color: var(--gold); }
.faq__list details p { margin: 0 0 20px; max-width: 62ch; color: var(--muted); }

.social { display: flex; flex-wrap: wrap; gap: 18px; margin-top: clamp(40px, 5vw, 64px); }
.social a { display: grid; place-items: center; width: 56px; height: 56px; color: var(--muted); transition: color 0.2s; }
.social a:hover { color: var(--gold); }
.social svg { width: 40px; height: 40px; }
.legal { margin: 28px 0 0; color: var(--muted); font-size: 0.8125rem; }

/* ───────── плеер, закреплённый внизу ───────── */
.dock {
  position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 1.7fr) auto auto; align-items: center; gap: 22px;
  padding: 12px var(--side);
  background: rgba(0, 0, 0, 0.94); border-top: 1px solid var(--line);
  transform: translateY(100%); visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s 0.4s;
}
.dock[data-open='true'] { transform: none; visibility: visible; transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s; }
.dock__info { display: flex; align-items: center; gap: 14px; min-width: 0; }
.dock__cover { flex: 0 0 auto; width: 38px; height: 48px; border-radius: 19px 19px 2px 2px; background: linear-gradient(165deg, var(--c1, var(--gold)), var(--c2, var(--ink-violet))) center / cover; }
.dock__text { min-width: 0; }
.dock__title { margin: 0; font: 600 1.05rem/1.2 var(--f-head); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock__meta { margin: 2px 0 0; font-size: 0.8125rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock__ctrl { display: flex; align-items: center; gap: 6px; }
.dock__ctrl button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; transition: color 0.2s; }
.dock__ctrl button:hover { color: var(--gold); }
.dock__ctrl svg { width: 20px; height: 20px; }
.dock__ctrl .dock__main { width: 48px; height: 48px; color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.dock__ctrl .dock__main:hover { background: rgba(198, 161, 91, 0.14); }
.dock__seek { display: flex; align-items: center; gap: 12px; font-size: 0.8125rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.dock__bar { position: relative; flex: 1; height: 24px; cursor: pointer; touch-action: none; }
.dock__bar::before, .dock__bar i { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; }
.dock__bar::before { background: rgba(236, 231, 241, 0.25); }
.dock__bar i { background: var(--gold); transform-origin: left; transform: scaleX(var(--pn, 0)); }
.dock__viz { width: 132px; height: 40px; }
.dock__vol input { width: 88px; accent-color: var(--gold); cursor: pointer; }

@media (max-width: 900px) {
  .dock { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding-block: 10px; }
  .dock__seek { grid-column: 1 / -1; grid-row: 2; }
  .dock__viz, .dock__vol { display: none; }
  body.has-dock { --dock-h: 112px; }
}
@media (max-width: 700px) {
  :root { --side: 10px; }
}

/* ───────── меньше движения ───────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero__name, .js .hero__sub, .js .hero__cta, .js .hero__mail { animation: none; }
  .js .panel:not(.hero) { opacity: 1; transition: none; }
  .trk.is-playing .wave__l { transform: none; }
  .music__photo { transform: none; transition: none; }
  .js .list, .js .plat { opacity: 1; transform: none; }
  .music__cue i { animation: none; }
}

/* кнопки поверх светлого видео: тёмная подложка для читаемости */
.hero .btn--ghost { background: rgba(6, 5, 11, 0.62); }
.hero .btn--ghost:hover { background: rgba(6, 5, 11, 0.85); }

/* ───────── подгонка экранов под одну страницу ───────── */
.h2 { margin-bottom: clamp(16px, 2vw, 24px); }
.lead { margin-bottom: 14px; }
.sub { margin-top: clamp(24px, 3vw, 36px); }
.about { align-items: center; }
.about__photo { max-height: min(62vh, 560px); aspect-ratio: 3 / 4; }
.about__photo img { height: 100%; }
.stats { margin-top: 24px; padding-top: 20px; }
.clips { gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .clips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.book { gap: clamp(20px, 4vw, 56px); }
.book__or { margin-top: 18px; }
.social { margin-top: 20px; gap: 10px; }
.social a { width: 48px; height: 48px; }
.social svg { width: 34px; height: 34px; }
.form { gap: 14px; }
.legal { margin-top: 18px; }
.events__empty { padding: 24px 0; }
@media (max-width: 860px) {
  .about__photo { max-height: 36vh; margin-inline: auto; }
}

.clips--one { grid-template-columns: minmax(0, 1fr); max-width: 880px; margin-inline: auto; }

/* перемотка в процессе: догружаем трек целиком */
.dock.is-busy .dock__bar, .trk.is-active .wave { cursor: progress; }
.dock.is-busy .dock__bar i { opacity: 0.5; }

/* ───────── ссылки на страницы под запросы ───────── */
.formats dt a { text-decoration: none; color: inherit; border-bottom: 1px solid var(--gold-line); transition: color 0.2s; }
.formats dt a:hover { color: var(--gold); }
.venue__more { margin: 0; }
.venue__more a { color: var(--gold); text-underline-offset: 4px; }
.seo-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 22px; }
.seo-links a { color: var(--muted); font-size: 0.9375rem; text-underline-offset: 4px; text-decoration-color: var(--line); transition: color 0.2s; }
.seo-links a:hover { color: var(--gold); }

/* ───────── посадочные страницы ───────── */
.lp-page { overflow-x: hidden; }
.lp-page .nav::before { opacity: 1; }
.lp-main { max-width: 1100px; margin: 0 auto; padding: calc(var(--nav-h) + 20px) var(--side) 36px; }
.lp-card { background: var(--panel); padding: clamp(28px, 5vw, 64px) var(--pad); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(20px, 4vw, 40px); color: var(--muted); font-size: 0.9rem; }
.crumbs a { text-underline-offset: 4px; text-decoration-color: var(--line); }
.crumbs a:hover { color: var(--gold); }
.lp-kicker { margin: 0 0 14px; color: var(--gold); font: 600 1rem var(--f-head); text-transform: uppercase; letter-spacing: 0.12em; }
.lp-h1 { margin: 0; max-width: 20ch; font: 600 clamp(2.4rem, 7vw, 4.8rem)/1 var(--f-head); letter-spacing: 0.04em; text-transform: uppercase; text-wrap: balance; }
.lp-lead { max-width: 62ch; margin: 18px 0 0; font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lp-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 80px); align-items: start; margin-top: clamp(36px, 5vw, 64px); }
.lp-block { padding: 24px 0; border-top: 1px solid var(--line); }
.lp-block:last-child { border-bottom: 1px solid var(--line); }
.lp-h2 { margin: 0; font: 600 clamp(1.3rem, 2.4vw, 1.7rem)/1.2 var(--f-head); letter-spacing: 0.04em; text-transform: uppercase; }
.lp-block p { margin: 12px 0 0; max-width: 58ch; color: var(--muted); }
.lp-h3 { margin: 0 0 14px; color: var(--gold); font: 600 1.15rem var(--f-head); letter-spacing: 0.06em; text-transform: uppercase; }
.lp-side .lp-h3:not(:first-child) { margin-top: 36px; }
.lp-list, .lp-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.lp-list li, .lp-steps li { position: relative; padding: 12px 0 12px 32px; border-top: 1px solid var(--line); color: var(--muted); }
.lp-list li:last-child, .lp-steps li:last-child { border-bottom: 1px solid var(--line); }
.lp-list li::before { content: ''; position: absolute; left: 4px; top: 1.3em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.lp-steps li { counter-increment: step; }
.lp-steps li::before { content: counter(step); position: absolute; left: 0; top: 12px; width: 22px; color: var(--gold); font: 600 1rem var(--f-head); }
.lp-faq { margin-top: clamp(36px, 5vw, 64px); }
.lp-more { margin-top: clamp(32px, 5vw, 56px); }
.lp-links { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.lp-links a { text-underline-offset: 5px; text-decoration-color: var(--gold-line); }
.lp-links a:hover { color: var(--gold); }
@media (max-width: 860px) { .lp-grid { grid-template-columns: 1fr; } }

/* ───────── подписи про данные и страница политики ───────── */
.legal a { color: var(--muted); margin-left: 12px; text-underline-offset: 4px; text-decoration-color: var(--line); }
.legal a:hover { color: var(--gold); }
.form__note { margin: 0; color: var(--muted); font-size: 0.8125rem; line-height: 1.5; }
.form__note a { color: var(--muted); text-underline-offset: 3px; }
.form__note a:hover { color: var(--gold); }
.doc .lp-h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
.doc__date { margin: 12px 0 0; color: var(--muted); font-size: 0.9375rem; }
.doc__sec { padding: 22px 0; border-top: 1px solid var(--line); max-width: 760px; }
.doc__sec:first-of-type { margin-top: 28px; }
.doc__sec p { margin: 10px 0 0; color: var(--muted); }
.doc__sec a { color: var(--gold); text-underline-offset: 4px; }

/* картинка раздела уже в разметке: показываем сразу; плавное появление только когда подгружаем её позже */
.bg__img[src] { transition: opacity 0.5s ease; }
.music__photo { transition: opacity 0.5s ease; }

/* главный экран: размытый первый кадр виден сразу, пока грузится заставка и видео */
.view--home { background-size: cover; background-position: center; }

/* размытая копия кадра под видео: на медленном интернете сразу видна картинка, а не чёрный экран */
.view--home::before { content: ''; position: absolute; inset: -24px; background: inherit; background-size: cover; background-position: center; filter: blur(14px); }

/* чёткая заставка лежит под видео как обычная картинка: пока она грузится, видна размытая копия, а не чёрный прямоугольник видео */
.hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { z-index: 0; }

/* видео невидимо, пока не пошёл первый кадр: до этого браузер рисует на его месте чёрный прямоугольник */
.js .hero__video { opacity: 0; transition: opacity 0.35s ease; }
.js .hero__video.is-ready { opacity: 1; }

/* при открытии сайта видео сначала чёрно-белое и за пару секунд плавно становится цветным */
.js .view--home .hero__poster, .js .view--home .hero__video { filter: grayscale(1); transition: filter 2.6s ease, opacity 0.35s ease; }
.js .view--home::before { filter: blur(14px) grayscale(1); transition: filter 2.6s ease; }
.js .view--home.is-color .hero__poster, .js .view--home.is-color .hero__video { filter: grayscale(0); }
.js .view--home.is-color::before { filter: blur(14px) grayscale(0); }
.js .view--home.is-done .hero__poster, .js .view--home.is-done .hero__video { filter: none; transition: opacity 0.35s ease; }
@media (prefers-reduced-motion: reduce) {
  .js .view--home .hero__poster, .js .view--home .hero__video, .js .view--home::before { transition: none; }
}
