.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 13, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  height: 100%;
  grid-template-columns: minmax(210px, auto) 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.brand-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid var(--line);
  border-radius: 4px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  min-width: 0;
  line-height: 1.15;
}

.brand-copy strong {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
}

.brand-copy span {
  margin-top: 4px;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.primary-nav a {
  position: relative;
  padding: 9px 11px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease;
}

.primary-nav a::after {
  position: absolute;
  right: 10px;
  bottom: 2px;
  left: 10px;
  height: 1px;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 180ms ease, transform 180ms ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="location"] {
  background: rgba(164, 178, 198, 0.07);
  color: var(--text);
}

.primary-nav a[aria-current="location"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-status,
.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.lab-hero {
  position: relative;
  min-height: min(820px, calc(100svh - var(--header-height) - 28px));
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 13, 0.76);
}

.lab-hero::before,
.lab-hero::after {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  pointer-events: none;
  background: rgba(164, 178, 198, 0.08);
  content: "";
}

.lab-hero::before {
  left: calc(50% - min(660px, 46vw));
}

.lab-hero::after {
  right: calc(50% - min(660px, 46vw));
}

.hero-telemetry {
  display: flex;
  height: 36px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.hero-layout {
  display: grid;
  min-height: min(784px, calc(100svh - var(--header-height) - 64px));
  grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: 54px;
  padding-block: 38px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 570px;
}

.hero-logo {
  width: 132px;
  height: 132px;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: var(--glow-cyan);
}

.hero-kicker {
  margin-bottom: 10px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-statement {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 1.22rem;
  font-weight: 600;
}

.hero-summary {
  max-width: 530px;
  margin-bottom: 24px;
  font-size: 1.02rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line-strong);
  padding: 4px 0 6px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease;
}

.text-link:hover {
  border-color: var(--accent);
  color: var(--text);
}

.system-topology {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 690px;
  justify-self: end;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.topology-label {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.topology-stage {
  position: relative;
  min-height: 440px;
  overflow: hidden;
}

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

.topology-stage::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(164, 178, 198, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(164, 178, 198, 0.045) 1px, transparent 1px);
  background-size: 24px 24px;
}

.topology-stage::after {
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(125, 211, 252, 0.32);
  box-shadow: 0 0 16px rgba(125, 211, 252, 0.28);
  transform: translateY(-20px);
  animation: terminal-scan 8s ease-in-out infinite;
}

.topology-axis,
.topology-link {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.topology-axis {
  background: rgba(164, 178, 198, 0.09);
}

.topology-axis-horizontal {
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
}

.topology-axis-vertical {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.topology-link {
  top: 50%;
  left: 50%;
  z-index: 2;
  height: 1px;
  border-top: 1px dashed rgba(125, 211, 252, 0.42);
  transform-origin: left center;
}

.topology-link::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
  box-shadow: var(--glow-cyan);
}

.topology-link-saul {
  width: 255px;
  transform: rotate(214deg);
}

.topology-link-strata {
  width: 255px;
  border-color: rgba(196, 181, 253, 0.42);
  transform: rotate(-34deg);
}

.topology-link-strata::after {
  background: var(--violet);
  box-shadow: var(--glow-purple);
}

.topology-link-cloudlab {
  width: 142px;
  transform: rotate(90deg);
}

.topology-node {
  --node-rgb: 125, 211, 252;
  position: absolute;
  z-index: 5;
  display: grid;
  width: 176px;
  min-height: 78px;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 12px;
  background: rgba(5, 7, 13, 0.92);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.topology-node img {
  width: 48px;
  height: 48px;
}

.topology-node span {
  display: grid;
  min-width: 0;
}

.topology-node strong {
  font-size: 0.93rem;
}

.topology-node small {
  margin-top: 5px;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.58rem;
}

.topology-node:hover {
  border-color: rgba(var(--node-rgb), 0.58);
  background: var(--surface-raised);
  transform: translateY(-2px);
}

.topology-node.is-active {
  border-color: rgba(var(--node-rgb), 0.78);
  background: var(--surface-raised);
  box-shadow: 0 0 24px rgba(var(--node-rgb), 0.12), inset 3px 0 rgba(var(--node-rgb), 0.85);
}

.topology-node-saul {
  top: 8%;
  left: 2%;
}

.topology-node-strata {
  --node-rgb: 196, 181, 253;
  top: 8%;
  right: 2%;
}

.topology-node-cloudlab {
  bottom: 7%;
  left: 50%;
  transform: translateX(-50%);
}

.topology-node-cloudlab:hover {
  transform: translateX(-50%) translateY(-2px);
}

.topology-node-cloudlab.is-active {
  transform: translateX(-50%);
}

.topology-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  display: grid;
  width: 138px;
  height: 138px;
  place-content: center;
  border: 1px solid rgba(125, 211, 252, 0.52);
  border-radius: 50%;
  background: #070b11;
  text-align: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 14px rgba(125, 211, 252, 0.035), 0 0 0 28px rgba(125, 211, 252, 0.018), var(--glow-cyan);
}

.topology-core::before,
.topology-core::after {
  position: absolute;
  background: rgba(125, 211, 252, 0.5);
  content: "";
}

.topology-core::before {
  top: 50%;
  right: -11px;
  left: -11px;
  height: 1px;
}

.topology-core::after {
  top: -11px;
  bottom: -11px;
  left: 50%;
  width: 1px;
}

.core-code,
.core-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
}

.core-code {
  color: var(--text);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1;
}

.core-label {
  margin-top: 7px;
  color: var(--accent);
  font-size: 0.62rem;
}

.topology-readout {
  display: grid;
  min-height: 72px;
  grid-template-columns: 66px 1fr auto;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.readout-index {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.66rem;
}

.readout-copy {
  display: grid;
  min-width: 0;
}

.readout-copy strong {
  color: var(--text);
  font-size: 0.86rem;
}

.readout-copy span {
  margin-top: 3px;
  color: var(--text-soft);
  font-size: 0.72rem;
  overflow-wrap: anywhere;
}

.topology-readout a {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.topology-readout a:hover {
  color: var(--text);
}

.lab-directory {
  border-bottom: 1px solid var(--line);
  background: #090d13;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-right: 1px solid var(--line);
}

.directory-grid a {
  display: grid;
  min-height: 104px;
  align-content: center;
  border-left: 1px solid var(--line);
  padding: 16px;
  transition: background 180ms ease, color 180ms ease;
}

.directory-grid a:hover {
  background: var(--surface-raised);
}

.directory-grid span,
.directory-grid small {
  font-family: var(--font-mono);
  font-size: 0.61rem;
}

.directory-grid span {
  color: var(--accent);
}

.directory-grid strong {
  margin: 6px 0 2px;
  color: var(--text);
  font-size: 0.79rem;
}

.directory-grid small {
  color: var(--text-soft);
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 210px;
  align-items: start;
  gap: 34px;
  margin-bottom: 56px;
}

.section-heading > div > p:last-child {
  max-width: 690px;
  margin-bottom: 0;
}

.section-index,
.section-note {
  margin: 9px 0 0;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.63rem;
  text-transform: uppercase;
}

.section-note {
  justify-self: end;
  text-align: right;
}

.systems-section {
  background: rgba(6, 9, 14, 0.96);
}

.system-switchboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.system-module {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 440px;
  flex-direction: column;
  border-left: 1px solid var(--line);
  padding: 30px;
  background: rgba(12, 17, 24, 0.58);
  transition: background 180ms ease;
}

.system-module::before {
  position: absolute;
  top: -1px;
  right: 28px;
  left: 28px;
  height: 2px;
  background: var(--accent);
  content: "";
  opacity: 0.54;
}

.system-module:hover {
  background: var(--surface);
}

.system-module-strata::before {
  background: var(--violet);
}

.system-module-cloudlab::before {
  background: var(--success);
}

.module-header {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;
}

.module-number,
.module-state {
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.module-number {
  color: var(--text-soft);
}

.module-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--success);
  text-transform: uppercase;
}

.module-state-building {
  color: var(--violet);
}

.module-body {
  margin: 46px 0 42px;
}

.module-type {
  margin-bottom: 8px;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  text-transform: uppercase;
}

.module-body h3 {
  margin-bottom: 16px;
  font-size: 1.85rem;
}

.module-body > p:last-child {
  max-width: 34ch;
  margin-bottom: 0;
}

.module-specs {
  margin-top: auto;
  border-top: 1px solid var(--line);
}

.module-specs div {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(164, 178, 198, 0.1);
  font-family: var(--font-mono);
  font-size: 0.63rem;
}

.module-specs dt {
  color: var(--text-soft);
  text-transform: uppercase;
}

.module-specs dd {
  color: var(--text-muted);
  text-align: right;
}

.mission-section {
  background: var(--surface);
}

.mission-heading {
  margin-bottom: 52px;
}

.mission-console {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.82fr);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #05070d;
  overflow: hidden;
  box-shadow: var(--shadow), var(--glow-cyan);
}

.mission-brief {
  padding: 0 34px 34px;
}

.console-bar {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  margin: 0 -34px 30px;
  padding: 0 34px;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.64rem;
}

.console-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--success);
}

.mission-command {
  margin-bottom: 34px;
  border-left: 2px solid var(--accent);
  padding: 10px 14px;
  background: rgba(125, 211, 252, 0.055);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  overflow-wrap: anywhere;
}

.mission-command span {
  margin-right: 10px;
  color: var(--accent);
}

.mission-brief h3 {
  font-size: 1.65rem;
}

.mission-brief > p:not(.mission-command) {
  max-width: 58ch;
}

.mission-metadata {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.mission-metadata div {
  display: grid;
  min-height: 42px;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.64rem;
}

.mission-metadata dt {
  color: var(--text-soft);
  text-transform: uppercase;
}

.mission-metadata dd {
  color: var(--text-muted);
}

.mission-sequence {
  border-left: 1px solid var(--line);
  background: #080c12;
}

.mission-sequence li {
  position: relative;
  display: grid;
  min-height: 105px;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 18px 24px;
}

.mission-sequence li:last-child {
  border-bottom: 0;
}

.mission-sequence li > span {
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.mission-sequence li > div {
  display: grid;
  min-width: 0;
}

.mission-sequence strong {
  color: var(--text);
  font-size: 0.83rem;
}

.mission-sequence small {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 0.68rem;
}

.mission-sequence em {
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.59rem;
  font-style: normal;
}

.mission-sequence .is-complete em {
  color: var(--success);
}

.mission-sequence .is-active {
  background: rgba(125, 211, 252, 0.055);
}

.mission-sequence .is-active::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 2px;
  background: var(--accent);
  content: "";
  box-shadow: var(--glow-cyan);
}

.mission-sequence .is-active em,
.mission-sequence .is-active > span {
  color: var(--accent);
}

.hardware-section {
  background: rgba(5, 7, 13, 0.96);
}

.hardware-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: 76px;
}

.rack-blueprint {
  position: relative;
  margin: 0;
  border: 1px solid rgba(246, 196, 83, 0.38);
  border-radius: var(--radius);
  padding: 22px;
  background-color: #090c10;
  background-image:
    linear-gradient(rgba(246, 196, 83, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 196, 83, 0.04) 1px, transparent 1px);
  background-size: 16px 16px;
  box-shadow: 0 0 28px rgba(246, 196, 83, 0.06);
}

.rack-blueprint::before,
.rack-blueprint::after {
  position: absolute;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--amber);
  content: "";
}

