/* ============================================================
   Metallfabriken Studios — redesign (Direction 01 · Industrial)
   Ported from the Claude Design handoff bundle.
   Accent baked to amber (#f0a034); discography at 5 columns.
   ============================================================ */

:root {
  --bg: oklch(0.14 0.005 60);
  --bg-elev: oklch(0.175 0.005 60);
  --bg-card: oklch(0.21 0.006 60);
  --line: oklch(0.28 0.006 60);
  --line-soft: oklch(0.22 0.005 60);
  --text: oklch(0.96 0.005 80);
  --text-dim: oklch(0.72 0.008 80);
  --text-muted: oklch(0.55 0.008 80);
  --accent: #f0a034; /* amber */
  --accent-ink: #0e0e10;
  --shadow: 0 30px 60px -30px rgba(0,0,0,0.65), 0 8px 20px -10px rgba(0,0,0,0.5);

  --font-display: "Big Shoulders Display", "Archivo Black", system-ui, sans-serif;
  --font-body: "Space Grotesk", "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --container: 1440px;
  --pad-x: clamp(24px, 5vw, 88px);
  --disco-cols: 5;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Layout primitives ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.mono { font-family: var(--font-mono); letter-spacing: 0.04em; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent) 22%, transparent);
}
.section-num { color: var(--text-muted); }

/* ---------- Top nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--bg) 80%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-row {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.02em;
  line-height: 1;
}
.brand-mark {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: var(--bg-elev);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-name { white-space: nowrap; }
.brand-name em {
  font-style: normal;
  color: var(--accent);
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  list-style: none;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.18s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 4px;
  transition: transform 0.15s ease, filter 0.15s;
}
.nav-cta:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 140px);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.hero::after {
  /* faint scanline texture */
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(180deg, transparent 0 3px, rgba(255,255,255,0.012) 3px 4px),
    radial-gradient(1200px 600px at 85% 10%, color-mix(in oklch, var(--accent) 18%, transparent), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.hero-eyebrow-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: clamp(40px, 7vw, 80px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-eyebrow-row .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: middle;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(72px, 13vw, 220px);
  line-height: 0.86;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  text-transform: uppercase;
}
.hero h1 .line { display: block; }
.hero h1 .line.outline {
  -webkit-text-stroke: 2px var(--text);
  color: transparent;
}
.hero h1 .accent {
  color: var(--accent);
  font-style: italic;
}
.hero-sub {
  max-width: 560px;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.45;
  color: var(--text-dim);
  margin: 0;
}
.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 8px;
}
.hero-cta-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: transform 0.15s, background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* hero studio "spec card" */
.spec-card {
  border: 1px solid var(--line);
  padding: 20px 22px;
  border-radius: 8px;
  background: linear-gradient(180deg, color-mix(in oklch, var(--bg-elev) 65%, transparent), transparent);
}
.spec-card-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted);
}
.spec-card-head .live {
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
}
.spec-card-head .live::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.spec-card-row {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 13px;
}
.spec-card-row:last-child { border-bottom: 0; }
.spec-card-row .k {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
}
.spec-card-row .v { color: var(--text); }

/* ---------- Ticker / marquee ---------- */
.ticker {
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg);
  overflow: hidden;
}
.ticker-track {
  display: flex;
  gap: 56px;
  padding: 18px 0;
  width: max-content;
  animation: ticker 60s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}
