/* R3N3SS3NC3 — promo site styles */

:root {
  --bg: #0b0f0c;
  --bg-alt: #10160f;
  --ink: #ece6da;
  --ink-dim: #a9a89b;
  --line: #2a3229;
  --amber: #d9a066;
  --amber-bright: #f0b876;
  --glitch-cyan: #6ee7dd;
  --glitch-magenta: #e06e9c;
  --card: #131a13;
  --shadow: rgba(0, 0, 0, 0.5);
  --maxw: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  letter-spacing: 0.02em;
  margin: 0;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(11, 15, 12, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--ink);
}

.brand span {
  color: var(--amber);
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-dim);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--amber-bright);
}

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

.hero {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: flex-end;
  background: #000;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 12, 0.15) 0%, rgba(11, 15, 12, 0.4) 45%, var(--bg) 96%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 64px 24px 56px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-bright);
  border: 1px solid var(--amber);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 0.98;
  font-weight: 700;
  position: relative;
  color: var(--ink);
  text-shadow: 0 0 40px rgba(217, 160, 102, 0.25);
}

.hero h1 .glitch {
  position: relative;
  display: inline-block;
}

.hero h1 .glitch::before,
.hero h1 .glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  overflow: hidden;
  clip-path: inset(0 0 0 0);
}

.hero h1 .glitch {
  animation: glitch-jitter 3.2s infinite ease-in-out;
}

.hero h1 .glitch::before {
  color: var(--glitch-cyan);
  animation: glitch-shift-cyan 3.2s infinite ease-in-out;
  mix-blend-mode: screen;
}

.hero h1 .glitch::after {
  color: var(--glitch-magenta);
  animation: glitch-shift-magenta 3.2s infinite ease-in-out;
  mix-blend-mode: screen;
}

@keyframes glitch-jitter {
  0%, 84%, 100% { transform: translate(0, 0); }
  85% { transform: translate(-4px, 2px); }
  86.5% { transform: translate(3px, -2px); }
  88% { transform: translate(-3px, 0); }
  89.5% { transform: translate(2px, 1px); }
  91% { transform: translate(0, 0); }
}

@keyframes glitch-shift-cyan {
  0%, 84%, 100% { transform: translate(0, 0); opacity: 0; clip-path: inset(0 0 100% 0); }
  85% { transform: translate(-7px, 3px); opacity: 0.95; clip-path: inset(10% 0 55% 0); }
  86.5% { transform: translate(6px, -3px); opacity: 0.85; clip-path: inset(50% 0 15% 0); }
  88% { transform: translate(-5px, 1px); opacity: 0.9; clip-path: inset(25% 0 45% 0); }
  89.5% { transform: translate(5px, -1px); opacity: 0.75; clip-path: inset(60% 0 5% 0); }
  91% { opacity: 0; }
}

@keyframes glitch-shift-magenta {
  0%, 84%, 100% { transform: translate(0, 0); opacity: 0; clip-path: inset(0 0 100% 0); }
  85% { transform: translate(7px, -3px); opacity: 0.95; clip-path: inset(55% 0 10% 0); }
  86.5% { transform: translate(-6px, 3px); opacity: 0.85; clip-path: inset(15% 0 50% 0); }
  88% { transform: translate(5px, -1px); opacity: 0.9; clip-path: inset(45% 0 25% 0); }
  89.5% { transform: translate(-5px, 1px); opacity: 0.75; clip-path: inset(5% 0 60% 0); }
  91% { opacity: 0; }
}

.hero-subtitle {
  margin: 14px 0 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--amber);
  text-transform: uppercase;
}

.hero-sub {
  margin-top: 20px;
  max-width: 620px;
  color: var(--ink-dim);
  font-size: 1.05rem;
}

.hero-sub strong {
  color: var(--amber-bright);
  font-weight: 600;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
}

/* Big, unmistakable "play the record" call to action */
.btn-play-hero {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 30px 16px 22px;
  border-radius: 999px;
  border: none;
  background: var(--amber);
  color: #1a1206;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(217, 160, 102, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-play-hero:hover {
  background: var(--amber-bright);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(217, 160, 102, 0.45);
}

.btn-play-hero .play-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1a1206;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-play-hero .icon-play,
.btn-play-hero .icon-pause {
  position: static;
  display: flex;
  color: var(--amber-bright);
}

.btn-play-hero .icon-pause {
  display: none;
}

.btn-play-hero.is-playing .icon-play {
  display: none;
}

.btn-play-hero.is-playing .icon-pause {
  display: flex;
}

