/* ══════════════════════════════════════════════════════════
   trofimova-music.ru — общий стиль
   Драма-шик · геометрия · без чёрного
   ══════════════════════════════════════════════════════════ */
:root {
  --dark-gray:  #5A6064;
  --dark-blue:  #00558B;
  --blue-gray:  #4B7189;
  --light-gray: #A5A8AC;
  --pink:       #F0648B;
  --crimson:    #D11248;
  --coral:      #EF4857;
  --teal:       #6CC5BD;
  --violet:     #9E7599;
  --deep:       #2E3A44;           /* тёмный сине-серый вместо чёрного */
  --deep2:      #232D36;
  --ink:        #E8EAEC;
  --ink-soft:   #C6CACD;
  --font-head:  "Unbounded", sans-serif;
  --font-body:  "Manrope", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { background: #123F63; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: linear-gradient(160deg, var(--deep) 0%, #2F4055 45%, #123F63 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

::selection { background: var(--crimson); color: #fff; }

/* ── шапка ─────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(35, 45, 54, .72);
  border-bottom: 1px solid rgba(165,168,172,.18);
}
.site-header .bar {
  max-width: 1240px; margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: var(--font-head);
  font-weight: 700; font-size: 15px;
  letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
  display: flex; align-items: center; gap: 10px;
  white-space: nowrap;
}
.logo::before {
  content: "";
  width: 12px; height: 12px;
  background: var(--crimson);
  rotate: 45deg;
  box-shadow: 0 0 18px rgba(209,18,72,.8);
}
.logo em { font-style: normal; color: var(--pink); font-weight: 300; }

.site-nav { display: flex; gap: 4px; }
.site-nav a {
  font-size: 12px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-soft);
  padding: 8px 14px;
  border: 1px solid transparent;
  transition: .25s;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--pink); }
.site-nav a.active {
  color: var(--ink);
  border-color: rgba(240,100,139,.6);
}

.burger {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 1px solid rgba(165,168,172,.4);
  cursor: pointer; position: relative;
}
.burger span, .burger::before, .burger::after {
  content: ""; position: absolute; left: 11px; right: 11px;
  height: 2px; background: var(--ink);
  transition: .3s;
}
.burger::before { top: 15px; }
.burger span    { top: 21px; }
.burger::after  { top: 27px; }
body.nav-open .burger::before { top: 21px; rotate: 45deg; background: var(--pink); }
body.nav-open .burger::after  { top: 21px; rotate: -45deg; background: var(--pink); }
body.nav-open .burger span    { opacity: 0; }

@media (max-width: 920px) {
  .burger { display: block; }
  .site-nav {
    position: fixed; inset: 64px 0 auto 0; z-index: 49;
    flex-direction: column; gap: 0;
    background: rgba(35,45,54,.97);
    border-bottom: 2px solid var(--crimson);
    padding: 12px 0 20px;
    translate: 0 -130%;
    transition: translate .35s ease;
  }
  body.nav-open .site-nav { translate: 0 0; }
  .site-nav a { padding: 14px 28px; font-size: 14px; }
}

/* ── общие блоки ───────────────────────────────── */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }

.page-head { padding: 64px 0 32px; position: relative; }
.kicker {
  font-size: 12px; letter-spacing: .55em; text-transform: uppercase;
  color: var(--light-gray); margin-bottom: 14px;
}
h1.page-title, .h-display {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(30px, 5vw, 62px);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.h-display .accent, h1 .accent {
  color: transparent;
  background: linear-gradient(90deg, var(--pink), var(--coral) 55%, var(--violet));
  -webkit-background-clip: text; background-clip: text;
}
.rule { width: 72px; height: 2px; background: var(--crimson); margin: 22px 0; }

h2.section-title {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(20px, 2.6vw, 30px);
  text-transform: uppercase;
  letter-spacing: .04em;
  display: flex; align-items: center; gap: 16px;
}
h2.section-title::before {
  content: ""; width: 14px; height: 14px;
  background: var(--pink); rotate: 45deg; flex: none;
  box-shadow: 0 0 16px rgba(240,100,139,.6);
}

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 14px 26px;
  border: 1px solid rgba(165,168,172,.5);
  background: none; cursor: pointer;
  transition: .3s;
}
.btn:hover {
  border-color: var(--pink); color: var(--pink);
  box-shadow: 0 0 24px rgba(240,100,139,.25);
  translate: 0 -2px;
}
.btn.solid {
  background: var(--crimson);
  border-color: var(--crimson);
  color: #fff;
}
.btn.solid:hover {
  background: var(--pink); border-color: var(--pink);
  color: #fff;
  box-shadow: 0 8px 30px rgba(240,100,139,.4);
}

/* ── геометрия фона ────────────────────────────── */
.geo { position: absolute; pointer-events: none; z-index: 0; }
.geo.ring {
  border: 1.5px solid rgba(165,168,172,.22);
  border-radius: 50%;
  animation: breathe 9s ease-in-out infinite;
}
.geo.ring.dashed { border-style: dashed; border-color: rgba(240,100,139,.3); animation: spin 70s linear infinite; }
.geo.sq { border: 1.5px solid rgba(108,197,189,.5); rotate: 24deg; animation: drift 11s ease-in-out infinite; }
.geo.dot {
  background: var(--crimson); border-radius: 50%;
  box-shadow: 0 0 32px rgba(209,18,72,.7);
  animation: drift 8s ease-in-out infinite;
}
.geo.slash {
  width: 1.5px;
  background: linear-gradient(to bottom, transparent, var(--violet), transparent);
}
@keyframes breathe { 0%,100% { scale: 1; opacity: .9; } 50% { scale: 1.05; opacity: .5; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes drift { 0%,100% { translate: 0 0; } 50% { translate: 0 -2.4vmin; } }

/* появление при скролле */
.rev { opacity: 0; translate: 0 30px; transition: opacity .8s ease, translate .8s ease; }
.rev.on { opacity: 1; translate: 0 0; }

/* ── карточки песен ────────────────────────────── */
.songs-toolbar {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
  margin: 8px 0 28px;
}
.songs-toolbar input[type="search"] {
  flex: 1 1 240px;
  font-family: var(--font-body); font-size: 15px;
  color: var(--ink);
  background: rgba(35,45,54,.6);
  border: 1px solid rgba(165,168,172,.4);
  padding: 13px 18px;
  outline: none;
  transition: .25s;
}
.songs-toolbar input[type="search"]::placeholder { color: var(--light-gray); }
.songs-toolbar input[type="search"]:focus { border-color: var(--pink); box-shadow: 0 0 20px rgba(240,100,139,.2); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600; letter-spacing: .08em;
  color: var(--ink-soft);
  background: none;
  border: 1px solid rgba(165,168,172,.35);
  padding: 8px 14px;
  cursor: pointer;
  transition: .25s;
  text-transform: uppercase;
}
.chip:hover { border-color: var(--teal); color: var(--teal); }
.chip.on {
  background: var(--dark-blue);
  border-color: var(--dark-blue);
  color: #fff;
}

.songs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 56px 22px; /* большой вертикальный зазор: сдвинутые карточки не наезжают на следующий ряд */
  padding-bottom: 30px;
}
.song-card {
  position: relative;
  transition: translate .3s ease;
}
.songs-grid.stagger .song-card:nth-child(even) { translate: 0 26px; }
.song-card .cover {
  aspect-ratio: 1;
  position: relative;
  display: grid; place-items: center;
  overflow: hidden;
  border: 1px solid rgba(165,168,172,.25);
  transition: .35s;
}
.song-card:hover .cover {
  border-color: var(--pink);
  box-shadow: 0 14px 40px rgba(20,28,38,.5), 0 0 24px rgba(240,100,139,.25);
  translate: 0 -4px;
}
.song-card .cover .init {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(44px, 6vw, 64px);
  color: rgba(255,255,255,.92);
  z-index: 2;
}
.song-card .cover svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.song-card .name {
  font-family: var(--font-head);
  font-weight: 500; font-size: 14px;
  margin-top: 14px;
  line-height: 1.35;
}
.song-card .genre {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal);
  margin-top: 5px;
}
.song-card .listen {
  position: absolute; right: 10px; top: 10px; z-index: 3;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(35,45,54,.7);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  color: #fff;
  opacity: 0; transition: .3s;
  cursor: default;
}
.song-card:hover .listen { opacity: 1; }
.songs-count { color: var(--light-gray); font-size: 13px; letter-spacing: .06em; margin-bottom: 18px; }
.songs-empty { color: var(--light-gray); padding: 40px 0; font-size: 15px; }

@media (max-width: 640px) {
  .songs-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 14px; }
  .songs-grid.stagger .song-card:nth-child(even) { translate: 0 18px; }
}

/* ── афиша ─────────────────────────────────────── */
.event {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid rgba(165,168,172,.22);
  position: relative;
}
.event:first-of-type { border-top: 1px solid rgba(165,168,172,.22); }
.event .date {
  font-family: var(--font-head);
  text-transform: uppercase;
}
.event .date .d { font-size: 42px; font-weight: 700; line-height: 1; color: var(--pink); }
.event .date .m { font-size: 13px; letter-spacing: .2em; color: var(--ink-soft); margin-top: 6px; }
.event .date .t { font-size: 11px; color: var(--light-gray); margin-top: 6px; letter-spacing: .1em; }
.event .info h3 {
  font-family: var(--font-head);
  font-weight: 500; font-size: 19px;
  line-height: 1.3;
  margin-bottom: 8px;
}
.event .info .venue {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 10px;
}
.event .info .desc { font-size: 14px; line-height: 1.6; color: var(--ink-soft); max-width: 62ch; }
.event .info .age {
  display: inline-block; margin-left: 8px;
  font-size: 11px; font-weight: 700;
  border: 1px solid var(--light-gray); color: var(--light-gray);
  padding: 1px 6px; vertical-align: 2px;
}
.event.past { opacity: .55; }
.event.past .date .d { color: var(--light-gray); }

@media (max-width: 760px) {
  .event { grid-template-columns: 1fr; gap: 14px; }
  .event .date { display: flex; align-items: baseline; gap: 12px; }
  .event .date .m, .event .date .t { margin-top: 0; }
}

/* ── биография ─────────────────────────────────── */
.bio-flow { max-width: 880px; }
.bio-flow p { font-size: 16px; line-height: 1.85; color: var(--ink-soft); margin-bottom: 22px; }
.bio-flow p strong { color: var(--ink); }

/* вопрос-заголовок внутри текста */
.bio-h {
  position: relative;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(19px, 2.5vw, 27px);
  line-height: 1.35;
  color: var(--ink);
  margin: 64px 0 24px;
  padding: 0 0 18px 28px;
}
.bio-h::before {
  content: "";
  position: absolute; left: 0; top: .5em;
  width: 11px; height: 11px;
  background: var(--crimson);
  rotate: 45deg;
  box-shadow: 0 0 18px rgba(209,18,72,.8);
}
.bio-h::after {
  content: "";
  position: absolute; left: 28px; bottom: 0;
  width: 64px; height: 2px;
  background: linear-gradient(90deg, var(--pink), transparent);
}
.bio-flow > .bio-h:first-child { margin-top: 8px; }

/* стихи */
.bio-verse {
  width: fit-content; max-width: 100%;
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(15px, 1.9vw, 19px);
  line-height: 2.05;
  color: var(--ink);
  margin: 34px 0 34px 28px;
  padding: 24px 30px 24px 46px;
  border: 1px solid rgba(240,100,139,.35);
  background: rgba(240,100,139,.06);
}
.bio-verse span { display: block; text-indent: -16px; }  /* перенос длинной строки — с отступом */
@media (max-width: 640px) {
  .bio-h { margin-top: 48px; }
  .bio-verse { margin-left: 0; padding: 18px 20px 18px 36px; }
}
.pull-quote {
  position: relative;
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.4;
  color: var(--ink);
  margin: 48px 0;
  padding: 8px 0 8px 34px;
  border-left: 3px solid var(--crimson);
}
.pull-quote .accent { color: var(--pink); }
.bio-photo {
  position: relative;
  margin: 48px 0;
}
.bio-photo img { width: 100%; box-shadow: 0 30px 80px rgba(20,28,38,.55); }
.bio-photo::before {
  content: ""; position: absolute;
  inset: -14px 14px 14px -14px;
  border: 2px solid var(--crimson);
  z-index: -1;
}
.bio-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
  margin: 56px 0;
}
@media (max-width: 820px) { .bio-split { grid-template-columns: 1fr; } }

