:root {
  --bg: #05111a;
  --bg-deep: #071a28;
  --panel: rgba(10, 24, 38, 0.72);
  --ink: #eff7fb;
  --muted: rgba(239, 247, 251, 0.72);
  --line: rgba(97, 236, 220, 0.18);
  --teal: #4af2de;
  --lime: #b4ff66;
  --display: "Oxanium", "Arial Black", sans-serif;
  --sans: "Lexend", "Avenir Next", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 16%, rgba(74, 242, 222, 0.18), transparent 22%),
    radial-gradient(circle at 82% 14%, rgba(180, 255, 102, 0.12), transparent 18%),
    linear-gradient(180deg, #04111b 0%, #061523 55%, #031019 100%);
}

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

.shell {
  width: min(1180px, calc(100vw - 2.4rem));
  margin: 0 auto;
}

.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 0;
}

.back-link,
.variation-label {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(239, 247, 251, 0.56);
}

.brand {
  justify-self: center;
  font-size: 0.84rem;
  letter-spacing: 0.18em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: 2.8rem;
  align-items: center;
  min-height: calc(100vh - 4.5rem);
  padding: 1.8rem 0 4rem;
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--lime);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  letter-spacing: -0.03em;
}

h1 {
  margin-top: 1rem;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.96;
  max-width: 11ch;
}

.lede {
  max-width: 39rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.hero-tags span,
.label,
.signal-card span,
.band span,
.system-card span {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-tags span {
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(239, 247, 251, 0.82);
}

.hero-notes {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.hero-notes article,
.band article,
.system-card,
.territory-grid article,
.closing-card,
.signal-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(14px);
}

.hero-notes article {
  padding: 1rem 1.05rem;
}

.hero-notes span,
.band span,
.system-card span {
  display: block;
  color: rgba(239, 247, 251, 0.52);
}

.hero-notes strong,
.band strong {
  display: block;
  margin-top: 0.55rem;
  font-weight: 500;
  line-height: 1.7;
}

.helix-stage {
  position: relative;
  min-height: 42rem;
  overflow: hidden;
  border: 1px solid rgba(74, 242, 222, 0.14);
  background:
    radial-gradient(circle at 50% 50%, rgba(74, 242, 222, 0.16), transparent 18%),
    linear-gradient(180deg, rgba(6, 23, 36, 0.94), rgba(3, 13, 22, 0.98));
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.38);
}

.stage-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent);
}

.orbit,
.core,
.node {
  position: absolute;
  border-radius: 50%;
}

.orbit {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(74, 242, 222, 0.18);
  animation: orbit-drift 9s ease-in-out infinite;
}

.orbit-a {
  width: 26rem;
  height: 26rem;
}

.orbit-b {
  width: 18rem;
  height: 18rem;
  animation-delay: -2s;
}

.orbit-c {
  width: 10rem;
  height: 10rem;
  animation-delay: -4s;
}

.core {
  left: 50%;
  top: 50%;
  width: 4.8rem;
  height: 4.8rem;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(237, 255, 250, 0.96) 0, rgba(74, 242, 222, 0.94) 58%, rgba(74, 242, 222, 0.1) 76%);
  box-shadow: 0 0 32px rgba(74, 242, 222, 0.44);
}

.node {
  width: 1rem;
  height: 1rem;
  background: var(--lime);
  box-shadow: 0 0 18px rgba(180, 255, 102, 0.5);
}

.node-a { left: 21%; top: 24%; }
.node-b { right: 19%; top: 28%; }
.node-c { left: 28%; bottom: 24%; }
.node-d { right: 24%; bottom: 20%; }

.label,
.signal-card {
  position: absolute;
}

.label {
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(74, 242, 222, 0.18);
  background: rgba(4, 16, 25, 0.66);
  color: rgba(239, 247, 251, 0.8);
}

.label-a { left: 7%; top: 12%; }
.label-b { right: 6%; top: 16%; }
.label-c { right: 10%; bottom: 14%; }

.signal-card {
  left: 8%;
  right: 8%;
  bottom: 7%;
  padding: 1.1rem 1.2rem;
}

.signal-card span {
  color: rgba(239, 247, 251, 0.48);
}

.signal-card strong {
  display: block;
  margin-top: 0.65rem;
  max-width: 21rem;
  line-height: 1.6;
  font-weight: 600;
}

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

.band article,
.system-card,
.territory-grid article,
.closing-card {
  padding: 1.1rem;
}

.systems,
.territory,
.closing {
  padding-top: 5.5rem;
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.system-card {
  min-height: 12rem;
}

.system-card-large {
  grid-column: span 2;
  min-height: 18rem;
}

.system-card h2 {
  margin-top: 0.8rem;
  font-size: 1.55rem;
  line-height: 1.08;
}

.system-card p,
.territory-grid p,
.closing-card p {
  margin: 0.9rem 0 0;
  line-height: 1.75;
  color: var(--muted);
}

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

.territory-grid h3 {
  font-size: 1.3rem;
}

.closing-card p {
  margin-top: 0;
  max-width: 48rem;
}

@keyframes orbit-drift {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.03);
  }
}

@media (max-width: 980px) {
  .hero,
  .band,
  .systems-grid,
  .territory-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: auto;
  }

  .helix-stage {
    min-height: 34rem;
  }

  .system-card-large {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(1180px, calc(100vw - 1.4rem));
  }

  .topbar,
  .hero,
  .band,
  .systems-grid,
  .territory-grid {
    grid-template-columns: 1fr;
  }

  .brand {
    justify-self: start;
  }

  .helix-stage {
    min-height: 30rem;
  }

  .system-card-large {
    grid-column: auto;
    min-height: 14rem;
  }

  .label {
    font-size: 0.68rem;
  }
}
