@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600;700&display=swap");

@font-face {
  font-family: "Romana Light";
  src:
    url("assets/fonts/RomanaLTLight.woff2") format("woff2"),
    url("assets/fonts/RomanaLTLight.woff") format("woff");
  font-display: swap;
  font-style: normal;
  font-weight: 300;
}

:root {
  color-scheme: dark;
  --bg: #050505;
  --ink: #f3eee5;
  --muted: #b8afa3;
  --line: rgba(243, 238, 229, 0.18);
  --red: #ff3d2e;
  --cyan: #2fd9ff;
  --acid: #d8ff4f;
  --panel: rgba(13, 14, 15, 0.78);
  --panel-strong: #111214;
  --shadow: rgba(0, 0, 0, 0.48);
  --serif: "Romana Light", "Romana Std Light", "Cormorant Garamond", "Times New Roman", Times, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@property --cycle-a {
  syntax: "<color>";
  inherits: true;
  initial-value: #2fd9ff;
}

@property --cycle-b {
  syntax: "<color>";
  inherits: true;
  initial-value: #d8ff4f;
}

@property --cycle-c {
  syntax: "<color>";
  inherits: true;
  initial-value: #ffb000;
}

@property --cycle-d {
  syntax: "<color>";
  inherits: true;
  initial-value: #ff3d2e;
}

@property --cycle-e {
  syntax: "<color>";
  inherits: true;
  initial-value: #c94cff;
}

@property --phase {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0) 0%, #050505 72%),
    #050505;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
}

.entry-page {
  background: #000;
  overflow: hidden;
}

.lab-entry-shell {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  overflow: hidden;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 50% 48%, rgba(47, 217, 255, 0.14), transparent 24rem),
    radial-gradient(circle at 72% 34%, rgba(216, 255, 79, 0.08), transparent 18rem),
    linear-gradient(180deg, #030607 0%, #000 72%);
  isolation: isolate;
}

.lab-entry-shell::before,
.lab-entry-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lab-entry-shell::before {
  z-index: 1;
  background:
    linear-gradient(90deg, transparent, rgba(216, 255, 79, 0.08), transparent),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 5px);
  opacity: 0.58;
  animation: lab-sweep 5.6s ease-in-out infinite;
}

.lab-entry-shell::after {
  z-index: 2;
  background:
    radial-gradient(ellipse at center, transparent 0 42%, rgba(0, 0, 0, 0.78) 78%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.72));
}

.lab-background {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.92;
  pointer-events: none;
}

.lab-color-wash,
.lab-color-wash span {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lab-color-wash {
  z-index: 2;
  overflow: hidden;
  mix-blend-mode: screen;
  opacity: 0.34;
}

.lab-color-wash span {
  inset: -12%;
  opacity: 0;
  background:
    radial-gradient(circle at 46% 48%, rgba(47, 217, 255, 0.22), transparent 28rem),
    radial-gradient(circle at 70% 35%, rgba(216, 255, 79, 0.14), transparent 20rem),
    radial-gradient(circle at 22% 70%, rgba(201, 76, 255, 0.12), transparent 22rem);
  animation: lab-wash-fade 42s ease-in-out infinite;
}

.lab-color-wash span:nth-child(2) {
  background:
    radial-gradient(circle at 50% 48%, rgba(116, 255, 199, 0.2), transparent 28rem),
    radial-gradient(circle at 76% 36%, rgba(47, 217, 255, 0.16), transparent 20rem),
    radial-gradient(circle at 20% 68%, rgba(255, 176, 0, 0.1), transparent 22rem);
  animation-delay: -14s;
}

.lab-color-wash span:nth-child(3) {
  background:
    radial-gradient(circle at 48% 48%, rgba(201, 76, 255, 0.16), transparent 28rem),
    radial-gradient(circle at 74% 32%, rgba(255, 61, 46, 0.1), transparent 20rem),
    radial-gradient(circle at 22% 72%, rgba(216, 255, 79, 0.12), transparent 22rem);
  animation-delay: -28s;
}

.lab-grid path {
  fill: none;
  stroke: rgba(47, 217, 255, 0.09);
  stroke-width: 1;
}

.lab-molecule {
  fill: rgba(216, 255, 79, 0.08);
  stroke: rgba(216, 255, 79, 0.3);
  stroke-width: 2;
  filter: drop-shadow(0 0 12px rgba(216, 255, 79, 0.22));
  transform-origin: center;
}

.lab-molecule-left {
  animation: molecule-float-a 12s ease-in-out infinite alternate;
}

.lab-molecule-right {
  animation: molecule-float-b 14s ease-in-out infinite alternate;
}

.lab-chemical {
  fill: none;
  scale: 0.68;
  stroke: rgba(216, 255, 79, 0.32);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  filter: drop-shadow(0 0 12px rgba(216, 255, 79, 0.18));
  opacity: 0.46;
  transform-box: fill-box;
  transform-origin: center;
}

.lab-chemical path,
.lab-chemical line {
  vector-effect: non-scaling-stroke;
}

.lab-chemical circle {
  fill: rgba(216, 255, 79, 0.3);
  stroke: rgba(243, 238, 229, 0.38);
  stroke-width: 1.4;
}

.lab-chemical-lsd {
  animation: chemical-drift-a 24s ease-in-out infinite;
}

.lab-chemical-center {
  opacity: 0.28;
  scale: 0.58;
  animation: chemical-drift-e 28s ease-in-out infinite;
}

.lab-chemical-psilocybin {
  animation: chemical-drift-b 26s ease-in-out infinite;
}

.lab-chemical-dmt {
  opacity: 0.34;
  animation: chemical-drift-c 25s ease-in-out infinite;
}

.lab-chemical-mescaline {
  opacity: 0.34;
  animation: chemical-drift-d 23s ease-in-out infinite;
}

.lab-waveform {
  fill: none;
  stroke: url("#lab-glow");
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 85 170;
  opacity: 0.5;
  filter: drop-shadow(0 0 16px rgba(47, 217, 255, 0.46));
}

.lab-gear {
  fill: rgba(47, 217, 255, 0.05);
  stroke: rgba(47, 217, 255, 0.26);
  stroke-width: 3;
  filter: drop-shadow(0 0 18px rgba(47, 217, 255, 0.18));
  opacity: 0.56;
  transform-box: fill-box;
  transform-origin: center;
}

.lab-gear path {
  vector-effect: non-scaling-stroke;
}

.lab-gear-left {
  animation: gear-drift-a 20s ease-in-out infinite;
}

.lab-gear-right {
  animation: gear-drift-b 24s ease-in-out infinite;
}

.lab-console {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 1.08rem;
  width: min(49rem, calc(100vw - 2rem));
}

.lab-chamber {
  position: relative;
  display: grid;
  place-items: center;
  padding: 1.15rem;
  border: 1px solid color-mix(in srgb, var(--cycle-a) 22%, transparent);
  border-radius: 14px;
  background:
    radial-gradient(ellipse at center, color-mix(in srgb, var(--cycle-a) 10%, transparent), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  box-shadow:
    inset 0 0 2rem rgba(0, 0, 0, 0.48),
    0 0 2.8rem color-mix(in srgb, var(--cycle-a) 12%, transparent);
}

.lab-chamber::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0.65rem;
  border-radius: 10px;
  background:
    linear-gradient(90deg, transparent 0 48%, color-mix(in srgb, var(--cycle-b) 18%, transparent) 50%, transparent 52% 100%),
    linear-gradient(0deg, transparent 0 48%, color-mix(in srgb, var(--cycle-a) 16%, transparent) 50%, transparent 52% 100%);
  opacity: 0.5;
  pointer-events: none;
}

.lab-chamber::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -1.4rem -1.8rem;
  border-radius: 22px;
  background:
    conic-gradient(
      from var(--phase) at 50% 50%,
      transparent 0deg 15deg,
      color-mix(in srgb, var(--cycle-a) 18%, transparent) 18deg 22deg,
      transparent 26deg 78deg,
      color-mix(in srgb, var(--cycle-b) 16%, transparent) 82deg 86deg,
      transparent 91deg 162deg,
      color-mix(in srgb, var(--cycle-e) 14%, transparent) 166deg 171deg,
      transparent 176deg 360deg
    );
  -webkit-mask: radial-gradient(ellipse at center, transparent 0 53%, #000 56% 72%, transparent 75% 100%);
  mask: radial-gradient(ellipse at center, transparent 0 53%, #000 56% 72%, transparent 75% 100%);
  opacity: 0.78;
  filter: blur(0.2px) drop-shadow(0 0 1.2rem color-mix(in srgb, var(--cycle-a) 18%, transparent));
  pointer-events: none;
}

.lab-corner {
  position: absolute;
  z-index: 4;
  width: 2.6rem;
  height: 2.6rem;
  border-color: color-mix(in srgb, var(--cycle-b) 78%, #f3eee5 20%);
  filter: drop-shadow(0 0 0.55rem color-mix(in srgb, var(--cycle-b) 38%, transparent));
  pointer-events: none;
}

.lab-corner-tl {
  top: 0.6rem;
  left: 0.6rem;
  border-top: 2px solid;
  border-left: 2px solid;
}

.lab-corner-tr {
  top: 0.6rem;
  right: 0.6rem;
  border-top: 2px solid;
  border-right: 2px solid;
}

.lab-corner-bl {
  bottom: 0.6rem;
  left: 0.6rem;
  border-bottom: 2px solid;
  border-left: 2px solid;
}

.lab-corner-br {
  right: 0.6rem;
  bottom: 0.6rem;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.lab-orbit {
  position: absolute;
  z-index: 0;
  inset: -4.8rem -5.6rem;
  pointer-events: none;
  opacity: 0.55;
  filter: drop-shadow(0 0 1.1rem color-mix(in srgb, var(--cycle-a) 26%, transparent));
}

.lab-orbit span {
  position: absolute;
  inset: 24% 4%;
  border: 1px solid color-mix(in srgb, var(--cycle-a) 28%, transparent);
  border-radius: 50%;
}

.lab-orbit span:nth-child(1) {
  transform: rotate(-8deg);
}

.lab-orbit span:nth-child(2) {
  transform: rotate(11deg) scale(0.86);
  border-color: color-mix(in srgb, var(--cycle-b) 26%, transparent);
}

.lab-orbit span:nth-child(3) {
  transform: rotate(-22deg) scale(0.72);
  border-color: color-mix(in srgb, var(--cycle-e) 22%, transparent);
}

.lab-meter {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  gap: 0.42rem;
  width: 0.72rem;
  transform: translateY(-50%);
}

.lab-meter-left {
  left: -1.1rem;
}

.lab-meter-right {
  right: -1.1rem;
}

.lab-meter span {
  display: block;
  height: 1.5rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cycle-a) 28%, transparent);
  box-shadow: 0 0 0.7rem color-mix(in srgb, var(--cycle-a) 26%, transparent);
}

.lab-meter span:nth-child(2),
.lab-meter span:nth-child(4) {
  background: color-mix(in srgb, var(--cycle-b) 32%, transparent);
}

.lab-console-top,
.lab-readouts {
  display: grid;
  grid-template-columns: 1.18fr 1.04fr 0.88fr;
  border: 1px solid rgba(47, 217, 255, 0.28);
  border-radius: 8px;
  background: rgba(0, 12, 14, 0.62);
  box-shadow: inset 0 0 1.2rem rgba(47, 217, 255, 0.08);
  backdrop-filter: blur(12px);
}

.lab-console-top span,
.lab-readouts span {
  min-width: 0;
  border-right: 1px solid rgba(47, 217, 255, 0.2);
  padding: 0.72rem 0.82rem;
  color: rgba(243, 238, 229, 0.82);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
}

.lab-console-top span:last-child,
.lab-readouts span:last-child {
  border-right: 0;
}

.lab-console-top span:first-child {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 300;
  text-transform: none;
}

.lab-console-top span:nth-child(3),
.lab-readouts span:nth-child(3) {
  color: var(--acid);
}

.lab-readouts {
  grid-template-columns: 0.78fr 1.04fr 0.58fr 1.45fr;
}

.lab-readouts span:last-child {
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: none;
}

.lab-enter-button {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(100%, 38rem);
  min-height: clamp(8.5rem, 20vw, 12rem);
  overflow: hidden;
  border: 2px solid rgba(216, 255, 79, 0.72);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 34%),
    rgba(1, 18, 20, 0.54);
  box-shadow:
    0 0 0 1px rgba(47, 217, 255, 0.32),
    0 0 2rem rgba(47, 217, 255, 0.28),
    0 0 4.8rem rgba(216, 255, 79, 0.18),
    inset 0 0 2rem rgba(47, 217, 255, 0.12),
    inset 0 -2rem 3.4rem rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(18px);
  isolation: isolate;
}

.lab-enter-button::before,
.lab-enter-button::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.lab-enter-button::before {
  z-index: 2;
  inset: 0.55rem;
  border: 1px solid rgba(243, 238, 229, 0.2);
  border-radius: 12px;
}

.lab-enter-button::after {
  z-index: 3;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(255, 255, 255, 0.14) 10%, transparent 14% 100%),
    repeating-linear-gradient(90deg, rgba(243, 238, 229, 0.08) 0 1px, transparent 1px 34px);
  mix-blend-mode: screen;
  opacity: 0.58;
  animation: lab-reflection 4.8s ease-in-out infinite alternate;
}