.rack-blueprint::before {
  top: -5px;
  left: -5px;
  border-left: 1px solid var(--amber);
}

.rack-blueprint::after {
  right: -5px;
  bottom: -5px;
  border-right: 1px solid var(--amber);
  border-bottom: 1px solid var(--amber);
  border-top: 0;
}

.rack-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.61rem;
}

.rack-unit {
  position: relative;
  display: grid;
  min-height: 56px;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-bottom: 0;
  padding: 8px 12px;
  background: rgba(5, 7, 13, 0.88);
}

.rack-unit::after {
  width: 7px;
  height: 7px;
  border: 1px solid var(--text-soft);
  border-radius: 50%;
  content: "";
}

.rack-unit:last-of-type {
  border-bottom: 1px solid var(--line);
}

.rack-unit > span,
.rack-unit small {
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.57rem;
}

.rack-unit strong {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.rack-unit-accelerator {
  border-color: rgba(246, 196, 83, 0.46);
  background: rgba(246, 196, 83, 0.05);
}

.rack-unit-accelerator strong,
.rack-unit-accelerator::after {
  color: var(--amber);
  border-color: var(--amber);
}

.rack-unit-network::after,
.rack-unit-compute::after {
  background: var(--success);
  border-color: var(--success);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.45);
}

.rack-scale {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(246, 196, 83, 0.24);
  margin-top: 20px;
  padding-top: 8px;
  color: rgba(246, 196, 83, 0.66);
  font-family: var(--font-mono);
  font-size: 0.54rem;
}

