:root {
  --paper: #e9eaeb;
  --paper-2: #f7f8f8;
  --white: #ffffff;
  --ink: #0a0c0d;
  --ink-2: #24292c;
  --ink-3: #3d4347;
  --muted: #656c71;
  --muted-2: #7e858a;
  --line: #c4c8cb;
  --line-dark: #2a3036;
  --red: #ff2b2b;
  --red-dark: #d31f27;
  --amber: #a8760c;
  --night: #050607;
  --night-2: #0a0c0e;
  --night-fg: #f2f4f5;
  --night-muted: #a8afb4;
  --font: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}

* {
  box-sizing: border-box;
  border-radius: 0 !important;
}

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

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink-2);
  font: 400 14px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
p, h1, h2, h3, dl, dd { margin: 0; }
button, a { font: inherit; }

::selection { background: var(--red); color: var(--night); }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--night);
  color: var(--night-fg);
  transform: translateY(-140%);
}

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

.observer-status {
  position: fixed;
  z-index: 80;
  top: 118px;
  right: 10px;
  display: grid;
  gap: 13px;
  padding: 10px 7px;
  border-left: 1px solid var(--red);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  color: var(--muted);
  font-size: 7px;
  line-height: 1;
  letter-spacing: .12em;
  writing-mode: vertical-rl;
  opacity: 0;
  transform: translateX(12px);
  pointer-events: none;
  transition: opacity 400ms ease 900ms, transform 400ms ease 900ms;
}

body.is-booted .observer-status { opacity: .9; transform: translateX(0); }
.observer-status time { color: var(--ink); font-variant-numeric: tabular-nums; }
.observer-state { color: var(--red-dark); animation: observer-blink 2.2s steps(1, end) infinite; }

.masthead {
  position: relative;
  width: calc(100% - clamp(40px, 8vw, 116px));
  min-height: 86px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  margin: 0 auto;
  border-bottom: 0;
}

.masthead::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
}

body.is-booted .masthead::after { animation: rule-acquire 700ms cubic-bezier(.16, 1, .3, 1) 80ms forwards; }
body.is-booted .masthead > * { animation: masthead-boot 520ms cubic-bezier(.16, 1, .3, 1) both; }
body.is-booted .masthead > :nth-child(2) { animation-delay: 90ms; }
body.is-booted .masthead > :nth-child(3) { animation-delay: 180ms; }

.identity {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .2em;
}

.signal-square {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  background: var(--muted-2);
}

.signal-square-live {
  background: var(--red);
  animation: pulse 1.8s ease-in-out infinite;
}

.masthead-descriptor {
  padding-left: 34px;
  border-left: 1px solid var(--ink);
  color: var(--ink-2);
  font-size: 11px;
  letter-spacing: .18em;
}

.event-mark {
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .17em;
  white-space: nowrap;
}

.event-mark b { font-weight: 600; }

.hero {
  width: calc(100% - clamp(40px, 8vw, 116px));
  min-height: 575px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(430px, .85fr);
  align-items: center;
  gap: clamp(30px, 4vw, 58px);
  margin: 0 auto;
  padding: 62px 0 56px;
  border-bottom: 2px solid var(--ink);
}

.eyebrow {
  color: var(--ink-3);
  font-size: 10px;
  letter-spacing: .2em;
}

.eyebrow span { color: var(--red); }
.eyebrow b { font-weight: 400; }

h1 {
  max-width: 900px;
  margin: 28px 0 24px;
  color: var(--ink);
  font-size: clamp(46px, 4.8vw, 72px);
  font-weight: 700;
  line-height: .99;
  letter-spacing: -.065em;
}

h1 em, h2 em {
  color: var(--red);
  font-style: normal;
}

.hero-copy.is-visible [data-acquire] { animation: text-acquire 760ms cubic-bezier(.16, 1, .3, 1) 90ms both; }
.hero-copy.is-visible h1 em { animation: red-lock 4.8s steps(1, end) 1.2s infinite; }
.hero-copy.is-visible .thesis-strip { animation: entry-snap 480ms cubic-bezier(.16, 1, .3, 1) 260ms both; }
.hero-copy.is-visible .hero-summary { animation: entry-snap 480ms cubic-bezier(.16, 1, .3, 1) 360ms both; }
.hero-copy.is-visible .primary-action { animation: entry-snap 480ms cubic-bezier(.16, 1, .3, 1) 460ms both; }

