/* einvaal.com – values copied from the design spec (Main.dc.html) */

:root {
  --accent: #FF5A1F;          /* alternatives tried: #E8FF3A, #B26BFF, #36E0C8 */
  --bg: #07080A;
  --panel: #0C0D10;
  --line: #1C1E22;
  --line-2: #23262B;
  --line-strong: #3A3D43;
  --text: #E9E4DA;
  --text-soft: #C9C5BC;
  --text-softer: #A9AAAE;
  --muted: #8D8F94;
  --cold: #6E8C99;

  --font-display: 'Major Mono Display', monospace;
  --font-mono: 'IBM Plex Mono', monospace;
  --font-body: 'Inter Tight', system-ui, sans-serif;
}

body { margin: 0; background: var(--bg); }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.page {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow: hidden;
}

.accent { color: var(--accent); }

/* ---------- Header ---------- */

.site-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.wordmark,
.wordmark:hover {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--text);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.main-nav a { padding: 12px 0; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 32px 120px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}
.hero-copy {
  flex: 999 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  z-index: 1;
}
.eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 10vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: var(--text);
}
.slogan {
  margin: 0;
  max-width: 620px;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.35;
  font-weight: 300;
  color: var(--text);
}
.tagline {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
}
.tagline svg { flex: none; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 28px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.btn-primary,
.btn-primary:hover {
  gap: 12px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 500;
}
.btn-outline { border: 1px solid var(--line-strong); }

.scope-wrap {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  justify-content: center;
}
.scope { width: 100%; max-width: 460px; height: auto; }

/* ---------- Void Radio ---------- */

.radio {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.radio-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}
.radio-intro {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.on-air {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.on-air-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  animation: ev-pulse 1.6s ease-in-out infinite;
}
.radio-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1;
}
.radio-desc { margin: 0; max-width: 460px; color: var(--text-softer); }

.player {
  flex: 1 1 520px;
  min-width: 0;
  border: 1px solid var(--line-2);
  background: var(--bg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.player-row { display: flex; align-items: center; gap: 24px; }
.play-btn {
  flex: none;
  width: 72px;
  height: 72px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.play-btn .icon-pause { display: none; }
.player.is-on .play-btn { background: var(--accent); color: var(--bg); }
.player.is-on .play-btn .icon-play { display: none; }
.player.is-on .play-btn .icon-pause { display: block; }

.now-playing { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.np-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.np-title { font-size: 20px; font-weight: 500; overflow-wrap: anywhere; }
.np-url { font-family: var(--font-mono); font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }

.levels { height: 64px; display: flex; align-items: flex-end; gap: 3px; }
.levels > div { flex: 1 1 0; min-width: 2px; }
.player-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}
.stream-link,
.stream-link:hover { color: var(--text); border-bottom: 1px solid var(--line-strong); }

/* ---------- Section headings (Listen, Archive) ---------- */

.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: baseline;
}
.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
}
.section-note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Listen elsewhere ---------- */

.listen {
  max-width: 1280px;
  margin: 0 auto;
  padding: 112px 32px 96px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.tile {
  background: var(--bg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  min-height: 220px;
}
.tile-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; color: var(--accent); }
.tile-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.tile-text { display: flex; flex-direction: column; gap: 6px; }
.tile-name { font-size: 28px; font-weight: 500; }
.tile-desc { color: var(--muted); font-size: 15px; }
.tile-arrow { flex: none; transition: transform .2s ease; }
.tile:hover .tile-arrow { transform: translateX(6px); }

/* ---------- From the vault ---------- */

.archive {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 32px 112px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.tracks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tracks li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.t-n { width: 48px; font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.t-title { flex: 1 1 280px; min-width: 0; font-size: 20px; }
.t-meta { flex: 0 1 260px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.t-len { width: 64px; text-align: right; font-family: var(--font-mono); font-size: 13px; color: var(--muted); }

/* ---------- About ---------- */

.about { border-top: 1px solid var(--line); }
.about-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 112px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px 96px;
}
.about-title {
  flex: 1 1 280px;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
}
.about-body {
  flex: 2 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 19px;
  font-weight: 300;
  color: var(--text-soft);
}
.about-body p { margin: 0; }
.about-body .contact {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px; }

/* ---------- Motion ---------- */

@keyframes ev-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes ev-bar { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.ev-bar { transform-origin: bottom; animation: ev-bar 1.4s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .on-air-dot, .ev-bar { animation: none; }
  .tile-arrow { transition: none; }
}
