/* MSN26 — soundtrack.css
   Soundtrack subpage: album hero, act sections, branded track-card grid,
   share rows. Dark luxury-editorial; reuses style.css tokens
   (--bg-primary, --accent-gold, --on-dark-*). Sharp corners (RT brand).
   Centered fixed-basis grid so acts with 1 vs 8 tracks render evenly
   (guards the count-dependent grid-imbalance class). */

/* ---- album hero ---------------------------------------------------------- */
.st-hero {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) 1.5rem clamp(2rem, 4vw, 3rem);
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, #1a1a1a 0%, var(--bg-primary) 70%);
}
.st-hero-kicker {
  font-family: 'Geist Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-dark-accent);
  margin-bottom: 1rem;
}
.st-hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  line-height: 1.05;
  color: var(--on-dark-primary);
  margin-bottom: 0.9rem;
}
.st-hero-sub {
  max-width: 640px;
  margin: 0 auto 1.6rem;
  color: var(--on-dark-secondary);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.6;
}
.st-hero-meta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.4rem;
  margin-bottom: 1.8rem;
  font-family: 'Geist Mono', monospace;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--on-dark-muted);
}
.st-hero-meta b { color: var(--on-dark-accent); font-weight: 500; }
.st-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}
.st-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  font-family: 'Geist', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid var(--accent-gold);
  color: var(--bg-primary);
  background: var(--accent-gold);
  transition: filter .18s ease, transform .18s ease;
  min-height: 44px;
}
.st-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.st-btn--ghost {
  background: transparent;
  color: var(--on-dark-accent-bright);
  border-color: var(--border-light);
}
.st-btn--ghost:hover { border-color: var(--accent-gold); filter: none; }
.st-btn svg { width: 18px; height: 18px; flex: none; }

/* ---- act sections -------------------------------------------------------- */
.st-act { padding: clamp(2rem, 5vw, 3.4rem) 1.5rem; }
.st-act:nth-of-type(even) { background: var(--bg-secondary); }
.st-act-inner { max-width: 1180px; margin: 0 auto; }
.st-act-head {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
}
.st-act-num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--on-dark-accent);
  line-height: 1;
}
.st-act-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(1.3rem, 3.4vw, 1.9rem);
  color: var(--on-dark-primary);
}
.st-act-range {
  margin-left: auto;
  font-family: 'Geist Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--on-dark-muted);
  white-space: nowrap;
}

/* ---- track grid + cards -------------------------------------------------- */
.st-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.st-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  transition: border-color .18s ease, transform .18s ease;
}
.st-card:hover { border-color: var(--accent-gold); transform: translateY(-2px); }
.st-card-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}
.st-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.st-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.0);
  transition: background .18s ease;
}
.st-card-thumb:hover .st-card-play { background: rgba(10, 10, 10, 0.35); }
.st-card-play svg { width: 54px; height: 54px; opacity: 0; transform: scale(.85); transition: opacity .18s ease, transform .18s ease; }
.st-card-thumb:hover .st-card-play svg { opacity: 1; transform: scale(1); }
.st-badge {
  position: absolute;
  top: 0.6rem; left: 0.6rem;
  font-family: 'Geist Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.5rem;
  background: var(--accent-gold);
  color: var(--bg-primary);
  font-weight: 600;
}
.st-badge--soon {
  background: transparent;
  color: var(--on-dark-muted);
  border: 1px solid var(--border-light);
}
.st-card-body { padding: 0.9rem 1rem 1rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.st-card-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.25;
  color: var(--on-dark-primary);
}
.st-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Geist Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  color: var(--on-dark-muted);
  margin-top: auto;
}
.st-card-persona { color: var(--on-dark-accent); }
.st-card-share {
  display: flex;
  gap: 0.4rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
}
.st-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--on-dark-secondary);
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.st-share-btn:hover { border-color: var(--accent-gold); color: var(--on-dark-accent-bright); }
.st-share-btn svg { width: 16px; height: 16px; }
.st-share-btn.copied { border-color: var(--accent-gold); color: var(--accent-gold); }

@media (max-width: 980px) {
  .st-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .st-grid { grid-template-columns: 1fr; }
  .st-act-range { display: none; }
}
