:root {
  color-scheme: light;
  --paper: #f4f2ed;
  --ink: #101010;
  --muted: #66645f;
  --line: rgba(16, 16, 16, 0.22);
  --cyan: #16c7d8;
  --yellow: #f0d735;
  --red: #ef4b3f;
  --green: #3da66c;
  --white: #ffffff;
  --header-height: 72px;
  --gutter: clamp(20px, 4vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Helvetica Neue", "Noto Sans CJK SC", "Noto Sans SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-height);
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 242, 237, 0.94);
  backdrop-filter: blur(14px);
}

.wordmark {
  justify-self: start;
  font-size: 21px;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
}

.site-nav a,
.text-action {
  position: relative;
}

.site-nav a::after,
.text-action::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.text-action:hover::after,
.text-action:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-edition {
  justify-self: end;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height) - 40px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.28;
  pointer-events: none;
}

.symbiote-stage {
  position: absolute;
  inset: -8% -10% -6% -8%;
  z-index: 1;
}

#symbiote-canvas,
#vault-symbiote-canvas {
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}

#symbiote-canvas.is-over-face,
#vault-symbiote-canvas.is-over-face {
  cursor: pointer;
}

#symbiote-canvas.is-dragging,
#vault-symbiote-canvas.is-dragging {
  cursor: grabbing;
}

.hero-copy {
  position: absolute;
  bottom: clamp(42px, 7vh, 86px);
  left: var(--gutter);
  z-index: 3;
  max-width: 625px;
}

.hero-copy h1 {
  position: relative;
  display: inline-block;
  margin: 0;
  font-size: 220px;
  font-weight: 800;
  line-height: 0.72;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-copy h1 span {
  position: absolute;
  top: 0.16em;
  left: calc(100% + 0.08em);
  font-size: 0.36em;
  font-weight: 500;
  line-height: 1;
}

.hero-definition {
  margin: 38px 0 0;
  font-size: 15px;
  font-weight: 700;
}

.hero-intro {
  max-width: 585px;
  margin: 18px 0 0;
  font-size: 24px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.primary-action:hover,
.primary-action:focus-visible {
  background: var(--yellow);
  color: var(--ink);
}

.primary-action:disabled {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.62;
}

.primary-action:disabled:hover {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
}

.text-action {
  font-size: 14px;
  font-weight: 700;
}

.facet-detail {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(42px, 7vh, 86px);
  z-index: 3;
  width: min(340px, 28vw);
  padding: 14px 16px 16px;
  border-top: 3px solid var(--ink);
  background: rgba(244, 242, 237, 0.88);
  backdrop-filter: blur(8px);
}

.facet-detail span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.facet-detail strong {
  display: block;
  font-size: 22px;
}

.facet-detail p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.system-section,
.protocol-section,
.cases-section,
.instruments-section,
.runtime-architecture-section,
.agent-section,
.archive-section {
  padding: clamp(80px, 11vw, 170px) var(--gutter);
}

.system-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(340px, 1.1fr);
  column-gap: 9vw;
  row-gap: 0;
  background: var(--white);
}

.system-section > .section-heading {
  grid-column: 1 / -1;
}

.system-section > * {
  min-width: 0;
}

.section-heading p,
.case-heading > p:first-child,
.archive-heading > p,
.agent-statement > p {
  margin: 0 0 22px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
}

.section-heading h2,
.archive-heading h2,
.agent-statement h2 {
  max-width: 740px;
  margin: 0;
  font-size: 82px;
  font-weight: 500;
  line-height: 1.08;
}

.system-section .section-heading h2 {
  max-width: none;
  font-size: 64px;
}

#protocol-title,
#cases-title,
#agent-title,
#archive-title {
  white-space: nowrap;
}

.system-copy {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(360px, 1.25fr) minmax(280px, 0.75fr);
  gap: 9vw;
  align-self: end;
  max-width: none;
  margin-top: clamp(52px, 6vw, 90px);
}

.system-copy p {
  margin: 0;
  font-size: 34px;
  line-height: 1.45;
}

.system-copy p + p {
  margin-top: 0;
  color: var(--muted);
  font-size: 16px;
}

.facet-controls {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: clamp(70px, 10vw, 140px);
}

.facet-control {
  display: grid;
  grid-template-rows: 1fr auto auto;
  row-gap: 4px;
  align-items: start;
  min-height: 176px;
  padding: 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: background 160ms ease;
}

