/* ==========================================================================
   LANI LOUD — дизайн-система и вёрстка главной страницы
   Палитра и метрики сняты с концепта (см. design/analyze_concept.py)
   Структура: шапка → hero с видео-баннером → музыка → видео → пресс-релизы → фото → футер
   ========================================================================== */

/* ---------- 1. Токены ---------- */
:root {
  /* фон и поверхности */
  --bg:            #080808;
  --bg-soft:       #0e0e0e;
  --surface:       #181818;
  --surface-2:     #222222;
  --line:          #1f1f1f;
  --line-strong:   #2e2e2e;

  /* текст */
  --text:          #f4f4f2;
  --text-soft:     #d6d6d4;
  --text-muted:    #9c9c9c;
  --text-dim:      #8a8a8a;   /* было #6f6f6f — не дотягивало до 4.5:1 по контрасту */

  /* акцент — тёплый янтарь городских огней */
  --ember:         #d08a3c;
  --ember-soft:    rgba(208, 138, 60, .28);
  --cool:          #7fb6d6;   /* холодный акцент логотипа, для бейджей «скоро» */

  /* типографика */
  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body:    "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-script:  "Neucha", "Caveat", "Segoe Script", cursive;

  /* сетка */
  --maxw:   1440px;
  --gut:    clamp(18px, 2.9vw, 44px);
  --radius: 2px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Сброс ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--ember); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 16px; height: 16px; flex: none; }
.ico-arrow { width: 15px; height: 15px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  padding: 12px 18px; background: var(--text); color: #0a0a0a;
  font-family: var(--font-display); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
}
.skip-link:focus { left: 12px; top: 12px; }

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

/* ---------- 3. Типографика-компоненты ---------- */
.section-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text);
}
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding-block: clamp(24px, 2.4vw, 34px) clamp(16px, 1.6vw, 22px);
}
.section-note {
  font-size: 12px; color: var(--text-dim);
}
.section-link,
.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 11px; font-weight: 300;
  letter-spacing: .16em; text-transform: uppercase; color: var(--text-soft);
  transition: color .25s var(--ease);
}
.section-link:hover, .text-link:hover { color: var(--ember); }
.section-link .ico-arrow, .text-link .ico-arrow { transition: transform .3s var(--ease); }
.section-link:hover .ico-arrow, .text-link:hover .ico-arrow { transform: translateX(4px); }
.text-link.is-muted { color: var(--text-dim); cursor: default; }
.text-link.is-muted:hover { color: var(--text-dim); }

/* бейджи статуса релиза */
.badge {
  display: inline-block; margin-bottom: 12px;
  padding: 4px 9px; border: 1px solid var(--line-strong); border-radius: 2px;
  font-family: var(--font-display); font-size: 10px; font-weight: 400;
  letter-spacing: .18em; text-transform: uppercase;
}
.badge-out { color: var(--ember); border-color: var(--ember-soft); }
.badge-soon { color: var(--cool); border-color: rgba(127, 182, 214, .28); }

/* ---------- 4. Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 17px 26px;
  font-family: var(--font-display); font-size: 12px; font-weight: 400;
  letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--radius);
  transition: background-color .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease);
}
.btn .ico-arrow { transition: transform .3s var(--ease); }
.btn:hover .ico-arrow { transform: translateX(4px); }
.btn-solid { background: #f2f2f0; color: #0a0a0a; }
.btn-solid:hover { background: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: #3a3a3a; color: var(--text-soft); background: rgba(255, 255, 255, .015); }
.btn-ghost:hover { border-color: var(--ember); color: #fff; }

/* ---------- 5. Шапка ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(8, 8, 8, .92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  min-height: 72px;
}
/* логотип в шапке проявляется только после прокрутки: в hero уже есть большой */
.header-logo {
  justify-self: center;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
}
.site-header.is-stuck .header-logo { opacity: 1; visibility: visible; }
.header-logo img {
  width: auto; height: clamp(22px, 2.1vw, 30px);
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .7));
}
.socials { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 22px); }
.socials a { color: #cfcfcf; transition: color .25s var(--ease), transform .25s var(--ease); }
.socials a:hover { color: var(--ember); transform: translateY(-1px); }
.socials .ico { width: 15px; height: 15px; }

.main-nav { justify-self: end; }
.main-nav ul { display: flex; align-items: center; gap: clamp(14px, 2.1vw, 30px); }
.main-nav a {
  position: relative;
  font-family: var(--font-display); font-size: 12px; font-weight: 300;
  letter-spacing: .15em; text-transform: uppercase; color: var(--text-soft);
  padding-block: 6px; transition: color .25s var(--ease);
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--ember); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { transform: scaleX(1); }

.burger { display: none; justify-self: end; width: 34px; height: 34px; padding: 8px 4px; }
.burger-line { display: block; height: 1px; background: var(--text-soft); transition: transform .3s var(--ease); }
.burger-line + .burger-line { margin-top: 7px; }
.burger[aria-expanded="true"] .burger-line:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-line:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- 6. Мобильное меню ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(8, 8, 8, .98);
  padding: 100px var(--gut) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav a {
  display: block; padding-block: 14px;
  font-family: var(--font-display); font-size: 26px; font-weight: 300;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text);
  border-bottom: 1px solid var(--line);
}
.mobile-menu nav a:hover { color: var(--ember); }
.mobile-socials { padding-top: 30px; }
body.is-locked { overflow: hidden; }