.thesis-strip {
  display: inline-block;
  margin-bottom: 24px;
  padding: 7px 12px;
  background: var(--night);
  color: var(--night-fg);
  font-size: clamp(10px, 1.2vw, 15px);
  font-weight: 500;
  letter-spacing: .11em;
}

.hero-summary {
  max-width: 680px;
  color: var(--ink-2);
  font-size: clamp(13px, 1.15vw, 16px);
  line-height: 1.8;
}

.primary-action {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  margin-top: 28px;
  padding: 0 28px;
  border: 1px solid var(--red);
  background: var(--red);
  color: var(--night);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15em;
  transition: background-color 160ms ease, color 160ms ease;
}

.primary-action:hover,
.primary-action:focus-visible {
  background: transparent;
  color: var(--red-dark);
  outline: 2px solid transparent;
}

.dossier {
  padding-left: clamp(24px, 4vw, 54px);
  border-left: 1px solid var(--ink);
}

.dossier-meta { border-top: 1px solid var(--ink); }

.dossier-meta div {
  min-height: 41px;
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.dossier-meta dt,
.dossier-meta dd {
  font-size: 9px;
  letter-spacing: .08em;
}

.dossier-meta dt { color: var(--muted); font-weight: 600; }
.dossier-meta dd { color: var(--ink); }
.is-live-text { color: var(--red-dark) !important; font-weight: 600; }

.evidence-fragment {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  border: 1px solid var(--ink);
  background: var(--paper-2);
}

.evidence-fragment::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--red);
  opacity: .6;
  transform: translateY(-52px);
  animation: evidence-scan 5.2s linear 1.1s infinite;
  pointer-events: none;
}

.fragment-head {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  background: var(--night);
  color: var(--night-fg);
  font-size: 9px;
  letter-spacing: .13em;
}

.fragment-head strong { font-weight: 500; }
.fragment-head > span:last-child { margin-left: auto; color: var(--night-muted); }

.fragment-row {
  min-height: 42px;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) minmax(120px, .9fr);
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 9px;
}

.fragment-row time { color: var(--muted); font-variant-numeric: tabular-nums; }
.fragment-row b { overflow: hidden; color: var(--ink-2); font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.fragment-row-suspect span, .fragment-row-suspect b { color: var(--amber); }
.fragment-row-live { border-bottom-color: var(--red); }

.trace-summary {
  min-height: 62px;
  display: grid;
  grid-template-columns: 1fr .72fr auto;
  align-items: stretch;
  background: var(--paper);
}

.trace-summary > div,
.trace-summary > p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  border-right: 1px solid var(--line);
}

.trace-summary > p {
  border-right: 0;
  color: var(--red-dark);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: .13em;
  white-space: nowrap;
}

.trace-summary div span { color: var(--muted); font-size: 7px; letter-spacing: .11em; }
.trace-summary strong { color: var(--ink-2); font-size: 8px; font-weight: 500; letter-spacing: .08em; }
.trace-summary .signal-square { width: 6px; height: 6px; flex-basis: 6px; animation: observer-blink 2.2s steps(1, end) infinite; }

.evidence-sequence {
  width: calc(100% - clamp(40px, 8vw, 116px));
  margin: 0 auto;
  padding: 18px 0 34px;
  border-bottom: 2px solid var(--ink);
}

.sequence-heading {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 42px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.sequence-heading h2 {
  color: var(--ink);
  font-size: 14px;
  letter-spacing: .1em;
}

.sequence-heading p { color: var(--muted); font-size: 9px; letter-spacing: .11em; }

.phase-readout {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
  font-variant-numeric: tabular-nums;
}

.phase-readout span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  background: var(--red);
  animation: observer-blink 1.8s steps(1, end) infinite;
}

.phase-readout output { min-width: 62px; color: var(--red-dark); font-weight: 700; }

.phase-track-shell {
  --phase-position: 0;
  position: relative;
}

.phase-list {
  --phase-position: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 0;
  padding: 44px 0 2px;
  list-style: none;
}

.phase-list::before,
.phase-list::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 8.333%;
}

