* { box-sizing: border-box; }
:root {
  color-scheme: dark;
  --bg: #070912;
  --panel: #101522;
  --line: rgba(255,255,255,0.14);
  --text: #f8fafc;
  --muted: #a8b0c3;
  --accent: #8b5cf6;
  --accent-2: #38bdf8;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
.site-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 22px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 18, 0.92);
  position: sticky;
  top: 0;
  z-index: 5;
}
.brand { font-weight: 700; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 14px; }
nav a { text-decoration: none; }
main { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 34px 0 72px; }
.hero { min-height: 62vh; display: grid; align-content: center; border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--accent-2); text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; font-weight: 700; }
h1 { font-size: clamp(38px, 7vw, 78px); line-height: 0.98; margin: 12px 0 20px; letter-spacing: 0; }
.subtitle { max-width: 760px; color: var(--muted); font-size: 20px; line-height: 1.55; }
.actions, .filters { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button, .filters button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  text-decoration: none;
  padding: 12px 16px;
  font: inherit;
  cursor: pointer;
}
.button.primary, .filters button.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.section-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 30px 0; }
.theme-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  margin: 0 0 30px;
}
.theme-band h2 { margin: 8px 0; font-size: clamp(30px, 4vw, 48px); }
.theme-band p:not(.eyebrow) { max-width: 760px; color: var(--muted); font-size: 18px; line-height: 1.55; }
article, .track-card, .detail-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 18px;
}
article p, .muted { color: var(--muted); line-height: 1.6; }
.section-title { display: flex; justify-content: space-between; align-items: end; margin: 30px 0 16px; }
.track-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.track-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); }
.track-card h3 { margin: 12px 0 6px; font-size: 20px; }
.track-card p { color: var(--muted); min-height: 48px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.tag, .metric { border: 1px solid var(--line); color: var(--muted); padding: 6px 8px; font-size: 12px; }
.page-intro h1, .reading h1 { font-size: clamp(34px, 5vw, 58px); }
.detail-layout { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 22px; align-items: start; }
.detail-panel img { width: 100%; border: 1px solid var(--line); }
audio { width: 100%; margin: 16px 0; }
.params { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 16px 0; }
.theme-note { border: 1px solid var(--line); color: var(--muted); padding: 12px; margin: 16px 0; line-height: 1.5; }
.theme-note strong { color: var(--text); }
.feedback-frame { width: 100%; min-height: 900px; border: 1px solid var(--line); background: #fff; }
.reading { max-width: 820px; }
.reading p, .reading li { color: var(--muted); font-size: 18px; line-height: 1.7; }
@media (max-width: 860px) {
  .site-header, .section-title { align-items: start; flex-direction: column; }
  .section-grid, .track-grid, .detail-layout { grid-template-columns: 1fr; }
  h1 { font-size: 42px; }
}
