:root {
  --ink: #090d0e;
  --surface: #101617;
  --surface-raised: #151c1d;
  --glass: rgba(16, 24, 25, 0.76);
  --paper: #f0f3ef;
  --muted: #98a7a4;
  --line: rgba(213, 224, 219, 0.16);
  --line-strong: rgba(213, 224, 219, 0.28);
  --cyan: #57d9df;
  --green: #76d9a0;
  --copper: #d59a68;
  --amber: #e5b75e;
  --red: #e27670;
  --header-height: 66px;
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: clip;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--ink);
  background-size: 52px 52px;
  color: var(--paper);
  font-family: inherit;
}

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

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

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

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.console {
  min-width: 0;
  overflow: hidden;
  background: rgba(9, 13, 14, 0.72);
}

.header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  height: var(--header-height);
  padding: 0 clamp(18px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 12, 13, 0.9);
  backdrop-filter: blur(18px) saturate(130%);
}

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid rgba(87, 217, 223, 0.52);
  border-radius: 3px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

.brand > span:last-child,
.brand strong,
.brand small {
  display: block;
  min-width: 0;
}

.brand strong {
  font-size: 13px;
  font-weight: 750;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0;
}

.header nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
}

.header nav a {
  position: relative;
  padding: 24px 0 21px;
  color: #b5bfbd;
  font-size: 11px;
  text-transform: uppercase;
}

.header nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--cyan);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 160ms ease, transform 160ms ease;
}

.header nav a:hover::after,
.header nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-status {
  display: flex;
  align-items: center;
  min-width: 92px;
  gap: 8px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
}

.header-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(87, 217, 223, 0.7);
}

.header-actions {
  display: flex;
  gap: 6px;
  margin-left: 8px;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.025);
  color: #cbd4d1;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  border-color: rgba(87, 217, 223, 0.65);
  background: rgba(87, 217, 223, 0.08);
  color: var(--cyan);
  outline: none;
}

.icon-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.icon-button svg {
  width: 18px;
  height: 18px;
}

.play-icon,
.console[data-motion="paused"] .pause-icon {
  display: none;
}

.console[data-motion="paused"] .play-icon {
  display: block;
}

.hero {
  position: relative;
  height: clamp(510px, 64vh, 640px);
  min-height: 510px;
  max-height: 640px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-strong);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  z-index: -3;
  inset: -3%;
  background-image: url("assets/governance-cinematic-hero.jpg");
  background-position: center 47%;
  background-size: cover;
  animation: image-drift 18s ease-in-out infinite alternate;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 12, 0.9) 0%, rgba(7, 11, 12, 0.66) 40%, rgba(7, 11, 12, 0.14) 72%, rgba(7, 11, 12, 0.32) 100%),
    linear-gradient(0deg, rgba(8, 12, 13, 0.84), transparent 42%);
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(87, 217, 223, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 217, 223, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  content: "";
  mask-image: linear-gradient(to bottom, transparent, black 30%, black 80%, transparent);
  opacity: 0.5;
}

.scan-pass {
  position: absolute;
  top: -25%;
  right: 0;
  left: 0;
  height: 18%;
  background: linear-gradient(to bottom, transparent, rgba(87, 217, 223, 0.13), transparent);
  filter: blur(4px);
  animation: scan-pass 7s linear infinite;
}

.tracer-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.tracer {
  fill: none;
  stroke: rgba(100, 224, 228, 0.75);
  stroke-dasharray: 3 18;
  stroke-width: 1.3;
  filter: drop-shadow(0 0 5px rgba(87, 217, 223, 0.72));
  animation: tracer-flow 9s linear infinite;
}

.tracer-b {
  animation-delay: -3s;
  stroke: rgba(213, 154, 104, 0.68);
}

.tracer-c {
  animation-delay: -6s;
}

.hero-copy {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: clamp(22px, 6vw, 96px);
  width: min(1040px, calc(100% - 44px));
  transform: translateY(-60%);
}

.eyebrow {
  margin: 0 0 17px;
  color: #b8c3c0;
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--cyan);
}

