/* Neon Dale
   Layout: a night sky over a synthwave grid. Dale (the neon figure) and the white logo are
   the loud elements; everything else is quiet blue-black panels. Pressable things are cyan.
   The four Dale colors (cyan, green, yellow, magenta) appear together only as the spectrum line. */
:root {
  --ink-0: #05050b;      /* page */
  --ink-1: #0a0a17;      /* alternate band */
  --panel: #121226;      /* raised surfaces */
  --line: #24244b;       /* hairlines */
  --text: #f3f3ff;
  --muted: #a6a6cf;

  --cyan: #2fe4ff;
  --green: #44ff8f;
  --yellow: #ffe14d;
  --magenta: #ff40d8;
  --spectrum: linear-gradient(90deg, var(--cyan), var(--green), var(--yellow), var(--magenta));

  --press: var(--cyan);
  --press-ink: #02141a;

  --f-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 4vw, 2.6rem);
  --step-4: clamp(2.4rem, 6vw, 3.8rem);

  --radius: 10px;
  --wrap: 1120px;
  --topbar-h: 60px;

  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink-0);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: var(--ink-0);
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--cyan); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--f-display); line-height: 1.12; text-wrap: balance; margin: 0; }
h2 { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: var(--step-2); font-weight: 700; }
p { margin: 0; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: color-mix(in srgb, var(--ink-0) 86%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--spectrum); opacity: 0.85; }
.topbar-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.brand { display: block; flex: none; }
.brand-logo { height: 44px; width: auto; }
.topbar nav { display: flex; gap: clamp(12px, 3vw, 28px); }
.topbar nav a { color: var(--text); text-decoration: none; font-size: var(--step--1); font-weight: 600; }
.topbar nav a:hover { color: var(--cyan); }
@media (max-width: 420px) {
  .brand-logo { height: 38px; }
  .topbar nav { gap: 12px; }
  .topbar nav a { font-size: 0.8rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(70% 55% at 75% 30%, color-mix(in srgb, var(--magenta) 16%, transparent), transparent 70%),
    radial-gradient(60% 60% at 10% 10%, color-mix(in srgb, var(--cyan) 10%, transparent), transparent 70%),
    var(--ink-0);
}
.stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.grid-floor {
  position: absolute;
  left: -50%;
  right: -50%;
  bottom: 0;
  height: 44%;
  transform: perspective(380px) rotateX(62deg);
  transform-origin: 50% 100%;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--green) 70%, transparent) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, color-mix(in srgb, var(--green) 70%, transparent) 1.5px, transparent 1.5px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to top, black 15%, transparent 95%);
  mask-image: linear-gradient(to top, black 15%, transparent 95%);
  opacity: 0.55;
}
@media (prefers-reduced-motion: no-preference) {
  .grid-floor { animation: drive 3.2s linear infinite; }
}
@keyframes drive { to { background-position: 0 64px; } }

.hero-inner {
  position: relative;
  padding-block: clamp(36px, 6vw, 72px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(16px, 4vw, 48px);
  align-items: end;
}
.hero-copy { display: grid; gap: 20px; justify-items: start; padding-bottom: clamp(40px, 7vw, 88px); min-width: 0; }
.hero-logo { width: min(100%, 440px); margin-block: -8px -12px; }
.hero-logo img { width: 100%; filter: drop-shadow(0 0 24px rgb(0 0 0 / 0.6)); }
.hero-lede { font-size: var(--step-1); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-links a { color: var(--muted); text-decoration: none; font-size: var(--step--1); }
.hero-links a:hover { color: var(--text); }
.hero-dale { align-self: end; justify-self: center; width: min(100%, 520px); }
.hero-dale img { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .hero-dale img { animation: bob 5s ease-in-out infinite; transform-origin: 50% 100%; }
}
@keyframes bob { 50% { transform: translateY(-6px) rotate(-1deg); } }
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-dale { width: min(72%, 340px); margin-top: -8px; }
}

/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font: 700 var(--step-0)/1 var(--f-body);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; fill: currentColor; flex: none; }
.btn-primary { background: var(--press); color: var(--press-ink); box-shadow: 0 0 24px color-mix(in srgb, var(--cyan) 35%, transparent); }
.btn-primary:hover { background: color-mix(in srgb, var(--press) 82%, white); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: var(--step--1);
  font-weight: 600;
  text-decoration: none;
}
.chip:hover { border-color: var(--cyan); color: var(--cyan); }
.link-row { display: flex; flex-wrap: wrap; gap: 8px; }
.has-icon { display: inline-flex; align-items: center; gap: 8px; }
.brand-icon { width: 16px; height: 16px; flex: none; }
.chip .brand-icon { width: 17px; height: 17px; }