/* ── галерея ───────────────────────────────────── */
.g-section { margin-bottom: 72px; }
.g-label {
  font-family: var(--font-head);
  font-size: 13px; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--light-gray);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
}
.g-label b {
  font-size: 40px; font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--pink);
}
.g-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 110px;
  grid-auto-flow: dense;
  gap: 14px;
}
.g-item {
  position: relative; overflow: hidden;
  cursor: zoom-in;
  border: 1px solid rgba(165,168,172,.18);
}
.g-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: scale .6s ease, filter .6s ease;
}
.g-item:hover img { scale: 1.05; }
.g-item.mono img { filter: grayscale(1) contrast(1.05); }
.g-item.mono:hover img { filter: grayscale(0); }
.g-item.deco {
  cursor: default;
  display: grid; place-items: center;
  border: none;
}
.g-item .frame {
  position: absolute; inset: 10px;
  border: 1px solid rgba(240,100,139,0);
  transition: .4s; pointer-events: none;
}
.g-item:hover .frame { border-color: rgba(240,100,139,.8); inset: 8px; }
/* размеры ячеек */
.gs-a { grid-column: span 2; grid-row: span 4; }
.gs-b { grid-column: span 2; grid-row: span 3; }
.gs-c { grid-column: span 2; grid-row: span 2; }
.gs-d { grid-column: span 3; grid-row: span 3; }
.gs-e { grid-column: span 4; grid-row: span 4; }
.gs-f { grid-column: span 1; grid-row: span 2; }
@media (max-width: 760px) {
  .g-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .gs-a { grid-column: span 1; grid-row: span 3; }
  .gs-b, .gs-c, .gs-d, .gs-e { grid-column: span 2; grid-row: span 3; }
  .gs-c { grid-row: span 2; }
  .gs-f { display: none; }
}

