/* Base tokens */
:root {
  --bg: #121012;
  --bg-soft: #1b171c;
  --surface: #231e26;
  --surface-strong: #312937;
  --text: #fff8ed;
  --muted: #c9b8a5;
  --accent: #ffd166;
  --accent-strong: #ff8f5a;
  --blue: #7bdff2;
  --green: #9ce37d;
  --border: rgba(255, 248, 237, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.no-js .nav-toggle {
  display: none;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 143, 90, 0.18), transparent 32rem),
    radial-gradient(circle at 88% 5%, rgba(123, 223, 242, 0.13), transparent 28rem),
    linear-gradient(180deg, #121012 0%, #171319 58%, #0f0d10 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
.button:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid rgba(255, 209, 102, 0.75);
  outline-offset: 4px;
}

img,
svg {
  max-width: 100%;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 20;
  width: auto;
  height: auto;
  left: 1rem;
  top: 1rem;
  padding: 0.65rem 0.9rem;
  clip: auto;
  color: #151017;
  background: var(--accent);
  border-radius: 999px;
}

/* Navigation */
.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(18, 16, 18, 0.82);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2rem, var(--max-width));
  min-height: 74px;
  margin: 0 auto;
}

.brand,
.nav-links,
.button,
.platform-links,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.75rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 209, 102, 0.45);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.24), rgba(123, 223, 242, 0.12));
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.nav-links {
  gap: 1.1rem;
}

.nav-links a,
.footer-links a,
.platform-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.footer-links a:hover,
.platform-links a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 248, 237, 0.06);
  color: var(--text);
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

/* Shared layout */
.section {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 6rem 0;
  scroll-margin-top: 86px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 8ch;
  margin-bottom: 1.1rem;
  font-size: clamp(3.6rem, 12vw, 8.5rem);
  line-height: 0.85;
}

h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(2.4rem, 7vw, 4rem);
  line-height: 0.95;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.35rem;
  line-height: 1.15;
}

p {
  color: var(--muted);
  font-size: 1.06rem;
}

.button {
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--accent);
  color: #17110b;
}

.button.secondary {
  border-color: rgba(255, 248, 237, 0.24);
  background: rgba(255, 248, 237, 0.08);
  color: var(--text);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.status-callout {
  display: inline-flex;
  gap: 0.45rem;
  align-items: baseline;
  margin-top: 1.3rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 209, 102, 0.28);
  border-radius: 999px;
  background: rgba(255, 209, 102, 0.08);
}

.status-callout span {
  color: var(--accent);
  font-weight: 900;
}

.status-callout p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 750;
}

/* Hero */
.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  padding-top: 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.8fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.hero-copy {
  position: relative;
}

.handle-label {
  margin-bottom: 0.85rem;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 900;
}

.hero-subtitle {
  max-width: 720px;
  color: var(--text);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
}

.hero-copy p:not(.hero-subtitle) {
  max-width: 680px;
}

.hero-art {
  position: relative;
  min-height: 460px;
}

.record-orbit {
  position: absolute;
  inset: 10% 7% auto auto;
  width: min(88vw, 360px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 248, 237, 0.14);
  border-radius: 50%;
  background:
    radial-gradient(circle, #121012 0 14%, var(--accent) 14% 18%, transparent 18%),
    repeating-radial-gradient(circle, rgba(255, 248, 237, 0.08) 0 2px, transparent 2px 14px);
  box-shadow: var(--shadow);
}

.record-orbit span {
  position: absolute;
  border-radius: 50%;
  background: var(--accent-strong);
}

.record-orbit span:nth-child(1) {
  width: 16px;
  height: 16px;
  left: 18%;
  top: 20%;
}

.record-orbit span:nth-child(2) {
  width: 12px;
  height: 12px;
  right: 22%;
  bottom: 18%;
  background: var(--blue);
}

.record-orbit span:nth-child(3) {
  width: 9px;
  height: 9px;
  right: 12%;
  top: 30%;
  background: var(--green);
}

.keyboard-card {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(35, 30, 38, 0.88);
  box-shadow: var(--shadow);
}

.keyboard-card p {
  margin: 1rem 0 0;
  color: var(--text);
  font-weight: 850;
}

.waveform,
.keys {
  display: flex;
  align-items: end;
  gap: 0.35rem;
}

.waveform {
  height: 88px;
  padding: 1rem;
  border-radius: 18px;
  background: #151116;
}

.waveform span {
  flex: 1;
  min-width: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blue), var(--accent));
}

