:root {
  --cosmos: #03020f;
  --cosmos-deep: #08051d;
  --panel: #0b0924;
  --panel-soft: #100b2c;
  --text: #f7fbff;
  --text-soft: #c8cbe7;
  --muted: #918caf;
  --cyan: #00e5ff;
  --blue: #008fe8;
  --violet: #6a24c8;
  --violet-bright: #8e35ff;
  --magenta: #f42cd6;
  --orange: #ff6b2c;
  --line: rgba(148, 244, 255, 0.16);
  --line-strong: rgba(0, 229, 255, 0.34);
  --page: min(1180px, calc(100% - 40px));
  --radius: 18px;
  --font-display: "Space Grotesk", "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
  --font-body: Inter, "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  --font-mono: "Cascadia Code", "JetBrains Mono", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 80% 38% at 10% 2%, rgba(106, 36, 200, 0.22), transparent 68%),
    radial-gradient(ellipse 70% 35% at 93% 18%, rgba(0, 143, 232, 0.16), transparent 70%),
    radial-gradient(ellipse 65% 38% at 65% 82%, rgba(244, 44, 214, 0.12), transparent 72%),
    linear-gradient(180deg, var(--cosmos), var(--cosmos-deep) 60%, var(--cosmos));
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.55;
  background-image:
    radial-gradient(circle at 8% 18%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 24% 70%, #00e5ff 0 1px, transparent 1.5px),
    radial-gradient(circle at 42% 12%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 62% 43%, #8e35ff 0 1px, transparent 1.8px),
    radial-gradient(circle at 78% 83%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 93% 34%, #f42cd6 0 1px, transparent 1.6px);
  background-size: 280px 240px, 360px 320px, 420px 380px, 520px 460px, 610px 520px, 720px 640px;
}

::selection {
  background: rgba(0, 229, 255, 0.32);
  color: #fff;
}

a {
  color: inherit;
}

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

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

img,
svg {
  display: block;
  max-width: 100%;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--cyan);
  color: var(--cosmos);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100% - 24px));
  min-height: 66px;
  margin: 12px auto 0;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(0, 229, 255, 0.17);
  border-radius: 16px;
  background: rgba(3, 2, 15, 0.72);
  box-shadow: 0 18px 60px rgba(1, 1, 10, 0.32), inset 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 229, 255, 0.48);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.18), rgba(142, 53, 255, 0.2));
  color: var(--cyan);
  box-shadow: 0 0 26px rgba(0, 229, 255, 0.15);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: -0.04em;
}

.brand-label {
  letter-spacing: 0.01em;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navigation a {
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.navigation a:hover,
.navigation a[aria-current="true"] {
  background: rgba(0, 229, 255, 0.08);
  color: var(--cyan);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(8, 5, 29, 0.8);
  color: var(--text);
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  margin: auto;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-icon::before {
  position: absolute;
  top: -6px;
}

.menu-icon::after {
  position: absolute;
  top: 6px;
}

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

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

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

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  padding: 128px 0 70px;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  content: "";
  background-image:
    linear-gradient(90deg, rgba(3, 2, 15, 0.98) 0%, rgba(3, 2, 15, 0.86) 38%, rgba(3, 2, 15, 0.42) 66%, rgba(3, 2, 15, 0.64) 100%),
    linear-gradient(180deg, rgba(3, 2, 15, 0.18), var(--cosmos) 98%),
    url("../img/hero-nebula.png");
  background-position: center;
  background-size: cover;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.12) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 72% 66% at 54% 44%, #000 25%, transparent 82%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: center;
  width: var(--page);
  margin: auto;
}

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

.eyebrow,
.section-number,
.card-kicker,
.project-kind,
.telemetry-card p,
.console-heading {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-bottom: 28px;
  padding: 8px 12px;
  border: 1px solid rgba(0, 229, 255, 0.28);
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.06);
  color: #a4f5ff;
  font-size: 0.7rem;
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
  animation: signal-pulse 2.4s ease-in-out infinite;
}

.hero h1 {
  margin-bottom: 20px;
  font-size: clamp(4.5rem, 9vw, 7.8rem);
  font-weight: 780;
  line-height: 0.83;
  letter-spacing: -0.065em;
}

.hero h1 span,
.hero h1 strong {
  display: block;
}

.hero h1 span {
  color: var(--text);
}

.hero h1 strong {
  width: fit-content;
  background: linear-gradient(108deg, var(--cyan), var(--blue) 42%, var(--violet-bright) 72%, var(--magenta));
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(0, 229, 255, 0.14));
}

