/* ─── RESET & BASE ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #14B8A6;
  --bg2:        #11A295;
  --bg3:        #0D7A6E;
  --blue:       #0B1320;
  --blue-dim:   #1c3545;
  --blue-pale:  #F1F5F9;
  --text:       #0B1320;
  --muted:      #07423C;
  --border:     rgba(11,19,32,0.18);
  --dark:       #0e1a2c;   /* unified interior page background */
  --font-head:  'Bebas Neue', sans-serif;
  --font-body:  'Inter', sans-serif;
  --nav-h:      60px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}

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

/* ─── MEDIA PROTECTION ──────────────────────────────────────────────── */
.track-art, .hero-photo, .mini-art-wrap img {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}
.track-art-wrap, .track-art-overlay, .play-btn-large {
  pointer-events: auto;
}

/* ─── NAV ───────────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(8, 15, 30, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
  z-index: 100;
  transition: background 0.3s;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-head);
  font-size: 22px;
  letter-spacing: 0.06em;
  color: #fff;
  transition: color 0.2s;
}
.nav-logo:hover { color: #5eead4; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: #F1F5F9;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover { color: #5eead4; }

.nav-ig { color: #F1F5F9; display: flex; align-items: center; }
.nav-ig:hover { color: #5eead4; }

/* ─── HERO ──────────────────────────────────────────────────────────── */
.hero {
  padding: calc(var(--nav-h) + 72px) 24px 80px;
  background: #5eead4;
  border-bottom: 0.5px solid var(--border);
  position: relative;
  overflow: hidden;
}

#hero-grid-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-photo-wrap {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--blue-dim);
  position: relative;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-photo-placeholder {
  display: none;
  width: 100%;
  height: 100%;
  background: var(--bg3);
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 64px;
  color: var(--blue);
  letter-spacing: 0.02em;
}

.hero-name {
  font-family: var(--font-head);
  font-size: 72px;
  letter-spacing: 0.04em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 16px;
}

.hero-bio {
  font-size: 16px;
  font-weight: 300;
  color: #0b1320;
  max-width: 100%;
  line-height: 1.75;
  margin-bottom: 10px;
}

.bio-toggle {
  background: none;
  border: none;
  color: rgba(11,19,32,0.55);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  padding: 0;
  margin-bottom: 20px;
  transition: color 0.2s;
  display: block;
}
.bio-toggle:hover { color: #0b1320; }

.hero-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 7px 14px;
  border-radius: 4px;
  border: 1px solid rgba(11,19,32,0.45);
  color: #0b1320;
  background: transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.hero-link:hover {
  background: rgba(11,19,32,0.14);
  border-color: rgba(11,19,32,0.7);
  color: #0b1320;
}

/* ─── SECTION SHARED ────────────────────────────────────────────────── */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-family: var(--font-head);
  font-size: 40px;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 32px;
}

/* ─── MUSIC SECTION ─────────────────────────────────────────────────── */
.music-section {
  padding: 80px 24px;
  position: relative;
  background: #f1f5f9;
  isolation: isolate;
}

/* Rotating background layers */
.music-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.music-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.music-bg-slide.active {
  opacity: 1;
}

/* Fade overlay so image blends into #f1f5f9 at edges */
.music-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      #f1f5f9 0%,
      rgba(241,245,249,0) 10%,
      rgba(241,245,249,0) 90%,
      #f1f5f9 100%);
  pointer-events: none;
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ─── TRACK CARD ────────────────────────────────────────────────────── */
.track-card {
  background: #0b1320;
  border: 0.5px solid rgba(94,234,212,0.2);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.25s, transform 0.2s;
}
.track-card:hover {
  border-color: rgba(94,234,212,0.5);
  transform: translateY(-2px);
}
.track-card.playing {
  border-color: rgba(94,234,212,0.6);
  box-shadow: 4px 4px 0 #5eead4,
              8px 8px 0 rgba(94,234,212,0.3);
}

.track-art-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: #0d1e2a;
  cursor: pointer;
}

.track-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s;
}

.track-art-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,15,30,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}
.track-art-wrap:hover .track-art-overlay { opacity: 1; }
.track-card.playing .track-art-overlay { opacity: 1; }