.waveform span:nth-child(1) { height: 24%; }
.waveform span:nth-child(2) { height: 58%; }
.waveform span:nth-child(3) { height: 36%; }
.waveform span:nth-child(4) { height: 82%; }
.waveform span:nth-child(5) { height: 48%; }
.waveform span:nth-child(6) { height: 68%; }
.waveform span:nth-child(7) { height: 31%; }
.waveform span:nth-child(8) { height: 75%; }
.waveform span:nth-child(9) { height: 44%; }
.waveform span:nth-child(10) { height: 61%; }
.waveform span:nth-child(11) { height: 28%; }
.waveform span:nth-child(12) { height: 52%; }

.keys {
  height: 76px;
  margin-top: 1rem;
  align-items: stretch;
}

.keys span {
  flex: 1;
  border-radius: 0 0 8px 8px;
  background: var(--text);
}

.keys span:nth-child(2),
.keys span:nth-child(5),
.keys span:nth-child(7) {
  height: 62%;
  background: #111;
}

/* Music */
.listen-panel,
.release-card,
.text-card,
.video-card,
.signup-form,
.contact-note {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 248, 237, 0.06);
}

.listen-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  padding: 1.4rem;
  background:
    linear-gradient(135deg, rgba(255, 209, 102, 0.13), rgba(123, 223, 242, 0.08)),
    rgba(255, 248, 237, 0.06);
}

.listen-panel h3 {
  max-width: 620px;
  margin-bottom: 0.55rem;
}

.listen-panel p:last-child {
  margin-bottom: 0;
}

.listen-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-end;
}

.music-player-panel {
  margin: 1.2rem 0 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 248, 237, 0.06);
  box-shadow: var(--shadow);
}

.music-player-copy {
  margin-bottom: 1rem;
}

.music-player-copy h3 {
  margin-bottom: 0;
}

.music-embed-shell {
  overflow: hidden;
  border: 1px solid rgba(255, 248, 237, 0.14);
  border-radius: 18px;
  background: #151116;
}

.music-embed-frame {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
  border-radius: 18px;
  background: #151116;
}

.embed-fallback-links {
  margin: 0.9rem 0 0;
  font-size: 0.98rem;
}

.embed-fallback-links a {
  color: var(--accent);
  font-weight: 850;
  text-decoration: none;
}

.embed-fallback-links a:hover {
  color: var(--text);
}

.release-grid,
.card-grid,
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.release-card,
.text-card,
.video-card {
  padding: 1rem;
}

.small-note {
  color: var(--accent);
  font-weight: 850;
}

.release-card a {
  color: var(--accent);
  font-weight: 850;
  text-decoration: none;
}

.album-art {
  display: grid;
  min-height: 180px;
  margin-bottom: 1rem;
  place-items: end start;
  padding: 1rem;
  border-radius: 18px;
  overflow: hidden;
}

.album-art span {
  color: #17110b;
  font-size: 1.4rem;
  font-weight: 900;
}