.hardware-stages {
  border-top: 1px solid var(--line-strong);
}

.hardware-stages li {
  display: grid;
  grid-template-columns: 92px 1fr 88px;
  align-items: start;
  gap: 24px;
  border-bottom: 1px solid var(--line-strong);
  padding: 30px 0;
}

.hardware-phase,
.hardware-status {
  padding-top: 5px;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.61rem;
}

.hardware-status {
  color: var(--text-soft);
  text-align: right;
}

.hardware-stages h3 {
  margin-bottom: 8px;
}

.hardware-stages p {
  max-width: 56ch;
  margin-bottom: 0;
  font-size: 0.9rem;
}

.journey-section {
  background: #0b1017;
}

.journey-path {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.journey-path li {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 330px;
  flex-direction: column;
  border-left: 1px solid var(--line);
  padding: 26px 20px;
}

.journey-path li::before {
  position: absolute;
  top: -1px;
  right: 18px;
  left: 18px;
  height: 2px;
  background: var(--text-soft);
  content: "";
  opacity: 0.4;
}

.journey-path li:nth-child(2)::before,
.journey-path li:nth-child(6)::before {
  background: var(--accent);
}

.journey-path li:nth-child(3)::before {
  background: var(--amber);
}

.journey-path li:nth-child(5)::before {
  background: var(--violet);
}

.journey-number {
  color: rgba(238, 243, 248, 0.5);
  font-family: var(--font-mono);
  font-size: 2.65rem;
  font-weight: 800;
  line-height: 1;
}

.journey-coordinate {
  margin: 36px 0 8px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.59rem;
}

.journey-path h3 {
  min-height: 2.3em;
  margin-bottom: 12px;
}

.journey-path p:not(.journey-coordinate) {
  margin-bottom: 26px;
  font-size: 0.84rem;
}

.journey-path small {
  margin-top: auto;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.56rem;
}

.log-section {
  background: rgba(5, 7, 13, 0.97);
}

.log-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 74px;
}

