:root {
  --bg: #000000;
  --panel: rgba(0, 0, 0, 0.82);
  --panel-solid: #030303;
  --panel-raised: #070707;
  --panel-soft: #0b0b0d;
  --text: #f6f8ff;
  --heading: #ffffff;
  --muted: #aeb5c3;
  --muted-strong: #dde3ef;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.24);
  --neon-cyan: #00e7ff;
  --neon-magenta: #ff2bd6;
  --neon-lime: #b6ff35;
  --accent: var(--neon-cyan);
  --accent-strong: #77f5ff;
  --accent-2: var(--neon-magenta);
  --accent-3: var(--neon-lime);
  --accent-soft: rgba(0, 231, 255, 0.12);
  --teal-soft: rgba(255, 43, 214, 0.1);
  --gold-soft: rgba(182, 255, 53, 0.1);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.72);
  --shadow-hard: 0 34px 90px rgba(0, 0, 0, 0.88);
  --radius-lg: 8px;
  --radius-md: 8px;
  --radius-sm: 6px;
  --container: 1240px;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 36px;
  --space-6: 56px;
  --space-7: 76px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
  isolation: isolate;
  background: var(--bg);
  color: var(--text);
  font-family: Aptos, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.55;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: 0;
  background:
    radial-gradient(circle at 12% 16%, rgba(0, 231, 255, 0.24), transparent 24rem),
    radial-gradient(circle at 90% 18%, rgba(255, 43, 214, 0.18), transparent 28rem),
    radial-gradient(circle at 70% 86%, rgba(182, 255, 53, 0.12), transparent 25rem),
    radial-gradient(circle at 30% 72%, rgba(0, 231, 255, 0.12), transparent 23rem);
  background-size: 122% 122%, 132% 132%, 118% 118%, 115% 115%;
  filter: blur(7px);
  opacity: 0.82;
  animation: neon-field 24s ease-in-out infinite alternate;
}

body::after {
  z-index: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(0, 231, 255, 0.18) 48%, transparent 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.9) 72%, #000000 100%);
  background-size: 48rem 100%, 100% 100%;
  background-position: -48rem 0, 0 0;
  opacity: 0.7;
  animation: neon-grid 18s ease-in-out infinite;
}

body.is-navigating {
  cursor: progress;
}

img {
  display: block;
  max-width: 100%;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--heading);
  font-family: inherit;
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

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

main {
  display: grid;
  gap: var(--space-5);
  padding: var(--space-4) 0 var(--space-7);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

body.is-navigating main {
  opacity: 0.54;
  transform: translateY(6px);
  pointer-events: none;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 14px 0 0;
}

.site-header,
.hero,
.section,
.panel,
.site-footer {
  width: min(var(--container), calc(100vw - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 64px;
  padding: 8px 10px 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.072), rgba(255, 255, 255, 0.018)),
    rgba(0, 0, 0, 0.86);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px) saturate(150%);
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 12px -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 231, 255, 0.72), rgba(255, 43, 214, 0.45), transparent);
  opacity: 0.78;
}

.site-header.is-scrolled {
  border-color: var(--line-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.022)),
    rgba(0, 0, 0, 0.94);
}

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

.brand-mark {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  background: var(--panel-raised);
  box-shadow: 0 0 18px rgba(0, 231, 255, 0.1);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(0, 231, 255, 0.18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-copy strong {
  color: var(--heading);
  font-size: 0.95rem;
  line-height: 1.2;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a,
.menu-button {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted-strong);
  font-weight: 850;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
}

.nav-links a:hover,
.menu-button:hover {
  transform: translateY(-1px);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.055);
  color: var(--heading);
}

.nav-links a[aria-current="page"] {
  border-color: rgba(0, 231, 255, 0.48);
  background:
    linear-gradient(135deg, rgba(0, 231, 255, 0.13), rgba(255, 43, 214, 0.08)),
    rgba(255, 255, 255, 0.045);
  color: var(--heading);
  box-shadow: 0 0 20px rgba(0, 231, 255, 0.1);
}

.menu-button {
  display: none;
  place-items: center;
  width: 42px;
  padding: 0;
  cursor: pointer;
}

.menu-button span,
.menu-button span::before,
.menu-button span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-button span {
  position: relative;
}

.menu-button span::before,
.menu-button span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-button span::before {
  transform: translateY(-6px);
}

.menu-button span::after {
  transform: translateY(6px);
}

.menu-button[aria-expanded="true"] span {
  background: transparent;
}

.menu-button[aria-expanded="true"] span::before {
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] span::after {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.68fr);
  gap: var(--space-4);
  align-items: stretch;
  padding: var(--space-4) 0 0;
}

