/*
  NEON CIRCUIT // GLOBAL STYLES

  This is a plain CSS project so you can open index.html directly.
  Quick editing map:

  - Change the colors in :root.
  - Change the large hero text in index.html.
  - Change card content in the experience, passes, and events sections.
  - Change mobile behavior in the media queries at the bottom.
*/

:root {
  --void: #060907;
  --void-soft: #0a100c;
  --panel: #0d1610;
  --panel-bright: #122018;
  /* Neon Circuit uses a separate cyan / pink / violet palette. */
  --accent: #27e9d0;
  --accent-soft: #b7fbf4;
  --cyan: #4fd8ff;
  --pink: #ff3bd4;
  --purple: #9d72ff;
  --ink: #f6fff1;
  --muted: #b8cbb3;
  --line: rgba(39, 233, 208, 0.2);
  --line-bright: rgba(39, 233, 208, 0.58);
  --shadow-accent: 0 0 36px rgba(39, 233, 208, 0.22);
  --shadow-cyan: 0 0 36px rgba(255, 59, 212, 0.2);
  --font-sans: "Arial Narrow", "Avenir Next", "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --radius: 4px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--void);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(6, 9, 7, 0.9), rgba(6, 9, 7, 0.96)),
    url("./assets/neon-circuit-logo-cyan-pink.png"),
    linear-gradient(rgba(39, 233, 208, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 233, 208, 0.035) 1px, transparent 1px);
  background-position: center, center 5rem, center, center;
  background-size: cover, min(980px, 92vw) auto, 64px 64px, 64px 64px;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  content: "";
  mask-image: linear-gradient(to bottom, black 0%, black 78%, transparent 100%);
  pointer-events: none;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: linear-gradient(transparent 50%, rgba(255, 255, 255, 0.014) 50%);
  background-size: 100% 4px;
  content: "";
  opacity: 0.12;
  pointer-events: none;
}

body.modal-open {
  overflow: hidden;
}

button,
a,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

::selection {
  color: var(--void);
  background: var(--accent);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
}

.section-shell {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 max(32px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid rgba(39, 233, 208, 0.12);
  background: rgba(6, 9, 7, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.08em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--void);
  background: var(--accent);
  box-shadow: 4px 4px 0 rgba(87, 231, 255, 0.4);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.83rem;
  line-height: 1;
}

.brand-copy small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.13em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav a {
  transition: color 180ms ease;
}

.main-nav a:hover {
  color: var(--accent);
}

.button,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--void);
  background: var(--accent);
  box-shadow: var(--shadow-accent);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.outline-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 44px rgba(39, 233, 208, 0.4);
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.button span,
.outline-button span,
.text-button span {
  font-size: 1rem;
  line-height: 0;
}

.button-small {
  min-height: 38px;
  padding-inline: 14px;
  font-size: 0.58rem;
}

.button-full {
  width: 100%;
}

.outline-button {
  width: 100%;
  border-color: var(--line-bright);
  color: var(--accent-soft);
  background: transparent;
  box-shadow: none;
}