.hero h1 {
  margin: 0;
  color: #f7faf6;
  font-family: inherit;
  font-size: 54px;
  font-weight: 320;
  line-height: 1.08;
  letter-spacing: 0;
  white-space: nowrap;
  text-wrap: nowrap;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.58);
}

.lede {
  max-width: 680px;
  margin: 19px 0 0;
  color: #c2cdca;
  font-size: 16px;
  line-height: 1.62;
}

.custody-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  color: #d5ddda;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
}

.custody-line i {
  width: 34px;
  height: 1px;
  overflow: hidden;
  background: rgba(213, 224, 219, 0.3);
}

.custody-line i::after {
  display: block;
  width: 45%;
  height: 1px;
  background: var(--cyan);
  content: "";
  animation: custody-flow 2.4s linear infinite;
}

.annotations {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.marker {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d5e3df;
  font-size: 9px;
  text-transform: uppercase;
  pointer-events: auto;
}

.marker > i {
  width: 8px;
  height: 8px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  background: rgba(8, 13, 14, 0.75);
  box-shadow: 0 0 0 4px rgba(87, 217, 223, 0.1), 0 0 15px rgba(87, 217, 223, 0.7);
  animation: marker-pulse 2.8s ease-in-out infinite;
}

.marker span {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px;
  padding: 5px 7px;
  border-left: 1px solid rgba(87, 217, 223, 0.5);
  background: rgba(8, 13, 14, 0.68);
  backdrop-filter: blur(8px);
}

.marker b {
  color: var(--cyan);
}

.marker-1 { top: 24%; right: 31%; }
.marker-2 { top: 44%; right: 11%; }
.marker-3 { top: 61%; right: 28%; }
.marker-4 { top: 29%; right: 5%; }

.telemetry {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 88px;
  margin: 0;
  border-top: 1px solid var(--line-strong);
  background: rgba(8, 13, 14, 0.76);
  backdrop-filter: blur(15px) saturate(120%);
}

.telemetry-item {
  position: relative;
  display: grid;
  align-content: center;
  gap: 6px;
  min-width: 0;
  padding: 14px clamp(16px, 3vw, 42px);
  border-right: 1px solid var(--line);
}

.telemetry-item:last-child {
  border-right: 0;
}

.telemetry-item::before {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 0;
  width: 2px;
  background: var(--cyan);
  content: "";
  opacity: 0.8;
}

.telemetry-item.tone-copper::before { background: var(--copper); }
.telemetry-item.tone-green::before { background: var(--green); }

.telemetry dt,
.telemetry dd {
  min-width: 0;
  margin: 0;
}

.telemetry dt {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.telemetry dd {
  overflow: hidden;
  color: #f1f5f1;
  font-size: 15px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-health="failed"] .header-status i,
body[data-health="failed"] .tone-cyan::before,
body[data-update="out-of-sync"] #updateStatusCard::before {
  background: var(--red);
  box-shadow: 0 0 12px rgba(226, 118, 112, 0.65);
}

body[data-health="degraded"] .header-status i,
body[data-update="unknown"] #updateStatusCard::before {
  background: var(--amber);
}

body[data-update="updating"] #updateStatusCard::before {
  animation: session-active 1.2s ease-in-out infinite;
  background: var(--cyan);
}

.release-ribbon {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 0.7fr 1.5fr 0.9fr 1fr 1.1fr;
  border-bottom: 1px solid var(--line-strong);
  background: #111718;
}

.release-ribbon > div,
.release-ribbon > details {
  min-width: 0;
  padding: 19px clamp(16px, 2.6vw, 38px);
  border-right: 1px solid var(--line);
}

.release-ribbon small,
.release-ribbon strong {
  display: block;
}

.release-ribbon small,
.snapshot-disclosure summary {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.release-ribbon strong {
  margin-top: 5px;
  overflow-wrap: anywhere;
  color: #eef3ef;
  font-size: 16px;
  font-weight: 650;
}

.release-lead strong {
  color: var(--cyan);
  font-size: 22px;
}

.snapshot-disclosure {
  position: relative;
  border-right: 0 !important;
}

.snapshot-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  color: #c4cecb;
  cursor: pointer;
  list-style: none;
}

.snapshot-disclosure summary::-webkit-details-marker {
  display: none;
}