/* лайтбокс */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(35,45,54,.94);
  display: grid; place-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: min(92vw, 1100px); max-height: 86vh;
  box-shadow: 0 40px 120px rgba(0,0,0,.6);
  border: 1px solid rgba(255,255,255,.15);
}
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next {
  position: absolute;
  background: none; border: 1px solid rgba(255,255,255,.35);
  color: #fff; font-size: 20px; font-family: var(--font-body);
  width: 52px; height: 52px;
  cursor: pointer; transition: .25s;
}
.lightbox .lb-close:hover, .lightbox .lb-prev:hover, .lightbox .lb-next:hover { border-color: var(--pink); color: var(--pink); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; translate: 0 -50%; }
.lb-next { right: 24px; top: 50%; translate: 0 -50%; }

/* ── аудиоплеер ────────────────────────────────── */
.player {
  user-select: none;
  margin-top: 14px;
  display: flex; flex-direction: column; gap: 12px;
}
.player .pl-wave {
  display: flex; align-items: center; gap: 10px;
}
.player .pl-time {
  font-size: 11px; font-weight: 600;
  color: var(--light-gray);
  font-variant-numeric: tabular-nums;
  flex: none; min-width: 30px;
}
.player .pl-time.dur { text-align: right; }
.player .pl-bars {
  flex: 1;
  display: flex; align-items: center; gap: 2px;
  height: 44px;
  cursor: pointer;
}
.player .pl-bars span {
  flex: 1;
  min-height: 4px;
  border-radius: 2px;
  background: rgba(165,168,172,.35);
  transition: background .2s;
}
.player .pl-bars span.on {
  background: linear-gradient(to top, var(--crimson), var(--pink));
}
.player.playing .pl-bars span.on { box-shadow: 0 0 6px rgba(240,100,139,.35); }
.player .pl-ctrl {
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.player .pl-btn {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  background: none; border: none;
  color: var(--ink-soft);
  cursor: pointer;
  border-radius: 50%;
  transition: .2s;
}
.player .pl-btn svg { width: 19px; height: 19px; }
.player .pl-btn:hover { color: var(--pink); }
.player .pl-btn.on { color: var(--pink); background: rgba(240,100,139,.12); }
.player .pl-main {
  width: 58px; height: 58px;
  background: linear-gradient(145deg, var(--crimson), var(--pink));
  color: #fff;
  box-shadow: 0 8px 26px rgba(209,18,72,.45);
}
.player .pl-main svg { width: 24px; height: 24px; }
.player .pl-main:hover { color: #fff; scale: 1.06; box-shadow: 0 10px 32px rgba(240,100,139,.55); }
.player.loading .pl-main { animation: plPulse 1s ease-in-out infinite; }
@keyframes plPulse { 50% { opacity: .55; } }
.player .pl-vol {
  -webkit-appearance: none; appearance: none;
  width: 82px; height: 3px;
  background: rgba(165,168,172,.4);
  border-radius: 2px;
  outline: none; cursor: pointer;
}
.player .pl-vol::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px; height: 13px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.player .pl-vol::-moz-range-thumb {
  width: 13px; height: 13px; border: none; border-radius: 50%;
  background: #fff;
}
/* пульсация обложки и карточки во время проигрывания */
@keyframes coverPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240,100,139,.5), 0 14px 40px rgba(20,28,38,.5); scale: 1; }
  50%      { box-shadow: 0 0 46px 10px rgba(240,100,139,.55), 0 14px 40px rgba(20,28,38,.5); scale: 1.015; }
}
@keyframes cardGlow {
  0%, 100% { background: rgba(240,100,139,0); }
  50%      { background: rgba(240,100,139,.06); }
}
.song-card.pulse .cover {
  border-color: var(--pink);
  animation: coverPulse 1.7s ease-in-out infinite;
}
.song-card.pulse {
  animation: cardGlow 1.7s ease-in-out infinite;
}
.song-modal .sm-box.pulse .sm-cover img,
.song-modal .sm-box.pulse .sm-cover .sm-svg {
  animation: coverPulse 1.7s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .song-card.pulse .cover, .song-card.pulse,
  .song-modal .sm-box.pulse .sm-cover img,
  .song-modal .sm-box.pulse .sm-cover .sm-svg { animation: none; }
}

