:root {
  --bg: #0b0c10;
  --panel: #121420;
  --panel2: #0f111a;
  --text: #e9edf3;
  --muted: #a7b0c0;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --max: 1100px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

/* One-page smooth scrolling */
html { scroll-behavior: smooth; }
/* Prevent anchors from hiding under sticky header */
section[id] { scroll-margin-top: 90px; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 600px at 10% -10%, rgba(88, 101, 242, 0.20), transparent 60%),
              radial-gradient(900px 500px at 90% 10%, rgba(0, 212, 255, 0.12), transparent 55%),
              var(--bg);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 12, 16, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
}
.brand-name { font-size: 16px; }

.nav { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}
.nav-links {
  display: flex;
  gap: 14px;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  font-size: 14px;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }

.hero { padding: 44px 0 18px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
  align-items: start;
}

h1 { font-size: clamp(34px, 4vw, 56px); line-height: 1.05; margin: 0 0 10px; }
.lead { color: var(--muted); font-size: 16px; margin: 0 0 18px; }
.lead2 { margin: 0; font-size: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
}
.btn:hover { text-decoration: none; border-color: rgba(255,255,255,0.18); }
.btn.primary {
  background: rgba(88, 101, 242, 0.22);
  border-color: rgba(88, 101, 242, 0.45);
}

.links-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.chip {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
}
.chip:hover { color: var(--text); text-decoration: none; border-color: rgba(255,255,255,0.16); }

.hero-card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.stat-label { color: var(--muted); font-size: 13px; }

.section { padding: 34px 0; }
.section.alt {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head { margin-bottom: 16px; }
.section-head h2 { margin: 0 0 6px; font-size: 26px; }
.section-head p { margin: 0; color: var(--muted); }

.card {
  border: 1px solid var(--border);
  background: rgba(18, 20, 32, 0.55);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.grid { display: grid; gap: 14px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }

.track h3 { margin: 0; }
.track-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.audio { width: 100%; margin: 10px 0; }

.bullets { margin: 12px 0 0; padding-left: 18px; color: var(--muted); }
.bullets.compact li { margin: 6px 0; }
.small { font-size: 13px; }
.muted { color: var(--muted); }

.support-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  background: rgba(0,0,0,0.12);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer-links { display: flex; gap: 12px; }
.footer-links a { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--text); text-decoration: none; }

/* Spotify embed styling */
.embed {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}
.embed iframe {
  width: 100%;
  border: 0;
  display: block;
}

/* WIP gate */
.wip-gate-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  flex-wrap: wrap;
}
#wipPassword {
  flex: 1;
  min-width: 220px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
}
#wipPassword:focus {
  border-color: rgba(255, 255, 255, 0.18);
}

/* Contact form */
.form {
  display: grid;
  gap: 10px;
}
.label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}
.form input,
.form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
}
.form input:focus,
.form textarea:focus {
  border-color: rgba(255, 255, 255, 0.18);
}
.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}
/* Honeypot hidden */
#cfCompany {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

/* Accessibility helper */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Mobile nav */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid.three { grid-template-columns: 1fr; }
  .grid.two { grid-template-columns: 1fr; }
  .support-card { flex-direction: column; align-items: stretch; }
  .footer-inner { flex-direction: column; align-items: flex-start; }

  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    right: 20px;
    top: 60px;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    gap: 10px;
    border: 1px solid var(--border);
    background: rgba(11, 12, 16, 0.92);
    border-radius: 14px;
    box-shadow: var(--shadow);
    min-width: 220px;
  }
  .nav-links.open { display: flex; }
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