.facet-control span,
.facet-control em {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-style: normal;
}

.facet-control strong {
  font-size: 20px;
}

.facet-control:hover,
.facet-control:focus-visible,
.facet-control.is-active {
  background: var(--yellow);
}

.face-space:hover,
.face-space:focus-visible,
.face-space.is-active {
  background: var(--red);
}

.face-experience:hover,
.face-experience:focus-visible,
.face-experience.is-active {
  background: var(--yellow);
}

.face-network:hover,
.face-network:focus-visible,
.face-network.is-active {
  background: var(--cyan);
}

.face-data:hover,
.face-data:focus-visible,
.face-data.is-active {
  background: var(--green);
}

.face-knowledge:hover,
.face-knowledge:focus-visible,
.face-knowledge.is-active {
  background: var(--ink);
  color: var(--white);
}

.face-knowledge:hover span,
.face-knowledge:focus-visible span,
.face-knowledge.is-active span,
.face-knowledge:hover em,
.face-knowledge:focus-visible em,
.face-knowledge.is-active em {
  color: #d9d9d3;
}

.face-agent:hover,
.face-agent:focus-visible,
.face-agent.is-active {
  background: var(--paper);
  box-shadow: inset 0 0 0 8px var(--red);
}

.system-facet-explanation {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(420px, 1.66fr);
  gap: 6vw;
  min-height: 164px;
  padding-top: 28px;
  border-top: 1px solid var(--ink);
}

.system-facet-explanation > span {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.system-facet-explanation strong {
  display: block;
  font-size: 25px;
  line-height: 1.3;
}

.system-facet-explanation p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.protocol-section {
  background: var(--ink);
  color: var(--white);
}

.protocol-intro {
  display: grid;
  grid-template-columns: minmax(420px, 1.3fr) minmax(280px, 0.7fr);
  gap: 9vw;
  align-items: end;
}

.protocol-intro h2 {
  margin: 0;
  font-size: 76px;
  font-weight: 500;
  line-height: 1.04;
}

.protocol-intro p {
  margin: 0 0 8px;
  color: #b8b8b2;
  font-size: 17px;
  line-height: 1.7;
}

.protocol-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: clamp(80px, 10vw, 150px) 0 0;
  padding: 0;
  border-top: 1px solid #555;
  list-style: none;
}

.protocol-steps li {
  min-height: 290px;
  padding: 22px 24px 0 0;
  border-right: 1px solid #555;
}

.protocol-steps li + li {
  padding-left: 24px;
}

.protocol-steps li:last-child {
  border-right: 0;
}

.protocol-steps span {
  display: block;
  color: var(--yellow);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.protocol-steps strong {
  display: block;
  margin-top: 70px;
  font-size: 19px;
}

.protocol-steps p {
  margin: 14px 0 0;
  color: #a8a8a3;
  font-size: 13px;
}

.cases-section {
  background: var(--cyan);
}

.ecosystem-heading,
.instruments-heading {
  display: grid;
  grid-template-columns: 1fr;
}

.ecosystem-heading > p:first-child,
.instruments-heading > p:first-child,
.ecosystem-layer-heading > p,
.runtime-heading > p {
  grid-column: 1 / -1;
  margin: 0;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 600;
}

.ecosystem-heading h2,
.instruments-heading h2,
.runtime-heading h2 {
  margin: 20px 0 0;
  font-size: 76px;
  font-weight: 500;
  line-height: 1.04;
  white-space: nowrap;
}

.ecosystem-heading > p:last-child,
.instruments-heading > p:last-child {
  width: min(58%, 700px);
  max-width: 700px;
  margin: 42px 0 0 auto;
  font-size: 24px;
  line-height: 1.55;
}

.ecosystem-layers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: clamp(72px, 9vw, 132px) 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  list-style: none;
}

.ecosystem-layers li {
  min-height: 224px;
  padding: 18px 24px 24px 0;
  border-right: 1px solid rgba(16, 16, 16, 0.45);
}

.ecosystem-layers li + li {
  padding-left: 24px;
}

.ecosystem-layers li:last-child {
  border-right: 0;
}