.phase-list::before {
  right: 8.333%;
  height: 1px;
  background: var(--line);
}

.phase-list::after {
  z-index: 1;
  width: calc(83.334% * var(--phase-position) / 5);
  height: 3px;
  transform: translateY(-1px);
  background: var(--red);
  transition: width 620ms cubic-bezier(.22, 1, .36, 1);
}

.phase-sweep {
  position: absolute;
  z-index: 4;
  top: 15px;
  left: 8.333%;
  width: 18px;
  height: 7px;
  border: 1px solid var(--red);
  background: var(--paper);
  opacity: 0;
  pointer-events: none;
  animation: track-sweep 4.4s cubic-bezier(.4, 0, .2, 1) infinite;
}

.phase-list li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--muted);
}

.phase-list li::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -30px;
  left: 50%;
  width: 7px;
  height: 7px;
  transform: translateX(-50%);
  border: 1px solid var(--muted-2);
  background: var(--paper);
  transition: width 220ms ease, height 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.phase-list li::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -34px;
  left: 50%;
  width: 15px;
  height: 15px;
  transform: translateX(-50%) scale(.6);
  border: 1px solid var(--red);
  opacity: 0;
}

.phase-list span { color: var(--muted-2); font-size: 8px; }
.phase-list b { font-size: clamp(9px, .95vw, 13px); letter-spacing: .06em; }

.phase-list li {
  transition: color 220ms ease, opacity 220ms ease;
}

.phase-list li.is-past { opacity: .72; }
.phase-list li.is-past::before { border-color: var(--red-dark); background: var(--red-dark); }
.phase-list li.is-observed { color: var(--ink); }
.phase-list li.is-observed::before {
  width: 9px;
  height: 9px;
  top: -31px;
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 14%, transparent);
}
.phase-list li.is-observed::after { opacity: .8; animation: phase-pulse 1.45s ease-out infinite; }
.phase-list li.is-observed span,
.phase-list li.is-observed b { color: var(--red-dark); }

.research-section,
.measure-section,
.levels-section,
.responsible-section {
  display: grid;
  grid-template-columns: minmax(210px, .25fr) minmax(0, 1fr);
}

.research-section,
.measure-section,
.responsible-section { border-bottom: 1px solid var(--line); }

.section-marker {
  padding: 74px clamp(24px, 4vw, 58px);
  border-right: 1px solid var(--line);
}

.section-marker span {
  color: var(--red-dark);
  font-size: 9px;
  letter-spacing: .18em;
}

.section-marker p {
  max-width: 175px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .1em;
}

.research-intro,
.measure-body,
.levels-body,
.responsible-body {
  padding: clamp(72px, 8vw, 128px) clamp(28px, 7vw, 112px);
}

.research-intro {
  display: grid;
  grid-template-columns: .62fr 1.38fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
  padding-top: clamp(54px, 5vw, 72px);
  padding-bottom: clamp(58px, 5vw, 76px);
}

.research-intro h2,
.section-heading h2,
.proof-intro h2,
.responsible-body h2 {
  color: var(--ink);
  font-size: clamp(34px, 4.3vw, 68px);
  line-height: 1.04;
  letter-spacing: -.055em;
}

.intro-copy {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 0;
  padding: 0 0 0 clamp(24px, 4vw, 58px);
  border-left: 1px solid var(--line);
}

.intro-copy p {
  max-width: 520px;
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.85;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 54px;
}

.section-heading > p {
  max-width: 360px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}

.question-list { border-top: 2px solid var(--ink); }

