:root {
  --bg: #0a0a0c;
  --bg-elev: #111216;
  --bg-sheet: #14151a;
  --ink: #efece6;
  --ink-Soft: #b8b2a7;
  --ink-muted: #7e7970;
  --brass: #c8a273;
  --brass-hover: #dab78b;
  --brass-dim: rgba(200, 162, 115, 0.16);
  --line: rgba(239, 236, 230, 0.09);
  --line-strong: rgba(239, 236, 230, 0.18);
  --danger: #e07a68;
  --ok: #8fc19a;
  --serif: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --dock-h: 82px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--ink);
}

body {
  margin: 0;
  font-family: var(--sans);
  background: radial-gradient(circle at 18% 8%, rgba(200, 162, 115, 0.055), transparent 46%), var(--bg);
  color: var(--ink);
  line-height: 1.6;
  padding-bottom: calc(var(--dock-h) + 24px);
  -webkit-font-smoothing: antialiased;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.032;
  background-image: radial-gradient(rgba(255, 255, 255, 0.75) 0.6px, transparent 0.6px);
  background-size: 4px 4px;
}

.container {
  width: min(1220px, calc(100% - 40px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* ШАПКА */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(10, 10, 12, 0.82);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.24rem;
  letter-spacing: 0.22em;
  font-weight: 600;
}

.topnav {
  display: flex;
  gap: 28px;
}

.topnav a {
  color: var(--ink-Soft);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.topnav a:hover {
  color: var(--ink);
}

.topbar-cta {
  color: var(--brass);
  text-decoration: none;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  padding: 7px 14px;
  border: 1px solid rgba(200, 162, 115, 0.35);
  border-radius: 999px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.topbar-cta:hover {
  background: var(--brass-dim);
  border-color: var(--brass);
}

/* ПЕРВЫЙ ЭКРАН (S1 16:9) */
.hero {
  padding: 28px 0 44px;
}

.hero-stage {
  position: relative;
  min-height: 580px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0d0d10;
  display: grid;
  grid-template-columns: 1fr minmax(360px, 490px);
  align-items: center;
}

.hero-photo-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 24% center;
  display: block;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 10, 12, 0.06) 0%,
    rgba(10, 10, 12, 0.26) 44%,
    rgba(10, 10, 12, 0.86) 66%,
    rgba(10, 10, 12, 0.96) 100%
  );
}

.hero-content {
  grid-column: 2;
  position: relative;
  z-index: 2;
  padding: 52px 52px 52px 24px;
}

.eyebrow, .section-kicker {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brass);
  margin-bottom: 12px;
}

.hero-content h1 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
}

.hero-lead {
  margin: 0 0 28px;
  color: var(--ink-Soft);
  font-size: 1.04rem;
  line-height: 1.65;
  max-width: 40ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--brass);
  color: #100e0b;
}

.btn-primary:hover {
  background: var(--brass-hover);
}

.btn-ghost {
  background: rgba(239, 236, 230, 0.05);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: rgba(239, 236, 230, 0.11);
}

.btn-outline-brass {
  background: transparent;
  color: var(--brass);
  border-color: rgba(200, 162, 115, 0.45);
  padding: 9px 16px;
  font-size: 0.85rem;
}

.btn-outline-brass:hover {
  background: var(--brass-dim);
}

.hero-channels, .channels-inline, .platform-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.8rem;
  color: var(--ink-Soft);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.chip-link:hover {
  color: var(--ink);
  border-color: rgba(200, 162, 115, 0.48);
  background: rgba(200, 162, 115, 0.08);
}

/* ОБЩИЕ СЕКЦИИ */
.section {
  padding: 58px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.3vw, 2.75rem);
  line-height: 1.1;
}

.section-note {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.86rem;
}

/* ПЕРЕКЛЮЧАТЕЛЬ RU / INT */
.edition-switch {
  display: inline-flex;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px;
}