.ecosystem-layers span,
.ecosystem-record-index span,
.instrument-record span {
  display: block;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.ecosystem-layers strong {
  display: block;
  margin-top: 56px;
  font-size: 24px;
}

.ecosystem-layers em,
.ecosystem-record-index em,
.instrument-record em {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.ecosystem-layers p {
  max-width: 330px;
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.6;
}

.ecosystem-layer-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(480px, 1.45fr);
  gap: 6vw;
  align-items: end;
  margin-top: clamp(94px, 12vw, 176px);
}

.ecosystem-layer-heading h3 {
  max-width: 930px;
  margin: 0;
  font-size: 35px;
  font-weight: 500;
  line-height: 1.4;
}

.case-heading {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(360px, 1.1fr);
  gap: 8vw;
  align-items: end;
  margin-top: clamp(70px, 9vw, 130px);
}

.case-heading > p:first-child {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.case-heading h3 {
  margin: 0;
  font-size: 124px;
  font-weight: 700;
  line-height: 0.92;
}

.case-heading > p:last-child {
  max-width: 710px;
  margin: 0;
  font-size: 27px;
  line-height: 1.45;
}

.case-composition {
  display: grid;
  grid-template-columns:
    minmax(210px, 0.55fr)
    minmax(300px, 0.8fr)
    minmax(400px, 1.15fr);
  gap: 5vw;
  align-items: center;
  margin-top: clamp(72px, 9vw, 132px);
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}

.case-composition-title span {
  display: block;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.case-composition-title strong {
  display: block;
  margin-top: 18px;
  font-size: 22px;
  line-height: 1.35;
}

.case-shape {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
}

.case-shape p {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--ink);
}

.case-shape p span {
  font-size: 13px;
  font-weight: 700;
}

.case-shape p em {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-style: normal;
}

.case-weights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 34px;
  margin: 0;
}

.case-weights div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 10px;
  align-items: center;
}

.case-weights dt,
.case-weights dd {
  margin: 0;
  font-size: 13px;
}

.case-weights dd {
  height: 10px;
  background: rgba(16, 16, 16, 0.18);
}

.case-weights i {
  display: block;
  height: 100%;
  background: var(--ink);
}

.case-weights [data-weight="low"] i {
  width: 24%;
}

.case-weights [data-weight="medium"] i {
  width: 52%;
}

.case-weights [data-weight="strong"] i {
  width: 76%;
}

.case-weights [data-weight="primary"] i {
  width: 100%;
}

.case-weights div.is-dominant dt {
  font-weight: 800;
}

.case-weights div.is-dominant dd {
  box-shadow: 0 0 0 1px var(--ink);
}

.case-weights div.is-active dt {
  font-weight: 800;
}

.case-weights div.is-active dd {
  box-shadow: 0 0 0 2px var(--ink);
}

.case-runtime {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(500px, 1.25fr);
  gap: 7vw;
  align-items: center;
  margin-top: clamp(74px, 10vw, 150px);
}

.case-copy {
  max-width: 610px;
}

.case-lead {
  margin: 0 0 20px;
  font-size: 28px;
  line-height: 1.45;
}

.case-copy > p:not(.case-lead) {
  font-size: 15px;
  line-height: 1.75;
}

.case-copy .case-question {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(16, 16, 16, 0.45);
  font-size: 20px;
  font-weight: 700;
}

.dark-action {
  margin-top: 22px;
}

.case-visual {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--ink);
}

.case-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 980;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.case-visual span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 14px 16px;
  background: var(--ink);
  color: var(--white);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.case-visual:hover img,
.case-visual:focus-visible img {
  transform: scale(1.025);
}

.manifestation-list {
  margin-top: clamp(90px, 12vw, 180px);
  border-top: 1px solid var(--ink);
}

.ecosystem-record {
  display: grid;
  grid-template-columns: minmax(190px, 0.45fr) minmax(360px, 1fr) minmax(320px, 0.75fr);
  gap: 5vw;
  padding: 34px 0 44px;
  border-bottom: 1px solid var(--ink);
}

.ecosystem-record-index em {
  max-width: 180px;
  margin-top: 14px;
  line-height: 1.5;
}

.ecosystem-record-main h3,
.instrument-record h3 {
  margin: 0;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.08;
}

.ecosystem-record-main > p,
.instrument-record > div:nth-child(2) > p {
  margin: 22px 0 0;
  font-size: 16px;
  line-height: 1.75;
}