.log-heading {
  display: block;
  margin-bottom: 0;
}

.log-heading .section-index {
  margin: 0 0 50px;
}

.log-heading .section-note {
  margin-top: 38px;
  text-align: left;
}

.log-list {
  border-top: 1px solid var(--line-strong);
}

.log-list > li {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 76px;
  align-items: start;
  gap: 24px;
  border-bottom: 1px solid var(--line-strong);
  padding: 24px 0;
}

.log-list time {
  display: grid;
  font-family: var(--font-mono);
}

.log-list time span {
  color: var(--text-soft);
  font-size: 0.58rem;
}

.log-list time strong {
  margin-top: 4px;
  color: var(--text);
  font-size: 0.9rem;
}

.log-list article {
  min-width: 0;
}

.log-channel {
  margin-bottom: 8px;
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 0.59rem;
}

.log-list h3 {
  margin-bottom: 8px;
}

.log-list article > p:last-child {
  margin-bottom: 0;
  font-size: 0.87rem;
}

.log-state {
  padding-top: 3px;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-align: right;
}

.philosophy-section {
  border-color: rgba(5, 7, 13, 0.24);
  background: #dfe5e8;
  color: #071018;
}

.philosophy-section h2,
.philosophy-section h3,
.philosophy-section strong {
  color: #071018;
}

.philosophy-section p {
  color: #46535f;
}

.philosophy-section .eyebrow {
  color: #005b78;
}

.philosophy-section .section-index {
  color: #46545f;
}

.philosophy-heading {
  grid-template-columns: 112px 1fr;
  margin-bottom: 54px;
}

.philosophy-section blockquote {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid #071018;
  border-right: 1px solid rgba(7, 16, 24, 0.24);
  border-bottom: 2px solid #071018;
}

.philosophy-section blockquote span {
  min-width: 0;
  border-left: 1px solid rgba(7, 16, 24, 0.24);
  padding: 30px 22px 34px;
  color: #071018;
  font-size: 3.45rem;
  font-weight: 800;
  line-height: 1;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-right: 1px solid rgba(7, 16, 24, 0.2);
  border-bottom: 1px solid rgba(7, 16, 24, 0.3);
}