.ticker-track span { display: inline-flex; align-items: center; gap: 56px; color: var(--text-dim); }
.ticker-track span::after {
  content: "✶";
  color: var(--accent);
  font-size: 14px;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Section header ---------- */
.rd section { scroll-margin-top: 80px; }
.section {
  padding: clamp(72px, 9vw, 140px) 0;
  border-bottom: 1px solid var(--line-soft);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head .title-block { display: flex; flex-direction: column; gap: 16px; }
.section-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin: 0;
  text-transform: uppercase;
}
.section-title .accent { color: var(--accent); font-style: italic; }
.section-lede {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 44ch;
  margin: 0;
}

/* ---------- Discography ---------- */
.disco-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 16px;
  row-gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.filter-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.filter-pill:hover { color: var(--text); }
.filter-pill.active {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}
.disco-count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.disco-count em { color: var(--text); font-style: normal; }

.disco-grid {
  display: grid;
  grid-template-columns: repeat(var(--disco-cols, 5), minmax(0, 1fr));
  gap: clamp(20px, 2vw, 32px) clamp(20px, 2vw, 28px);
}
.album {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease;
}
.album.is-hidden { display: none; }
.album:hover { transform: translateY(-2px); }
.album-art {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-elev);
  overflow: hidden;
  border-radius: 4px;
  box-shadow: var(--shadow);
}
.album-art img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
}
.album:hover .album-art img { transform: scale(1.04); filter: brightness(0.7); }
.album-year-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 600;
  padding: 4px 8px;
  background: color-mix(in oklch, var(--bg) 70%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--text);
  border-radius: 3px;
  z-index: 1;
}
.album-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.85));
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  transition: opacity 0.25s ease;
}
.album:hover .album-overlay,
.album:focus-visible .album-overlay,
.album:focus-within .album-overlay { opacity: 1; }
.album-overlay .role-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.role-chip {
  padding: 4px 8px;
  background: color-mix(in oklch, var(--accent) 90%, transparent);
  color: var(--accent-ink);
  font-weight: 700;
  border-radius: 3px;
}
.album-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.album-artist {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0;
}
.album-title {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.3;
  margin: 0;
}
.album-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}
.album-label.notable { color: var(--accent); }

/* ---------- Listen / Videos ---------- */
.listen-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.featured {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.featured-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}
.featured-meta h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0;
}
.featured-meta .subtitle { color: var(--text-dim); }
.featured-meta .role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.playlist {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.playlist-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.playlist-item {
  display: grid;
  grid-template-columns: 28px 64px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.15s;
  text-align: left;
  width: 100%;
}
.playlist-item:last-child { border-bottom: 0; }
.playlist-item:hover { background: var(--bg-elev); }
.playlist-item.active { background: color-mix(in oklch, var(--accent) 12%, transparent); }
.playlist-item.active .pl-num { color: var(--accent); }
.pl-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.pl-thumb {
  width: 64px; height: 36px;
  background: var(--bg-elev);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}
.pl-thumb::after {
  content: "▶";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--text);
  font-size: 12px;
  opacity: 0.85;
}
.pl-title {
  display: flex; flex-direction: column; gap: 2px;
  min-width: 0;
}
.pl-artist {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1;
}
.pl-track { font-size: 13px; color: var(--text-dim); }
.pl-role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.about-quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0 0 24px;
}
.about-quote .accent { color: var(--accent); font-style: italic; }
.about-body p {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.65;
  margin: 0 0 14px;
  max-width: 56ch;
}
.about-portrait {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-elev);
  display: grid;
  place-items: center;
  text-align: center;
}
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.placeholder {
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(45deg, var(--bg-elev) 0 14px, var(--bg-card) 14px 28px);
  display: grid;
  place-items: center;
}
.placeholder-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 14px;
  background: var(--bg);
  border: 1px dashed var(--line);
  border-radius: 4px;
}

/* services row */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-top: clamp(40px, 5vw, 56px);
  overflow: hidden;
}
.service {
  background: var(--bg);
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 8px;
}
.service h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 8px;
}
.service p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* ---------- Contact ---------- */
.contact {
  padding: clamp(80px, 10vw, 160px) 0 clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line-soft);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 8vw, 132px);
  line-height: 0.86;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 24px;
}
.contact h2 .accent { color: var(--accent); font-style: italic; }
.contact-email {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.5vw, 32px);
  text-transform: lowercase;
  letter-spacing: -0.005em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  transition: color 0.15s, border-color 0.15s;
}
.contact-email:hover { color: var(--accent); border-color: var(--accent); }
.contact-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 0;
}
.contact-meta dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.contact-meta dd { margin: 0; font-size: 15px; color: var(--text); line-height: 1.5; }
.contact-meta dd a:hover { color: var(--accent); }