.outline-button:hover {
  color: var(--void);
  background: var(--accent);
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

.text-button:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 38px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: var(--accent);
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(36px, 6vw, 100px);
  min-height: 700px;
  padding-top: 72px;
  padding-bottom: 84px;
  padding-inline: clamp(22px, 4vw, 64px);
  border: 1px solid rgba(39, 233, 208, 0.12);
  border-radius: 8px;
  background-color: var(--void);
  background-image:
    linear-gradient(90deg, rgba(6, 9, 7, 0.98) 0%, rgba(6, 9, 7, 0.88) 27%, rgba(6, 9, 7, 0.35) 67%, rgba(6, 9, 7, 0.16) 100%),
    url("./assets/neon-circuit-mascot-hero-background.png");
  background-position: center, center;
  background-size: cover;
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.status-dot,
.live-label i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

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

.hero h1,
h2 {
  margin-bottom: 26px;
  font-size: clamp(3.6rem, 7.4vw, 7.5rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.86;
}

.hero h1,
h2,
h3 {
  color: var(--ink);
}

.hero h1 {
  text-shadow: 0 0 24px rgba(246, 255, 241, 0.16);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 5vw, 5rem);
}

em {
  color: var(--accent);
  font-style: normal;
}

.hero-text {
  max-width: 480px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 70px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 520px;
  border-top: 1px solid var(--line);
}

.hero-meta div {
  padding: 17px 18px 0 0;
  border-right: 1px solid var(--line);
}

.hero-meta div:not(:first-child) {
  padding-left: 18px;
}

.hero-meta div:last-child {
  border-right: 0;
}

.hero-meta span,
.card-topline,
.station-top,
.station-bottom,
.visual-tag,
.pass-label,
.event-info p,
.event-type {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-meta p {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 0.73rem;
  line-height: 1.4;
}

.hero-visual {
  position: relative;
  min-height: 540px;
  isolation: isolate;
}

.hero-visual::before {
  position: absolute;
  top: 38%;
  left: 63%;
  width: 68%;
  aspect-ratio: 1;
  border: 1px solid rgba(87, 231, 255, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(87, 231, 255, 0.12), inset 0 0 60px rgba(87, 231, 255, 0.07);
  content: "";
  transform: translate(-50%, -50%);
}

.station-card {
  position: absolute;
  top: 50%;
  left: 50%;
  /* The HUD is intentionally subdued so the mascot stays in front visually. */
  z-index: 0;
  width: min(100%, 430px);
  padding: 14px;
  border: 1px solid rgba(39, 233, 208, 0.5);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(26, 43, 30, 0.56), rgba(7, 13, 9, 0.42));
  box-shadow: -20px 30px 0 rgba(172, 140, 255, 0.1), 0 0 90px rgba(39, 233, 208, 0.16);
  opacity: 0.72;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(-4deg);
  animation: station-float 5s ease-in-out infinite;
}

.station-top,
.station-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 2px 11px;
}

.station-top {
  color: var(--accent-soft);
}

.live-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent);
}

.live-label i {
  width: 5px;
  height: 5px;
}

.station-screen {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(87, 231, 255, 0.44);
  background: linear-gradient(135deg, rgba(13, 52, 48, 0.52), rgba(17, 21, 42, 0.42) 60%, rgba(43, 16, 64, 0.46));
  box-shadow: inset 0 0 35px rgba(87, 231, 255, 0.12);
}

.screen-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(87, 231, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 231, 255, 0.12) 1px, transparent 1px);
  background-size: 34px 34px;
  transform: perspective(380px) rotateX(58deg) scale(1.7) translateY(32%);
  transform-origin: bottom;
}

.screen-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 48%, rgba(39, 233, 208, 0.16) 50%, transparent 52%);
  background-size: 100% 13px;
  opacity: 0.4;
}

.screen-title {
  position: absolute;
  top: 30px;
  left: 30px;
  color: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-shadow: 0 0 18px rgba(39, 233, 208, 0.65);
}

.screen-title span {
  display: block;
  margin-top: 8px;
  color: var(--cyan);
  font-size: 0.57rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-shadow: 0 0 16px rgba(87, 231, 255, 0.7);
}

.screen-ring {
  position: absolute;
  right: 34px;
  bottom: 32px;
  display: grid;
  width: 132px;
  height: 132px;
  place-content: center;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 26px rgba(87, 231, 255, 0.25), inset 0 0 26px rgba(87, 231, 255, 0.25);
  text-align: center;
}

.screen-ring::before,
.screen-ring::after {
  position: absolute;
  inset: 9px;
  border: 1px dashed rgba(87, 231, 255, 0.5);
  border-radius: inherit;
  content: "";
  animation: spin 14s linear infinite;
}

.screen-ring::after {
  inset: 23px;
  border-color: rgba(39, 233, 208, 0.6);
  animation-direction: reverse;
  animation-duration: 9s;
}

.screen-ring strong {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 2rem;
  line-height: 1;
}

.screen-ring small {
  position: relative;
  z-index: 1;
  margin-top: 6px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.18em;
}

.screen-readout {
  position: absolute;
  bottom: 25px;
  left: 30px;
  display: grid;
  gap: 7px;
  color: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: 0.53rem;
  letter-spacing: 0.12em;
}

.station-bottom {
  padding: 11px 2px 3px;
}

.visual-tag {
  position: absolute;
  z-index: 3;
  padding: 10px 12px;
  border: 1px solid var(--line-bright);
  color: var(--accent);
  background: rgba(6, 9, 7, 0.8);
  box-shadow: var(--shadow-accent);
}

