.home-orbit-bg {
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(0, 229, 255, 0.11),
      transparent 27rem
    ),
    radial-gradient(
      circle at 82% 42%,
      rgba(252, 61, 33, 0.1),
      transparent 24rem
    ),
    linear-gradient(155deg, #020611 0%, #061426 52%, #020711 100%);
  overflow: hidden;
}

.brand-header .btn-header {
  color: #e7f5ff;
  border-color: #548093;
}
.brand-header .btn-header:hover,
.brand-header .btn-header:focus-visible {
  color: #04121d;
  background: #8aeeff;
  border-color: #8aeeff;
}

.home-orbit-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(0, 229, 255, 0.7) 0 1px, transparent 1.4px);
  background-position:
    0 0,
    47px 83px;
  background-size:
    113px 113px,
    173px 173px;
}

.home-orbit {
  position: absolute;
  border: 1px solid rgba(0, 229, 255, 0.14);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.home-orbit-one {
  width: 70vw;
  height: 20vw;
  right: -20vw;
  top: 17vh;
}

.home-orbit-two {
  width: 54vw;
  height: 15vw;
  left: -15vw;
  top: 68vh;
  border-color: rgba(252, 61, 33, 0.14);
}

.home-hero {
  min-height: 54vh;
  display: grid;
  align-items: center;
  padding-block: clamp(5rem, 10vw, 9rem);
}

.home-hero .hero-copy {
  max-width: 780px;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.section-heading-row > div {
  min-width: 0;
}

.section-link {
  flex: 0 0 auto;
  padding: 0.7rem 0;
  color: #7cecff;
  font-family: "Space Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.section-link:hover,
.section-link:focus-visible {
  color: #fff;
}

.home-lazy-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 860px;
}

.map-loading-state {
  min-height: 620px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  background:
    linear-gradient(rgba(0, 229, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.045) 1px, transparent 1px),
    #030a15;
  background-size: 40px 40px;
}

.map-loading-state strong {
  color: #fff;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-loading-orbit {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: 50%;
  position: relative;
  animation: home-orbit-spin 2.8s linear infinite;
}

.map-loading-orbit::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  top: -5px;
  left: 31px;
  border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 18px #00e5ff;
}

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

.control-deck button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.readout-ribbon-secondary {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.apply-strip-section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.apply-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    linear-gradient(120deg, rgba(0, 229, 255, 0.1), transparent 45%),
    linear-gradient(310deg, rgba(252, 61, 33, 0.12), transparent 48%),
    rgba(3, 11, 24, 0.92);
}

.apply-strip h2 {
  margin: 0.35rem 0 0.8rem;
  color: #fff;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
}

.apply-strip p {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
}

.member-history-section {
  background: rgba(1, 6, 14, 0.58);
}

.member-timeline {
  position: relative;
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.member-timeline::before {
  content: "";
  position: absolute;
  top: 1.9rem;
  bottom: 2rem;
  left: 10px;
  width: 1px;
  background: linear-gradient(#00e5ff, rgba(0, 229, 255, 0.06));
}

.member-era {
  position: relative;
  margin-left: 2.2rem;
  padding: clamp(1.1rem, 2.5vw, 1.8rem);
  border: 1px solid rgba(117, 222, 255, 0.17);
  border-radius: 18px;
  background: linear-gradient(
    145deg,
    rgba(6, 21, 39, 0.96),
    rgba(3, 9, 19, 0.96)
  );
}

.member-era::before {
  content: "";
  position: absolute;
  top: 1.8rem;
  left: -2.6rem;
  width: 14px;
  height: 14px;
  border: 3px solid #02101c;
  border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.8);
}

.member-era-current {
  border-color: rgba(0, 229, 255, 0.38);
  box-shadow: inset 3px 0 0 #00e5ff;
}

.member-era-legacy {
  background: rgba(5, 14, 27, 0.82);
}

.member-era-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.7rem 1rem;
  margin-bottom: 1rem;
}

.member-era-header span,
.member-group-label {
  color: #7cecff;
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.member-era-header h3 {
  margin: 0;
  color: #fff;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
}

.member-group-label {
  margin: 1.2rem 0 0.6rem;
  color: rgba(255, 255, 255, 0.52);
}

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

.member-card {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.member-card strong {
  color: #fff;
  font-family: "Exo 2", sans-serif;
  font-size: 1rem;
}

.member-card strong a {
  color: inherit;
  text-underline-offset: 0.18em;
}

.member-card span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.83rem;
  line-height: 1.4;
}

.member-card.member-lead {
  border-color: rgba(252, 61, 33, 0.36);
  background: rgba(252, 61, 33, 0.07);
}

/* Native disclosures keep historical names accessible without another script. */
.member-source-list summary {
  padding: 0.5rem 0;
  color: #d9f5ff;
  cursor: pointer;
  font-weight: 600;
}

.member-source-list summary:focus-visible {
  outline: 2px solid #62e7ff;
  outline-offset: 4px;
}

.member-source-list ul {
  margin: 0.75rem 0 1rem;
  padding-left: 1.2rem;
  color: #d9e4f2;
  line-height: 1.8;
}

.roster-audit-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1rem 1.2rem;
  border-left: 3px solid #ffd166;
  background: rgba(255, 209, 102, 0.06);
}

.roster-audit-note strong {
  color: #ffd166;
  font-family: "Space Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.roster-audit-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 991.98px) {
  .section-heading-row,
  .apply-strip {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

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

  .map-loading-state {
    min-height: 480px;
  }
}

@media (max-width: 575.98px) {
  .home-hero {
    min-height: auto;
  }

  .member-grid,
  .roster-audit-note {
    grid-template-columns: 1fr;
  }

  .member-era {
    margin-left: 1.4rem;
  }

  .member-era::before {
    left: -1.8rem;
  }

  .member-timeline::before {
    left: 6px;
  }

  .map-loading-state {
    min-height: 390px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .map-loading-orbit {
    animation: none;
  }
}