.hero-statement {
  max-width: 680px;
  margin-bottom: 18px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.25;
}

.hero-statement em {
  color: var(--cyan);
  font-style: normal;
}

.hero-intro {
  max-width: 630px;
  margin-bottom: 28px;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}

.hero-intro strong {
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: var(--cosmos);
  box-shadow: 0 0 34px rgba(0, 229, 255, 0.24), inset 0 1px rgba(255, 255, 255, 0.5);
}

.button-primary:hover {
  box-shadow: 0 0 46px rgba(0, 229, 255, 0.36), inset 0 1px rgba(255, 255, 255, 0.6);
}

.button-quiet {
  border-color: rgba(142, 53, 255, 0.48);
  background: rgba(106, 36, 200, 0.12);
  color: var(--text);
}

.button-quiet:hover {
  border-color: var(--magenta);
  background: rgba(244, 44, 214, 0.11);
}

.hero-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 670px;
  margin: 26px 0 0;
}

.hero-signals div {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(7, 5, 25, 0.66);
  backdrop-filter: blur(12px);
}

.hero-signals dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-signals dd {
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mission-emblem {
  position: relative;
  display: grid;
  place-items: center;
  width: min(440px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
  border: 1px solid rgba(0, 229, 255, 0.16);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0, 229, 255, 0.08), transparent 54%),
    rgba(3, 2, 15, 0.62);
  box-shadow:
    0 0 80px rgba(106, 36, 200, 0.18),
    inset 0 0 80px rgba(0, 143, 232, 0.08);
  backdrop-filter: blur(8px);
}

.mission-emblem::before,
.mission-emblem::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.mission-emblem::before {
  inset: 7%;
  border: 1px solid rgba(142, 53, 255, 0.28);
}

.mission-emblem::after {
  inset: 14%;
  border: 1px solid rgba(0, 229, 255, 0.2);
}

.orbit {
  position: absolute;
  border: 1px solid;
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  inset: -2%;
  border-color: rgba(0, 229, 255, 0.24);
  transform: rotate(18deg) scaleY(0.66);
}

.orbit-two {
  inset: 4%;
  border-color: rgba(244, 44, 214, 0.24);
  transform: rotate(-34deg) scaleY(0.72);
}

.orbit-three {
  inset: 10%;
  border-color: rgba(142, 53, 255, 0.28);
  transform: rotate(72deg) scaleY(0.62);
}

.orbit-node {
  position: absolute;
  z-index: 2;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.node-cyan {
  top: 10%;
  left: 49%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
  animation: float-node 4.5s ease-in-out infinite;
}

.node-violet {
  bottom: 18%;
  left: 11%;
  background: var(--violet-bright);
  box-shadow: 0 0 18px var(--violet-bright);
  animation: float-node 5.4s ease-in-out infinite reverse;
}

.node-magenta {
  top: 49%;
  right: 3%;
  background: var(--magenta);
  box-shadow: 0 0 18px var(--magenta);
  animation: float-node 4.8s ease-in-out infinite;
}

.emblem-core {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 270px;
  padding: 22px;
  text-align: center;
}

.emblem-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet-bright), var(--magenta));
  color: var(--cosmos);
  box-shadow: 0 0 38px rgba(0, 229, 255, 0.32);
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 850;
}

.emblem-core p {
  margin-bottom: 9px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.emblem-core strong {
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.35;
}

.spectrum-line {
  width: 78px;
  height: 4px;
  margin-top: 20px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--cyan) 0 45%, var(--violet-bright) 45% 72%, var(--magenta) 72%);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.28);
}

.section {
  position: relative;
  width: var(--page);
  margin: 0 auto;
  padding: clamp(82px, 10vw, 132px) 0;
}

.section::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.28), rgba(142, 53, 255, 0.3), transparent);
}

.section-heading {
  max-width: 770px;
  margin-bottom: 44px;
}

.section-number {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 750;
}

.section-heading h2 {
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(2.35rem, 5vw, 4.2rem);
  font-weight: 750;
  line-height: 1.02;
}

.section-intro {
  max-width: 700px;
  margin: 18px 0 0;
  color: var(--muted);
}

.mission-section {
  isolation: isolate;
}