/* ---------- 7. Hero с видео-баннером ---------- */
.hero {
  position: relative;
  display: flex; flex-direction: column;
  min-height: clamp(620px, 84vh, 840px);
  padding: 56px 0 clamp(34px, 4vw, 58px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute; inset: 0;
  /* По горизонтали 100% — справа всегда остаются скелет-дудл и окно.
     По вертикали: фон масштабируется по ширине окна, поэтому голова «уезжает»
     вниз на широких экранах. 19.17vw — на какой высоте в кадре голова,
     250px — на какой высоте hero её удержать. Значение отрицательное, то есть
     картинка приподнимается; min(0px, …) не даёт уйти в плюс и оставить пустоту сверху. */
  background-image: url("../assets/img/hero.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 100% min(0px, calc(250px - 19.17vw));
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, .92) 0%, rgba(8, 8, 8, .55) 34%, rgba(8, 8, 8, .05) 62%, rgba(8, 8, 8, .35) 100%),
    linear-gradient(180deg, rgba(8, 8, 8, .88) 0%, rgba(8, 8, 8, .05) 32%, rgba(8, 8, 8, .3) 70%, var(--bg) 100%);
}
.hero-logo { position: relative; z-index: 3; padding-inline: var(--gut); }
/* логотип: увеличен так, чтобы просвет сверху и до головы был одинаковым
   (56 px сверху и ~56 px до волос на типичном десктопе). */
.hero-logo img {
  width: clamp(220px, 30.4vw, 437px); height: auto; margin-inline: auto;
  filter: drop-shadow(0 6px 28px rgba(0, 0, 0, .9));
}
.hero-inner {
  position: relative; z-index: 2;
  flex: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  align-items: end; gap: 40px;
  padding-top: clamp(6px, 0.8vw, 14px);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.62vw, 24px);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #f0f0ee;
  max-width: 22ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(24px, 3vw, 40px); }

/* цитата: как в референсе — прописные, наклон, тонкие «процарапанные» штрихи,
   стоит выше скелета-дудла и не задевает его */