.edition-btn {
  background: transparent;
  border: 0;
  color: var(--ink-muted);
  font-size: 0.8rem;
  padding: 7px 13px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.edition-btn.is-active {
  background: rgba(200, 162, 115, 0.16);
  color: var(--ink);
}

/* СТУДИЙНАЯ СЕТКА РЕЛИЗА И ТЕКСТОВ */
.studio-grid {
  display: grid;
  grid-template-columns: minmax(340px, 460px) 1fr;
  gap: 32px;
  align-items: start;
}

.album-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 18px;
}

.cover-frame {
  aspect-ratio: 1 / 1;
  background: #09090b;
  overflow: hidden;
}

.cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.album-meta {
  padding: 22px 24px 24px;
}

.album-meta-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.album-title {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 500;
}

.album-desc {
  margin: 0 0 18px;
  color: var(--ink-Soft);
  font-size: 0.92rem;
}

/* СПИСОК ТРЕКОВ */
.tracklist-wrap {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.tracklist {
  list-style: none;
  margin: 0;
  padding: 6px;
}

.track-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.16s ease;
}

.track-row:hover {
  background: rgba(239, 236, 230, 0.045);
}

.track-row.is-selected {
  background: rgba(200, 162, 115, 0.1);
}

.track-num {
  font-size: 0.82rem;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.track-row.is-playing .track-num {
  color: var(--brass);
  font-weight: 600;
}

.track-name-wrap {
  min-width: 0;
}

.track-name-main {
  font-size: 0.95rem;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-row.is-playing .track-name-main {
  color: var(--brass);
}

.track-name-alt {
  font-size: 0.76rem;
  color: var(--ink-muted);
}

.track-dur {
  font-size: 0.82rem;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

/* ПОЭТИЧЕСКАЯ ТЕТРАДЬ (ТЕКСТЫ ПЕСЕН) */
.lyrics-sheet {
  background: var(--bg-sheet);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px 40px 34px;
  position: sticky;
  top: 84px;
}

.lyrics-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

.lyrics-counter {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brass);
}

.lyrics-nav-btns {
  display: flex;
  gap: 8px;
}

.icon-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--ink-Soft);
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.icon-pill:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.07);
}

.lyrics-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.lyrics-title {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.12;
}

.lyrics-subtitle {
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.lyrics-body {
  font-family: var(--serif);
  font-size: 1.24rem;
  line-height: 1.76;
  color: #f2efe9;
  max-width: 52ch;
}

.lyrics-stanza {
  margin: 0 0 22px;
  white-space: pre-line;
}

.lyrics-footer {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.copy-toast {
  color: var(--brass);
}

/* ГАЛЕРЕЯ (В КАДРЕ) */
.frames-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.frame-item {
  position: relative;
  margin: 0;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  cursor: zoom-in;
  grid-column: span 6;
  height: 380px;
}

.frame-item.is-lead {
  grid-column: span 5;
}

.frame-item.is-wide {
  grid-column: span 7;
}

.frame-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.frame-item:hover img {
  transform: scale(1.025);
}

/* БЛОК ОБ АВТОРЕ И РАССЫЛКА (S2) */
.newsletter-card {
  display: grid;
  grid-template-columns: minmax(280px, 440px) 1fr;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.author-photo-col {
  background: #09090b;
}

.author-photo-col img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.newsletter-copy-col {
  padding: 44px 48px;
}

.newsletter-copy-col h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.85rem, 2.8vw, 2.4rem);
  line-height: 1.15;
}

.about-lead {
  margin: 0 0 10px;
  font-size: 1.02rem;
  color: var(--ink);
}

.about-body {
  margin: 0 0 26px;
  font-size: 0.93rem;
  color: var(--ink-Soft);
  max-width: 58ch;
}

.subscribe-form {
  max-width: 520px;
  margin-bottom: 24px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.input-row input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
  background: #0b0c0f;
  color: var(--ink);
  font-size: 0.95rem;
  font-family: var(--sans);
}

.input-row input[type="email"]:focus {
  outline: none;
  border-color: var(--brass);
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--ink-muted);
  cursor: pointer;
}

