:root {
  color-scheme: light;
  --ink: #17201f;
  --muted: #5b6765;
  --paper: #fffdf7;
  --mint: #c7f7d4;
  --aqua: #1fb8b2;
  --coral: #ff6f61;
  --sun: #ffd84d;
  --line: rgba(23, 32, 31, .14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-bottom: 6.5rem;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 216, 77, .42), transparent 34rem),
    linear-gradient(135deg, #fffdf7 0%, #e9fff1 55%, #fff1ef 100%);
}

a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 253, 247, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand, nav { display: flex; align-items: center; gap: .75rem; }
.brand {
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0;
}

nav a {
  color: var(--muted);
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
}

nav a:focus-visible, .button:focus-visible, audio:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 34rem);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(2rem, 6vw, 5rem);
}

.hero-copy { max-width: 48rem; }
.hero-copy::before {
  content: "";
  display: block;
  width: 4.2rem;
  height: .7rem;
  margin-bottom: 1.2rem;
  background: repeating-linear-gradient(90deg, var(--coral) 0 12px, var(--sun) 12px 24px, var(--aqua) 24px 36px);
  border: 2px solid var(--ink);
  border-radius: 999px;
}
.eyebrow {
  margin: 0 0 .75rem;
  color: #0d837f;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(3.3rem, 9.5vw, 7.6rem);
  line-height: .88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: .8rem;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 { margin-bottom: .5rem; font-size: 1.15rem; }
.lede {
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions, .player-card, footer { display: flex; align-items: center; gap: .85rem; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: .85rem 1.1rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 5px 0 var(--ink);
  transition: transform .16s ease, box-shadow .16s ease;
}

.button:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--ink); }
.primary { background: var(--coral); color: white; }
.ghost { background: var(--sun); }
.dark { background: var(--ink); color: white; box-shadow: 0 5px 0 var(--aqua); }

.hero-art img {
  width: min(100%, 34rem);
  filter: drop-shadow(0 2rem 3rem rgba(31, 184, 178, .24));
}

.player-panel, .split {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: clamp(2rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}

.player-panel {
  align-items: center;
  background: rgba(255, 255, 255, .56);
}

.player-card {
  padding: 1.2rem;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  box-shadow: 12px 12px 0 var(--mint);
}

.hero-player {
  width: min(100%, 34rem);
  margin-top: 1.4rem;
}

.player-dock {
  position: fixed;
  right: clamp(.75rem, 3vw, 1.5rem);
  bottom: clamp(.75rem, 3vw, 1.5rem);
  left: clamp(.75rem, 3vw, 1.5rem);
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(9rem, .45fr) minmax(14rem, 1fr);
  align-items: center;
  gap: 1rem;
  padding: .85rem;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 253, 247, .94);
  box-shadow: 0 16px 38px rgba(23, 32, 31, .18);
  backdrop-filter: blur(18px);
}

.player-dock strong,
.player-dock span {
  display: block;
}

.player-dock span {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 800;
}

.stream-audio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.custom-player {
  display: grid;
  grid-template-columns: auto minmax(8rem, 1fr) minmax(8rem, .7fr);
  align-items: center;
  gap: .9rem;
  width: 100%;
}

.play-toggle {
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: var(--sun);
  box-shadow: 0 5px 0 var(--ink);
  cursor: pointer;
}

.play-toggle span {
  width: 0;
  height: 0;
  margin-left: .25rem;
  border-top: .62rem solid transparent;
  border-bottom: .62rem solid transparent;
  border-left: .9rem solid currentColor;
}

.play-toggle.is-playing span {
  width: .92rem;
  height: 1.1rem;
  margin-left: 0;
  border: 0;
  background: linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65%);
}

.player-meta strong,
.player-meta small,
.volume-control span {
  display: block;
}

.player-meta small {
  color: var(--muted);
  font-weight: 900;
}

.live-dot {
  display: inline-block;
  width: .65rem;
  height: .65rem;
  margin-right: .35rem;
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 0 0 0 .25rem rgba(255,111,97,.18);
}

.volume-control span {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.volume-control input {
  width: 100%;
  accent-color: var(--coral);
}

.play-toggle:focus-visible,
.volume-control input:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.status { margin: 0; color: var(--muted); font-weight: 800; }
.fallback { color: #0d837f; font-weight: 900; }

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

article {
  min-height: 12rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
}

article p, .connect-band p, .player-panel p { color: var(--muted); line-height: 1.6; }
.connect-band {
  padding: clamp(2rem, 7vw, 6rem);
  color: white;
  background: linear-gradient(135deg, #17201f, #116b68 62%, #ff6f61);
}

.connect-band p { color: rgba(255,255,255,.82); max-width: 40rem; }
footer {
  justify-content: space-between;
  padding: 1.3rem clamp(1rem, 4vw, 3rem);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 820px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .hero, .player-panel, .split { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 2rem; }
  .hero-copy { order: -1; }
  .feature-grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(3rem, 18vw, 5rem); }
  .player-dock,
  .custom-player {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .volume-control { grid-column: 1 / -1; }
}