.visual-tag-top {
  top: 10%;
  right: 0;
  transform: rotate(8deg);
}

.visual-tag-bottom {
  bottom: 9%;
  left: 0;
  color: var(--cyan);
  border-color: rgba(87, 231, 255, 0.5);
  box-shadow: var(--shadow-cyan);
  transform: rotate(-7deg);
}

.visual-crosshair {
  position: absolute;
  top: 17%;
  left: 7%;
  color: var(--pink);
  font-family: var(--font-mono);
  font-size: 2rem;
  text-shadow: 0 0 18px var(--pink);
}

.orbit {
  position: absolute;
  border: 1px dashed rgba(172, 140, 255, 0.45);
  border-radius: 50%;
  transform: rotate(-25deg);
}

.orbit-one {
  top: 20%;
  left: 12%;
  width: 76%;
  height: 48%;
}

.orbit-two {
  top: 35%;
  left: 6%;
  width: 88%;
  height: 26%;
  border-color: rgba(255, 103, 213, 0.32);
  transform: rotate(22deg);
}

.signal-strip {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--accent);
  background: rgba(39, 233, 208, 0.04);
}

.signal-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  min-width: max-content;
  padding: 16px 0;
  animation: ticker 22s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
}

.signal-strip b {
  color: var(--pink);
  font-size: 0.9rem;
}

.content-section {
  padding-top: 140px;
  padding-bottom: 20px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 42px;
  margin-bottom: 54px;
}

.section-heading .eyebrow {
  margin-bottom: 20px;
}

.section-intro {
  max-width: 310px;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.compact-heading {
  margin-bottom: 44px;
}

.experience-grid,
.passes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.experience-card,
.pass-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.experience-card::after,
.pass-card::after {
  position: absolute;
  right: -30px;
  bottom: -80px;
  width: 180px;
  height: 180px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.13;
}

.card-green {
  color: var(--accent);
  background: linear-gradient(145deg, rgba(39, 233, 208, 0.13), var(--panel) 45%);
}

.card-cyan {
  color: var(--cyan);
  background: linear-gradient(145deg, rgba(87, 231, 255, 0.13), var(--panel) 45%);
}

.card-pink {
  color: var(--pink);
  background: linear-gradient(145deg, rgba(255, 103, 213, 0.12), var(--panel) 45%);
}

.card-topline {
  display: flex;
  justify-content: space-between;
  color: currentColor;
  opacity: 0.8;
}

.experience-icon {
  display: grid;
  width: 80px;
  height: 80px;
  margin: 58px 0 26px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: currentColor;
  font-family: var(--font-mono);
  font-size: 2.3rem;
  box-shadow: 0 0 28px currentColor;
}

.icon-squad {
  border-radius: 24%;
}

.icon-creator {
  transform: rotate(45deg);
}

.icon-creator::first-letter {
  transform: rotate(-45deg);
}

.experience-card h3,
.pass-card h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.3rem;
  letter-spacing: 0.03em;
}

.experience-card p,
.pass-description {
  max-width: 290px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.7;
}

