/* ==========================================================================
   Domain 05 — Infrastructure. Scoped under .page-infrastructure.
   hero (ground station + links), one network (layers), capabilities,
   demo, eyes on the line, response flow, use cases, people, principles,
   CTA, every domain
   ========================================================================== */

/* ------------------------------------------------------------------ Hero
   A night hero in both themes (.surface-night). White ink, a crimson primary
   and a glass secondary. Crimson appears only as accents: the eyebrow tick,
   a faint glow at the top right, the light under the frame and the horizon
   hairline. The ground station sits in a hairline-edged instrument frame.
   ------------------------------------------------------------------------ */
.page-infrastructure .ih { padding: calc(var(--header-h) + clamp(40px, 6vw, 96px)) 0 0; }
.page-infrastructure .ih__glow { top: -58%; width: min(1000px, 120vw); opacity: 0.62; }
.page-infrastructure .ih .bg-grid { opacity: 0.7; }
/* A low crimson light the frame stands on */
.ih__floor {
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: min(1300px, 110vw);
  height: 46%;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 60%, rgb(var(--crimson-rgb) / 0.2), transparent 72%);
  filter: blur(20px);
}
.ih__top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: end;
}
.page-infrastructure .ih__title {
  max-width: 14ch;
  margin-top: 22px;
  font-size: clamp(2.75rem, 0.8rem + 5.5vw, 6.9rem);
  line-height: 0.94;
}
.ih__aside { padding-bottom: 0.35em; }
.page-infrastructure .ih__lead { max-width: 500px; font-size: clamp(1.1rem, 0.98rem + 0.4vw, 1.32rem); line-height: 1.5; color: var(--ink-2); }
.page-infrastructure .ih__actions { margin-top: 30px; --cluster-gap: 12px; }
@media (max-width: 1040px) {
  .ih__top { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .page-infrastructure .ih__title { max-width: 15ch; }
  .ih__aside { padding-bottom: 0; }
}

/* The instrument frame: the photograph and its links move as one stage.
   On night it is set apart by a hairline edge, a top highlight and the
   crimson light beneath it rather than by a shadow. */
.page-infrastructure .ih__media {
  --p: 0;
  margin-top: clamp(40px, 5vw, 76px);
  background: var(--night-1);
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.1),
    0 1px 0 rgb(255 255 255 / 0.08) inset,
    0 70px 140px -70px rgb(0 0 0 / 0.95),
    0 40px 110px -60px rgb(var(--crimson-rgb) / 0.5);
}
.ih__stage {
  position: absolute;
  inset: 0;
  transform: scale(max(1, calc(1.1 - var(--p) * 0.14)));
  transform-origin: 56% 62%;
  will-change: transform;
}
.page-infrastructure .ih__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.ih__net { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; }
.ih__links path { fill: none; stroke: rgb(255 255 255 / 0.55); stroke-width: 1.3; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }
.ih__flow path { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 2 26; opacity: 0; vector-effect: non-scaling-stroke; animation: ih-flow 2.2s linear infinite; animation-play-state: paused; }
.ih__nodes rect { fill: rgb(5 5 6 / 0.5); stroke: #fff; stroke-width: 1.6; vector-effect: non-scaling-stroke; opacity: 0; }
.ih__sats { opacity: 0; }
.ih__sats rect { fill: #fff; }
.ih__sats rect.p { fill: rgb(255 255 255 / 0.2); stroke: rgb(255 255 255 / 0.8); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ih__sats text, .ih__boxlbl { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.16em; fill: #fff; paint-order: stroke; stroke: rgb(5 5 6 / 0.55); stroke-width: 4px; stroke-linejoin: round; }
.ih__sats text.dim { fill: rgb(255 255 255 / 0.72); font-size: 11px; }
.ih__box { fill: none; stroke: var(--crimson-300); stroke-width: 1.8; vector-effect: non-scaling-stroke; opacity: 0; }
.ih__boxlbl { fill: var(--crimson-300); font-size: 12px; opacity: 0; }
/* The frame draws itself once it has risen into place */
.ih__media.is-in .ih__links path { animation: ih-draw 2s var(--ease-out) 500ms forwards; }
.ih__media.is-in .ih__links path:nth-child(2) { animation-delay: 650ms; }
.ih__media.is-in .ih__links path:nth-child(3) { animation-delay: 800ms; }
.ih__media.is-in .ih__links path:nth-child(4) { animation-delay: 950ms; }
.ih__media.is-in .ih__links path:nth-child(5) { animation-delay: 1100ms; }
.ih__media.is-in .ih__nodes rect { animation: ih-fade 700ms var(--ease-soft) 300ms forwards; }
.ih__media.is-in .ih__sats { animation: ih-fade 900ms var(--ease-soft) 1.4s forwards; }
.ih__media.is-in .ih__flow path { animation: ih-flow 2.2s linear infinite, ih-fade 1s var(--ease-soft) 2.3s forwards; animation-play-state: paused, running; }
.ih__media.is-in.is-live .ih__flow path { animation-play-state: running; }
.ih__media.is-in .ih__box { animation: ih-fade 700ms var(--ease-soft) 1.9s forwards; }
.ih__media.is-in .ih__boxlbl { animation: ih-fade 700ms var(--ease-soft) 2.1s forwards; }
/* Arriving through the page cross-fade (theme-boot.js .vt-arrival): the fade is the
   entrance, so the frame is already drawn and its links flow as soon as it is live.
   Reduced motion keeps its own still frame (below). */
@media (prefers-reduced-motion: no-preference) {
  .vt-arrival .ih__media.is-in .ih__links path { stroke-dashoffset: 0; animation: none; }
  .vt-arrival .ih__media.is-in :is(.ih__nodes rect, .ih__sats, .ih__box, .ih__boxlbl) { opacity: 0.92; animation: none; }
  .vt-arrival .ih__media.is-in .ih__flow path { opacity: 0.92; animation: ih-flow 2.2s linear infinite paused; }
  .vt-arrival .ih__media.is-in.is-live .ih__flow path { animation-play-state: running; }
  .vt-arrival .ih__media.is-in .ih__deps { transition: none; }
}
@keyframes ih-draw { to { stroke-dashoffset: 0; } }
@keyframes ih-flow { to { stroke-dashoffset: -56; } }
@keyframes ih-fade { to { opacity: 0.92; } }

/* Readouts over the frame (the bottom-left corner stays clear) */
.ih__hud .hud__corner { border-color: rgb(255 255 255 / 0.6); }
.ih__deps {
  position: absolute;
  right: 30px;
  bottom: 24px;
  display: grid;
  gap: 3px;
  text-align: right;
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: 0.14em;
  color: rgb(255 255 255 / 0.86);
  text-shadow: 0 1px 3px rgb(0 0 0 / 0.7);
  opacity: 0;
  transition: opacity 900ms var(--ease-soft) 2.4s;
}
.ih__deps b { margin-right: 12px; font-weight: 500; color: rgb(255 255 255 / 0.62); }
/* A soft scrim so the readouts hold over the lit antennas */
.ih__hud::after { content: ""; position: absolute; right: 0; bottom: 0; width: 46%; height: 36%; z-index: -1; background: radial-gradient(100% 100% at 100% 100%, rgb(0 0 0 / 0.5), transparent 72%); }
.ih__media.is-in .ih__deps { opacity: 1; }
@media (max-width: 900px) {
  .ih__deps, .ih__hud .hud__read--tr { display: none; }
  .ih__box, .ih__boxlbl { display: none; }
}
@media (max-width: 700px) {
  .ih__hud .hud__read--tl { font-size: 9.5px; }
  .ih__sats text { display: none; }
  .ih__stage { transform-origin: 50% 70%; }
}

/* Domain rail — the same language as the header: the page you are on is
   marked by a thin grey rule under its name (brighter here, on night), and
   hovering draws a fainter one. No crimson, no dots. */
.ih__rail { margin-top: clamp(26px, 3.4vw, 44px); padding-bottom: clamp(30px, 4vw, 52px); }
.ih__rail ol { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.ih__rail a {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;   /* enlarged text: the name drops under its number instead of printing over the next column */
  align-items: baseline;
  gap: 10px;
  min-height: 48px;
  padding: 16px 2px 12px 0;
  font-size: var(--fs-small);
  font-weight: 550;
  letter-spacing: -0.01em;
  color: var(--ink-3);
  transition: color var(--t-med) var(--ease-soft);
}
.ih__rail a span { font-family: var(--font-mono); font-size: var(--fs-nano); font-weight: 500; letter-spacing: 0.1em; color: var(--ink-3); transition: color var(--t-med); }
.ih__rail a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 1.5px;
  border-radius: 1px;
  background: rgb(var(--ink-rgb) / 0.3);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--t-slow) var(--ease-out), background-color var(--t-med);
}
.ih__rail a:hover { color: var(--ink); }
.ih__rail a:hover::after { transform: scaleX(1); }
.ih__rail a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.ih__rail a[aria-current="page"] span { color: var(--ink-2); }
.ih__rail a[aria-current="page"]::after { transform: none; background: rgb(var(--ink-rgb) / 0.55); }
@media (max-width: 900px) {
  .ih__rail ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ih__rail li:nth-child(n + 4) a { padding-top: 10px; }
}
@media (max-width: 520px) { .ih__rail a { font-size: var(--fs-micro); gap: 6px; } }
@media (max-width: 359px) {   /* three columns are narrower than "05 Infrastructure" */
  .ih__rail ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ih__rail li:nth-child(n + 3) a { padding-top: 10px; }
}

/* --------------------------------------------------------- One network */
.page-infrastructure .inet { padding-top: clamp(0px, 1.5vw, 24px); overflow: clip; }
.inet__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.inet__copy > * + * { margin-top: 22px; }
.inet__copy .eyebrow + .display { margin-top: 18px; }
.inet__title { max-width: 12ch; }
.inet__layers { display: grid; margin-top: 36px !important; border-top: 1px solid var(--line); }
.inet__layers li { display: grid; grid-template-columns: 36px 84px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); color: var(--ink-3); }
.inet__layers b { color: var(--ink); font-weight: 650; }
.inet__n { font-family: var(--font-mono); font-size: var(--fs-nano); letter-spacing: 0.1em; color: var(--accent-text); }

.inet__fig { --merge: 0; margin: 0; position: relative; }
.inet__scene { position: relative; aspect-ratio: 1 / 0.92; perspective: 2000px; perspective-origin: 50% 30%; }
.inet__stack {
  position: absolute;
  left: 11%;
  right: 11%;
  top: 30%;
  aspect-ratio: 1000 / 620;
  transform-style: preserve-3d;
  transform: rotateX(56deg) rotateZ(-34deg);
}
.inet__plane {
  --gap: calc((1 - var(--merge)) * clamp(60px, 9vw, 118px) + 1.5px);
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: rgb(var(--ink-rgb) / 0.018);
  border: 1px solid rgb(var(--ink-rgb) / 0.2);
  transform: translateZ(calc(var(--z) * var(--gap)));
  transition: background-color var(--t-slow) var(--ease-soft), border-color var(--t-slow) var(--ease-soft);
}
.inet__plane:last-child {
  background: var(--paper-2);
  border-color: var(--line-2);
  box-shadow: 0 50px 90px -40px rgb(0 0 0 / 0.35);
}
:root[data-theme="dark"] .inet__plane:last-child { background: var(--paper-3); box-shadow: 0 50px 90px -40px rgb(0 0 0 / 0.9); }
.inet__fig.is-merged .inet__plane { border-color: transparent; background: transparent; }
.inet__fig.is-merged .inet__plane:last-child { background: var(--paper-2); border-color: var(--line-2); box-shadow: none; }
:root[data-theme="dark"] .inet__fig.is-merged .inet__plane:last-child { background: var(--paper-3); }
.inet__plane svg { width: 100%; height: 100%; overflow: visible; }
.pl-tag { font-family: var(--font-mono); font-size: 26px; letter-spacing: 0.16em; fill: var(--ink-3); transition: opacity var(--t-slow); }
.inet__fig.is-merged .pl-tag { opacity: 0; }
.pl-lbl { font-family: var(--font-mono); font-size: 24px; font-weight: 600; letter-spacing: 0.06em; fill: var(--ink); }
.pl-lbl--dim { fill: var(--ink-3); font-weight: 500; }
.pl-body { fill: var(--paper); stroke: var(--ink); stroke-width: 2.5; }
.pl-body--hot { fill: var(--crimson); stroke: var(--crimson); }
.pl-fill { fill: var(--ink); }
.pl-panel { fill: rgb(var(--ink-rgb) / 0.12); stroke: var(--ink); stroke-width: 1.5; }
.pl-line { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.pl-towers rect { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.pl-dot { fill: none; stroke: var(--ink-2); stroke-width: 3; stroke-dasharray: 2 9; stroke-linecap: round; }
.pl-faint { opacity: 0.45; }
.pl-pipe { fill: none; stroke: var(--ink); stroke-width: 9; stroke-linecap: round; }
.pl-pipe--spur { stroke-width: 7; }
.pl-loop { fill: none; stroke: var(--ink-3); stroke-width: 3; stroke-dasharray: 10 10; }
.pl-contour { fill: none; stroke: rgb(var(--ink-rgb) / 0.16); stroke-width: 2; }
.pl-river { fill: none; stroke: rgb(var(--ink-rgb) / 0.14); stroke-width: 7; stroke-linecap: round; }
.pl-sea { fill: rgb(var(--ink-rgb) / 0.06); }
.pl-coast { fill: none; stroke: var(--ink-3); stroke-width: 2.5; }
.pl-ship { fill: var(--ink-2); }
.pl-dep { fill: none; stroke: var(--crimson); stroke-width: 3; }
.inet__cap { position: relative; margin-top: 8px; min-height: 3em; text-align: center; font-size: var(--fs-small); color: var(--ink-3); }
.inet__cap span { display: block; transition: opacity var(--t-slow) var(--ease-soft), transform var(--t-slow) var(--ease-out); }
.inet__cap-b { position: absolute; inset: 0; opacity: 0; transform: translateY(8px); color: var(--ink); font-weight: 600; }
.inet__fig.is-merged .inet__cap-a { opacity: 0; transform: translateY(-8px); }
.inet__fig.is-merged .inet__cap-b { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .inet__grid { grid-template-columns: minmax(0, 1fr); }
  .inet__scene { aspect-ratio: 1 / 0.95; }
  .inet__stack { left: 8%; right: 8%; top: 32%; }
}
@media (max-width: 520px) {
  .inet__layers li { grid-template-columns: 28px 64px minmax(0, 1fr); }
  .inet__plane { --gap: calc((1 - var(--merge)) * 54px + 1.5px); border-radius: 12px; }
}

/* ------------------------------------------------------- Capabilities */
.page-infrastructure .caps { padding-top: clamp(24px, 4vw, 64px); }
.cap { gap: 14px; }
.cap__top { display: flex; align-items: center; justify-content: space-between; }
.cap__title { margin-top: 8px; font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -0.04em; }
.cap__title--sm { font-size: var(--fs-h3); line-height: 1.1; letter-spacing: -0.03em; margin-top: 4px; }
.cap > p { max-width: 520px; }
.cap--register > p { font-size: var(--fs-body); }
.cap--register .chip { color: var(--ink-3); }
.cap__art { width: 100%; height: auto; margin-top: auto; padding-top: 12px; }

/* The register table */
.reg { margin-top: 10px; display: grid; border-top: 1px solid var(--line); font-size: var(--fs-micro); }
.reg__row { display: grid; grid-template-columns: 64px minmax(0, 1.3fr) minmax(0, 1fr) 92px; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.reg__row > :first-child { font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.04em; color: #fff; }
.reg__row--head { padding: 10px 0; }
.reg__row--head span { font-family: var(--font-mono); font-size: var(--fs-nano); font-weight: 500 !important; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--ink-3) !important; }
.reg__row:not(.reg__row--head) { transition: background-color var(--t-fast); }
.reg__row:not(.reg__row--head):hover { background: rgb(255 255 255 / 0.03); }
.reg em { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-family: var(--font-label); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.reg em.is-watch { color: var(--ink); }
.reg em.is-watch::before { content: ""; width: 9px; height: 9px; flex: none; box-sizing: border-box; border-radius: 50%; border: 1.5px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
.reg__feeds { color: var(--ink-3); }
@media (max-width: 560px) {
  .reg__row { grid-template-columns: 52px minmax(0, 1fr) 84px; }
  .reg__feeds { display: none; }
}

/* Feeds list */
.feeds { display: grid; gap: 0; margin-top: 6px; border-top: 1px solid var(--line); }
.feeds li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); color: var(--ink-2); }
.feeds vm-icon { color: var(--accent-text); }
.feeds a { color: var(--ink); font-weight: 550; text-decoration: underline; text-decoration-color: rgb(var(--ink-rgb) / 0.2); text-underline-offset: 3px; transition: text-decoration-color var(--t-fast), color var(--t-fast); }
.feeds a:hover { color: var(--accent-text); text-decoration-color: currentColor; }

/* Mini dependency graph */
.mini-graph .mg-e { fill: none; stroke: var(--line-2); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.mini-graph .mg-e--hot { stroke: var(--crimson); stroke-dasharray: 4 4; stroke-dashoffset: 0; }
.cap--deps.is-anim .mg-e--hot { animation: ih-flow 3s linear infinite; }
.mini-graph .mg-n { fill: var(--card); stroke: var(--ink-3); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.mini-graph .mg-n--src { fill: var(--crimson); stroke: var(--crimson); }
.mini-graph .mg-n--hot { stroke: var(--crimson); fill: var(--accent-soft-2); }

/* Sparkline */
.spark { height: 110px; }
.spark__band { fill: rgb(var(--ink-rgb) / 0.05); stroke: var(--line-2); stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.spark__line { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.spark__line--hot { stroke: var(--crimson); stroke-width: 2.2; }
.spark__dot { fill: var(--crimson); }
.cap__note { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: -4px; font-family: var(--font-mono); font-size: var(--fs-nano) !important; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3) !important; }

/* Response */
.resp { display: grid; margin-top: auto; padding-top: 10px; }
.resp li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid rgb(255 255 255 / 0.2); font-size: var(--fs-small); font-weight: 600; color: #fff; }
.resp vm-icon { display: inline-flex; flex: none; color: #fff; }
.resp vm-icon .icon { width: 14px; height: 14px; }

/* ----------------------------------------------------------------- Demo */
.page-infrastructure .idemo { padding-top: clamp(40px, 6vw, 96px); overflow: clip; }
.idemo .bg-grid { opacity: 0.6; }
.idemo__head { align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.idemo__try { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-small); color: var(--accent-text); font-weight: 600; }
.idemo__facts { margin-top: clamp(56px, 7vw, 96px); }
.ifact { padding-top: 24px; border-top: 1px solid var(--line); }
.ifact vm-icon { color: var(--accent-text); }
.ifact h3 { margin-top: 18px; font-size: var(--fs-h4); }
.ifact p { margin-top: 8px; color: var(--ink-3); font-size: var(--fs-small); }

/* ------------------------------------------------------ Eyes on the line */
.page-infrastructure .eyes { padding-bottom: var(--section-y); }
.eyes__frame {
  --p: 0;
  --grow: clamp(0, calc((var(--p) - 0.08) * 3.2), 1);
  position: relative;
  border-radius: calc(var(--r-2xl) - var(--grow) * 20px);
  overflow: hidden;
  isolation: isolate;
  background: var(--night-2);
  box-shadow: 0 0 0 1px var(--night-line), 0 60px 120px -60px rgb(0 0 0 / 0.9);
  transform: scale(calc(0.92 + var(--grow) * 0.08));
  transform-origin: 50% 30%;
  will-change: transform;
}
.eyes__media { position: relative; aspect-ratio: 16 / 8.2; }
.eyes__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.eyes__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(5 5 6 / 0.82) 0%, rgb(5 5 6 / 0.45) 38%, transparent 64%); pointer-events: none; }
.eyes .hud { z-index: 2; }
.eyes .hud__read--tl { left: auto; right: 30px; text-align: right; top: 66px; }
.eyes__copy {
  position: absolute;
  z-index: 3;
  left: clamp(24px, 5vw, 72px);
  bottom: clamp(28px, 5vw, 72px);
  max-width: 460px;
  color: #fff;
}
.eyes__copy .eyebrow { color: rgb(255 255 255 / 0.72); }
.eyes__title { margin-top: 16px; font-size: clamp(2rem, 1rem + 2.6vw, 3.6rem); line-height: 1; letter-spacing: -0.042em; color: #fff; }
.eyes__copy p:not(.eyebrow) { margin-top: 16px; color: rgb(255 255 255 / 0.8); }
.eyes__copy .link-arrow { margin-top: 20px; color: #fff; }
.eyes__pause {
  position: absolute;
  z-index: 4;
  right: 22px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-xs);
  color: #fff;
  background: rgb(10 10 12 / 0.55);
  border: 1px solid rgb(255 255 255 / 0.18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background-color var(--t-fast);
}
@media (hover: hover) { .eyes__pause:hover { background: rgb(10 10 12 / 0.75); } }
.eyes__pause vm-icon { grid-area: 1 / 1; }
.eyes__pause vm-icon[name="play"] { display: none; }
.eyes__pause[aria-pressed="true"] vm-icon[name="play"] { display: inline-flex; }
.eyes__pause[aria-pressed="true"] vm-icon[name="pause"] { display: none; }
@media (max-width: 900px) {
  .eyes__frame { transform: none; border-radius: var(--r-xl); }
  .eyes__media { aspect-ratio: 16 / 10; }
  .eyes__shade { display: none; }
  .eyes .hud__read--tl { top: 24px; right: 70px; }
  .eyes .hud__read--tr { display: none; }
  .eyes__copy { position: static; max-width: none; padding: 28px 24px 32px; }
  .eyes__pause { top: 16px; bottom: auto; right: 16px; }
}
@media (max-width: 520px) {
  .eyes__media { aspect-ratio: 4 / 3.6; }
  .eyes__copy { padding: 24px 20px 28px; }
  .eyes__copy p:not(.eyebrow) { font-size: var(--fs-small); }
}

/* Response flow */
.flow { margin-top: clamp(80px, 10vw, 150px); }
.flow__title { font-size: var(--fs-h1); max-width: 16ch; }
.flow__steps .step h3 { font-size: var(--fs-h4); }
@media (max-width: 1100px) and (min-width: 901px) { .flow__steps { --cols: 3 !important; } }

/* ------------------------------------------------------------ Use cases */
.page-infrastructure .uses { padding-top: clamp(24px, 4vw, 64px); }
.uses__list {
  display: flex;
  gap: 4px;
  margin-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
}
.uses__list::-webkit-scrollbar { display: none; }
.uses__list [role="tab"] {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 16px 18px 18px 0;
  margin-right: 18px;
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink-3);
  transition: color var(--t-fast);
}
.uses__list [role="tab"] span { font-family: var(--font-mono); font-size: var(--fs-nano); font-weight: 500; letter-spacing: 0.1em; color: var(--ink-3); transition: color var(--t-fast); }
/* The selected tab carries the header's mark: a thin grey rule under it,
   brighter in dark mode. Hover previews a fainter one. */
.uses__list [role="tab"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 18px;
  bottom: 0;
  height: 1.5px;
  border-radius: 1px;
  background: rgb(var(--ink-rgb) / 0.18);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--t-slow) var(--ease-out), background-color var(--t-med);
}
@media (hover: hover) { .uses__list [role="tab"]:hover { color: var(--ink); } }
@media (hover: hover) { .uses__list [role="tab"]:hover::after { transform: none; } }
.uses__list [role="tab"][aria-selected="true"] { color: var(--ink); }
.uses__list [role="tab"][aria-selected="true"] span { color: var(--ink-2); }
.uses__list [role="tab"][aria-selected="true"]::after { transform: none; background: rgb(var(--ink-rgb) / 0.42); }
:root[data-theme="dark"] .uses__list [role="tab"][aria-selected="true"]::after { background: rgb(var(--ink-rgb) / 0.6); }
.uses__list [role="tab"]:focus-visible { border-radius: 4px; }

.use { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.use:focus-visible { border-radius: var(--r-lg); }
.use__media { position: relative; aspect-ratio: 16 / 10.5; border-radius: var(--r-xl); overflow: hidden; background: var(--night-2); isolation: isolate; box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.5); }
.use__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 2.4s var(--ease-out); }
.use.is-active .use__media > img { transform: none; }
.use__copy > * + * { margin-top: 18px; }
.use__copy h3 { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -0.038em; }
.use__copy p { color: var(--ink-3); }
.use__copy .checks { margin-top: 26px; }
.use__copy .checks li { font-size: var(--fs-small); }
.use__copy .link-arrow { margin-top: 28px; }
@media (max-width: 900px) {
  .use { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------ The people who run it */
.page-infrastructure .people { overflow: hidden; padding-top: clamp(24px, 4vw, 64px); }
.people .bg-mark { right: -10%; bottom: -12%; width: min(980px, 90vw); }
.people__head { align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.people .eyebrow, .icta__band .eyebrow { color: rgb(255 255 255 / 0.92); }
.people .lead { color: #fff; }
.people__head .display { max-width: 11ch; }
.people__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: clamp(14px, 1.6vw, 20px); }
.pcard--monitor { grid-row: span 2; }
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-xl);
  background: rgb(70 0 14 / 0.26);
  border: 1px solid rgb(255 255 255 / 0.2);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-slow) var(--ease-out), background-color var(--t-fast) var(--ease-soft), border-color var(--t-fast) var(--ease-soft);
}
.pcard:hover { transform: translateY(-4px); background: rgb(70 0 14 / 0.34); border-color: rgb(255 255 255 / 0.36); }
.pcard.spotlight::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -40%), rgb(255 255 255 / 0.14), transparent 60%); }
.pcard.spotlight::after { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, -40%), rgb(255 255 255 / 0.75), transparent 65%); }
.pcard__top { display: flex; align-items: center; justify-content: space-between; }
.pcard__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--crimson); }
.pcard .chip { --tick: #fff; color: #fff; border-color: rgb(255 255 255 / 0.3); background: rgb(255 255 255 / 0.06); }
.pcard__title { margin-top: 6px; font-size: var(--fs-h3); line-height: 1.1; letter-spacing: -0.03em; color: #fff; }
.pcard--monitor .pcard__title { font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -0.04em; max-width: 14ch; }
.pcard p { color: rgb(255 255 255 / 0.94); font-size: var(--fs-small); line-height: 1.55; }
.pcard--monitor > p { font-size: var(--fs-body); max-width: 520px; }
.pcard .link-arrow { margin-top: auto; padding-top: 8px; color: #fff; }
.msrc { display: grid; margin-top: 8px; border-top: 1px solid rgb(255 255 255 / 0.22); }
.msrc li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name state" "what state"; column-gap: 14px; padding: 14px 0; border-bottom: 1px solid rgb(255 255 255 / 0.16); }
.msrc__name { grid-area: name; font-weight: 650; color: #fff; font-size: var(--fs-small); }
.msrc__what { grid-area: what; font-size: var(--fs-micro); color: rgb(255 255 255 / 0.9); }
.msrc__state { grid-area: state; align-self: center; font-family: var(--font-mono); font-size: var(--fs-nano); letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 9px; border-radius: 2px; border: 1px solid rgb(255 255 255 / 0.3); color: #fff; }
.msrc__state.is-hit { background: #fff; color: var(--crimson-700); border-color: #fff; font-weight: 600; }
.sev { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.sev__label { font-family: var(--font-mono); font-size: var(--fs-nano); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: rgb(255 255 255 / 0.9); margin-right: 6px; }
.sev__lvl { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 2px; border: 1px solid rgb(255 255 255 / 0.26); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.sev__lvl.is-crit { background: #fff; color: var(--crimson-700); border-color: #fff; font-weight: 600; }
.pcard__fine { font-size: var(--fs-micro) !important; color: rgb(255 255 255 / 0.88) !important; }
@media (max-width: 900px) {
  .people__grid { grid-template-columns: minmax(0, 1fr); }
  .pcard--monitor { grid-row: auto; }
}

/* ----------------------------------------------------------- Principles */
.page-infrastructure .princ { padding-top: clamp(24px, 4vw, 64px); overflow: hidden; }
.princ .section-head { max-width: 780px; }
.princ__grid { --grid-gap: 0; border-top: 1px solid var(--line); }
.page-infrastructure .principle { padding: 32px 28px 36px 0; border-bottom: 1px solid var(--line); }
.page-infrastructure .principle:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.page-infrastructure .principle vm-icon { color: var(--accent-text); }
.page-infrastructure .principle h3 { margin-top: 18px; font-size: var(--fs-h4); }
.page-infrastructure .principle p { margin-top: 8px; color: var(--ink-3); font-size: var(--fs-small); }
@media (max-width: 1024px) {
  .page-infrastructure .principle:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .page-infrastructure .principle:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
}
@media (max-width: 680px) { .page-infrastructure .principle:nth-child(even) { padding-left: 0; border-left: 0; } }

/* ------------------------------------------------------------------ CTA */
.icta__band .eyebrow { margin-top: 0; font-size: var(--fs-nano); line-height: 1.4; }
.icta__band h2 { margin-top: 18px; }
.page-infrastructure .icta { padding-top: clamp(24px, 4vw, 64px); padding-bottom: clamp(56px, 7vw, 104px); }
.icta__band h2 { max-width: 13ch; }
.icta__band p:not(.eyebrow) { max-width: 560px; color: #fff; }
.icta__band .btn--glass { --btn-bg: rgb(60 0 12 / 0.3); --btn-line: rgb(255 255 255 / 0.3); }
.icta__band .btn--glass:hover { --btn-bg: rgb(60 0 12 / 0.45); }
.icta__mark {
  position: absolute;
  right: -3%;
  top: 50%;
  width: min(520px, 55%);
  aspect-ratio: 424 / 276;
  transform: translateY(-50%) rotate(-8deg);
  background: rgb(255 255 255 / 0.1);
  -webkit-mask: url("../../assets/brand/v-mark-mask.svg") center / contain no-repeat;
  mask: url("../../assets/brand/v-mark-mask.svg") center / contain no-repeat;
  z-index: -1;
}
.icta__net { position: absolute; right: 4%; bottom: 8%; width: min(460px, 44%); height: auto; z-index: -1; opacity: 0.55; }
.icta__net path { fill: none; stroke: rgb(255 255 255 / 0.7); stroke-width: 1.5; stroke-dasharray: 3 6; vector-effect: non-scaling-stroke; }
.icta__net path.d { stroke: rgb(255 255 255 / 0.4); }
.icta__net rect { fill: var(--crimson-700); stroke: #fff; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.icta__band.is-anim .icta__net path { animation: ih-flow 5s linear infinite; }
@media (max-width: 700px) { .icta__net { display: none; } .icta__mark { width: 80%; right: -30%; } }

/* --------------------------------------------------------- Every domain */
.page-infrastructure .others { padding-bottom: clamp(72px, 9vw, 136px); }
.others__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.others__title { margin-top: 18px; font-size: var(--fs-h1); max-width: 16ch; }
.orows { border-top: 1px solid var(--line); }
.orow {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(120px, 0.7fr) minmax(0, 1.4fr) 132px 28px;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: padding var(--t-slow) var(--ease-out);
}
.orow::before { content: ""; position: absolute; inset: -1px 0 -1px; z-index: -1; background: linear-gradient(90deg, var(--accent-soft), transparent 70%); opacity: 0; transition: opacity var(--t-med) var(--ease-soft); }
.orow:hover { padding-left: 12px; }
.orow:hover::before { opacity: 1; }
.orow__n { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.1em; color: var(--accent-text); }
.orow__name { font-family: var(--font-sans); font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.03em; }
.orow__desc { color: var(--ink-3); font-size: var(--fs-small); }
.orow__img { position: relative; width: 132px; aspect-ratio: 16 / 9.5; border-radius: 10px; overflow: hidden; background: var(--night-2); }
.orow__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); filter: saturate(0.85); transition: transform 1.2s var(--ease-out), filter var(--t-slow); }
.orow:hover .orow__img img { transform: none; filter: none; }
.orow vm-icon { color: var(--ink-3); transition: transform var(--t-med) var(--ease-out), color var(--t-fast); }
.orow:hover vm-icon { transform: translate(3px, -3px); color: var(--accent-text); }
@media (max-width: 900px) {
  .orow { grid-template-columns: 40px minmax(0, 1fr) 96px; grid-template-areas: "n name img" "n desc img"; row-gap: 4px; column-gap: 16px; }
  .orow__n { grid-area: n; align-self: start; padding-top: 8px; }
  .orow__name { grid-area: name; }
  .orow__desc { grid-area: desc; }
  .orow__img { grid-area: img; width: 96px; }
  .orow vm-icon { display: none; }
  .orow:hover { padding-left: 0; }
}

/* ------------------------------------------------------ Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ih__stage { transform: none !important; }
  .ih__links path { stroke-dashoffset: 0; animation: none !important; }
  .ih__nodes rect, .ih__sats, .ih__box, .ih__boxlbl { animation: none !important; opacity: 0.92; }
  .ih__flow path { animation: none !important; opacity: 0; }
  .ih__deps { transition: none; opacity: 1; }
  .eyes__frame { transform: none !important; }
}

/* "One network" console: below 721px wide the script crops its map to a 1000 × 500
   viewBox (js/demos/infrastructure.js, from a ResizeObserver on .inf-demo, the "inf"
   container). The map takes that shape from its first layout, so the crop never changes
   the console's height inside the observer's own callback, which raised a "ResizeObserver
   loop" error on every phone load. */
@container inf (width < 721px) {
  .page-infrastructure .inf-svg { aspect-ratio: 1000 / 500; }
}