.album-art-one {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.album-art-two {
  background: linear-gradient(135deg, var(--blue), #d7fbe8);
}

.album-art-three {
  background: linear-gradient(135deg, #ff6f91, #ffe066);
}

.release-label,
.date-label {
  margin-bottom: 0.45rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 850;
  text-transform: uppercase;
}

.listen-panel .release-label,
.platform-block .release-label {
  font-size: 0.95rem;
  text-transform: none;
}

.platform-links {
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.platform-block {
  margin-top: 1.5rem;
}

.platform-block .platform-links {
  margin-top: 0.4rem;
}

.platform-links a {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 248, 237, 0.05);
}

/* Feature sections */
.comeback-panel,
.follow-grid,
.contact-panel {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(135deg, rgba(255, 209, 102, 0.12), rgba(123, 223, 242, 0.08)),
    rgba(255, 248, 237, 0.05);
  box-shadow: var(--shadow);
}

.statement {
  color: var(--text);
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1.1;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  margin: 1.8rem 0 0;
  list-style: none;
}

.tag-list li {
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 209, 102, 0.28);
  border-radius: 999px;
  background: rgba(255, 209, 102, 0.09);
  color: var(--text);
  font-weight: 800;
}

.video-card {
  min-height: 180px;
  display: grid;
  align-content: end;
  background:
    linear-gradient(160deg, rgba(255, 143, 90, 0.16), rgba(123, 223, 242, 0.1)),
    rgba(255, 248, 237, 0.06);
}

.play-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 248, 237, 0.25);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 0 35%, var(--text) 35% 65%, transparent 65%),
    rgba(255, 248, 237, 0.08);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* Forms and contact */
.signup-form {
  display: grid;
  gap: 0.7rem;
  padding: 1.1rem;
}

label {
  color: var(--text);
  font-weight: 850;
}

label span {
  color: var(--muted);
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 248, 237, 0.18);
  border-radius: 14px;
  background: rgba(18, 16, 18, 0.65);
  color: var(--text);
  font: inherit;
}

input:focus,
input:focus-visible {
  outline: 3px solid rgba(255, 209, 102, 0.3);
  border-color: var(--accent);
}

.form-message {
  min-height: 1.5rem;
  margin: 0.2rem 0 0;
  color: var(--green);
  font-weight: 750;
}

.contact-note {
  padding: 1.2rem;
}

/* Footer */
.site-footer {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 2rem;
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 3rem 0 4rem;
  border-top: 1px solid var(--border);
}

.site-footer h2 {
  font-size: 2rem;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem 1rem;
}

/* 404 */
.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 2rem 1rem;
}

.error-card {
  width: min(100%, 720px);
  padding: clamp(2rem, 6vw, 4rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 209, 102, 0.12), rgba(123, 223, 242, 0.08)),
    rgba(255, 248, 237, 0.06);
  box-shadow: var(--shadow);
  text-align: center;
}

.error-card h1 {
  margin-bottom: 0.45rem;
  font-size: clamp(2.8rem, 10vw, 5.5rem);
}

.error-card h2 {
  margin-bottom: 1rem;
}

.error-card .footer-note {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 860px) {
  .no-js .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
    padding: 0.9rem 0;
  }

  .no-js .nav-links {
    flex-wrap: wrap;
    gap: 0.35rem 0.9rem;
  }

  .js .nav-toggle {
    display: block;
  }

  .js .nav-links {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(18, 16, 18, 0.96);
    box-shadow: var(--shadow);
  }

  .js .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.7rem;
  }

  .hero-grid,
  .comeback-panel,
  .follow-grid,
  .contact-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-subtitle {
    font-size: 1.55rem;
  }

  .statement {
    font-size: 1.9rem;
  }

  .comeback-panel,
  .follow-grid,
  .contact-panel {
    padding: 2rem;
  }

  .hero-art {
    min-height: 380px;
  }

  .release-grid,
  .card-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .listen-panel {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .listen-links {
    justify-content: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .section {
    width: min(100% - 1.2rem, var(--max-width));
    padding: 4.2rem 0;
  }

  .nav {
    width: min(100% - 1.2rem, var(--max-width));
  }

  h1 {
    font-size: clamp(2.8rem, 12vw, 3.15rem);
  }

  h2 {
    font-size: clamp(2.15rem, 9vw, 2.45rem);
  }

  .hero-subtitle {
    font-size: 1.15rem;
  }

  .statement {
    font-size: 1.5rem;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .status-callout {
    align-items: flex-start;
    border-radius: 18px;
    flex-direction: column;
  }

  .hero-art {
    min-height: 330px;
  }

  .record-orbit {
    right: 0;
    width: min(88vw, 300px);
  }

  .waveform span {
    min-width: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-delay: 0ms !important;
  }

  .button:hover {
    transform: none;
  }
}
