:root {
  --bg: #070707;
  --panel: #101010;
  --panel-2: #171717;
  --text: #f2eee8;
  --muted: #a69d92;
  --line: rgba(242, 238, 232, 0.16);
  --acid: #f6ff00;
  --red: #ff2d1d;
  --steel: #7e898f;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 45, 29, 0.18), transparent 26rem),
    linear-gradient(180deg, #050505 0%, #101010 46%, #070707 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
}

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

button,
input {
  font: inherit;
}

.boot {
  min-height: 100vh;
  display: grid;
  place-items: center;
  color: var(--acid);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.site-shell {
  min-height: 100vh;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--max));
  min-height: 72px;
  margin: 16px auto 0;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.74);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(246, 255, 0, 0.5);
  color: var(--acid);
  font-weight: 900;
}

.brand strong,
.nav-links,
.eyebrow,
.button,
.event-card__date,
.ticker,
.footer {
  text-transform: uppercase;
}

.brand strong {
  font-size: 0.9rem;
  letter-spacing: 0.11em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.nav-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid transparent;
}

.nav-links a:hover {
  color: var(--text);
  border-color: var(--line);
}

.icon-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
  cursor: pointer;
}

.icon-button svg,
.button svg,
.specs svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

main {
  overflow: hidden;
}

.hero {
  min-height: 92vh;
  display: grid;
  align-items: end;
  max-width: none;
  padding: 148px max(24px, calc((100vw - var(--max)) / 2)) 64px;
}

.hero__motion {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__motion::before,
.hero__motion::after {
  position: absolute;
  inset: 0;
  content: "";
}

.hero__motion::before {
  opacity: 0.34;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(246, 255, 0, 0.08) 0 1px, transparent 1px 78px);
  mix-blend-mode: screen;
  animation: signalDrift 7s linear infinite;
}

.hero__motion::after {
  opacity: 0.5;
  background:
    radial-gradient(circle at 72% 32%, rgba(255, 45, 29, 0.55), transparent 16rem),
    radial-gradient(circle at 26% 70%, rgba(246, 255, 0, 0.18), transparent 12rem);
  mix-blend-mode: screen;
  animation: roomPulse 2.4s steps(3, end) infinite;
}

.beam {
  position: absolute;
  top: -16%;
  width: 18vw;
  height: 112vh;
  transform-origin: top center;
  opacity: 0.58;
  filter: blur(1px);
  background: linear-gradient(180deg, rgba(255, 45, 29, 0.72), rgba(255, 45, 29, 0.04) 68%, transparent);
  mix-blend-mode: screen;
}

.beam--one {
  right: 19%;
  transform: rotate(19deg);
  animation: beamSweepOne 4.8s ease-in-out infinite;
}

.beam--two {
  right: 43%;
  width: 12vw;
  opacity: 0.44;
  transform: rotate(-18deg);
  animation: beamSweepTwo 5.6s ease-in-out infinite;
}

.beam--three {
  right: 3%;
  width: 10vw;
  opacity: 0.38;
  transform: rotate(34deg);
  background: linear-gradient(180deg, rgba(246, 255, 0, 0.46), rgba(246, 255, 0, 0.03) 60%, transparent);
  animation: beamSweepThree 6.2s ease-in-out infinite;
}

.strobe {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(255, 255, 255, 0.9);
  mix-blend-mode: overlay;
  animation: strobeHit 3.7s steps(1, end) infinite;
}

.scanline {
  position: absolute;
  left: 0;
  right: 0;
  top: 18%;
  height: 2px;
  opacity: 0.68;
  background: linear-gradient(90deg, transparent, var(--acid), var(--red), transparent);
  box-shadow: 0 0 24px rgba(246, 255, 0, 0.45);
  animation: scanDrop 4.2s cubic-bezier(0.7, 0, 0.3, 1) infinite;
}

