:root {
  --oxblood: #6e1712;
  --oxblood-hover: #8a2a20;
  --lake: #29486b;
  --lake-edge: #8da0b8;
  --ember: #c7802f;
  --sage: #d8e1c9;
  --parchment: #f0ebdd;
  --shell: #251f2d;
  --paper: #fff;
  --cream: #f7f4eb;
  --ink: #3b382f;
  --muted: #6b675c;
  --faint: #8a857a;
  --line: #d8d1c1;
  --line-soft: #e8e2d5;
  --font-wordmark: "Young Serif", Georgia, serif;
  --font-prose: "Newsreader", Georgia, serif;
  --font-mono: "IBM Plex Mono", Consolas, monospace;
  --page: min(100% - 48px, 960px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--font-prose);
  font-size: 17px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - 480px), rgba(110, 23, 18, 0.035) calc(50% - 480px), rgba(110, 23, 18, 0.035) calc(50% - 479px), transparent calc(50% - 479px)),
    var(--parchment);
  color: var(--ink);
}

a {
  color: var(--oxblood);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--oxblood-hover);
}

a:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 4px;
}

p,
h1,
h2,
h3,
figure,
dl,
dd {
  margin: 0;
}

p {
  line-height: 1.62;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

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

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  width: 1px;
  height: 1px;
  padding: 10px 14px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  background: var(--shell);
  color: var(--parchment);
  font: 600 0.75rem/1 var(--font-mono);
}

.skip-link:focus {
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  width: var(--page);
  margin: 0 auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  color: var(--oxblood);
  text-decoration: none;
}

.brand-name {
  font: 2rem/1 var(--font-wordmark);
}

.brand-kind {
  color: var(--muted);
  font: 500 0.55rem/1 var(--font-mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  color: var(--muted);
  font: 500 0.64rem/1.25 var(--font-mono);
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-link.is-current {
  color: var(--oxblood);
  text-decoration: underline;
  text-decoration-color: var(--ember);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

main {
  width: 100%;
  flex: 1;
}

.hero {
  width: var(--page);
  margin: 0 auto;
}

.home-hero {
  min-height: 550px;
  padding: 108px 0 90px;
  display: grid;
  align-content: center;
  grid-template-columns: minmax(0, 760px);
}

.radio-hero {
  padding: 90px 0 70px;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 780px);
}

.eyebrow,
.card-kicker {
  color: var(--muted);
  font: 500 0.66rem/1.5 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin-top: 18px;
  max-width: 15ch;
  color: var(--oxblood);
  font: 400 clamp(2.6rem, 7vw, 5.2rem)/0.98 var(--font-wordmark);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.radio-hero h1 {
  max-width: 22ch;
  margin-top: 0;
  font-size: clamp(2.35rem, 6vw, 4.35rem);
  line-height: 1.03;
}

.hero-copy {
  max-width: 620px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.38rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.radio-hero .hero-copy {
  margin-top: 0;
}

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

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 10px 15px;
  border: 1px solid var(--oxblood);
  border-radius: 3px;
  font: 500 0.68rem/1.2 var(--font-mono);
  letter-spacing: 0.04em;
  text-decoration: none;
}

.button-primary {
  background: var(--oxblood);
  color: var(--parchment);
}

.button-primary:hover {
  background: var(--oxblood-hover);
  color: var(--parchment);
}

.button-quiet {
  background: transparent;
}

.button-night {
  border-color: var(--parchment);
  color: var(--parchment);
}

.button-night:hover {
  background: var(--parchment);
  color: var(--shell);
}

.signal-rule {
  position: relative;
  width: min(100%, 620px);
  height: 1px;
  margin-top: 70px;
  background: var(--lake-edge);
}

.signal-rule::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 62%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ember);
}

.content-section,
.two-up {
  width: var(--page);
  margin: 0 auto;
}

.content-section {
  padding: 0 0 86px;
}

.section-heading {
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 9px;
}

.section-number {
  color: var(--oxblood);
  font: 500 0.65rem/1 var(--font-mono);
}

.section-heading h2 {
  color: var(--muted);
  font: 500 0.66rem/1 var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.75fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.feature-copy {
  padding: 38px 40px;
}

.feature-copy h3 {
  max-width: 17ch;
  margin-top: 10px;
  color: var(--oxblood);
  font: 400 clamp(1.8rem, 4vw, 2.65rem)/1.08 var(--font-wordmark);
}

.feature-copy > p:not(.card-kicker) {
  max-width: 58ch;
  margin-top: 16px;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  font: 500 0.7rem/1.4 var(--font-mono);
}

.status-list {
  padding: 34px 28px;
  display: grid;
  align-content: center;
  background: var(--cream);
  border-left: 1px solid var(--line-soft);
}

.status-row {
  padding: 10px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  border-bottom: 1px solid var(--line-soft);
  font: 0.68rem/1.4 var(--font-mono);
}

.status-row:last-child {
  border-bottom: 0;
}

.status-row dt {
  color: var(--muted);
}

.status-row dd {
  color: var(--oxblood);
  text-align: right;
}

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

.project-card,
.info-card,
.mesh-card,
.county-card,
.table-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.project-card {
  min-height: 210px;
  padding: 27px 28px;
  display: flex;
  flex-direction: column;
}

.project-card h3 {
  color: var(--oxblood);
  font: 500 0.83rem/1.3 var(--font-mono);
}

.project-card p {
  margin-top: 11px;
  color: var(--muted);
}

.project-card .text-link {
  margin-top: auto;
  padding-top: 18px;
}

.closing-note {
  width: var(--page);
  margin: 0 auto 100px;
  padding: 36px 40px;
  border-top: 2px solid var(--oxblood);
  border-bottom: 1px solid var(--line);
}

.closing-copy {
  max-width: 780px;
  margin-top: 12px;
  color: var(--ink);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.4;
}

.repositories-main {
  padding-bottom: 20px;
}

.repositories-hero {
  padding: 90px 0 72px;
}

.repositories-hero h1 {
  max-width: 17ch;
  font-size: clamp(2.8rem, 6.4vw, 4.8rem);
  line-height: 1;
}

.repository-overview {
  max-width: 760px;
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.overview-stat {
  padding: 17px 18px 15px 0;
  border-right: 1px solid var(--line);
}

.overview-stat:not(:first-child) {
  padding-left: 18px;
}

.overview-stat:last-child {
  border-right: 0;
}

.overview-stat dt {
  color: var(--faint);
  font: 0.58rem/1.4 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.overview-stat dd {
  margin-top: 5px;
  color: var(--oxblood);
  font: 400 1.75rem/1 var(--font-wordmark);
}

.graph-legend-node {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--faint);
}

.graph-legend-node.class-product {
  background: var(--oxblood);
}

.graph-legend-node.class-platform {
  background: var(--lake);
}

.graph-legend-node.class-foundation {
  background: var(--ember);
}

.graph-legend-node.class-tool {
  background: var(--muted);
}

.graph-legend-edge {
  width: 24px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--lake);
}

.graph-legend-edge.kind-host-for {
  background: var(--oxblood);
}

.graph-legend-edge.kind-renders-with {
  background: var(--ember);
}

.graph-sandbox-section {
  padding-top: 10px;
}

.graph-sandbox-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.graph-sandbox-heading h3 {
  font: 500 clamp(1.42rem, 2.4vw, 2rem)/1.12 var(--font-display);
}

.graph-sandbox-heading p {
  max-width: 720px;
  margin-top: 10px;
  color: var(--muted);
}

.graph-sandbox-fallback {
  padding: 20px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.graph-sandbox-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.85fr);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 18px 45px rgba(59, 47, 32, 0.08);
}

.graph-sandbox-shell[hidden] {
  display: none;
}

.graph-sandbox-range-note {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.graph-sandbox-stage {
  position: relative;
  min-width: 0;
  min-height: 720px;
  overflow: hidden;
  background:
    linear-gradient(rgba(86, 72, 53, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86, 72, 53, 0.035) 1px, transparent 1px),
    var(--parchment);
  background-size: 32px 32px;
  /* One finger belongs to the page, so a 620px stage never traps a
     scroll; two fingers pan and pinch. Nodes carry their own
     touch-action, which only narrows this, so one-finger node dragging
     is unaffected. */
  touch-action: pan-y;
}

.graph-sandbox-stage[data-sandbox-backdrop="clear"] {
  background: var(--parchment);
}

.graph-sandbox-stage[data-sandbox-backdrop="field"] {
  background:
    radial-gradient(circle at 50% 50%, rgba(146, 91, 49, 0.08), transparent 48%),
    var(--parchment);
}

.graph-sandbox-control-actors {
  position: absolute;
  z-index: 10;
  top: 16px;
  left: 16px;
  display: flex;
  width: calc(100% - 32px);
  flex-wrap: wrap;
  gap: 8px;
  pointer-events: none;
}

.graph-sandbox-control-actor {
  position: relative;
  display: grid;
  min-width: 108px;
  min-height: 48px;
  grid-template-columns: 10px 1fr;
  column-gap: 8px;
  align-items: center;
  padding: 7px 12px 7px 10px;
  border: 1px solid color-mix(in srgb, var(--lake) 62%, var(--line));
  border-radius: 26px;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  box-shadow: 0 4px 14px rgba(48, 39, 28, 0.08);
  font-family: var(--font-mono);
  text-align: left;
  pointer-events: auto;
}

.graph-sandbox-control-actor::before {
  content: "";
  width: 8px;
  height: 8px;
  grid-row: 1 / span 2;
  border-radius: 50%;
  background: var(--lake);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--lake) 16%, transparent);
}

