:root {
  color-scheme: dark;
  --orange: #ff6a16;
  --violet: #9d61ff;
  --ink: #050607;
  --panel: rgba(13, 14, 18, .78);
  --line: rgba(255, 255, 255, .13);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  min-height: 100%;
  margin: 0;
  background: var(--ink);
}

body {
  min-height: 100svh;
  color: #f6f3ee;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 17% 16%, rgba(255, 91, 17, .19), transparent 31%),
    radial-gradient(circle at 82% 24%, rgba(126, 64, 255, .16), transparent 31%),
    linear-gradient(150deg, #050607 0%, #0b0a0d 48%, #08070b 100%);
}

body::before {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: .42;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, .75) 0 1px, transparent 1.2px),
    radial-gradient(circle, rgba(255, 143, 61, .55) 0 1px, transparent 1.3px);
  background-position: 0 0, 59px 31px;
  background-size: 137px 127px, 181px 173px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.hub-shell {
  position: relative;
  z-index: 1;
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.hub-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 2px 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  letter-spacing: .14em;
}

.brand img {
  width: 38px;
  height: 38px;
}

.brand strong,
.brand small { display: block; }
.brand strong { font-size: 15px; }
.brand small { color: rgba(255, 255, 255, .49); font-size: 9px; margin-top: 4px; }
.hub-topbar > span { color: rgba(255, 255, 255, .42); font-size: 10px; letter-spacing: .17em; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(360px, 1.12fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: end;
  min-height: 30svh;
  padding: clamp(36px, 6vh, 78px) 0 44px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #ff9a5c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .25em;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(48px, 7.2vw, 112px);
  font-weight: 820;
  letter-spacing: -.065em;
  line-height: .86;
}

.hero-copy {
  max-width: 650px;
  margin: 0 0 5px;
  color: rgba(255, 255, 255, .66);
  font-size: clamp(15px, 1.3vw, 20px);
  line-height: 1.55;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  perspective: 1300px;
}

.mission-card {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  display: grid;
  min-height: clamp(340px, 39vw, 570px);
  padding: clamp(24px, 3.2vw, 48px);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .38);
  isolation: isolate;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: border-color .25s ease, transform .18s ease, box-shadow .25s ease;
}

.mission-card:hover,
.mission-card:focus-visible {
  border-color: rgba(255, 255, 255, .28);
  box-shadow: 0 32px 100px rgba(0, 0, 0, .53);
  outline: none;
}

.mission-card::before,
.mission-card::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
}

.mission-card::after {
  z-index: -1;
  background: linear-gradient(to top, rgba(3, 3, 5, .98), rgba(4, 5, 7, .12) 65%);
}

.redrock::before {
  background:
    linear-gradient(128deg, transparent 0 28%, rgba(255, 111, 29, .17) 29% 31%, transparent 32%),
    radial-gradient(ellipse at 72% 27%, rgba(255, 182, 99, .9) 0 3%, rgba(255, 80, 8, .35) 9%, transparent 27%),
    conic-gradient(from 202deg at 50% 102%, #110806, #8e3214 12%, #2c0b08 24%, #bd4a1c 35%, #17090c 48%, #572012 63%, #110706 80%);
}

.riftfall::before {
  background:
    radial-gradient(circle at 25% 28%, #020203 0 8%, rgba(255, 61, 21, .38) 9%, transparent 23%),
    radial-gradient(circle at 75% 34%, rgba(123, 73, 255, .45), transparent 30%),
    linear-gradient(145deg, #030305, #100810 55%, #050507);
}

.mission-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  color: rgba(255, 255, 255, .55);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .17em;
}

.mission-meta .complete { color: #ffb16c; }

.mission-content {
  align-self: end;
  max-width: 620px;
}

.mission-number {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, .48);
  font-size: 10px;
  letter-spacing: .22em;
}

.mission-card h2 {
  margin: 0;
  font-size: clamp(34px, 4.3vw, 68px);
  letter-spacing: -.045em;
  line-height: .92;
}

.mission-card p {
  max-width: 520px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .64);
  font-size: clamp(13px, 1.15vw, 17px);
  line-height: 1.5;
}

.launch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .16em;
}

.launch-row b {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  font-size: 20px;
  transition: transform .25s ease, background .25s ease;
}

.mission-card:hover .launch-row b { transform: translateX(4px); background: rgba(255, 255, 255, .1); }

.hub-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 3px 0;
  color: rgba(255, 255, 255, .36);
  font-size: 9px;
  letter-spacing: .16em;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .mission-grid { grid-template-columns: 1fr; }
  .mission-card { min-height: 430px; }
}

@media (max-width: 600px) {
  .hub-shell { width: min(100% - 26px, 1500px); padding-top: 18px; }
  .hub-topbar > span { display: none; }
  .hero { padding-top: 35px; }
  h1 { font-size: 52px; }
  .mission-card { min-height: 390px; border-radius: 21px; }
  .hub-footer { flex-direction: column; }
}

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

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

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

.voidstride::before {
  background:
    radial-gradient(circle at 30% 40%, rgba(124, 240, 255, .4) 0 5%, rgba(255, 138, 58, .18) 14%, transparent 32%),
    linear-gradient(145deg, #05070c, #0a1520 48%, #070a12 72%, #101820);
}

.shattermaze::before {
  background:
    radial-gradient(circle at 68% 30%, rgba(94, 224, 255, .55) 0 4%, rgba(126, 64, 255, .28) 12%, transparent 28%),
    linear-gradient(140deg, #07060f, #14102a 45%, #0a0814 70%, #1a1030);
}

.roadmap {
  margin: 22px 2px 0;
  color: rgba(255, 255, 255, .38);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .18em;
  text-align: center;
}

@media (max-width: 1100px) {
  .mission-grid-three { grid-template-columns: 1fr; }
  .mission-grid-four { grid-template-columns: 1fr; }
}

.mission-card.voidstride {
  --card-accent: #7cf0ff;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(124, 240, 255, 0.12), transparent 50%),
    linear-gradient(165deg, #0a1018 0%, #05070c 100%);
}

.mission-grid-five {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.mission-card.nightglass {
  border-color: rgba(180, 140, 255, 0.35);
}
.nightglass::before {
  background: radial-gradient(ellipse at 30% 20%, rgba(140, 80, 255, 0.35), transparent 55%),
    radial-gradient(ellipse at 70% 80%, rgba(40, 20, 80, 0.5), transparent 50%);
}
@media (max-width: 720px) {
  .mission-grid-five { grid-template-columns: 1fr; }
}

.mission-grid-six {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.mission-card.openreach {
  --mission-accent: #5ee0ff;
}
.openreach::before {
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 118, 28, .35), transparent 42%),
    radial-gradient(circle at 80% 20%, rgba(176, 122, 255, .3), transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(255, 39, 67, .28), transparent 45%),
    linear-gradient(160deg, #071018, #0a0c14 55%, #05070c);
}
@media (max-width: 720px) {
  .mission-grid-six { grid-template-columns: 1fr; }
}