.mission-section::after {
  position: absolute;
  inset: 11% -14% 6%;
  z-index: -1;
  content: "";
  opacity: 0.55;
  background:
    radial-gradient(circle at 18% 30%, rgba(0, 229, 255, 0.13), transparent 28%),
    radial-gradient(circle at 78% 38%, rgba(244, 44, 214, 0.11), transparent 34%);
  filter: blur(30px);
}

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

.telemetry-card,
.activity-console,
.evidence-card,
.link-group,
.archive-note {
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(16, 11, 44, 0.78), rgba(5, 4, 20, 0.9));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.035),
    0 24px 70px rgba(1, 1, 11, 0.26);
  backdrop-filter: blur(12px);
}

.telemetry-card {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  padding: 24px;
  border-radius: var(--radius);
}

.telemetry-card::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: 42%;
  height: 3px;
  content: "";
  background: currentColor;
  box-shadow: 0 0 20px currentColor;
}

.telemetry-card::after {
  position: absolute;
  top: -80px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  content: "";
  background: currentColor;
  opacity: 0.11;
  filter: blur(34px);
}

.telemetry-card.cyan {
  color: var(--cyan);
}

.telemetry-card.violet {
  color: var(--violet-bright);
}

.telemetry-card.magenta {
  color: var(--magenta);
}

.telemetry-card p {
  margin-bottom: 18px;
  color: currentColor;
  font-size: 0.66rem;
}

.telemetry-card p::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
  content: "";
}

.telemetry-card strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 3.9rem;
  line-height: 1;
}

.telemetry-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

[data-github-status="error"] .telemetry-card p::before {
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange);
}

.activity-console {
  margin-top: 18px;
  overflow: hidden;
  border-radius: var(--radius);
}

.console-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 2, 15, 0.62);
  color: #9ff4ff;
  font-size: 0.68rem;
}

.console-heading span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.console-heading i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 13px var(--cyan);
}

.console-heading a {
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease;
}

.console-heading a:hover {
  color: var(--magenta);
}

.activity-list {
  margin: 0;
  padding: 8px 18px;
  list-style: none;
}

.activity-list li {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 48px;
  padding: 9px 4px;
  border-bottom: 1px solid rgba(148, 244, 255, 0.08);
}

.activity-list li:last-child {
  border-bottom: 0;
}