.hero-quote {
  align-self: start;
  text-align: right;
  max-width: 250px;
  margin-left: auto;
}
.hero-quote::before {
  content: ""; display: block; width: 100%; height: 1px;
  background: rgba(255, 255, 255, .34); margin: 0 0 13px auto;
}
.hero-quote blockquote p {
  font-family: var(--font-script);
  font-size: clamp(14px, 1.16vw, 17px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .88);
  text-shadow: 0 0 15px rgba(255, 255, 255, .16), 0 2px 12px rgba(0, 0, 0, .9);
  transform: skewX(-8deg);
  transform-origin: 100% 0;
  filter: url(#scratched);
}
.hero-quote figcaption {
  display: flex; align-items: center; justify-content: flex-end; gap: 10px;
  margin-top: 12px;
  font-family: var(--font-script); font-size: 13px;
  letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.hero-quote figcaption::before {
  content: ""; width: 26px; height: 1px; background: rgba(255, 255, 255, .5);
}

/* ---------- 8. Секции ---------- */
.section { border-bottom: 1px solid var(--line); }

/* ---------- 9. Музыка ---------- */
.track-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(10px, 1.15vw, 18px);
  padding-bottom: clamp(6px, 1vw, 12px);
}
.track-card { display: block; width: 100%; text-align: left; }
.track-cover {
  position: relative;
  display: block; overflow: hidden; background: var(--surface);
  aspect-ratio: 9 / 10;                 /* пропорция обложки как в концепте */
}
.track-badge {
  position: absolute; z-index: 2; top: 10px; left: 10px;
  padding: 4px 8px; border: 1px solid rgba(127, 182, 214, .45); border-radius: 2px;
  background: rgba(8, 8, 8, .68);
  font-family: var(--font-display); font-size: 10px; font-weight: 400;
  letter-spacing: .18em; text-transform: uppercase; color: var(--cool);
}
.track-cover img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.3) brightness(.88) contrast(1.06);
  transition: transform .6s var(--ease), filter .6s var(--ease);
}
.track-card:hover .track-cover img,
.track-card:focus-visible .track-cover img { transform: scale(1.035); filter: grayscale(0) brightness(1) contrast(1.02); }
.track-meta {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding-block: 13px 12px;
  border-bottom: 1px solid var(--line);
}
.track-name { font-size: 13px; color: #e8e8e6; }
.track-time {
  font-family: var(--font-display); font-size: 11px; font-weight: 300;
  letter-spacing: .1em; color: var(--text-dim);
}
.track-card:hover .track-name { color: #fff; }
.track-card:hover .track-time { color: var(--ember); }

.player-bar {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: clamp(14px, 1.8vw, 22px);
  padding-block: clamp(20px, 2.4vw, 30px) clamp(24px, 2.6vw, 34px);
}
.player-btn {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 50%;
  color: #d8d8d6;
  transition: border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.player-btn .ico { width: 13px; height: 13px; margin-left: 2px; }
.player-btn:hover { border-color: var(--ember); color: #fff; transform: scale(1.05); }
.waveform { display: flex; align-items: center; gap: 2px; flex: 1 1 220px; height: 44px; overflow: hidden; }
.waveform span {
  flex: 1 1 auto; min-width: 1px; background: #464646; border-radius: 1px;
  transition: background-color .4s var(--ease);
}
.player-bar:hover .waveform span { background: #5c5c5c; }
.waveform span.is-ember { background: var(--ember); }

.player-label {
  font-family: var(--font-display); font-size: 11px; font-weight: 300;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim);
}
.platform-inline { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.platform-inline a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 13px; border: 1px solid var(--line-strong); border-radius: 2px;
  font-family: var(--font-display); font-size: 11px; font-weight: 300;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft);
  transition: color .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}
.platform-inline a:hover { color: #fff; border-color: var(--ember); background: rgba(208, 138, 60, .06); }
.platform-inline .ico { width: 14px; height: 14px; color: var(--ember); }

/* профили артиста на площадках */
.artist-links {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px;
  padding-bottom: clamp(24px, 2.8vw, 38px);
}
.artist-links ul { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(14px, 1.6vw, 24px); }
.artist-links a {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 11.5px; font-weight: 300;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted);
  transition: color .25s var(--ease);
}
.artist-links a:hover { color: var(--ember); }
.artist-links .ico { width: 14px; height: 14px; }

/* ---------- 10. Видео ---------- */
.video-featured {
  display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
  gap: clamp(20px, 2.6vw, 44px);
  align-items: center;
  padding-bottom: clamp(28px, 3vw, 44px);
}
.video-embed {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
}
.video-embed img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.25) brightness(.82) contrast(1.06);
  transition: transform .6s var(--ease), filter .6s var(--ease);
}
.video-embed:hover img { transform: scale(1.03); filter: grayscale(0) brightness(1); }
.video-embed.is-playing { cursor: default; }
.video-iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; pointer-events: none; }
.video-play::before {
  content: ""; position: absolute; width: 68px; height: 68px;
  border: 1px solid rgba(255, 255, 255, .75); border-radius: 50%;
  background: rgba(8, 8, 8, .35);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.video-play .ico { position: relative; width: 18px; height: 18px; margin-left: 4px; }
.video-embed:hover .video-play::before { background: var(--ember); border-color: var(--ember); transform: scale(1.08); }

.video-caption { padding-top: 2px; }
.video-caption .video-name {
  font-family: var(--font-display); font-size: clamp(18px, 1.5vw, 22px); font-weight: 400;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text);
}
.video-caption .video-type {
  margin-top: 8px;
  font-family: var(--font-display); font-size: 11px; font-weight: 300;
  letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim);
}
.video-text { margin: 16px 0 20px; font-size: 13.5px; line-height: 1.68; color: var(--text-muted); }
.video-note {
  margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 12.5px; line-height: 1.6; color: var(--text-dim);
}