.consent-row input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--brass);
}

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--brass);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.form-status {
  margin-top: 12px;
  font-size: 0.88rem;
  min-height: 1.3em;
}

.form-status.is-ok {
  color: var(--ok);
}

.form-status.is-err {
  color: var(--danger);
}

/* ПОДВАЛ */
.site-footer {
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.82rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

/* СТУДИЙНЫЙ ПЛЕЕР ВНИЗУ */
.player-dock {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  height: var(--dock-h);
  backdrop-filter: blur(20px);
  background: rgba(14, 15, 19, 0.93);
  border-top: 1px solid var(--line-strong);
}

.player-inner {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(190px, 280px) 1fr minmax(140px, 220px);
  align-items: center;
  gap: 20px;
}

.player-track-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.player-thumb {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.player-titles {
  min-width: 0;
}

.player-song {
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-artist {
  font-size: 0.76rem;
  color: var(--ink-muted);
}

.player-center {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.player-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.ctrl-btn {
  background: transparent;
  border: 0;
  color: var(--ink-Soft);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.15s ease;
}

.ctrl-btn:hover {
  color: var(--ink);
}

.ctrl-play {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brass);
  color: #100e0b;
  display: grid;
  place-items: center;
  font-size: 0.88rem;
}

.ctrl-play:hover {
  background: var(--brass-hover);
  color: #100e0b;
}

.player-timeline {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  gap: 10px;
}

.time-label {
  font-size: 0.74rem;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
  text-align: center;
}

input[type="range"] {
  accent-color: var(--brass);
  cursor: pointer;
  height: 4px;
}

.player-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.player-lyrics-link {
  color: var(--ink-Soft);
  text-decoration: none;
  font-size: 0.8rem;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.player-lyrics-link:hover {
  color: var(--ink);
  border-color: var(--brass);
}

.volume-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.vol-icon {
  color: var(--ink-muted);
  font-size: 0.85rem;
}

#volume-bar {
  width: 78px;
}

/* МОДАЛКИ (LIGHTBOX & 152-ФЗ) */
dialog {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  max-width: min(92vw, 1080px);
}

dialog::backdrop {
  background: rgba(5, 5, 7, 0.86);
  backdrop-filter: blur(8px);
}

.lightbox img {
  max-width: 90vw;
  max-height: 82vh;
  display: block;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
}

.lightbox-caption {
  margin-top: 10px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--ink-Soft);
}

.modal-close {
  position: fixed;
  top: 22px;
  right: 26px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(16, 17, 21, 0.85);
  color: var(--ink);
  cursor: pointer;
  font-size: 1rem;
}

.policy-box {
  width: min(560px, 90vw);
  background: var(--bg-sheet);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 28px 30px;
}

.policy-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.policy-head h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
}

.modal-close-inline {
  background: none;
  border: 0;
  color: var(--ink-Soft);
  font-size: 1.1rem;
  cursor: pointer;
}

.policy-content p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--ink-Soft);
}

/* АДАПТИВ (МОБИЛЬНЫЕ) */
@media (max-width: 960px) {
  .hero-stage {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-photo-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
  }
  .hero-vignette {
    background: linear-gradient(180deg, transparent 40%, #0d0d10 100%);
  }
  .hero-content {
    grid-column: 1;
    padding: 22px 24px 32px;
  }
  .studio-grid {
    grid-template-columns: 1fr;
  }
  .lyrics-sheet {
    position: static;
    padding: 26px 22px;
  }
  .frame-item, .frame-item.is-wide {
    grid-column: span 6;
  }
  .newsletter-card {
    grid-template-columns: 1fr;
  }
  .newsletter-copy-col {
    padding: 28px 24px;
  }
}

@media (max-width: 680px) {
  .topnav {
    display: none;
  }
  .frame-item, .frame-item.is-wide {
    grid-column: span 12;
  }
  .input-row {
    flex-direction: column;
  }
  .player-inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
  .player-right {
    display: none;
  }
  .player-center {
    align-items: flex-end;
  }
  .player-timeline {
    display: none;
  }
}