.activity-list .activity-loading {
  display: block;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.activity-type {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.activity-repo {
  overflow: hidden;
  color: var(--text-soft);
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-repo:hover {
  color: var(--cyan);
}

.activity-time {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  white-space: nowrap;
}

.activity-fallback {
  margin: 0;
  padding: 26px;
  color: var(--muted);
  text-align: center;
}

.activity-fallback a {
  color: var(--cyan);
}

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

.evidence-card {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.evidence-card:nth-child(2) {
  border-color: rgba(142, 53, 255, 0.3);
}

.evidence-card:nth-child(3) {
  border-color: rgba(244, 44, 214, 0.26);
}

.evidence-card::after {
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  content: "";
  background: var(--cyan);
  opacity: 0.07;
  filter: blur(20px);
}

.evidence-card:nth-child(2)::after {
  background: var(--violet-bright);
}

.evidence-card:nth-child(3)::after {
  background: var(--magenta);
}

.evidence-card:hover {
  border-color: rgba(0, 229, 255, 0.48);
  box-shadow: 0 28px 80px rgba(0, 229, 255, 0.08);
  transform: translateY(-5px);
}

.card-kicker {
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 750;
}

.evidence-card:nth-child(2) .card-kicker {
  color: #bd90ff;
}

.evidence-card:nth-child(3) .card-kicker {
  color: #ff9aec;
}

.evidence-card h3 {
  margin-bottom: 12px;
  font-size: 1.55rem;
}

.evidence-card > p:not(.card-kicker) {
  color: var(--text-soft);
}

.tag-list,
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li,
.project-tags li {
  padding: 6px 9px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 7px;
  background: rgba(0, 229, 255, 0.055);
  color: #aef5ff;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
}

.projects-section {
  width: 100%;
  padding-inline: max(20px, calc((100% - 1180px) / 2));
  background:
    linear-gradient(180deg, rgba(3, 2, 15, 0.45), rgba(10, 7, 34, 0.66), rgba(3, 2, 15, 0.45));
}

.projects-section .section-heading,
.projects-section .project-list {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.project {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 410px;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(0, 229, 255, 0.28);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 5%, rgba(0, 229, 255, 0.12), transparent 32%),
    linear-gradient(160deg, rgba(11, 9, 36, 0.95), rgba(4, 3, 18, 0.95));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.project:nth-child(2) {
  border-color: rgba(142, 53, 255, 0.36);
  background:
    radial-gradient(circle at 90% 5%, rgba(142, 53, 255, 0.14), transparent 32%),
    linear-gradient(160deg, rgba(15, 10, 46, 0.95), rgba(4, 3, 18, 0.95));
}

.project:nth-child(3) {
  border-color: rgba(244, 44, 214, 0.32);
  background:
    radial-gradient(circle at 90% 5%, rgba(244, 44, 214, 0.13), transparent 32%),
    linear-gradient(160deg, rgba(22, 8, 43, 0.95), rgba(4, 3, 18, 0.95));
}

.project::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: 34%;
  height: 3px;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
  content: "";
}

.project:nth-child(2)::before {
  background: var(--violet-bright);
  box-shadow: 0 0 18px var(--violet-bright);
}

.project:nth-child(3)::before {
  background: var(--magenta);
  box-shadow: 0 0 18px var(--magenta);
}

.project:hover {
  box-shadow: 0 28px 80px rgba(106, 36, 200, 0.13);
  transform: translateY(-5px);
}

.project-order {
  margin-bottom: 32px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.project:nth-child(2) .project-order,
.project:nth-child(2) .project-kind {
  color: #bd90ff;
}

.project:nth-child(3) .project-order,
.project:nth-child(3) .project-kind {
  color: #ff93ea;
}

.project-kind {
  margin-bottom: 9px;
  color: var(--cyan);
  font-size: 0.65rem;
}

.project-copy h3 {
  margin-bottom: 12px;
  font-size: 1.55rem;
}

.project-copy > p:last-child {
  color: var(--text-soft);
}

.project-tags {
  margin-top: auto;
  padding-top: 20px;
}

.project-link {
  width: fit-content;
  margin-top: 22px;
  color: var(--text);
  font-weight: 750;
  text-decoration-color: var(--cyan);
  text-underline-offset: 5px;
  transition: color 180ms ease;
}

.project-link:hover {
  color: var(--cyan);
}

.timeline {
  position: relative;
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0 0 0 28px;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 7px;
  width: 1px;
  content: "";
  background: linear-gradient(var(--cyan), var(--violet-bright), var(--magenta));
  opacity: 0.42;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(8, 5, 29, 0.68);
}

.timeline li::before {
  position: absolute;
  top: 31px;
  left: -27px;
  width: 13px;
  height: 13px;
  border: 4px solid var(--cosmos);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
  content: "";
}

.timeline li:nth-child(2)::before {
  background: var(--violet-bright);
  box-shadow: 0 0 18px var(--violet-bright);
}

.timeline li:nth-child(3)::before {
  background: var(--magenta);
  box-shadow: 0 0 18px var(--magenta);
}

.timeline time {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.timeline h3 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

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

.timeline-disclaimer {
  margin: 22px 0 0 28px;
  padding: 14px 18px;
  border-left: 3px solid var(--magenta);
  color: var(--muted);
  font-size: 0.9rem;
}

.links-section {
  width: 100%;
  padding-inline: max(20px, calc((100% - 1180px) / 2));
  background:
    radial-gradient(ellipse 55% 40% at 7% 50%, rgba(0, 143, 232, 0.09), transparent 72%),
    radial-gradient(ellipse 55% 40% at 94% 54%, rgba(244, 44, 214, 0.08), transparent 72%);
}

.links-section .section-heading,
.links-section .link-groups,
.links-section .archive-note {
  width: min(1180px, 100%);
  margin-inline: auto;
}

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

.link-group {
  overflow: hidden;
  padding: 22px;
  border-radius: var(--radius);
}

.link-group h3 {
  margin: 0 0 14px;
  padding: 0 4px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--cyan);
  font-size: 1rem;
}

.link-group:nth-child(2) h3 {
  color: #ff93ea;
}

.link-group > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 12px;
  border: 1px solid transparent;
  border-radius: 11px;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.link-group > a:hover {
  border-color: rgba(0, 229, 255, 0.26);
  background: rgba(0, 229, 255, 0.055);
  transform: translateX(3px);
}

.link-group strong,
.link-group small {
  display: block;
}

.link-group strong {
  color: var(--text);
}

.link-group small {
  margin-top: 1px;
  color: var(--muted);
}

.archive-note {
  display: grid;
  grid-template-columns: minmax(190px, 0.55fr) minmax(300px, 1fr) auto;
  gap: 26px;
  align-items: center;
  margin-top: 18px;
  padding: 24px;
  border-radius: var(--radius);
}

.archive-note .card-kicker {
  margin-bottom: 2px;
  color: var(--magenta);
}

.archive-note h3,
.archive-note p {
  margin-bottom: 0;
}

.archive-note p {
  color: var(--muted);
}

.archive-note a {
  padding: 10px 14px;
  border: 1px solid rgba(244, 44, 214, 0.3);
  border-radius: 9px;
  color: #ff9aec;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-footer {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr auto;
  gap: 28px;
  align-items: center;
  width: var(--page);
  margin: 0 auto;
  padding: 40px 0 52px;
  border-top: 1px solid var(--line);
}

.site-footer strong {
  font-family: var(--font-display);
}

.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.privacy-note a,
.back-top {
  color: var(--cyan);
  text-underline-offset: 4px;
}

.back-top {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  white-space: nowrap;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem 1rem;
}

.footer-actions > a:first-child {
  color: var(--muted);
  text-decoration-color: color-mix(in srgb, var(--cyan) 45%, transparent);
  text-underline-offset: 0.28rem;
}

.footer-actions > a:first-child:hover,
.footer-actions > a:first-child:focus-visible {
  color: var(--cyan);
}

.legal-main {
  padding-top: 5.5rem;
}

.legal-hero {
  min-height: auto;
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

.legal-hero h1 {
  max-width: 16ch;
  margin: 0;
  color: var(--text);
  font-size: clamp(2.4rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.legal-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 0;
}

.legal-content article {
  padding: clamp(1.2rem, 2.4vw, 2rem);
  border: 1px solid rgba(151, 168, 255, 0.2);
  border-radius: 1.1rem;
  background: rgba(11, 10, 31, 0.76);
}

.legal-content h2 {
  margin: 0 0 0.75rem;
  color: var(--cyan);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.legal-content p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.legal-content a {
  color: var(--text);
  text-underline-offset: 0.25rem;
}

.legal-navigation {
  display: flex;
}

.legal-navigation a[aria-current="page"] {
  color: var(--cyan);
}

@keyframes signal-pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

@keyframes float-node {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 980px) {
  :root {
    --page: min(100% - 32px, 760px);
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

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

  .mission-emblem {
    width: min(400px, 84vw);
  }

  .telemetry-grid,
  .evidence-grid,
  .project-list {
    grid-template-columns: 1fr;
  }

  .telemetry-card {
    min-height: 150px;
  }

  .evidence-card {
    min-height: auto;
  }

  .project {
    min-height: 350px;
  }

  .projects-section,
  .links-section {
    padding-inline: 16px;
  }

  .archive-note {
    grid-template-columns: 1fr;
  }

  .archive-note a {
    width: fit-content;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .brand-label {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .navigation {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(3, 2, 15, 0.96);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(18px);
  }

  .navigation[data-open="true"] {
    display: flex;
  }

  .legal-navigation {
    position: static;
    display: flex;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .legal-navigation a:first-child {
    display: none;
  }

  .navigation a {
    padding: 11px 12px;
  }

  .hero {
    padding-top: 114px;
  }

  .hero::before {
    background-image:
      linear-gradient(180deg, rgba(3, 2, 15, 0.74), rgba(3, 2, 15, 0.86) 58%, var(--cosmos) 100%),
      url("../img/hero-nebula.png");
    background-position: 66% center;
  }

  .hero h1 {
    font-size: clamp(4.15rem, 20vw, 6.2rem);
  }

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

  .hero-signals dd {
    white-space: normal;
  }

  .section {
    padding-block: 84px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

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

  .activity-list li {
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    padding-block: 12px;
  }

  .activity-type {
    grid-column: 1 / -1;
  }

  .link-groups {
    grid-template-columns: 1fr;
  }

  .legal-content {
    grid-template-columns: 1fr;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 520px) {
  :root {
    --page: calc(100% - 24px);
    --radius: 15px;
  }

  .hero h1 {
    font-size: 3.75rem;
  }

  .hero-statement {
    font-size: 1.25rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .mission-emblem {
    width: calc(100vw - 42px);
  }

  .emblem-core {
    max-width: 230px;
  }

  .emblem-core strong {
    font-size: 1rem;
  }

  .telemetry-card strong {
    font-size: 3.2rem;
  }

  .project,
  .evidence-card,
  .link-group,
  .archive-note {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