.hero.hero-simple {
  grid-template-columns: 1fr;
  min-height: 0;
}

.hero-copy,
.hero-media {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.056), rgba(255, 255, 255, 0.014)),
    rgba(0, 0, 0, 0.78);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.hero-copy {
  position: relative;
  display: grid;
  gap: 18px;
  align-content: center;
  min-height: 460px;
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
}

.hero.hero-simple .hero-copy {
  min-height: 300px;
}

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

.hero-copy::before {
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 10% 16%, rgba(0, 231, 255, 0.13), transparent 22rem),
    radial-gradient(circle at 86% 82%, rgba(255, 43, 214, 0.09), transparent 19rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 30%);
}

.hero-copy::after {
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 231, 255, 0.8), rgba(255, 43, 214, 0.55), rgba(182, 255, 53, 0.35), transparent);
}

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

.hero-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  isolation: isolate;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, transparent 46%, rgba(0, 0, 0, 0.5) 100%),
    linear-gradient(105deg, transparent 0%, rgba(0, 231, 255, 0.12) 45%, transparent 62%);
  background-size: 100% 100%, 220% 100%;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: media-sheen 8s ease-in-out infinite;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.04);
  transform: scale(1.01);
}

.eyebrow,
.label {
  color: var(--neon-lime);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1 {
  max-width: 13ch;
  font-size: clamp(3.15rem, 6vw, 4.8rem);
}

h2 {
  font-size: clamp(1.95rem, 3vw, 2.45rem);
}

h3 {
  font-size: 1.28rem;
}

.lead {
  max-width: 64ch;
  color: var(--muted-strong);
  font-size: 1.04rem;
}

.metrics,
.action-row,
.card-meta,
.tag-row,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.metric-pill,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.052), rgba(0, 231, 255, 0.034)),
    rgba(0, 0, 0, 0.62);
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-weight: 850;
}

.metric-pill {
  min-height: 40px;
  padding-inline: 13px;
  color: var(--heading);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.btn,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--radius-sm);
  font-weight: 950;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn {
  padding: 11px 18px;
  border: 1px solid rgba(0, 231, 255, 0.72);
  background:
    linear-gradient(135deg, rgba(0, 231, 255, 0.96), rgba(182, 255, 53, 0.86)),
    var(--neon-cyan);
  color: #010103;
  box-shadow: 0 14px 32px rgba(0, 231, 255, 0.22);
}

.btn.secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 43, 214, 0.052)),
    rgba(0, 0, 0, 0.72);
  color: var(--heading);
  box-shadow: none;
}

.btn:hover,
.text-link:hover,
.feature-card:hover,
.social-card:hover,
.gallery img:hover {
  transform: translateY(-3px);
}

.btn:hover {
  box-shadow: 0 18px 38px rgba(0, 231, 255, 0.28), 0 0 30px rgba(182, 255, 53, 0.1);
}

.text-link {
  min-height: 0;
  padding: 0;
  color: var(--accent-strong);
}

.section,
.panel {
  display: grid;
  gap: 18px;
  padding: 0;
}

.split-section {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.stack {
  display: grid;
  gap: var(--space-3);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: 0 0 16px 14px;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid var(--neon-cyan);
}

.section-heading p {
  margin-top: 8px;
  max-width: 64ch;
}

.stats-grid,
.info-grid,
.card-grid,
.social-grid,
.year-grid,
.gallery {
  display: grid;
  gap: 14px;
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.info-grid,
.social-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

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

.compact-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.stat-card,
.info-card,
.feature-card,
.social-card,
.year-card,
.location-meta-card,
.about-shell-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.014)),
    rgba(0, 0, 0, 0.8);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.stat-card::before,
