/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  --bg:        #0d0906;
  --surface-1: #150e09;
  --surface-2: #1d1510;
  --surface-3: #261c13;
  --border:    #38261a;
  --text-1:    #f2e8d5;
  --text-2:    #b09880;
  --text-3:    #6b5240;
  --accent:    #c49a52;
  --accent-l:  #d4aa62;
  --accent-d:  #8a6428;
  --panel-w:   300px;
  --r-sm:  3px;
  --r-md:  6px;
  --r-lg: 12px;
  --ease: 0.25s ease;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-1);
  background: var(--bg);
}

/* Film grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.15;
}

a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ============================================================
   App Layout — two-column split
   ============================================================ */
.app-layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* ============================================================
   Player Panel (fixed left)
   ============================================================ */
.player-panel {
  width: var(--panel-w);
  flex-shrink: 0;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--surface-1);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  gap: 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--surface-3) transparent;
}

.player-panel::-webkit-scrollbar { width: 4px; }
.player-panel::-webkit-scrollbar-track { background: transparent; }
.player-panel::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 4px; }

/* ── Vinyl ─────────────────────────────────────────────────── */
.player-visual {
  text-align: center;
}

.vinyl-wrap { margin-bottom: 16px; }

.vinyl {
  width: 175px;
  height: 175px;
  border-radius: 50%;
  margin: 0 auto;
  background:
    /* center hole */
    radial-gradient(circle at 50% 50%, #0a0706 0% 3.5%, transparent 3.5% 4.5%, #0a0706 4.5% 5.5%, transparent 5.5% 100%),
    /* label area */
    radial-gradient(circle at 50% 50%, #1a1208 0% 28%, transparent 28%),
    /* groove rings */
    repeating-radial-gradient(
      circle at 50% 50%,
      #0a0806 0px,
      #181410 1.2px,
      #0a0806 2px,
      #121008 3px
    );
  box-shadow:
    0 12px 60px rgba(0,0,0,0.9),
    0 0 0 1px rgba(255,255,255,0.03),
    inset 0 0 0 1px rgba(255,255,255,0.02);
  animation: vinyl-spin 2s linear infinite;
  animation-play-state: paused;
  transition: box-shadow 0.7s ease;
  will-change: transform;
  position: relative;
}

/* Label text on vinyl via pseudo-element */
.vinyl::after {
  content: 'K F T V';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Inter', sans-serif;
  font-size: 6px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--accent);
  opacity: 0.7;
  pointer-events: none;
}

.vinyl.playing {
  animation-play-state: running;
  box-shadow:
    0 12px 60px rgba(0,0,0,0.9),
    0  0   80px rgba(196,154,82,0.12),
    0  0   0 1px rgba(255,255,255,0.03),
    inset 0 0 0 1px rgba(255,255,255,0.02);
}

@keyframes vinyl-spin {
  to { transform: rotate(360deg); }
}

.now-playing-label {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
}

.now-playing-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 400;
  font-style: italic;
  color: var(--text-1);
  line-height: 1.3;
  min-height: 1.3em;
}

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

.time-display {
  font-size: 10px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
  min-width: 30px;
  text-align: center;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
}

.progress-track {
  flex: 1;
  height: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  -webkit-user-select: none;
  user-select: none;
}

.progress-track::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  pointer-events: none;
}

.progress-fill {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  width: 0%;
  pointer-events: none;
}

.progress-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--ease);
}

.progress-track:hover .progress-handle,
.progress-track.seeking .progress-handle {
  opacity: 1;
}

/* ── Playback controls ────────────────────────────────────── */
.playback-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-ctrl {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  border-radius: var(--r-sm);
  transition: color var(--ease);
}
.btn-ctrl:hover { color: var(--text-2); }

.btn-play {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0602;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  padding-left: 2px;
}
.btn-play:hover {
  background: var(--accent-l);
  transform: scale(1.05);
  box-shadow: 0 0 28px rgba(196,154,82,0.3);
}
.btn-play:active { transform: scale(0.96); }
.btn-play.is-playing { padding-left: 0; }

/* ── Volume ───────────────────────────────────────────────── */
.volume-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vol-icon { color: var(--text-3); flex-shrink: 0; }

.vol-slider {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 2px;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  background: linear-gradient(
    to right,
    var(--accent) 0%,
    var(--accent) var(--vol, 80%),
    var(--border) var(--vol, 80%),
    var(--border) 100%
  );
}
.vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
}
.vol-slider::-moz-range-thumb {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: none;
}

/* ── Tracklist ────────────────────────────────────────────── */
.tracklist-wrap {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  flex: 1;
}