.frequency {
  position: absolute;
  right: max(24px, calc((100vw - var(--max)) / 2));
  top: 128px;
  display: grid;
  gap: 10px;
  width: min(280px, 28vw);
  padding: 14px;
  border: 1px solid rgba(246, 255, 0, 0.36);
  background: rgba(5, 5, 5, 0.5);
  backdrop-filter: blur(8px);
}

.frequency span {
  color: var(--acid);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.frequency__bars {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  gap: 4px;
  height: 54px;
}

.frequency__bars i {
  display: block;
  min-height: 8px;
  height: var(--h);
  background: linear-gradient(180deg, var(--acid), var(--red));
  box-shadow: 0 0 16px rgba(255, 45, 29, 0.32);
  animation: meterKick 0.86s ease-in-out infinite;
  animation-delay: var(--d);
}

.photo-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: #141414;
  background-position: center;
  background-size: cover;
}

.photo-panel::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(120deg, rgba(255, 45, 29, 0.3), transparent 40%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 10px);
  mix-blend-mode: screen;
  opacity: 0.45;
}

.photo-panel--hero {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.28)),
    url("./assets/images/hero-boiler-room.png"),
    radial-gradient(circle at 70% 42%, rgba(255, 45, 29, 0.82), transparent 18rem),
    linear-gradient(135deg, #080808 0%, #242424 52%, #080808 100%);
}

.photo-panel--dj {
  min-height: 420px;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.48)),
    url("./assets/images/dj-booth.png"),
    radial-gradient(circle at 20% 20%, rgba(255, 45, 29, 0.8), transparent 14rem),
    linear-gradient(135deg, #232323, #050505);
}

.photo-panel--queue {
  min-height: 420px;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.58)),
    url("./assets/images/warehouse-queue.png"),
    radial-gradient(circle at 80% 30%, rgba(255, 45, 29, 0.72), transparent 12rem),
    linear-gradient(135deg, #0b0b0b, #242424);
}

.hero__shade {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8));
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(820px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--acid);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

h1,
h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  font-size: clamp(4.6rem, 14vw, 12.5rem);
}

h2 {
  font-size: clamp(2.8rem, 7vw, 6.8rem);
}

.hero__copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: #d8d1c8;
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  line-height: 1.45;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.button--primary {
  border-color: var(--acid);
  color: #050505;
  background: var(--acid);
}

.button--ghost {
  color: var(--text);
  background: rgba(0, 0, 0, 0.22);
}

.hero__signal {
  position: absolute;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 64px;
  z-index: 3;
  display: grid;
  gap: 4px;
  min-width: 150px;
  padding: 16px;
  border: 1px solid rgba(246, 255, 0, 0.5);
  background: rgba(5, 5, 5, 0.72);
}

.hero__signal span,
.hero__signal small {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero__signal strong {
  color: var(--acid);
  font-size: 2rem;
}

@keyframes signalDrift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(0, 32px, 0);
  }
}

@keyframes roomPulse {
  0%,
  100% {
    opacity: 0.28;
  }

  18% {
    opacity: 0.72;
  }

  42% {
    opacity: 0.36;
  }

  70% {
    opacity: 0.58;
  }
}

@keyframes beamSweepOne {
  0%,
  100% {
    transform: translateX(-4vw) rotate(15deg);
  }

  50% {
    transform: translateX(8vw) rotate(29deg);
  }
}

@keyframes beamSweepTwo {
  0%,
  100% {
    transform: translateX(6vw) rotate(-25deg);
  }

  50% {
    transform: translateX(-7vw) rotate(-8deg);
  }
}

@keyframes beamSweepThree {
  0%,
  100% {
    transform: translateX(0) rotate(28deg);
    opacity: 0.24;
  }

  45% {
    transform: translateX(-10vw) rotate(42deg);
    opacity: 0.52;
  }
}

@keyframes strobeHit {
  0%,
  9%,
  11%,
  64%,
  66%,
  100% {
    opacity: 0;
  }

  10%,
  65% {
    opacity: 0.18;
  }
}

@keyframes scanDrop {
  0% {
    transform: translateY(-18vh);
    opacity: 0;
  }

  12%,
  72% {
    opacity: 0.68;
  }

  100% {
    transform: translateY(72vh);
    opacity: 0;
  }
}