.ecosystem-record blockquote,
.instrument-record blockquote {
  margin: 28px 0 0;
  padding-top: 15px;
  border-top: 1px solid rgba(16, 16, 16, 0.45);
  font-size: 19px;
  font-weight: 700;
}

.ecosystem-record-meta {
  margin: 0;
  border-top: 1px solid rgba(16, 16, 16, 0.45);
}

.ecosystem-record-meta div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(16, 16, 16, 0.35);
}

.ecosystem-record-meta dt,
.ecosystem-record-meta dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
}

.ecosystem-record-meta dt {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
}

.ecosystem-record-meta a,
.instrument-record a {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.instruments-section {
  background: var(--white);
}

.instrument-list {
  margin-top: clamp(72px, 9vw, 132px);
  border-top: 1px solid var(--ink);
}

.instrument-record {
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(390px, 1.08fr) minmax(260px, 0.5fr);
  gap: 5vw;
  padding: 34px 0 44px;
  border-bottom: 1px solid var(--ink);
}

.instrument-record > div:first-child em {
  max-width: 190px;
  margin-top: 14px;
  line-height: 1.5;
}

.instrument-record > div:last-child {
  align-self: end;
}

.instrument-record > div:last-child p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.runtime-architecture-section {
  display: grid;
  grid-template-columns: minmax(420px, 1.15fr) minmax(300px, 0.85fr);
  gap: 8vw;
  background: var(--ink);
  color: var(--white);
}

.runtime-heading h2 {
  max-width: 900px;
}

.runtime-heading {
  grid-column: 1 / -1;
}

.runtime-intro {
  grid-column: 2;
  align-self: end;
  max-width: 620px;
  margin: 0;
  color: #b8b8b2;
  font-size: 18px;
  line-height: 1.75;
}

.runtime-capabilities {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: clamp(72px, 9vw, 132px) 0 0;
  padding: 0;
  border-top: 1px solid #555;
  list-style: none;
}

.runtime-capabilities li {
  min-height: 138px;
  padding: 18px 20px 24px 0;
  border-right: 1px solid #555;
  border-bottom: 1px solid #555;
  font-size: 17px;
  font-weight: 700;
}

.runtime-capabilities li:nth-child(3n) {
  border-right: 0;
}

.runtime-capabilities li:nth-child(n + 4) {
  border-bottom: 0;
}

.runtime-capabilities li + li {
  padding-left: 20px;
}

.runtime-capabilities li:nth-child(4) {
  padding-left: 0;
}

.runtime-capabilities span {
  display: block;
  margin-bottom: 48px;
  color: var(--yellow);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 400;
}

.agent-section {
  display: grid;
  grid-template-columns: minmax(520px, 1.35fr) minmax(280px, 0.65fr);
  gap: 9vw;
  background: var(--red);
}

.agent-statement h2 {
  font-size: 76px;
}

.agent-principles {
  align-self: end;
  border-top: 1px solid var(--ink);
}

.agent-principles p {
  margin: 0;
  padding: 15px 0;
  border-bottom: 1px solid rgba(16, 16, 16, 0.45);
  font-size: 14px;
}

.archive-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.8fr) minmax(520px, 1.2fr);
  gap: 8vw;
  background: var(--paper);
}

.archive-heading h2 {
  font-size: 52px;
}

.source-list {
  border-top: 1px solid var(--ink);
}

.source-list a {
  display: grid;
  grid-template-columns: 44px minmax(180px, 1fr) minmax(220px, 1.2fr) 20px;
  gap: 20px;
  align-items: center;
  min-height: 92px;
  border-bottom: 1px solid var(--ink);
  transition:
    background 160ms ease,
    padding 160ms ease;
}

.source-list a:hover,
.source-list a:focus-visible {
  padding-right: 12px;
  padding-left: 12px;
  background: var(--yellow);
}

