:root {
  --bg: #000;
  --fg: #f6f1f5;
  --muted: rgba(246, 241, 245, 0.62);
  --line: rgba(246, 241, 245, 0.18);
  --pink: #f109a8;
  --pink-soft: #ec5ec4;
  --font-head: "Eras Bold ITC", "Eras ITC", Impact, Haettenschweiler, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  color: var(--fg);
  background: #000;
  font-family: var(--font-body);
  overflow-x: hidden;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background: radial-gradient(circle at 50% 18%, rgba(241, 9, 168, 0.16), transparent 30rem), linear-gradient(180deg, #070006 0%, #000 45%, #050004 100%);
}
a { color: inherit; text-decoration: none; }
img, iframe { display: block; max-width: 100%; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 0.25rem;
}

.site-noise {
  position: fixed;
  inset: -25%;
  z-index: 20;
  pointer-events: none;
  opacity: 0.06;
  background-image: linear-gradient(115deg, transparent 0 49%, rgba(255, 255, 255, 0.22) 50%, transparent 51%), radial-gradient(circle, rgba(255, 255, 255, 0.26) 0 1px, transparent 1px);
  background-size: 17px 17px, 5px 5px;
  animation: grain 8s steps(8) infinite;
  mix-blend-mode: screen;
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.78), transparent);
}
.nav__mark img { width: clamp(3.9rem, 15vw, 6.8rem); filter: drop-shadow(0 0 18px rgba(241, 9, 168, 0.16)); }
.nav__links { display: none; justify-content: center; gap: clamp(1rem, 3vw, 2.25rem); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.nav__links a, .text-link { color: var(--muted); transition: color 180ms ease; }
.nav__links a:hover, .text-link:hover { color: var(--pink-soft); }
.nav__ticket {
  width: fit-content;
  justify-self: end;
  min-width: 5.6rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(241, 9, 168, 0.62);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}
.nav__ticket:hover { color: #000; background: var(--pink); }

.section { position: relative; padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 5vw, 5rem); }
.section-texture::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background-image: url("assets/gro-groove-texture.jpg");
  background-position: center;
  background-size: cover;
  opacity: 0.17;
  mix-blend-mode: screen;
  filter: saturate(1.18) contrast(1.16);
}
.section-texture::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.62), #000 88%), radial-gradient(circle at 20% 20%, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.78));
}

.hero { position: relative; display: grid; min-height: 100svh; place-items: center; padding: 8rem 1rem 4.5rem; text-align: center; isolation: isolate; }
.hero__inner { display: grid; justify-items: center; gap: clamp(1.6rem, 4vw, 2.6rem); }
.hero__logo-frame {
  position: relative;
  width: min(78vw, 68svh, 42rem);
  padding: clamp(0.65rem, 1.8vw, 1.2rem);
}
.hero__logo-frame::before,
.hero__logo-frame::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.72;
}
.hero__logo-frame::before {
  background:
    linear-gradient(var(--pink), var(--pink)) left 0 top 0 / 1px 28% no-repeat,
    linear-gradient(var(--pink), var(--pink)) right 0 bottom 0 / 1px 28% no-repeat,
    linear-gradient(90deg, transparent, var(--pink), transparent) left 0 top 0 / 36% 1px no-repeat,
    linear-gradient(90deg, transparent, var(--pink), transparent) right 0 bottom 0 / 36% 1px no-repeat;
  filter: drop-shadow(0 0 0.45rem rgba(241, 9, 168, 0.72));
  animation: logoTrace 3.8s ease-in-out infinite;
}
.hero__logo-frame::after {
  inset: 0.35rem;
  border: 1px solid rgba(241, 9, 168, 0.08);
  box-shadow: inset 0 0 1.8rem rgba(241, 9, 168, 0.08);
}
.hero__logo { width: 100%; filter: drop-shadow(0 0 2.2rem rgba(241, 9, 168, 0.24)) contrast(1.08); }
.kicker, .section__label { margin: 0; color: var(--muted); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.18em; line-height: 1.5; text-transform: uppercase; }

