:root {
  --primary: #6d28d9;
  --secondary: #c084fc;
  --accent: #f59e0b;
  --bg: #0b0b0b;
  --surface: #161616;
  --text: #ffffff;
  --muted: #a1a1aa;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
}

::selection {
  background: rgba(109, 40, 217, 0.55);
  color: #fff;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 80;
  border-radius: 999px;
  background: var(--accent);
  color: #111;
  padding: 0.5rem 1rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* Film grain + vignette */
.page-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Sticky nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(11, 11, 11, 0.78);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  background: linear-gradient(145deg, #7c3aed, #4c1d95);
  box-shadow: 0 0 24px rgba(109, 40, 217, 0.45);
}

.nav-link {
  position: relative;
  color: #d4d4d8;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: #fff;
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.4rem;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

/* Hero concert stage */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 500px at 50% 115%, rgba(109, 40, 217, 0.28), transparent 55%),
    radial-gradient(800px 400px at 15% 10%, rgba(192, 132, 252, 0.16), transparent 50%),
    radial-gradient(700px 380px at 90% 0%, rgba(245, 158, 11, 0.12), transparent 46%),
    #070707;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  animation: grid-drift 28s linear infinite;
}

.spot {
  position: absolute;
  width: 42vw;
  max-width: 34rem;
  height: 90vh;
  opacity: 0.45;
  filter: blur(8px);
  mix-blend-mode: screen;
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
  animation: spot-pulse 6.5s ease-in-out infinite;
}

.spot-l {
  left: 8%;
  top: -10%;
  background: linear-gradient(180deg, rgba(192, 132, 252, 0.55), transparent 70%);
}

.spot-r {
  right: 6%;
  top: -12%;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.38), transparent 72%);
  animation-delay: -2.2s;
}

.spot-c {
  left: 50%;
  top: -18%;
  width: 28vw;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(109, 40, 217, 0.7), transparent 74%);
  animation-delay: -4s;
}

.eq-bar {
  width: 4px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--accent), var(--secondary));
  transform-origin: bottom;
  animation: eq 1.1s ease-in-out infinite;
}

.hero-kicker {
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
}

.hero-title {
  font-family: Syne, sans-serif;
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.hero-title .word {
  display: inline-block;
  overflow: hidden;
}

.hero-title .word span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.section-kicker {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.section-title {
  font-family: Syne, sans-serif;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.gold-rule {
  width: 4rem;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: none;
}

.reveal.is-in {
  animation: fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.stagger > .reveal.is-in:nth-child(1) { animation-delay: 0.05s; }
.stagger > .reveal.is-in:nth-child(2) { animation-delay: 0.12s; }
.stagger > .reveal.is-in:nth-child(3) { animation-delay: 0.19s; }
.stagger > .reveal.is-in:nth-child(4) { animation-delay: 0.26s; }
.stagger > .reveal.is-in:nth-child(5) { animation-delay: 0.33s; }
.stagger > .reveal.is-in:nth-child(6) { animation-delay: 0.4s; }

.icon-tile {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  background: linear-gradient(160deg, rgba(109, 40, 217, 0.35), rgba(245, 158, 11, 0.12));
  border: 1px solid rgba(192, 132, 252, 0.25);
}

.lift-card {
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.lift-card:hover {
  transform: translateY(-6px);
  border-color: rgba(192, 132, 252, 0.45);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), 0 0 30px rgba(109, 40, 217, 0.18);
}

.video-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 16 / 9;
  background: #111;
}

.video-thumb iframe,
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-badge {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.45));
}

.masonry {
  columns: 1;
  column-gap: 1rem;
}

@media (min-width: 640px) {
  .masonry {
    columns: 2;
  }
}

@media (min-width: 1024px) {
  .masonry {
    columns: 3;
  }
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
}

.masonry-item img,
.masonry-item svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
}

.filter-btn[aria-pressed="true"] {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
}

.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(7, 7, 7, 0.96);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-panel.is-open {
  transform: translateX(0);
}

.form-field {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.18);
}

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 200px at 10% 50%, rgba(109, 40, 217, 0.45), transparent 60%),
    radial-gradient(500px 200px at 90% 80%, rgba(245, 158, 11, 0.2), transparent 55%),
    #12081f;
}

.member-photo {
  aspect-ratio: 3 / 4;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #111;
}

.avatar-svg {
  width: 100%;
  height: 100%;
}

@keyframes rise {
  to {
    transform: translateY(0);
  }
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spot-pulse {
  0%,
  100% {
    opacity: 0.32;
  }
  50% {
    opacity: 0.58;
  }
}

@keyframes grid-drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(72px);
  }
}

@keyframes eq {
  0%,
  100% {
    transform: scaleY(0.35);
  }
  50% {
    transform: scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-title .word span,
  .spot,
  .hero-stage::before,
  .eq-bar {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