.info-card::before,
.feature-card::before,
.social-card::before,
.year-card::before,
.location-meta-card::before,
.about-shell-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 231, 255, 0.78), rgba(255, 43, 214, 0.48), rgba(182, 255, 53, 0.34), transparent);
  opacity: 0.9;
  box-shadow: 0 0 14px rgba(0, 231, 255, 0.2);
}

.stat-card,
.info-card,
.year-card,
.location-meta-card {
  padding: 20px;
}

.stat-card,
.info-card {
  display: grid;
  gap: 9px;
  align-content: start;
  min-height: 152px;
}

.stat-card strong {
  color: var(--heading);
  font-size: 2rem;
  line-height: 1;
}

.feature-card,
.social-card,
.gallery img {
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.feature-card:hover,
.social-card:hover,
.gallery img:hover {
  border-color: rgba(0, 231, 255, 0.38);
  box-shadow: var(--shadow-hard), 0 0 22px rgba(0, 231, 255, 0.08);
}

.route-card {
  height: 100%;
}

.card-link-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
}

.card-link-overlay:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: -3px;
}

.card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--panel-soft);
  filter: saturate(0.98) contrast(1.04);
  transition: transform 0.32s ease;
}

.feature-card:hover .card-image {
  transform: scale(1.025);
}

.card-body {
  display: grid;
  gap: 11px;
  padding: 18px;
}

.card-meta {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.year-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(0, 231, 255, 0.07), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.046), rgba(255, 255, 255, 0.014)),
    rgba(0, 0, 0, 0.84);
}

.category-heading {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  align-items: baseline;
}

.social-card {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 76px;
  padding: 16px;
  text-decoration: none;
}

.social-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, rgba(0, 231, 255, 0.9), rgba(255, 43, 214, 0.74)),
    var(--panel-raised);
  box-shadow: 0 0 20px rgba(0, 231, 255, 0.12);
}

.social-icon img {
  width: 22px;
  height: 22px;
}

.social-card strong {
  color: var(--heading);
}

.map-shell {
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel-raised);
  box-shadow: var(--shadow-soft);
}

.map-shell iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  filter: none;
}

.map-shell-static iframe {
  pointer-events: none;
  user-select: none;
}

.gallery {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel-raised);
  cursor: pointer;
}

.page-location .gallery {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 231, 255, 0.15), transparent 28rem),
    radial-gradient(circle at 80% 72%, rgba(255, 43, 214, 0.11), transparent 30rem),
    rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(18px);
}

.lightbox img {
  max-width: min(88vw, 1120px);
  max-height: calc(100dvh - 140px);
  border-radius: var(--radius-sm);
  object-fit: contain;
  box-shadow: var(--shadow-hard);
}

.lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(0, 231, 255, 0.06)),
    rgba(0, 0, 0, 0.86);
  color: var(--heading);
  cursor: pointer;
  font-size: 1.7rem;
  box-shadow: 0 0 22px rgba(0, 231, 255, 0.1);
}

.lightbox .close-button {
  top: 20px;
  right: 20px;
}

.lightbox .nav-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox .nav-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.stars {
  display: flex;
  gap: 4px;
  color: rgba(255, 255, 255, 0.22);
  font-size: 1.12rem;
}

.stars .filled {
  color: var(--neon-lime);
}

.prose {
  gap: 18px;
  max-width: 860px;
}

.prose h1 {
  max-width: none;
}

.prose h2 {
  margin-top: 10px;
  font-size: 1.62rem;
}

.prose h3 {
  color: var(--heading);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 950;
}

.prose strong {
  color: var(--heading);
}

.prose ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.prose li + li {
  margin-top: 8px;
}

.prose a {
  color: var(--accent-strong);
}

.empty-state {
  padding: 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(0, 231, 255, 0.035)),
    rgba(0, 0, 0, 0.72);
  color: var(--muted-strong);
  text-align: center;
}

.site-footer {
  display: grid;
  margin-top: 0;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
}

.footer-block {
  display: grid;
  gap: 8px;
}

.footer-title {
  color: var(--heading);
  font-size: 1.08rem;
  font-weight: 950;
}

.footer-copy {
  max-width: 82ch;
}

.footer-links a {
  color: var(--accent-strong);
  font-weight: 850;
  text-decoration: none;
}

