/* =========================================================
   PRISM COLLECTIVE — stylesheet
   Neon / glitch / chromatic-aberration electronic music label
   ========================================================= */

:root {
  --bg: #07070a;
  --bg-alt: #0d0d12;
  --panel: #101015;
  --ink: #f3f1f5;
  --ink-dim: #9a97a6;
  --magenta: #ff2bd6;
  --cyan: #14f1ff;
  --acid: #c9ff1f;
  --violet: #7c4dff;
  --line: rgba(243, 241, 245, 0.14);

  --f-display: "Unbounded", sans-serif;
  --f-mono: "JetBrains Mono", monospace;

  --ease-snap: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-fast: cubic-bezier(0.22, 1, 0.36, 1);

  --edge: clamp(20px, 5vw, 64px);
}

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

html {
  background: var(--bg);
  scroll-behavior: auto;
  scroll-padding-top: 88px;
}

html.lenis-smooth { scroll-behavior: auto; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 15px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: default;
}

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

a { color: inherit; text-decoration: none; }

::selection { background: var(--magenta); color: #07070a; }

.mono { font-family: var(--f-mono); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--acid);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--acid);
  display: inline-block;
}

.container {
  width: 100%;
  padding: 0 var(--edge);
}

/* -------------------------------------------------
   Shader / noise background canvas
------------------------------------------------- */
#gl-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,5,8,0.55) 0%, rgba(5,5,8,0.18) 14%, rgba(5,5,8,0.22) 86%, rgba(5,5,8,0.6) 100%),
    rgba(5, 5, 8, 0.22);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* -------------------------------------------------
   Nav
------------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--edge);
  background: rgba(7, 7, 10, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-mark {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.nav-mark span { color: var(--acid); }

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-snap);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
  display: none;
  width: 26px;
  height: 18px;
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 200;
}
.nav-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-snap), opacity 0.3s;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 8px; }
.nav-toggle span:nth-child(3) { top: 16px; }
.nav-toggle.is-open span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

/* -------------------------------------------------
   Sections generic
------------------------------------------------- */
section {
  position: relative;
  z-index: 2;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.section-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(38px, 6.5vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.section-num {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: 0.1em;
}

/* -------------------------------------------------
   Hero
------------------------------------------------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 140px var(--edge) 64px;
  position: relative;
}

.hero-top {
  position: absolute;
  top: 120px;
  left: var(--edge);
  right: var(--edge);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.hero-top .eyebrow { }

.hero-coords {
  font-size: 11px;
  color: var(--ink-dim);
  text-align: right;
  letter-spacing: 0.08em;
  line-height: 1.7;
}

.wordmark {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.82;
  letter-spacing: -0.015em;
  font-size: clamp(48px, 15vw, 220px);
  position: relative;
  width: 100%;
}

.wordmark .row { display: block; overflow: hidden; width: 100%; }
.wordmark .row-inner {
  display: block;
  will-change: transform;
  white-space: nowrap;
  transform-origin: left center;
}

.wordmark .row.row-2 .row-inner {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

.glitch-wrap {
  position: relative;
  display: inline-block;
}
.glitch-wrap[data-glitch] {
  position: relative;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 36px;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-tagline {
  max-width: 460px;
  font-size: 15px;
  color: var(--ink-dim);
  line-height: 1.6;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  padding: 14px 22px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}
.hero-cta:hover { border-color: var(--acid); }
.hero-cta .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 10px var(--acid);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-cue .bar {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--acid), transparent);
}

/* -------------------------------------------------
   Marquee ticker
------------------------------------------------- */
.marquee-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.015);
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  will-change: transform;
}
.marquee-track span {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(22px, 3.4vw, 40px);
  text-transform: uppercase;
  padding: 0 28px;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink-dim);
}
.marquee-track span.hot {
  color: var(--magenta);
  -webkit-text-stroke: 0;
}
.marquee-track .sep { color: var(--acid); -webkit-text-stroke: 0; font-weight: 400; }

/* -------------------------------------------------
   Roster
------------------------------------------------- */
.roster {
  padding: 140px var(--edge) 100px;
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}

.artist-card {
  position: relative;
  background: var(--bg-alt);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  cursor: pointer;
}
.artist-card .img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.artist-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.55) contrast(1.15) brightness(0.75);
  transform: scale(1.08);
  transition: transform 0.7s var(--ease-out-fast), filter 0.5s;
}
.artist-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,7,10,0) 40%, rgba(7,7,10,0.92) 100%);
  z-index: 2;
}
.artist-card .layer-r,
.artist-card .layer-b {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 0.4s, transform 0.6s var(--ease-out-fast);
}
.artist-card .layer-r { filter: sepia(1) saturate(6) hue-rotate(280deg); }
.artist-card .layer-b { filter: sepia(1) saturate(6) hue-rotate(140deg); }

.artist-card:hover img { transform: scale(1.14); filter: grayscale(0.1) contrast(1.1) brightness(0.85); }
.artist-card:hover .layer-r { opacity: 0.5; transform: translate(4px, 0); }
.artist-card:hover .layer-b { opacity: 0.5; transform: translate(-4px, 0); }

.artist-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.artist-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  line-height: 1;
}
.artist-genre {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acid);
}
.artist-idx {
  position: absolute;
  top: 18px; left: 20px;
  z-index: 3;
  font-size: 11px;
  color: var(--ink-dim);
}