.experience-card a {
  position: absolute;
  bottom: 26px;
  color: currentColor;
  font-family: var(--font-mono);
  font-size: 0.61rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.experience-card a span {
  margin-left: 8px;
  font-size: 0.95rem;
}

.passes-section {
  padding-top: 140px;
}

.pass-card {
  min-height: 480px;
  padding: 30px;
  color: var(--accent);
}

.pass-card-featured {
  border-color: var(--accent);
  background: linear-gradient(155deg, rgba(39, 233, 208, 0.2), rgba(13, 22, 16, 0.92) 48%);
  box-shadow: var(--shadow-accent);
  transform: translateY(-16px);
}

.pass-number {
  margin-bottom: 44px;
  color: currentColor;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.pass-label {
  margin-bottom: 10px;
  color: currentColor;
}

.pass-card h3 {
  margin-bottom: 18px;
}

.pass-description {
  min-height: 72px;
  margin-bottom: 24px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--ink);
}

.price strong {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  letter-spacing: -0.08em;
}

.price span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.59rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pass-card ul {
  display: grid;
  gap: 9px;
  min-height: 88px;
  margin: 0 0 25px;
  padding: 0;
  color: var(--muted);
  font-size: 0.76rem;
  list-style: none;
}

.pass-card li::before {
  margin-right: 9px;
  color: currentColor;
  content: "//";
  font-family: var(--font-mono);
}

.featured-stamp {
  position: absolute;
  top: 27px;
  right: 26px;
  padding: 6px 8px;
  color: var(--void);
  background: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.events-section {
  padding-top: 140px;
}

.event-list {
  border-top: 1px solid var(--line);
}

.event-row {
  display: grid;
  grid-template-columns: 100px 1fr 100px 42px;
  align-items: center;
  gap: 24px;
  min-height: 110px;
  border-bottom: 1px solid var(--line);
}

.event-date {
  display: grid;
  gap: 4px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

.event-date span {
  color: var(--muted);
}

.event-info p {
  margin-bottom: 5px;
  color: var(--cyan);
}

.event-info h3 {
  margin-bottom: 0;
  font-size: 1.08rem;
  font-weight: 500;
}

.event-type {
  justify-self: start;
  padding: 6px 8px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.event-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  color: var(--accent);
  background: transparent;
  font-size: 1rem;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.event-button:hover {
  color: var(--void);
  background: var(--accent);
  transform: rotate(45deg);
}

.register-section {
  padding-top: 140px;
  padding-bottom: 20px;
}

.register-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  padding: clamp(30px, 6vw, 76px);
  border: 1px solid var(--cyan);
  background:
    linear-gradient(110deg, rgba(79, 216, 255, 0.14), transparent 45%),
    var(--panel);
  box-shadow: 0 0 55px rgba(255, 59, 212, 0.14);
}

.register-copy .eyebrow {
  margin-bottom: 20px;
  color: var(--cyan);
}

.register-copy p:last-child {
  max-width: 290px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.register-form {
  align-self: end;
}

.register-form label,
.signal-form label {
  display: block;
  margin-bottom: 9px;
  color: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.signal-section {
  padding-top: 140px;
  padding-bottom: 140px;
}

.signal-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  padding: clamp(30px, 6vw, 76px);
  border: 1px solid var(--accent);
  background:
    linear-gradient(110deg, rgba(39, 233, 208, 0.14), transparent 45%),
    var(--panel);
  box-shadow: var(--shadow-accent);
}

.signal-copy .eyebrow {
  margin-bottom: 20px;
}

.signal-copy p:last-child {
  max-width: 290px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.signal-form {
  align-self: end;
}

.signal-form label,
.modal-panel label {
  display: block;
  margin-bottom: 9px;
  color: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

input,
select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(6, 9, 7, 0.7);
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 17px) 21px, calc(100% - 12px) 21px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

input::placeholder {
  color: #5c735f;
}

.form-note {
  min-height: 18px;
  margin: 12px 0 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.58rem;
}

.form-note.success {
  color: var(--accent);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 120px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer .brand {
  color: var(--ink);
}

.site-footer > p:nth-last-child(1) {
  justify-self: end;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
}

/* The HTML hidden attribute must win over the modal's display:grid rule. */
.modal[hidden] {
  display: none !important;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 3, 0.78);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 510px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid var(--accent);
  color: var(--ink);
  background: rgba(13, 22, 16, 0.98);
  box-shadow: 0 0 70px rgba(39, 233, 208, 0.24);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  color: var(--accent);
  background: rgba(39, 233, 208, 0.08);
  font-size: 1.4rem;
  line-height: 1;
}

.modal-panel h2 {
  font-size: clamp(2.6rem, 8vw, 4.5rem);
  color: var(--ink);
  text-shadow: 0 0 20px rgba(246, 255, 241, 0.14);
}

.modal-panel h2 em {
  color: var(--accent);
}

.modal-intro {
  max-width: 370px;
  margin: 0 0 28px;
  color: var(--accent-soft);
  font-size: 0.84rem;
}

.modal-panel input,
.modal-panel select {
  color: var(--ink);
  background-color: #08100b;
}

.modal-panel .form-note {
  color: var(--accent-soft);
}

.modal-panel form {
  display: grid;
  gap: 10px;
}

.modal-panel form > label:not(:first-child) {
  margin-top: 12px;
}

.form-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.form-columns label {
  margin-top: 0;
}

/* ---------- HIGH-CONTRAST RESERVATION MODAL ----------
   Keep the page behind the modal dim, but give the form its own readable
   surface. These rules intentionally appear after the base modal styles so
   they win over inherited text colors.
*/
.modal-backdrop {
  background: rgba(2, 4, 12, 0.68);
  backdrop-filter: blur(5px);
}

.modal-panel {
  color: #f4f7ff !important;
  background: #12182b !important;
  border-color: var(--cyan);
  box-shadow: 0 0 70px rgba(79, 216, 255, 0.22), 0 0 34px rgba(255, 59, 212, 0.18);
}

.modal-panel h2,
.modal-panel p,
.modal-panel label,
.modal-panel .modal-intro,
.modal-panel .form-note {
  color: #f4f7ff !important;
  text-shadow: none;
}

.modal-panel h2 em {
  color: var(--pink) !important;
}

.modal-panel .eyebrow {
  color: var(--cyan) !important;
}

.modal-panel input,
.modal-panel select {
  color: #f4f7ff !important;
  background: #080c1b !important;
  border-color: rgba(79, 216, 255, 0.72);
}

.modal-panel input::placeholder {
  color: #a8b5d1;
}

.modal-panel .button {
  color: #16051b;
  background: var(--pink);
  box-shadow: 0 0 24px rgba(255, 59, 212, 0.3);
}

.modal-panel .button:hover {
  background: #ff82e2;
  box-shadow: 0 0 34px rgba(255, 59, 212, 0.48);
}

@keyframes station-float {
  0%,
  100% {
    margin-top: 0;
  }
  50% {
    margin-top: -12px;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ticker {
  to {
    transform: translateX(-25%);
  }
}

@media (max-width: 980px) {
  .main-nav {
    gap: 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 80px;
    background-position: center, 62% center;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-visual {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
  }

  .experience-grid,
  .passes-grid {
    grid-template-columns: 1fr;
  }

  .experience-card,
  .pass-card {
    min-height: 330px;
  }

  .pass-card-featured {
    transform: none;
  }

  .pass-description {
    min-height: auto;
  }
}

@media (max-width: 700px) {
  .section-shell {
    width: min(100% - 36px, 560px);
  }

  .site-header {
    padding-inline: 18px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: grid;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line-bright);
    background: rgba(6, 9, 7, 0.98);
    box-shadow: var(--shadow-accent);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a,
  .main-nav .button {
    padding: 15px 12px;
  }

  .main-nav .button {
    margin-top: 6px;
  }

  .hero {
    gap: 28px;
    padding-top: 60px;
    padding-bottom: 62px;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 16vw, 5.5rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 52px;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .hero-meta div,
  .hero-meta div:not(:first-child) {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 10px;
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-meta div:last-child {
    border-bottom: 0;
  }

  .hero-meta p {
    margin: 0;
  }

  .hero-visual {
    min-height: 400px;
  }

  .station-card {
    top: 40%;
    left: 61%;
    width: 94%;
  }

  .station-screen {
    min-height: 240px;
  }

  .screen-ring {
    right: 20px;
    bottom: 22px;
    width: 100px;
    height: 100px;
  }

  .screen-title,
  .screen-readout {
    left: 20px;
  }

  .screen-title {
    top: 22px;
  }

  .screen-readout {
    bottom: 18px;
  }

  .visual-tag {
    font-size: 0.48rem;
  }

  .visual-tag-top {
    top: 1%;
  }

  .visual-tag-bottom {
    bottom: 1%;
  }

  .content-section,
  .passes-section,
  .events-section,
  .register-section,
  .signal-section {
    padding-top: 90px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 34px;
  }

  .section-intro {
    max-width: 420px;
  }

  .experience-card,
  .pass-card {
    padding: 23px;
  }

  .experience-icon {
    margin-top: 38px;
  }

  .event-row {
    grid-template-columns: 62px 1fr 38px;
    gap: 14px;
    min-height: 130px;
  }

  .event-type {
    display: none;
  }

  .event-info h3 {
    font-size: 0.94rem;
  }

  .register-panel,
  .signal-panel {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 28px 22px;
  }

  .input-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 28px;
  }

  .site-footer > p:nth-last-child(1) {
    justify-self: start;
  }

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

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