:root {
  color-scheme: dark;
  --ink: #05070c;
  --panel: rgba(12, 18, 28, 0.76);
  --line: rgba(255, 255, 255, 0.15);
  --text: #f8fbff;
  --muted: #c1c9d8;
  --soft: #8f99aa;
  --cyan: #20e7ff;
  --green: #72ff9d;
  --pink: #ff2f9d;
  --gold: #ffd166;
  --max: 1180px;
  --radius: 8px;
  --scroll-shift: 0px;
  --scroll-spin: 0deg;
  --flash-alpha: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 18%, rgba(32, 231, 255, 0.16), transparent 30%),
    radial-gradient(circle at 85% 8%, rgba(255, 47, 157, 0.18), transparent 28%),
    linear-gradient(135deg, #05070c 0%, #0a1120 48%, #05070c 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  background:
    linear-gradient(115deg, transparent 0 15%, rgba(32, 231, 255, 0.12) 15.2%, transparent 15.8% 50%, rgba(255, 47, 157, 0.12) 50.2%, transparent 51%),
    repeating-linear-gradient(90deg, transparent 0 86px, rgba(255, 255, 255, 0.05) 87px 88px);
  transform: translateY(calc(var(--scroll-shift) * -0.12));
}

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

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

.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--pink));
  box-shadow: 0 0 24px rgba(32, 231, 255, 0.55);
  transform: scaleX(0);
  transform-origin: left center;
}

.topbar {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 40;
  width: min(calc(100% - 32px), var(--max));
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 7, 12, 0.82);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.brand img,
.footer img {
  width: 178px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(32, 231, 255, 0.28));
}

.topbar nav,
.footer nav,
.actions,
.visit-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.topbar nav {
  justify-content: center;
}

.topbar a,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 16px;
  font-size: 14px;
  font-weight: 850;
}

.topbar nav a {
  color: var(--muted);
}

.top-cta,
.button.primary {
  color: #041018;
  background: linear-gradient(135deg, var(--green), var(--cyan) 52%, #ffffff);
  box-shadow: 0 0 24px rgba(32, 231, 255, 0.35);
}

.button.ghost {
  border: 1px solid var(--line);
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.hero {
  width: min(var(--max), calc(100% - 48px));
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  gap: 46px;
  align-items: center;
  margin: 0 auto;
  padding: 132px 0 92px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.98;
}

h1 {
  font-size: clamp(46px, 7vw, 88px);
  font-weight: 950;
  text-shadow: 0 0 34px rgba(32, 231, 255, 0.26), 0 0 46px rgba(255, 47, 157, 0.18);
}

.lede,
.spotlight p,
.visit-panel p,
.section-title p {
  color: var(--muted);
  font-size: 18px;
}

.ticket-note {
  max-width: 680px;
  margin: 24px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(114, 255, 157, 0.36);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  background: rgba(114, 255, 157, 0.09);
  color: #fff;
  font-weight: 900;
}

.ticket-note span {
  display: block;
  margin-top: 4px;
  color: #e6ecff;
  font-size: 15px;
  font-weight: 700;
}

.lede {
  max-width: 690px;
  margin: 18px 0 0;
}

.actions {
  margin-top: 30px;
}

.hero-stack {
  position: relative;
  min-height: 620px;
}

.stack-main,
.stack-card {
  position: absolute;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.stack-main {
  inset: 34px 0 auto auto;
  width: 84%;
  height: 440px;
}

.stack-card.top {
  left: 0;
  top: 0;
  width: 46%;
  height: 240px;
  animation: floatCard 6s ease-in-out infinite alternate;
}

.stack-card.bottom {
  left: 12%;
  bottom: 0;
  width: 54%;
  height: 260px;
  animation: floatCard 7s ease-in-out -2s infinite alternate;
}

.touch-lab,
.depth-section,
.faq-section,
.spotlight,
.gallery-wall,
.visit-panel {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-title {
  max-width: 780px;
  margin-bottom: 32px;
}

.section-title h2,
.spotlight h2,
.visit-panel h2 {
  max-width: 840px;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 940;
}

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

.lab-grid article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(32, 231, 255, 0.1), transparent 46%),
    rgba(255, 255, 255, 0.05);
}

.lab-grid span {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(32, 231, 255, 0.46);
  border-radius: 50%;
  color: var(--cyan);
  font-weight: 950;
}

.lab-grid h3 {
  margin-top: 48px;
  font-size: 26px;
}

.lab-grid p {
  color: var(--muted);
}

.depth-section {
  border-top: 1px solid var(--line);
}

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

.depth-grid article,
.faq-grid article,
.detail-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(114, 255, 157, 0.09), transparent 46%),
    rgba(255, 255, 255, 0.045);
}