.snapshot-disclosure[open] summary span {
  transform: rotate(45deg);
}

.snapshot-disclosure dl {
  position: absolute;
  z-index: 20;
  top: calc(100% + 1px);
  right: 0;
  width: min(390px, 92vw);
  margin: 0;
  padding: 15px 18px;
  border: 1px solid var(--line-strong);
  background: rgba(11, 16, 17, 0.98);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.38);
}

.snapshot-disclosure dl > div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.snapshot-disclosure dl > div:last-child { border-bottom: 0; }
.snapshot-disclosure dt { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.snapshot-disclosure dd { margin: 0; overflow-wrap: anywhere; color: #dfe7e4; font-size: 11px; }

.section {
  padding: 66px clamp(18px, 6vw, 96px);
  border-bottom: 1px solid var(--line-strong);
}

.section-title {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  align-items: end;
  gap: 54px;
  margin-bottom: 38px;
}

.section-title span {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.section-title h2 {
  margin: 8px 0 0;
  color: #f4f7f3;
  font-size: 34px;
  font-weight: 360;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-title p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.brains {
  background: linear-gradient(120deg, rgba(18, 27, 28, 0.98), rgba(10, 15, 16, 0.94));
}

.brain-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.018);
}

.brain-column {
  display: grid;
  min-width: 0;
  min-height: 325px;
  padding: 23px;
  border-right: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(28, 39, 40, 0.68), rgba(13, 19, 20, 0.44));
  backdrop-filter: blur(12px);
}

.brain-column:last-child { border-right: 0; }

.brain-column > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--cyan);
}