.principle-list li {
  min-height: 210px;
  border-left: 1px solid rgba(7, 16, 24, 0.2);
  padding: 28px 22px;
}

.principle-list li > span {
  display: block;
  margin-bottom: 42px;
  color: #005b78;
  font-family: var(--font-mono);
  font-size: 0.64rem;
}

.principle-list strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
}

.principle-list p {
  margin-bottom: 0;
  font-size: 0.84rem;
}

.stack-section {
  background: #070a0f;
}

.stack-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.stack-matrix li {
  display: grid;
  min-width: 0;
  min-height: 94px;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  padding: 16px 18px;
  transition: background 180ms ease;
}

.stack-matrix li:hover {
  background: var(--surface-raised);
}

.stack-matrix img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.stack-matrix li > span {
  display: grid;
  min-width: 0;
}

.stack-matrix strong {
  color: var(--text);
  font-size: 0.83rem;
}

.stack-matrix small {
  margin-top: 3px;
  color: var(--text-soft);
  font-size: 0.67rem;
  overflow-wrap: anywhere;
}

.stack-matrix em {
  align-self: start;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-style: normal;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 38px 0;
  background: #020407;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.footer-inner > p {
  margin: 0;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-align: center;
}

.footer-status {
  justify-self: end;
}

@keyframes terminal-scan {
  0%,
  18% {
    opacity: 0;
    transform: translateY(-20px);
  }

  32% {
    opacity: 0.6;
  }

  66%,
  100% {
    opacity: 0;
    transform: translateY(460px);
  }
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: minmax(190px, auto) 1fr;
  }

  .header-status {
    display: none;
  }

  .hero-layout {
    grid-template-columns: minmax(330px, 0.8fr) minmax(460px, 1.2fr);
    gap: 28px;
  }

  .topology-node {
    width: 154px;
  }

  .topology-link-saul,
  .topology-link-strata {
    width: 220px;
  }

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

  .directory-grid a:nth-child(n + 5) {
    border-top: 1px solid var(--line);
  }

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

  .journey-path li {
    min-height: 285px;
  }

  .journey-path li:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .philosophy-section blockquote span {
    font-size: 2.75rem;
  }
}