.question-list article {
  display: grid;
  grid-template-columns: 52px minmax(180px, .8fr) minmax(0, 1.2fr);
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.question-list span { color: var(--red-dark); font-size: 9px; }
.question-list h3 { color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.question-list p { max-width: 570px; color: var(--ink-3); font-size: 11px; line-height: 1.75; }

.levels-section { background: var(--night); color: var(--night-fg); }
.section-marker-dark { border-color: var(--line-dark); }
.section-marker-dark p { color: var(--night-muted); }

.section-heading-dark h2 { color: var(--night-fg); }
.section-heading-dark > p { color: var(--night-muted); }

.level-table { border-top: 1px solid var(--line-dark); }

.level-row {
  min-height: 76px;
  display: grid;
  grid-template-columns: .35fr .9fr 1.3fr .55fr;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
}

.level-row b { color: var(--red); font-size: 11px; }
.level-row strong { color: var(--night-fg); font-size: 11px; font-weight: 500; letter-spacing: .08em; }
.level-row span { color: var(--night-muted); font-size: 10px; }
.level-row em { color: var(--night-muted); font-size: 9px; font-style: normal; letter-spacing: .1em; }

.level-header { min-height: 40px; }
.level-header span { color: #5b6267; font-size: 8px; letter-spacing: .14em; }
.proof-section {
  padding: clamp(76px, 7vw, 112px) clamp(28px, 8vw, 116px) clamp(84px, 8vw, 128px);
  border-bottom: 1px solid var(--line);
}

.causal-proof-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 44px;
}

.causal-proof-head > span { height: 2px; background: var(--ink); }

.causal-proof-layout {
  display: grid;
  grid-template-columns: minmax(285px, .36fr) minmax(0, 1fr);
  gap: clamp(36px, 4vw, 64px);
  margin-top: clamp(48px, 5vw, 76px);
}

.proof-intro {
  padding-right: clamp(28px, 4vw, 58px);
  border-right: 1px solid var(--ink);
}

.proof-intro h2 { margin: 0 0 30px; }
.proof-intro > p:last-child { max-width: 460px; color: var(--ink-3); font-size: 12px; line-height: 1.85; }

.causal-chain-wrap { min-width: 0; }
.causal-chain-stage { position: relative; }

.causal-chain {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.causal-chain::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 101px;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
}

.causal-proof.is-active .causal-chain::before { animation: causal-line-in 1.45s cubic-bezier(.22, 1, .36, 1) .15s forwards; }

.causal-step {
  position: relative;
  z-index: 1;
  min-width: 0;
  opacity: 0;
  transform: translateY(14px);
}

.causal-proof.is-active .causal-step {
  animation: causal-step-in 480ms ease-out .24s forwards;
}

.causal-proof.is-active .causal-step:nth-child(2) { animation-delay: .42s; }
.causal-proof.is-active .causal-step:nth-child(3) { animation-delay: .6s; }
.causal-proof.is-active .causal-step:nth-child(4) { animation-delay: .78s; }

.causal-step h3 {
  width: max-content;
  max-width: 100%;
  padding: 9px 12px 8px;
  background: var(--night);
  color: var(--night-fg);
  font-size: clamp(9px, .78vw, 12px);
  font-weight: 500;
  letter-spacing: .045em;
  white-space: nowrap;
}

.causal-event {
  position: relative;
  min-height: 108px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  padding: 20px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.causal-event::before,
.causal-event::after {
  content: "";
  position: absolute;
  top: 50%;
  height: 7px;
  background: var(--red);
  transform: translateY(-50%);
}

.causal-event::before { left: -7px; width: 7px; }
.causal-event::after { right: -7px; width: 7px; }
.causal-step:first-child .causal-event::before,
.causal-step:last-child .causal-event::after { display: none; }

.causal-event time {
  color: var(--muted);
  font-size: 7px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .08em;
}

.causal-event strong {
  overflow: hidden;
  color: var(--ink);
  font-size: clamp(9px, .8vw, 12px);
  font-weight: 500;
  letter-spacing: .02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.evidence-snippet {
  min-height: 108px;
  margin-top: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.evidence-snippet code {
  display: block;
  padding: 6px 10px;
  overflow: hidden;
  background: var(--night);
  color: var(--night-fg);
  font-family: inherit;
  font-size: clamp(8px, .72vw, 11px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.evidence-snippet p {
  padding: 13px 10px 14px;
  color: var(--ink-2);
  font-size: clamp(8px, .77vw, 11px);
  line-height: 1.45;
}

.evidence-snippet-command p {
  font-weight: 500;
  clip-path: inset(0 100% 0 0);
  white-space: nowrap;
}

.causal-proof.is-active .evidence-snippet-command p {
  animation: causal-type 1s steps(22, end) 1.05s forwards;
}

.causal-note {
  margin-top: 13px;
  color: var(--amber);
  font-size: clamp(7px, .65vw, 9px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .1em;
}

.causal-step-final .causal-event strong,
.causal-step-final .causal-note { color: var(--red-dark); }

.causal-proof.is-active .causal-step h3 { animation: causal-label-lock 6.4s steps(1, end) 1.8s infinite; }
.causal-proof.is-active .causal-step .causal-event { animation: causal-event-lock 6.4s steps(1, end) 1.8s infinite; }

.causal-proof.is-active .causal-step .causal-event strong {
  animation: causal-code-lock 6.4s steps(1, end) 1.8s infinite;
}

.causal-proof.is-active .causal-step-final .causal-event strong { animation-name: causal-code-lock-final; }

.causal-proof.is-active .causal-step:nth-child(2) h3,
.causal-proof.is-active .causal-step:nth-child(2) .causal-event,
.causal-proof.is-active .causal-step:nth-child(2) .causal-event strong { animation-delay: 3.05s; }

.causal-proof.is-active .causal-step:nth-child(3) h3,
.causal-proof.is-active .causal-step:nth-child(3) .causal-event,
.causal-proof.is-active .causal-step:nth-child(3) .causal-event strong { animation-delay: 4.3s; }

.causal-proof.is-active .causal-step:nth-child(4) h3,
.causal-proof.is-active .causal-step:nth-child(4) .causal-event,
.causal-proof.is-active .causal-step:nth-child(4) .causal-event strong { animation-delay: 5.55s; }

.causal-seal {
  width: max-content;
  max-width: 100%;
  margin: 38px auto 0;
  padding: 11px 18px;
  overflow: hidden;
  background: var(--red);
  color: var(--paper);
  font-size: clamp(10px, 1vw, 15px);
  font-weight: 600;
  letter-spacing: .16em;
  clip-path: inset(0 100% 0 0);
  white-space: nowrap;
}

.causal-seal span { margin-right: 12px; color: var(--ink); }
.causal-proof.is-active .causal-seal { animation: causal-seal-in 620ms cubic-bezier(.22, 1, .36, 1) 1.35s forwards; }

.responsible-body > p { max-width: 780px; margin-top: 34px; color: var(--ink-3); font-size: 13px; line-height: 1.85; }

.github-action {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  margin-top: 30px;
  padding: 0 26px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.github-action:hover,
.github-action:focus-visible {
  border-color: var(--red);
  background: var(--red);
  color: var(--ink);
  outline: 2px solid transparent;
}

.responsible-body dl {
  display: grid;
  grid-template-columns: 1.2fr .8fr .4fr;
  gap: 0;
  margin-top: 60px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.responsible-body dl div { min-height: 120px; padding: 22px; border-right: 1px solid var(--line); }
.responsible-body dl div:last-child { border-right: 0; }
.responsible-body dt { margin-bottom: 24px; color: var(--muted); font-size: 8px; letter-spacing: .14em; }
.responsible-body dd { color: var(--ink); font-size: 10px; line-height: 1.75; letter-spacing: .08em; }

.builder-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.builder-links a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; transition: color 160ms ease, text-decoration-color 160ms ease; }
.builder-links a:hover,
.builder-links a:focus-visible { color: var(--red-dark); text-decoration-color: var(--red); outline: 2px solid transparent; }

.site-footer {
  min-height: 172px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 30px;
  padding: 38px clamp(28px, 4vw, 58px);
  background: var(--paper-2);
}

.site-footer .identity { font-size: 14px; }
.site-footer p { color: var(--muted); font-size: 8px; line-height: 1.8; letter-spacing: .1em; }
.site-footer p:last-child { text-align: right; }
.site-footer p span { color: var(--red-dark); }

.scanlines { display: none; }

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms cubic-bezier(.16, 1, .3, 1), transform 600ms cubic-bezier(.16, 1, .3, 1);
}

[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.hero-copy[data-reveal] { opacity: 1; transform: none; transition: none; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .34; } }

@keyframes rule-acquire { to { transform: scaleX(1); } }

@keyframes masthead-boot {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes text-acquire {
  from { clip-path: inset(0 24% 0 0); opacity: .18; transform: translateX(-10px); }
  to { clip-path: inset(0 0 0 0); transform: translateX(0); }
}

@keyframes entry-snap {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes red-lock {
  0%, 94%, 100% { opacity: 1; }
  95% { opacity: .45; }
  96% { opacity: 1; }
  97% { opacity: .25; }
}

@keyframes evidence-scan {
  0% { transform: translateY(-52px); opacity: 0; }
  8% { opacity: .65; }
  78% { opacity: .65; }
  88%, 100% { transform: translateY(248px); opacity: 0; }
}

@keyframes observer-blink {
  0%, 84%, 100% { opacity: 1; }
  86%, 90% { opacity: .25; }
}

@keyframes phase-pulse {
  0% { opacity: .8; transform: translateX(-50%) scale(.55); }
  72%, 100% { opacity: 0; transform: translateX(-50%) scale(1.45); }
}

@keyframes track-sweep {
  0% { left: 8.333%; opacity: 0; }
  8% { opacity: 1; }
  86% { opacity: 1; }
  100% { left: calc(91.667% - 18px); opacity: 0; }
}

@keyframes causal-line-in {
  to { transform: scaleX(1); }
}

@keyframes causal-step-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes causal-type {
  to { clip-path: inset(0 0 0 0); }
}

@keyframes causal-seal-in {
  to { clip-path: inset(0 0 0 0); }
}

@keyframes causal-label-lock {
  0%, 16%, 100% { background: var(--night); color: var(--night-fg); box-shadow: none; }
  2%, 13% { background: var(--red); color: var(--paper); box-shadow: 0 0 0 1px var(--red); }
}

@keyframes causal-event-lock {
  0%, 16%, 100% { border-color: var(--line); box-shadow: none; }
  2%, 13% { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
}

@keyframes causal-code-lock {
  0%, 16%, 100% { color: var(--ink); }
  2%, 13% { color: var(--red-dark); }
}

@keyframes causal-code-lock-final {
  0%, 16%, 100% { color: var(--red-dark); }
  2%, 13% { color: var(--red); }
}

@media (max-width: 1480px) {
  .observer-status { display: none; }
}

@media (max-width: 1120px) {
  .observer-status { display: none; }
  .masthead-descriptor { display: none; }
  .masthead { grid-template-columns: 1fr auto; }
  .hero { grid-template-columns: 1fr; }
  .dossier { padding-left: 0; border-left: 0; }
  .sequence-heading { gap: 24px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .causal-proof-layout { grid-template-columns: 1fr; }
  .proof-intro { padding: 0 0 34px; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-intro > p:last-child { max-width: 680px; }
}

@media (max-width: 760px) {
  .masthead { width: calc(100% - 36px); min-height: 66px; }
  .identity { gap: 10px; font-size: 12px; letter-spacing: .15em; }
  .signal-square { width: 7px; height: 7px; flex-basis: 7px; }
  .event-mark { font-size: 8px; letter-spacing: .1em; }
  .hero, .evidence-sequence { width: calc(100% - 36px); }
  .hero { min-height: auto; padding: 50px 0 38px; }
  h1 { margin-top: 22px; font-size: clamp(38px, 11.2vw, 62px); }
  .thesis-strip { display: block; width: max-content; max-width: 100%; font-size: 9px; }
  .hero-summary { font-size: 12px; line-height: 1.75; }
  .primary-action { width: 100%; justify-content: center; margin-top: 24px; }
  .dossier { margin-top: 10px; }
  .dossier-meta div { grid-template-columns: 94px 1fr; }
  .fragment-head { flex-wrap: wrap; padding: 12px; }
  .fragment-head > span:last-child { width: 100%; margin-left: 19px; }
  .fragment-row { grid-template-columns: 84px minmax(0, 1fr); gap: 8px; padding: 8px 12px; }
  .fragment-row b { grid-column: 2; }
  .trace-summary { grid-template-columns: 1fr 1fr; }
  .trace-summary > p { grid-column: 1 / -1; justify-content: flex-start; border-top: 1px solid var(--line); }
  .trace-summary > div:nth-child(2) { border-right: 0; }
  .sequence-heading { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; }
  .sequence-heading > p:not(.phase-readout) { grid-column: 1 / -1; grid-row: 2; }
  .phase-readout { grid-column: 2; grid-row: 1; margin: 0; }
  .phase-readout span { display: none; }
  .phase-list { grid-template-columns: 1fr; padding: 10px 0 0 30px; }
  .phase-list::before { top: 33px; right: auto; bottom: 23px; left: 6px; width: 1px; height: auto; }
  .phase-list::after {
    top: 33px;
    left: 5px;
    width: 3px;
    height: calc((100% - 56px) * var(--phase-position) / 5);
    transform: none;
    transition: height 620ms cubic-bezier(.22, 1, .36, 1);
  }
  .phase-list li { min-height: 46px; justify-content: flex-start; }
  .phase-list li::before { top: 50%; left: -24px; transform: translate(-50%, -50%); }
  .phase-list li::after { top: 50%; left: -24px; transform: translate(-50%, -50%) scale(.6); }
  .phase-list li.is-observed::before { top: 50%; }
  .phase-list li.is-observed::after { animation-name: phase-pulse-mobile; }
  .phase-sweep {
    top: 33px;
    left: 2px;
    width: 9px;
    height: 18px;
    animation-name: track-sweep-mobile;
  }
  .research-section, .measure-section, .levels-section, .responsible-section { grid-template-columns: 1fr; }
  .section-marker { padding: 30px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .section-marker-dark { border-bottom-color: var(--line-dark); }
  .section-marker p { max-width: none; margin-top: 8px; }
  .research-intro, .measure-body, .levels-body, .responsible-body { padding: 64px 18px 72px; }
  .research-intro { display: block; }
  .research-intro h2, .section-heading h2, .proof-intro h2, .responsible-body h2 { font-size: clamp(31px, 9.3vw, 48px); }
  .intro-copy { gap: 18px; margin-top: 36px; padding: 28px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .question-list article { grid-template-columns: 34px 1fr; }
  .question-list p { grid-column: 2; }
  .level-header { display: none; }
  .level-row { grid-template-columns: 36px 1fr; gap: 8px 14px; padding: 20px 0; }
  .level-row span, .level-row em { grid-column: 2; }
  .proof-section { padding: 76px 18px; }
  .causal-proof-head { grid-template-columns: 1fr; gap: 16px; }
  .causal-proof-head > span { height: 1px; }
  .causal-proof-layout { margin-top: 42px; }
  .proof-intro h2 { font-size: clamp(31px, 9.3vw, 48px); }
  .causal-chain { grid-template-columns: 1fr; gap: 28px; }
  .causal-chain::before {
    top: 54px;
    right: auto;
    bottom: 54px;
    left: 14px;
    width: 3px;
    height: auto;
    transform: scaleY(0);
    transform-origin: top;
  }
  .causal-proof.is-active .causal-chain::before { animation-name: causal-line-in-mobile; }
  .causal-step { padding-left: 42px; }
  .causal-step h3 { font-size: 10px; }
  .causal-event { min-height: 78px; margin-top: 12px; }
  .causal-event::before {
    display: block !important;
    top: 50%;
    left: -34px;
    width: 11px;
    height: 11px;
  }
  .causal-event::after { display: none; }
  .evidence-snippet { min-height: 0; }
  .evidence-snippet code { font-size: 9px; }
  .evidence-snippet p { font-size: 10px; }
  .causal-note { font-size: 8px; }
  .causal-seal { margin-top: 42px; white-space: normal; text-align: center; }
  .responsible-body dl { grid-template-columns: 1fr; }
  .responsible-body dl div { min-height: 98px; border-right: 0; border-bottom: 1px solid var(--line); }
  .responsible-body dl div:last-child { border-bottom: 0; }
  .site-footer { grid-template-columns: 1fr; min-height: 250px; padding: 42px 18px; }
  .site-footer p:last-child { text-align: left; }
}

@media (max-width: 420px) {
  .event-mark { max-width: 106px; text-align: right; }
  .dossier-meta dd { font-size: 8px; }
  .phase-list b { font-size: 9px; }
}

@keyframes phase-pulse-mobile {
  0% { opacity: .8; transform: translate(-50%, -50%) scale(.55); }
  72%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.45); }
}

@keyframes track-sweep-mobile {
  0% { top: 33px; opacity: 0; }
  8% { opacity: 1; }
  86% { opacity: 1; }
  100% { top: calc(100% - 41px); opacity: 0; }
}

@keyframes causal-line-in-mobile {
  to { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .observer-status { opacity: .9; transform: none; }
}