.play-btn-large {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, background 0.15s;
  color: #fff;
}
.play-btn-large:hover { transform: scale(1.08); background: var(--blue-dim); }
.play-btn-large:active { transform: scale(0.97); }

.track-info-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.track-title-text {
  font-family: var(--font-head);
  font-size: 20px;
  letter-spacing: 0.04em;
  color: #5eead4;
  line-height: 1.1;
}

.track-meta {
  font-size: 11px;
  color: rgba(94,234,212,0.6);
  margin-top: 3px;
  font-weight: 300;
}

.track-duration {
  font-size: 11px;
  color: rgba(94,234,212,0.6);
  font-weight: 300;
  white-space: nowrap;
  margin-top: 2px;
}

/* Progress bar */
.progress-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.progress-bar {
  flex: 1;
  height: 16px;
  background: transparent;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
}

.progress-bar::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  background: rgba(94,234,212,0.2);
  border-radius: 2px;
}

.progress-fill {
  position: absolute;
  left: 0;
  height: 3px;
  width: 0%;
  background: #5eead4;
  border-radius: 2px;
  transition: width 0.25s linear;
  pointer-events: none;
}

.progress-handle {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #5eead4;
  left: 0%;
  transform: translateX(-50%);
  cursor: grab;
  z-index: 2;
  box-shadow: 0 0 6px rgba(94,234,212,0.6);
  transition: transform 0.15s, box-shadow 0.15s;
  pointer-events: none;
}
.progress-handle:active,
.progress-bar.dragging .progress-handle {
  cursor: grabbing;
  transform: translateX(-50%) scale(1.3);
  box-shadow: 0 0 10px rgba(94,234,212,0.9);
}

.progress-time {
  font-size: 10px;
  color: rgba(94,234,212,0.6);
  font-weight: 300;
  min-width: 28px;
  text-align: right;
}

/* Stream links */
.track-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 0.5px solid rgba(94,234,212,0.2);
  padding-top: 10px;
}

.available-on-label {
  font-size: 10px;
  font-weight: 400;
  color: rgba(94,234,212,0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-right: 2px;
}

.stream-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 400;
  padding: 5px 11px;
  border-radius: 4px;
  border: 0.5px solid rgba(94,234,212,0.35);
  color: rgba(94,234,212,0.7);
  background: transparent;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  letter-spacing: 0.02em;
}
.stream-link:hover {
  background: rgba(94,234,212,0.12);
  color: #5eead4;
  border-color: #5eead4;
}

.stream-link--soon {
  opacity: 0.4;
  cursor: default;
  font-style: italic;
  pointer-events: none;
}

/* ─── NEW RELEASE STRIP ─────────────────────────────────────────────── */
.nr-section {
  background: #ffd166;
  border-top: 0.5px solid rgba(0,0,0,0.08);
  border-bottom: 0.5px solid rgba(0,0,0,0.08);
  padding: 48px 24px 52px;
  position: relative;
  overflow: hidden;
}

.nr-section::before,
.nr-section::after { display: none; }

.nr-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.nr-section-header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
}

.nr-section-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(11,19,32,0.5);
}

.nr-section-title {
  font-family: var(--font-head);
  font-size: 42px;
  letter-spacing: 0.06em;
  color: #0b1320;
  line-height: 1;
  text-shadow: none;
}

/* ─── NEW RELEASE ───────────────────────────────────────────────────── */
.new-release {
  position: relative;
  background: #0b1320;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.15);
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,0.3);
}

.new-release::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: rgba(255,255,255,0.5);
  z-index: 1;
}

.nr-inner {
  display: flex;
  align-items: center;
  gap: 0;
  padding-left: 4px;
}

.nr-art {
  width: 180px;
  height: 180px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  margin-left: 20px;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.5);
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

.nr-content {
  flex: 1;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
}

.nr-top {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nr-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #00ff88;
  background: rgba(0,255,136,0.08);
  border: 1px solid rgba(0,255,136,0.2);
  padding: 3px 10px;
  border-radius: 20px;
  width: fit-content;
}

.nr-title {
  font-family: var(--font-head);
  font-size: 52px;
  letter-spacing: 0.06em;
  color: #fff;
  line-height: 1;
}