.button {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border: 1px solid var(--pink);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { color: #070004; background: var(--pink); }
.button--primary:hover { background: var(--pink-soft); border-color: var(--pink-soft); }
.button--outline { color: var(--fg); background: transparent; }
.button--outline:hover { color: #050004; background: var(--pink); }

.scroll-cue { position: absolute; bottom: 1.65rem; left: 50%; width: 1px; height: 3.4rem; background: rgba(255,255,255,0.16); transform: translateX(-50%); }
.scroll-cue span { display: block; width: 1px; height: 1.1rem; background: var(--pink); animation: scrollPulse 1.8s ease-in-out infinite; }

.about__grid, .socials__grid { display: grid; gap: clamp(2rem, 6vw, 6rem); max-width: 92rem; margin: 1.5rem auto 0; }
.display, .edition__head h2, .gallery__text h2, .next__panel h2, .socials h2 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.display { max-width: 11ch; font-size: clamp(3.1rem, 7vw, 6.2rem); line-height: 0.9; }
.about__copy { align-self: end; max-width: 42rem; }
.about__copy p { margin: 0; color: rgba(246,241,245,0.8); font-size: clamp(1.1rem, 2.6vw, 1.7rem); font-weight: 600; line-height: 1.35; }
.genre-list { display: flex; flex-wrap: wrap; gap: 0.8rem; padding: 0; margin: 2rem 0 0; list-style: none; }
.genre-list li { padding: 0.72rem 0.9rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--pink-soft); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.13em; text-transform: uppercase; }

.edition { overflow: hidden; }
.edition__head { display: grid; gap: 1.1rem; max-width: 92rem; margin: 1.5rem auto clamp(1.5rem, 4vw, 3rem); }
.edition__head h2, .gallery__text h2, .next__panel h2, .socials h2 { font-size: clamp(2.7rem, 8vw, 7.8rem); line-height: 0.9; }
.gallery__text h2 { font-size: clamp(2.7rem, 6vw, 5.8rem); overflow-wrap: break-word; }
.edition__head p, .shorts-panel p, .gallery__text p, .next__panel p { max-width: 42rem; margin: 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.18rem); line-height: 1.65; }
.media-layout { display: grid; gap: 1rem; max-width: 96rem; margin: 0 auto; }
.video-frame { position: relative; overflow: hidden; border: 1px solid rgba(246,241,245,0.1); background: #050005; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame--short { aspect-ratio: 9 / 16; min-height: 31rem; }
.shorts-panel { display: grid; gap: 1rem; align-content: start; }
.text-link { width: fit-content; border-bottom: 1px solid rgba(241,9,168,0.5); font-size: 0.74rem; font-weight: 900; letter-spacing: 0.13em; text-transform: uppercase; }

.video-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(246,241,245,0.12);
  background: #050005;
  aspect-ratio: 16 / 9;
}
.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
  transition: transform 420ms ease, opacity 180ms ease;
}
.video-poster::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.46));
}
.video-poster:hover img {
  transform: scale(1.025);
  opacity: 0.9;
}
.video-poster__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: clamp(4.2rem, 10vw, 6.8rem);
  aspect-ratio: 1;
  border: 1px solid rgba(241,9,168,0.86);
  border-radius: 50%;
  background: rgba(0,0,0,0.42);
  transform: translate(-50%, -50%);
}
.video-poster__play::before {
  position: absolute;
  left: 52%;
  top: 50%;
  content: "";
  border-top: 0.72rem solid transparent;
  border-bottom: 0.72rem solid transparent;
  border-left: 1.1rem solid var(--pink);
  transform: translate(-40%, -50%);
}
.video-poster__caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  color: var(--fg);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.gallery__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; max-width: 92rem; margin: 1.5rem auto 0; overflow: hidden; }
.photo-block {
  position: relative;
  display: grid;
  min-height: 18rem;
  align-items: end;
  overflow: hidden;
  padding: 1rem;
  background: #050005;
  isolation: isolate;
}
.photo-block img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease, opacity 180ms ease;
}
.photo-block--floor img { object-position: center bottom; }
.photo-block--dj img { object-position: center top; }
.photo-block::after { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.72)); transition: background 180ms ease; }
.photo-block:hover img { transform: scale(1.025); opacity: 0.9; }
.photo-block:hover::after { background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.58)); }
.gallery__text { display: grid; align-content: center; justify-items: start; gap: 1.25rem; min-width: 0; max-width: 58rem; padding: clamp(1rem, 3vw, 2rem) 0 clamp(1.5rem, 5vw, 3.5rem); }
.gallery__text h2, .gallery__text p { max-width: 100%; }