.lab-button-glass {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}

.lab-button-glass::before,
.lab-button-glass::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.lab-button-glass::before {
  z-index: 3;
  inset: 0;
  background:
    radial-gradient(circle at 13% 78%, rgba(243, 238, 229, 0.42) 0 0.16rem, transparent 0.2rem),
    radial-gradient(circle at 22% 86%, rgba(243, 238, 229, 0.28) 0 0.22rem, transparent 0.26rem),
    radial-gradient(circle at 34% 74%, color-mix(in srgb, var(--cycle-a) 62%, transparent) 0 0.18rem, transparent 0.23rem),
    radial-gradient(circle at 48% 84%, rgba(243, 238, 229, 0.32) 0 0.14rem, transparent 0.18rem),
    radial-gradient(circle at 58% 76%, color-mix(in srgb, var(--cycle-b) 56%, transparent) 0 0.2rem, transparent 0.25rem),
    radial-gradient(circle at 72% 88%, rgba(243, 238, 229, 0.34) 0 0.17rem, transparent 0.22rem),
    radial-gradient(circle at 86% 77%, color-mix(in srgb, var(--cycle-e) 48%, transparent) 0 0.16rem, transparent 0.2rem);
  opacity: 0.68;
  animation: bubble-rise 7.8s ease-in-out infinite;
}

.lab-button-glass::after {
  z-index: 0;
  inset: -18%;
  background:
    radial-gradient(ellipse 34% 24% at 28% 34%, color-mix(in srgb, var(--cycle-e) 24%, transparent), transparent 68%),
    radial-gradient(ellipse 40% 30% at 74% 28%, color-mix(in srgb, var(--cycle-a) 22%, transparent), transparent 70%),
    radial-gradient(ellipse 46% 36% at 55% 78%, color-mix(in srgb, var(--cycle-b) 16%, transparent), transparent 68%);
  filter: blur(14px);
  mix-blend-mode: screen;
  opacity: 0.6;
  animation: reagent-haze 10s ease-in-out infinite alternate;
}

.lab-reagent {
  position: absolute;
  z-index: 1;
  left: -12%;
  right: -12%;
  bottom: -54%;
  height: 74%;
  border-radius: 52% 48% 0 0;
  background:
    radial-gradient(ellipse 32% 62% at 22% 2%, rgba(255, 255, 255, 0.28), transparent 60%),
    radial-gradient(ellipse 38% 58% at 74% 8%, rgba(47, 217, 255, 0.4), transparent 62%),
    linear-gradient(90deg, rgba(216, 255, 79, 0.88), rgba(47, 217, 255, 0.74), rgba(216, 255, 79, 0.82));
  box-shadow: 0 -1rem 2rem rgba(216, 255, 79, 0.18);
  animation: reagent-slosh 6.8s cubic-bezier(0.45, 0, 0.18, 1) infinite alternate;
}

.lab-reagent::before {
  content: "";
  position: absolute;
  top: -0.78rem;
  left: 4%;
  right: 4%;
  height: 1.35rem;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 12% 70% at 13% 46%, rgba(243, 238, 229, 0.28), transparent 65%),
    radial-gradient(ellipse 18% 78% at 34% 54%, color-mix(in srgb, var(--cycle-a) 34%, transparent), transparent 70%),
    radial-gradient(ellipse 16% 72% at 68% 48%, rgba(243, 238, 229, 0.2), transparent 68%),
    linear-gradient(90deg, transparent, color-mix(in srgb, var(--cycle-b) 46%, transparent), color-mix(in srgb, var(--cycle-a) 34%, transparent), transparent);
  filter: blur(2px);
  opacity: 0.82;
  animation: reagent-edge 5.6s ease-in-out infinite alternate;
}

.lab-scan {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 18%;
  background: linear-gradient(90deg, transparent, rgba(47, 217, 255, 0.2), rgba(216, 255, 79, 0.24), transparent);
  filter: blur(1px);
  animation: lab-button-scan 3.7s linear infinite;
}