.nr-meta {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
}

/* ── Featured NR card — horizontal layout, centred in yellow strip ── */
.nr-track-card {
  max-width: 100%;
  margin: 0 auto;
  flex-direction: row;
  gap: 16px;
  padding: 12px;
  overflow: hidden;
  border-width: 1px;
  border-color: rgba(94,234,212,0.4);
}

.nr-track-card:hover {
  border-color: rgba(94,234,212,0.7);
}

.nr-card-art {
  width: 400px;
  height: 400px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}

.nr-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.nr-card-info {
  flex: 1;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.nr-card-info .track-platform-btns {
  padding: 0;
  margin-top: 6px;
}

/* On small screens: match track grid card layout exactly */
@media (max-width: 680px) {
  .nr-track-card {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }
  .nr-card-art {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  /* Dissolve the info wrapper so title, meta, and buttons
     become direct flex children of the card — same as track cards */
  .nr-card-info {
    display: contents;
  }
  /* Restore the standard platform button inset */
  .nr-card-info .track-platform-btns {
    padding: 0 14px 14px;
    margin-top: 0;
  }
}

.nr-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.nr-play-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
}
.nr-play-btn:hover {
  background: rgba(255,255,255,0.22);
  box-shadow: 0 0 18px rgba(255,255,255,0.15);
  transform: scale(1.06);
}
.nr-play-btn:active { transform: scale(0.97); }

.nr-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nr-bar {
  height: 16px;
  background: transparent;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
}

.nr-bar::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
}

.nr-fill {
  position: absolute;
  left: 0;
  height: 3px;
  width: 0%;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(255,255,255,0.4);
  transition: width 0.1s linear;
  pointer-events: none;
}

.nr-handle {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  left: 0px;
  transform: none;
  cursor: grab;
  z-index: 2;
  box-shadow: 0 0 6px rgba(255,255,255,0.6);
  transition: transform 0.15s, box-shadow 0.15s;
  pointer-events: none;
}
.nr-bar.dragging .nr-handle {
  cursor: grabbing;
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(255,255,255,0.9);
}

.nr-time {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.nr-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.nr-coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.4);
  padding: 4px 10px;
  border-radius: 4px;
  border: 0.5px solid rgba(255,255,255,0.2);
  cursor: default;
  font-style: italic;
}

.nr-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 4px;
  border: 0.5px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.7);
  background: transparent;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.nr-link:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

@media (max-width: 700px) {
  .nr-section { padding: 36px 20px 40px; }
  .nr-section-title { font-size: 32px; color: #0b1320; }
  .nr-art { width: 110px; height: 110px; margin-left: 14px; }
  .nr-title { font-size: 34px; }
  .nr-content { min-height: 110px; padding: 14px 16px; }
}

@media (max-width: 400px) {
  .nr-art { width: 90px; height: 90px; }
  .nr-title { font-size: 30px; }
}

/* ─── CONTACT ───────────────────────────────────────────────────────── */
.contact-section {
  padding: 80px 24px;
  background: #0b1320;
  border-top: 0.5px solid rgba(255,255,255,0.07);
  border-bottom: 0.5px solid rgba(255,255,255,0.07);
}

.contact-inner { text-align: center; }

.contact-section .section-title {
  color: #5eead4;
  font-size: clamp(36px, 5vw, 68px);
}

.contact-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
  font-weight: 300;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 28px;
  letter-spacing: 0.06em;
  color: #5eead4;
  border-bottom: 1px solid rgba(94,234,212,0.35);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.contact-email:hover {
  color: #fff;
  border-color: #5eead4;
}

/* ─── FOOTER ────────────────────────────────────────────────────────── */
footer {
  padding: 24px;
  background: var(--bg);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-name {
  font-family: var(--font-head);
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.footer-copy {
  font-size: 12px;
  color: var(--muted);
  font-weight: 300;
}

.footer-ig {
  color: var(--muted);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.footer-ig:hover { color: var(--blue); }

/* ─── MINI PLAYER ───────────────────────────────────────────────────── */
.mini-player {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 0.5px solid var(--blue-dim);
  border-radius: 40px;
  padding: 8px 16px 8px 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 380px;
  z-index: 200;
  transition: opacity 0.3s, transform 0.3s;
}

.mini-player.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(12px);
}

.mini-art-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg3);
  border: 1px solid var(--blue-dim);
}
.mini-art-wrap img { width: 100%; height: 100%; object-fit: cover; }

.mini-info {
  flex: 1;
  min-width: 0;
}

#mini-title {
  display: block;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-progress-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.mini-progress-bar {
  flex: 1;
  height: 14px;
  background: transparent;
  border-radius: 1px;
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.mini-progress-bar::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--blue-dim);
  border-radius: 1px;
}