.next { display: grid; align-items: center; justify-items: stretch; min-height: 26rem; }
.next__panel { display: grid; gap: 1.3rem; width: min(100%, 62rem); }
.next.section {
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
}
.next .next__panel {
  opacity: 1;
}
.next .section__label,
.next h2,
.next p {
  color: var(--fg);
}
.next p {
  color: rgba(246, 241, 245, 0.76);
}
.social-links { display: grid; gap: 0.75rem; }
.social-links a { display: flex; min-height: 4.25rem; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); font-size: clamp(1.05rem, 4vw, 1.6rem); font-weight: 800; text-transform: uppercase; transition: color 180ms ease, border-color 180ms ease; }
.social-links a:last-child { border-bottom: 1px solid var(--line); }
.social-links a:hover { color: var(--pink-soft); border-color: rgba(241,9,168,0.54); }
.social-links svg { order: 2; width: 1.4rem; height: 1.4rem; fill: currentColor; flex: 0 0 auto; }

.footer { display: grid; gap: 1.5rem; padding: 2.5rem clamp(1rem, 5vw, 5rem); border-top: 1px solid var(--line); color: var(--muted); }
.footer img { width: 6rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.3rem; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }
.footer__links a:hover { color: var(--pink-soft); }
.footer p { margin: 0; font-size: 0.8rem; }

.legal-page {
  min-height: 100svh;
  padding: clamp(8rem, 16vw, 12rem) clamp(1rem, 5vw, 5rem) clamp(4rem, 9vw, 7rem);
}
.legal-content {
  max-width: 58rem;
  margin: 0 auto;
}
.legal-content h1,
.legal-content h2 {
  margin: 0;
  font-family: var(--font-head);
  letter-spacing: 0;
  text-transform: uppercase;
}
.legal-content h1 {
  margin-top: 1.5rem;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.9;
}
.legal-content h2 {
  margin-top: clamp(2.4rem, 6vw, 4rem);
  font-size: clamp(1.6rem, 4vw, 3rem);
  line-height: 1;
}
.legal-content p,
.legal-content li {
  color: rgba(246, 241, 245, 0.76);
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.75;
}
.legal-content p {
  margin: 1rem 0 0;
}
.legal-content ul {
  display: grid;
  gap: 0.65rem;
  padding-left: 1.2rem;
  margin: 1rem 0 0;
}
.legal-content a {
  color: var(--pink-soft);
  border-bottom: 1px solid rgba(241, 9, 168, 0.5);
}
.legal-updated {
  margin-top: 3rem;
  color: var(--pink-soft);
  font-weight: 800;
}

.reveal { opacity: 0; transform: translateY(1.4rem); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(3%, 1%); }
  80% { transform: translate(-2%, -2%); }
}

@keyframes scrollPulse {
  0% { transform: translateY(0); opacity: 0; }
  30%, 60% { opacity: 1; }
  100% { transform: translateY(2.3rem); opacity: 0; }
}

@keyframes logoTrace {
  0%, 100% {
    background-position: left 0 top 0, right 0 bottom 0, left 0 top 0, right 0 bottom 0;
    opacity: 0.28;
  }
  45% {
    background-position: left 0 bottom 0, right 0 top 0, right 0 top 0, left 0 bottom 0;
    opacity: 0.86;
  }
}

@media (min-width: 46rem) {
  .nav__links { display: flex; }
  .about__grid, .socials__grid { grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr); align-items: end; }
  .gallery__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
  .gallery__text { grid-column: 1 / -1; padding-right: 0; }
  .photo-block--floor { min-height: 38rem; }
  .photo-block--dj { min-height: 38rem; }
}

@media (min-width: 68rem) {
  .media-layout { grid-template-columns: minmax(0, 1fr) minmax(17rem, 24rem); align-items: start; }
  .gallery__grid { grid-template-columns: minmax(18rem, 0.9fr) minmax(18rem, 1.1fr); align-items: end; }
  .gallery__text { grid-column: 1 / -1; min-height: 0; }
  .photo-block--floor { min-height: 44rem; }
  .photo-block--dj { min-height: 44rem; }
  .footer { grid-template-columns: auto 1fr auto; align-items: center; }
  .footer__links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