/* -------------------------------------------------
   Events
------------------------------------------------- */
.events {
  padding: 100px var(--edge);
  position: relative;
}
.events-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.events-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: contrast(1.2) saturate(1.3);
}
.events-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(7,7,10,0.55) 30%, var(--bg) 100%);
}
.events-inner { position: relative; z-index: 2; }

.event-row {
  display: grid;
  grid-template-columns: 90px 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.event-row:first-of-type { border-top: 1px solid var(--line); }

.event-date {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--acid);
  letter-spacing: 0.05em;
}
.event-date .day { font-size: 30px; font-family: var(--f-display); color: var(--ink); display: block; line-height: 1; }

.event-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(20px, 3vw, 34px);
  text-transform: uppercase;
  transition: transform 0.4s var(--ease-out-fast), color 0.4s;
}
.event-row:hover .event-name { transform: translateX(10px); color: var(--magenta); }

.event-loc {
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
}
.event-status {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 7px 14px;
  white-space: nowrap;
}
.event-status.low { color: var(--acid); border-color: var(--acid); }
.event-status.gone { color: var(--ink-dim); }

/* -------------------------------------------------
   Sound
------------------------------------------------- */
.sound {
  padding: 140px var(--edge);
}
.sound-visual {
  position: relative;
  border: 1px solid var(--line);
  height: clamp(260px, 40vw, 420px);
  margin-bottom: 60px;
  overflow: hidden;
  background: var(--bg-alt);
}
#wave-canvas { width: 100%; height: 100%; display: block; }
.sound-visual-label {
  position: absolute;
  top: 18px; left: 20px;
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 0.1em;
  z-index: 3;
}
.sound-visual-label .rec {
  color: var(--magenta);
}
.sound-visual-label .rec::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--magenta);
  margin-right: 6px;
  box-shadow: 0 0 8px var(--magenta);
  animation: pulse-dot 1.4s infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }

.release-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.release-card {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
}
.release-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-fast);
}
.release-card:hover img { transform: scale(1.08) rotate(0.5deg); }
.release-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(180deg, transparent, rgba(7,7,10,0.95));
}
.release-title { font-family: var(--f-display); font-size: 14px; text-transform: uppercase; font-weight: 700; }
.release-sub { font-size: 10px; color: var(--ink-dim); letter-spacing: 0.06em; }
.release-play {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--ink);
  backdrop-filter: blur(6px);
  background: rgba(7,7,10,0.4);
}

/* -------------------------------------------------
   About
------------------------------------------------- */
.about {
  padding: 140px var(--edge);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.about-copy p {
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.5;
  font-family: var(--f-mono);
  color: var(--ink);
  letter-spacing: -0.01em;
}
.about-copy p + p { margin-top: 22px; color: var(--ink-dim); font-size: 14px; line-height: 1.8; }

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 44px;
}
.stat b {
  font-family: var(--f-display);
  font-size: 40px;
  display: block;
  color: var(--cyan);
}
.stat span {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.about-visual {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border: 1px solid var(--line);
}
.about-visual img {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.15) saturate(1.2);
}
.about-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,43,214,0.18), rgba(20,241,255,0.12) 60%);
  mix-blend-mode: screen;
}

/* -------------------------------------------------
   Contact
------------------------------------------------- */
.contact {
  padding: 120px var(--edge) 100px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.contact .eyebrow { justify-content: center; }
.contact .eyebrow::before { display: none; }
.contact-title {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(38px, 8vw, 110px);
  line-height: 0.92;
  margin: 26px 0 40px;
}
.contact-email {
  font-size: clamp(16px, 2.4vw, 22px);
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  display: inline-block;
  position: relative;
}
.contact-email:hover { color: var(--magenta); border-color: var(--magenta); }

.contact-links {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
}
.contact-links a {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.contact-links a:hover { color: var(--acid); }

/* -------------------------------------------------
   Footer
------------------------------------------------- */
footer.site-footer {
  padding: 26px var(--edge) 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--ink-dim);
  flex-wrap: wrap;
  gap: 10px;
}
footer.site-footer .credit a { color: var(--ink-dim); border-bottom: 1px solid transparent; }
footer.site-footer .credit a:hover { color: var(--ink); border-color: var(--ink); }

/* -------------------------------------------------
   Reveal / GSAP hook classes
------------------------------------------------- */
.reveal-up { opacity: 0; transform: translateY(40px); }
.split-line { overflow: hidden; }

/* -------------------------------------------------
   Responsive
------------------------------------------------- */
@media (max-width: 900px) {
  .scroll-cue { display: none; }
  .roster-grid { grid-template-columns: repeat(2, 1fr); }
  .release-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about-visual { order: -1; aspect-ratio: 16/10; }
  .event-row { grid-template-columns: 70px 1fr; row-gap: 10px; }
  .event-loc, .event-status { grid-column: 2 / 3; text-align: left; }
}

@media (max-width: 640px) {
  :root { --edge: 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .roster-grid { grid-template-columns: 1fr; }
  .release-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero-top { flex-direction: column; gap: 14px; top: 90px; }
  .hero-coords { text-align: left; }
  .hero { padding-top: 170px; }
  .about-stats { gap: 26px; flex-wrap: wrap; }
  .event-row { grid-template-columns: 1fr; row-gap: 8px; }
  .event-loc, .event-status { grid-column: 1; }
  .event-status { justify-self: flex-start; margin-top: 4px; }
  .marquee-track span { font-size: 22px; padding: 0 16px; }
}

/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 28px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease-snap);
}
.nav-overlay.open { transform: translateY(0); }
.nav-overlay ul { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.nav-overlay a {
  font-family: var(--f-display);
  font-size: 13vw;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1;
}