.lab-ticks {
  position: absolute;
  z-index: 2;
  inset: 0.75rem;
  border-radius: 12px;
  background:
    repeating-linear-gradient(90deg, rgba(243, 238, 229, 0.2) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(0deg, transparent 0 17px, rgba(216, 255, 79, 0.1) 18px 19px);
  mask: linear-gradient(90deg, #000 0 12%, transparent 16% 84%, #000 88% 100%);
  opacity: 0.55;
}

.lab-button-text {
  position: relative;
  z-index: 4;
  color: #f6f1e7;
  font-family: var(--serif);
  font-size: clamp(4.5rem, 16vw, 9.5rem);
  font-weight: 300;
  line-height: 0.85;
  text-align: center;
  text-transform: uppercase;
  -webkit-text-stroke: 1.4px rgba(0, 0, 0, 0.96);
  paint-order: stroke fill;
  text-shadow:
    0 0 0.25rem #000,
    0 0 0.85rem #000,
    0 0 1.8rem rgba(47, 217, 255, 0.5),
    0 0 2.8rem rgba(216, 255, 79, 0.26);
}

.lab-button-subtext {
  position: absolute;
  z-index: 4;
  bottom: 0.72rem;
  color: rgba(216, 255, 79, 0.9);
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 300;
  line-height: 1;
  text-shadow:
    0 0 0.35rem #000,
    0 0 1rem rgba(216, 255, 79, 0.36);
  text-transform: none;
}

.lab-enter-button:hover,
.lab-enter-button:focus-visible {
  outline: none;
  border-color: rgba(243, 238, 229, 0.96);
  box-shadow:
    0 0 0 1px rgba(216, 255, 79, 0.5),
    0 0 2.4rem rgba(47, 217, 255, 0.42),
    0 0 5.2rem rgba(216, 255, 79, 0.28),
    inset 0 0 2.4rem rgba(47, 217, 255, 0.18);
}

.entry-shell {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  overflow: hidden;
  padding: 1.5rem;
  background:
    linear-gradient(118deg, transparent 0 37%, rgba(216, 255, 79, 0.055) 38%, transparent 50%),
    linear-gradient(42deg, transparent 0 44%, rgba(47, 217, 255, 0.055) 45%, transparent 58%),
    repeating-linear-gradient(112deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 46px),
    #000;
  isolation: isolate;
}

.entry-shell::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.92)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 5px);
  opacity: 0.72;
}

.entry-background {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.78;
  pointer-events: none;
  filter: saturate(1.45) contrast(1.12);
}

.background-grid path {
  fill: none;
  stroke: rgba(243, 238, 229, 0.12);
  stroke-width: 1;
}

.background-facets {
  mix-blend-mode: screen;
  filter: blur(0.2px);
}

.background-facets-slow {
  opacity: 0.34;
  fill: url("#background-spectrum");
}

.background-facets-fast {
  opacity: 0.24;
  fill: rgba(47, 217, 255, 0.78);
}

.background-current {
  fill: none;
  stroke: url("#background-spectrum");
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 70 180;
  opacity: 0.42;
  filter: drop-shadow(0 0 14px rgba(47, 217, 255, 0.5));
}

.trippy-button {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: min(88vw, 44rem);
  min-height: clamp(6.3rem, 19vw, 10.6rem);
  border: 2px solid rgba(243, 238, 229, 0.82);
  border-radius: 999px;
  padding: 1rem 2.2rem;
  overflow: hidden;
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.8rem, 14vw, 8.5rem);
  font-weight: 300;
  line-height: 0.86;
  text-align: center;
  text-transform: uppercase;
  box-shadow:
    0 0 0 1px rgba(216, 255, 79, 0.24),
    0 0 1.2rem rgba(243, 238, 229, 0.34),
    0 0 2.8rem rgba(47, 217, 255, 0.38),
    0 0 5.2rem rgba(255, 61, 46, 0.24),
    inset 0 0 2.2rem rgba(243, 238, 229, 0.16),
    inset 0 -1.2rem 2.8rem rgba(0, 0, 0, 0.8);
  isolation: isolate;
}

.trippy-button::before,
.trippy-button::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.trippy-button::before {
  z-index: 2;
  inset: 0.35rem;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(216, 255, 79, 0.45), rgba(47, 217, 255, 0.42), rgba(201, 76, 255, 0.4), rgba(255, 61, 46, 0.38), rgba(255, 176, 0, 0.42)),
    rgba(0, 0, 0, 0.06);
  opacity: 0.82;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  padding: 1px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.8);
}

.trippy-button::after {
  z-index: 5;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 92% 34% at 50% 10%, rgba(255, 255, 255, 0.28), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 24%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 16px);
  opacity: 0.66;
  mix-blend-mode: screen;
  animation: liquid-gloss 4.8s ease-in-out infinite alternate;
}

.goo-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ooze-layer {
  position: absolute;
  z-index: 1;
  inset: 3px;
  overflow: hidden;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 100% 48% at 50% 112%, rgba(216, 255, 79, 0.18), transparent 70%),
    radial-gradient(ellipse 82% 50% at 50% 0%, rgba(47, 217, 255, 0.12), transparent 65%),
    rgba(0, 0, 0, 0.62);
}

.ooze-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 90% 32% at 48% 15%, rgba(255, 255, 255, 0.22), transparent 62%),
    linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.24));
  mix-blend-mode: screen;
  pointer-events: none;
}

.ooze-svg {
  position: absolute;
  z-index: 1;
  inset: -18% -8% -18% -8%;
  width: 116%;
  height: 136%;
  filter: saturate(1.68) contrast(1.18) brightness(1.08);
}

.ooze-sag,
.ooze-current,
.ooze-bolus,
.ooze-tendril,
.ooze-drip,
.ooze-polygons,
.ooze-poly {
  transform-box: fill-box;
  transform-origin: center;
}

.ooze-sag {
  fill: url("#acid-ooze");
  opacity: 0.96;
}

.ooze-current {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ooze-current-shadow {
  stroke: rgba(28, 10, 46, 0.82);
  stroke-width: 94;
  opacity: 0.34;
}

.ooze-current-main {
  stroke: url("#acid-ooze");
  stroke-width: 66;
  stroke-dasharray: 285 72;
  opacity: 0.94;
}

.ooze-current-highlight {
  stroke: rgba(255, 255, 255, 0.42);
  stroke-width: 10;
  stroke-dasharray: 42 240;
  mix-blend-mode: screen;
  opacity: 0.86;
}

.ooze-bolus,
.ooze-tendril,
.ooze-drip {
  opacity: 0.96;
}

.ooze-bolus-a,
.ooze-tendril-b,
.ooze-drip-a {
  fill: #d8ff4f;
}

.ooze-bolus-b,
.ooze-tendril-a {
  fill: #2fd9ff;
}

.ooze-bolus-c,
.ooze-drip-b {
  fill: #c94cff;
}

.ooze-glint-path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 34 210;
  mix-blend-mode: screen;
  opacity: 0.76;
}

.ooze-polygons {
  pointer-events: none;
}

.ooze-polygons-back {
  opacity: 0.82;
  mix-blend-mode: color-dodge;
  filter: blur(0.4px) saturate(1.4);
}

.ooze-polygons-front {
  opacity: 0.74;
  mix-blend-mode: screen;
  filter: saturate(1.6);
}

.ooze-polygons-prism {
  opacity: 0.84;
  mix-blend-mode: hard-light;
  filter: saturate(1.9) contrast(1.12);
}

.ooze-poly {
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1.4;
  animation: polygon-pulse 5.8s ease-in-out infinite alternate;
}

.ooze-poly-a,
.ooze-poly-h {
  fill: rgba(216, 255, 79, 0.76);
}

.ooze-poly-b,
.ooze-poly-f {
  fill: rgba(47, 217, 255, 0.72);
}

.ooze-poly-c,
.ooze-poly-i {
  fill: rgba(201, 76, 255, 0.64);
}

.ooze-poly-d,
.ooze-poly-g {
  fill: rgba(255, 61, 46, 0.66);
}

.ooze-poly-e,
.ooze-poly-j {
  fill: rgba(255, 176, 0, 0.66);
}

.ooze-poly-k,
.ooze-poly-q {
  fill: rgba(255, 0, 153, 0.74);
}

.ooze-poly-l,
.ooze-poly-r {
  fill: rgba(0, 255, 163, 0.72);
}

.ooze-poly-m {
  fill: rgba(116, 80, 255, 0.76);
}

.ooze-poly-n {
  fill: rgba(255, 247, 0, 0.72);
}

.ooze-poly-o {
  fill: rgba(255, 82, 0, 0.72);
}

.ooze-poly-p {
  fill: rgba(0, 209, 255, 0.72);
}

.ooze-poly-b,
.ooze-poly-g {
  animation-delay: -1.4s;
}

.ooze-poly-c,
.ooze-poly-h {
  animation-delay: -2.8s;
}

.ooze-poly-d,
.ooze-poly-i {
  animation-delay: -4.1s;
}

.ooze-poly-k,
.ooze-poly-p {
  animation-delay: -0.7s;
}