.mini-fill {
  position: absolute;
  left: 0;
  height: 2px;
  width: 0%;
  background: #ffd166;
  border-radius: 1px;
  transition: width 0.25s linear;
  pointer-events: none;
}

.mini-handle {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffd166;
  left: 0px;
  transform: none;
  z-index: 2;
  box-shadow: 0 0 6px rgba(255,209,102,0.7);
  pointer-events: none;
  transition: transform 0.15s;
}
.mini-progress-bar.dragging .mini-handle {
  transform: scale(1.3);
}

#mini-time {
  font-size: 10px;
  color: var(--muted);
  min-width: 28px;
  text-align: right;
}

.mini-play-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  border: none;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, transform 0.15s;
}
.mini-play-btn:hover { background: var(--blue-dim); transform: scale(1.06); }

/* ─── HAMBURGER / MOBILE NAV ────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: background 0.2s;
}
.nav-hamburger:hover { background: rgba(55,138,221,0.1); }
.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--blue-pale);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(8,15,30,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 0.5px solid var(--border);
  flex-direction: column;
  padding: 20px 24px 28px;
  gap: 4px;
  z-index: 99;
  transform: translateY(-8px);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.nav-drawer.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.nav-drawer a {
  font-size: 18px;
  font-weight: 400;
  color: #5eead4;
  letter-spacing: 0.04em;
  padding: 12px 0;
  border-bottom: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
  min-height: 48px;
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover { color: var(--blue-pale); }

/* ─── FLUID HERO NAME ───────────────────────────────────────────────── */
.hero-name {
  font-size: clamp(44px, 8vw, 72px);
}

/* ─── RESPONSIVE ────────────────────────────────────────────────────── */

/* Tablet — 900px and below */
@media (max-width: 900px) {
  .track-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero-inner { gap: 32px; }
  .hero-photo-wrap { width: 130px; height: 130px; }
  .section-title { font-size: 34px; }
  .contact-email { font-size: 22px; }
}

/* Mobile — 700px and below */
@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-drawer { display: flex; }

  .hero { padding: calc(var(--nav-h) + 48px) 20px 60px; }
  .hero-inner { flex-direction: column; gap: 24px; text-align: center; }
  .hero-photo-wrap { width: 110px; height: 110px; }
  .hero-bio { font-size: 15px; }
  .hero-links { justify-content: center; }
  .hero-link { min-height: 44px; padding: 10px 16px; font-size: 13px; }

  .track-grid { grid-template-columns: 1fr; gap: 14px; }
  .play-btn-large { width: 56px; height: 56px; }

  .music-section { padding: 60px 20px; }
  .contact-section { padding: 60px 20px; }
  .section-inner { padding: 0 20px; }

  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }

  .mini-player { min-width: calc(100vw - 32px); max-width: calc(100vw - 32px); border-radius: 16px; bottom: 12px; }
}

/* Small mobile — 400px and below */
@media (max-width: 400px) {
  .section-title { font-size: 28px; }
  .contact-email { font-size: 18px; }
  .hero-link { font-size: 12px; padding: 9px 12px; }
}

/* ─── NAV LISTEN DROPDOWN ───────────────────────────────────────────── */
.nav-listen {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-listen-trigger {
  font-size: 13px;
  font-weight: 400;
  color: #F1F5F9;
  letter-spacing: 0.04em;
  cursor: default;
  display: flex;
  align-items: center;
  gap: 3px;
  transition: color 0.2s;
  user-select: none;
  white-space: nowrap;
}
.nav-listen:hover .nav-listen-trigger { color: #5eead4; }

.nav-listen-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(8, 15, 30, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 6px 0;
  min-width: 170px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
  z-index: 200;
}

/* invisible bridge so hover isn't lost between trigger and menu */
.nav-listen-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-listen:hover .nav-listen-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-listen-menu a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.03em;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-listen-menu a:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}
.nav-listen-menu a:first-child { border-radius: 10px 10px 0 0; }
.nav-listen-menu a:last-child  { border-radius: 0 0 10px 10px; }

/* Drawer streaming section */
.drawer-section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(241,245,249,0.3);
  padding: 14px 0 2px;
  display: block;
}