.site-footer .footer-links {
  gap: 18px;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 999;
  width: min(420px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02) 42%, rgba(255, 43, 214, 0.045)),
    rgba(0, 0, 0, 0.94);
  box-shadow: var(--shadow-hard);
  color: var(--text);
  backdrop-filter: blur(16px);
}

.cookie-banner-title {
  margin-bottom: 8px;
  color: var(--heading);
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cookie-banner-copy {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
}

.cookie-banner-button {
  appearance: none;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 850;
}

.cookie-banner-button-accept {
  border: 1px solid rgba(0, 231, 255, 0.68);
  background: var(--accent-soft);
  color: var(--heading);
}

.page-home main,
.page-about-shell main {
  gap: var(--space-5);
}

.page-home .hero {
  min-height: 0;
}

.page-home .hero .lead {
  font-size: 1.1rem;
}

.page-home .metric-pill {
  border-color: rgba(0, 231, 255, 0.32);
  background:
    linear-gradient(135deg, rgba(0, 231, 255, 0.1), rgba(255, 43, 214, 0.045)),
    rgba(0, 0, 0, 0.68);
}

.page-home .section {
  position: relative;
}

.page-home .stats-grid {
  gap: 14px;
}

.page-home .stat-card strong {
  font-size: 2.35rem;
}

.page-error .panel {
  max-width: 760px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.014)),
    rgba(0, 0, 0, 0.84);
  box-shadow: var(--shadow-soft);
}

.page-error .hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  min-height: 0;
}

.page-error .hero-copy {
  min-height: 0;
}

.error-code {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 40px;
  padding: 7px 14px;
  border: 1px solid rgba(0, 231, 255, 0.28);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, rgba(0, 231, 255, 0.13), rgba(255, 43, 214, 0.08)),
    rgba(0, 0, 0, 0.56);
  color: var(--heading);
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 0 26px rgba(0, 231, 255, 0.08);
}

.error-intro {
  max-width: 62ch;
}

.error-meta {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
}

.error-card {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(0, 0, 0, 0.8);
  box-shadow: var(--shadow-soft);
}

.error-card .label {
  margin: 0;
}

.error-card p {
  color: var(--muted-strong);
}

.error-status-grid {
  display: grid;
  gap: 12px;
}

.error-status-item {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(0, 231, 255, 0.04)),
    rgba(0, 0, 0, 0.62);
}

.error-status-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--heading);
  font-size: 0.96rem;
}

.error-status-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.error-note {
  padding: 16px 18px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}

.error-note p {
  color: var(--muted);
  font-size: 0.95rem;
}

.page-live-location .hero h1,
.page-live-location .hero .eyebrow,
.page-live-location .hero-copy {
  max-width: none;
}

.location-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: var(--space-4);
}

.location-meta-card {
  display: grid;
  gap: 14px;
}

.location-meta-card strong {
  color: var(--heading);
  font-size: 1.15rem;
}

.location-meta-grid {
  display: grid;
  gap: var(--space-3);
}

.location-meta-grid .label {
  display: block;
  margin-bottom: 6px;
}

.status-good {
  color: var(--neon-lime);
}

.page-about-soon .about-soon-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 180px);
  min-height: calc(100dvh - 180px);
  padding: 40px;
}

.about-soon-copy {
  display: grid;
  gap: 12px;
  max-width: 40rem;
  text-align: center;
  justify-items: center;
}

.about-soon-copy h1,
.about-soon-copy p,
.about-soon-copy .eyebrow {
  max-width: none;
}

.page-about-shell .about-shell-hero {
  align-items: stretch;
}

.about-shell-copy {
  display: grid;
  gap: 8px;
}

.about-shell-section {
  gap: var(--space-3);
}

.about-shell-grid {
  display: grid;
  gap: 14px;
}

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

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

.about-shell-card {
  display: grid;
  align-items: end;
  min-height: 170px;
  padding: 20px;
}

.about-shell-card-tall {
  min-height: 210px;
}

.about-shell-copy h1,
.about-shell-copy .eyebrow {
  max-width: none;
}

#awake-status[data-state="awake"] {
  color: var(--neon-lime);
}

#awake-status[data-state="maybe"] {
  color: var(--accent-strong);
}

#awake-status[data-state="offline"] {
  color: var(--muted);
}

body.has-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
}

body.has-reveal .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