/* компактный вариант в карточке */
.player.mini { gap: 8px; margin-top: 10px; }
.player.mini .pl-bars { height: 26px; }
.player.mini .pl-main { width: 40px; height: 40px; }
.player.mini .pl-main svg { width: 17px; height: 17px; }
.player.mini .pl-btn { width: 30px; height: 30px; }
.player.mini .pl-btn svg { width: 15px; height: 15px; }
.player.mini .pl-vol { display: none; }
.player.mini .pl-mute { display: none; }

/* ── закреплённый плеер внизу ──────────────────── */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: rgba(35,45,54,.96);
  backdrop-filter: blur(16px);
  border-top: 2px solid var(--crimson);
  box-shadow: 0 -16px 50px rgba(20,28,38,.5);
  translate: 0 110%;
  transition: translate .4s cubic-bezier(.2,.8,.2,1);
  user-select: none;
}
.dock.open { translate: 0 0; }
body.dock-open .site-footer { padding-bottom: 76px; }
.dock-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
  padding: 10px 20px;
}
.dock .d-cover {
  width: 52px; height: 52px; flex: none;
  position: relative; overflow: hidden;
  border: 1px solid rgba(165,168,172,.35);
}
.dock .d-cover img, .dock .d-cover svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dock.playing .d-cover { animation: coverPulse 1.7s ease-in-out infinite; border-color: var(--pink); }
.dock .d-info { flex: 1; min-width: 0; }
.dock .d-title {
  font-family: var(--font-head);
  font-weight: 500; font-size: 13px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 4px;
}
.dock .d-wave { display: flex; align-items: center; gap: 10px; }
.dock .pl-time {
  font-size: 11px; font-weight: 600; color: var(--light-gray);
  font-variant-numeric: tabular-nums; flex: none; min-width: 30px;
}
.dock .pl-bars {
  flex: 1; display: flex; align-items: center; gap: 2px;
  height: 26px; cursor: pointer;
}
.dock .pl-bars span {
  flex: 1; min-height: 3px; border-radius: 2px;
  background: rgba(165,168,172,.35);
  transition: background .2s;
}
.dock .pl-bars span.on { background: linear-gradient(to top, var(--crimson), var(--pink)); }
.dock .d-ctrl { display: flex; align-items: center; gap: 6px; flex: none; }
.dock .pl-btn {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  background: none; border: none;
  color: var(--ink-soft); cursor: pointer;
  border-radius: 50%;
  transition: .2s;
  font-size: 14px;
}
.dock .pl-btn svg { width: 18px; height: 18px; }
.dock .pl-btn:hover { color: var(--pink); }
.dock .pl-btn.on { color: var(--pink); background: rgba(240,100,139,.12); }
.dock .d-main {
  width: 46px; height: 46px;
  background: linear-gradient(145deg, var(--crimson), var(--pink));
  color: #fff;
  box-shadow: 0 6px 20px rgba(209,18,72,.45);
}
.dock .d-main svg { width: 20px; height: 20px; }
.dock .d-main:hover { color: #fff; scale: 1.06; }
.dock .pl-vol {
  -webkit-appearance: none; appearance: none;
  width: 74px; height: 3px;
  background: rgba(165,168,172,.4);
  border-radius: 2px; outline: none; cursor: pointer;
}
.dock .pl-vol::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.dock .pl-vol::-moz-range-thumb { width: 12px; height: 12px; border: none; border-radius: 50%; background: #fff; }
.dock .d-close { color: var(--light-gray); }
@media (max-width: 700px) {
  .dock-inner { gap: 10px; padding: 8px 12px; }
  .dock .pl-vol, .dock .pl-mute, .dock .pl-back { display: none; }
  .dock .d-cover { width: 44px; height: 44px; }
}

/* ── карточка песни (модальное окно) ───────────── */
.song-card.has-more { cursor: pointer; }
.song-modal .sm-box {
  display: grid; grid-template-columns: 320px 1fr;
  gap: 32px;
  max-width: min(92vw, 860px);
  max-height: 86vh; overflow: auto;
  background: var(--deep2);
  border: 1px solid rgba(165,168,172,.3);
  border-top: 3px solid var(--crimson);
  padding: 32px;
}
.song-modal .sm-cover img, .song-modal .sm-svg { width: 100%; aspect-ratio: 1; object-fit: cover; }
.song-modal .sm-svg { position: relative; }
.song-modal .sm-svg svg { width: 100%; height: 100%; }
.song-modal h3 {
  font-family: var(--font-head); font-weight: 500;
  font-size: 24px; margin-bottom: 6px;
}
.song-modal .sm-note { color: var(--light-gray); font-size: 13px; margin-bottom: 10px; }
.song-modal .sm-desc { color: var(--ink-soft); line-height: 1.7; font-size: 15px; margin: 12px 0; }
.song-modal .sm-lyrics summary {
  cursor: pointer; color: var(--teal);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  margin: 12px 0 8px;
}
.song-modal .sm-lyrics pre {
  font-family: var(--font-body); font-size: 15px; line-height: 1.7;
  color: var(--ink-soft); white-space: pre-wrap;
}
.song-modal .sm-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
@media (max-width: 720px) {
  .song-modal .sm-box { grid-template-columns: 1fr; gap: 20px; padding: 22px; }
  .song-modal .sm-cover { max-width: 240px; }
}

/* афиша с изображением */
.event.with-img { grid-template-columns: 150px 170px 1fr auto; }
.event .ev-img { width: 170px; aspect-ratio: 3/4; object-fit: cover; border: 1px solid rgba(165,168,172,.3); }
@media (max-width: 900px) {
  .event.with-img { grid-template-columns: 1fr; }
  .event .ev-img { width: 200px; }
}

/* ── контакты ──────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 12px;
}
.contact-card {
  border: 1px solid rgba(165,168,172,.3);
  padding: 30px 28px;
  text-decoration: none;
  position: relative;
  transition: .3s;
  overflow: hidden;
}
.contact-card::after {
  content: ""; position: absolute;
  right: -22px; bottom: -22px;
  width: 64px; height: 64px;
  border: 1.5px solid rgba(108,197,189,.4);
  rotate: 20deg;
  transition: .4s;
}
.contact-card:hover { border-color: var(--pink); translate: 0 -4px; box-shadow: 0 16px 40px rgba(20,28,38,.4); }
.contact-card:hover::after { rotate: 65deg; border-color: var(--pink); }
.contact-card .lbl {
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--light-gray); margin-bottom: 12px;
}
.contact-card .val {
  font-family: var(--font-head);
  font-weight: 500; font-size: 17px;
  color: var(--ink);
  word-break: break-word;
}
.contact-card .val.accent2 { color: var(--pink); }

/* ── главная ───────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding: 48px 0;
}
.hero .content { display: flex; flex-direction: column; align-items: flex-start; gap: 3.2vmin; }
.hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(32px, 5.4vw, 76px);
  line-height: 1.06;
  text-transform: uppercase; letter-spacing: .02em;
}
.hero h1 .accent { display: block; font-weight: 300; }
.hero .note { max-width: 46ch; font-size: clamp(14px, 2vmin, 17px); line-height: 1.65; color: var(--ink-soft); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; }

.portrait { position: relative; justify-self: center; }
.portrait img {
  width: 100%; max-width: 430px; max-height: 78vh;
  object-fit: cover; aspect-ratio: 3 / 4.2;
  box-shadow: 0 30px 80px rgba(20,28,38,.55);
}
.portrait::before {
  content: ""; position: absolute;
  inset: -18px -18px 18px 18px;
  border: 3px solid var(--crimson);
  box-shadow: 0 0 30px rgba(209,18,72,.35);
  z-index: -1;
}
.portrait .p-frame { position: absolute; inset: 12px 12px -12px -12px; border: 1.5px solid rgba(240,100,139,.6); z-index: -1; }
.portrait::after {
  content: ""; position: absolute;
  right: -7%; bottom: 6%;
  width: 88px; height: 88px;
  border: 1.5px solid var(--teal);
  rotate: 18deg; opacity: .8;
}
.portrait .p-dot {
  position: absolute; left: -5%; top: 12%;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 28px rgba(209,18,72,.8);
}
.sigil {
  position: absolute; top: 50%; left: -38%;
  translate: 0 -50%;
  width: 76%; aspect-ratio: 1;
  opacity: .55; z-index: -2;
  animation: spin 120s linear infinite reverse;
}
.sigil polygon { fill: none; stroke: var(--pink); stroke-width: .8; stroke-linejoin: round; }

.home-section { padding: 72px 0; position: relative; }
.home-section .head-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  margin-bottom: 36px;
}
/* блок «Новые и любимые» на главной: 5 песен на компьютере, 6 на телефоне */
#homeSongs .song-card:nth-child(n+6) { display: none; }
@media (max-width: 640px) {
  #homeSongs .song-card:nth-child(6) { display: block; }
}

.home-about p {
  font-size: 16px; line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.home-about p:last-child { margin-bottom: 26px; }

.home-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.home-strip .g-item { aspect-ratio: 3/4; }
.home-strip .g-item:nth-child(even) { translate: 0 22px; }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero .portrait { order: -1; margin-top: 8px; }
  .hero .portrait img { max-width: min(72vw, 340px); }
  .hero .content { align-items: center; text-align: center; }
  .hero .cta { justify-content: center; }
  .home-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ── подвал ────────────────────────────────────── */
.site-footer {
  margin-top: 80px;
  border-top: 1px solid rgba(165,168,172,.2);
  background: rgba(35,45,54,.55);
  position: relative; z-index: 2;
}
.site-footer .inner {
  max-width: 1240px; margin: 0 auto;
  padding: 44px 24px 36px;
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center;
  gap: 24px;
}
.site-footer .socials { display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer .socials a {
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-soft);
  padding: 9px 15px;
  border: 1px solid rgba(165,168,172,.35);
  transition: .3s;
}
.site-footer .socials a:hover { border-color: var(--pink); color: var(--pink); }
.site-footer .copy { font-size: 12px; color: var(--light-gray); letter-spacing: .06em; }
.site-footer .domain {
  font-family: var(--font-head);
  font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--pink); text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .rev { opacity: 1; translate: 0 0; }
}

/* ── ссылка на страницу песни в карточке ── */
.song-card .name .song-link { color: inherit; text-decoration: none; }
.song-card .name .song-link:hover { color: var(--pink); }
.song-modal .sm-page { margin-top: 16px; font-size: 13px; }
.song-modal .sm-page a { color: var(--teal); }

/* ── отдельная страница песни ── */
.song-page {
  display: grid; grid-template-columns: 320px 1fr;
  gap: 40px; align-items: start;
  max-width: 980px;
}
.song-page .sp-cover img, .song-page .sm-svg { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.song-page .sm-svg { position: relative; }
.song-page .sm-svg svg { width: 100%; height: 100%; }
.song-page .sp-note { color: var(--light-gray); font-size: 13px; margin-bottom: 10px; }
.song-page .sp-desc { color: var(--ink-soft); line-height: 1.7; font-size: 16px; margin: 16px 0; }
.song-page .sp-h {
  color: var(--teal); font-size: 12px; font-weight: 400;
  letter-spacing: .16em; text-transform: uppercase;
  margin: 24px 0 10px;
}
.song-page .sp-lyrics {
  font-family: var(--font-body); font-size: 16px; line-height: 1.8;
  color: var(--ink-soft); white-space: pre-wrap;
}
.song-page .sp-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
@media (max-width: 720px) {
  .song-page { grid-template-columns: 1fr; gap: 24px; }
  .song-page .sp-cover { max-width: 260px; }
}