/* ---------- 11. Пресс-релизы ---------- */
.press-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  column-gap: clamp(24px, 3.4vw, 60px);
  padding-bottom: clamp(28px, 3vw, 44px);
}
.press-card {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: clamp(16px, 1.8vw, 24px);
  padding-block: clamp(18px, 2vw, 26px);
  border-top: 1px solid var(--line);
}
.press-card img {
  width: 96px; height: 96px; object-fit: cover; align-self: start;
  filter: grayscale(.25) brightness(.9);
  transition: filter .5s var(--ease);
}
.press-card:hover img { filter: grayscale(0) brightness(1); }
.press-card.is-soon img { filter: grayscale(.75) brightness(.7); }
.press-title { font-family: var(--font-display); font-size: 16px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.press-meta { margin: 6px 0 8px; font-size: 11.5px; color: var(--text-dim); }
.press-text { font-size: 13px; line-height: 1.68; color: var(--text-muted); margin-bottom: 14px; }

/* ---------- 12. Фото-полоса ---------- */
.photo-strip { position: relative; border-bottom: 1px solid var(--line); }
.photo-label {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--maxw); padding: 16px var(--gut); z-index: 2;
}
.photo-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; }
.photo-row li { aspect-ratio: 5 / 4; overflow: hidden; }
.photo-row img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.42) brightness(.86) contrast(1.06);
  transition: filter .5s var(--ease), transform .6s var(--ease);
}
.photo-row li:hover img { filter: grayscale(0) brightness(1); transform: scale(1.02); }

/* ---------- 13. Футер ---------- */
.site-footer { background: var(--bg); }
.footer-inner {
  display: grid; grid-template-columns: 1fr 1.5fr;
  padding-block: clamp(30px, 3.4vw, 50px);
}
.footer-col { padding-right: clamp(20px, 2.4vw, 40px); }
.footer-contacts { border-left: 1px solid var(--line); padding-left: clamp(20px, 2.4vw, 40px); }
.footer-col .section-title { margin-bottom: clamp(16px, 1.8vw, 22px); }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-logo { width: clamp(150px, 12vw, 190px); height: auto; margin-bottom: clamp(14px, 1.6vw, 20px); opacity: .9; }
.footer-note { font-size: 12.5px; color: var(--text-muted); max-width: 30ch; }
.footer-socials { margin-top: clamp(20px, 2.4vw, 30px); }

.contact-list { margin-bottom: 26px; }
.contact-list li + li { margin-top: 10px; }
.contact-list a { font-family: var(--font-display); font-size: 14px; font-weight: 300; letter-spacing: .08em; color: var(--text-soft); transition: color .25s var(--ease); }
.contact-list a:hover { color: var(--ember); }

.footer-skeleton { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: clamp(28px, 3vw, 46px); }
.footer-skeleton svg { width: clamp(38px, 3vw, 48px); height: auto; aspect-ratio: 120 / 190; color: rgba(228, 228, 228, .55); }
.script-line { font-family: var(--font-script); font-size: clamp(19px, 1.6vw, 24px); line-height: 1.15; color: #dedede; transform: rotate(-2deg); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 18px; border-top: 1px solid var(--line);
  font-family: var(--font-display); font-size: 11px; font-weight: 300;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim);
}