.ooze-poly-l,
.ooze-poly-q {
  animation-delay: -2.1s;
}

.ooze-poly-m,
.ooze-poly-r {
  animation-delay: -3.5s;
}

.ooze-poly-n,
.ooze-poly-o {
  animation-delay: -4.8s;
}

.ooze-lightning {
  mix-blend-mode: color-dodge;
  pointer-events: none;
}

.ooze-lightning-path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 28 122;
  opacity: 0.76;
  filter: drop-shadow(0 0 6px currentColor);
}

.ooze-lightning-a {
  color: #ff00a8;
  stroke: currentColor;
  stroke-width: 4;
}

.ooze-lightning-b {
  color: #00f6ff;
  stroke: currentColor;
  stroke-width: 3;
}

.trippy-button__label {
  position: relative;
  z-index: 6;
  display: block;
  color: #fff8ec;
  background: none;
  -webkit-text-stroke: 1.2px rgba(0, 0, 0, 0.92);
  paint-order: stroke fill;
  text-shadow:
    0 0 0.18rem rgba(0, 0, 0, 1),
    0 0 0.65rem rgba(0, 0, 0, 0.98),
    0 0 1.2rem rgba(0, 0, 0, 0.88),
    0 0.06em 0.04em rgba(0, 0, 0, 0.95),
    0 0 1.5rem rgba(243, 238, 229, 0.42);
  filter: drop-shadow(0 0 0.18rem rgba(0, 0, 0, 1));
  animation: readable-text-shift 2.8s ease-in-out infinite;
}

.trippy-button:hover,
.trippy-button:focus-visible {
  outline: none;
  border-color: var(--acid);
}

.trippy-button:hover .ooze-layer,
.trippy-button:focus-visible .ooze-layer {
  background-color: rgba(0, 0, 0, 0.7);
}

.trippy-button:hover .trippy-button__label,
.trippy-button:focus-visible .trippy-button__label {
  animation-duration: 1.4s;
}

@keyframes liquid-gloss {
  from {
    background-position: 0 0, 0 0;
    transform: translateX(-1%);
  }

  to {
    background-position: 0 2px, 24px 0;
    transform: translateX(1%);
  }
}

@keyframes polygon-pulse {
  0% {
    opacity: 0.42;
    transform: scale(0.86) skewX(-9deg) rotate(-2deg);
  }

  45% {
    opacity: 0.98;
    transform: scale(1.16) skewX(5deg) rotate(3deg);
  }

  100% {
    opacity: 0.62;
    transform: scale(0.98) skewX(11deg) rotate(-4deg);
  }
}

@keyframes trippy-text {
  0%,
  100% {
    background-position: 0% 50%;
    transform: skewX(-2deg) translateY(0);
  }

  33% {
    background-position: 100% 50%;
    transform: skewX(2deg) translateY(-0.025em);
  }

  66% {
    background-position: 48% 50%;
    transform: skewX(-4deg) translateY(0.018em);
  }
}

@keyframes readable-text-shift {
  0%,
  100% {
    transform: skewX(-1deg) translateY(0);
  }

  40% {
    transform: skewX(1.5deg) translateY(-0.018em);
  }

  70% {
    transform: skewX(-2deg) translateY(0.012em);
  }
}

@keyframes lab-sweep {
  0%,
  100% {
    transform: translateX(-42%);
    opacity: 0.42;
  }

  50% {
    transform: translateX(42%);
    opacity: 0.72;
  }
}

@keyframes lab-wash-fade {
  0%,
  100% {
    opacity: 0.74;
  }

  30% {
    opacity: 0.12;
  }

  50% {
    opacity: 0;
  }

  70% {
    opacity: 0.18;
  }
}

@keyframes molecule-float-a {
  from {
    transform: translate3d(-1.2rem, 0.5rem, 0) rotate(-4deg);
  }

  to {
    transform: translate3d(1rem, -1rem, 0) rotate(5deg);
  }
}

@keyframes molecule-float-b {
  from {
    transform: translate3d(1rem, -0.5rem, 0) rotate(5deg);
  }

  to {
    transform: translate3d(-1.1rem, 1rem, 0) rotate(-4deg);
  }
}

@keyframes chemical-drift-a {
  0%,
  100% {
    transform: translate3d(-2.2rem, 0.8rem, 0) rotate(-5deg);
  }

  42% {
    transform: translate3d(2.4rem, -1.4rem, 0) rotate(4deg);
  }

  72% {
    transform: translate3d(0.4rem, 1.6rem, 0) rotate(-1deg);
  }
}

@keyframes chemical-drift-b {
  0%,
  100% {
    transform: translate3d(2rem, -0.8rem, 0) rotate(4deg);
  }

  38% {
    transform: translate3d(-2rem, 1.3rem, 0) rotate(-4deg);
  }

  68% {
    transform: translate3d(-0.2rem, -1.7rem, 0) rotate(1deg);
  }
}

@keyframes chemical-drift-c {
  0%,
  100% {
    transform: translate3d(-1.8rem, -0.7rem, 0) rotate(3deg);
  }

  45% {
    transform: translate3d(2.1rem, 1.2rem, 0) rotate(-3deg);
  }

  76% {
    transform: translate3d(-0.3rem, 1.9rem, 0) rotate(2deg);
  }
}

@keyframes chemical-drift-d {
  0%,
  100% {
    transform: translate3d(1.8rem, 0.6rem, 0) rotate(-4deg);
  }

  44% {
    transform: translate3d(-2.2rem, -1.2rem, 0) rotate(3deg);
  }

  70% {
    transform: translate3d(0.6rem, -1.8rem, 0) rotate(-1deg);
  }
}

@keyframes chemical-drift-e {
  0%,
  100% {
    transform: translate3d(-1.2rem, -0.7rem, 0) rotate(-2deg);
  }

  50% {
    transform: translate3d(1.4rem, 1rem, 0) rotate(2deg);
  }

  78% {
    transform: translate3d(-0.4rem, 1.5rem, 0) rotate(-1deg);
  }
}

@keyframes gear-drift-a {
  0%,
  100% {
    transform: translate3d(-0.4rem, 0.4rem, 0) rotate(-1deg);
  }

  50% {
    transform: translate3d(0.6rem, -0.5rem, 0) rotate(1deg);
  }
}

@keyframes gear-drift-b {
  0%,
  100% {
    transform: translate3d(0.5rem, -0.2rem, 0) rotate(1deg);
  }

  50% {
    transform: translate3d(-0.5rem, 0.6rem, 0) rotate(-1deg);
  }
}

@keyframes lab-reflection {
  from {
    background-position: -12rem 0, 0 0;
  }

  to {
    background-position: 14rem 0, 24px 0;
  }
}

@keyframes reagent-slosh {
  0% {
    transform: translate3d(-3%, 6%, 0) scaleX(1.08);
    border-radius: 58% 42% 0 0;
  }

  50% {
    transform: translate3d(2%, -8%, 0) scaleX(1.14);
    border-radius: 42% 58% 0 0;
  }

  100% {
    transform: translate3d(4%, 4%, 0) scaleX(1.08);
    border-radius: 64% 36% 0 0;
  }
}

@keyframes lab-button-scan {
  from {
    transform: translateX(-120%);
  }

  to {
    transform: translateX(680%);
  }
}

@keyframes bubble-rise {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    opacity: 0.34;
    transform: translateY(0);
  }

  42% {
    opacity: 0.82;
  }

  100% {
    background-position: 0 -5.4rem, 0 -4.4rem, 0 -6rem, 0 -5rem, 0 -4.9rem, 0 -5.7rem, 0 -4.6rem;
    opacity: 0.18;
    transform: translateY(-0.65rem);
  }
}

@keyframes reagent-haze {
  from {
    transform: translate3d(-2%, 2%, 0) rotate(-4deg) scale(1);
  }

  to {
    transform: translate3d(2%, -2%, 0) rotate(4deg) scale(1.08);
  }
}

@keyframes reagent-edge {
  from {
    transform: translateX(-3%) scaleX(0.96);
  }

  to {
    transform: translateX(3%) scaleX(1.04);
  }
}

/* Retrofuture lab entry override */
.lab-entry-shell {
  --cycle-a: #2fd9ff;
  --cycle-b: #d8ff4f;
  --cycle-c: #ffb000;
  --cycle-d: #ff3d2e;
  --cycle-e: #c94cff;
  --phase: 0deg;
  background:
    radial-gradient(circle at 50% 48%, color-mix(in srgb, var(--cycle-a) 16%, transparent), transparent 24rem),
    conic-gradient(
      from var(--phase) at 50% 52%,
      transparent 0deg 24deg,
      color-mix(in srgb, var(--cycle-a) 6%, transparent) 44deg,
      transparent 64deg 126deg,
      color-mix(in srgb, var(--cycle-b) 5%, transparent) 152deg,
      transparent 180deg 236deg,
      color-mix(in srgb, var(--cycle-e) 5%, transparent) 268deg,
      transparent 308deg 360deg
    ),
    radial-gradient(circle at 72% 34%, color-mix(in srgb, var(--cycle-b) 10%, transparent), transparent 18rem),
    radial-gradient(circle at 24% 68%, color-mix(in srgb, var(--cycle-e) 8%, transparent), transparent 20rem),
    linear-gradient(180deg, #030607 0%, #000 72%);
  animation:
    phase-turn 30s linear infinite;
}

.lab-entry-shell::before {
  background:
    linear-gradient(90deg, transparent, color-mix(in srgb, var(--cycle-b) 12%, transparent), transparent),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 5px);
}