/* ─── PLATFORM PAGES ────────────────────────────────────────────────── */
body.platform-page {
  background: var(--dark);
  overflow-x: hidden;
}

.platform-hero {
  padding: calc(var(--nav-h) + 64px) 24px 52px;
  background: var(--dark);
  border-bottom: 0.5px solid rgba(255,255,255,0.07);
}

.platform-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.platform-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
  margin-bottom: 36px;
  transition: color 0.2s;
}
.platform-back:hover { color: rgba(255,255,255,0.75); }

.platform-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.platform-title {
  font-family: var(--font-head);
  font-size: clamp(48px, 8vw, 80px);
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
}

.platform-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  font-weight: 300;
  margin-bottom: 28px;
  max-width: 480px;
}

.platform-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 18px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.05);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.platform-cta:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}

/* Platform accent colours */
.platform-page--bandcamp .platform-eyebrow { color: #1da0c3; }
.platform-page--bandcamp .platform-cta { border-color: rgba(29,160,195,0.35); color: #1da0c3; background: rgba(29,160,195,0.07); }
.platform-page--bandcamp .platform-cta:hover { background: rgba(29,160,195,0.15); border-color: #1da0c3; color: #1da0c3; }

.platform-page--spotify .platform-eyebrow { color: #1DB954; }
.platform-page--spotify .platform-cta { border-color: rgba(29,185,84,0.35); color: #1DB954; background: rgba(29,185,84,0.07); }
.platform-page--spotify .platform-cta:hover { background: rgba(29,185,84,0.15); border-color: #1DB954; color: #1DB954; }

.platform-page--apple .platform-eyebrow { color: #fc3c44; }
.platform-page--apple .platform-cta { border-color: rgba(252,60,68,0.35); color: #fc3c44; background: rgba(252,60,68,0.07); }
.platform-page--apple .platform-cta:hover { background: rgba(252,60,68,0.15); border-color: #fc3c44; color: #fc3c44; }

/* Embed section */
.platform-section {
  padding: 56px 24px 100px;
  background: var(--dark);
}

.platform-section-title {
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  font-weight: 400;
  margin-bottom: 24px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.embed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.embed-card {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.2s;
}
.embed-card:hover { transform: translateY(-2px); }

.embed-card-header {
  padding: 14px 16px 12px;
}

.embed-card-title {
  font-family: var(--font-head);
  font-size: 20px;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.1;
}

.embed-card-meta {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-top: 3px;
  font-weight: 300;
}

.embed-card iframe {
  display: block;
  width: 100%;
  border: none;
}

.platform-page--bandcamp .embed-card:hover { border-color: rgba(29,160,195,0.3); }
.platform-page--spotify  .embed-card:hover { border-color: rgba(29,185,84,0.3); }
.platform-page--apple    .embed-card:hover { border-color: rgba(252,60,68,0.3); }

/* Platform footer */
.platform-footer {
  background: var(--bg);
  border-top: none;
  padding: 24px;
}
.platform-footer .footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.platform-footer .footer-name { color: var(--muted); font-family: var(--font-head); font-size: 18px; letter-spacing: 0.06em; }
.platform-footer .footer-copy { color: var(--muted); font-size: 12px; font-weight: 300; }
.platform-footer .footer-ig { color: var(--muted); display: flex; align-items: center; transition: color 0.2s; }
.platform-footer .footer-ig:hover { color: var(--blue); }

/* Bandcamp large embed — height must cover the square artwork + controls.
   Using aspect-ratio so it scales correctly at every viewport width. */
.platform-page--bandcamp .embed-card iframe {
  width: 100%;
  aspect-ratio: 1 / 1.18;  /* 1:1 art + ~18% for the controls bar */
  height: auto;
  display: block;
}

/* Spotify — 352px shows artwork; compact 152px does not */
/* (height set in HTML; this rule documents the intent) */

/* ── Platform Stream Buttons ──────────────────────────────────────────── */
.track-platform-btns,
.nr-platform-btns {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 0 14px 14px;
}

.nr-platform-btns {
  padding: 4px 0 0;
}

.platform-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 14px;
  border-radius: 7px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.18s, border-color 0.18s;
  text-align: left;
  line-height: 1;
  box-sizing: border-box;
}

.platform-btn--spotify {
  background: rgba(29,185,84,0.10);
  border-color: rgba(29,185,84,0.28);
  color: #1DB954;
}
.platform-btn--spotify:hover {
  background: rgba(29,185,84,0.20);
  border-color: rgba(29,185,84,0.5);
}

.platform-btn--apple {
  background: rgba(252,60,68,0.10);
  border-color: rgba(252,60,68,0.28);
  color: #fc3c44;
}
.platform-btn--apple:hover {
  background: rgba(252,60,68,0.20);
  border-color: rgba(252,60,68,0.5);
}

.platform-btn--bandcamp {
  background: rgba(29,160,195,0.10);
  border-color: rgba(29,160,195,0.28);
  color: #1da0c3;
}
.platform-btn--bandcamp:hover {
  background: rgba(29,160,195,0.20);
  border-color: rgba(29,160,195,0.5);
}

/* ── Stream Modal ──────────────────────────────────────────────────────── */
.stream-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stream-modal.hidden { display: none; }

.stream-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.stream-modal-panel {
  position: relative;
  z-index: 1;
  background: #0b1320;
  border: 1px solid rgba(94,234,212,0.15);
  border-radius: 16px;
  width: min(520px, calc(100vw - 32px));
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
}

.stream-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.stream-modal-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#stream-modal-platform {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-body);
  font-weight: 500;
}

#stream-modal-title {
  font-family: var(--font-head);
  font-size: 20px;
  letter-spacing: 0.04em;
  color: #f1f5f9;
  line-height: 1.1;
}

.stream-modal-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.18s, background 0.18s;
  flex-shrink: 0;
}
.stream-modal-close:hover {
  color: #f1f5f9;
  background: rgba(255,255,255,0.08);
}

.stream-modal-embed iframe {
  display: block;
  width: 100%;
  border: none;
}

@media (max-width: 600px) {
  .stream-modal { align-items: flex-end; }
  .stream-modal-panel {
    width: 100%;
    border-radius: 16px 16px 0 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    max-height: 85vh;
    overflow-y: auto;
  }
}

@media (max-width: 700px) {
  .embed-grid { grid-template-columns: 1fr; gap: 14px; }
  .platform-hero { padding: calc(var(--nav-h) + 36px) 20px 40px; }
  .platform-section { padding: 40px 20px 80px; }
  .platform-footer .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
  /* Mobile CTA & iframe improvements */
  .platform-cta { width: 100%; justify-content: center; box-sizing: border-box; }
  .platform-sub { max-width: 100%; }
  .platform-section-title { margin-bottom: 16px; }
  .embed-card iframe { touch-action: pan-y; }
  .embed-card-header { padding: 12px 14px 10px; }
}

/* Remove hover-lift on touch devices (performance + no hover state on mobile) */
@media (hover: none) {
  .embed-card { transition: border-color 0.25s; }
  .embed-card:hover { transform: none; }
}

/* ── Parent-site bar ───────────────────────────────────────────────────── */
/* Boohmsai is a section of the studio site now, and a section needs a way
   up. Above the nav rather than inside it: the nav already has a "Studio"
   item meaning the recording room, and two different Studios in one row
   would be worse than no link at all. */
.parent-bar {
  background: #0b1320;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 7px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.parent-bar a {
  color: rgba(255,255,255,0.62);
  text-decoration: none;
}
.parent-bar a:hover { color: #5eead4; }

/* MDS — the way up to the studio site, last in the nav after a divider so it
   reads as leaving this section rather than as another page within it. */
.nav-sep { color: rgba(255,255,255,0.25); margin: 0 2px; }
.nav-mds { letter-spacing: 0.06em; }