.tracklist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.tracklist-heading {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

/* ── Lyrics button ─────────────────────────────────────────── */
.btn-lyrics {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid transparent;
  color: var(--text-3);
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 3px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.btn-lyrics:disabled { opacity: 0.3; cursor: default; }
.btn-lyrics.has-lyrics { color: var(--text-2); border-color: var(--border); }
.btn-lyrics.has-lyrics:hover { color: var(--accent); border-color: var(--accent); }
.btn-lyrics.lyrics-active { color: var(--accent); border-color: var(--accent); background: rgba(196,154,82,0.06); }

/* ── Lyrics panel ──────────────────────────────────────────── */
.lyrics-panel {
  position: fixed;
  left: var(--panel-w);
  top: 0;
  bottom: 0;
  width: min(400px, calc(100vw - var(--panel-w)));
  background: #09060a;
  border-right: 1px solid var(--border);
  z-index: 50;
  display: flex;
  flex-direction: column;
  transform: translateX(calc(-100% - var(--panel-w)));
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.lyrics-panel.open {
  transform: translateX(0);
  pointer-events: auto;
}
.lyrics-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 24px 18px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.lyrics-label {
  font-size: 9px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5px;
}
.lyrics-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: var(--text-1);
}
.lyrics-close-btn {
  background: none;
  border: none;
  color: var(--text-3);
  padding: 2px;
  cursor: pointer;
  line-height: 0;
  flex-shrink: 0;
  margin-top: 2px;
  transition: color 0.15s;
}
.lyrics-close-btn:hover { color: var(--text-2); }
.lyrics-body {
  flex: 1;
  overflow-y: auto;
  padding: 32px 24px 48px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 2.1;
  color: var(--text-2);
  scrollbar-width: thin;
  scrollbar-color: var(--surface-3) transparent;
}
.lyrics-body p {
  margin: 0 0 1.6em;
  white-space: pre-wrap;
}
.lyrics-body p:last-child { margin-bottom: 0; }

.tracklist {
  display: flex;
  flex-direction: column;
}

.track-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 4px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--ease);
}
.track-item:hover { background: var(--surface-2); }
.track-item.active { background: var(--surface-2); }
.track-item.active .track-name { color: var(--accent); }

.track-play-btn {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  flex-shrink: 0;
  transition: color var(--ease);
}
.track-item:hover .track-play-btn,
.track-item.active .track-play-btn { color: var(--text-2); }

.track-num {
  font-size: 10px;
  color: var(--text-3);
  min-width: 18px;
  font-variant-numeric: tabular-nums;
  font-family: 'Inter', sans-serif;
}

.track-name {
  flex: 1;
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  color: var(--text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--ease);
}

.track-download-btn {
  width: 28px; height: 28px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  opacity: 0;
  transition: opacity var(--ease), color var(--ease);
  flex-shrink: 0;
  padding: 0;
}
.track-item:hover .track-download-btn { opacity: 1; }
.track-download-btn:hover { color: var(--accent); }

.tracklist-status {
  padding: 14px 4px;
  color: var(--text-3);
  font-size: 13px;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
}

/* ============================================================
   Main Scroll Area (right column)
   ============================================================ */
.main-scroll {
  flex: 1;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

/* ============================================================
   Content Container
   ============================================================ */
.content-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 52px;
}

/* ============================================================
   Section ornament divider
   ============================================================ */
.section-ornament {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  color: var(--text-3);
}
.section-ornament::before,
.section-ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.section-ornament-symbol {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  color: var(--text-3);
  white-space: nowrap;
}

/* ============================================================
   Section Title
   ============================================================ */
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--text-1);
  letter-spacing: 0.01em;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: url('/art/edvard_munch_melancholy_III.jpg') center 20% / cover no-repeat;
}

/* Dark overlay + hard fade to background at the bottom */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(13, 9, 6, 0.65) 0%,
      rgba(13, 9, 6, 0.60) 40%,
      rgba(13, 9, 6, 0.85) 72%,
      rgba(13, 9, 6, 1.00) 100%
    );
  z-index: 0;
}

/* Side vignettes */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 35%, rgba(13, 9, 6, 0.45) 100%);
  z-index: 0;
  pointer-events: none;
}

/* Keep orb divs but make them invisible — JS may reference them */
.hero-bg { display: none; }
.hero-orb { display: none; }

.hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 28px 32px;
}

.hero-eyebrow {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
  opacity: 0.85;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 16px;
  line-height: 1;
}