.lab-grid path {
  stroke: color-mix(in srgb, var(--cycle-a) 16%, transparent);
}

.lab-molecule {
  fill: color-mix(in srgb, var(--cycle-b) 10%, transparent);
  stroke: color-mix(in srgb, var(--cycle-b) 36%, transparent);
}

.lab-chemical {
  stroke: color-mix(in srgb, var(--cycle-b) 34%, transparent);
  filter: drop-shadow(0 0 13px color-mix(in srgb, var(--cycle-b) 17%, transparent));
}

.lab-chemical circle {
  fill: color-mix(in srgb, var(--cycle-b) 28%, transparent);
  stroke: color-mix(in srgb, var(--cycle-a) 40%, transparent);
}

.lab-chemical-psilocybin,
.lab-chemical-dmt {
  stroke: color-mix(in srgb, var(--cycle-a) 30%, transparent);
}

.lab-chemical-center {
  stroke: color-mix(in srgb, var(--cycle-a) 24%, transparent);
}

.lab-chemical-mescaline {
  stroke: color-mix(in srgb, var(--cycle-e) 25%, transparent);
}

.lab-waveform {
  stroke: var(--cycle-a);
}

.lab-gear {
  fill: color-mix(in srgb, var(--cycle-a) 7%, transparent);
  stroke: color-mix(in srgb, var(--cycle-a) 32%, transparent);
}

.lab-console-top,
.lab-readouts {
  border-color: color-mix(in srgb, var(--cycle-a) 34%, transparent);
  box-shadow: inset 0 0 1.2rem color-mix(in srgb, var(--cycle-a) 12%, transparent);
}

.lab-console-top span,
.lab-readouts span {
  border-right-color: color-mix(in srgb, var(--cycle-a) 24%, transparent);
}

.lab-console-top span:nth-child(3),
.lab-readouts span:nth-child(3),
.lab-button-subtext {
  color: color-mix(in srgb, var(--cycle-b) 90%, #f3eee5 12%);
}

.lab-enter-button {
  border-color: color-mix(in srgb, var(--cycle-b) 74%, #f3eee5 12%);
  background:
    radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--cycle-a) 14%, transparent), transparent 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 34%),
    rgba(1, 18, 20, 0.54);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--cycle-a) 35%, transparent),
    0 0 2rem color-mix(in srgb, var(--cycle-a) 34%, transparent),
    0 0 4.8rem color-mix(in srgb, var(--cycle-b) 22%, transparent),
    inset 0 0 2rem color-mix(in srgb, var(--cycle-a) 15%, transparent),
    inset 0 -2rem 3.4rem rgba(0, 0, 0, 0.72);
}

.lab-enter-button::after {
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(255, 255, 255, 0.14) 10%, transparent 14% 100%),
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--cycle-a) 12%, transparent) 0 1px, transparent 1px 16px);
}

.lab-reagent {
  background:
    radial-gradient(ellipse 32% 62% at 22% 2%, rgba(255, 255, 255, 0.28), transparent 60%),
    radial-gradient(ellipse 38% 58% at 74% 8%, color-mix(in srgb, var(--cycle-a) 48%, transparent), transparent 62%),
    linear-gradient(90deg, color-mix(in srgb, var(--cycle-b) 88%, transparent), color-mix(in srgb, var(--cycle-a) 76%, transparent), color-mix(in srgb, var(--cycle-c) 62%, transparent));
  box-shadow: 0 -1rem 2rem color-mix(in srgb, var(--cycle-b) 22%, transparent);
}

.lab-scan {
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--cycle-a) 24%, transparent), color-mix(in srgb, var(--cycle-b) 28%, transparent), transparent);
}

.lab-ticks {
  background:
    repeating-linear-gradient(90deg, rgba(243, 238, 229, 0.2) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(0deg, transparent 0 17px, color-mix(in srgb, var(--cycle-b) 14%, transparent) 18px 19px);
}

.lab-button-text {
  text-shadow:
    0 0 0.25rem #000,
    0 0 0.85rem #000,
    0 0 1.8rem color-mix(in srgb, var(--cycle-a) 58%, transparent),
    0 0 2.8rem color-mix(in srgb, var(--cycle-b) 32%, transparent);
}

.lab-enter-button:hover,
.lab-enter-button:focus-visible {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--cycle-b) 52%, transparent),
    0 0 2.4rem color-mix(in srgb, var(--cycle-a) 48%, transparent),
    0 0 5.2rem color-mix(in srgb, var(--cycle-b) 34%, transparent),
    inset 0 0 2.4rem color-mix(in srgb, var(--cycle-a) 22%, transparent);
}

@keyframes phase-turn {
  to {
    --phase: 360deg;
  }
}

@media (max-width: 700px) {
  .lab-console {
    gap: 0.72rem;
    width: min(100%, 24rem);
  }

  .lab-console-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lab-console-top span,
  .lab-readouts span {
    padding: 0.58rem 0.54rem;
    font-size: 0.72rem;
    line-height: 1.12;
  }

  .lab-console-top span:first-child {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--cycle-a) 24%, transparent);
    font-size: 0.98rem;
  }

  .lab-readouts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lab-readouts span:nth-child(1),
  .lab-readouts span:nth-child(2) {
    border-bottom: 1px solid color-mix(in srgb, var(--cycle-a) 24%, transparent);
  }

  .lab-readouts span:nth-child(2) {
    border-right: 0;
  }

  .lab-readouts span:last-child {
    font-size: 0.72rem;
  }

  .lab-chemical {
    opacity: 0.3;
    scale: 0.55;
  }

  .lab-chemical-center {
    opacity: 0.4;
    scale: 0.52;
  }

  .lab-chamber {
    padding: 0.72rem;
  }

  .lab-corner {
    width: 1.65rem;
    height: 1.65rem;
  }

  .lab-orbit,
  .lab-meter {
    display: none;
  }

  .lab-enter-button {
    min-height: 8.2rem;
    border-radius: 14px;
  }

  .lab-button-text {
    font-size: clamp(4rem, 18vw, 5.5rem);
  }

  .lab-button-subtext {
    bottom: 0.66rem;
    font-size: 1rem;
  }
}

/* Warm party entry override */
.entry-photo {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.96;
  filter: saturate(0.94) contrast(1.02) brightness(0.82);
  pointer-events: none;
}

.entry-lasers {
  position: absolute;
  z-index: 2;
  inset: -8%;
  background:
    linear-gradient(19deg, transparent 0 43%, rgba(87, 236, 255, 0.38) 43.3% 43.7%, transparent 44.2%),
    linear-gradient(153deg, transparent 0 48%, rgba(255, 88, 218, 0.26) 48.3% 48.7%, transparent 49.2%),
    linear-gradient(166deg, transparent 0 51%, rgba(255, 191, 96, 0.22) 51.2% 51.55%, transparent 52%),
    linear-gradient(32deg, transparent 0 57%, rgba(124, 255, 179, 0.18) 57.2% 57.5%, transparent 58%);
  filter: blur(0.6px) drop-shadow(0 0 0.85rem rgba(87, 236, 255, 0.32));
  mix-blend-mode: screen;
  opacity: 0.54;
  pointer-events: none;
  transform-origin: center;
  animation: entry-laser-breathe 8.5s ease-in-out infinite alternate;
}

.lab-entry-shell {
  --cycle-a: #73d8d0;
  --cycle-b: #ffc36d;
  --cycle-c: #ff9f58;
  --cycle-d: #b95a45;
  --cycle-e: #8d6ee8;
  padding: clamp(1rem, 3vw, 2rem);
  background: #050302;
  animation: none;
}

.lab-entry-shell::before {
  z-index: 2;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 180, 96, 0.18), transparent 23rem),
    radial-gradient(circle at 78% 70%, rgba(115, 216, 208, 0.1), transparent 24rem),
    repeating-linear-gradient(0deg, rgba(255, 245, 224, 0.018) 0 1px, transparent 1px 6px);
  opacity: 0.45;
  animation: none;
}

.lab-entry-shell::after {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.48) 0%, transparent 34%, rgba(0, 0, 0, 0.2) 100%),
    radial-gradient(ellipse at center, transparent 0 38%, rgba(0, 0, 0, 0.4) 84%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.54));
}