.cta-hint {
  color: var(--ink-dim);
  font-size: 0.85rem;
}

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

.about {
  padding: 88px 0 64px;
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.section-label {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
  display: block;
}

.about h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 20px;
}

.about p {
  color: var(--ink-dim);
  margin: 0 0 16px;
}

.about-cover {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px var(--shadow);
}

.stat-row {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.stat {
  min-width: 110px;
}

.stat .num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  color: var(--amber-bright);
  font-weight: 700;
}

.stat .label {
  font-size: 0.8rem;
  color: var(--ink-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Tracklist ---------- */

.tracks {
  padding: 72px 0 100px;
}

.tracks-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}

.tracks h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.tracks-hint {
  color: var(--ink-dim);
  font-size: 0.88rem;
}

#tracklist {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.track-row {
  display: grid;
  grid-template-columns: 28px 56px 56px 1fr;
  align-items: center;
  gap: 16px;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  border-radius: 8px;
  transition: background 0.2s ease;
}

.track-row:hover {
  background: var(--card);
}

.track-row.active {
  background: #171f16;
}

.track-row.active .track-title {
  color: var(--amber-bright);
}

.track-num {
  color: var(--ink-dim);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.track-row.active .track-num {
  color: var(--amber);
}

/* Always-visible, filled play button — the primary streaming affordance */
.track-play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--amber);
  color: #1a1206;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(217, 160, 102, 0.25);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.track-row:hover .track-play {
  transform: scale(1.06);
  box-shadow: 0 8px 22px rgba(217, 160, 102, 0.4);
}

.track-play:active {
  transform: scale(0.97);
}

.track-row.playing .track-play {
  background: var(--amber-bright);
}

.icon-play,
.icon-pause {
  display: flex;
  align-items: center;
  justify-content: center;
}

.track-play .icon-pause {
  display: none;
}

.track-row.playing .track-play .icon-play {
  display: none;
}

.track-row.playing .track-play .icon-pause {
  display: flex;
}

.icon-play::before {
  content: "";
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent currentColor;
  margin-left: 2px;
}

.icon-pause::before {
  content: "";
  width: 11px;
  height: 13px;
  border-left: 4px solid currentColor;
  border-right: 4px solid currentColor;
}

.track-cover {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.track-title {
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
}

/* ---------- Sticky player ---------- */

.player-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -90px;
  height: 84px;
  background: rgba(16, 22, 15, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  z-index: 100;
  transition: bottom 0.3s ease;
}

.player-bar.visible {
  bottom: 0;
}

.player-track-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  width: 220px;
  flex-shrink: 0;
}

.player-track-info img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.player-track-text {
  min-width: 0;
}

#player-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#player-index {
  font-size: 0.75rem;
  color: var(--ink-dim);
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.player-controls button {
  background: transparent;
  border: none;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.player-controls button:hover {
  color: var(--amber-bright);
}

#player-play {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--amber);
  color: var(--amber-bright);
}

#player-play .icon-play,
#player-play .icon-pause {
  position: static;
  display: flex;
}

#player-play .icon-pause {
  display: none;
}

#player-play.is-playing .icon-play {
  display: none;
}

#player-play.is-playing .icon-pause {
  display: flex;
}

.icon-prev::before,
.icon-next::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.icon-prev::before {
  border-right: 9px solid currentColor;
}

.icon-next::before {
  border-left: 9px solid currentColor;
}

.player-progress {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.player-progress span {
  font-size: 0.75rem;
  color: var(--ink-dim);
  width: 38px;
  text-align: center;
  flex-shrink: 0;
}

#player-seek {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  outline: none;
}

#player-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--amber-bright);
  cursor: pointer;
  margin-top: -4.5px;
}

#player-seek::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: none;
  border-radius: 50%;
  background: var(--amber-bright);
  cursor: pointer;
}

#player-seek::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: var(--line);
}

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 120px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-meta {
  color: var(--ink-dim);
  font-size: 0.82rem;
  line-height: 1.7;
}

.footer-meta strong {
  color: var(--ink);
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--amber);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  transition: color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.footer-link:hover {
  color: var(--amber-bright);
  border-color: var(--amber);
}

.footer-link svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-cover {
    order: -1;
  }

  .track-row {
    grid-template-columns: 22px 46px 46px 1fr;
    gap: 12px;
  }

  .track-play {
    width: 44px;
    height: 44px;
  }

  .player-track-info {
    width: auto;
    flex: 1;
  }

  .player-progress span {
    display: none;
  }

  .nav-links {
    display: none;
  }
}
