:root {
  --bg: #0b0a0f;
  --panel: #121117;
  --panel-hover: #17151d;
  --text: #f3f1f5;
  --muted: #aaa5b0;
  --line: #292630;
  --purple: #a58bdc;
  --purple-bright: #c4b0ee;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }

.site-header {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: #0b0a0f;
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.brand-mark { display: none; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  padding: 24px 0 21px;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--text); border-bottom-color: var(--purple); }
.menu-button {
  display: none;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
  color: var(--text);
  padding: 6px 9px;
  font-size: 18px;
}

main { min-height: calc(100vh - 140px); }
.channel-shell { max-width: var(--max); margin: 0 auto; padding: 32px 24px 8px; }
.channel-banner {
  width: 100%;
  aspect-ratio: 4.42 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111016;
}
.channel-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.channel-profile {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px 8px 28px;
  border-bottom: 1px solid var(--line);
}
.avatar-wrap {
  width: 112px;
  height: 112px;
  flex: 0 0 112px;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid #3a3543;
  background: #17141d;
}
.profile-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.channel-copy { flex: 1; min-width: 0; }
.profile-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.channel-copy h1,
.channel-copy h2 {
  margin: 0 0 4px;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.handle { margin: 0; color: #c8c2cc; font-size: 14px; font-weight: 600; }
.channel-tagline { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.social-text-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  color: #77717e;
  font-size: 13px;
}
.social-text-links a { color: var(--purple-bright); }
.social-text-links a:hover { text-decoration: underline; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  padding: 8px 15px;
  border: 1px solid #393541;
  border-radius: 6px;
  background: #15131a;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}
.button:hover { background: #1a171f; border-color: #4b4555; }
.button.youtube { background: #f0f0f0; border-color: #f0f0f0; color: #111; }
.button.youtube:hover { background: #dadada; border-color: #dadada; }
.button.primary { background: #7258a6; border-color: #7258a6; color: white; }
.button.secondary,
.button.ghost { background: #15131a; }
.button.disabled { opacity: .45; cursor: not-allowed; }

.section { max-width: var(--max); margin: 0 auto; padding: 50px 24px; }
.home-section { padding-top: 38px; }
.section-heading { margin-bottom: 20px; }
.section-heading h2,
.info-block h2,
.latest-copy h2,
.content-panel h2,
.feature-panel h2 {
  margin: 0 0 9px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.section-heading p,
.content-panel p,
.track-info p,
.page-hero p,
.latest-copy p,
.feature-panel p,
.info-block > p { color: var(--muted); }
.eyebrow {
  margin: 0 0 9px;
  color: var(--purple);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .17em;
}

.home-links { border-top: 1px solid var(--line); }
.home-link {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 23px 4px;
  border-bottom: 1px solid var(--line);
}
.home-link:hover { background: #0f0e14; }
.home-link-index { color: #77717e; font-size: 12px; font-weight: 700; }
.home-link h3 { margin: 0 0 4px; font-size: 21px; letter-spacing: -.025em; }
.home-link p { margin: 0; color: var(--muted); font-size: 14px; }
.home-link-arrow { color: #91899a; font-size: 18px; }

.info-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 55px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.info-block h2 { font-size: 32px; }
.info-block > p { margin: 0; line-height: 1.75; }
.latest-block {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 55px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.latest-copy { max-width: 700px; }
.text-link { color: var(--purple-bright); font-size: 14px; font-weight: 700; white-space: nowrap; }

.page-hero { max-width: var(--max); margin: auto; padding: 72px 24px 26px; }
.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(40px, 6vw, 62px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.page-hero h1 span,
.error-page h1 span { color: var(--purple); }
.page-hero p { max-width: 720px; margin: 0; font-size: 17px; line-height: 1.7; }
.narrow { max-width: 860px; }

.content-panel,
.track-card,
.social-link,
.feature-panel,
.release-section,
.card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: none;
}
.content-panel { padding: 30px; border-radius: 8px; }
.content-panel p { line-height: 1.75; }

.music-grid { display: grid; gap: 16px; }
.track-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  overflow: hidden;
  border-radius: 8px;
}
.track-art {
  min-height: 220px;
  display: grid;
  place-items: center;
  background: #17141d;
}
.placeholder-art { font-size: 24px; font-weight: 800; color: #aaa1b9; }
.track-info { padding: 28px; }
.track-info h2 { margin: 4px 0 8px; font-size: 26px; }
.track-info p { line-height: 1.7; }
.track-type { color: var(--purple) !important; font-size: 10px !important; font-weight: 800; letter-spacing: .14em; }
.track-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 20px; }

.link-stack { display: grid; gap: 9px; }
.social-link {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 7px;
}
.social-link:hover:not(.inactive) { background: var(--panel-hover); border-color: #3d3846; }
.social-link.inactive { opacity: .5; }
.social-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #332e3b;
  border-radius: 5px;
  color: var(--purple-bright);
  font-weight: 800;
}
.social-link strong,
.social-link small { display: block; }
.social-link small { margin-top: 2px; color: var(--muted); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { padding: 22px; border-radius: 7px; }
.card:hover { border-color: #3b3644; }
.album-orb { margin-bottom: 26px; font-size: 22px; }
.card-copy { padding: 0; }
.mini-label { color: #9f92ae; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.card h3 { margin: 7px 0 9px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); line-height: 1.65; }
.release-section {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px;
  margin-bottom: 60px;
  border-radius: 8px;
}
.release-art { height: 180px; display: grid; place-items: center; background: #17141d; }
.cassette { color: #aaa1b9; font-size: 28px; }
.feature-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 20px;
  margin-bottom: 70px;
  padding: 25px;
  border-radius: 8px;
}

footer {
  max-width: var(--max);
  margin: auto;
  padding: 23px 24px 38px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #7f7985;
  font-size: 12px;
}
.footer-links { display: flex; gap: 18px; }
footer a:hover { color: var(--purple-bright); }

.error-page { min-height: 100vh; display: grid; place-content: center; text-align: center; padding: 30px; }
.error-page h1 { font-size: clamp(40px, 7vw, 70px); }
.error-page .button { margin: 20px auto 0; }

@media (max-width: 800px) {
  .site-header { min-height: 62px; flex-wrap: wrap; padding: 11px 20px; }
  .menu-button { display: block; }
  .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: 0; padding-bottom: 8px; }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 10px 0; border-bottom: 0; }

  .channel-shell { padding-top: 20px; }
  .channel-banner { border-radius: 5px; }
  .channel-profile { align-items: flex-start; padding-left: 0; padding-right: 0; }
  .avatar-wrap { width: 82px; height: 82px; flex-basis: 82px; }
  .profile-heading { display: block; }
  .channel-copy h1, .channel-copy h2 { font-size: 26px; }
  .profile-heading .button { margin-top: 13px; }
  .channel-tagline { font-size: 14px; }

  .home-link { grid-template-columns: 35px 1fr auto; gap: 12px; }
  .home-link h3 { font-size: 19px; }
  .home-link p { font-size: 13px; }
  .info-block { grid-template-columns: 1fr; gap: 12px; }
  .latest-block { display: block; }
  .text-link { display: inline-block; margin-top: 22px; }
  .track-card, .release-section { grid-template-columns: 1fr; }
  .track-art { min-height: 180px; }
  .card-grid { grid-template-columns: 1fr; }
  .feature-panel { flex-direction: column; align-items: flex-start; }
  footer { flex-direction: column; }
}