.source-list span {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.source-list strong {
  font-size: 17px;
}

.source-list em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.source-list b {
  font-weight: 400;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 120px;
  padding: 0 var(--gutter);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  background: var(--ink);
  color: var(--white);
}

.site-footer p {
  margin: 0;
  font-size: 11px;
}

.site-footer p:last-child {
  justify-self: end;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.entry-section,
.seed-section {
  padding: clamp(80px, 11vw, 170px) var(--gutter);
}

.entry-section {
  background: var(--yellow);
}

.entry-section .section-heading h2 {
  max-width: 900px;
}

.entry-prompts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: clamp(72px, 10vw, 142px) 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.entry-prompts li {
  min-height: 236px;
  padding: 20px 24px 0 0;
  border-right: 1px solid rgba(16, 16, 16, 0.45);
}

.entry-prompts li + li {
  padding-left: 24px;
}

.entry-prompts li:last-child {
  border-right: 0;
}

.entry-prompts span,
.seed-heading > p:first-child,
.seed-progress,
.seed-step legend > span,
.seed-result-heading > p:first-child,
.vault-prelude-header p {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.entry-prompts strong {
  display: block;
  margin-top: 70px;
  font-size: 19px;
}

.entry-prompts p {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.6;
}

.seed-section {
  background: var(--white);
}

.seed-heading {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(420px, 1.2fr);
  gap: 9vw;
  align-items: end;
}

.seed-heading > p:first-child {
  grid-column: 1 / -1;
  margin: 0;
}

.seed-heading h2 {
  margin: 0;
  font-size: 82px;
  font-weight: 500;
  line-height: 1.04;
}

.seed-heading > p:last-child {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.seed-composer {
  margin-top: clamp(64px, 9vw, 130px);
  border-top: 1px solid var(--ink);
}

.seed-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: var(--muted);
}

.seed-progress span {
  min-height: 55px;
  padding-top: 18px;
}

.seed-progress span + span {
  padding-left: 18px;
}

.seed-progress span.is-active {
  color: var(--ink);
  font-weight: 700;
}

.seed-step {
  min-width: 0;
  margin: 0;
  padding: clamp(48px, 6vw, 88px) 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.seed-step legend {
  max-width: 880px;
  padding: 0;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.16;
}

.seed-step legend > span {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
}

.field-label {
  display: block;
  margin: 44px 0 12px;
  font-size: 12px;
  font-weight: 700;
}

.seed-step textarea,
.seed-step input[type="text"],
.seed-result input {
  width: 100%;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.seed-step textarea {
  resize: vertical;
  min-height: 190px;
  padding: 18px;
  font-size: 20px;
  line-height: 1.55;
}

.seed-step input[type="text"],
.seed-result input {
  min-height: 52px;
  padding: 0 16px;
  font-size: 16px;
}

.seed-step textarea::placeholder,
.seed-step input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.field-note {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.choice-grid {
  display: grid;
  gap: 12px;
  margin-top: 44px;
}

.choice-grid-three {
  grid-template-columns: repeat(3, 1fr);
}

.choice-grid label,
.weight-row label {
  position: relative;
  display: block;
  cursor: pointer;
}

.choice-grid input,
.weight-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-grid span {
  display: flex;
  min-height: 76px;
  align-items: flex-end;
  padding: 14px;
  border: 1px solid var(--ink);
  font-size: 16px;
  transition: background 140ms ease, color 140ms ease;
}

.choice-grid input:checked + span {
  background: var(--cyan);
}

.choice-grid input:focus-visible + span,
.weight-row input:focus-visible + span {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.seed-weights .field-note {
  margin-top: 28px;
}

.weight-list {
  margin-top: 46px;
  border-top: 1px solid var(--ink);
}

.weight-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) repeat(3, 92px);
  gap: 10px;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.weight-row legend {
  padding: 0;
  font-size: 16px;
  font-weight: 700;
}

.weight-row span {
  display: grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid var(--ink);
  font-size: 13px;
  transition: background 140ms ease;
}

.weight-row input:checked + span {
  background: var(--red);
}

.seed-controls,
.seed-result-actions,
.vault-prelude-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
}

.seed-controls {
  min-height: 92px;
  border-bottom: 1px solid var(--ink);
}

.seed-controls [hidden] {
  display: none !important;
}

.seed-controls [data-seed-clear] {
  margin-left: auto;
  color: var(--muted);
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.seed-result {
  margin-top: 72px;
  padding-top: 30px;
  border-top: 3px solid var(--ink);
}

.seed-result-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(380px, 1.3fr);
  gap: 6vw;
  align-items: end;
}

.seed-result-heading > p:first-child {
  grid-column: 1 / -1;
  margin: 0;
}

.seed-result-heading h3 {
  margin: 0;
  font-size: 46px;
  font-weight: 500;
  line-height: 1.1;
}

.seed-result-heading > p:last-child {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.seed-result .field-label {
  margin-top: 42px;
}

.seed-summary {
  display: grid;
  grid-template-columns: minmax(190px, 0.35fr) minmax(300px, 1.65fr);
  gap: 0 6vw;
  margin: 44px 0 0;
  border-top: 1px solid var(--ink);
}

.seed-summary dt,
.seed-summary dd {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.seed-summary dt {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.seed-summary dd {
  font-size: 14px;
  line-height: 1.65;
}

.seed-result-actions {
  margin-top: 28px;
}

.case-visual {
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.archive-heading {
  align-self: start;
}

.archive-intro {
  max-width: 560px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.archive-action {
  margin-top: 30px;
}

.memory-panel {
  border-top: 1px solid var(--ink);
}

.memory-panel-lead {
  max-width: 720px;
  margin: 0;
  padding: 20px 0 42px;
  font-size: 21px;
  line-height: 1.5;
}

.memory-loop {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.memory-loop li {
  min-height: 112px;
  padding: 15px 12px 15px 0;
  border-right: 1px solid var(--line);
  font-size: 13px;
}

.memory-loop li + li {
  padding-left: 12px;
}

.memory-loop li:last-child {
  border-right: 0;
}

.source-network {
  margin-top: 56px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.source-network summary {
  min-height: 64px;
  padding: 20px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
}

.source-network > p {
  max-width: 660px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.source-network .source-list {
  margin-bottom: 20px;
}

.vault-prelude {
  width: min(900px, calc(100vw - 40px));
  max-height: min(720px, calc(100svh - 40px));
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
}

.vault-prelude::backdrop {
  background: rgba(16, 16, 16, 0.62);
}

.vault-prelude-header,
.vault-prelude-actions {
  padding: 18px 22px;
}

.vault-prelude-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
}

.vault-prelude-header p {
  margin: 0;
}

.icon-button {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.icon-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 2;
}

.vault-prelude-body {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(360px, 1.3fr);
  gap: 8vw;
  padding: clamp(36px, 7vw, 80px) 22px;
}

.vault-prelude-body h2 {
  margin: 0;
  font-size: clamp(58px, 9vw, 100px);
  font-weight: 700;
  line-height: 0.9;
}

.vault-prelude-body p {
  margin: 0;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.7;
}

.vault-prelude-body p + p {
  padding-top: 18px;
}

.vault-prelude-body strong {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
}

.vault-prelude-actions {
  border-top: 1px solid var(--ink);
}

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

@media (max-width: 1050px) {
  .hero-copy {
    max-width: 52vw;
  }

  .hero-copy h1 {
    font-size: 124px;
  }

  .facet-detail {
    width: 28vw;
  }

  .system-section,
  .entry-prompts,
  .seed-heading,
  .protocol-intro,
  .ecosystem-heading,
  .instruments-heading,
  .ecosystem-layer-heading,
  .case-heading,
  .case-composition,
  .case-runtime,
  .runtime-architecture-section,
  .agent-section,
  .archive-section {
    grid-template-columns: 1fr;
  }

  .section-heading h2 {
    font-size: 60px;
  }

  .system-section .section-heading h2 {
    font-size: 60px;
    white-space: normal;
  }

  .system-copy {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .system-copy p {
    font-size: 30px;
  }

  .facet-controls {
    grid-template-columns: repeat(3, 1fr);
  }

  .protocol-intro h2 {
    font-size: 64px;
  }

  .protocol-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .protocol-steps li {
    min-height: 230px;
    border-bottom: 1px solid #555;
  }

  .protocol-steps li:nth-child(2n) {
    border-right: 0;
  }

  .protocol-steps li:nth-child(3),
  .protocol-steps li:nth-child(5) {
    padding-left: 0;
  }

  .ecosystem-heading h2,
  .instruments-heading h2,
  .runtime-heading h2 {
    font-size: 58px;
  }

  .ecosystem-heading > p:last-child,
  .instruments-heading > p:last-child {
    width: min(72%, 700px);
    margin-top: 30px;
  }

  .ecosystem-layer-heading {
    gap: 28px;
  }

  .case-heading h3 {
    font-size: 92px;
  }

  .ecosystem-record,
  .instrument-record {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 34px;
  }

  .ecosystem-record-meta,
  .instrument-record > div:last-child {
    grid-column: 2;
  }

  .runtime-intro {
    grid-column: 1;
    margin-top: 30px;
  }

  .seed-heading h2 {
    font-size: 64px;
  }

  .entry-prompts {
    grid-template-columns: repeat(2, 1fr);
  }

  .entry-prompts li:nth-child(2n) {
    border-right: 0;
  }

  .entry-prompts li:nth-child(3) {
    padding-left: 0;
  }

  .case-heading > p:last-child {
    font-size: 26px;
  }

  .case-composition {
    gap: 42px;
  }

  .case-runtime {
    gap: 70px;
  }

  .agent-statement h2,
  .archive-heading h2 {
    font-size: 58px;
  }

  .archive-section {
    gap: 70px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 62px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .header-edition {
    font-size: 9px;
  }

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

  .hero-grid {
    background-size: 48px 48px;
  }

  .symbiote-stage {
    inset: -10% -28% -4% -24%;
  }

  .hero-copy {
    right: var(--gutter);
    bottom: 42px;
    max-width: none;
  }

  .hero-copy h1 {
    font-size: 88px;
  }

  .hero-definition {
    margin-top: 28px;
  }

  .hero-intro {
    max-width: 500px;
    font-size: 17px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .facet-detail {
    top: 24px;
    right: 20px;
    bottom: auto;
    width: 178px;
    padding: 10px 12px 12px;
    background: rgba(244, 242, 237, 0.82);
    backdrop-filter: blur(8px);
  }

  .facet-detail strong {
    font-size: 17px;
  }

  .facet-detail p {
    font-size: 11px;
    line-height: 1.45;
  }

  .system-section,
  .protocol-section,
  .cases-section,
  .instruments-section,
  .runtime-architecture-section,
  .agent-section,
  .archive-section {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .system-section {
    gap: 0;
  }

  .system-section .section-heading h2 {
    font-size: 32px;
  }

  #system-title {
    font-size: 28px;
    line-height: 1.2;
  }

  .system-copy {
    gap: 18px;
    margin-top: 40px;
  }

  .system-copy p {
    font-size: 22px;
  }

  .facet-controls {
    grid-template-columns: 1fr;
    margin-top: 62px;
  }

  .facet-control,
  .facet-control + .facet-control,
  .facet-control:nth-child(4) {
    min-height: 112px;
    padding: 16px 20px;
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .facet-control strong {
    font-size: 18px;
  }

  .system-facet-explanation {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 210px;
    padding-top: 24px;
  }

  .system-facet-explanation strong {
    font-size: 22px;
  }

  .system-facet-explanation p {
    font-size: 15px;
  }

  .protocol-intro {
    gap: 40px;
  }

  .protocol-intro h2 {
    font-size: 36px;
  }

  .protocol-steps {
    grid-template-columns: 1fr;
    margin-top: 70px;
  }

  .protocol-steps li,
  .protocol-steps li + li,
  .protocol-steps li:nth-child(3),
  .protocol-steps li:nth-child(5) {
    min-height: 0;
    padding: 22px 0 32px;
    border-right: 0;
  }

  .protocol-steps strong {
    margin-top: 38px;
  }

  .ecosystem-heading,
  .instruments-heading {
    gap: 0;
  }

  .ecosystem-heading h2 {
    margin-top: 16px;
    font-size: 32px;
    white-space: nowrap;
  }

  .instruments-heading h2,
  .runtime-heading h2 {
    margin-top: 16px;
    font-size: 22px;
    white-space: nowrap;
  }

  .ecosystem-heading > p:last-child,
  .instruments-heading > p:last-child {
    width: auto;
    margin-top: 28px;
    font-size: 17px;
  }

  .ecosystem-layers {
    grid-template-columns: 1fr;
    margin-top: 62px;
  }

  .ecosystem-layers li,
  .ecosystem-layers li + li {
    min-height: 0;
    padding: 18px 0 28px;
    border-right: 0;
    border-bottom: 1px solid rgba(16, 16, 16, 0.45);
  }

  .ecosystem-layers li:last-child {
    border-bottom: 0;
  }

  .ecosystem-layers strong {
    margin-top: 28px;
  }

  .ecosystem-layer-heading {
    margin-top: 88px;
  }

  .ecosystem-layer-heading h3 {
    font-size: 25px;
  }

  .case-heading {
    margin-top: 70px;
  }

  .case-heading h3 {
    font-size: 56px;
    white-space: nowrap;
  }

  .case-heading > p:last-child,
  .case-lead {
    font-size: 23px;
  }

  .case-composition {
    margin-top: 62px;
  }

  .case-weights {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .case-weights div {
    grid-template-columns: 80px 1fr;
  }

  .case-runtime {
    margin-top: 70px;
  }

  .case-visual img {
    min-height: 380px;
    object-position: center;
  }

  .manifestation-list,
  .instrument-list {
    margin-top: 72px;
  }

  .ecosystem-record,
  .instrument-record {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 26px 0 36px;
  }

  .ecosystem-record-meta,
  .instrument-record > div:last-child {
    grid-column: 1;
  }

  .ecosystem-record-main h3,
  .instrument-record h3 {
    font-size: 34px;
  }

  .ecosystem-record blockquote,
  .instrument-record blockquote {
    font-size: 17px;
  }

  .instrument-record > div:last-child {
    align-self: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(16, 16, 16, 0.45);
  }

  .runtime-intro {
    margin-top: 28px;
    font-size: 16px;
  }

  .runtime-capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 62px;
  }

  .runtime-capabilities li,
  .runtime-capabilities li + li,
  .runtime-capabilities li:nth-child(4) {
    min-height: 116px;
    padding: 16px 14px 20px 0;
    border-right: 1px solid #555;
    border-bottom: 1px solid #555;
    font-size: 14px;
  }

  .runtime-capabilities li:nth-child(2n) {
    padding-left: 14px;
    border-right: 0;
  }

  .runtime-capabilities li:nth-child(2n + 1) {
    padding-left: 0;
  }

  .runtime-capabilities li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .runtime-capabilities span {
    margin-bottom: 34px;
  }

  .agent-statement h2,
  .archive-heading h2 {
    font-size: 36px;
  }

  .source-list a {
    grid-template-columns: 32px 1fr 20px;
    gap: 10px;
    padding: 18px 0;
  }

  .source-list em {
    grid-column: 2 / 3;
  }

  .source-list b {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    min-height: 110px;
  }

  .site-footer p:nth-child(2) {
    display: none;
  }

  .entry-section,
  .seed-section {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .entry-section .section-heading h2,
  .seed-heading h2 {
    font-size: 36px;
  }

  .entry-prompts {
    grid-template-columns: 1fr;
    margin-top: 62px;
  }

  .entry-prompts li,
  .entry-prompts li + li,
  .entry-prompts li:nth-child(3) {
    min-height: 0;
    padding: 22px 0 32px;
    border-right: 0;
    border-bottom: 1px solid rgba(16, 16, 16, 0.45);
  }

  .entry-prompts strong {
    margin-top: 38px;
  }

  .seed-heading {
    gap: 26px;
  }

  .seed-heading > p:last-child {
    font-size: 15px;
  }

  .seed-progress {
    grid-template-columns: repeat(2, 1fr);
  }

  .seed-progress span {
    min-height: 48px;
    padding-top: 15px;
  }

  .seed-step {
    padding: 48px 0;
  }

  .seed-step legend {
    font-size: 31px;
  }

  .seed-step textarea {
    min-height: 160px;
    font-size: 17px;
  }

  .choice-grid-three {
    grid-template-columns: 1fr;
  }

  .choice-grid span {
    min-height: 62px;
  }

  .weight-row {
    grid-template-columns: 1fr repeat(3, 58px);
    gap: 7px;
  }

  .weight-row legend {
    grid-column: 1 / -1;
    margin-bottom: 5px;
  }

  .seed-controls {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 0;
  }

  .seed-controls [data-seed-clear] {
    margin-left: 0;
  }

  .seed-result {
    margin-top: 56px;
  }

  .seed-result-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .seed-result-heading h3 {
    font-size: 34px;
  }

  .seed-summary {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .seed-summary dt {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .seed-summary dd {
    padding-top: 4px;
  }

  .memory-panel-lead {
    font-size: 19px;
  }

  .memory-loop {
    grid-template-columns: 1fr;
  }

  .memory-loop li,
  .memory-loop li + li {
    min-height: 0;
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .source-network {
    margin-top: 44px;
  }

  .vault-prelude {
    width: min(100vw - 24px, 900px);
  }

  .vault-prelude-header,
  .vault-prelude-actions {
    padding-right: 16px;
    padding-left: 16px;
  }

  .vault-prelude-body {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 44px 16px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