.lab-background {
  z-index: 1;
  opacity: 0.2;
  mix-blend-mode: screen;
}

.lab-color-wash {
  z-index: 2;
  opacity: 0.12;
}

.lab-color-wash span {
  background:
    radial-gradient(circle at 20% 24%, rgba(255, 195, 109, 0.16), transparent 28rem),
    radial-gradient(circle at 74% 58%, rgba(115, 216, 208, 0.12), transparent 24rem),
    radial-gradient(circle at 42% 76%, rgba(255, 159, 88, 0.1), transparent 24rem);
  animation-duration: 60s;
}

.lab-console {
  width: min(50rem, calc(100vw - 2rem));
  gap: 1.1rem;
}

.entry-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  width: min(100%, 42rem);
  margin: 0 auto -0.15rem;
}

.entry-production {
  color: rgba(255, 246, 232, 0.86);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 2vw, 1.42rem);
  line-height: 1;
  text-shadow:
    0 0 0.4rem #000,
    0 0 1.2rem rgba(255, 195, 109, 0.2);
}

.entry-vibe-stack {
  display: grid;
  gap: 0.42rem;
  justify-items: center;
  min-width: 8rem;
  color: #fff4df;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
  text-shadow:
    0 0 0.45rem #000,
    0 0 1rem rgba(255, 195, 109, 0.26);
}

.entry-vibe-stack span:first-child {
  color: #ffc36d;
}

.entry-vibe-stack i {
  display: block;
  width: min(7.2rem, 100%);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 195, 109, 0.92), rgba(87, 236, 255, 0.62), transparent);
  box-shadow:
    0 0 0.55rem rgba(255, 195, 109, 0.42),
    0 0 1rem rgba(87, 236, 255, 0.18);
}

.lab-console-top,
.lab-readouts {
  border-color: rgba(255, 195, 109, 0.26);
  background: rgba(11, 7, 4, 0.5);
  box-shadow:
    inset 0 0 1.1rem rgba(255, 195, 109, 0.07),
    0 1rem 3rem rgba(0, 0, 0, 0.26);
}

.lab-console-top span,
.lab-readouts span {
  border-right-color: rgba(255, 195, 109, 0.18);
  color: rgba(255, 246, 232, 0.84);
}

.lab-console-top span:nth-child(3),
.lab-readouts span:nth-child(3),
.lab-button-subtext {
  color: #ffc36d;
}

.lab-chamber {
  padding: 0;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.lab-chamber::before {
  display: none;
}

.lab-chamber::after,
.lab-orbit,
.lab-meter {
  display: none;
}

.lab-corner {
  display: none;
}

.lab-chemical,
.lab-gear,
.lab-waveform {
  opacity: 0.24;
  filter: none;
}

.lab-enter-button {
  width: min(100%, 41rem);
  min-height: clamp(10.2rem, 18vw, 12.8rem);
  border-color: rgba(255, 195, 109, 0.62);
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 50% 4%, rgba(255, 246, 232, 0.18), transparent 42%),
    radial-gradient(ellipse at 50% 86%, rgba(255, 195, 109, 0.2), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.34)),
    rgba(14, 9, 5, 0.3);
  box-shadow:
    0 0 0 1px rgba(115, 216, 208, 0.12),
    0 1.5rem 4.5rem rgba(0, 0, 0, 0.5),
    0 0 3.6rem rgba(255, 195, 109, 0.2),
    inset 0 0 2.2rem rgba(255, 195, 109, 0.08),
    inset 0 0 0 1px rgba(255, 246, 232, 0.14);
  backdrop-filter: blur(8px);
}

.lab-enter-button::before {
  inset: 0.72rem;
  border-color: rgba(255, 246, 232, 0.16);
  border-radius: inherit;
}

.lab-enter-button::after {
  border-radius: inherit;
  opacity: 0.18;
  animation-duration: 8s;
}

.lab-button-glass::before {
  opacity: 0.28;
  animation-duration: 12s;
}

.lab-button-glass::after {
  opacity: 0.22;
  filter: blur(18px);
}

.lab-reagent {
  bottom: -64%;
  height: 70%;
  background:
    radial-gradient(ellipse 32% 62% at 22% 2%, rgba(255, 246, 232, 0.22), transparent 60%),
    radial-gradient(ellipse 38% 58% at 74% 8%, rgba(115, 216, 208, 0.22), transparent 62%),
    linear-gradient(90deg, rgba(255, 195, 109, 0.58), rgba(255, 159, 88, 0.5), rgba(115, 216, 208, 0.32));
  box-shadow: 0 -1rem 2rem rgba(255, 195, 109, 0.12);
  opacity: 0.72;
  animation-duration: 10s;
}

.lab-scan {
  background: linear-gradient(90deg, transparent, rgba(255, 195, 109, 0.12), rgba(115, 216, 208, 0.1), transparent);
  opacity: 0.5;
  animation-duration: 6.5s;
}

.lab-ticks {
  display: none;
}

.lab-button-text {
  max-width: 88%;
  color: #fff4df;
  font-size: clamp(1.95rem, 5vw, 3.45rem);
  line-height: 0.92;
  text-transform: uppercase;
  transform: translateY(-0.45rem);
  -webkit-text-stroke: 0.8px rgba(0, 0, 0, 0.78);
  text-shadow:
    0 0 0.35rem #000,
    0 0 1rem rgba(0, 0, 0, 0.82),
    0 0 1.6rem rgba(255, 195, 109, 0.24);
}

.lab-button-subtext {
  bottom: 1.1rem;
  color: #ffc36d;
  font-size: 0.95rem;
  text-shadow:
    0 0 0.35rem #000,
    0 0 0.8rem rgba(255, 195, 109, 0.22);
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.54rem 0;
  width: min(100%, 42rem);
  margin: -0.1rem auto 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.entry-meta span {
  position: relative;
  border: 0;
  padding: 0 0.7rem;
  color: rgba(255, 246, 232, 0.86);
  font-size: 0.82rem;
  text-shadow:
    0 0 0.4rem #000,
    0 0 1rem rgba(255, 195, 109, 0.2);
}

.entry-meta span + span::before {
  content: "/";
  position: absolute;
  left: -0.18rem;
  color: rgba(255, 195, 109, 0.78);
}

.lab-enter-button:hover,
.lab-enter-button:focus-visible {
  border-color: rgba(255, 246, 232, 0.7);
  box-shadow:
    0 0 0 1px rgba(255, 195, 109, 0.3),
    0 1.4rem 4rem rgba(0, 0, 0, 0.42),
    0 0 3rem rgba(255, 195, 109, 0.22),
    inset 0 0 2rem rgba(255, 195, 109, 0.12);
}

@keyframes entry-laser-breathe {
  from {
    opacity: 0.36;
    transform: translate3d(-1%, 0, 0) rotate(-0.6deg);
  }

  to {
    opacity: 0.62;
    transform: translate3d(1%, -0.4%, 0) rotate(0.7deg);
  }
}

@media (max-width: 700px) {
  .entry-photo {
    object-position: 30% center;
    filter: saturate(0.92) contrast(1.02) brightness(0.72);
  }

  .entry-lasers {
    inset: -18%;
    opacity: 0.44;
    background:
      linear-gradient(23deg, transparent 0 43%, rgba(87, 236, 255, 0.36) 43.4% 43.9%, transparent 44.6%),
      linear-gradient(150deg, transparent 0 50%, rgba(255, 88, 218, 0.24) 50.4% 50.9%, transparent 51.6%),
      linear-gradient(166deg, transparent 0 56%, rgba(255, 191, 96, 0.18) 56.2% 56.6%, transparent 57.2%);
  }

  .lab-entry-shell {
    padding: 0.9rem;
  }

  .lab-console {
    width: min(100%, 24rem);
    gap: 1rem;
  }

  .entry-intro {
    align-items: center;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 0;
  }

  .entry-production {
    font-size: 1.08rem;
  }

  .entry-vibe-stack {
    gap: 0.38rem;
    font-size: 0.7rem;
  }

  .lab-console-top span,
  .lab-readouts span {
    font-size: 0.68rem;
  }

  .lab-button-text {
    font-size: clamp(1.55rem, 8.3vw, 2.24rem);
    line-height: 0.94;
    transform: translateY(-0.32rem);
  }

  .lab-button-subtext {
    bottom: 0.9rem;
    font-size: 0.78rem;
  }

  .entry-meta {
    gap: 0.46rem 0;
    width: min(100%, 21rem);
  }

  .entry-meta span {
    padding: 0 0.54rem;
    font-size: 0.7rem;
  }
}

body::selection {
  background: var(--acid);
  color: #111;
}

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

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

code {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.1rem 0.28rem;
  background: rgba(255, 255, 255, 0.07);
  color: var(--acid);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.86em;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0));
}