@media (max-width: 960px) {
  .section-heading {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 24px;
  }

  .section-note {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px;
    text-align: left;
  }

  .system-module {
    padding: 24px;
  }

  .module-header {
    grid-template-columns: 44px 1fr;
  }

  .module-header img {
    width: 44px;
    height: 44px;
  }

  .module-state {
    grid-column: 1 / -1;
    margin-top: 4px;
  }

  .mission-console {
    grid-template-columns: 1fr;
  }

  .mission-sequence {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .mission-sequence li {
    border-right: 1px solid var(--line);
  }

  .mission-sequence .is-active::before {
    top: -1px;
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    height: 2px;
  }

  .hardware-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .rack-blueprint {
    max-width: 650px;
  }

  .log-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .log-heading .section-index {
    margin-bottom: 28px;
  }

  .log-heading .section-note {
    margin-top: 22px;
  }

  .philosophy-heading {
    grid-template-columns: 86px 1fr;
  }

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

  .principle-list li:nth-child(n + 3) {
    border-top: 1px solid rgba(7, 16, 24, 0.2);
  }

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

@media (max-width: 840px) {
  .hero-layout {
    min-height: auto;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 18px;
    padding-block: 28px 24px;
  }

  .hero-copy {
    max-width: none;
    padding-right: 104px;
  }

  .hero-logo {
    position: absolute;
    top: 0;
    right: 0;
    width: 82px;
    height: 82px;
    margin: 0;
  }

  .hero-copy h1 {
    margin-bottom: 12px;
  }

  .hero-summary {
    max-width: 570px;
    margin-bottom: 16px;
  }

  .system-topology {
    max-width: none;
    justify-self: stretch;
  }

  .topology-stage {
    min-height: 280px;
  }

  .topology-node {
    width: 140px;
    min-height: 58px;
    grid-template-columns: 36px 1fr;
    gap: 8px;
    padding: 8px;
  }

  .topology-node img {
    width: 36px;
    height: 36px;
  }

  .topology-node strong {
    font-size: 0.78rem;
  }

  .topology-node small {
    font-size: 0.51rem;
  }

  .topology-node-saul,
  .topology-node-strata {
    top: 6%;
  }

  .topology-node-cloudlab {
    bottom: 5%;
  }

  .topology-core {
    width: 94px;
    height: 94px;
    box-shadow: 0 0 0 10px rgba(125, 211, 252, 0.035), var(--glow-cyan);
  }

  .core-code {
    font-size: 1.75rem;
  }

  .topology-link-saul,
  .topology-link-strata {
    width: 170px;
  }

  .topology-link-cloudlab {
    width: 86px;
  }

  .topology-readout {
    min-height: 58px;
  }

  .system-switchboard {
    grid-template-columns: 1fr;
  }

  .system-module {
    min-height: auto;
  }

  .module-header {
    grid-template-columns: 48px 1fr auto;
  }

  .module-header img {
    width: 48px;
    height: 48px;
  }

  .module-state {
    grid-column: auto;
    margin-top: 0;
  }

  .module-body {
    margin: 34px 0 30px;
  }

  .module-body > p:last-child {
    max-width: 58ch;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: var(--header-height);
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    grid-template-rows: 64px 44px;
    gap: 0 14px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .brand-copy span {
    display: none;
  }

  .header-status {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    font-size: 0.58rem;
  }

  .primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: stretch;
    justify-content: space-between;
    border-top: 1px solid rgba(164, 178, 198, 0.1);
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .primary-nav a {
    display: flex;
    flex: 0 0 auto;
    min-height: 44px;
    align-items: center;
    padding: 0 3px;
    font-size: 0.72rem;
  }

  .primary-nav a::after {
    right: 3px;
    left: 3px;
  }

  .primary-nav a:focus-visible {
    outline-offset: -2px;
  }

  .lab-hero {
    min-height: min(700px, calc(100svh - var(--header-height) - 24px));
  }

  .hero-telemetry {
    height: 32px;
    font-size: 0.54rem;
  }

  .hero-telemetry span:nth-child(2) {
    display: none;
  }

  .hero-layout {
    gap: 14px;
    padding-block: 20px 18px;
  }

  .hero-copy {
    padding-right: 82px;
  }

  .hero-logo {
    width: 68px;
    height: 68px;
  }

  .hero-kicker {
    margin-bottom: 6px;
    font-size: 0.66rem;
  }

  .hero-statement {
    margin-bottom: 7px;
    font-size: 1rem;
  }

  .hero-summary {
    margin-bottom: 12px;
    font-size: 0.89rem;
    line-height: 1.48;
  }

  .text-link {
    padding-bottom: 3px;
    font-size: 0.66rem;
  }

  .topology-label {
    min-height: 28px;
    font-size: 0.52rem;
  }

  .topology-stage {
    min-height: 250px;
  }

  .topology-node {
    width: 124px;
    min-height: 52px;
    grid-template-columns: 32px 1fr;
    padding: 6px;
  }

  .topology-node img {
    width: 32px;
    height: 32px;
  }

  .topology-node strong {
    font-size: 0.72rem;
  }

  .topology-node small {
    margin-top: 2px;
    font-size: 0.46rem;
  }

  .topology-core {
    width: 80px;
    height: 80px;
  }

  .core-code {
    font-size: 1.45rem;
  }

  .core-label {
    font-size: 0.5rem;
  }

  .topology-link-saul,
  .topology-link-strata {
    width: 138px;
  }

  .topology-link-cloudlab {
    width: 74px;
  }

  .topology-readout {
    min-height: 50px;
    grid-template-columns: 48px 1fr auto;
    gap: 10px;
  }

  .readout-index,
  .topology-readout a {
    font-size: 0.56rem;
  }

  .readout-copy strong {
    font-size: 0.74rem;
  }

  .readout-copy span {
    display: none;
  }

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

  .directory-grid a {
    min-height: 88px;
    padding: 13px;
  }

  .directory-grid a:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .section-heading,
  .philosophy-heading {
    display: block;
    margin-bottom: 42px;
  }

  .section-index {
    margin: 0 0 30px;
  }

  .section-note {
    margin-top: 24px;
    text-align: left;
  }

  .system-module {
    padding: 24px 20px;
  }

  .module-header {
    grid-template-columns: 44px 1fr auto;
  }

  .module-header img {
    width: 44px;
    height: 44px;
  }

  .module-body h3 {
    font-size: 1.55rem;
  }

  .mission-brief {
    padding: 0 20px 24px;
  }

  .console-bar {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    margin: 0 -20px 24px;
    padding: 10px 20px;
  }

  .mission-brief h3 {
    font-size: 1.4rem;
  }

  .mission-metadata div {
    grid-template-columns: 100px 1fr;
  }

  .mission-sequence {
    grid-template-columns: 1fr;
  }

  .mission-sequence li {
    min-height: 88px;
    border-right: 0;
    padding: 15px 20px;
  }

  .hardware-layout {
    gap: 42px;
  }

  .rack-blueprint {
    padding: 16px;
  }

  .rack-unit {
    grid-template-columns: 32px 1fr auto;
    gap: 8px;
    padding: 8px;
  }

  .rack-unit small {
    display: none;
  }

  .hardware-stages li {
    grid-template-columns: 74px 1fr;
    gap: 16px;
    padding: 24px 0;
  }

  .hardware-status {
    grid-column: 2;
    text-align: left;
  }

  .journey-path {
    grid-template-columns: 1fr;
  }

  .journey-path li {
    min-height: 210px;
    border-top: 1px solid var(--line);
    padding: 24px 20px;
  }

  .journey-path li:first-child {
    border-top: 0;
  }

  .journey-number {
    position: absolute;
    top: 24px;
    right: 20px;
    font-size: 2.2rem;
  }

  .journey-coordinate {
    margin: 20px 0 7px;
  }

  .journey-path h3 {
    min-height: 0;
  }

  .journey-path p:not(.journey-coordinate) {
    max-width: 45ch;
  }

  .log-list > li {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 18px;
  }

  .log-state {
    grid-column: 2;
    text-align: left;
  }

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

  .philosophy-section blockquote span {
    border-top: 1px solid rgba(7, 16, 24, 0.24);
    padding: 23px 16px 26px;
    font-size: 2.2rem;
  }

  .philosophy-section blockquote span:nth-child(-n + 2) {
    border-top: 0;
  }

  .principle-list {
    grid-template-columns: 1fr;
  }

  .principle-list li {
    min-height: auto;
    border-top: 1px solid rgba(7, 16, 24, 0.2);
    padding: 24px 18px;
  }

  .principle-list li:first-child {
    border-top: 0;
  }

  .principle-list li > span {
    margin-bottom: 24px;
  }

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

  .stack-matrix li {
    min-height: 88px;
    padding: 13px;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-inner > p {
    display: none;
  }
}

@media (max-width: 420px) {
  .hero-copy {
    padding-right: 70px;
  }

  .hero-logo {
    width: 58px;
    height: 58px;
  }

  .topology-node {
    width: 112px;
  }

  .topology-link-saul,
  .topology-link-strata {
    width: 118px;
  }

  .stack-matrix {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-status {
    justify-self: start;
  }
}

@media (max-width: 350px) {
  .hero-layout {
    gap: 10px;
    padding-block: 12px 10px;
  }

  .hero-copy {
    padding-right: 0;
  }

  .hero-logo {
    display: none;
  }

  .hero-copy h1 {
    margin-bottom: 10px;
  }

  .topology-stage {
    min-height: 275px;
  }

  .topology-core {
    width: 72px;
    height: 72px;
  }

  .core-code {
    font-size: 1.25rem;
  }

  .topology-node-saul,
  .topology-node-strata {
    top: 4%;
  }

  .topology-node-cloudlab {
    bottom: 4%;
  }

  .topology-link-saul,
  .topology-link-strata {
    width: 136px;
  }

  .topology-link-cloudlab {
    width: 92px;
  }

  .primary-nav a {
    font-size: 0.68rem;
  }

  .topology-node {
    width: 102px;
    grid-template-columns: 28px 1fr;
  }

  .topology-node img {
    width: 28px;
    height: 28px;
  }

  .topology-node strong {
    font-size: 0.65rem;
  }

  .topology-node small {
    font-size: 0.42rem;
  }

  .topology-readout {
    grid-template-columns: 43px 1fr auto;
    gap: 7px;
  }
}
