:root {
  --bg: #09090b;
  --bg-alt: #121218;
  --text: #f4f4f5;
  --muted: #b0b0bb;
  --primary: #f43f5e;
  --primary-dark: #be123c;
  --border: #24242d;
}

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

html,
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Teko", system-ui, -apple-system, sans-serif;
  scroll-behavior: smooth;
  letter-spacing: 0.02em;
  font-size: 22px;
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(6px);
  background: rgba(9, 9, 11, 0.85);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.1em;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.site-nav {
  display: flex;
  gap: 1.4rem;
  margin-left: auto;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
}

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

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

.hero {
  min-height: 80vh;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #09090b;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(8, 8, 12, 0.45), rgba(8, 8, 12, 0.72));
  z-index: 2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1100ms ease;
  z-index: 1;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-logo {
  width: min(560px, 88vw);
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.65));
}

.hero-logo.glitch {
  animation: logoGlitch 120ms steps(2, end) 4;
}

@keyframes logoGlitch {
  0% {
    transform: translate(0, 0);
    filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.65));
    opacity: 1;
  }
  12% {
    transform: translate(-7px, 2px) skewX(8deg);
    filter: drop-shadow(-4px 0 #00e5ff) drop-shadow(4px 0 #ff2965)
      drop-shadow(0 -2px #a855f7);
    opacity: 0.7;
  }
  24% {
    transform: translate(8px, -3px) skewX(-10deg);
    filter: drop-shadow(5px 0 #ff2965) drop-shadow(-5px 0 #00e5ff)
      drop-shadow(0 2px #a855f7);
    opacity: 0.9;
  }
  40% {
    transform: translate(-3px, 3px) scaleX(1.03);
    filter: drop-shadow(-3px 0 #00e5ff) drop-shadow(3px 0 #ff2965);
    opacity: 0.65;
  }
  56% {
    transform: translate(5px, -2px) scaleX(0.98);
    filter: drop-shadow(4px 0 #ff2965) drop-shadow(-4px 0 #00e5ff);
    opacity: 0.95;
  }
  74% {
    transform: translate(-2px, 1px);
    filter: drop-shadow(-2px 0 #00e5ff) drop-shadow(2px 0 #ff2965);
  }
  100% {
    transform: translate(0, 0);
    filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.65));
    opacity: 1;
  }
}

.section {
  padding: 4.5rem 0;
}

.section .container {
  text-align: center;
}

.section-alt {
  background: var(--bg-alt);
}

.story-section {
  background: linear-gradient(180deg, #08080b 0%, #111118 100%);
  padding: 0;
}

.story-wrap {
  min-height: 320vh;
  position: relative;
}

.story-stage {
  position: sticky;
  top: 88px;
  min-height: calc(100vh - 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

.story-stage h3 {
  font-size: clamp(1.8rem, 4.6vw, 3rem);
  margin-bottom: 1.2rem;
  text-align: center;
}

.story-fixed-title {
  font-size: clamp(1.45rem, 2.7vw, 1.9rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.story-visual {
  width: min(860px, 92vw);
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: #09090b;
  transition: transform 380ms ease, background 380ms ease;
}

.story-visual iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.story-visual.phase-2 {
  transform: scale(1.015);
}

.story-visual.phase-3 {
  transform: scale(1.03);
}

.scroll-cue {
  margin-top: 1rem;
  min-height: 68px;
  display: grid;
  place-items: center;
  row-gap: 0.3rem;
}

.scroll-arrow {
  width: 18px;
  height: 18px;
  border-right: 3px solid var(--muted);
  border-bottom: 3px solid var(--muted);
  transform: rotate(45deg);
  animation: arrowPulse 1.4s infinite ease-in-out;
}

.scroll-arrow.second {
  margin-top: -6px;
  animation-delay: 0.2s;
}

.scroll-text {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.2rem;
}

@keyframes arrowPulse {
  0% {
    transform: translateY(-4px) rotate(45deg);
    opacity: 0.35;
  }
  50% {
    transform: translateY(4px) rotate(45deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-4px) rotate(45deg);
    opacity: 0.35;
  }
}

.story-markers {
  padding-top: 32vh;
  display: grid;
  gap: 64vh;
}

.story-marker {
  height: 40vh;
}

.story-end-link {
  text-align: center;
  padding: 0 0 4.5rem;
  color: var(--muted);
}

.story-end-link a {
  color: var(--text);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
}

.section-intro {
  color: var(--muted);
  margin: 0.8rem 0 1.8rem;
  font-size: 1.05rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: #111118;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
}

.video-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.social-card {
  text-decoration: none;
  color: var(--text);
  transition: transform 260ms ease, border-color 260ms ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.social-card p {
  color: var(--muted);
  margin-top: 0.5rem;
}

.social-card.icon-only {
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.platform-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  margin-bottom: 0.7rem;
}

.social-card.icon-only .platform-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 0;
}

.platform-icon.small {
  width: 20px;
  height: 20px;
  margin-bottom: 0;
}

.social-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.also-available {
  margin-top: 1.4rem;
}

.platform-links {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: center;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  background: #101018;
  font-size: 0.95rem;
}

.platform-pill:hover {
  border-color: var(--primary);
}

.embed-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.embed-wrap iframe,
.spotify-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}

.shows-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.show-item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 1rem;
  align-items: center;
  background: #0f0f15;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem 1rem;
}

.date {
  font-weight: 700;
}

.venue {
  color: var(--muted);
}

.show-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.spotify-card {
  padding: 0.6rem;
}

.spotify-card iframe {
  min-height: 352px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.4rem 0;
}

.footer-wrap {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: center;
}

.site-footer a {
  color: var(--text);
}

.socials {
  display: flex;
  gap: 1rem;
  justify-content: center;
  width: 100%;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.99);
  transition: opacity 520ms ease, transform 520ms ease;
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 900px) {
  .story-wrap {
    min-height: auto;
  }

  .story-stage {
    position: relative;
    top: 0;
    min-height: auto;
    padding: 4rem 0 0;
  }

  .story-markers {
    display: none;
  }

  .grid.three,
  .grid.four {
    grid-template-columns: 1fr;
  }

  .show-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

@media (max-width: 700px) {
  .menu-toggle {
    display: inline-block;
    margin-right: auto;
  }

  .site-nav {
    position: absolute;
    right: 4%;
    top: 70px;
    width: min(260px, 92vw);
    background: #111118;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.8rem;
    display: none;
    flex-direction: column;
  }

  .site-nav.open {
    display: flex;
  }
}