@keyframes neon-field {
  0% {
    background-position: 0% 0%, 100% 0%, 70% 100%, 35% 75%;
    transform: scale(1);
  }
  50% {
    background-position: 24% 18%, 76% 26%, 52% 72%, 18% 82%;
    transform: scale(1.03);
  }
  100% {
    background-position: 8% 28%, 88% 18%, 62% 88%, 44% 66%;
    transform: scale(1.015);
  }
}

@keyframes neon-grid {
  0%,
  100% {
    background-position: -48rem 0, 0 0;
  }
  48%,
  60% {
    background-position: calc(100vw + 48rem) 0, 0 0;
  }
}

@keyframes media-sheen {
  0%,
  42% {
    background-position: 0 0, 130% 0;
  }
  64%,
  100% {
    background-position: 0 0, -70% 0;
  }
}

@media (max-width: 980px) {
  :root {
    --space-6: 44px;
    --space-7: 58px;
  }

  .site-header,
  .hero,
  .section,
  .panel,
  .site-footer {
    width: min(100%, calc(100vw - 24px));
  }

  .site-shell {
    padding-top: calc(10px + env(safe-area-inset-top, 0px));
  }

  .site-header {
    top: calc(10px + env(safe-area-inset-top, 0px));
    min-height: 62px;
    padding: 8px 9px 8px 11px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .menu-button {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: min(300px, 86vw);
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background:
      linear-gradient(150deg, rgba(255, 255, 255, 0.065), rgba(0, 231, 255, 0.045)),
      rgba(0, 0, 0, 0.96);
    box-shadow: var(--shadow-hard);
    backdrop-filter: blur(18px);
  }

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

  .nav-links a {
    justify-content: space-between;
  }

  .hero,
  .hero.hero-simple,
  .split-section,
  .location-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: var(--space-4);
    padding: var(--space-4) 0 0;
  }

  .hero-media img {
    min-height: 330px;
  }

  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .site-footer .footer-links {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .page-about-soon .about-soon-hero {
    min-height: calc(100vh - 160px);
    min-height: calc(100dvh - 160px);
    padding: 24px 20px;
  }

  .about-shell-grid-two,
  .about-shell-grid-three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  main {
    gap: var(--space-4);
    padding-top: var(--space-3);
  }

  .brand-copy span {
    display: none;
  }

  .hero {
    padding: 0;
  }

  .hero-copy,
  .hero.hero-simple .hero-copy {
    min-height: 0;
    padding: 22px;
  }

  h1 {
    max-width: 10ch;
    font-size: 2.85rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  h3 {
    font-size: 1.24rem;
  }

  .lead,
  .page-home .hero .lead {
    font-size: 1rem;
  }

  .stats-grid,
  .info-grid,
  .card-grid,
  .social-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .stat-card,
  .info-card,
  .year-card,
  .location-meta-card,
  .about-shell-card {
    padding: 18px;
  }

  .page-home .stat-card strong {
    font-size: 2.25rem;
  }

  .category-heading {
    flex-direction: column;
    align-items: start;
  }

  .hero-media img {
    min-height: 260px;
  }

  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
  }

  .lightbox {
    overflow: hidden;
    padding:
      calc(16px + env(safe-area-inset-top, 0px))
      16px
      calc(84px + env(safe-area-inset-bottom, 0px));
  }

  .lightbox img {
    max-width: calc(100vw - 32px);
    max-height: calc(100svh - 136px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    margin: auto;
  }

  .lightbox .nav-prev,
  .lightbox .nav-next {
    top: auto;
    bottom: 16px;
    transform: none;
  }

  .lightbox .nav-prev {
    left: calc(50% - 62px);
  }

  .lightbox .nav-next {
    right: calc(50% - 62px);
  }

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

@media (max-width: 520px) {
  .site-header,
  .hero,
  .section,
  .panel,
  .site-footer {
    width: min(100%, calc(100vw - 18px));
  }

  .brand-copy strong {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .metrics,
  .action-row,
  .tag-row {
    align-items: stretch;
  }

  .metric-pill,
  .btn {
    width: 100%;
  }

  .card-meta {
    gap: 6px;
  }

  .social-card {
    min-height: 74px;
  }
}

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

  body.has-reveal .reveal {
    opacity: 1;
    transform: none;
  }
}