/* ---------- 14. Модалка «где слушать» ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 4, 4, .84); backdrop-filter: blur(6px); }
.modal-panel {
  position: relative; z-index: 1;
  width: min(580px, 100%);
  display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: clamp(18px, 2vw, 28px);
  padding: clamp(20px, 2.4vw, 30px);
  background: var(--bg-soft); border: 1px solid var(--line-strong);
  animation: modal-in .35s var(--ease) both;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: none; } }
.modal-cover { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; align-self: start; filter: brightness(.94); }
.modal-body { min-width: 0; }
.modal-title { font-family: var(--font-display); font-size: 20px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; }
.modal-meta { margin-top: 8px; font-size: 12px; color: var(--text-dim); }
.platform-list { margin-top: 22px; display: grid; gap: 8px; }
.platform-list .platform-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px; border: 1px solid var(--line-strong);
  font-family: var(--font-display); font-size: 12px; font-weight: 300;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft);
  transition: border-color .3s var(--ease), color .3s var(--ease), background-color .3s var(--ease);
}
a.platform-link:hover { border-color: var(--ember); color: #fff; background: rgba(208, 138, 60, .06); }
.platform-list .ico-arrow { width: 14px; height: 14px; }
.platform-list .is-disabled { opacity: .45; pointer-events: none; }
.platform-link .pla { display: inline-flex; align-items: center; gap: 10px; }
.platform-link .pla .ico { width: 15px; height: 15px; }
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 36px; height: 36px; display: grid; place-items: center;
  color: var(--text-muted); transition: color .25s var(--ease), transform .25s var(--ease);
}
.modal-close:hover { color: #fff; transform: rotate(90deg); }

/* ---------- 14b. Подтверждение действия (копирование адреса) ---------- */
.toast {
  position: fixed; left: 50%; bottom: clamp(20px, 3vw, 38px); z-index: 140;
  transform: translate(-50%, 14px);
  max-width: min(92vw, 480px); padding: 14px 22px;
  border: 1px solid var(--line-strong); background: rgba(16, 16, 16, .97);
  color: var(--text-soft); font-size: 12.5px; line-height: 1.5; letter-spacing: .02em;
  text-align: center; opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast b { font-weight: 400; color: var(--ember); }
@media (prefers-reduced-motion: reduce) {
  .toast { transition: none; }
}

/* ---------- 15. Появление при скролле ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.is-visible { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }

/* ---------- 16. Адаптив ---------- */
@media (max-width: 1100px) {
  /* ряды карточек музыки и фото превращаются в горизонтальную ленту */
  .track-grid,
  .photo-row {
    display: flex; gap: 10px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .track-grid > *, .photo-row > * { flex: 0 0 clamp(180px, 30vw, 260px); scroll-snap-align: start; }
  .track-grid { padding-inline: var(--gut); }
  .wrap > .track-grid { margin-inline: calc(var(--gut) * -1); }
  .photo-row { padding-inline: 2px; }
  .photo-row > * { flex: 0 0 clamp(200px, 34vw, 300px); }
  .photo-row li { aspect-ratio: auto; }
  .photo-row img { aspect-ratio: 5 / 4; }

  .press-grid { grid-template-columns: 1fr; }
  .video-featured { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .main-nav { display: none; }
  .burger { display: block; }
  .header-inner { grid-template-columns: 1fr auto; min-height: 60px; }
  .header-logo { justify-self: start; grid-column: 1; grid-row: 1; }
  .socials { display: none; }
  .burger { grid-column: 2; grid-row: 1; }

  /* на телефоне hero — это кадр во всю ширину, поверх него логотип, ниже текст */
  .hero {
    min-height: auto;
    padding-top: 68vw;                      /* высота кадра: лицо остаётся выше заголовка */
    padding-bottom: clamp(30px, 7vw, 46px);
  }
  .hero-video { display: none; }
  /* на телефоне — кадр без добавленного неба: фон тут уходит под текст,
     и лицо остаётся выше заголовка, как было */
  .hero-bg {
    background-image: url("../assets/img/hero-mobile.jpg");
    background-size: cover;
    background-position: 68% center;
  }
  .hero-scrim {
    background: linear-gradient(180deg,
      rgba(8, 8, 8, .8) 0%, rgba(8, 8, 8, .18) 18%, rgba(8, 8, 8, .05) 38%,
      rgba(8, 8, 8, .4) 66%, var(--bg) 96%);
  }
  .hero-logo { position: absolute; top: 30px; left: 0; right: 0; }
  .hero-logo img { width: min(58vw, 260px); }
  .hero-inner { grid-template-columns: 1fr; align-items: start; gap: 30px; padding-top: clamp(24px, 7vw, 40px); padding-bottom: 0; }
  .hero-title { font-size: clamp(16px, 4.4vw, 20px); max-width: none; }
  .hero-quote { text-align: left; max-width: 320px; margin-left: 0; padding-top: 22px; border-top: 1px solid var(--line); }
  .hero-quote::before { display: none; }
  .hero-quote blockquote p { transform: none; }          /* на телефоне наклон только мешает чтению */
  .hero-quote figcaption { justify-content: flex-start; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .press-card { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; }
  .press-card img { width: 72px; height: 72px; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-col { padding-right: 0; }
  .footer-contacts { border-left: 0; border-top: 1px solid var(--line); margin-top: 34px; padding-left: 0; padding-top: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .modal-panel { grid-template-columns: 1fr; }
  .modal-cover { max-width: 150px; }
  .section-head { flex-wrap: wrap; row-gap: 6px; }
  .section-note { display: none; }
}

@media (max-width: 420px) {
  .btn { padding: 15px 18px; font-size: 11px; letter-spacing: .12em; }
  .contact-list a { font-size: 13px; }
}

/* ---------- 17. Меньше движения ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-video { display: none; }                 /* вместо видео — постер */
}
