:root {
  --bg: #0a0e14;
  --bg-panel: #10151f;
  --blue-deep: #17335c;
  --blue-bright: #4da6ff;
  --text: #e8edf4;
  --text-muted: #8a9bb0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

/* ---------- Hero ---------- */

.hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: radial-gradient(circle at 50% 20%, var(--blue-deep) 0%, var(--bg) 70%);
}

.waveform {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 40px;
  margin-bottom: 1.5rem;
}

.waveform span {
  display: block;
  width: 4px;
  background: var(--blue-bright);
  border-radius: 2px;
  animation: bounce 1.4s ease-in-out infinite;
}

.waveform span:nth-child(odd) { animation-delay: -1.1s; }
.waveform span:nth-child(3n) { animation-delay: -0.6s; }
.waveform span:nth-child(4n) { animation-delay: -0.3s; }

@keyframes bounce {
  0%, 100% { height: 8px; opacity: 0.5; }
  50% { height: 36px; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .waveform span { animation: none; height: 20px; opacity: 0.8; }
}

.name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
}

.tagline {
  margin-top: 0.75rem;
  font-size: 1.1rem;
  color: var(--blue-bright);
  letter-spacing: 0.04em;
}

/* ---------- Sections ---------- */

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

section {
  margin-bottom: 4rem;
}

h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  color: var(--blue-bright);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--blue-deep);
  padding-bottom: 0.5rem;
}

.about p {
  color: var(--text);
  font-size: 1.05rem;
}

.about p + p {
  margin-top: 1rem;
}

.demo-sub {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.player-card {
  background: var(--bg-panel);
  border: 1px solid var(--blue-deep);
  border-radius: 10px;
  padding: 1.5rem;
}

.player-card audio {
  width: 100%;
  filter: invert(85%) hue-rotate(180deg);
}

.player-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.player-note code {
  background: var(--blue-deep);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text);
}

/* ---------- Elsewhere / links ---------- */

.site-card {
  background: var(--bg-panel);
  border: 1px solid var(--blue-deep);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}

.site-link {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  color: var(--blue-bright);
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.site-link:hover,
.site-link:focus-visible {
  text-decoration: underline;
}

.activity-list {
  list-style: none;
  padding: 0;
}

.activity-list li {
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 0.3rem 0 0.3rem 1.1rem;
  position: relative;
}

.activity-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--blue-deep);
}

/* ---------- Footer ---------- */

footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--blue-deep);
}

.contact-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--blue-bright);
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
}

.contact-link:hover,
.contact-link:focus-visible {
  text-decoration: underline;
}