.brand-mark {
  font-family: var(--serif);
  font-size: 1.36rem;
  line-height: 1;
}

.brand-lockup {
  display: inline-flex;
  align-items: baseline;
  gap: 0.48rem;
}

.brand-presents {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.24rem;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
}

.nav-links a {
  border-radius: 999px;
  padding: 0.48rem 0.75rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
  outline: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 84vh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-image,
.hero-scrim,
.hero-content,
.event-rail {
  grid-area: 1 / 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 84vh;
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.58) 34%, rgba(0, 0, 0, 0.04) 84%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.06) 42%);
}

.hero-content {
  position: relative;
  align-self: end;
  max-width: 760px;
  padding: 9rem 1.25rem 8rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.8rem;
  color: var(--acid);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 300;
}

h1 {
  margin-bottom: 0.35rem;
  font-size: 5.8rem;
  line-height: 0.88;
}

.event-name {
  margin-bottom: 1.25rem;
  color: var(--cyan);
  font-size: 1.5rem;
  font-weight: 800;
}

.hero-copy {
  max-width: 580px;
  margin-bottom: 1.6rem;
  color: var(--ink);
  font-size: 1.12rem;
}

.hero-actions,
.ticket-copy .button {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.82rem 1rem;
  font-weight: 850;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button svg {
  width: 1.05rem;
  height: 1.05rem;
  margin-right: 0.5rem;
  stroke-width: 2.2;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  background: var(--red);
  color: #120807;
  box-shadow: 0 1rem 2.4rem rgba(255, 61, 46, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ff675c;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(0, 0, 0, 0.32);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--cyan);
}

.event-rail {
  align-self: end;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1060px, calc(100% - 2.5rem));
  margin: 0 auto 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.56);
  box-shadow: 0 1.5rem 3rem var(--shadow);
  backdrop-filter: blur(18px);
}

.event-rail span {
  min-width: 0;
  border-right: 1px solid var(--line);
  padding: 0.95rem;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 850;
  text-transform: uppercase;
}

.event-rail span:last-child {
  border-right: 0;
  color: var(--acid);
}

.countdown-band,
.ticket-section,
.details-section,
.site-footer {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.ticket-section,
.details-section {
  scroll-margin-top: 5.5rem;
}

.countdown-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

.countdown-band h2 {
  margin: 0;
  font-size: 2.5rem;
  line-height: 1;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(3, 6.4rem);
  gap: 0.75rem;
}

.countdown div {
  min-height: 6.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.8rem;
  background: #0d0e0f;
  text-align: center;
}

.countdown strong {
  display: block;
  color: var(--cyan);
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 300;
  line-height: 1;
}

.countdown span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ticket-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  gap: 2rem;
  align-items: start;
  padding: 5rem 0;
}

.ticket-copy h2,
.details-section h2 {
  margin-bottom: 1rem;
  font-size: 3.25rem;
  line-height: 0.98;
}

.ticket-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.02rem;
}

.price-lockup {
  display: flex;
  align-items: end;
  gap: 1rem;
  margin: 1.65rem 0;
}

.price-lockup span {
  color: var(--acid);
  font-family: var(--serif);
  font-size: 4.4rem;
  line-height: 0.9;
}

.price-lockup p {
  margin: 0 0 0.35rem;
  color: var(--ink);
  font-weight: 850;
  text-transform: uppercase;
}

.checkout-panel,
.detail-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
}

.checkout-panel {
  padding: 1.15rem;
  box-shadow: 0 1.5rem 3rem var(--shadow);
}

.checkout-header {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.checkout-header svg {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  color: var(--cyan);
}

.checkout-header h3 {
  margin-bottom: 0.1rem;
  font-size: 1rem;
  text-transform: uppercase;
}

.checkout-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.checkout-list {
  padding: 0.9rem 0;
}

.checkout-list p {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  border-bottom: 1px solid rgba(243, 238, 229, 0.1);
  padding: 0.78rem 0;
}

.checkout-list p:last-child {
  border-bottom: 0;
}

.checkout-list span {
  color: var(--muted);
}

.checkout-list strong {
  text-align: right;
}

.ticket-widget-slot {
  border: 1px dashed rgba(216, 255, 79, 0.48);
  border-radius: 8px;
  padding: 1rem;
  background: rgba(216, 255, 79, 0.05);
}

.ticket-widget-slot p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.detail-card {
  min-height: 12.5rem;
  padding: 1.1rem;
}

.detail-card svg {
  width: 1.5rem;
  height: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--red);
}

.detail-card h3 {
  margin-bottom: 0.45rem;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.detail-card p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2.2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--acid);
  font-weight: 850;
  text-transform: uppercase;
}

.admin-login {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) minmax(8rem, 1fr) auto;
  align-items: end;
  gap: 0.65rem;
  width: min(100%, 34rem);
}

.admin-login label,
.analytics-login-form label {
  display: grid;
  gap: 0.32rem;
  min-width: 0;
}

.admin-login label span,
.analytics-login-form label span {
  color: rgba(243, 238, 229, 0.58);
  font-size: 0.66rem;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-login input,
.analytics-login-form input {
  width: 100%;
  border: 1px solid rgba(47, 217, 255, 0.28);
  border-radius: 6px;
  padding: 0.74rem 0.78rem;
  background: rgba(0, 12, 14, 0.7);
  color: var(--ink);
  font: inherit;
  outline: none;
}

.admin-login input:focus,
.analytics-login-form input:focus {
  border-color: var(--acid);
  box-shadow: 0 0 0 1px rgba(216, 255, 79, 0.24);
}

.admin-login .button {
  min-height: 2.9rem;
  padding: 0.75rem 0.9rem;
}

.admin-login-status {
  grid-column: 1 / -1;
  min-height: 1.1rem;
  margin: 0;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 850;
  text-align: right;
}

.analytics-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 20%, rgba(47, 217, 255, 0.1), transparent 28rem),
    radial-gradient(circle at 82% 72%, rgba(216, 255, 79, 0.08), transparent 22rem),
    #050505;
}

.analytics-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 2rem;
}

.analytics-login-panel,
.analytics-dashboard {
  width: min(100%, 64rem);
}

.analytics-login-panel {
  max-width: 28rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.35rem;
  background: rgba(13, 14, 15, 0.84);
  box-shadow: 0 1.8rem 5rem rgba(0, 0, 0, 0.5);
}

.analytics-login-panel h1,
.analytics-dashboard h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 300;
  line-height: 0.95;
}

.analytics-login-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.analytics-login-form .button {
  justify-content: center;
}

.analytics-dashboard[hidden],
.analytics-login-panel[hidden] {
  display: none;
}

.analytics-dashboard {
  display: grid;
  gap: 1rem;
}

.analytics-topbar,
.analytics-card,
.analytics-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 14, 15, 0.78);
  box-shadow: inset 0 0 1.8rem rgba(47, 217, 255, 0.06);
  backdrop-filter: blur(14px);
}

.analytics-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem;
}

.analytics-actions {
  display: flex;
  gap: 0.65rem;
}

.analytics-actions .button {
  padding: 0.82rem 0.95rem;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.analytics-card {
  min-height: 11rem;
  padding: 1rem;
}

.analytics-card span,
.analytics-list dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.analytics-card strong {
  display: block;
  margin: 0.8rem 0 0.65rem;
  color: var(--acid);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 300;
  line-height: 0.85;
}

.analytics-card p,
.analytics-panel p,
.analytics-list dd {
  margin: 0;
  color: var(--muted);
}

.analytics-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  padding: 1.15rem;
}

.analytics-panel h2 {
  margin: 0 0 0.45rem;
  font-size: 2.1rem;
}

.analytics-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.analytics-list div {
  display: grid;
  grid-template-columns: minmax(8rem, 0.55fr) 1fr;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.7rem;
}

.analytics-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.event-page {
  background:
    radial-gradient(circle at 52% 18%, rgba(47, 217, 255, 0.12), transparent 27rem),
    radial-gradient(circle at 82% 64%, rgba(216, 255, 79, 0.08), transparent 25rem),
    linear-gradient(180deg, #030607 0%, #000 72%);
  overflow-x: hidden;
}

.event-page::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.024) 0 1px, transparent 1px 5px),
    linear-gradient(90deg, transparent, rgba(216, 255, 79, 0.045), transparent);
  opacity: 0.62;
  pointer-events: none;
}