.graph-sandbox-control-actor:hover,
.graph-sandbox-control-actor:focus-visible {
  border-color: var(--ember);
  background: var(--paper);
}

.graph-sandbox-control-actor:disabled {
  opacity: 0.36;
}

.graph-sandbox-control-kind {
  color: var(--faint);
  font-size: 0.46rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.graph-sandbox-control-value {
  overflow: hidden;
  font-size: 0.62rem;
  font-weight: 650;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.graph-sandbox-scene-tools {
  position: absolute;
  z-index: 10;
  right: 14px;
  bottom: 12px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--faint);
  font: 0.56rem/1.3 var(--font-mono);
  pointer-events: none;
}

/* The panel carries the row the scene-tools bar used to lay out directly, so
   the wide-screen result is unchanged; the handle only exists for the narrow
   drawer below. */
.graph-sandbox-tools-panel {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
}

.graph-sandbox-tools-toggle {
  display: none;
}

.graph-sandbox-history {
  display: grid;
  min-width: min(390px, 60vw);
  grid-template-columns: auto minmax(120px, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: auto;
}

.graph-sandbox-history[hidden] {
  display: none;
}

.graph-sandbox-camera-tools {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  pointer-events: auto;
}

.graph-sandbox-camera-control {
  min-height: 26px;
  padding: 0 6px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font: 600 0.52rem/1 var(--font-mono);
  text-transform: uppercase;
}

.graph-sandbox-history input {
  min-height: 26px;
  accent-color: var(--oxblood);
}

.graph-sandbox-history output,
.graph-sandbox-share-status {
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.graph-sandbox-share {
  min-height: 36px;
  margin-left: auto;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: 20px;
  color: var(--paper);
  background: var(--ink);
  font: 600 0.56rem/1 var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: auto;
}

.graph-sandbox-control-actor:focus-visible,
.graph-sandbox-history input:focus-visible,
.graph-sandbox-share:focus-visible,
.graph-sandbox-camera-control:focus-visible,
.graph-sandbox-node:focus-visible,
.graph-sandbox-matrix button:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 2px;
}

.graph-sandbox-caption {
  position: absolute;
  z-index: 9;
  right: 18px;
  bottom: 62px;
  left: 18px;
  margin: 0;
  color: var(--muted);
  font: 0.56rem/1.45 var(--font-mono);
  text-align: center;
  pointer-events: none;
}

.graph-sandbox-canvas,
.graph-sandbox-nodes {
  position: absolute;
  inset: 0;
}

.graph-sandbox-nodes {
  pointer-events: none;
}

.graph-sandbox-node {
  position: absolute;
  top: 0;
  left: 0;
  width: 88px;
  height: 88px;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  pointer-events: auto;
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.graph-sandbox-node:active {
  cursor: grabbing;
}

.graph-sandbox-node-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(63, 52, 39, 0.42);
  border-radius: 50%;
  color: var(--paper);
  background: var(--lake);
  box-shadow: 0 4px 12px rgba(48, 39, 28, 0.18);
  font: 700 0.59rem/1 var(--font-mono);
  letter-spacing: 0.04em;
}

.graph-sandbox-node[data-face="delta"] {
  width: 148px;
  height: 58px;
}

.graph-sandbox-node[data-face="delta"] .graph-sandbox-node-mark {
  left: 22px;
  width: 38px;
  height: 38px;
  transform: translate(-50%, -50%);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
}

.graph-sandbox-node[data-face="delta"].change-added .graph-sandbox-node-mark {
  color: #466447;
  border-color: #466447;
}

.graph-sandbox-node[data-face="delta"].change-updated .graph-sandbox-node-mark {
  color: var(--ember);
  border-color: var(--ember);
}

.graph-sandbox-node[data-face="delta"].change-removed .graph-sandbox-node-mark {
  color: var(--oxblood);
  border-color: var(--oxblood);
}

.graph-sandbox-node[data-face="signal"] {
  width: 112px;
  height: 82px;
}

.graph-sandbox-node[data-face="signal"] .graph-sandbox-node-mark {
  top: 25px;
  width: 54px;
  height: 22px;
  border-radius: 11px 11px 2px 2px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 4px 0 var(--ember);
  font-size: 0.48rem;
}

.graph-sandbox-node[data-face="orbit"] .graph-sandbox-node-mark {
  width: 50px;
  height: 50px;
  border: 2px solid var(--paper);
  outline: 1px solid var(--lake-edge);
  outline-offset: 7px;
  background: var(--lake);
}

.graph-sandbox-node.primitive-hexagon .graph-sandbox-node-mark {
  border-radius: 0;
  background: var(--lake);
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
}

.graph-sandbox-node.primitive-rounded_square .graph-sandbox-node-mark {
  border-radius: 11px;
  background: var(--ember);
}

.graph-sandbox-node.primitive-square .graph-sandbox-node-mark {
  border-radius: 2px;
  color: var(--ink);
  background: var(--paper);
}

.graph-sandbox-node.primitive-diamond .graph-sandbox-node-mark {
  border-radius: 0;
  background: var(--oxblood);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.graph-sandbox-node.class-place .graph-sandbox-node-mark {
  background: #6f785b;
}

.graph-sandbox-node.class-person .graph-sandbox-node-mark {
  background: var(--oxblood);
}

.graph-sandbox-node.class-community .graph-sandbox-node-mark {
  background: #6c5a79;
}

.graph-sandbox-node[data-face="delta"] .graph-sandbox-node-mark {
  border-radius: 3px;
  clip-path: none;
  background: var(--paper);
}

.graph-sandbox-node[data-face="signal"] .graph-sandbox-node-mark {
  border-radius: 11px 11px 2px 2px;
  clip-path: none;
  color: var(--ink);
  background: var(--paper);
}

.graph-sandbox-node[data-face="orbit"] .graph-sandbox-node-mark {
  border-radius: 50%;
  clip-path: none;
  color: var(--paper);
  background: var(--lake);
}

.graph-sandbox-node-label {
  position: absolute;
  top: 69px;
  left: 50%;
  width: max-content;
  max-width: 128px;
  transform: translateX(-50%);
  overflow: hidden;
  color: var(--ink);
  font: 600 0.58rem/1.2 var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.graph-sandbox-node-meta {
  position: absolute;
  top: 83px;
  left: 50%;
  width: max-content;
  max-width: 132px;
  transform: translateX(-50%);
  color: var(--faint);
  font: 600 0.45rem/1.2 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.graph-sandbox-node[data-face="delta"] .graph-sandbox-node-label,
.graph-sandbox-node[data-face="delta"] .graph-sandbox-node-meta {
  left: 48px;
  width: 94px;
  max-width: 94px;
  transform: none;
  text-align: left;
}

.graph-sandbox-node[data-face="delta"] .graph-sandbox-node-label {
  top: 17px;
}

.graph-sandbox-node[data-face="delta"] .graph-sandbox-node-meta {
  top: 34px;
}

.graph-sandbox-node[data-face="signal"] .graph-sandbox-node-label {
  top: 48px;
}

.graph-sandbox-node[data-face="signal"] .graph-sandbox-node-meta {
  top: 63px;
}

.graph-sandbox-node-detail {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  display: none;
  width: 238px;
  padding: 10px 12px;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  color: var(--muted);
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  box-shadow: 0 8px 24px rgba(48, 39, 28, 0.12);
  font: 0.53rem/1.45 var(--font-mono);
  text-align: left;
}

.graph-sandbox-node.is-selected .graph-sandbox-node-detail {
  display: block;
}

.graph-sandbox-node.is-change-muted {
  opacity: 0.28;
}

.graph-sandbox-node.change-removed .graph-sandbox-node-mark {
  filter: grayscale(1);
}

.graph-sandbox-node.change-removed .graph-sandbox-node-mark::after {
  content: "";
  position: absolute;
  width: 56px;
  height: 1px;
  transform: rotate(-38deg);
  background: var(--oxblood);
}

.graph-sandbox-node:hover,
.graph-sandbox-node:focus-visible,
.graph-sandbox-node.is-selected {
  z-index: 4;
}

.graph-sandbox-node.is-selected .graph-sandbox-node-mark {
  box-shadow:
    0 0 0 2px var(--parchment),
    0 0 0 5px var(--oxblood),
    0 5px 15px rgba(48, 39, 28, 0.2);
}

[data-sandbox-scene="neighbors"] .graph-sandbox-node.is-reading-focus .graph-sandbox-node-mark {
  outline: 2px solid var(--oxblood);
  outline-offset: 9px;
}

.graph-sandbox-node.is-pinned::before {
  content: "pin";
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--oxblood);
  font: 650 0.47rem/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.graph-sandbox-matrix {
  display: block;
  overflow: auto;
  max-height: 360px;
  border: 1px solid var(--line-soft);
  background: color-mix(in srgb, var(--parchment) 75%, var(--paper));
}

.graph-sandbox-matrix[hidden] {
  display: none;
}

.graph-sandbox-matrix table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.graph-sandbox-matrix caption {
  padding: 8px;
  color: var(--muted);
  font: 0.52rem/1.3 var(--font-mono);
  text-align: left;
}

.graph-sandbox-matrix th,
.graph-sandbox-matrix td {
  width: 44px;
  min-width: 44px;
  padding: 0;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.graph-sandbox-matrix button {
  display: grid;
  width: 100%;
  min-height: 38px;
  min-width: 0;
  place-items: center;
  padding: 5px;
  border: 0;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.28);
  font: 0.52rem/1.2 var(--font-mono);
}

.graph-sandbox-matrix-header {
  color: var(--ink) !important;
  background: var(--paper) !important;
  font-weight: 650 !important;
}

.graph-sandbox-matrix-header.is-column {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.graph-sandbox-matrix-cell.has-relation {
  color: var(--paper);
  background: var(--lake);
  font-size: 0.78rem;
}

.graph-sandbox-matrix button.is-selected {
  box-shadow: inset 0 0 0 2px var(--oxblood);
}

.graph-sandbox-receipts {
  display: grid;
  align-content: start;
  gap: 14px;
  overflow: auto;
  max-height: 720px;
  padding: 16px;
  border-left: 1px solid var(--line);
  background: var(--paper);
}

.graph-sandbox-receipt {
  display: grid;
  gap: 8px;
}

.graph-sandbox-receipt h4 {
  margin: 0;
  font: 650 0.62rem/1.2 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.graph-sandbox-receipt-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
}

.graph-sandbox-clear-filter,
.graph-sandbox-deck-dismiss {
  justify-self: start;
  padding: 5px 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  font: 0.48rem/1 var(--font-mono);
  text-transform: uppercase;
}

.graph-sandbox-clear-filter:disabled {
  opacity: 0.42;
}

.graph-sandbox-scatter {
  position: relative;
  min-height: 150px;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(90deg, transparent 49.6%, var(--line-soft) 50%, transparent 50.4%),
    linear-gradient(transparent 49.6%, var(--line-soft) 50%, transparent 50.4%);
}

.graph-sandbox-scatter-point {
  position: absolute;
  top: var(--scatter-y);
  left: var(--scatter-x);
  width: 14px;
  height: 14px;
  padding: 0;
  transform: translate(-50%, -50%);
  border: 2px solid var(--paper);
  border-radius: 50%;
  outline: 1px solid var(--lake-edge);
  background: var(--lake);
}

.graph-sandbox-deck {
  display: grid;
  gap: 7px;
}

.graph-sandbox-deck-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 8px;
  padding: 9px;
  border: 1px solid var(--line-soft);
}

.graph-sandbox-deck-card[hidden] {
  display: none;
}

.graph-sandbox-deck-title {
  justify-self: start;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: 650 0.58rem/1.2 var(--font-mono);
}

.graph-sandbox-deck-card p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.62rem;
}

[data-source-id].is-source-selected {
  outline: 2px solid var(--oxblood);
  outline-offset: 2px;
}

[data-source-id].is-facet-selected {
  box-shadow: 0 0 0 2px var(--ember);
}

[data-source-id].is-filtered-out {
  opacity: 0.18;
}

.index-intro {
  max-width: 720px;
  margin-bottom: 24px;
  color: var(--muted);
}

.repository-activity-intro {
  max-width: 720px;
  margin-bottom: 24px;
  color: var(--muted);
}

.repository-activity-feed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  list-style: none;
}

.repository-activity-item {
  min-width: 0;
  padding: 17px 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.repository-activity-item:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.repository-activity-item:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.repository-activity-project {
  color: var(--oxblood);
  font-weight: 600;
}

.repository-activity-time {
  flex: 0 0 auto;
  color: var(--faint);
  font: 0.58rem/1.4 var(--font-mono);
}

.repository-filter-shell {
  min-width: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 0;
}

.repository-filter-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.repository-filter-label {
  min-height: 36px;
  padding: 9px 12px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--cream);
  color: var(--muted);
  cursor: pointer;
  font: 500 0.64rem/1.2 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.repository-filter-label span {
  color: var(--faint);
  font-size: 0.58rem;
}

.repository-filter-input:checked + .repository-filter-label {
  border-color: var(--oxblood);
  background: var(--oxblood);
  color: var(--parchment);
}

.repository-filter-input:checked + .repository-filter-label span {
  color: var(--haze, #d8b9a4);
}

.repository-filter-input:focus-visible + .repository-filter-label {
  outline: 3px solid var(--ember);
  outline-offset: 3px;
}

#repository-filter-product:checked
  ~ .repository-list
  .repository-card:not(.class-product),
#repository-filter-platform:checked
  ~ .repository-list
  .repository-card:not(.class-platform),
#repository-filter-foundation:checked
  ~ .repository-list
  .repository-card:not(.class-foundation),
#repository-filter-tool:checked
  ~ .repository-list
  .repository-card:not(.class-tool) {
  display: none;
}

.relation-key {
  width: 100%;
  margin-top: 10px;
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font: 0.64rem/1.5 var(--font-mono);
}

.relation-key p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.repository-list {
  width: 100%;
  margin-top: 16px;
  display: grid;
  gap: 18px;
}

.repository-card {
  scroll-margin-top: 20px;
  padding: 30px 32px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.repository-card.class-product {
  box-shadow: inset 4px 0 0 var(--oxblood);
}

.repository-card.class-platform {
  box-shadow: inset 4px 0 0 var(--lake);
}

.repository-card.class-foundation {
  box-shadow: inset 4px 0 0 #899574;
}

.repository-card.class-tool {
  box-shadow: inset 4px 0 0 var(--ember);
}

.repository-card:target {
  outline: 3px solid var(--ember);
  outline-offset: 4px;
}

.repository-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.repository-slug {
  color: var(--faint);
  font: 0.62rem/1.4 var(--font-mono);
  overflow-wrap: anywhere;
}

.repository-card h2 {
  margin-top: 5px;
  color: var(--oxblood);
  font: 400 clamp(1.75rem, 4vw, 2.35rem)/1.05 var(--font-wordmark);
}

.repository-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.repository-class-badge,
.repository-status-badge,
.provenance-badge {
  padding: 4px 7px;
  border-radius: 4px;
  font: 500 0.55rem/1.2 var(--font-mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.repository-class-badge {
  border: 1px solid var(--line);
  color: var(--muted);
}

.repository-status-badge {
  background: var(--cream);
  color: var(--oxblood);
}

.repository-summary {
  max-width: 760px;
  margin-top: 15px;
  color: var(--ink);
  font-size: 1.08rem;
}

.repository-facts {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  color: var(--faint);
  font: 0.61rem/1.45 var(--font-mono);
  list-style: none;
}

.repository-facts li {
  position: relative;
}

.repository-facts li:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: -11px;
  color: var(--line);
}

.repository-topics {
  margin-top: 16px;
}

.repository-topics ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.repository-topics li {
  padding: 4px 7px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: var(--cream);
  color: var(--muted);
  font: 0.56rem/1.3 var(--font-mono);
}

.repository-links {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.repository-link {
  font: 500 0.65rem/1.4 var(--font-mono);
}

.relationship-grid {
  margin: 28px -32px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-soft);
  background: var(--cream);
}

.relationship-block {
  min-width: 0;
  padding: 22px 32px 26px;
}

.relationship-block + .relationship-block {
  border-left: 1px solid var(--line-soft);
}

.relationship-block h3 {
  color: var(--faint);
  font: 500 0.59rem/1.4 var(--font-mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.relationship-list {
  margin-top: 12px;
  display: grid;
  gap: 9px;
  list-style: none;
}

.relationship-list li {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 7px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.relationship-list a {
  font-weight: 600;
}

.relationship-verb {
  color: var(--muted);
}

.provenance-badge {
  margin-left: auto;
  padding: 3px 6px;
}

.provenance-derived {
  background: #e7edf4;
  color: var(--lake);
}

.provenance-curated {
  background: #f4e6d3;
  color: #8b551c;
}

.relationship-empty {
  margin-top: 12px;
  color: var(--faint);
  font-style: italic;
  line-height: 1.4;
}

.repository-source-note {
  width: var(--page);
  margin: 0 auto 90px;
  padding: 34px 38px;
  border-radius: 8px;
  background: var(--shell);
  color: var(--parchment);
}

.repository-source-note .eyebrow {
  color: #a8a0b1;
}

.repository-source-note h2 {
  margin-top: 10px;
  font: 400 clamp(1.7rem, 4vw, 2.3rem)/1.1 var(--font-wordmark);
}

.repository-source-note > p:last-child {
  max-width: 740px;
  margin-top: 14px;
  color: #d8d1dd;
}

.radio-main {
  padding-bottom: 12px;
}

.two-up {
  padding-bottom: 76px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.info-card,
.night-card {
  padding: 28px 30px;
}

.info-card > p:last-child,
.night-card > p:not(.card-kicker) {
  margin-top: 12px;
}

.mesh-card {
  padding: 28px;
}

.message-path-header,
.message-path-panel-heading,
.message-path-topology-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.message-path-header h3 {
  margin-top: 8px;
  font: 400 clamp(1.65rem, 3.6vw, 2.35rem)/1.08 var(--font-wordmark);
}

.message-path-header > div > p:last-child {
  max-width: 600px;
  margin-top: 10px;
  color: var(--muted);
}

.message-path-boundary {
  max-width: 230px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--faint);
  font: 500 0.58rem/1.45 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.message-path-controls {
  margin-top: 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.message-path-controls button {
  cursor: pointer;
}

.message-path-scrubber {
  min-width: 220px;
  flex: 1 1 260px;
  color: var(--muted);
  font: 500 0.62rem/1.2 var(--font-mono);
}

.message-path-scrubber > span {
  display: flex;
  justify-content: space-between;
}

.message-path-scrubber input {
  width: 100%;
  height: 44px;
  margin: 1px 0 0;
  accent-color: var(--oxblood);
  cursor: ew-resize;
}

.message-path-toggle {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font: 500 0.62rem/1.2 var(--font-mono);
  cursor: pointer;
}

.message-path-toggle input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--oxblood);
}

.message-path-status {
  flex: 1 0 100%;
  min-height: 1.4em;
  color: var(--faint);
  font: italic 0.72rem/1.4 var(--font-prose);
}

.message-path-workbench {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(240px, 0.85fr);
  gap: 12px;
}

.message-path-topology,
.message-path-radio,
.message-path-ledger {
  border: 1px solid var(--line);
  background: var(--cream);
}

.message-path-topology {
  min-width: 0;
  padding: 16px;
}

.message-path-topology-header,
.message-path-panel-heading {
  min-height: 28px;
  color: var(--faint);
  font: 500 0.58rem/1.4 var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.message-path-stage {
  position: relative;
  min-height: 430px;
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(rgba(41, 72, 107, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 72, 107, 0.055) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  /* The stage yields the vertical scroll so it never becomes a region a
     phone cannot get past; its nodes carry touch-action: none, which only
     narrows this, so one-finger node dragging is unchanged. Nothing here
     scrolls or pans within the stage: node positions are clamped inside
     it, so there is no off-stage content to reach. */
  touch-action: pan-y;
}

.message-path-links {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.message-path-edge,
.county-link {
  fill: none;
  stroke: var(--lake-edge);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.message-path-edge {
  opacity: 0.35;
  transition: opacity 180ms ease, stroke 180ms ease, stroke-width 180ms ease;
}

.message-path-edge.is-route {
  stroke: var(--lake);
  stroke-width: 3;
  opacity: 0.82;
}

.message-path-edge.is-active {
  stroke: var(--ember);
  stroke-width: 5;
  opacity: 1;
}

.message-path-edge.is-blocked {
  stroke: var(--line);
  stroke-width: 1.5;
  stroke-dasharray: 7 7;
  opacity: 1;
}

.message-path-packet {
  fill: var(--ember);
  stroke: var(--paper);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.message-path-packet[hidden] {
  display: none;
}

.message-path-node {
  position: absolute;
  z-index: 2;
  width: 54px;
  height: 54px;
  padding: 0;
  transform: translate(-50%, -50%);
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: grab;
  touch-action: none;
}

.message-path-node-mark {
  position: absolute;
  inset: 6px;
  display: block;
  border: 2px solid var(--oxblood);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 5px rgba(110, 23, 18, 0.08);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.message-path-node-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--oxblood);
}

.message-path-node-label {
  position: absolute;
  top: 58px;
  left: 50%;
  width: max-content;
  max-width: 112px;
  transform: translateX(-50%);
  padding: 3px 5px;
  background: rgba(255, 255, 255, 0.9);
  font: 500 0.62rem/1.25 var(--font-mono);
  text-align: center;
}

.message-path-node:hover .message-path-node-mark,
.message-path-node:focus-visible .message-path-node-mark,
.message-path-node.is-active .message-path-node-mark {
  background: var(--parchment);
  box-shadow: 0 0 0 8px rgba(199, 128, 47, 0.2);
  transform: scale(1.08);
}

.message-path-node:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 4px;
}

.message-path-node.is-dragging {
  cursor: grabbing;
}

.message-path-help,
.message-path-fallback {
  margin-top: 12px;
  color: var(--faint);
  font: italic 0.68rem/1.45 var(--font-prose);
}

[data-message-path-lab][data-ready="true"] .message-path-fallback {
  display: none;
}

.message-path-projections {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 12px;
}

.message-path-radio,
.message-path-ledger {
  padding: 14px;
}

.message-path-led {
  color: var(--oxblood);
}

.message-path-oled {
  min-height: 176px;
  padding: 12px;
  border: 7px solid var(--shell);
  border-radius: 8px;
  background: #b8d6c1;
  color: #14271e;
  box-shadow: inset 0 0 18px rgba(20, 39, 30, 0.18);
  font: 600 0.63rem/1.35 var(--font-mono);
}

.message-path-oled-header,
.message-path-screen-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.message-path-oled-header {
  margin-bottom: 7px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(20, 39, 30, 0.4);
}

.message-path-screen-row + .message-path-screen-row {
  margin-top: 4px;
}

.message-path-screen-row strong {
  font: inherit;
}

.message-path-radio-note {
  margin-top: 10px;
  color: var(--faint);
  font: italic 0.67rem/1.45 var(--font-prose);
}

.message-path-ledger ol {
  list-style: none;
}

.message-path-event {
  min-height: 38px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 6px 4px;
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  font: 500 0.58rem/1.35 var(--font-mono);
}

.message-path-event::before {
  content: "";
  position: absolute;
}

.message-path-event-index {
  color: var(--line);
}

.message-path-event.is-complete {
  color: var(--muted);
}

.message-path-event.is-current {
  background: var(--paper);
  color: var(--ink);
}

.message-path-event.is-current .message-path-event-index {
  color: var(--oxblood);
}

.mesh-card figcaption {
  margin-top: 20px;
  color: var(--faint);
  font: italic 0.8rem/1.5 var(--font-prose);
  text-align: center;
}

.mesh-card > p {
  max-width: 720px;
  margin: 20px auto 0;
}

.pilot-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 14px;
}

.county-card {
  min-height: 430px;
  padding: 28px;
  display: grid;
  align-content: center;
}

.county-map {
  width: min(100%, 320px);
  height: auto;
  margin: 0 auto;
  display: block;
}

.county-shape {
  fill: var(--cream);
  stroke: var(--line);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.county-shape-sage {
  fill: var(--sage);
}

.county-link {
  stroke-width: 1.5;
}

.county-label {
  font-size: 10px;
  font-weight: 500;
  paint-order: stroke;
  stroke: var(--paper);
  stroke-width: 3px;
  stroke-linejoin: round;
}

.county-label-sage {
  fill: #5f6b4e;
  stroke: var(--sage);
}

.county-site {
  stroke: var(--paper);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.county-card figcaption {
  margin-top: 18px;
  color: var(--faint);
  font: 0.6rem/1.4 var(--font-mono);
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.pilot-copy {
  padding: 22px 22px 22px 28px;
}

.list-lead {
  margin-top: 19px;
  font-weight: 600;
}

.deliverable-list {
  margin-top: 12px;
  display: grid;
  gap: 12px;
  list-style: none;
  counter-reset: deliverable;
}

.deliverable-list li {
  position: relative;
  padding-left: 42px;
  line-height: 1.5;
  counter-increment: deliverable;
}

.deliverable-list li::before {
  content: "0" counter(deliverable);
  position: absolute;
  left: 0;
  top: 0.25em;
  color: var(--oxblood);
  font: 0.65rem/1.4 var(--font-mono);
}

.callout {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 3px solid var(--ember);
  background: var(--cream);
  line-height: 1.5;
}

.table-wrap {
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

thead {
  background: var(--cream);
}

th,
td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  text-align: left;
}

thead th {
  color: var(--muted);
  font: 500 0.62rem/1.4 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

thead th:last-child,
td {
  width: 32%;
  text-align: right;
}

tbody th {
  font-weight: 400;
  line-height: 1.45;
}

td {
  color: var(--oxblood);
  font: 0.7rem/1.5 var(--font-mono);
  overflow-wrap: anywhere;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.aside-copy {
  margin-top: 12px;
  color: var(--faint);
  font-size: 0.83rem;
  font-style: italic;
}

.closing-grid {
  padding-bottom: 90px;
}

.night-card {
  border: 1px solid #3a3345;
  border-radius: 8px;
  background: var(--shell);
  color: var(--parchment);
}

.night-card .card-kicker {
  display: block;
  margin-bottom: 16px;
  color: #a8a0b1;
}

.night-card > p:not(.card-kicker) {
  margin-top: 0;
}

.night-card .button {
  margin-top: 20px;
}

.section-intro {
  max-width: 64ch;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.06rem;
}

.home-showcase-list {
  display: grid;
  gap: 24px;
}

.home-showcase-card {
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.home-showcase-card:nth-child(even) {
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
}

.home-showcase-card:nth-child(even) .home-showcase-figure {
  order: 2;
}

.home-showcase-figure,
.project-showcase-figure {
  overflow: hidden;
  background: var(--shell);
}

.home-showcase-figure {
  min-height: 360px;
  display: grid;
  place-items: center;
}

.home-showcase-figure img,
.project-showcase-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-showcase-copy {
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-showcase-copy h3,
.project-showcase-copy h2 {
  margin-top: 12px;
  color: var(--oxblood);
  font: 400 clamp(1.75rem, 3.6vw, 2.65rem)/1.08 var(--font-wordmark);
  text-wrap: balance;
}

.home-showcase-copy > p:not(.card-kicker),
.project-showcase-copy > p {
  margin-top: 17px;
  color: var(--muted);
}

.showcase-index-link {
  margin-top: 24px;
}

.project-profile-main {
  padding-bottom: 20px;
}

.project-profile-hero {
  padding: 90px 0 72px;
}

.project-profile-hero h1 {
  max-width: 17ch;
  font-size: clamp(2.8rem, 6.4vw, 4.8rem);
  line-height: 1;
}

.project-showcase-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.project-showcase-copy {
  padding: 38px 34px;
  align-self: center;
}

.project-showcase-copy h2 {
  margin-top: 0;
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  overflow-wrap: break-word;
}

.project-showcase-figure {
  display: grid;
  grid-template-rows: minmax(300px, auto) auto;
}

.project-showcase-figure img {
  min-height: 300px;
  max-height: 620px;
}

.project-showcase-figure figcaption {
  padding: 12px 15px;
  background: #17131d;
  color: #c7bfcc;
  font: 0.58rem/1.55 var(--font-mono);
}

.project-showcase-figure figcaption a {
  color: #f1c477;
}

/* Multi-image showcase rotation: a scroll-snap strip of the approved
   captures with anchor dots. No script — the dots are plain fragment links,
   and without CSS the figures simply read in order. */
.project-showcase-rotation {
  display: grid;
  grid-template-rows: auto auto;
  min-width: 0;
}

.project-showcase-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.project-showcase-strip .project-showcase-figure {
  scroll-snap-align: start;
  min-width: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .project-showcase-strip {
    scroll-behavior: smooth;
  }
}

.project-showcase-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 10px 0 12px;
  background: #17131d;
}

.project-showcase-dot {
  display: grid;
  place-items: center;
  min-width: 26px;
  min-height: 26px;
  border: 1px solid #3c3346;
  border-radius: 50%;
  color: #c7bfcc;
  font: 0.62rem/1 var(--font-mono);
  text-decoration: none;
}

.project-showcase-dot:hover,
.project-showcase-dot:focus-visible {
  border-color: #f1c477;
  color: #f1c477;
}

.projection-proof-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.projection-proof-heading h2 {
  color: var(--oxblood);
  font: 400 clamp(1.8rem, 4vw, 2.7rem)/1.08 var(--font-wordmark);
}

.projection-proof-heading > div > p {
  max-width: 620px;
  margin-top: 12px;
  color: var(--muted);
}

.projection-proof-boundary {
  max-width: 260px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--faint);
  font: 500 0.56rem/1.5 var(--font-mono);
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.projection-proof-fallback {
  padding: 26px 28px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--muted);
}

.projection-proof-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.projection-proof-controls button {
  cursor: pointer;
}

.projection-proof-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.projection-proof-scrubber {
  min-width: 210px;
  flex: 1 1 250px;
  color: var(--muted);
  font: 500 0.6rem/1.2 var(--font-mono);
}

.projection-proof-scrubber > span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.projection-proof-scrubber input {
  width: 100%;
  height: 44px;
  margin: 0;
  accent-color: var(--oxblood);
  cursor: ew-resize;
}

.projection-proof-readout {
  flex: 1 0 100%;
  display: flex;
  align-items: baseline;
  gap: 9px;
  color: var(--faint);
  font: 500 0.58rem/1.4 var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.projection-proof-readout strong {
  color: var(--ink);
  font: inherit;
}

.projection-proof-views {
  margin-top: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.65fr);
  gap: 12px;
}

.projection-proof-view {
  min-width: 0;
  align-self: start;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.projection-proof-view-heading {
  min-height: 40px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.projection-proof-view-heading h3 {
  color: var(--muted);
  font: 600 0.62rem/1.4 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.projection-proof-view-heading p {
  max-width: 56%;
  color: var(--faint);
  font: 500 0.55rem/1.35 var(--font-mono);
  text-align: right;
}

.projection-proof-stage {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(rgba(41, 72, 107, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 72, 107, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 30px 30px;
  /* The stage yields the vertical scroll so it never becomes a region a
     phone cannot get past; its nodes carry touch-action: none, which only
     narrows this, so one-finger node dragging is unchanged. Nothing here
     scrolls or pans within the stage: node positions are clamped inside
     it, so there is no off-stage content to reach. */
  touch-action: pan-y;
}

[data-projection-view="swatch"] .projection-proof-stage {
  min-height: 300px;
  background-size: 22px 22px;
}

.projection-proof-edges,
.projection-proof-edge-controls,
.projection-proof-nodes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.projection-proof-edges {
  z-index: 0;
  overflow: visible;
  pointer-events: none;
}

.projection-proof-edge {
  fill: none;
  stroke: var(--lake-edge);
  stroke-width: 2;
  opacity: 0.72;
  vector-effect: non-scaling-stroke;
  transition: opacity 180ms ease, stroke 180ms ease, stroke-width 180ms ease;
}

.projection-proof-edge[hidden],
.projection-proof-node-fold[hidden] {
  display: none;
}

.projection-proof-edge.is-selected {
  stroke: var(--ember);
  stroke-width: 4;
  opacity: 1;
}

.projection-proof-edge.is-curated-out {
  stroke: var(--line);
  stroke-width: 1.5;
  stroke-dasharray: 5 6;
  opacity: 0.34;
}

.projection-proof-edge-controls,
.projection-proof-nodes {
  z-index: 1;
  pointer-events: none;
}

.projection-proof-nodes {
  z-index: 2;
}

.projection-proof-node,
.projection-proof-edge-control {
  position: absolute;
  padding: 0;
  transform: translate(-50%, -50%);
  border: 0;
  background: transparent;
  pointer-events: auto;
}

.projection-proof-node {
  width: 62px;
  height: 62px;
  color: var(--ink);
  cursor: grab;
  touch-action: none;
}

.projection-proof-node-mark {
  position: absolute;
  inset: 7px;
  display: block;
  border: 2px solid var(--lake);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 5px rgba(41, 72, 107, 0.09);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.projection-proof-node-initial {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--lake);
  font: 600 0.68rem/1 var(--font-mono);
}

.projection-proof-node-label {
  position: absolute;
  top: 64px;
  left: 50%;
  width: max-content;
  max-width: 116px;
  transform: translateX(-50%);
  padding: 3px 5px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  font: 500 0.58rem/1.25 var(--font-mono);
  text-align: center;
}

.projection-proof-node-fold {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 24px;
  min-height: 24px;
  display: grid;
  place-items: center;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--ember);
  color: var(--shell);
  font: 600 0.54rem/1 var(--font-mono);
}

.projection-proof-node:hover .projection-proof-node-mark,
.projection-proof-node.is-selected .projection-proof-node-mark {
  background: var(--parchment);
  box-shadow: 0 0 0 8px rgba(199, 128, 47, 0.2);
  transform: scale(1.08);
}

.projection-proof-node:focus-visible,
.projection-proof-edge-control:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 3px;
}

.projection-proof-node.is-dragging {
  cursor: grabbing;
}

.projection-proof-edge-control {
  z-index: 3;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.projection-proof-edge-control span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  transform: translate(-50%, -50%);
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--lake-edge);
  box-shadow: 0 0 0 1px var(--lake-edge);
}

.projection-proof-edge-control:hover span,
.projection-proof-edge-control.is-selected span {
  width: 13px;
  height: 13px;
  background: var(--ember);
  box-shadow: 0 0 0 2px var(--ember);
}

.projection-proof-edge-control.is-curated-out span {
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--line);
}

[data-projection-view="swatch"] .projection-proof-node {
  width: 46px;
  height: 46px;
}

[data-projection-view="swatch"] .projection-proof-node-mark {
  inset: 4px;
}

[data-projection-view="swatch"] .projection-proof-node-initial {
  font-size: 0.58rem;
}

[data-projection-view="swatch"] .projection-proof-node-label {
  top: 48px;
  display: none;
}

[data-projection-view="swatch"] .projection-proof-node.is-selected .projection-proof-node-label {
  display: block;
}

[data-projection-view="swatch"] .projection-proof-node-fold {
  top: -4px;
  right: -4px;
}

.projection-proof figcaption {
  max-width: 760px;
  margin: 17px auto 0;
  color: var(--faint);
  font: italic 0.75rem/1.5 var(--font-prose);
  text-align: center;
}

.project-no-image-copy {
  max-width: 60ch;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  color: var(--muted);
}

.project-relation-columns,
.project-facts-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.project-relation-group,
.project-facts,
.project-topics {
  padding: 28px 30px;
}

.project-relation-group + .project-relation-group,
.project-topics {
  border-left: 1px solid var(--line-soft);
}

.project-relation-group h3,
.project-topics h3 {
  color: var(--muted);
  font: 600 0.65rem/1.4 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-relation-list {
  margin-top: 15px;
  display: grid;
  gap: 14px;
  list-style: none;
}

.project-relation-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 12px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line-soft);
}

.project-relation-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.relation-verb {
  grid-column: 1 / -1;
  color: var(--faint);
  font: 0.58rem/1.4 var(--font-mono);
}

.project-relation-link {
  font-size: 1.03rem;
}

.relation-provenance {
  align-self: center;
  color: var(--faint);
  font: 0.52rem/1.2 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-relation-empty,
.project-topics p {
  margin-top: 15px;
  color: var(--faint);
}

.project-facts {
  display: grid;
}

.project-fact {
  padding: 11px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  border-bottom: 1px solid var(--line-soft);
  font: 0.65rem/1.45 var(--font-mono);
}

.project-fact:last-child {
  border-bottom: 0;
}

.project-fact dt {
  color: var(--muted);
}

.project-fact dd {
  color: var(--oxblood);
  text-align: right;
}

.project-topics ul {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
}

.project-topics li {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font: 0.55rem/1.2 var(--font-mono);
}

.repository-profile-link {
  color: inherit;
  text-decoration: none;
}

.repository-profile-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.feature-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.section-intro {
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.site-footer {
  width: var(--page);
  margin: auto auto 0;
  padding: 28px 0 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font: 0.58rem/1.5 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-link {
  color: var(--muted);
}

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

  .site-header {
    padding: 18px 0;
    align-items: flex-start;
  }

  .brand-kind {
    display: none;
  }

  .nav-list {
    max-width: 300px;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .home-hero {
    min-height: auto;
    padding: 82px 0 78px;
  }

  .radio-hero {
    padding: 70px 0 58px;
  }

  .repositories-hero {
    padding: 70px 0 58px;
  }

  .project-profile-hero {
    padding: 70px 0 58px;
  }

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

  .overview-stat:nth-child(2) {
    border-right: 0;
  }

  .overview-stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .overview-stat:nth-child(3) {
    padding-left: 0;
  }

  .relationship-grid {
    grid-template-columns: 1fr;
  }

  .relationship-block + .relationship-block {
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .graph-sandbox-scene-tools {
    flex-wrap: wrap;
  }

  .graph-sandbox-history {
    min-width: 100%;
    flex: 1 0 100%;
  }

  .graph-sandbox-share {
    margin-left: 0;
  }

  .graph-sandbox-stage {
    min-height: 640px;
  }

  .graph-sandbox-shell {
    grid-template-columns: 1fr;
  }

  .graph-sandbox-receipts {
    max-height: none;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .graph-sandbox-caption {
    bottom: 108px;
  }

  /* Collapse the tools behind a handle. Their contents are allowed to stack
     for real tap targets, which is exactly why the bar cannot stay open by
     default: expanded it is capped and scrolls, so the graph keeps the upper
     half of the stage instead of being covered entirely. */
  .graph-sandbox-scene-tools {
    top: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .graph-sandbox-tools-toggle {
    display: block;
    order: 2;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    color: var(--muted);
    background: color-mix(in srgb, var(--paper) 92%, transparent);
    font: 600 0.62rem/1 var(--font-mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    pointer-events: auto;
  }

  .graph-sandbox-tools-panel {
    display: none;
    max-height: min(46vh, 300px);
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: color-mix(in srgb, var(--paper) 96%, transparent);
    order: 1;
    overflow-y: auto;
    pointer-events: auto;
  }

  .graph-sandbox-scene-tools[data-tools-open="true"] .graph-sandbox-tools-panel {
    display: flex;
  }

  .graph-sandbox-matrix {
    max-height: 420px;
  }

  .feature-card,
  .pilot-grid {
    grid-template-columns: 1fr;
  }

  .status-list {
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .project-grid,
  .two-up {
    grid-template-columns: 1fr;
  }

  .home-showcase-card,
  .home-showcase-card:nth-child(even),
  .project-showcase-layout,
  .project-relation-columns,
  .project-facts-layout {
    grid-template-columns: 1fr;
  }

  .projection-proof-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .projection-proof-boundary {
    max-width: none;
  }

  .projection-proof-views {
    grid-template-columns: 1fr;
  }

  .projection-proof-stage {
    min-height: 460px;
  }

  [data-projection-view="swatch"] .projection-proof-stage {
    min-height: 320px;
  }

  .home-showcase-card:nth-child(even) .home-showcase-figure {
    order: 0;
  }

  .home-showcase-figure {
    min-height: 280px;
  }

  .project-relation-group + .project-relation-group,
  .project-topics {
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .project-card {
    min-height: 190px;
  }

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

  .pilot-copy {
    padding: 20px 4px 0;
  }

  .message-path-header {
    align-items: stretch;
    flex-direction: column;
  }

  .message-path-boundary {
    max-width: none;
  }

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

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

  .message-path-stage {
    min-height: 420px;
  }

  .site-footer {
    flex-direction: column;
  }
}

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

  html {
    font-size: 16px;
  }

  .site-header {
    min-height: 76px;
    gap: 12px;
  }

  .brand-name {
    font-size: 1.65rem;
  }

  .nav-list {
    max-width: 255px;
    gap: 10px 12px;
  }

  .nav-link {
    font-size: 0.56rem;
  }

  .home-hero {
    padding-top: 68px;
  }

  h1 {
    font-size: clamp(2.35rem, 11.8vw, 3.2rem);
    overflow-wrap: anywhere;
  }

  .radio-hero h1 {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .repositories-hero h1 {
    font-size: clamp(2.25rem, 11vw, 3rem);
  }

  .project-profile-hero h1 {
    font-size: clamp(2.25rem, 11vw, 3rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    justify-content: center;
  }

  .feature-copy,
  .status-list,
  .info-card,
  .night-card,
  .mesh-card,
  .county-card,
  .project-card,
  .closing-note {
    padding-right: 20px;
    padding-left: 20px;
  }

  .message-path-controls .button {
    min-height: 44px;
  }

  .message-path-scrubber {
    order: 3;
    min-width: 100%;
    flex-basis: 100%;
  }

  .message-path-toggle {
    order: 4;
  }

  .message-path-status {
    order: 5;
  }

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

  .message-path-stage {
    min-height: 440px;
  }

  .message-path-node {
    width: 58px;
    height: 58px;
  }

  .message-path-node-label {
    top: 62px;
  }

  .message-path-topology-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .projection-proof-controls .button {
    min-height: 44px;
  }

  .projection-proof-scrubber {
    order: 5;
    min-width: 100%;
    flex-basis: 100%;
  }

  .projection-proof-readout {
    order: 6;
  }

  .projection-proof-view {
    padding: 10px;
  }

  .projection-proof-stage {
    min-height: 420px;
  }

  [data-projection-view="swatch"] .projection-proof-stage {
    min-height: 290px;
  }

  .projection-proof-node {
    width: 56px;
    height: 56px;
  }

  .projection-proof-node-label {
    top: 58px;
  }

  .home-showcase-copy,
  .project-showcase-copy,
  .project-relation-group,
  .project-facts,
  .project-topics {
    padding-right: 20px;
    padding-left: 20px;
  }

  .home-showcase-figure {
    min-height: 220px;
  }

  .project-showcase-figure {
    grid-template-rows: minmax(220px, auto) auto;
  }

  .project-showcase-figure img {
    min-height: 220px;
  }

  .repository-card {
    padding: 24px 20px 0;
  }

  .graph-sandbox-history {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .graph-sandbox-history input,
  .graph-sandbox-share,
  .graph-sandbox-camera-control {
    width: 100%;
    min-height: 44px;
  }

  .graph-sandbox-camera-tools {
    flex-wrap: wrap;
  }

  .graph-sandbox-share-status {
    flex-basis: 100%;
  }

  .repository-activity-feed {
    grid-template-columns: 1fr;
  }

  .repository-activity-item:nth-child(odd) {
    border-right: 0;
  }

  .repository-activity-item:nth-last-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .repository-card-header {
    flex-direction: column;
    gap: 12px;
  }

  .repository-badges {
    justify-content: flex-start;
  }

  .relationship-grid {
    margin-right: -20px;
    margin-left: -20px;
  }

  .relationship-block {
    padding-right: 20px;
    padding-left: 20px;
  }

  .repository-source-note {
    padding-right: 20px;
    padding-left: 20px;
  }

  .graph-sandbox-control-actors {
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    gap: 6px;
  }

  .graph-sandbox-control-actor {
    min-width: calc(33.333% - 4px);
    min-height: 44px;
    flex: 1 1 calc(33.333% - 4px);
    padding: 6px 8px;
  }

  .graph-sandbox-stage {
    min-height: 620px;
  }

  .graph-sandbox-node {
    width: 72px;
    height: 72px;
  }

  .graph-sandbox-node-mark {
    width: 40px;
    height: 40px;
  }

  .graph-sandbox-node-label {
    top: 60px;
    max-width: 94px;
    font-size: 0.52rem;
  }

  .graph-sandbox-node-meta {
    top: 73px;
  }

  .graph-sandbox-node[data-face="delta"] {
    width: 126px;
    height: 54px;
  }

  .graph-sandbox-node[data-face="signal"] {
    width: 96px;
  }

  .graph-sandbox-node-detail {
    width: 218px;
  }

  .graph-sandbox-caption {
    bottom: 164px;
  }

  .graph-sandbox-matrix {
    max-height: 360px;
  }

  .content-section {
    padding-bottom: 68px;
  }

  th,
  td {
    padding: 12px 10px;
  }

  thead th:last-child,
  td {
    width: 38%;
  }
}

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

  .message-path-edge,
  .message-path-node-mark,
  .projection-proof-edge,
  .projection-proof-node-mark {
    transition: none;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .repository-filter-label,
  .site-footer {
    display: none;
  }

  body {
    background: white;
  }

  .hero,
  .content-section,
  .two-up,
  .closing-note {
    width: 100%;
  }

  .repository-card {
    display: block !important;
    break-inside: avoid;
  }
}