.hero-title-top,
.hero-title-bot {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(68px, 12vw, 124px);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-1);
  line-height: 0.93;
}

.hero-title-mid {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(18px, 3vw, 34px);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.32em;
  color: var(--accent);
  line-height: 1.7;
  padding-left: 0.1em;
  opacity: 0.9;
}

.hero-tagline {
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.08em;
  margin-bottom: 40px;
  font-family: 'Inter', sans-serif;
}

/* ── VOID warp / singularity effect ────────────────────────── */
.void-filter-svg {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.void-warp {
  display: inline-block;
  filter: url(#void-turbulence);
  animation: void-glow 10s ease-in-out infinite;
  will-change: text-shadow;
}

@keyframes void-glow {
  0%, 100% {
    text-shadow:
      -1px 0 2px rgba(0, 190, 255, 0.2),
      1px 0 2px rgba(180, 0, 255, 0.2),
      0 0 8px rgba(90, 0, 150, 0.12);
  }
  40% {
    text-shadow:
      -4px 0 3px rgba(0, 190, 255, 0.45),
      4px 0 3px rgba(180, 0, 255, 0.45),
      0 0 24px rgba(90, 0, 150, 0.4),
      0 0 60px rgba(40, 0, 70, 0.2);
  }
  68% {
    text-shadow:
      -7px 0 4px rgba(0, 190, 255, 0.55),
      7px 0 4px rgba(180, 0, 255, 0.55),
      0 0 44px rgba(90, 0, 150, 0.6),
      0 0 90px rgba(40, 0, 70, 0.4);
  }
}

/* ── Human asterisk disclaimer tooltip ──────────────────────── */
.human-asterisk-wrap {
  position: relative;
  display: inline;
}

.human-asterisk {
  cursor: pointer;
  color: var(--accent);
  font-size: 0.72em;
  vertical-align: super;
  margin-left: 1px;
  user-select: none;
  font-style: normal;
  letter-spacing: 0;
  transition: opacity 0.15s;
}

.human-asterisk:hover { opacity: 0.7; }

.human-asterisk:focus-visible {
  outline: 1px dotted var(--accent);
  outline-offset: 2px;
}

.human-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(8, 5, 12, 0.97);
  border: 1px solid var(--accent);
  color: var(--text-1);
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.55;
  padding: 10px 14px;
  border-radius: 6px;
  width: 240px;
  text-align: center;
  z-index: 400;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.75);
  pointer-events: none;
  white-space: normal;
  text-transform: none;
}

.human-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--accent);
}

.human-asterisk-wrap.open .human-tooltip {
  display: block;
}

.hero-cta {
  display: inline-block;
  padding: 11px 32px;
  border: 1px solid rgba(196,154,82,0.5);
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  font-family: 'Inter', sans-serif;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.hero-cta:hover {
  background: var(--accent);
  color: #0a0602;
  border-color: var(--accent);
}


/* ============================================================
   About Section
   ============================================================ */
.about-section {
  padding: 80px 0 100px;
  background: var(--surface-1);
  border-top: 1px solid var(--border);
}

.about-inner { max-width: 520px; }

.about-text p {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 18px;
}
.about-text p:last-child { margin-bottom: 0; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  padding: 36px 0;
  background: var(--surface-1);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 15px;
  font-style: italic;
  color: var(--text-3);
}

.footer-copy {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.05em;
  font-family: 'Inter', sans-serif;
}

/* ============================================================
   Loop & Shuffle buttons
   ============================================================ */
.btn-mode {
  position: relative;
  transition: color var(--ease);
}
.btn-mode-active {
  color: var(--accent) !important;
}
.btn-mode-active::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
}

/* ============================================================
   Waveform SVG (overlays progress track)
   ============================================================ */
.waveform-svg {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 28px;
  pointer-events: none;
  overflow: visible;
}

/* ============================================================
   Track thumbnail (small, in tracklist)
   ============================================================ */
.track-thumb {
  width: 22px;
  height: 22px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
}

/* ============================================================
   Track artwork (large, in player visual replacing vinyl)
   ============================================================ */
.track-artwork {
  width: 175px;
  height: 175px;
  border-radius: 50%;
  margin: 0 auto;
  display: block;
  object-fit: cover;
  box-shadow:
    0 12px 60px rgba(0,0,0,0.9),
    0 0 0 1px rgba(255,255,255,0.03);
  animation: vinyl-spin 20s linear infinite;
  animation-play-state: paused;
  transition: box-shadow 0.7s ease;
}
.track-artwork.playing {
  animation-play-state: running;
  box-shadow:
    0 12px 60px rgba(0,0,0,0.9),
    0  0   80px rgba(196,154,82,0.12),
    0 0 0 1px rgba(255,255,255,0.03);
}