.depth-grid h3,
.faq-grid h3,
.detail-panel h3 {
  font-size: 24px;
}

.depth-grid p,
.faq-grid p,
.detail-panel p {
  color: var(--muted);
}

.detail-panel {
  margin-top: 14px;
  background:
    linear-gradient(90deg, rgba(32, 231, 255, 0.12), transparent 44%, rgba(255, 47, 157, 0.08)),
    rgba(255, 255, 255, 0.05);
}

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

.image-river {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr 1fr;
  gap: 14px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 0 96px;
}

.image-river figure,
.wall-grid img {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.image-river img {
  width: 100%;
  height: 390px;
  object-fit: cover;
}

.image-river figure:nth-child(2) {
  transform: translateY(42px);
}

.image-river figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: #fff;
  font-weight: 900;
  text-shadow: 0 2px 18px #000;
}

.spotlight {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 44px;
  align-items: end;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(114, 255, 157, 0.1), transparent 34%, rgba(255, 47, 157, 0.1)),
    rgba(255, 255, 255, 0.02);
}

.text-link {
  grid-column: 2;
  width: max-content;
  border-bottom: 1px solid var(--cyan);
  color: #fff;
  font-weight: 900;
}

.wall-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  grid-auto-rows: 230px;
  gap: 14px;
}

.wall-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wall-grid img:nth-child(3) {
  grid-row: span 2;
}

.visit-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.footer {
  width: min(var(--max), calc(100% - 48px));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  margin: 0 auto;
  padding: 42px 0 52px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--soft);
  font-size: 13px;
}

.footer p a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(32, 231, 255, 0.6);
  text-underline-offset: 4px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatCard {
  from {
    transform: translate3d(0, 0, 0) rotate(-2deg);
  }

  to {
    transform: translate3d(12px, -14px, 0) rotate(2deg);
  }
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 180px 1fr;
  }

  .top-cta {
    grid-column: 2;
    justify-self: end;
  }

  .topbar nav {
    display: none;
  }

  .hero,
  .spotlight,
  .visit-panel {
    grid-template-columns: 1fr;
  }

  .hero-stack {
    min-height: 520px;
  }

  .lab-grid,
  .depth-grid,
  .faq-grid,
  .image-river,
  .wall-grid {
    grid-template-columns: 1fr;
  }

  .image-river figure:nth-child(2) {
    transform: none;
  }

  .wall-grid img:nth-child(3) {
    grid-row: auto;
  }

  .text-link {
    grid-column: auto;
  }

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

@media (max-width: 560px) {
  body::before {
    display: none;
  }

  .topbar {
    top: 10px;
    width: calc(100% - 20px);
    padding: 9px 10px;
    background: rgba(5, 7, 12, 0.94);
    backdrop-filter: none;
  }

  .brand img,
  .footer img {
    width: 150px;
  }

  .top-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero,
  .touch-lab,
  .depth-section,
  .faq-section,
  .spotlight,
  .gallery-wall,
  .visit-panel,
  .image-river,
  .footer {
    width: calc(100% - 36px);
  }

  .hero {
    min-height: auto;
    padding: 112px 0 64px;
  }

  .ticket-note,
  .lede,
  .spotlight p,
  .visit-panel p {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .hero-stack {
    min-height: 520px;
  }

  .stack-main {
    width: 100%;
    height: 320px;
  }

  .stack-card.top,
  .stack-card.bottom {
    position: absolute;
    width: 58%;
    height: 170px;
    animation: none;
  }
}

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