:root {
  --ink: #11110f;
  --paper: #fffdf2;
  --acid: #f4ff00;
  --pink: #ff2e88;
  --cyan: #00dff2;
  --violet: #7a5cff;
  --muted: #6a685f;
  --line: 2px solid var(--ink);
  --shadow: 7px 7px 0 var(--ink);
  --ease: cubic-bezier(.2,.8,.2,1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.62;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  opacity: .16;
  pointer-events: none;
  z-index: 20;
  background-image: radial-gradient(#111 0.55px, transparent 0.7px);
  background-size: 5px 5px;
  mix-blend-mode: multiply;
}
.entry-wipe {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #111;
  pointer-events: none;
  animation: curtain 950ms var(--ease) forwards;
}
@keyframes curtain { 0% { transform: translateY(0); } 100% { transform: translateY(-101%); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .entry-wipe { display: none; }
}
[data-static="true"] *, [data-static="true"] *::before, [data-static="true"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .16em; }
a:hover { text-decoration-style: wavy; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select, input[type="range"], input[type="checkbox"] { cursor: pointer; }
:focus-visible { outline: 4px solid var(--pink); outline-offset: 4px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 200; padding: .7rem 1rem; background: var(--acid); border: var(--line); transform: translateY(-150%); font-family: ui-monospace, monospace; font-weight: 800; }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.masthead { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: .9rem 1rem; border-bottom: 3px solid var(--ink); background: var(--paper); }
.wordmark { display: flex; flex-direction: column; width: max-content; font: 900 clamp(1.45rem, 6vw, 2.3rem)/.72 Arial Black, Impact, sans-serif; letter-spacing: -.08em; text-decoration: none; text-transform: uppercase; transform: skew(-4deg); }
.wordmark span:last-child { color: var(--pink); -webkit-text-stroke: 1px var(--ink); }
.issue { margin: 0; font: 700 .69rem/1.25 ui-monospace, monospace; text-transform: uppercase; text-align: right; }
.issue span { font-weight: 400; color: var(--muted); }
.masthead nav { grid-column: 1 / -1; display: flex; gap: .45rem 1rem; flex-wrap: wrap; font: 700 .72rem/1.3 ui-monospace, monospace; text-transform: uppercase; }
.motion-toggle { grid-column: 1 / -1; justify-self: start; background: transparent; border: 0; border-bottom: 2px solid; padding: .15rem 0; font: 700 .68rem ui-monospace, monospace; text-transform: uppercase; }
.hero { min-height: 86vh; display: grid; gap: 2rem; align-items: center; padding: clamp(3rem, 8vw, 7rem) max(1rem, 5vw); position: relative; overflow: hidden; }
.hero::after { content: "RELAY / RELAY / RELAY"; position: absolute; z-index: -1; bottom: -1.4rem; left: -1rem; white-space: nowrap; font: 900 clamp(4rem, 17vw, 12rem)/.8 Arial Black, sans-serif; color: transparent; -webkit-text-stroke: 2px rgba(17,17,15,.12); transform: rotate(-4deg); }
.kicker, .eyebrow, .section-no { font: 800 .74rem/1.35 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; }
.kicker { display: inline-block; margin: 0 0 1.2rem; padding: .35rem .6rem; background: var(--acid); border: var(--line); transform: rotate(-1deg); }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { max-width: 13ch; margin-bottom: 1.2rem; font: 900 clamp(3rem, 11vw, 7.6rem)/.82 Arial Black, Impact, sans-serif; letter-spacing: -.07em; text-transform: uppercase; }
h1 em { display: inline-block; color: var(--pink); font-family: Georgia, serif; font-weight: 700; text-transform: none; letter-spacing: -.04em; transform: rotate(-2deg); }
.dek { max-width: 58ch; font-size: clamp(1.1rem, 2.3vw, 1.45rem); line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 48px; padding: .68rem 1rem; border: 2px solid var(--ink); border-radius: 0; box-shadow: 4px 4px 0 var(--ink); font: 800 .77rem/1 ui-monospace, monospace; letter-spacing: .03em; text-decoration: none; text-transform: uppercase; transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms; }
.button:hover { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); text-decoration: none; }
.button:active { transform: translate(4px, 4px); box-shadow: none; }
.ink { background: var(--ink); color: white; box-shadow: 4px 4px 0 var(--pink); }
.acid { background: var(--acid); }
.pale { background: var(--paper); }
.ghost { background: transparent; box-shadow: none; }
.button:disabled { cursor: not-allowed; opacity: .45; transform: none; box-shadow: none; }
.text-link { font-weight: 700; }
.hero-art { margin: 0; animation: float-in 800ms 140ms both var(--ease); }
.hero-art svg { width: 100%; max-height: 650px; overflow: visible; }
.hero-art figcaption { max-width: 50ch; margin: -.8rem auto 0; font: .72rem ui-monospace, monospace; text-align: center; }
@keyframes float-in { from { opacity: 0; transform: translateY(30px) rotate(1deg); } to { opacity: 1; transform: none; } }
.orientation { display: grid; border-top: 3px solid; border-bottom: 3px solid; }
.orientation article { min-height: 210px; padding: 1.4rem; border-bottom: 2px solid; position: relative; }
.orientation article:last-child { border-bottom: 0; }
.orientation article:nth-child(1) { background: var(--acid); }
.orientation article:nth-child(2) { background: var(--cyan); }
.orientation article:nth-child(3) { background: var(--pink); }
.orientation span { position: absolute; top: .8rem; right: 1rem; font: 900 2.8rem Arial Black, sans-serif; opacity: .23; }
.orientation h2 { margin-bottom: .45rem; font: 900 1.6rem Arial Black, sans-serif; text-transform: uppercase; }
.orientation p { margin: 0; max-width: 42ch; }
.lab { padding: clamp(3.5rem, 8vw, 7rem) max(1rem, 5vw); background: var(--ink); color: var(--paper); position: relative; }
.lab::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .12; background: repeating-linear-gradient(117deg, transparent 0 30px, var(--cyan) 31px 33px, transparent 34px 70px); }
.section-lead { max-width: 900px; margin-bottom: 2.5rem; position: relative; }
.section-lead h2, .model-boundary h2, .faq h2, .related h2, .final-cta h2 { margin-bottom: 1rem; font: 900 clamp(2.35rem, 7vw, 5.8rem)/.92 Arial Black, Impact, sans-serif; letter-spacing: -.06em; text-transform: uppercase; }
.section-lead > p:last-child { max-width: 68ch; font-size: 1.14rem; }
.inverse .eyebrow { color: var(--acid); }
.lab-grid { display: grid; gap: 2.3rem; position: relative; }
.control-desk { color: var(--ink); background: var(--paper); border: 3px solid var(--paper); box-shadow: 9px 9px 0 var(--pink); }
fieldset { margin: 0; padding: 1.25rem; border: 0; border-bottom: 2px solid var(--ink); }
legend { padding: .38rem .65rem; background: var(--ink); color: var(--acid); font: 800 .74rem ui-monospace, monospace; text-transform: uppercase; }
label { display: block; margin-bottom: .45rem; font-weight: 800; }
textarea, select { width: 100%; padding: .75rem; background: #fff; border: 2px solid var(--ink); border-radius: 0; }
textarea { resize: vertical; line-height: 1.4; }
.field-note, .control-row p, .privacy-note { margin: .45rem 0 0; font: .72rem/1.45 ui-monospace, monospace; color: #555249; }
.control-row { margin-bottom: 1.25rem; }
.control-row label { display: flex; justify-content: space-between; }
output { padding: .12rem .4rem; background: var(--cyan); border: 1px solid; font-family: ui-monospace, monospace; }
input[type="range"] { width: 100%; accent-color: var(--pink); }
select { margin-bottom: 1rem; }
.check-row { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; margin: .5rem 0 0; padding: .8rem; border: 2px solid; background: #f1eee2; }
.check-row input { width: 1.3rem; height: 1.3rem; margin: .15rem 0 0; accent-color: var(--pink); }
.check-row small { display: block; font-weight: 400; }
.desk-actions { display: grid; gap: .7rem; padding: 1.25rem; }
.privacy-note { padding: 0 1.25rem 1.2rem; }
.network-stage { min-width: 0; }
.stage-header { display: flex; gap: 1rem; justify-content: space-between; align-items: start; margin-bottom: 1.2rem; }
.stage-header h3, .readout h3 { margin: 0; font: 900 1.5rem Arial Black, sans-serif; text-transform: uppercase; }
.status-chip { padding: .34rem .55rem; background: var(--pink); color: var(--ink); border: 2px solid var(--paper); font: 800 .62rem ui-monospace, monospace; text-transform: uppercase; transform: rotate(1deg); }
.network { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.node { position: relative; margin-right: 1rem; padding: 1rem; color: var(--ink); background: var(--paper); border: 2px solid var(--paper); box-shadow: 5px 5px 0 var(--cyan); animation: node-in 440ms var(--ease) both; }
.node:nth-child(3n) { margin-left: 1.6rem; box-shadow: 5px 5px 0 var(--pink); }
.node:nth-child(3n+2) { margin-left: .7rem; box-shadow: 5px 5px 0 var(--acid); }
.node:not(:first-child)::before { content: "↓"; position: absolute; top: -1.45rem; left: .3rem; color: var(--paper); font: 900 1.3rem ui-monospace, monospace; }
.node p { margin: .45rem 0; line-height: 1.4; }
.node small, .node-id { font: .65rem/1.35 ui-monospace, monospace; text-transform: uppercase; }
.node-id { display: inline-block; padding: .12rem .35rem; background: var(--ink); color: var(--paper); }
.node.mutation { border-color: var(--ink); }
@keyframes node-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.network-limit { margin: 1rem 0 1.4rem; color: #bdb9aa; font: .72rem ui-monospace, monospace; }
.readout { padding: 1rem; color: var(--ink); background: var(--cyan); border: 3px solid var(--paper); box-shadow: 7px 7px 0 var(--violet); }
.readout-head { display: flex; gap: 1rem; justify-content: space-between; align-items: center; }
.info-button { padding: .25rem 0; border: 0; border-bottom: 2px solid; background: transparent; font: 800 .66rem ui-monospace, monospace; }
.model-note { margin-top: .8rem; padding: .8rem; background: var(--paper); border: 2px solid; }
.model-note p { margin: 0; font-size: .88rem; }
.meters { display: grid; gap: .8rem; margin: 1.2rem 0; }
.meters > div { display: grid; gap: .25rem; }
.meters dt { font: 800 .67rem ui-monospace, monospace; text-transform: uppercase; }
.meters dd { display: grid; grid-template-columns: 1fr 3.2rem; gap: .7rem; align-items: center; margin: 0; }
.meter { height: 17px; overflow: hidden; background: var(--paper); border: 2px solid; }
.meter i { display: block; height: 100%; background: var(--pink); transition: width 420ms var(--ease); }
.meters dd strong { font: 900 .8rem ui-monospace, monospace; text-align: right; }
.meters .number { grid-template-columns: auto 1fr; }
.meters .number strong { font: 900 2.3rem Arial Black, sans-serif; text-align: left; }
.meters .number span { font-size: .8rem; }
.because { padding: .85rem; background: var(--acid); border: 2px solid; }
.because strong { font: 900 .7rem ui-monospace, monospace; text-transform: uppercase; }
.because p { margin: .3rem 0 0; font-size: .88rem; }
.no-js { margin-top: 2rem; padding: 1rem; border: 3px dashed var(--acid); position: relative; }
.model-boundary { display: grid; gap: 1rem; padding: clamp(2.5rem, 6vw, 5rem) max(1rem, 5vw); background: var(--acid); border-bottom: 3px solid; }
.model-boundary h2 { max-width: 11ch; margin: 0; }
.model-boundary > p { max-width: 65ch; margin: 0; font-size: 1.1rem; }
.field-notes { padding: clamp(4rem, 9vw, 8rem) max(1rem, 5vw); }
.essay-grid { display: grid; gap: 2.5rem; }
.margin-index { display: none; }
.essay { max-width: 850px; }
.essay section { padding: 2.5rem 0; border-top: 3px solid; }
.essay h3 { max-width: 15ch; font: 900 clamp(2rem, 5vw, 3.5rem)/.95 Arial Black, sans-serif; letter-spacing: -.045em; text-transform: uppercase; }
.essay h4 { font: 900 1.25rem/1.2 Arial, sans-serif; }
.essay p { font-size: 1.04rem; }
.essay p + p { text-indent: 1.2em; }
.section-no { color: var(--pink); }
.perspective-pair { display: grid; gap: 1rem; margin: 1.5rem 0; }
.perspective-pair article { padding: 1.2rem; border: 3px solid; box-shadow: var(--shadow); }
.perspective-pair article:first-child { background: var(--cyan); }
.perspective-pair article:last-child { background: var(--pink); }
.perspective-pair p { margin: 0; font-size: .94rem; }
.editor-note { margin: 2rem 0; padding: 1.2rem; background: var(--acid); border: 3px solid; transform: rotate(-.4deg); }
.case-file { margin: 2rem 0; padding: 1.25rem; border: 3px solid; box-shadow: 8px 8px 0 var(--ink); }
.case-file:nth-of-type(2) { background: #efeaff; }
.case-file:nth-of-type(3) { background: #e8fcff; }
.case-tag { display: inline-block; margin: -2rem 0 1rem; padding: .35rem .55rem; background: var(--ink); color: var(--acid); font: 800 .68rem ui-monospace, monospace; text-transform: uppercase; transform: rotate(-1deg); }
.ledger { display: grid; gap: 1rem; }
.ledger article { padding: 1rem; border: 2px solid; }
.ledger h4 { margin: .7rem 0 .35rem; }
.ledger p { margin: 0; font-size: .92rem; text-indent: 0 !important; }
.evidence-label { display: inline-block; padding: .18rem .42rem; border: 1px solid; font: 800 .62rem ui-monospace, monospace; text-transform: uppercase; }
.established { background: var(--cyan); }.observed { background: var(--violet); color: white; }.contested { background: var(--pink); }.myth { background: var(--ink); color: white; }.hypothesis { background: var(--acid); }.simulation { background: #ddd; }
.trace-list { list-style: none; margin: 1.5rem 0 2.2rem; padding: 0; border-top: 3px solid; }
.trace-list li { display: grid; gap: .25rem; padding: 1rem 0; border-bottom: 2px solid; }
.trace-list strong { font: 900 1.05rem Arial, sans-serif; }
.faq { padding: clamp(3rem, 7vw, 6rem) max(1rem, 5vw); background: var(--pink); border-top: 3px solid; border-bottom: 3px solid; }
.faq header { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: end; }
.faq h2 { margin: 0; }
.faq-list { border-top: 3px solid; }
.faq details { border-bottom: 2px solid; }
.faq summary { padding: 1.2rem 2.5rem 1.2rem 0; list-style: none; cursor: pointer; position: relative; font: 900 1.15rem Arial, sans-serif; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; font: 900 1.6rem ui-monospace, monospace; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 75ch; margin: 0 0 1.2rem; }
.sources { padding: clamp(4rem, 9vw, 8rem) max(1rem, 5vw); }
.bibliography { list-style: none; margin: 0; padding: 0; border-top: 3px solid; }
.bibliography li { display: grid; grid-template-columns: 2.6rem 1fr; gap: .8rem; padding: 1rem 0; border-bottom: 1px solid #99978e; }
.bibliography li > span { font: 900 1.4rem Arial Black, sans-serif; color: var(--pink); }
.bibliography p { margin: 0; font-size: .91rem; }
.bibliography a { font-weight: 700; }
.related { padding: clamp(3rem, 7vw, 6rem) max(1rem, 5vw); border-top: 3px solid; background: var(--cyan); }
.related h2 { max-width: 10ch; }
.world-card { display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; align-items: center; padding: 1rem; background: var(--paper); border: 3px solid; box-shadow: var(--shadow); text-decoration: none; transition: transform 200ms var(--ease), box-shadow 200ms var(--ease); }
.world-card:hover { transform: translate(4px,4px); box-shadow: 3px 3px 0 var(--ink); text-decoration: none; }
.world-card strong, .world-card small { display: block; }
.world-card strong { font: 900 1.1rem Arial, sans-serif; }
.world-card small { margin-top: .2rem; }
.world-card b { font-size: 1.7rem; }
.world-orbit { width: 58px; height: 58px; border-radius: 50%; background: var(--acid); border: 3px solid; position: relative; }
.world-orbit::after { content: ""; position: absolute; width: 66px; height: 21px; top: 15px; left: -7px; border: 3px solid; border-radius: 50%; transform: rotate(-18deg); }
.final-cta { display: grid; gap: 2rem; padding: clamp(3rem, 8vw, 7rem) max(1rem, 5vw); background: var(--ink); color: var(--paper); }
.final-cta h2 { max-width: 10ch; margin: 0; color: var(--acid); }
.cta-cluster { display: grid; gap: .8rem; align-content: center; }
.ghost-light { color: var(--paper); border-color: var(--paper); box-shadow: 4px 4px 0 var(--pink); }
.cta-cluster p { margin: .6rem 0 0; font: .72rem ui-monospace, monospace; }
.cta-cluster p span { color: var(--acid); }
footer { display: grid; gap: .7rem; padding: 1.5rem max(1rem, 5vw); background: var(--paper); border-top: 3px solid; font: .72rem/1.5 ui-monospace, monospace; }
footer p { margin: 0; }

@media (min-width: 720px) {
  .masthead { grid-template-columns: auto 1fr auto; padding-inline: 2rem; }
  .issue { text-align: left; }
  .masthead nav { grid-column: auto; justify-self: end; }
  .motion-toggle { grid-column: 3; justify-self: end; }
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); }
  .orientation { grid-template-columns: repeat(3, 1fr); }
  .orientation article { border-right: 2px solid; border-bottom: 0; }
  .orientation article:last-child { border-right: 0; }
  .desk-actions { grid-template-columns: 1fr 1fr; }
  .desk-actions .acid { grid-column: 1 / -1; }
  .perspective-pair, .ledger { grid-template-columns: repeat(2, 1fr); }
  .trace-list li { grid-template-columns: minmax(190px, .35fr) 1fr; gap: 1rem; }
  .final-cta { grid-template-columns: 1fr 1fr; }
  footer { grid-template-columns: 1fr 1.2fr auto; align-items: end; }
}

@media (min-width: 1040px) {
  .lab-grid { grid-template-columns: minmax(360px, .7fr) minmax(520px, 1.3fr); align-items: start; }
  .control-desk { position: sticky; top: 1.2rem; }
  .network { grid-template-columns: repeat(2, 1fr); align-items: start; }
  .node.origin { grid-column: 1 / -1; max-width: 68%; }
  .node:nth-child(3n), .node:nth-child(3n+2) { margin-left: 0; }
  .node:not(:first-child)::before { content: "↘"; }
  .readout { margin-top: 1.5rem; }
  .model-boundary { grid-template-columns: 1fr 1fr; align-items: center; }
  .essay-grid { grid-template-columns: 220px minmax(0, 850px); justify-content: center; }
  .margin-index { display: flex; flex-direction: column; gap: .7rem; align-self: start; position: sticky; top: 1.5rem; padding: 1rem; border: 2px solid; box-shadow: 4px 4px 0 var(--pink); font: .72rem ui-monospace, monospace; }
  .margin-index p { margin: 0 0 .4rem; font-weight: 800; text-transform: uppercase; }
  .bibliography { columns: 2; column-gap: 3rem; border-top: 0; }
  .bibliography li { break-inside: avoid; border-top: 1px solid #99978e; }
}

@media print {
  .masthead nav, .motion-toggle, .hero-actions, .lab, .final-cta, .entry-wipe, .skip-link { display: none !important; }
  body::before { display: none; }
  body { font-size: 10pt; background: white; }
  .hero { min-height: auto; grid-template-columns: 1fr 240px; padding: 1cm; }
  .field-notes, .sources, .faq, .related { padding: 1cm; }
  .essay section, .case-file, .ledger article { break-inside: avoid; }
  a { text-decoration: none; }
}