.shortcuts-grid span { color: var(--text-2); }

/* ============================================================
   Player sheet close button (mobile only)
   ============================================================ */
.player-sheet-close {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-2);
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  margin-bottom: 8px;
  transition: background var(--ease);
}
.player-sheet-close:hover { background: var(--surface-3); }

/* ============================================================
   Subscribe form
   ============================================================ */
.subscribe-block {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.subscribe-label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--text-1);
  margin-bottom: 8px;
}

.subscribe-hint {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 18px;
  line-height: 1.7;
}

.subscribe-form {
  max-width: 420px;
  margin: 20px auto 0;
  padding: 18px 20px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}

.subscribe-row {
  display: flex;
  gap: 8px;
}

.subscribe-input {
  flex: 1;
  padding: 10px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text-1);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color var(--ease);
}
.subscribe-input::placeholder { color: var(--text-3); }
.subscribe-input:focus { border-color: var(--accent); }

.subscribe-btn {
  padding: 10px 18px;
  background: var(--accent);
  color: #0a0602;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  transition: background var(--ease);
}
.subscribe-btn:hover:not(:disabled) { background: var(--accent-l); }
.subscribe-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.subscribe-message {
  margin-top: 10px;
  font-size: 13px;
  min-height: 1.4em;
  font-family: 'Inter', sans-serif;
}
.subscribe-message.success { color: var(--accent-l); }
.subscribe-message.error   { color: #e07878; }

/* ============================================================
   Mobile mini player & bottom sheet
   ============================================================ */
.mini-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(21, 14, 9, 0.95);
  border-top: 1px solid var(--border);
  z-index: 150;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.mini-player[hidden] { display: none; }

.mini-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  text-align: left;
  min-width: 0;
}

.mini-art {
  width: 40px;
  height: 40px;
  border-radius: 3px;
  background: var(--surface-3);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.mini-vinyl {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #060606 0% 20%, #c49a52 20% 35%, #181412 35% 100%);
}

.mini-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-style: italic;
  color: var(--text-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-play-btn,
.mini-next-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-1);
  cursor: pointer;
  transition: background var(--ease);
}
.mini-play-btn:hover,
.mini-next-btn:hover { background: var(--surface-3); }
.mini-play-btn { background: var(--accent); color: #0a0602; }
.mini-play-btn:hover { background: var(--accent-l); }

/* ============================================================
   Responsive — Desktop & Tablet (900px)
   ============================================================ */
@media (max-width: 900px) {
  .app-layout {
    flex-direction: column;
    height: auto;
    overflow: visible;
  }
  html, body {
    height: auto;
    overflow: auto;
  }
  .player-panel {
    width: 100%;
    height: auto;
    overflow: visible;
    padding: 24px 20px;
  }
  .main-scroll {
    height: auto;
    overflow: visible;
  }
  .playback-controls { justify-content: center; }
  .volume-wrap { justify-content: center; }
  .vinyl { width: 155px; height: 155px; }
  .track-artwork { width: 155px; height: 155px; }
  .content-container { padding: 0 28px; }
}

/* ============================================================
   Responsive — Mobile (768px: bottom sheet)
   ============================================================ */
@media (max-width: 768px) {
  html, body { height: 100%; overflow: hidden; }

  .lyrics-panel {
    left: 0; right: 0;
    top: 0; bottom: auto;
    height: 100vh;
    padding-bottom: 64px;
    width: 100%;
    border-right: none;
    border-top: none;
    border-radius: 0;
    transform: translateY(100%);
    z-index: 160;
  }
  .lyrics-panel.open { transform: translateY(0); }

  .app-layout { flex-direction: column; height: 100%; overflow: hidden; }

  .main-scroll {
    flex: 1;
    height: calc(100vh - 64px);
    overflow-y: auto;
    overflow-x: hidden;
  }

  .player-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 80vh;
    max-height: 600px;
    z-index: 120;
    border-radius: 14px 14px 0 0;
    border-top: 1px solid var(--border);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: 16px 24px 80px;
  }

  .player-sheet-open .player-panel {
    transform: translateY(0);
  }

  .player-sheet-open .main-scroll::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 110;
    pointer-events: none;
  }

  .player-sheet-close { display: flex; }

  .vinyl { width: 125px; height: 125px; }
  .track-artwork { width: 125px; height: 125px; }

  .mini-player { display: flex !important; }
}