/* ---------- Bands & section heads ---------- */
.band { padding-block: clamp(56px, 8vw, 96px); }
.band-alt { background: var(--ink-1); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 10px; margin-bottom: 28px; max-width: 62ch; }
.section-note { color: var(--muted); }

/* ---------- Art ---------- */
.art { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: var(--panel); }
.art-fallback {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 14px;
  background:
    radial-gradient(70% 60% at 30% 25%, hsl(var(--hue, 280) 90% 60% / 0.8), transparent 70%),
    radial-gradient(80% 70% at 85% 90%, hsl(calc(var(--hue, 280) + 70) 85% 55% / 0.6), transparent 70%),
    linear-gradient(160deg, hsl(var(--hue, 280) 45% 14%), hsl(calc(var(--hue, 280) + 30) 50% 7%));
}
.art-fallback img { position: absolute; left: 50%; top: 46%; height: 62%; width: auto; transform: translate(-50%, -50%); }
.art-fallback span { position: relative; font-family: var(--f-display); font-weight: 800; font-size: clamp(0.9rem, 2.2vw, 1.15rem); letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.05; color: white; }

.play {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--press);
  color: var(--press-ink);
  display: grid;
  place-items: center;
}
.play svg { width: 14px; height: 14px; fill: currentColor; }
.dur { font-family: var(--f-mono); font-size: var(--step--1); color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- Embeds ---------- */
.embed { position: relative; border-radius: 12px; overflow: hidden; background: var(--panel); }
.embed iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.embed-fallback {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  height: 100%;
  min-height: inherit;
  position: absolute;
  inset: 0;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  background: radial-gradient(60% 70% at 50% 40%, color-mix(in srgb, var(--green) 14%, transparent), transparent 70%), var(--panel);
}

/* ---------- New music ---------- */
.releases {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: clamp(48px, 7vw, 72px);
}
@media (max-width: 860px) { .releases { grid-template-columns: 1fr; } }
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  position: relative;
  overflow: hidden;
}
.feature::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--spectrum); }
@media (max-width: 560px) { .feature { grid-template-columns: 1fr; } }
.feature-art { box-shadow: 0 18px 50px rgb(0 0 0 / 0.5); }
.feature-body { display: grid; gap: 14px; align-content: end; min-width: 0; }
.feature-tag { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--magenta); }
.feature-title { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.02em; line-height: 1; overflow-wrap: anywhere; }
.feature-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.feature-actions .btn { margin-right: 4px; }
.feature-player { grid-column: 1 / -1; min-height: 152px; }

.spotify-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.embed-artist { flex: 1; min-height: 400px; }

