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

:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --amber: #e8a317;
  --amber-dim: rgba(232, 163, 23, 0.15);
  --amber-glow: rgba(232, 163, 23, 0.08);
  --cream: #f5f0e8;
  --gray: #6a6a6a;
  --gray-light: #9a9a9a;
  --border: rgba(255,255,255,0.06);
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 8rem 4rem 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.waveform-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 300px;
  opacity: 0.4;
}

#waveCanvas {
  width: 100%;
  height: 100%;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 80%, rgba(232, 163, 23, 0.04) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(232, 163, 23, 0.02) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.hero-lede {
  font-size: 1.2rem;
  color: var(--gray-light);
  max-width: 560px;
  line-height: 1.7;
  font-weight: 300;
}

.hero-waveform-mobile {
  display: none;
  align-items: flex-end;
  gap: 4px;
  margin-top: 2rem;
  height: 60px;
}

.wf-bar {
  flex: 1;
  background: var(--amber);
  border-radius: 2px;
  opacity: 0.6;
  animation: waveAnim 1.2s ease-in-out infinite;
}
.wf-bar:nth-child(2n) { animation-delay: 0.15s; }
.wf-bar:nth-child(3n) { animation-delay: 0.3s; }
.wf-bar:nth-child(4n) { animation-delay: 0.45s; }

@keyframes waveAnim {
  0%, 100% { height: 20%; }
  50% { height: 80%; }
}

.hero-meta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 4rem;
  font-size: 0.8rem;
  color: var(--gray);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.5;
}

/* === PHILOSOPHY === */
.philosophy {
  padding: 8rem 4rem;
  border-top: 1px solid var(--border);
}

.philosophy-inner {
  max-width: 720px;
  margin: 0 auto;
}

.philosophy-label, .studio-label, .voice-label, .repertoire-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.5rem;
}

.philosophy-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--cream);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.philosophy-body {
  font-size: 1rem;
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.philosophy-rule {
  width: 40px;
  height: 1px;
  background: var(--amber);
  margin: 3rem 0;
  opacity: 0.5;
}

.philosophy-stat-row {
  display: flex;
  gap: 3rem;
}

.philosophy-stat {}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* === STUDIO === */
.studio {
  padding: 8rem 4rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.studio-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* Console mock */
.console-mock {
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.console-header {
  background: #151515;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.console-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.console-dot.red { background: #ff5f57; }
.console-dot.yellow { background: #febc2e; }
.console-dot.green { background: #28c840; }

.console-label {
  font-size: 0.65rem;
  color: var(--gray);
  margin-left: 0.5rem;
  letter-spacing: 0.05em;
}

.console-body {
  padding: 1.5rem;
}

.track-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.track-label {
  font-size: 0.6rem;
  color: var(--amber);
  letter-spacing: 0.1em;
  width: 40px;
  font-weight: 500;
}

.track-wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  flex: 1;
  height: 36px;
}

.t-bar {
  flex: 1;
  background: var(--amber);
  border-radius: 1px;
  opacity: 0.7;
  min-height: 4px;
}

.track-wave.bass .t-bar { background: rgba(232, 163, 23, 0.4); }
.track-wave.drums .t-bar { background: rgba(232, 163, 23, 0.25); }

.meter-row {
  display: flex;
  gap: 4px;
  margin-top: 1rem;
  align-items: flex-end;
  height: 40px;
}

.meter {
  flex: 1;
  height: 100%;
  background: rgba(255,255,255,0.04);
  border-radius: 2px;
  display: flex;
  align-items: flex-end;
}

.meter-fill {
  width: 100%;
  background: linear-gradient(to top, var(--amber), rgba(232, 163, 23, 0.3));
  border-radius: 2px;
  opacity: 0.8;
}

.studio-text {}

.studio-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.studio-body {
  font-size: 1rem;
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-weight: 300;
}

.studio-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.studio-features li {
  font-size: 0.875rem;
  color: var(--gray-light);
  padding-left: 1.2rem;
  position: relative;
}

.studio-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 1px;
  background: var(--amber);
}

/* === VOICE === */
.voice {
  padding: 8rem 4rem;
  border-top: 1px solid var(--border);
}

.voice-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.voice-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.voice-body {
  font-size: 1rem;
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.voice-flow {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.flow-step {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
}

.flow-icon {
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.flow-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.25rem;
}

.flow-desc {
  font-size: 0.7rem;
  color: var(--gray);
  line-height: 1.4;
}

.flow-arrow {
  color: var(--amber);
  opacity: 0.5;
  flex-shrink: 0;
}

/* Spectrogram */
.voice-visual {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.voice-spectrogram {
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 1rem;
}

.spec-row {
  display: flex;
  gap: 3px;
  margin-bottom: 4px;
}

.spec-bar {
  flex: 1;
  background: var(--amber);
  border-radius: 1px;
  min-height: 4px;
}

.voice-script {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.script-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

.script-text p {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.script-text p:last-child { margin-bottom: 0; }

/* === REPERTOIRE === */
.repertoire {
  padding: 8rem 4rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

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

.repertoire-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.repertoire-body {
  font-size: 1rem;
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 3rem;
  font-weight: 300;
  max-width: 680px;
}

.era-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.era-card {
  background: var(--bg);
  padding: 2rem;
}

.era-card.featured {
  background: var(--amber-dim);
}

.era-era {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.era-genres {
  font-size: 0.8rem;
  color: var(--gray-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.era-note {
  font-size: 0.72rem;
  color: var(--amber);
  font-style: italic;
}

/* === CLOSING === */
.closing {
  padding: 10rem 4rem;
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 720px;
  margin: 0 auto;
}

.closing-rule {
  width: 40px;
  height: 1px;
  background: var(--amber);
  margin-bottom: 3rem;
  opacity: 0.5;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 2rem;
}

.closing-body {
  font-size: 1.1rem;
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.closing-tagline {
  margin-top: 4rem;
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
}

.tagline-word {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--cream);
  line-height: 1;
}

.tagline-word:nth-child(2) {
  color: var(--amber);
}

/* === FOOTER === */
.footer {
  padding: 4rem;
  border-top: 1px solid var(--border);
}

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

.footer-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cream);
}

.footer-tagline {
  font-size: 0.7rem;
  color: var(--gray);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.footer-meta {
  font-size: 0.8rem;
  color: var(--gray);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--gray);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero, .philosophy, .studio, .voice, .repertoire, .closing, .footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .hero { padding-top: 6rem; }

  .studio-inner,
  .voice-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .console-mock { display: none; }
  .studio-visual { display: none; }

  .era-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-stat-row {
    gap: 2rem;
  }

  .voice-flow {
    flex-direction: column;
    align-items: stretch;
  }

  .flow-arrow { transform: rotate(90deg); }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-waveform-mobile { display: flex; }
}