@media (max-width: 540px) {
  .hero-title-top, .hero-title-bot { font-size: clamp(52px, 15vw, 84px); }
  .hero-title-mid { font-size: clamp(14px, 4.2vw, 22px); }
  .footer-inner { flex-direction: column; gap: 6px; text-align: center; }
  .subscribe-row { flex-direction: column; }
  .subscribe-btn { width: 100%; }
}

/* ============================================================
   Page layout (non-player pages: homepage, videos, etc.)
   ============================================================ */
html:has(body.page-layout),
body.page-layout {
  height: auto;
  overflow-y: auto;
  overflow-x: hidden;
}

/* ============================================================
   Site Nav
   ============================================================ */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 52px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.site-nav-brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-1);
  letter-spacing: 0.02em;
}

.site-nav-links {
  display: flex;
  gap: 28px;
}

.site-nav-link {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color var(--ease);
}

.site-nav-link:hover,
.site-nav-link.site-nav-active {
  color: var(--text-1);
}

/* ============================================================
   Listen page — empty main area hint
   ============================================================ */
.listen-empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
}

.listen-empty-hint {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

/* ============================================================
   Stub pages (Videos, etc.)
   ============================================================ */
.stub-page {
  padding: 80px 0;
}

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

.stub-message {
  color: var(--text-2);
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
}

@media (max-width: 768px) {
  .site-nav { padding: 16px 24px; }
  .site-nav-brand { font-size: 14px; }
  .listen-empty { display: none; }
}

/* ============================================================
   Single-page layout: sticky header
   ============================================================ */
html { scroll-behavior: smooth; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(13, 9, 6, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-header-brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-1);
  letter-spacing: 0.03em;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.site-header.scrolled .site-header-brand {
  opacity: 1;
  pointer-events: auto;
}

.site-header-nav {
  display: flex;
  gap: 32px;
}

.site-header-nav a {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color var(--ease);
}

.site-header-nav a:hover { color: var(--text-1); }

/* Offset body for fixed header */
body.page-layout {
  padding-top: 56px;
}

/* Hero height on single-page layout */
body.page-layout .hero {
  min-height: calc(100vh - 56px);
}

/* ============================================================
   Content sections (Listen, Videos)
   ============================================================ */
.content-section {
  padding: 80px 0 100px;
}

.content-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.content-section .section-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 28px;
}

.content-section .section-ornament {
  margin-bottom: 0;
}

.section-empty {
  color: var(--text-3);
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  text-align: center;
  padding: 60px 0;
}

/* ============================================================
   Releases grid (Bandcamp embeds)
   ============================================================ */
/* ============================================================
   Inline music player (Listen section)
   ============================================================ */
.inline-player {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
}

.inline-player-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 240px;
  flex-shrink: 0;
}

.inline-player-right {
  flex: 1;
  min-width: 0;
}

.inline-player-right .tracklist-wrap {
  border-top: none;
  padding-top: 0;
  flex: none;
}

/* Fix lyrics panel positioning for page-layout (no sidebar) */
.page-layout .lyrics-panel {
  left: 0;
  width: min(400px, 100vw);
  transform: translateX(-100%);
}
.page-layout .lyrics-panel.open {
  transform: translateX(0);
}

/* ============================================================
   Instagram grid
   ============================================================ */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.instagram-card {
  display: block;
  text-decoration: none;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-1);
  border: 1px solid var(--border);
  transition: border-color var(--ease), transform var(--ease);
}
.instagram-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.instagram-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface-2);
}
.instagram-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.instagram-card:hover .instagram-img-wrap img {
  transform: scale(1.04);
}

.instagram-img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--surface-2);
}

.instagram-type-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 11px;
  color: #fff;
  background: rgba(0,0,0,0.55);
  border-radius: 4px;
  padding: 2px 5px;
  pointer-events: none;
}

.instagram-caption {
  padding: 10px 12px;
  font-size: 11px;
  color: var(--text-3);
  font-family: 'Inter', sans-serif;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.section-link {
  color: var(--accent);
  text-decoration: underline;
}

/* Responsive overrides */
@media (max-width: 768px) {
  .site-header { padding: 0 20px; height: 52px; }
  .site-header-brand { font-size: 14px; }
  body.page-layout { padding-top: 52px; }
  body.page-layout .hero { min-height: calc(100vh - 52px); }
  .content-section { padding: 60px 0 80px; }
  .content-wide { padding: 0 20px; }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .inline-player {
    flex-direction: column;
    padding: 24px 20px;
    gap: 24px;
  }
  .inline-player-left {
    width: 100%;
  }
}
