/* UNTIL FURTHER NOTICE — Nameless Site Architecture
   Paradigm: Authentic Debut Artist Web + Severe Typography + Generous Whitespace (>70%)
   Art Direction: Completely intentional, strangely incomplete, slightly too serious.
   Tone: The site does not explain itself. It delivers only quiet physical evidence. */

:root {
  --bg: #0d0e11;
  --text-primary: #e8e8ea;
  --text-muted: #6c707a;
  --text-dim: #32353e;
  --border-subtle: #1c1e24;
  --border-active: #2f323c;
  --amber-living: #d97706; /* Strictly reserved for the living pulse dot */

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", "Courier New", monospace;

  --container-width: 580px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Outer Container: Clean Viewport Framing */
.site-container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: clamp(0.5rem, 1.3vh, 1.5rem) 1.5rem max(clamp(0.5rem, 1.3vh, 1.5rem), env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Main: Single Debut Album View (Nameless) */
.album-main {
  display: flex;
  flex-direction: column;
  gap: clamp(0.8rem, 1.4vh, 1.75rem);
}

.album-section {
  display: flex;
  flex-direction: column;
}

/* Vertical Album Header Rhythm */
.album-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: clamp(0.8rem, 1.4vh, 1.75rem);
}

/* 1:1 Unprinted Test-Sleeve Jacket Placeholder (1B) */
.album-artwork-placeholder {
  width: 68px;
  height: 68px;
  aspect-ratio: 1 / 1;
  background: #121419;
  border: 1px solid #1c1e24;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.008);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.artwork-status {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  text-transform: lowercase;
  letter-spacing: 0.04em;
}

.album-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.album-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: lowercase;
}

.album-title {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.album-subtext {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Streaming Tracklist Header */
.tracklist-header {
  display: flex;
  align-items: center;
  padding: 0.4rem 0.5rem 0.55rem;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #3b404d;
  text-transform: lowercase;
  letter-spacing: 0.06em;
  user-select: none;
}

.th-num {
  width: 32px;
  flex-shrink: 0;
}

.th-title {
  flex: 1;
}

.th-time {
  flex-shrink: 0;
  width: 44px;
  text-align: right;
}

/* 12 Uniform Blanked-out Tracks */
.album-tracklist {
  list-style: none;
}

.track-row {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.025);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s ease;
}

.track-row:hover,
.track-row:focus-visible {
  background-color: rgba(255, 255, 255, 0.025);
  outline: none;
}

.track-index {
  position: relative;
  width: 32px;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.track-num {
  color: var(--text-dim);
  font-size: 0.78rem;
  transition: opacity 0.12s ease;
}

.track-play {
  position: absolute;
  left: 1px;
  font-size: 0.62rem;
  color: var(--text-muted);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease, color 0.12s ease;
}

/* Hover and focus reveal play glyph */
.track-row:hover .track-num,
.track-row:focus-visible .track-num {
  opacity: 0;
}

.track-row:hover .track-play,
.track-row:focus-visible .track-play {
  opacity: 1;
  color: var(--text-bright);
}

.track-row:active {
  background-color: rgba(255, 255, 255, 0.04);
}

/* Flat Charcoal Redactions (2A: Completely flat, 8px height, 0 radius, no inset shadow) */
.track-bar {
  display: inline-block;
  height: 8px;
  width: 140px;
  background: #202229;
  border-radius: 0;
  transition: background-color 0.15s ease;
}

.track-row:hover .track-bar {
  background: #272a33;
}

/* Withheld Streaming Duration */
.track-time {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #3b404d;
  flex-shrink: 0;
  width: 44px;
  text-align: right;
  letter-spacing: 0.05em;
  user-select: none;
  transition: color 0.15s ease;
}

.track-row:hover .track-time {
  color: var(--text-dim);
}

/* Screen Reader Only Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Quiet Streaming Playback Notice (Reluctant 150ms reveal) */
.playback-notice {
  margin-top: 1rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  animation: quickFade 0.15s ease-out;
}

/* Status Section: Raw Embedded Text (No Pill / Capsule Styling) */
.status-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.status-line {
  appearance: none;
  background: transparent;
  border: none;
  padding: 0.5rem 0;
  min-height: 44px; /* Mobile touch ergonomic target */
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.status-line:hover, .status-line:focus-visible {
  color: var(--text-primary);
  outline: none;
}

/* Subtle Breathing Pulse Dot (Amber strictly disciplined to living state) */
.pulse-dot {
  color: var(--amber-living);
  font-size: 0.65rem;
  animation: slowBreath 5s ease-in-out infinite;
}

@keyframes slowBreath {
  0%, 100% {
    opacity: 0.4;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.02);
  }
}

/* Status Drawer */
.status-drawer {
  margin-top: 0.25rem;
  padding-left: 0.25rem;
}

.status-subtext {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  animation: quickFade 0.15s ease-out;
}

@keyframes quickFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Mundane Footer */
.site-footer {
  margin-top: clamp(1rem, 1.5vh, 1.75rem);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
  .album-header {
    gap: 0.75rem;
  }

  .album-artwork-placeholder {
    width: 60px;
    height: 60px;
  }

  .album-title {
    font-size: 1.15rem;
  }

  .album-subtext {
    font-size: 0.72rem;
  }

  .tracklist-header {
    padding: 0.35rem 0.25rem 0.45rem;
  }

  .track-row {
    min-height: 44px;
    font-size: 0.78rem;
    padding: 0.35rem 0.25rem;
  }

  .track-index,
  .th-num {
    width: 26px;
  }

  .track-bar {
    width: 120px;
  }

  .track-time,
  .th-time {
    width: 36px;
    font-size: 0.7rem;
  }

  .status-line {
    font-size: 0.76rem;
  }

  .status-subtext {
    font-size: 0.75rem;
  }
}