.event-page .site-header {
  border-bottom: 1px solid rgba(47, 217, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(0, 9, 10, 0.92), rgba(0, 9, 10, 0.48)),
    rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.event-page .brand-mark {
  color: #f6f1e7;
  text-shadow:
    0 0 0.8rem rgba(47, 217, 255, 0.35),
    0 0 1.4rem rgba(216, 255, 79, 0.18);
}

.event-page .brand-presents {
  color: var(--acid);
  text-shadow: 0 0 0.8rem rgba(216, 255, 79, 0.28);
}

.event-page .nav-links {
  border-color: rgba(47, 217, 255, 0.32);
  border-radius: 8px;
  background: rgba(0, 12, 14, 0.68);
  box-shadow: inset 0 0 1rem rgba(47, 217, 255, 0.08);
}

.event-page .nav-links a {
  border-radius: 6px;
  color: rgba(243, 238, 229, 0.82);
}

.event-page .nav-links a:hover,
.event-page .nav-links a:focus-visible {
  background: rgba(47, 217, 255, 0.12);
  color: var(--acid);
}

.event-page .hero {
  min-height: 94vh;
  border-bottom-color: rgba(47, 217, 255, 0.22);
  background: #000;
  isolation: isolate;
}

.event-page .hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 0 38%, rgba(0, 0, 0, 0.66) 78%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 5px);
  pointer-events: none;
}

.event-page .hero-image {
  min-height: 94vh;
  filter: saturate(0.84) contrast(1.08) brightness(0.68);
  transform: scale(1.02);
}

.event-page .hero-scrim {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 14, 16, 0.74) 42%, rgba(0, 0, 0, 0.24) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.08) 52%),
    radial-gradient(circle at 62% 44%, rgba(47, 217, 255, 0.16), transparent 28rem),
    radial-gradient(circle at 24% 68%, rgba(216, 255, 79, 0.12), transparent 20rem);
}

.hero-lab-grid {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
  pointer-events: none;
  background:
    linear-gradient(rgba(47, 217, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 217, 255, 0.1) 1px, transparent 1px);
  background-size: 10rem 10rem;
  opacity: 0.45;
  mask: linear-gradient(90deg, #000 0 72%, transparent 100%);
}

.event-page .hero-content {
  z-index: 3;
  align-self: center;
  max-width: 760px;
  padding: 8rem 1.25rem 7rem;
}

.event-page .eyebrow,
.event-page .section-kicker {
  color: var(--acid);
}

.event-page h1 {
  color: #f6f1e7;
  text-shadow:
    0 0 0.35rem #000,
    0 0 1.4rem rgba(47, 217, 255, 0.55),
    0 0 3rem rgba(216, 255, 79, 0.22);
}

.event-page .event-name {
  color: color-mix(in srgb, var(--cyan) 82%, #f6f1e7 18%);
}

.event-page .hero-copy {
  color: rgba(243, 238, 229, 0.9);
}

.event-page .button {
  border-radius: 8px;
}

.event-page .button-primary {
  border-color: color-mix(in srgb, var(--acid) 72%, #f3eee5 12%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 42%),
    var(--acid);
  color: #071111;
  box-shadow:
    0 0 0 1px rgba(47, 217, 255, 0.28),
    0 0 2rem rgba(216, 255, 79, 0.28);
}

.event-page .button-primary:hover,
.event-page .button-primary:focus-visible {
  background: #ecff8d;
}

.event-page .button-secondary {
  border-color: rgba(47, 217, 255, 0.34);
  background: rgba(0, 18, 20, 0.58);
  color: var(--ink);
  box-shadow: inset 0 0 1rem rgba(47, 217, 255, 0.06);
}

.event-page .event-rail,
.event-page .countdown-band,
.event-page .checkout-panel,
.event-page .detail-card,
.event-page .site-footer {
  border-color: rgba(47, 217, 255, 0.3);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(0, 12, 14, 0.68);
  box-shadow:
    inset 0 0 1.6rem rgba(47, 217, 255, 0.06),
    0 1rem 3rem rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(14px);
}

.event-page .event-rail {
  z-index: 3;
}

.event-page .event-rail span,
.event-page .checkout-list p {
  border-color: rgba(47, 217, 255, 0.2);
}

.event-page .event-rail span:last-child,
.event-page .countdown strong,
.event-page .price-lockup span {
  color: var(--acid);
}

.event-page .countdown-band,
.event-page .ticket-section,
.event-page .details-section {
  position: relative;
}

.event-page .countdown-band {
  margin-top: 1.25rem;
  border: 1px solid rgba(47, 217, 255, 0.3);
  border-radius: 8px;
  padding: 2rem;
}

.event-page .countdown div {
  border-color: rgba(47, 217, 255, 0.28);
  background: rgba(0, 12, 14, 0.76);
  box-shadow: inset 0 0 1rem rgba(47, 217, 255, 0.06);
}

.event-page .ticket-section {
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.76fr);
  border-bottom: 1px solid rgba(47, 217, 255, 0.16);
}

.event-page .ticket-copy,
.event-page .section-heading {
  position: relative;
}

.event-page .ticket-copy::before,
.event-page .section-heading::before {
  content: "";
  display: block;
  width: 6rem;
  height: 2px;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--acid), transparent);
  box-shadow: 0 0 0.8rem rgba(216, 255, 79, 0.42);
}

.event-page .checkout-header svg,
.event-page .detail-card svg {
  color: var(--cyan);
  filter: drop-shadow(0 0 0.5rem rgba(47, 217, 255, 0.3));
}

.event-page .detail-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.event-page .detail-card {
  min-height: 14rem;
}

.event-page .detail-card h3,
.event-page .checkout-header h3 {
  color: rgba(243, 238, 229, 0.94);
}

.event-page .site-footer {
  margin-top: 1.5rem;
  border: 1px solid rgba(47, 217, 255, 0.26);
  border-radius: 8px 8px 0 0;
  padding: 1.25rem;
}

.event-page .admin-login input {
  border-color: rgba(47, 217, 255, 0.34);
  background: rgba(0, 12, 14, 0.76);
}

.ticket-dialog {
  width: min(440px, calc(100% - 2rem));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
  background: #111214;
  color: var(--ink);
  box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.74);
}

.ticket-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.ticket-dialog h2 {
  margin-bottom: 0.65rem;
  font-size: 2rem;
}

.ticket-dialog p {
  margin-bottom: 0;
  color: var(--muted);
}

.dialog-close {
  float: right;
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.dialog-close svg {
  width: 1rem;
  height: 1rem;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    max-width: 62%;
    overflow-x: auto;
  }

  h1 {
    font-size: 4.2rem;
  }

  .hero-content {
    padding-bottom: 7rem;
  }

  .event-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-rail span:nth-child(2) {
    border-right: 0;
  }

  .event-rail span:nth-child(1),
  .event-rail span:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .countdown-band,
  .ticket-section,
  .analytics-panel {
    grid-template-columns: 1fr;
  }

  .event-page .ticket-section {
    grid-template-columns: 1fr;
  }

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

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

  .event-page .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    flex-direction: column;
  }

  .admin-login {
    grid-template-columns: 1fr;
  }

  .admin-login-status {
    text-align: left;
  }

  .analytics-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 560px) {
  .site-header {
    padding: 0.85rem;
  }

  .brand-mark {
    font-size: 1.1rem;
  }

  .brand-lockup {
    gap: 0.34rem;
  }

  .brand-presents {
    font-size: 0.52rem;
  }

  .nav-links a {
    padding: 0.42rem 0.58rem;
    font-size: 0.68rem;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-image {
    min-height: 88vh;
    object-position: 61% center;
  }

  .hero-content {
    padding: 7.2rem 1rem 7.4rem;
  }

  h1 {
    font-size: 3.35rem;
  }

  .event-name {
    font-size: 1.2rem;
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .button {
    width: 100%;
  }

  .event-rail,
  .countdown-band,
  .ticket-section,
  .details-section,
  .site-footer {
    width: calc(100% - 1.5rem);
  }

  .event-rail span {
    padding: 0.72rem 0.5rem;
    font-size: 0.75rem;
  }

  .countdown-band {
    padding: 2.2rem 0;
  }

  .countdown-band h2,
  .ticket-copy h2,
  .details-section h2 {
    font-size: 2.35rem;
  }

  .countdown {
    gap: 0.5rem;
  }

  .countdown div {
    min-height: 5.35rem;
    padding: 0.65rem 0.35rem;
  }

  .countdown strong {
    font-size: 1.7rem;
  }

  .ticket-section {
    padding: 3.5rem 0;
  }

  .price-lockup {
    align-items: start;
    flex-direction: column;
  }

  .price-lockup span {
    font-size: 3.3rem;
  }

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

  .event-page .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-card {
    min-height: 10rem;
  }

  .site-footer {
    flex-direction: column;
  }

  .admin-login .button,
  .analytics-actions,
  .analytics-actions .button {
    width: 100%;
  }

  .analytics-shell {
    padding: 1rem;
  }

  .analytics-login-panel,
  .analytics-topbar,
  .analytics-panel {
    padding: 1rem;
  }

  .analytics-grid,
  .analytics-list div {
    grid-template-columns: 1fr;
  }

  .analytics-actions {
    flex-direction: column;
  }
}

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

  .button {
    transition: none;
  }
}