/* footer */
.foot {
  padding: 32px 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.foot a:hover { color: var(--text); }

/* ---------- Audio player bar (Direction 01 — industrial) ---------- */
body.has-player main, body.has-player .foot { padding-bottom: 100px; }

.player {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: oklch(0.1 0.005 60);
  border-top: 1px solid var(--line);
  color: var(--text);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 -20px 50px -20px rgba(0,0,0,0.6);
}
.player.open { transform: translateY(0); }
.player-progress {
  height: 3px;
  background: var(--line-soft);
  position: relative;
  cursor: pointer;
}
.player-progress-fill {
  height: 100%;
  background: var(--accent);
  transition: width 0.1s linear;
  width: 0%;
}
.player-progress-thumb {
  position: absolute;
  top: 50%;
  width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--accent);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.15s;
}
.player-progress:hover .player-progress-thumb { opacity: 1; }

.player-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  padding: 14px clamp(16px, 5vw, var(--pad-x));
  height: 92px;
}
.player-left {
  display: flex; align-items: center; gap: 14px; min-width: 0;
}
.player-thumb {
  width: 60px; height: 60px;
  background: var(--bg-elev);
  border-radius: 4px;
  overflow: hidden;
  flex: none;
}
.player-thumb img { width: 100%; height: 100%; object-fit: cover; }
.player-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.player-now {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 8px;
}
.player-now::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent); animation: pulse 2s infinite;
}
.player-track {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player-artist {
  font-size: 12px;
  color: var(--text-dim);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player-center {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.player-btn {
  width: 48px; height: 48px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid; place-items: center;
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.12s, filter 0.15s;
}
.player-btn:hover { filter: brightness(1.1); transform: scale(1.05); }
.player-btn:active { transform: scale(0.95); }
.player-time { min-width: 38px; text-align: center; }
.player-time.dur { color: var(--text-dim); }
.player-right {
  display: flex; align-items: center; justify-content: flex-end; gap: 16px;
}
.player-close {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: color 0.15s, border-color 0.15s;
}
.player-close:hover { color: var(--text); border-color: var(--text); }

/* play button on album card (V1) */
.album-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 2;
}
.album:hover .album-play,
.album:focus-visible .album-play,
.album:focus-within .album-play { opacity: 1; }
.album-play-btn {
  width: 56px; height: 56px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid; place-items: center;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,0.7);
  transform: translateY(6px);
  transition: transform 0.25s ease;
}
.album:hover .album-play-btn { transform: translateY(0); }
.album.playing .album-play { opacity: 1; }
.album.playing .album-play-btn { background: var(--text); color: var(--accent-ink); }
.album.playing .album-art img { filter: brightness(0.5); }
.album.playing .album-year-tag {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}

/* small "no preview" hint, only on hover, only for albums without an mp3 */
.album-nopreview {
  position: absolute;
  bottom: 10px; left: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: color-mix(in oklch, var(--bg) 70%, transparent);
  padding: 4px 8px;
  border-radius: 3px;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 2;
}
.album:hover .album-nopreview { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  :root { --disco-cols: 4; }
}
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .listen-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  :root { --disco-cols: 3; }
}
@media (max-width: 720px) {
  :root { --disco-cols: 2; }
  .nav-links { display: none; }
  .nav-row { gap: 12px; }
  .brand { font-size: 16px; min-width: 0; }
  .brand-name { overflow: hidden; text-overflow: ellipsis; }
  .nav-cta { padding: 9px 12px; font-size: 11px; letter-spacing: 0.1em; flex: none; }
  .services { grid-template-columns: 1fr; }
  .contact-meta { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 78px; }
  /* keep the close/stop control reachable on mobile */
  .player-row { grid-template-columns: minmax(0, 1fr) auto auto; height: 76px; padding-right: 16px; }
  .player-center { gap: 8px; }
  .player-time { display: none; }
  .player-close { padding: 8px 10px; letter-spacing: 0.12em; }
  body.has-player main, body.has-player .foot { padding-bottom: 88px; }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .spec-card-head .live::before,
  .player-now::before { animation: none; }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