@keyframes meterKick {
  0%,
  100% {
    height: max(8px, calc(var(--h) * 0.35));
  }

  45% {
    height: var(--h);
  }

  70% {
    height: max(10px, calc(var(--h) * 0.62));
  }
}

.ticker {
  display: flex;
  gap: 12px;
  overflow: hidden;
  padding: 18px max(24px, calc((100vw - var(--max)) / 2));
  border-block: 1px solid var(--line);
  color: var(--acid);
  background: #0c0c0c;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.ticker span {
  flex: 0 0 auto;
  padding-right: 12px;
  border-right: 1px solid var(--line);
}

.section {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding: 94px 0;
}

.section__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.event-card {
  display: grid;
  gap: 14px;
  min-height: 230px;
  padding: 22px;
  text-align: left;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
}

.event-card:hover,
.event-card.active {
  border-color: rgba(246, 255, 0, 0.72);
  background: rgba(246, 255, 0, 0.07);
}

.event-card__date {
  color: var(--red);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.event-card strong {
  font-size: 1.5rem;
}

.event-card span:not(.event-card__date),
.event-card small,
.split__copy p,
.guestlist__intro p,
.footer {
  color: var(--muted);
  line-height: 1.5;
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
  align-items: stretch;
}

.split__copy {
  align-self: center;
}

.split__copy p {
  max-width: 480px;
  font-size: 1.05rem;
}

.specs {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.specs div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  color: #ddd6cc;
  background: rgba(255, 255, 255, 0.035);
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.residents {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.resident-list {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-end;
  gap: 10px;
  max-width: 600px;
}

.resident-list span {
  padding: 12px 14px;
  border: 1px solid rgba(126, 137, 143, 0.38);
  color: #d8d1c8;
  background: rgba(126, 137, 143, 0.08);
}

.guestlist {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 460px);
  gap: 44px;
  align-items: start;
}

.guestlist__intro ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.guestlist__intro li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: #d8d1c8;
}

.guest-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(246, 255, 0, 0.3);
  background: rgba(12, 12, 12, 0.82);
}

.guest-form label {
  display: grid;
  gap: 8px;
}

.guest-form label span {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.guest-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--text);
  outline: none;
  background: #050505;
}

.guest-form input:focus {
  border-color: var(--acid);
}

.form-status {
  margin: 0;
  color: var(--acid);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding: 32px 0 46px;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

@media (max-width: 860px) {
  .topbar {
    width: min(100% - 24px, var(--max));
    min-height: 64px;
    margin-top: 12px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    background: rgba(5, 5, 5, 0.94);
  }

  .nav-open .nav-links {
    display: grid;
  }

  .nav-links a {
    width: 100%;
  }

  .hero {
    min-height: 88vh;
    padding: 128px 24px 36px;
  }

  .frequency {
    right: 24px;
    top: 104px;
    width: min(230px, calc(100vw - 48px));
    opacity: 0.78;
  }

  .frequency__bars {
    height: 38px;
  }

  .beam {
    width: 28vw;
  }

  .hero__signal {
    position: relative;
    right: auto;
    bottom: auto;
    width: max-content;
    margin-top: 30px;
  }

  .event-grid,
  .split,
  .guestlist {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .photo-panel--dj,
  .photo-panel--queue {
    min-height: 320px;
  }

  .residents {
    display: grid;
  }

  .resident-list {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .brand strong {
    display: none;
  }

  .section {
    width: min(100% - 28px, var(--max));
    padding: 64px 0;
  }

  .hero__actions {
    display: grid;
  }

  .frequency {
    display: none;
  }

  .button {
    width: 100%;
  }

  .event-card {
    min-height: 190px;
  }

  .footer {
    width: min(100% - 28px, var(--max));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__motion::before,
  .hero__motion::after,
  .beam,
  .strobe,
  .scanline,
  .frequency__bars i {
    animation: none;
  }

  .strobe,
  .scanline {
    display: none;
  }
}