.discog-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; margin-bottom: 18px; }
.discog-head h3 { font-size: var(--step-2); }
.discog-head a { font-size: var(--step--1); font-weight: 600; }
.discog {
  list-style: none;
  margin: 0 0 clamp(56px, 8vw, 96px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 128px), 1fr));
  gap: 22px 18px;
}
@media (max-width: 420px) { .discog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.release { display: grid; gap: 4px; color: var(--text); text-decoration: none; }
.release-art { position: relative; margin-bottom: 8px; }
.release-art .art, .release-art .art-fallback { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.release-play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--press);
  color: var(--press-ink);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.release-play svg { width: 13px; height: 13px; fill: currentColor; }
.release:hover .release-play, .release:focus-visible .release-play { opacity: 1; transform: none; }
.release:hover .art, .release:hover .art-fallback { transform: translateY(-3px); box-shadow: 0 14px 30px rgb(0 0 0 / 0.45); }
@media (hover: none) { .release-play { opacity: 1; transform: none; } }
.release-title { font-weight: 700; line-height: 1.25; }
.release-meta { font-size: var(--step--1); color: var(--muted); }

/* ---------- Album spotlight ---------- */
.album {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
  margin-bottom: clamp(56px, 8vw, 96px);
}
@media (max-width: 760px) { .album { grid-template-columns: 1fr; } }
.album-side { display: grid; gap: 18px; }
@media (min-width: 761px) { .album-side { position: sticky; top: calc(var(--topbar-h) + 24px); } }
.album-art { max-width: 440px; }
.album-main { display: grid; gap: 18px; min-width: 0; }
.album-head { display: grid; gap: 8px; }
.album-head h2 { font-size: var(--step-4); }
.album-desc { color: var(--muted); max-width: 60ch; }
.credits { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: var(--step--1); color: var(--muted); }
.credits a { color: var(--text); font-weight: 600; text-decoration-color: color-mix(in srgb, var(--cyan) 60%, transparent); }
.credits a:hover { color: var(--cyan); }
.credit-name { color: var(--text); font-weight: 600; }
.discog-credits { margin: -40px 0 clamp(56px, 8vw, 96px); }
@media (max-width: 720px) { .discog-credits { margin-top: -28px; } }
.embed-album { min-height: 452px; }

/* ---------- For you ---------- */
.for-you .section-head { margin-bottom: 24px; }
.jingles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 10px;
}
.jingle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 12px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid color-mix(in srgb, var(--green) 60%, var(--line));
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
}
.jingles > li:nth-child(4n+2) > .jingle, .jingles > .jingle:nth-child(4n+2) { border-left-color: color-mix(in srgb, var(--cyan) 60%, var(--line)); }
.jingles > li:nth-child(4n+3) > .jingle, .jingles > .jingle:nth-child(4n+3) { border-left-color: color-mix(in srgb, var(--yellow) 60%, var(--line)); }
.jingles > li:nth-child(4n) > .jingle, .jingles > .jingle:nth-child(4n) { border-left-color: color-mix(in srgb, var(--magenta) 60%, var(--line)); }
.jingle.is-link:hover { border-color: var(--cyan); }
button.jingle { width: 100%; font: inherit; text-align: left; cursor: pointer; }
.jingle.is-playable {
  grid-template-columns: auto minmax(0, 1fr) auto;
  background: linear-gradient(90deg, color-mix(in srgb, var(--cyan) 14%, var(--panel)) var(--p, 0%), var(--panel) var(--p, 0%));
}
.jingle.is-playable:hover { border-color: color-mix(in srgb, var(--cyan) 60%, var(--line)); }
.jingle-icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--press); color: var(--press-ink); flex: none; }
.jingle-icon svg { width: 12px; height: 12px; fill: currentColor; }
.jingle.is-playing .jingle-title { color: var(--cyan); }
.jingle-copy { min-width: 0; display: grid; gap: 2px; }
.jingle-title { font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.jingle-use { font-size: var(--step--1); color: var(--muted); }

/* ---------- Podcast ---------- */
.show {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: center;
  margin-bottom: 40px;
}
@media (max-width: 680px) { .show { grid-template-columns: 1fr; } .show-art { max-width: 260px; } }
.show-art .art { border-radius: 50%; background: transparent; }
.show-copy { display: grid; gap: 14px; min-width: 0; }
.show-copy > p:not(.eyebrow) { color: var(--muted); max-width: 58ch; }

.videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .videos { grid-template-columns: 1fr; } }
.video { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-link {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px;
  color: var(--text); text-decoration: none; font-size: var(--step--1);
  background: radial-gradient(60% 80% at 50% 40%, color-mix(in srgb, var(--magenta) 16%, transparent), transparent 70%), var(--panel);
}
.video-link .play { width: 52px; height: 52px; }

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 720px) { .about { grid-template-columns: 1fr; } .about-photo { max-width: 340px; } }
.art.portrait { aspect-ratio: 4 / 5; }
.about-copy { display: grid; gap: 16px; max-width: 62ch; }
.about-copy p:not(.eyebrow) { color: color-mix(in srgb, var(--text) 86%, var(--muted)); }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 8px; }
.contact-email { font-family: var(--f-mono); color: var(--text); user-select: all; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 760px; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: var(--step--1); font-weight: 600; }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--ink-0);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cyan) 22%, transparent); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--magenta); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { color: var(--muted); font-size: var(--step--1); }
.form-status.is-ok { color: var(--green); }
.form-status.is-err { color: var(--magenta); }

/* ---------- Footer ---------- */
.footer { position: relative; padding-block: 44px; }
.footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--spectrum); opacity: 0.6; }
.footer-inner { display: grid; gap: 18px; justify-items: start; }
.footer-logo { width: 120px; }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.social a { color: var(--text); text-decoration: none; font-size: var(--step--1); }
.social a:hover { color: var(--cyan); }
.fine { font-size: 0.8rem; color: var(--muted); }

/* ---------- 404 ---------- */
.lost { display: grid; gap: 20px; justify-items: start; min-height: 70vh; align-content: center; }
.lost img { width: min(60vw, 260px); }
.lost h1 { font-size: var(--step-4); }