.ordinal {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.brain-glyph {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(87, 217, 223, 0.32);
  border-radius: 50%;
  color: var(--cyan);
  font-size: 11px;
}

.brain-name {
  margin: 25px 0 7px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.brain-column h3 {
  min-height: 52px;
  margin: 0;
  color: #eef3ef;
  font-size: 20px;
  font-weight: 470;
  line-height: 1.3;
}

.brain-counter {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 21px;
}

.brain-counter strong { color: #fff; font-size: 30px; font-weight: 300; }
.brain-counter span { color: var(--muted); font-size: 9px; text-transform: uppercase; }

.brain-state {
  align-self: end;
  display: grid;
  gap: 5px;
  margin-top: 22px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.brain-state b { color: var(--green); font-size: 10px; text-transform: uppercase; }
.brain-state span { color: var(--muted); font-size: 10px; text-transform: uppercase; }

.brain-column details {
  margin-top: 15px;
  color: var(--muted);
  font-size: 11px;
}

.brain-column summary {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  color: #c3cdca;
  list-style: none;
}

.brain-column details p { margin: 12px 0 0; line-height: 1.55; }

.custody-route,
.session-route {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.custody-route i,
.session-route i,
.knowledge-flow i {
  height: 1px;
  overflow: hidden;
  background: var(--line-strong);
}

.custody-route i::after,
.session-route i::after,
.knowledge-flow i::after {
  display: block;
  width: 28%;
  height: 1px;
  background: var(--cyan);
  content: "";
  animation: custody-flow 3s linear infinite;
}

.custody-route strong { color: var(--paper); }

.evidence-ledger {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-bottom: 1px solid var(--line-strong);
  background: #0d1314;
}

.evidence-ledger > div {
  display: grid;
  min-width: 0;
  min-height: 112px;
  align-content: center;
  gap: 7px;
  padding: 18px clamp(14px, 2.4vw, 34px);
  border-right: 1px solid var(--line);
}

.evidence-ledger > div:last-child { border-right: 0; }
.evidence-ledger strong { color: #f5f8f4; font-size: 27px; font-weight: 300; }
.evidence-ledger span { color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }

.release-section {
  background: #111718;
}

.release-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.018);
}

.release-callout {
  display: grid;
  min-height: 230px;
  align-content: center;
  justify-items: start;
  gap: 10px;
  padding: 28px;
  border-right: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(87, 217, 223, 0.11), rgba(213, 154, 104, 0.04));
}

.release-callout svg { width: 30px; height: 30px; color: var(--cyan); }
.release-callout strong { max-width: 100%; overflow-wrap: anywhere; color: #fff; font-size: 24px; font-weight: 420; }
.release-callout span { color: var(--muted); font-size: 10px; text-transform: uppercase; }

.assurance-surface {
  min-width: 0;
}

.assurance-surface > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.assurance-surface > header strong { color: var(--green); }

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

.gate {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 86px;
  padding: 18px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.gate:nth-child(even) { border-right: 0; }
.gate-index { color: var(--muted); font-size: 9px; }
.gate span { min-width: 0; overflow-wrap: anywhere; color: #dfe6e3; font-size: 12px; text-transform: uppercase; }
.gate b { color: var(--green); font-size: 10px; text-transform: uppercase; }
.gate[data-status="fail"] b { color: var(--red); }

.caution {
  margin: 14px 0 0;
  color: #c8a477;
  font-size: 11px;
  line-height: 1.55;
}

.activity-section {
  background: linear-gradient(110deg, #0c1213, #12191a);
}

.idle-timeline {
  display: grid;
  grid-template-columns: 0.28fr 1fr;
  border: 1px solid var(--line-strong);
}

.idle-state {
  display: flex;
  min-height: 142px;
  align-items: center;
  gap: 14px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: rgba(87, 217, 223, 0.05);
}

.idle-state > i {
  width: 12px;
  height: 12px;
  border: 2px solid var(--green);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(118, 217, 160, 0.45);
}

.idle-state small,
.idle-state strong { display: block; }
.idle-state small { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.idle-state strong { margin-top: 5px; color: #f4f7f3; font-size: 22px; font-weight: 400; }

.idle-timeline ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.idle-timeline li {
  display: grid;
  min-width: 0;
  align-content: center;
  gap: 8px;
  padding: 21px;
  border-right: 1px solid var(--line);
}

.idle-timeline li:last-child { border-right: 0; }
.idle-timeline li small { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.idle-timeline li > strong { overflow-wrap: anywhere; color: #edf2ee; font-size: 13px; font-weight: 600; }
.idle-timeline li > span:not(.progress-track) { overflow-wrap: anywhere; color: #bec8c5; font-size: 11px; line-height: 1.5; }

.progress-track {
  display: block;
  width: 100%;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.progress-track i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--cyan);
  transition: width 280ms ease;
}

.session-route {
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  padding: 0 12px;
}

.session-route [data-state="complete"] { color: var(--green); }
.session-route [data-state="active"] { color: var(--cyan); animation: session-active 1.2s ease-in-out infinite; }
.session-route [data-state="attention"] { color: var(--red); }

.operations {
  padding-top: 0;
  padding-bottom: 0;
  background: #0d1314;
}

.operational-band {
  display: grid;
  grid-template-columns: minmax(210px, 0.3fr) minmax(0, 1fr);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.operational-band:first-child { border-top: 1px solid var(--line-strong); }

.operational-band > header {
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: center;
  gap: 6px 12px;
  min-height: 128px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.operational-band > header > span { grid-row: 1 / 3; color: var(--cyan); font-size: 10px; }
.operational-band h2 { margin: 0; color: #eef3ef; font-size: 20px; font-weight: 430; }
.operational-band > header > strong { color: var(--muted); font-size: 9px; text-transform: uppercase; }

.band-content {
  min-width: 0;
  padding: 24px;
}

.artifact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.artifact-list li {
  min-width: 0;
  padding: 11px 14px;
  overflow-wrap: anywhere;
  border-right: 1px solid var(--line);
  color: #cbd4d1;
  font-size: 11px;
}

.artifact-list li:nth-child(3n) { border-right: 0; }
.artifact-list li::before { margin-right: 8px; color: var(--green); content: "\2713"; }

.knowledge-flow {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.knowledge-flow > span { min-width: 0; }
.knowledge-flow b,
.knowledge-flow small { display: block; }
.knowledge-flow b { color: #e6ece8; font-size: 11px; text-transform: uppercase; }
.knowledge-flow small { margin-top: 4px; color: var(--muted); font-size: 9px; }

.boundary-note {
  margin: 18px 0 0;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: #aab5b2;
  font-size: 10px;
  line-height: 1.55;
}

.recovery-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
}

.recovery-list > div {
  min-width: 0;
  padding: 6px 17px;
  border-right: 1px solid var(--line);
}

.recovery-list > div:first-child { padding-left: 0; }
.recovery-list > div:last-child { padding-right: 0; border-right: 0; }
.recovery-list strong,
.recovery-list span { display: block; }
.recovery-list strong { color: #dde5e2; font-size: 10px; text-transform: uppercase; }
.recovery-list span { margin-top: 6px; color: var(--muted); font-size: 10px; line-height: 1.5; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 25px clamp(18px, 6vw, 96px);
  color: #7f8d89;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

footer span:last-child {
  max-width: 65%;
  overflow-wrap: anywhere;
  text-align: right;
}

.console[data-motion="paused"] .hero-media,
.console[data-motion="paused"] .scan-pass,
.console[data-motion="paused"] .tracer,
.console[data-motion="paused"] .marker > i,
.console[data-motion="paused"] .custody-line i::after,
body[data-update="updating"] .console[data-motion="paused"] #updateStatusCard::before,
.console[data-motion="paused"] .custody-route i::after,
.console[data-motion="paused"] .session-route i::after,
.console[data-motion="paused"] .knowledge-flow i::after,
.console[data-motion="paused"] .session-route [data-state="active"] {
  animation-play-state: paused;
}

@keyframes image-drift {
  from { transform: scale(1.01) translate3d(-0.3%, -0.2%, 0); }
  to { transform: scale(1.055) translate3d(0.5%, 0.25%, 0); }
}

@keyframes scan-pass {
  from { transform: translateY(-120%); }
  to { transform: translateY(760%); }
}

@keyframes tracer-flow {
  to { stroke-dashoffset: -210; }
}

@keyframes marker-pulse {
  0%, 100% { opacity: 0.64; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.14); }
}

@keyframes custody-flow {
  from { transform: translateX(-120%); }
  to { transform: translateX(340%); }
}

@keyframes session-active {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.staff-section {
  background: rgba(14, 20, 21, 0.78);
}

.staff-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-bottom: 0;
}

.staff-summary > div {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 22px;
  border-right: 1px solid var(--line);
  align-content: center;
}

.staff-summary > div:last-child { border-right: 0; }
.staff-summary strong { color: var(--paper); font-size: 31px; font-weight: 350; }
.staff-summary span,
.directorate-name,
.staff-filter,
.staff-dispatch header,
.staff-directory summary { color: var(--muted); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }

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

.directorate-card {
  display: grid;
  min-height: 190px;
  gap: 9px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(140deg, rgba(213, 154, 104, 0.07), transparent 55%);
}

.directorate-card:nth-child(3n) { border-right: 0; }
.directorate-card:nth-last-child(-n + 3) { border-bottom: 0; }
.directorate-card strong { color: var(--cyan); font-size: 21px; font-weight: 500; }
.directorate-card b { color: var(--paper); font-size: 11px; font-weight: 650; text-transform: uppercase; }
.directorate-card p { max-width: 36ch; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

.staff-dispatch { margin-top: 24px; border: 1px solid var(--line); }
.staff-dispatch > header { display: flex; justify-content: space-between; gap: 20px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.staff-dispatch > header strong { color: var(--copper); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.dispatch-list { display: grid; }
.dispatch-row { display: grid; grid-template-columns: minmax(180px, 1.2fr) repeat(3, minmax(150px, 1fr)) auto; gap: 14px; align-items: center; min-height: 76px; padding: 15px 22px; border-bottom: 1px solid var(--line); }
.dispatch-row:last-child { border-bottom: 0; }
.dispatch-row strong { color: var(--paper); font-size: 12px; }
.dispatch-row span { color: var(--muted); font-size: 10px; line-height: 1.4; }
.dispatch-row b { color: var(--green); font-size: 9px; letter-spacing: 0.08em; text-align: right; }

.staff-directory { margin-top: 24px; border: 1px solid var(--line); }
.staff-directory summary { display: flex; justify-content: space-between; padding: 18px 22px; cursor: pointer; list-style: none; }
.staff-directory summary::-webkit-details-marker { display: none; }
.staff-directory summary::after { color: var(--cyan); content: '+'; font-size: 18px; line-height: 0.6; }
.staff-directory[open] summary::after { content: '-'; }
.staff-filter { display: grid; gap: 8px; padding: 18px 22px; border-top: 1px solid var(--line); }
.staff-filter input { width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 2px; background: rgba(0, 0, 0, 0.25); color: var(--paper); outline: none; }
.staff-filter input:focus { border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(87, 217, 223, 0.12); }
.directory-list { display: grid; max-height: 510px; overflow: auto; border-top: 1px solid var(--line); }
.directory-row { display: grid; grid-template-columns: minmax(120px, 0.7fr) minmax(210px, 1.2fr) minmax(180px, 1fr) minmax(180px, 1fr); gap: 14px; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.directory-row strong { color: var(--paper); font-size: 12px; }
.directory-row span, .directory-row small { color: var(--muted); font-size: 10px; line-height: 1.45; }
.directory-row small { color: var(--copper); }

@media (max-width: 1100px) {
  .hero h1 { font-size: 44px; }
  .marker-3,
  .marker-4 { display: none; }
  .section { padding-inline: 34px; }
  .brain-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brain-column:nth-child(2) { border-right: 0; }
  .brain-column:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .evidence-ledger { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .evidence-ledger > div:nth-child(3n) { border-right: 0; }
  .evidence-ledger > div:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .idle-timeline { grid-template-columns: 1fr; }
  .idle-state { min-height: 90px; border-right: 0; border-bottom: 1px solid var(--line); }
  .recovery-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0; }
  .recovery-list > div:nth-child(2) { border-right: 0; }
  .recovery-list > div:nth-child(3) { padding-left: 0; }
  .dispatch-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dispatch-row b { text-align: left; }
}

@media (max-width: 820px) {
  .header { grid-template-columns: auto 1fr auto; padding-inline: 18px; }
  .header nav { display: none; }
  .header-status { justify-self: end; }
  .hero-copy { transform: translateY(-66%); }
  .hero h1 { font-size: 38px; }
  .marker-2 { display: none; }
  .marker-1 { top: 39%; right: 5%; }
  .telemetry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .telemetry-item { min-height: 64px; padding: 10px 16px; }
  .telemetry-item:nth-child(2) { border-right: 0; }
  .telemetry-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .release-ribbon { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .snapshot-disclosure { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .snapshot-disclosure summary { min-height: 28px; }
  .snapshot-disclosure dl { position: static; width: 100%; margin-top: 14px; box-shadow: none; }
  .section-title { grid-template-columns: 1fr; gap: 13px; }
  .release-layout,
  .operational-band { grid-template-columns: 1fr; }
  .release-callout,
  .operational-band > header { min-height: 100px; border-right: 0; border-bottom: 1px solid var(--line); }
  .release-callout { grid-template-columns: auto 1fr; align-items: center; justify-items: start; }
  .release-callout span { grid-column: 2; }
  .idle-timeline ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .idle-timeline li:nth-child(even) { border-right: 0; }
  .idle-timeline li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .session-route { grid-template-columns: auto 1fr auto 1fr auto 1fr auto; overflow-x: auto; }
  .artifact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .artifact-list li:nth-child(3n) { border-right: 1px solid var(--line); }
  .artifact-list li:nth-child(even) { border-right: 0; }
  .directorate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .directorate-card:nth-child(3n) { border-right: 1px solid var(--line); }
  .directorate-card:nth-child(2n) { border-right: 0; }
  .directorate-card:nth-last-child(-n + 3) { border-bottom: 1px solid var(--line); }
  .directorate-card:nth-last-child(-n + 2) { border-bottom: 0; }
}

@media (max-width: 560px) {
  :root { --header-height: 58px; }
  .header { padding-inline: 12px; }
  .brand { gap: 8px; }
  .brand-mark { width: 34px; height: 34px; flex-basis: 34px; }
  .brand small { display: none; }
  .brand strong { font-size: 11px; }
  .header-status { min-width: 0; gap: 5px; padding-left: 9px; font-size: 9px; }
  .header-actions { gap: 4px; margin-left: 5px; }
  .icon-button { width: 34px; height: 34px; }
  .hero { height: 522px; min-height: 522px; }
  .hero::before { background: linear-gradient(90deg, rgba(7, 11, 12, 0.86), rgba(7, 11, 12, 0.35) 82%, rgba(7, 11, 12, 0.15)); }
  .hero-media { background-position: 57% center; }
  .hero-copy { top: 43%; left: 16px; width: calc(100% - 32px); transform: translateY(-56%); }
  .eyebrow { margin-bottom: 12px; font-size: 10px; }
  .hero h1 { max-width: 100%; font-size: 36px; line-height: 1.04; white-space: normal; text-wrap: wrap; }
  .lede { margin-top: 13px; font-size: 13px; line-height: 1.46; }
  .custody-line { flex-wrap: wrap; gap: 7px; margin-top: 15px; font-size: 9px; }
  .custody-line i { width: 14px; }
  .marker-1 { display: none; }
  .telemetry { min-height: 116px; }
  .telemetry-item { min-height: 58px; gap: 4px; padding: 8px 12px; }
  .telemetry dd { font-size: 12px; }
  .release-ribbon { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .release-ribbon > div,
  .release-ribbon > details { padding: 13px 14px; }
  .release-ribbon > div:nth-child(2) { border-right: 0; }
  .release-ribbon > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .release-ribbon strong { font-size: 13px; }
  .release-lead strong { font-size: 19px; }
  .section { padding: 38px 14px; }
  .section-title { margin-bottom: 24px; }
  .section-title h2 { font-size: 27px; }
  .brain-columns { grid-template-columns: 1fr; }
  .brain-column { min-height: 285px; border-right: 0; border-bottom: 1px solid var(--line); }
  .brain-column:last-child { border-bottom: 0; }
  .evidence-ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evidence-ledger > div:nth-child(3n) { border-right: 1px solid var(--line); }
  .evidence-ledger > div:nth-child(even) { border-right: 0; }
  .evidence-ledger > div:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .release-callout { padding: 20px 16px; }
  .assurance-row { grid-template-columns: 1fr; }
  .gate,
  .gate:nth-child(even) { border-right: 0; }
  .idle-timeline ol { grid-template-columns: 1fr; }
  .idle-timeline li,
  .idle-timeline li:nth-child(even) { border-right: 0; border-bottom: 1px solid var(--line); }
  .idle-timeline li:last-child { border-bottom: 0; }
  .session-route { grid-template-columns: 1fr; gap: 8px; text-align: center; }
  .session-route i { display: none; }
  .operational-band > header { padding: 20px 16px; }
  .band-content { padding: 18px 14px; }
  .artifact-list,
  .knowledge-flow,
  .recovery-list { grid-template-columns: 1fr; }
  .artifact-list li,
  .artifact-list li:nth-child(3n),
  .artifact-list li:nth-child(even),
  .recovery-list > div,
  .recovery-list > div:nth-child(3) { padding: 11px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .artifact-list li:last-child,
  .recovery-list > div:last-child { border-bottom: 0; }
  .knowledge-flow { gap: 9px; text-align: center; }
  .knowledge-flow i { width: 1px; height: 13px; margin: auto; }
  .staff-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .staff-summary > div:nth-child(2) { border-right: 0; }
  .staff-summary > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .directorate-grid { grid-template-columns: 1fr; }
  .directorate-card, .directorate-card:nth-child(3n), .directorate-card:nth-child(2n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .directorate-card:last-child { border-bottom: 0; }
  .staff-dispatch > header { display: grid; gap: 8px; }
  .dispatch-row { grid-template-columns: 1fr; gap: 7px; }
  .directory-row { grid-template-columns: 1fr; gap: 5px; }
  footer { flex-direction: column; padding-inline: 14px; }
  footer span:last-child { max-width: 100%; text-align: left; }
}

@media (max-width: 360px) {
  .header { padding-inline: 8px; }
  .brand-mark { width: 32px; height: 32px; flex-basis: 32px; }
  .header-status span { max-width: 55px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .header-actions { margin-left: 3px; }
  .icon-button { width: 32px; height: 32px; }
  .hero h1 { font-size: 29px; }
  .hero-copy { left: 12px; width: calc(100% - 24px); }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
