/*
  The Knee Files — one stylesheet.

  Previously this was three files loaded in sequence (site, manuscript, record),
  each one overriding the last. They are merged here in the same order, with the
  787 declarations that never survived the cascade removed.

  Type: Newsreader (Production Type, OFL) for everything read as prose. It is
  variable on two axes, and the optical-size axis is what does the real work —
  the hero and the body copy come from the same family without the headings
  looking like inflated body text. Atkinson Hyperlegible Next and its Mono
  companion (Braille Institute, OFL) carry the labels, the nav and the readouts.
  Both are self-hosted from static/fonts; nothing is fetched at runtime.
*/

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/newsreader-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/newsreader-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/newsreader-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/newsreader-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/atkinson-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/atkinson-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/atkinson-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/atkinson-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Hyperlegible Mono";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/atkinson-mono-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Hyperlegible Mono";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/atkinson-mono-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Type roles. Every font-family in this file resolves through one of these. */
  --display: "Newsreader", Charter, "Iowan Old Style", Georgia, serif;
  --text: "Newsreader", Charter, "Iowan Old Style", Georgia, serif;
  --serif: "Newsreader", Charter, "Iowan Old Style", Georgia, serif;
  --notes: "Atkinson Hyperlegible Next", "Helvetica Neue", Arial, sans-serif;
  --data: "Atkinson Hyperlegible Next", "Helvetica Neue", Arial, sans-serif;
  --mono: "Atkinson Hyperlegible Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

/* ---------- base layout, grid, motion ---------- */

:root {
  --max: 1440px;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--paper);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.mri-data-field {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  transition: opacity 280ms ease;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

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

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  transform: translateY(-200%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  transition: color 300ms ease, background-color 300ms ease, border-color 300ms ease, padding 300ms ease;
}

.site-header.is-scrolled {
  padding-top: 0.72rem;
  padding-bottom: 0.72rem;
  background: rgba(242, 240, 233, 0.9);
  color: var(--ink);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
}

.site-header.is-scrolled.is-on-dark {
  color: var(--white);
  background: rgba(5, 5, 5, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled.is-on-dark .nav-cta {
  color: var(--ink);
  background: var(--signal);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  text-transform: uppercase;
}

.site-header nav {
  display: flex;
  align-items: center;
}

.site-header nav a {
  font-size: 0.78rem;
  font-weight: 650;
  text-decoration: none;
}

.site-header nav a:not(.nav-cta) {
  opacity: 0.72;
  transition: opacity 160ms ease;
}

.site-header nav a:hover {
  opacity: 1;
}

.nav-cta {
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
}

.site-header.is-scrolled .nav-cta {
  background: var(--ink);
  color: var(--white);
}

.section-pad {
  padding: clamp(6rem, 11vw, 11rem) var(--pad);
}

.section-label {
  grid-template-columns: 2.25rem 1fr;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto clamp(4rem, 8vw, 8rem);
}

.section-label span {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--paper);
  background: var(--ink);
  border-radius: 50%;
  font-size: 0.62rem;
}

.section-label p {
  margin: 0;
}

.eyebrow,
.event-kicker {
  margin: 0;
}

.display-copy {
  margin: 0;
  font-size: clamp(3.1rem, 7.7vw, 8.8rem);
}

.hero {
  position: relative;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
}

.hero-glow {
  position: absolute;
  z-index: -3;
  top: -22vw;
  right: -18vw;
  width: 68vw;
  height: 68vw;
  background: radial-gradient(circle, rgba(215, 255, 63, 0.16), rgba(215, 255, 63, 0) 65%);
  filter: blur(6px);
}

.hero-scan {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-scan::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-copy {
  position: relative;
  min-width: 0;
}

.hero-eyebrow {
  opacity: 0;
  animation: hero-copy-arrive 900ms 250ms ease forwards;
}

.hero h1 {
  text-wrap: balance;
  opacity: 0;
  animation: hero-copy-arrive 1.2s 340ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-deck {
  margin: clamp(2rem, 4.8vh, 4rem) 0 0;
  opacity: 0;
  animation: hero-copy-arrive 1s 520ms ease forwards;
}

.hero-facts {
  position: absolute;
  display: flex;
  gap: clamp(1.2rem, 3vw, 3.6rem);
  z-index: 3;
  opacity: 0;
  animation: hero-copy-arrive 1s 800ms ease forwards;
}

.hero-facts div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.scroll-cue {
  position: absolute;
  left: var(--pad);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.scroll-line {
  position: relative;
  display: block;
  width: 4.25rem;
  height: 1px;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  animation: scroll-line 2.2s ease-in-out infinite;
}

.prologue {
  position: relative;
}

.prologue > *:not(.prologue-scan) {
  position: relative;
  z-index: 2;
}

.prologue-scan {
  position: absolute;
  top: clamp(9rem, 16vw, 16rem);
  right: -9vw;
  width: min(56vw, 760px);
  aspect-ratio: 1;
  opacity: 0.17;
  border: 1px solid rgba(10, 10, 10, 0.24);
  border-radius: 50%;
  transform: translate3d(0, var(--scan-shift, 0), 0);
  will-change: transform;
}

.prologue-scan::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  box-shadow: inset 0 0 6rem var(--paper);
}

.prologue-scan img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: contrast(1.2);
  mix-blend-mode: multiply;
}

.prologue-scan span {
  position: absolute;
  z-index: 2;
  right: 10%;
  bottom: 8%;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.prologue-grid {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
}

.prologue-text {
  max-width: 34rem;
  padding-bottom: 0.8rem;
}

.prologue-text p {
  margin: 0;
  font-family: var(--serif);
  line-height: 1.66;
}

.prologue-text p + p {
  margin-top: 1.5rem;
}

.timeline {
  position: relative;
}

.timeline > *:not(.timeline-visual) {
  position: relative;
  z-index: 2;
}

.timeline-visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
}

.timeline-visual-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.timeline-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}

.timeline-veil {
  position: absolute;
  inset: 0;
}

.timeline-visual-sticky > p {
  position: absolute;
  right: var(--pad);
  bottom: 1.5rem;
  margin: 0;
  text-align: right;
}

.timeline .section-label span {
  color: var(--ink);
  background: var(--signal);
}

.timeline-heading {
  display: grid;
  gap: clamp(3rem, 10vw, 11rem);
  max-width: var(--max);
  margin: 0 auto clamp(6rem, 12vw, 12rem);
  align-items: end;
}

.timeline-heading-note {
  max-width: 22rem;
  margin: 0 0 0.5rem;
}

.timeline-heading-note p {
  margin: 0;
}

.timeline-heading-note p:last-child {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.72rem;
  line-height: 1.6;
}

.timeline-heading-note strong {
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-line {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.story-event {
  position: relative;
  display: grid;
  gap: clamp(2rem, 5vw, 6rem);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  align-items: center;
}

.story-event::after {
  content: "";
  position: absolute;
  z-index: -1;
}

.story-event:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.story-date {
  display: flex;
  flex-direction: column;
}

.story-date span {
  place-items: center;
}

.story-date time {
  text-transform: uppercase;
}

.story-event-copy {
  max-width: 48rem;
}

.story-event-copy > p:last-child {
  max-width: 38rem;
  margin: 0;
  font-family: var(--serif);
}

.story-event-copy > p:last-child a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.story-event-copy > p:last-child a:hover,
.story-event-copy > p:last-child a:focus-visible {
  text-decoration-color: var(--signal);
}

.event-kicker {
  color: var(--coral);
}

.event-stat {
  align-self: end;
  justify-self: end;
}

.essay-bridge {
  position: relative;
  display: grid;
  gap: clamp(2rem, 7vw, 8rem);
  overflow: clip;
}

.essay-bridge > *:not(.essay-scan) {
  position: relative;
  z-index: 2;
}

.essay-scan {
  position: absolute;
  top: 50%;
  right: -8vw;
  width: min(65vw, 920px);
  aspect-ratio: 1;
  opacity: 0.42;
  border-radius: 50%;
  transform: translate3d(0, calc(-50% + var(--scan-shift, 0)), 0);
  will-change: transform;
}

.essay-scan::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 9rem 3rem var(--ink);
  background: linear-gradient(90deg, var(--ink) 0%, transparent 65%);
}

.essay-scan img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: contrast(1.15);
}

.essay-mark {
  max-width: 14rem;
  margin: 0 auto;
  font-size: clamp(10rem, 23vw, 25rem);
  line-height: 0.72;
}

.essay-copy {
  max-width: 70rem;
  margin-right: auto;
}

.essay-lede {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
}

.essay-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 6rem);
  margin-top: clamp(4rem, 8vw, 8rem);
}

.essay-columns p {
  margin: 0;
  font-family: var(--serif);
  line-height: 1.7;
}

.scan-scroll {
  position: relative;
}

.scan-sticky {
  top: 0;
  height: 100svh;
  overflow: hidden;
}

.scan-stage {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
  padding: clamp(5.25rem, 10vh, 7.5rem) var(--pad) clamp(1.5rem, 4vh, 3rem);
}

.scan-stage-head {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto clamp(1.5rem, 4vh, 3rem);
}

.scan-stage-head .eyebrow {
  margin-bottom: 0.65rem;
}

.scan-stage-head h2 {
  margin: 0;
  line-height: 0.95;
}

.scan-counter {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 0.15rem;
  margin: 0;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scan-counter strong {
  font-size: 0.9rem;
}

.scan-workspace {
  grid-template-columns: minmax(0, 1.55fr) minmax(20rem, 0.52fr);
  gap: clamp(1.5rem, 3vw, 3.5rem);
  width: 100%;
  min-height: 0;
  margin: 0 auto;
}

.scan-viewport {
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
  cursor: ns-resize;
  touch-action: pan-y;
  user-select: none;
}

.scan-viewport::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scan-viewport img {
  transition: opacity 80ms linear, transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.scan-color-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.scan-crosshair {
  position: absolute;
  pointer-events: none;
}

.scan-crosshair-x {
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
}

.scan-crosshair-y {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.orientation {
  position: absolute;
  display: grid;
  place-items: center;
  width: auto;
  min-width: 2.5rem;
  height: 1.5rem;
  padding: 0 0.45rem;
  border: 1px solid rgba(215, 255, 63, 0.45);
  font-size: 0.62rem;
  font-weight: 760;
}

.orientation-top {
  top: 0.9rem;
  left: 50%;
  transform: translateX(-50%);
}

.orientation-left {
  top: 50%;
  left: 0.9rem;
  transform: translateY(-50%);
}

.scan-instruction {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.62rem;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: opacity 250ms ease;
}

.scan-viewport.is-interacted .scan-instruction {
  opacity: 0;
}

.scan-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.plane-tabs {
  display: flex;
  gap: 0.45rem;
}

.plane-tabs button {
  background: transparent;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 680;
}

.scan-note {
  transition: opacity 180ms ease, transform 180ms ease;
}

.scan-note.is-changing {
  opacity: 0;
  transform: translateY(0.5rem);
}

.scan-note h3 {
  margin: 0.75rem 0 1.25rem;
}

.scan-note > p:last-child {
  margin: 0;
  font-size: clamp(0.86rem, 1vw, 1rem);
}

.scan-finding {
  flex-shrink: 0;
  min-height: 7.4rem;
  margin-top: clamp(1.2rem, 2.4vh, 2rem);
  padding: 1rem 1.1rem;
  border: 1px solid rgba(215, 255, 63, 0.22);
  transition: border-color 220ms ease, background-color 220ms ease;
}

.scan-finding p,
.scan-finding strong,
.scan-finding span {
  display: block;
}

.scan-finding p {
  margin: 0 0 0.35rem;
  font-size: 0.6rem;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.scan-finding strong {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  font-weight: 400;
}

.scan-finding span {
  margin-top: 0.3rem;
  font-size: 0.72rem;
  line-height: 1.4;
}

.highlight-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  align-self: start;
  margin-top: 0.75rem;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.66rem;
}

.highlight-toggle > i {
  width: 0.58rem;
  height: 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: transparent;
  font-style: normal;
}

.slice-control {
  display: block;
  margin-top: clamp(1.5rem, 4vh, 3rem);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slice-control span {
  display: block;
  margin-bottom: 0.7rem;
}

.slice-control input {
  width: 100%;
  height: 2px;
  margin: 0;
  cursor: ew-resize;
}

.scan-caveat {
  margin: clamp(1.5rem, 3vh, 2.5rem) 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.7rem;
  line-height: 1.45;
}

.findings {
  position: relative;
}

.findings > *:not(.findings-film) {
  position: relative;
  z-index: 2;
}

.findings-film {
  position: absolute;
  top: 5rem;
  right: -7vw;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  width: min(61vw, 850px);
  height: 42rem;
  opacity: 0.13;
  transform: rotate(4deg);
  -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 92%);
  mask-image: linear-gradient(180deg, black 0%, transparent 92%);
}

.findings-film img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.28);
  filter: contrast(1.25);
}

.findings .section-label span {
  color: var(--ink);
  background: var(--signal);
}

.findings-grid {
  display: grid;
  gap: clamp(4rem, 10vw, 11rem);
  max-width: var(--max);
  margin: 0 auto;
}

.findings-heading {
  position: sticky;
  top: 8rem;
  align-self: start;
}

.findings-heading .eyebrow {
  margin-bottom: 2rem;
}

.findings-heading > p:last-child {
  max-width: 35rem;
  margin: 2rem 0 0;
}

.finding {
  padding: clamp(2rem, 4vw, 4rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.finding:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.finding > span {
  font-size: 0.7rem;
  font-weight: 760;
}

.finding h3 {
  margin: 3rem 0 1.2rem;
  line-height: 0.98;
}

.finding p {
  max-width: 31rem;
  margin: 0;
  font-size: 1rem;
}

.guide {
  position: relative;
  overflow: clip;
}

.guide > *:not(.guide-scan-orb) {
  position: relative;
  z-index: 2;
}

.guide-scan-orb {
  position: absolute;
  z-index: 1;
  top: clamp(8rem, 12vw, 13rem);
  right: -11vw;
  width: min(55vw, 780px);
  aspect-ratio: 1;
  border: 1px solid rgba(10, 10, 10, 0.28);
  border-radius: 50%;
  opacity: 0.3;
  transform: translate3d(0, var(--scan-shift, 0), 0);
  will-change: transform;
}

.guide-scan-orb::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2vw solid rgba(215, 255, 63, 0.55);
  border-radius: 50%;
  box-shadow: inset 0 0 7rem var(--signal);
}

.guide-scan-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: contrast(1.4);
  mix-blend-mode: multiply;
}

.guide-scan-orb span {
  position: absolute;
  z-index: 2;
  inset: 50% -8% auto;
  height: 1px;
  background: rgba(10, 10, 10, 0.5);
}

.guide-label span {
  color: var(--signal);
}

.guide-heading {
  max-width: var(--max);
  margin: 0 auto;
}

.guide-heading .eyebrow {
  margin-bottom: 1.5rem;
}

.guide-intro {
  max-width: 40rem;
  margin: 2rem 0 0 auto;
  font-family: var(--serif);
  line-height: 1.6;
}

.system-thesis {
  display: grid;
  gap: clamp(4rem, 9vw, 10rem);
  max-width: var(--max);
  margin: clamp(7rem, 13vw, 13rem) auto 0;
  padding-top: clamp(3rem, 6vw, 6rem);
  border-top: 1px solid rgba(10, 10, 10, 0.28);
}

.system-thesis-copy .eyebrow {
  margin-bottom: 1.6rem;
}

.system-thesis-copy h3 {
  max-width: 17ch;
  margin: 0 0 clamp(2.5rem, 5vw, 5rem);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.98;
}

.system-thesis-copy > p:not(.eyebrow) {
  max-width: 41rem;
  margin: 0;
  font-family: var(--serif);
  line-height: 1.68;
}

.system-thesis-copy > p + p {
  margin-top: 1.4rem;
}

.law-hinge {
  align-self: center;
}

.law-card > span {
  font-size: 0.63rem;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.law-card h4 {
  margin: 1.2rem 0 0.75rem;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.law-card p {
  margin: 0;
  font-size: 0.86rem;
}

.law-card a {
  display: inline-block;
  margin-top: 1.6rem;
  font-size: 0.68rem;
  font-weight: 680;
}

.law-hinge-mark {
  position: relative;
}

.law-hinge-mark::before {
  content: "and";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  font-family: var(--serif);
  font-size: 0.8rem;
  transform: translate(-50%, -50%);
}

.law-hinge-mark span {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
}

.legal-battle {
  position: relative;
  max-width: var(--max);
  margin: clamp(7rem, 13vw, 13rem) auto 0;
  overflow: hidden;
}

.legal-battle::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background-size: 5px 5px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 52%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 52%, transparent);
  pointer-events: none;
}

.legal-battle-scan {
  position: absolute;
  z-index: 0;
  inset: -7% -4%;
  width: 108%;
  height: 114%;
  object-fit: cover;
  transform: translate3d(0, var(--scan-shift, 0), 0) scale(1.04);
  will-change: transform;
}

.legal-battle-veil {
  position: absolute;
  z-index: 1;
  inset: 0;
}

.legal-battle-content {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 6vw, 6rem);
}

.legal-battle-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(19rem, 0.58fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: start;
}

.legal-battle-heading .eyebrow {
  margin-bottom: 1.5rem;
}

.legal-battle-heading h3 {
  max-width: 16ch;
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.94;
}

.legal-battle-intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.65;
}

.legal-battle-intro p + p {
  margin-top: 1.25rem;
}

.legal-battle a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.nature-quote {
  margin: clamp(5rem, 9vw, 9rem) 0;
  padding: clamp(2rem, 4vw, 4rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
}

.nature-quote p {
  margin: 0;
  font-weight: 400;
  line-height: 0.9;
}

.nature-quote footer {
  margin-top: 1.5rem;
  font-size: 0.7rem;
}

.counterfactual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.counterfactual-grid section {
  padding: clamp(2rem, 4vw, 4rem);
}

.counterfactual-grid span,
.legal-battle-law span {
  font-size: 0.65rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.counterfactual-grid h4 {
  max-width: 14ch;
  margin: clamp(4rem, 7vw, 7rem) 0 1.5rem;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.counterfactual-grid p {
  max-width: 35rem;
  margin: 0;
  line-height: 1.65;
}

.legal-battle-law {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 7vw, 8rem);
  margin-top: clamp(5rem, 9vw, 9rem);
}

.legal-battle-law > div {
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.legal-battle-law p {
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.65;
}

.legal-battle-coda {
  max-width: 48rem;
  margin: clamp(5rem, 9vw, 9rem) 0 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
  line-height: 1.7;
}

.guide-shell {
  display: grid;
  grid-template-columns: minmax(15rem, 0.42fr) minmax(0, 1fr);
  max-width: var(--max);
  min-height: 42rem;
  margin: clamp(5rem, 10vw, 10rem) auto 0;
  overflow: hidden;
}

.guide-tabs {
  display: flex;
  flex-direction: column;
}

.guide-tabs button {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.25rem 1rem;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  cursor: pointer;
  font-size: 0.86rem;
  transition: color 180ms ease, padding-left 180ms ease;
}

.guide-tabs button span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  font-size: 0.58rem;
}

.guide-tabs button[aria-selected="true"] {
  padding-left: 1.5rem;
}

.guide-panels {
  min-width: 0;
}

.guide-panel {
  display: grid;
  gap: clamp(2rem, 5vw, 6rem);
  padding: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.guide-panel[hidden] {
  display: none;
}

.guide-panel-number {
  align-self: start;
  font-size: clamp(6rem, 11vw, 12rem);
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.guide-panel .event-kicker {
  color: var(--coral);
}

.guide-panel h3 {
  max-width: 15ch;
  margin: 1rem 0 1.6rem;
  line-height: 0.92;
}

.guide-panel > div:last-child > p:not(.event-kicker) {
  max-width: 45rem;
  margin: 0;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
}

.guide-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2.5rem;
}

.guide-actions a,
.guide-actions button,
.guide-actions span {
  padding: 0.7rem 1rem;
  font-size: 0.72rem;
  font-weight: 680;
}

.guide-actions a,
.guide-actions button {
  border: 1px solid var(--ink);
  text-decoration: none;
  cursor: pointer;
}

.guide-actions span {
  border: 1px solid rgba(0, 0, 0, 0.18);
}

.toolkit-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(15rem, 0.38fr);
  gap: clamp(3rem, 8vw, 9rem);
  max-width: var(--max);
  margin: 0 auto;
  align-items: end;
}

.toolkit-heading .display-copy {
  max-width: 12ch;
}

.toolkit-heading > p {
  margin: 0 0 0.6rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.case-file {
  position: relative;
  display: grid;
  grid-template-columns: minmax(15rem, 0.45fr) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 9rem);
  max-width: var(--max);
  margin: clamp(6rem, 12vw, 12rem) auto 0;
  padding: clamp(2rem, 5vw, 5rem);
}

.case-file > *:not(.case-file-scan) {
  position: relative;
  z-index: 2;
}

.case-file-scan {
  position: absolute;
  top: -12%;
  left: 9%;
  width: min(28vw, 390px);
  aspect-ratio: 1;
  overflow: hidden;
  opacity: 0.12;
  border-radius: 50%;
  transform: rotate(-8deg);
}

.case-file-scan img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.35);
  mix-blend-mode: multiply;
}

.case-file-intro .eyebrow {
  color: var(--coral);
}

.case-file-intro h3 {
  margin: 1.2rem 0 1rem;
  line-height: 0.95;
}

.case-file-intro > p:last-child {
  color: var(--muted);
}

.file-stack details {
  border-top: 1px solid var(--line);
}

.file-stack details:last-child {
  border-bottom: 1px solid var(--line);
}

.file-stack summary {
  display: grid;
  grid-template-columns: 2rem 1fr 1.5rem;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  list-style: none;
}

.file-stack summary::-webkit-details-marker {
  display: none;
}

.file-stack summary span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 0.56rem;
}

.file-stack summary i {
  font-style: normal;
  transition: transform 220ms ease;
}

.file-stack details[open] summary i {
  transform: rotate(90deg);
}

.file-stack details > p {
  max-width: 42rem;
  margin: -0.3rem 0 0;
  padding: 0 3rem 1.8rem;
  color: var(--muted);
}

.record-request {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--max);
  margin: clamp(2rem, 4vw, 4rem) auto 0;
  padding: clamp(2rem, 4vw, 4rem);
}

.record-request .eyebrow {
  margin-bottom: 0.7rem;
}

.record-request h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.5rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.record-request p:last-child {
  max-width: 42rem;
  margin: 1rem 0 0;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex: 0 0 auto;
  min-height: 3.3rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--signal);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 720;
  transition: background-color 160ms ease, transform 160ms ease;
}

.primary-button:hover {
  transform: translateY(-2px);
}

.resources-heading {
  max-width: var(--max);
  margin: 0 auto clamp(5rem, 9vw, 9rem);
}

.resources-heading .display-copy {
  max-width: 10ch;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.resource-card {
  position: relative;
  padding: clamp(2rem, 4vw, 4rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: color 230ms ease, background-color 230ms ease;
}

.resource-card > span {
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.resource-card h3 {
  max-width: 14ch;
  margin: clamp(3rem, 8vw, 6rem) 0 1.2rem;
  font-size: clamp(2rem, 3.5vw, 4rem);
  line-height: 0.98;
}

.resource-card p {
  max-width: 31rem;
  margin: 0;
  color: var(--muted);
}

.resource-card:hover p {
  color: rgba(255, 255, 255, 0.5);
}

.resource-card i {
  position: absolute;
  top: clamp(2rem, 4vw, 4rem);
  right: clamp(2rem, 4vw, 4rem);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-style: normal;
}

.closing {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.closing > *:not(.closing-orbit) {
  position: relative;
  z-index: 2;
  max-width: var(--max);
}

.closing .eyebrow {
  margin-bottom: 2rem;
}

.closing h2 {
  max-width: 13ch;
  margin: 0;
}

.closing-copy {
  max-width: 42rem !important;
  margin: clamp(2rem, 5vw, 4rem) 0 0;
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.55vw, 1.35rem);
  line-height: 1.65;
}

.closing-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: clamp(2rem, 5vw, 4rem);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.closing-orbit {
  position: absolute;
  top: 50%;
  aspect-ratio: 1;
  transform: translateY(-50%);
  overflow: hidden;
}

.closing-orbit > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.closing-orbit::before,
.closing-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(215, 255, 63, 0.15);
  border-radius: 50%;
}

.closing-orbit::before {
  inset: 14%;
}

.closing-orbit::after {
  inset: 30%;
}

.closing-orbit span {
  position: absolute;
  top: calc(50% - 0.45rem);
  left: -0.45rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  animation: orbit-pulse 6s linear infinite;
  transform-origin: calc(26vw + 0.45rem) center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem var(--pad);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer p {
  margin: 0;
}

.letter-dialog {
  width: min(56rem, calc(100vw - 2rem));
  max-height: calc(100svh - 2rem);
  padding: 0;
  overflow: auto;
  box-shadow: 0 2rem 8rem rgba(0, 0, 0, 0.6);
}

.letter-dialog::backdrop {
  background: rgba(0, 0, 0, 0.75);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.dialog-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
}

.dialog-head .eyebrow {
  margin-bottom: 0.5rem;
  color: var(--coral);
}

.dialog-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.dialog-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--white);
  background: var(--ink);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
}

.letter-dialog pre {
  margin: 0;
  padding: 2rem;
  overflow: visible;
  white-space: pre-wrap;
  font-family: var(--mono);
  font-size: 0.83rem;
  line-height: 1.7;
}

.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 2rem 2rem;
  border-top: 1px solid var(--line);
}

.dialog-actions p {
  max-width: 28rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.copy-toast {
  position: fixed;
  z-index: 1000;
  right: 1.25rem;
  bottom: 1.25rem;
  padding: 0.75rem 1rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.25);
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal {
  opacity: 0;
  transform: translateY(2.25rem);
  transition: opacity 700ms ease, transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-copy-arrive {
  from { opacity: 0; transform: translateY(2rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-scan-arrive {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 0.86; transform: scale(1); }
}

@keyframes scroll-line {
  0% { transform: translateX(-100%); }
  50%, 100% { transform: translateX(100%); }
}

@keyframes orbit-pulse {
  to { transform: rotate(360deg); }
}

@media (max-width: 1040px) {
  .system-thesis {
    grid-template-columns: 1fr;
  }

  .law-hinge {
    width: min(100%, 46rem);
    margin-left: auto;
  }

  .legal-battle-heading {
    grid-template-columns: 1fr;
  }

  .legal-battle-intro {
    max-width: 44rem;
    margin-left: auto;
  }

  .hero-copy {
    max-width: 90%;
  }

  .prologue-grid,
  .timeline-heading,
  .toolkit-heading {
    grid-template-columns: 1fr;
  }

  .prologue-text {
    margin-left: 25%;
  }

  .story-event {
    grid-template-columns: 10rem minmax(0, 1fr);
  }

  .event-stat {
    position: absolute;
    right: 0;
    bottom: 2.2rem;
  }

  .scan-workspace {
    grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.5fr);
  }

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

  .findings-heading {
    position: static;
  }

  .finding {
    min-height: 19rem;
  }

  .guide-shell {
    grid-template-columns: 13rem 1fr;
  }

  .guide-panel {
    grid-template-columns: 1fr;
  }

  .guide-panel-number {
    display: none;
  }

  .case-file {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 1040px) {
  .scan-scroll {
    height: 390vh;
  }

  .scan-stage {
    grid-template-rows: auto minmax(0, 1fr);
  }

  .scan-stage-head {
    align-items: start;
    margin-bottom: 0;
    padding: 0 var(--pad) 1rem;
  }

  .scan-stage-head .eyebrow {
    margin-bottom: 0.4rem;
  }

  .scan-stage-head h2 {
    max-width: 12ch;
    font-size: 2.05rem;
  }

  .scan-counter {
    display: none;
  }

  .scan-workspace {
    min-height: 0;
  }

  .scan-viewport {
    position: absolute;
    inset: 0;
    border-width: 1px 0 0;
    border-radius: 0;
  }

  .scan-viewport img {
    object-fit: cover;
  }

  .scan-viewport::before {
    z-index: 3;
    box-shadow:
      inset 0 4rem 5rem rgba(0, 0, 0, 0.38),
      inset 0 -14rem 10rem rgba(0, 0, 0, 0.78);
  }

  .scan-instruction,
  .scan-crosshair {
    display: none;
  }

  .scan-details {
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: end;
    pointer-events: none;
  }

  .plane-tabs {
    align-self: start;
    margin: 0 0 auto;
    padding: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    pointer-events: auto;
  }

  .plane-tabs button {
    padding: 0.48rem 0.68rem;
    border: 0;
  }

  .scan-note,
  .scan-caveat {
    display: none;
  }

  .scan-finding {
    width: 100%;
    min-height: 0;
    margin-top: 0;
    padding: 0.65rem 0.75rem;
  }

  .scan-finding strong {
    font-size: 0.92rem;
  }

  .scan-finding span {
    display: none;
  }

  .highlight-toggle {
    margin-top: 0.45rem;
    pointer-events: auto;
  }

  .slice-control {
    margin-top: 0.65rem;
    pointer-events: auto;
  }

  .slice-control span {
    display: none;
  }

}

@media (max-width: 760px) {
  .nav-cta {
    padding: 0.55rem 0.8rem;
  }

  .section-label {
    margin-bottom: 4rem;
  }

  .display-copy {
    font-size: clamp(3rem, 14vw, 5.7rem);
  }

  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 7rem;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.78) 58%, rgba(0, 0, 0, 0.94) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.12));
  }

  .hero-scan {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero-copy {
    max-width: none;
    margin-top: 8vh;
  }

  .hero h1 {
    line-height: 1.18;
    overflow-wrap: normal;
  }

  .hero-facts {
    justify-content: space-between;
    gap: 1rem;
  }

  .hero-facts div:nth-child(2) {
    display: none;
  }

  .scroll-cue {
    display: none;
  }

  .prologue-grid {
    gap: 3rem;
  }

  .prologue-scan {
    top: 15rem;
    right: -38vw;
    width: 105vw;
    opacity: 0.1;
  }

  .timeline-heading {
    margin-bottom: 5rem;
  }

  .timeline-heading-note {
    padding: 1rem;
    background: rgba(5, 5, 5, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }

  .timeline-heading-note p {
    color: rgba(255, 255, 255, 0.74);
  }

  .timeline-heading-note p:last-child {
    color: rgba(255, 255, 255, 0.58);
  }

  .timeline-heading .display-copy,
  .toolkit-heading .display-copy,
  .guide-heading .display-copy,
  .resources-heading .display-copy {
    font-size: clamp(3.2rem, 14vw, 5.8rem);
  }

  .timeline-veil {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.84) 0%, rgba(5, 5, 5, 0.38) 45%, rgba(5, 5, 5, 0.88) 100%),
      linear-gradient(90deg, rgba(5, 5, 5, 0.72), rgba(5, 5, 5, 0.22));
  }

  .timeline-visual-sticky > p {
    display: none;
  }

  .story-event::after {
    right: 20%;
  }

  .event-stat {
    position: static;
  }

  .essay-bridge {
    gap: 0;
  }

  .essay-scan {
    right: -55vw;
    width: 140vw;
    opacity: 0.28;
  }

  .findings-film {
    top: 10rem;
    right: -60vw;
    width: 150vw;
    opacity: 0.08;
  }

  .guide-intro {
    margin-left: 0;
  }

  .system-thesis {
    gap: 4rem;
    margin-top: 7rem;
  }

  .law-hinge {
    padding: 0.85rem;
  }

  .legal-battle {
    margin-top: 7rem;
    border-radius: 1.4rem;
  }

  .legal-battle-content {
    padding: 1.25rem;
  }

  .legal-battle-heading {
    gap: 2.5rem;
  }

  .legal-battle-intro {
    margin-left: 0;
  }

  .nature-quote {
    margin: 6rem 0;
  }

  .nature-quote footer {
    max-width: 24rem;
    margin-right: auto;
    margin-left: auto;
    line-height: 1.5;
  }

  .counterfactual-grid section {
    min-height: 0;
    padding: 1.5rem;
  }

  .counterfactual-grid h4 {
    margin-top: 3rem;
    font-size: 2.15rem;
  }

  .legal-battle-law {
    gap: 3rem;
    margin-top: 5rem;
  }

  .legal-battle-coda {
    margin-top: 5rem;
  }

  .guide-scan-orb {
    top: 15rem;
    right: -58vw;
    width: 140vw;
    opacity: 0.2;
  }

  .guide-shell {
    display: block;
    min-height: 0;
  }

  .guide-tabs {
    flex-direction: row;
    overflow-x: auto;
    padding: 0.8rem;
    scrollbar-width: none;
  }

  .guide-tabs::-webkit-scrollbar {
    display: none;
  }

  .guide-tabs button {
    flex: 0 0 auto;
    padding: 0.8rem;
    border-right: 1px solid rgba(255, 255, 255, 0.11);
    border-bottom: 0;
  }

  .guide-tabs button[aria-selected="true"] {
    padding-left: 0.8rem;
  }

  .guide-tabs button:not([aria-selected="true"]) {
    font-size: 0;
  }

  .guide-panel {
    min-height: 37rem;
    padding: 2rem;
  }

  .guide-panel h3 {
    font-size: clamp(2.75rem, 12vw, 4rem);
  }

  .case-file {
    padding: 1.4rem;
  }

  .case-file-scan {
    top: 2rem;
    right: -22%;
    left: auto;
    width: 80vw;
  }

  .file-stack summary {
    grid-template-columns: 2rem 1fr 1.5rem;
  }

  .file-stack details > p {
    padding-right: 0;
    padding-left: 0;
  }

  .record-request .primary-button {
    align-self: start;
  }

  .closing-orbit span {
    transform-origin: calc(50vw + 0.45rem) center;
  }

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

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

  .dialog-actions .primary-button {
    align-self: start;
  }

}

@media (max-height: 720px) and (min-width: 761px) {
  .scan-stage {
    padding-top: 4.75rem;
    padding-bottom: 1rem;
  }

  .scan-stage-head {
    margin-bottom: 1rem;
  }

  .scan-note h3 {
    font-size: 2.2rem;
  }

  .scan-note > p:last-child {
    font-size: 0.8rem;
  }

  .scan-caveat {
    display: none;
  }

}

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

  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

}


/* ---------- paper, ink and scan treatment ---------- */

html {
  color: var(--ink);
}

body.manuscript-theme::before {
  content: "";
  position: fixed;
  z-index: 30;
  inset: 0;
  opacity: 0.3;
  background:
    linear-gradient(90deg, rgba(56, 39, 20, 0.08), transparent 2.5%, transparent 97.5%, rgba(56, 39, 20, 0.08)),
    repeating-radial-gradient(circle at 32% 24%, rgba(53, 37, 18, 0.045) 0 0.7px, transparent 0.8px 5px);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.skip-link {
  color: var(--paper-light);
  background: var(--ink);
}

.site-header {
  z-index: 40;
  height: 4rem;
  padding: 0 var(--pad);
  color: var(--ink);
  background: rgba(233, 223, 198, 0.82);
  border-bottom: 1px solid rgba(58, 43, 25, 0.22);
  -webkit-backdrop-filter: blur(16px) saturate(0.75);
  backdrop-filter: blur(16px) saturate(0.75);
}

.site-header.is-scrolled,
.site-header.is-on-dark {
  color: var(--ink);
  background: rgba(233, 223, 198, 0.9);
  border-color: rgba(58, 43, 25, 0.24);
}

.wordmark > span:last-child {
  display: flex;
  align-items: baseline;
}

.nav-cta {
  padding: 0.55rem 1rem;
  color: var(--paper-light) !important;
  background: var(--ink) !important;
  border: 1px solid var(--ink) !important;
  border-radius: 0 !important;
}

main > section {
  position: relative;
  isolation: isolate;
}

main > section > *:not(.hero-glow):not(.hero-scan):not(.timeline-visual):not(.manuscript-backdrop):not(.closing-orbit) {
  z-index: 9;
}

.prologue > *:not(.manuscript-backdrop),
.toolkit > *:not(.manuscript-backdrop),
.resources > * {
  position: relative;
}

.scan-sticky {
  position: sticky;
  z-index: 9;
}

.hero {
  overflow: hidden;
  border: 0;
  border-radius: 0;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 4;
  pointer-events: none;
}

.hero::before {
  inset: 8.5rem var(--pad) auto;
  height: 1px;
}

.hero::after {
  top: 8.5rem;
  bottom: 4.5rem;
  left: clamp(1.5rem, 9vw, 9rem);
}

.hero-glow {
  display: none;
}

.hero-scan {
  inset: 0;
  transform: none;
  animation: none;
}

.hero-scan img {
  object-fit: cover;
  transform: translate3d(0, var(--scan-shift, 0), 0) scale(1.06);
  will-change: transform;
}

.hero-scan > p {
  position: absolute;
  margin: 0;
}

.scan-beam {
  z-index: 3;
  top: 54%;
  right: 5%;
  left: 45%;
  height: 1px;
  opacity: 0.58;
  background: var(--coral);
  box-shadow: none;
}

.hero-copy {
  max-width: none;
  transform: none;
  animation: none;
}

.hero h1 {
  margin: 0;
}

.hero h1 span {
  display: block;
}

.hero-annotation {
  position: absolute !important;
  z-index: 12 !important;
  max-width: 14rem;
  color: rgba(127, 59, 48, 0.82);
  font-family: var(--notes);
  font-size: clamp(0.78rem, 1vw, 0.94rem);
  line-height: 1.35;
  transform: rotate(-3deg);
}

.hero-annotation::before {
  content: "";
  position: absolute;
  top: 0.7em;
  right: calc(100% + 0.75rem);
  width: clamp(2.5rem, 6vw, 6rem);
  height: 1px;
  background: currentColor;
}

.hero-annotation span {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--notes);
  font-size: 0.52rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-annotation-one {
  top: 24%;
  right: 4.5%;
}

.hero-annotation-two {
  right: 8%;
  bottom: 21%;
  transform: rotate(2deg);
}

.hero-facts {
  left: auto;
}

.hero-facts span {
  text-transform: uppercase;
}

.manuscript-backdrop {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.manuscript-backdrop::before,
.manuscript-backdrop::after {
  content: "";
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(152, 72, 59, 0.28);
  border-radius: 50%;
}

.manuscript-backdrop::before {
  top: 22%;
  width: 20rem;
  height: 20rem;
}

.manuscript-backdrop::after {
  top: 34%;
  width: 9rem;
  height: 9rem;
}

.manuscript-backdrop img {
  position: absolute;
  object-fit: cover;
  transform: translate3d(0, var(--scan-shift, 0), 0) scale(1.05);
  will-change: transform;
}

.manuscript-backdrop span {
  position: absolute;
  z-index: 3;
}

.manuscript-backdrop-right img {
  right: -8%;
}

.manuscript-backdrop-right::before {
  right: 5%;
}

.manuscript-backdrop-right::after {
  right: 11%;
}

.manuscript-backdrop-right span {
  right: 6%;
  bottom: 7%;
}

.manuscript-backdrop-left img {
  left: -12%;
}

.manuscript-backdrop-left::before {
  left: 6%;
}

.manuscript-backdrop-left::after {
  left: 14%;
}

.manuscript-backdrop-left span {
  left: 7%;
  bottom: 8%;
}

.prologue {
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.prologue-grid {
  align-items: start;
}

.prologue-text p {
  color: rgba(41, 33, 23, 0.88);
}

.prologue-text p + p {
  color: var(--muted);
}

.timeline {
  overflow: clip;
}

.timeline-visual-sticky > p {
  font-weight: 400;
}

.timeline-heading .display-copy {
  color: var(--ink);
}

.story-event {
  color: var(--ink);
}

.story-event::after {
  inset: 0 25% 0 -100vw;
}

.story-date span {
  font-style: italic;
}

.story-event-copy h3 {
  color: var(--ink);
}

.story-event-copy > p:last-child a {
  color: inherit;
  text-decoration-color: var(--coral);
}

.event-stat {
  transform: rotate(-4deg);
}

.essay-bridge .manuscript-backdrop::before,
.essay-bridge .manuscript-backdrop::after {
  border-color: rgba(207, 179, 121, 0.22);
}

.essay-bridge .manuscript-backdrop span {
  color: rgba(233, 223, 198, 0.48);
}

.essay-mark {
  color: var(--coral);
  font-family: var(--display);
  font-style: italic;
}

.scan-scroll {
  height: 430vh;
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.scan-stage-head {
  align-items: end;
}

.scan-counter strong {
  font-family: var(--mono);
  font-weight: 400;
}

.scan-workspace {
  background: rgba(228, 215, 183, 0.58);
}

.scan-viewport {
  background: #b9aa87;
}

.scan-viewport img {
  mix-blend-mode: multiply;
}

.scan-color-overlay {
  z-index: 3;
}

.scan-crosshair {
  z-index: 4;
}

.orientation {
  z-index: 5;
  background: rgba(233, 223, 198, 0.78);
  font-family: var(--notes);
}

.scan-instruction {
  z-index: 5;
  color: var(--ink);
  background: rgba(233, 223, 198, 0.78);
  border-color: rgba(41, 33, 23, 0.3);
  font-family: var(--notes);
}

.scan-details {
  height: 100%;
}

.plane-tabs {
  margin-bottom: clamp(1rem, 2vh, 1.75rem);
}

.plane-tabs button {
  border-color: rgba(41, 33, 23, 0.28);
  font-family: var(--notes);
}

.plane-tabs button[aria-selected="true"] {
  border-color: var(--ink);
}

.scan-finding {
  border-color: rgba(152, 72, 59, 0.34);
  border-radius: 0;
  background: rgba(152, 72, 59, 0.055);
}

.scan-finding.is-active {
  border-color: rgba(152, 72, 59, 0.66);
  background: rgba(152, 72, 59, 0.08);
}

.scan-finding span {
  color: rgba(41, 33, 23, 0.58);
}

.highlight-toggle > i {
  border-color: rgba(41, 33, 23, 0.4);
}

.scan-caveat {
  color: rgba(41, 33, 23, 0.52);
  border-color: rgba(41, 33, 23, 0.2);
}

.findings {
  overflow: hidden;
}

.findings-heading .display-copy {
  color: var(--ink);
}

.finding {
  color: var(--ink);
}

.finding h3 {
  color: var(--ink);
}

.guide {
  color: var(--ink);
}

.guide-heading .display-copy {
  color: var(--ink);
}

.guide-intro {
  color: rgba(41, 33, 23, 0.72);
}

.system-thesis-copy h3 {
  color: var(--ink);
}

.system-thesis-copy > p:not(.eyebrow) {
  color: rgba(41, 33, 23, 0.76);
}

.law-hinge {
  border: 1px solid rgba(41, 33, 23, 0.36);
}

.law-card + .law-card {
  border-top: 1px solid var(--line);
}

.law-card > span {
  color: var(--coral);
}

.law-card h4 {
  color: var(--ink);
}

.law-card a {
  color: var(--coral);
}

.law-hinge-mark span {
  background: var(--line);
}

.law-hinge-mark::before {
  color: var(--paper-light);
  background: var(--coral);
  border-radius: 50%;
}

.legal-battle::after {
  opacity: 0.28;
  background-image: radial-gradient(rgba(88, 62, 32, 0.28) 0.65px, transparent 0.75px);
}

.legal-battle-heading h3 {
  color: var(--ink);
  letter-spacing: -0.048em;
}

.legal-battle-intro p,
.legal-battle-law p {
  color: rgba(41, 33, 23, 0.72);
}

.legal-battle a {
  text-decoration-color: var(--coral);
}

.nature-quote {
  transform: rotate(-1deg);
}

.nature-quote p {
  font-size: clamp(2.8rem, 6vw, 6.5rem);
  letter-spacing: -0.02em;
}

.nature-quote footer {
  color: rgba(41, 33, 23, 0.56);
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
}

.counterfactual-grid {
  gap: 0;
  background: transparent;
  border-color: rgba(41, 33, 23, 0.3);
  border-radius: 0;
}

.counterfactual-grid section {
  min-height: 23rem;
  color: var(--ink);
  background: rgba(239, 231, 211, 0.42);
}

.counterfactual-grid section + section {
  border-left: 1px solid var(--line);
}

.counterfactual-grid section:last-child {
  background: rgba(152, 72, 59, 0.045);
}

.counterfactual-grid span,
.legal-battle-law span {
  color: var(--coral);
}

.counterfactual-grid p {
  color: rgba(41, 33, 23, 0.68);
}

.legal-battle-law > div {
  border-color: var(--line);
}

.legal-battle-coda {
  color: rgba(41, 33, 23, 0.58);
  border-color: var(--line);
  font-family: var(--serif);
  font-style: italic;
}

.guide-shell {
  border-color: rgba(41, 33, 23, 0.35);
}

.guide-tabs {
  padding: 0;
  color: var(--ink);
  border-right: 1px solid var(--line);
}

.guide-tabs button {
  font-family: var(--serif);
  font-weight: 400;
}

.guide-tabs button span {
  color: var(--coral);
  border-color: rgba(152, 72, 59, 0.4);
  font-family: var(--notes);
}

.guide-tabs button[aria-selected="true"] span {
  color: var(--paper-light);
  background: var(--coral);
  border-color: var(--coral);
}

.guide-panel-number {
  color: rgba(152, 72, 59, 0.11);
  font-family: var(--notes);
  font-weight: 400;
}

.guide-panel h3 {
  color: var(--ink);
  font-size: clamp(2.5rem, 4.6vw, 5rem);
  letter-spacing: -0.045em;
}

.guide-actions a,
.guide-actions button {
  color: var(--paper-light);
  background: var(--ink);
  border-color: var(--ink);
  border-radius: 0;
}

.guide-actions span {
  color: var(--ink);
  border-color: var(--line);
  border-radius: 0;
}

.toolkit {
  overflow: hidden;
  background: rgba(237, 228, 207, 0.92);
}

.toolkit-heading .display-copy {
  color: var(--ink);
  font-size: clamp(3.1rem, 6vw, 6.6rem);
}

.case-file {
  background: rgba(218, 202, 169, 0.62);
  border: 1px solid rgba(41, 33, 23, 0.28);
  border-radius: 0;
  box-shadow: -0.75rem 0.9rem 0 rgba(67, 48, 25, 0.07);
}

.case-file-intro h3 {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.file-stack summary {
  font-family: var(--serif);
  font-weight: 400;
}

.file-stack summary span {
  color: var(--coral);
  background: transparent;
  border: 1px solid rgba(152, 72, 59, 0.48);
  font-family: var(--notes);
}

.record-request {
  color: var(--ink);
  background: rgba(240, 232, 213, 0.7);
  border: 1px solid rgba(41, 33, 23, 0.3);
  border-radius: 0;
}

.record-request .eyebrow {
  color: var(--coral);
}

.record-request h3 {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 400;
}

.record-request p:last-child {
  color: var(--muted);
}

.primary-button {
  border-color: var(--coral);
}

.primary-button:hover {
  color: var(--paper-light);
  background: var(--ink);
}

.resources {
  color: var(--ink);
  background:
    repeating-linear-gradient(0deg, transparent 0 2.95rem, rgba(73, 52, 27, 0.055) 3rem),
    var(--paper-deep);
}

.resources-heading .display-copy {
  color: var(--ink);
  font-size: clamp(3.2rem, 6vw, 6.6rem);
}

.resource-grid,
.resource-card {
  border-color: var(--line);
}

.resource-card {
  min-height: 22rem;
}

.resource-card h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.closing::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0.2;
  background: repeating-linear-gradient(0deg, transparent 0 2.95rem, rgba(234, 221, 190, 0.16) 3rem);
}

.closing .eyebrow {
  color: #cf9a79;
}

.closing h2 {
  color: var(--paper-light);
  line-height: 0.94;
}

.closing-link {
  color: #cf9a79;
  font-family: var(--notes);
}

.closing-orbit {
  right: -5vw;
  width: min(60vw, 850px);
  -webkit-mask-image: radial-gradient(ellipse, #000 20%, rgba(0, 0, 0, 0.74) 48%, transparent 74%);
  mask-image: radial-gradient(ellipse, #000 20%, rgba(0, 0, 0, 0.74) 48%, transparent 74%);
}

.closing-orbit > img {
  opacity: 0.55;
  border-radius: 0;
  filter: grayscale(1) sepia(0.7) contrast(1.28);
  mix-blend-mode: screen;
}

.closing-orbit::before,
.closing-orbit::after {
  border-color: rgba(207, 179, 121, 0.26);
}

.closing-orbit span {
  background: var(--coral);
  box-shadow: none;
}

.letter-dialog {
  border: 1px solid rgba(41, 33, 23, 0.4);
}

.dialog-head {
  background: rgba(242, 234, 214, 0.94);
}

.copy-toast {
  color: var(--paper-light);
  background: var(--coral);
  border-radius: 0;
}

@media (max-width: 1040px) {
  .hero-annotation {
    display: none;
  }

  .hero-copy {
    width: min(48rem, calc(100% - 2 * var(--pad)));
    padding-top: 10rem;
  }

  .hero h1 {
    max-width: 10ch;
  }

  .hero-facts {
    width: min(34rem, 55vw);
  }

  .scan-stage {
    padding: 4.75rem 0 0;
  }

  .scan-stage-head {
    border-bottom: 0;
  }

  .scan-workspace {
    position: relative;
    display: block;
    border-width: 1px 0 0;
  }

  .scan-details {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    padding: 1rem var(--pad) max(1rem, env(safe-area-inset-bottom));
    background: transparent;
    border: 0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .scan-viewport::before {
    background:
      linear-gradient(180deg, rgba(230, 217, 185, 0.28), transparent 34%, rgba(230, 217, 185, 0.96) 78%),
      linear-gradient(90deg, rgba(230, 217, 185, 0.2), transparent 60%);
  }

  .plane-tabs {
    background: rgba(233, 223, 198, 0.8);
    border-radius: 0;
  }

  .scan-finding {
    background: rgba(233, 223, 198, 0.84);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .guide-tabs {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

}

@media (max-width: 760px) {
  body.manuscript-theme::before {
    opacity: 0.18;
  }

  .site-header {
    height: 3.8rem;
  }

  .wordmark small {
    display: none;
  }

  .site-header nav a:not(.nav-cta) {
    display: none;
  }

  .mri-data-field {
    opacity: 0.38;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  }

  .section-pad {
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
  }

  .hero {
    min-height: 50rem;
    background: linear-gradient(180deg, rgba(235, 225, 202, 0.82), rgba(235, 225, 202, 0.97) 70%);
  }

  .hero::before {
    top: 6.7rem;
  }

  .hero::after {
    top: 6.7rem;
    bottom: 3.8rem;
    left: 1rem;
  }

  .hero-scan img {
    height: 70%;
    object-position: 63% 42%;
    opacity: 0.48;
  }

  .hero-scan::after {
    background:
      linear-gradient(180deg, rgba(233, 223, 198, 0.38), rgba(233, 223, 198, 0.55) 38%, rgba(233, 223, 198, 0.98) 73%),
      linear-gradient(90deg, rgba(233, 223, 198, 0.7), transparent 60%);
  }

  .hero-scan > p {
    display: none;
  }

  .hero-copy {
    width: calc(100% - 2 * var(--pad));
    padding: 9rem 0 14rem;
    margin-left: var(--pad);
  }

  .hero-eyebrow {
    max-width: 28ch;
    margin-bottom: 2rem;
  }

  .hero h1 {
    max-width: 9ch;
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .hero h1 span {
    max-width: 14ch;
    font-size: 0.43em;
  }

  .hero-deck {
    max-width: 28rem;
    margin-top: 2rem;
    font-size: 1rem;
  }

  .hero-facts {
    right: var(--pad);
    bottom: 4.6rem;
    left: var(--pad);
    width: auto;
  }

  .hero-facts strong {
    font-size: 1rem;
  }

  .manuscript-backdrop img {
    width: 130vw;
    opacity: 0.1;
  }

  .manuscript-backdrop-right img {
    right: -55vw;
  }

  .manuscript-backdrop-left img {
    left: -55vw;
  }

  .manuscript-backdrop::before,
  .manuscript-backdrop::after,
  .manuscript-backdrop span {
    display: none;
  }

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

  .prologue .display-copy {
    font-size: clamp(2.8rem, 12vw, 4.3rem);
  }

  .prologue-text {
    margin-left: 12%;
    padding-left: 1rem;
  }

  .timeline-heading {
    grid-template-columns: 1fr;
  }

  .timeline-heading .display-copy {
    font-size: clamp(2.8rem, 12vw, 4.6rem);
  }

  .timeline-heading-note {
    margin-left: 20%;
  }

  .story-event {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 2rem;
    padding: 6rem 0;
  }

  .story-event::after {
    inset: 0 -1rem;
    background: rgba(233, 223, 198, 0.76);
  }

  .story-date {
    flex-direction: row;
    align-items: center;
  }

  .story-event-copy h3 {
    font-size: clamp(2.5rem, 11vw, 4rem);
  }

  .event-stat {
    justify-self: start;
    transform: rotate(-3deg);
  }

  .essay-bridge {
    grid-template-columns: 1fr;
  }

  .essay-mark {
    margin: 0;
    font-size: 9rem;
  }

  .essay-lede {
    font-size: clamp(2.6rem, 11vw, 4.2rem);
  }

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

  .scan-stage-head h2 {
    font-size: 2.3rem;
  }

  .scan-viewport img {
    opacity: 0.68;
  }

  .scan-details {
    justify-content: end;
  }

  .scan-finding {
    width: min(100%, 34rem);
  }

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

  .findings-heading .display-copy {
    font-size: clamp(2.8rem, 12vw, 4.5rem);
  }

  .finding {
    min-height: 17rem;
  }

  .guide-heading .display-copy,
  .toolkit-heading .display-copy,
  .resources-heading .display-copy {
    font-size: clamp(2.9rem, 12vw, 4.6rem);
  }

  .system-thesis {
    grid-template-columns: 1fr;
  }

  .system-thesis-copy h3 {
    font-size: clamp(2.5rem, 11vw, 4.2rem);
  }

  .legal-battle {
    margin-right: calc(var(--pad) * -0.45);
    margin-left: calc(var(--pad) * -0.45);
  }

  .legal-battle-heading {
    grid-template-columns: 1fr;
  }

  .legal-battle-heading h3 {
    font-size: clamp(2.6rem, 11vw, 4.2rem);
  }

  .nature-quote p {
    font-size: clamp(2.7rem, 13vw, 4.5rem);
  }

  .counterfactual-grid,
  .legal-battle-law {
    grid-template-columns: 1fr;
  }

  .counterfactual-grid section + section {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .guide-shell {
    border-right: 0;
    border-left: 0;
  }

  .guide-tabs {
    background: rgba(98, 77, 47, 0.08);
  }

  .toolkit-heading {
    grid-template-columns: 1fr;
  }

  .case-file {
    grid-template-columns: 1fr;
  }

  .record-request {
    align-items: stretch;
    flex-direction: column;
  }

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

  .resource-card {
    min-height: 19rem;
  }

  .closing h2 {
    font-size: clamp(3rem, 13vw, 5rem);
  }

  .closing-orbit {
    right: -48vw;
    width: 130vw;
  }

}


/* ---------- the record pass: what actually ships ---------- */

/*
  A patient record, not a period costume.

  The previous visual layer deliberately exaggerated the idea of a manuscript.
  This pass keeps the page, ink, scan and red-pencil vocabulary, but removes the
  imitation handwriting, ornamental geometry and museum-label language.
*/

:root {
  --ink: #1d1b17;
  --ink-soft: #292620;
  --paper: #e8e4da;
  --paper-deep: #d8d2c5;
  --paper-light: #f3f0e9;
  --white: #f4f1e9;
  --signal: #9e3d30;
  --signal-deep: #742d25;
  --coral: #9e3d30;
  --blue: #59665f;
  --line: rgba(29, 27, 23, 0.22);
  --muted: #706b61;
}

html {
  background: #11110f;
}

body.manuscript-theme {
  color: var(--ink);
  background: var(--paper);
  font-family: var(--text);
}

body.manuscript-theme::before {
  display: none;
}

a {
  text-decoration-color: rgba(158, 61, 48, 0.65);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.site-header,
.site-header.is-scrolled,
.site-header.is-on-dark,
.site-header.is-scrolled.is-on-dark {
  height: 3.35rem;
  padding: 0 var(--pad);
  color: rgba(244, 241, 233, 0.72);
  background: rgba(14, 14, 12, 0.82);
  border-bottom: 1px solid rgba(244, 241, 233, 0.12);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.wordmark {
  gap: 0.7rem;
  font-family: var(--data);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.wordmark > span:last-child {
  gap: 0.85rem;
}

.wordmark small {
  color: rgba(244, 241, 233, 0.42);
  font-family: inherit;
  font-size: inherit;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
}

.wordmark-dot {
  width: 0.36rem;
  height: 0.36rem;
  background: #a84838;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
}

.site-header nav {
  gap: clamp(1.1rem, 2.5vw, 2.4rem);
  font-family: var(--data);
  font-size: 0.62rem;
  letter-spacing: 0;
  text-transform: none;
}

.nav-cta,
.site-header.is-scrolled .nav-cta,
.site-header.is-scrolled.is-on-dark .nav-cta {
  padding: 0;
  color: inherit !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  text-decoration: underline;
  text-decoration-color: rgba(244, 241, 233, 0.35);
  text-underline-offset: 0.28em;
}

.mri-data-field {
  z-index: 7;
  opacity: 0.3;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.16) 18%, #000 48%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.16) 18%, #000 48%, #000 92%, transparent 100%);
  mix-blend-mode: multiply;
}

.mri-data-field.is-quiet {
  opacity: 0.12;
}

.section-pad {
  padding-top: clamp(6rem, 10vw, 10rem);
  padding-bottom: clamp(6rem, 10vw, 10rem);
}

.eyebrow,
.event-kicker {
  color: var(--coral);
  font-family: var(--data);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.display-copy {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.036em;
  line-height: 1.02;
}

.section-label {
  display: flex;
  gap: 0.75rem;
  padding-top: 0.75rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-family: var(--data);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-label span,
.timeline .section-label span,
.findings .section-label span,
.guide-label span {
  display: inline;
  width: auto;
  height: auto;
  color: var(--coral);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: inherit;
}

.hero {
  min-height: max(44rem, 100svh);
  padding: 0;
  color: var(--white);
  background: #11110f;
}

.hero::before {
  top: 6.35rem;
  right: var(--pad);
  left: var(--pad);
  z-index: 5;
  background: rgba(244, 241, 233, 0.2);
}

.hero::after {
  z-index: 2;
  inset: 0;
  width: auto;
  height: auto;
  background:
    linear-gradient(90deg, rgba(12, 12, 10, 0.96) 0%, rgba(12, 12, 10, 0.82) 39%, rgba(12, 12, 10, 0.2) 72%, rgba(12, 12, 10, 0.48) 100%),
    linear-gradient(180deg, rgba(12, 12, 10, 0.34), transparent 56%, rgba(12, 12, 10, 0.8));
}

.hero-scan {
  z-index: 1;
  opacity: 1;
}

.hero-scan::after {
  background: linear-gradient(180deg, rgba(12, 12, 10, 0.08), transparent 60%, rgba(12, 12, 10, 0.5));
  box-shadow: none;
}

.hero-scan img {
  width: 100%;
  height: 110%;
  object-position: 66% 49%;
  opacity: 0.86;
  filter: grayscale(1) contrast(1.24) brightness(0.62);
  mix-blend-mode: normal;
}

.hero-scan > p {
  right: var(--pad);
  bottom: 1.5rem;
  z-index: 6;
  color: rgba(244, 241, 233, 0.46);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: none;
}

.scan-beam {
  display: none;
}

.hero-copy {
  top: auto;
  left: auto;
  z-index: 6;
  width: min(47rem, calc(100% - 2 * var(--pad)));
  padding: clamp(9rem, 16vh, 12rem) 0 11rem;
  margin-left: var(--pad);
}

.hero-eyebrow {
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
  color: #bd6a5b;
}

.hero h1 {
  max-width: 14ch;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(3rem, 5vw, 5.3rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero h1 span {
  max-width: 24ch;
  margin-top: 0.62em;
  color: rgba(244, 241, 233, 0.58);
  font-size: 0.42em;
  font-style: normal;
  letter-spacing: -0.012em;
  line-height: 1.26;
}

.hero-deck {
  max-width: 34rem;
  margin-top: clamp(2.2rem, 4vh, 3.2rem);
  color: rgba(244, 241, 233, 0.72);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.58;
}

.hero-annotation {
  display: none;
}

.hero-facts {
  right: var(--pad);
  bottom: 4.3rem;
  width: min(34rem, 42vw);
  color: var(--white);
  border-top: 1px solid rgba(244, 241, 233, 0.22);
}

.hero-facts > div {
  padding-top: 0.7rem;
}

.hero-facts strong {
  color: rgba(244, 241, 233, 0.86);
  font-family: var(--mono);
  font-size: clamp(0.86rem, 1.25vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0;
}

.hero-facts span {
  color: rgba(244, 241, 233, 0.38);
  font-family: var(--data);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
}

.scroll-cue {
  bottom: 1.7rem;
  color: rgba(244, 241, 233, 0.65);
  font-family: var(--data);
  font-size: 0.6rem;
}

.scroll-line {
  background: rgba(244, 241, 233, 0.2);
}

.scroll-line::after {
  background: #a84838;
}

.manuscript-backdrop::before,
.manuscript-backdrop::after {
  display: none;
}

.manuscript-backdrop img {
  top: -4%;
  width: min(66vw, 62rem);
  height: 112%;
  opacity: 0.16;
  filter: grayscale(1) contrast(1.3) brightness(0.9);
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent);
}

.manuscript-backdrop span {
  color: rgba(29, 27, 23, 0.38);
  font-family: var(--mono);
  font-size: 0.54rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transform: none;
}

.prologue {
  background: var(--paper);
}

.prologue-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.5fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.prologue .display-copy {
  max-width: 18ch;
  font-size: clamp(2.8rem, 4.7vw, 5.2rem);
}

.prologue-text {
  padding: 0 0 0 1.25rem;
  border-left: 1px solid rgba(158, 61, 48, 0.55);
}

.prologue-text p {
  font-size: clamp(1.04rem, 1.4vw, 1.24rem);
}

.timeline {
  color: var(--ink);
  background: var(--paper-light);
}

.timeline-visual-sticky {
  background: var(--paper-light);
}

.timeline-canvas {
  opacity: 0.66;
  filter: grayscale(1) contrast(1.2);
  mix-blend-mode: multiply;
}

.timeline-veil {
  background:
    linear-gradient(90deg, var(--paper-light) 0%, rgba(243, 240, 233, 0.95) 39%, rgba(243, 240, 233, 0.12) 76%, rgba(243, 240, 233, 0.44)),
    linear-gradient(180deg, var(--paper-light), transparent 15%, transparent 85%, var(--paper-light));
}

.timeline-visual-sticky > p {
  color: rgba(29, 27, 23, 0.42);
  font-family: var(--mono);
  font-size: 0.54rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: none;
}

.timeline .section-label,
.timeline-heading-note {
  color: var(--muted);
}

.timeline-heading {
  grid-template-columns: minmax(0, 1.15fr) minmax(15rem, 0.45fr);
  margin-bottom: clamp(4rem, 8vw, 8rem);
}

.timeline-heading .display-copy {
  max-width: 18ch;
  font-size: clamp(2.8rem, 5vw, 5.5rem);
}

.timeline-heading-note p {
  color: var(--muted);
  font-size: 0.92rem;
}

.timeline-heading-note p:last-child {
  color: rgba(29, 27, 23, 0.48);
  border-color: var(--line);
}

.timeline-heading-note strong {
  color: var(--coral);
}

.story-event {
  grid-template-columns: minmax(8rem, 0.28fr) minmax(0, 0.9fr) minmax(5rem, 0.18fr);
  min-height: 62vh;
  padding: clamp(4rem, 7vw, 7rem) 0;
  border-color: var(--line);
}

.story-event::after {
  background: linear-gradient(90deg, rgba(243, 240, 233, 0.96) 68%, rgba(243, 240, 233, 0));
}

.story-event:last-child {
  border-color: var(--line);
}

.story-date {
  gap: 0.8rem;
}

.story-date span {
  display: inline;
  width: auto;
  height: auto;
  color: var(--coral);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-family: var(--data);
  font-size: 0.58rem;
  font-weight: 600;
}

.story-date time {
  color: rgba(29, 27, 23, 0.62);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.story-event-copy h3 {
  max-width: 16ch;
  margin: 0.7rem 0 1.35rem;
  font-family: var(--display);
  font-size: clamp(2.15rem, 3.8vw, 4.1rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.01;
}

.story-event-copy > p:last-child {
  color: rgba(29, 27, 23, 0.68);
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  line-height: 1.62;
}

.story-event-copy > p:last-child a:hover,
.story-event-copy > p:last-child a:focus-visible {
  color: var(--coral);
}

.event-stat {
  color: rgba(158, 61, 48, 0.82);
  font-family: var(--mono);
  font-size: clamp(0.72rem, 1vw, 0.86rem);
  font-weight: 500;
  letter-spacing: 0;
}

.essay-bridge {
  grid-template-columns: 1fr;
  min-height: 90vh;
  color: var(--white);
  background: #11110f;
}

.essay-mark {
  display: none;
}

.essay-copy {
  width: min(74rem, 100%);
  margin: auto;
}

.essay-lede {
  max-width: 25ch;
  color: rgba(244, 241, 233, 0.92);
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  letter-spacing: -0.038em;
  line-height: 1.02;
}

.essay-columns {
  width: min(58rem, 88%);
  margin: clamp(3.5rem, 7vw, 7rem) 0 0 auto;
}

.essay-columns p {
  color: rgba(244, 241, 233, 0.58);
  font-size: clamp(1.03rem, 1.35vw, 1.18rem);
}

.essay-columns em {
  color: #cf8b7f;
}

.essay-bridge .manuscript-backdrop img {
  opacity: 0.48;
  filter: grayscale(1) contrast(1.35) brightness(0.56);
  mix-blend-mode: screen;
}

.scan-scroll {
  background: #0c0c0b;
}

.scan-stage {
  padding-top: clamp(4.5rem, 8vh, 6rem);
}

.scan-stage-head {
  z-index: 8;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(244, 241, 233, 0.16);
}

.scan-stage-head h2 {
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(2.1rem, 3.5vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.scan-stage-head .eyebrow {
  color: #bd6a5b;
}

.scan-counter {
  color: rgba(244, 241, 233, 0.46);
}

.scan-counter strong {
  color: var(--white);
}

.scan-workspace {
  position: relative;
  display: block;
  max-width: var(--max);
  overflow: hidden;
  border: 1px solid rgba(244, 241, 233, 0.15);
  border-radius: 0;
}

.scan-viewport {
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: 0;
}

.scan-viewport::before {
  z-index: 5;
  box-shadow: none;
  background: linear-gradient(90deg, rgba(5, 5, 4, 0.06) 42%, rgba(5, 5, 4, 0.72) 75%, rgba(5, 5, 4, 0.9));
}

.scan-viewport img {
  width: calc(100% - min(30rem, 38%));
  height: 100%;
  justify-self: start;
  object-fit: contain;
  object-position: center;
  opacity: 0.86;
  filter: grayscale(1) contrast(1.15);
}

.scan-color-overlay {
  mix-blend-mode: screen;
}

.scan-color-overlay.is-active {
  opacity: 1;
}

.scan-details {
  position: relative;
  z-index: 8;
  width: min(30rem, 38%);
  min-height: 100%;
  margin-left: auto;
  padding: clamp(1.4rem, 3vw, 3rem);
  color: var(--white);
  background: rgba(12, 12, 11, 0.64);
  border-left: 1px solid rgba(244, 241, 233, 0.13);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.plane-tabs button {
  padding: 0.35rem 0;
  color: rgba(244, 241, 233, 0.46);
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
}

.plane-tabs {
  background: transparent;
}

.plane-tabs button + button {
  margin-left: 1rem;
}

.plane-tabs button[aria-selected="true"] {
  color: var(--white);
  background: transparent;
  border-bottom-color: #bd6a5b;
}

.scan-note h3 {
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.35vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.scan-note > p:last-child {
  color: rgba(244, 241, 233, 0.54);
}

.scan-finding,
.scan-finding.is-active {
  padding: 0.9rem 0;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(244, 241, 233, 0.18);
  border-bottom: 1px solid rgba(244, 241, 233, 0.18);
  border-radius: 0;
}

.scan-finding p {
  color: #bd6a5b;
}

.scan-finding strong {
  color: var(--white);
}

.scan-finding span,
.scan-caveat {
  color: rgba(244, 241, 233, 0.38);
}

.highlight-toggle {
  color: rgba(244, 241, 233, 0.52);
}

.highlight-toggle[aria-pressed="true"] > i {
  background: #a84838;
  border-color: #a84838;
  box-shadow: none;
}

.slice-control {
  color: rgba(244, 241, 233, 0.48);
}

.slice-control input {
  accent-color: #a84838;
}

.orientation {
  color: rgba(244, 241, 233, 0.7);
  border-color: rgba(244, 241, 233, 0.35);
  border-radius: 0;
}

.scan-crosshair {
  background: rgba(168, 72, 56, 0.46);
}

.scan-instruction {
  border-radius: 0;
}

.findings {
  color: var(--ink);
  background: var(--paper-deep);
}

.findings-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(23rem, 0.58fr);
}

.findings-heading .eyebrow {
  color: var(--coral);
}

.findings-heading .display-copy {
  font-size: clamp(2.8rem, 5vw, 5.3rem);
}

.findings-heading > p:last-child {
  color: rgba(29, 27, 23, 0.58);
}

.finding {
  min-height: 19rem;
  border-color: var(--line);
}

.finding:last-child {
  border-color: var(--line);
}

.finding > span {
  color: var(--coral);
  font-family: var(--mono);
}

.finding h3 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 3.3rem);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.finding p {
  color: rgba(29, 27, 23, 0.6);
}

.guide {
  background: var(--paper-light);
}

.guide-heading .display-copy {
  max-width: 15ch;
  font-size: clamp(3rem, 5.8vw, 6.2rem);
}

.guide-intro {
  font-size: clamp(1.03rem, 1.4vw, 1.22rem);
}

.system-thesis {
  grid-template-columns: minmax(0, 0.95fr) minmax(24rem, 0.6fr);
  border-color: var(--line);
}

.system-thesis-copy h3 {
  font-size: clamp(2.3rem, 4.2vw, 4.8rem);
  letter-spacing: -0.04em;
}

.system-thesis-copy > p:not(.eyebrow) {
  font-size: clamp(1rem, 1.25vw, 1.14rem);
}

.law-hinge {
  padding: 0;
  color: var(--ink);
  background: transparent;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.law-card {
  padding: 2rem 0;
  color: var(--ink);
  border: 0;
  border-radius: 0;
}

.law-card > span,
.law-card a {
  color: var(--coral);
}

.law-card h4 {
  font-size: clamp(2rem, 3.5vw, 3.4rem);
}

.law-card p {
  color: rgba(29, 27, 23, 0.6);
}

.law-card-humanity {
  background: transparent;
}

.law-hinge-mark {
  height: 1px;
  background: var(--line);
}

.law-hinge-mark::before {
  display: none;
}

.law-hinge-mark span {
  display: none;
}

.legal-battle {
  color: var(--ink);
  background: #ded8cc;
  border: 1px solid rgba(29, 27, 23, 0.26);
  border-radius: 0;
  box-shadow: none;
}

.legal-battle::after {
  display: none;
}

.legal-battle-scan {
  opacity: 0.2;
  filter: grayscale(1) contrast(1.4);
  mix-blend-mode: multiply;
}

.legal-battle-veil {
  background: linear-gradient(90deg, rgba(222, 216, 204, 0.98), rgba(222, 216, 204, 0.82) 56%, rgba(222, 216, 204, 0.5));
}

.legal-battle-heading .eyebrow {
  color: var(--coral);
}

.legal-battle-heading h3 {
  font-size: clamp(2.6rem, 5vw, 5.5rem);
}

.legal-battle-intro p,
.legal-battle-coda,
.legal-battle-law p {
  color: rgba(29, 27, 23, 0.66);
}

.nature-quote {
  border-color: rgba(158, 61, 48, 0.6);
}

.nature-quote p {
  color: var(--coral);
  font-family: var(--display);
  font-style: italic;
  transform: none;
}

.nature-quote footer,
.counterfactual-grid section > span,
.legal-battle-law span {
  color: rgba(29, 27, 23, 0.5);
}

.counterfactual-grid,
.legal-battle-law {
  border-color: var(--line);
}

.counterfactual-grid section + section,
.legal-battle-law > div + div {
  border-color: var(--line);
}

.counterfactual-grid h4,
.counterfactual-grid p {
  color: var(--ink);
}

.guide-shell {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.guide-tabs {
  background: rgba(29, 27, 23, 0.04);
  border-color: var(--line);
}

.guide-tabs button {
  color: var(--muted);
  border-color: var(--line);
}

.guide-tabs button[aria-selected="true"] {
  color: var(--ink);
  background: transparent;
}

.guide-tabs button[aria-selected="true"]::after {
  background: var(--coral);
}

.guide-tabs button span,
.guide-tabs button[aria-selected="true"] span {
  display: inline;
  width: auto;
  height: auto;
  color: var(--coral);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-family: var(--data);
  font-size: 0.56rem;
}

.guide-panel {
  grid-template-columns: 1fr;
  min-height: 36rem;
}

.guide-panel-number {
  display: none;
}

.guide-panel h3 {
  font-family: var(--display);
  font-weight: 400;
}

.guide-panel > div:last-child > p:not(.event-kicker) {
  color: var(--muted);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.guide-actions a,
.guide-actions button,
.guide-actions span {
  border-radius: 0;
}

.toolkit,
.resources {
  background: var(--paper);
}

.toolkit-heading .display-copy,
.resources-heading .display-copy {
  font-size: clamp(2.8rem, 5vw, 5.4rem);
}

.case-file,
.record-request {
  background: rgba(243, 240, 233, 0.54);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.case-file-intro h3,
.record-request h3 {
  font-family: var(--display);
  font-weight: 400;
}

.file-stack details,
.resource-card {
  border-color: var(--line);
}

.resource-card {
  border-radius: 0;
  background: transparent;
}

.resource-card:hover {
  color: var(--ink);
  background: rgba(158, 61, 48, 0.06);
  transform: none;
}

.primary-button {
  color: var(--paper-light);
  background: var(--ink);
  border-radius: 0;
}

.closing {
  color: var(--white);
  background: #11110f;
}

.closing h2 {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 6.6rem);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.closing-copy {
  color: rgba(244, 241, 233, 0.58);
}

.closing-orbit {
  opacity: 0.56;
  border: 0;
  border-radius: 0;
}

.closing-orbit img {
  border-radius: 0;
  filter: grayscale(1) contrast(1.35) brightness(0.55);
}

.closing-orbit::after {
  border-radius: 0;
  box-shadow: none;
  background: linear-gradient(90deg, #11110f, transparent 72%);
}

.site-footer {
  color: rgba(244, 241, 233, 0.5);
  background: #11110f;
  border-color: rgba(244, 241, 233, 0.12);
  font-family: var(--data);
  font-size: 0.6rem;
}

.letter-dialog {
  color: var(--ink);
  background: var(--paper-light);
  border-radius: 0;
}

@media (max-width: 980px) {
  .hero-copy {
    width: min(40rem, calc(100% - 2 * var(--pad)));
  }

  .hero-facts {
    width: min(32rem, 50vw);
  }

  .story-event {
    grid-template-columns: 7rem 1fr;
  }

  .event-stat {
    grid-column: 2;
    justify-self: start;
  }

  .scan-workspace {
    height: auto;
  }

  .scan-viewport {
    position: absolute;
  }

  .scan-details {
    width: min(34rem, 55%);
  }

  .legal-battle-heading,
  .system-thesis {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 720px) {
  .site-header nav a:nth-child(-n + 2) {
    display: none;
  }

  .wordmark small {
    display: none;
  }

  .hero {
    min-height: 100svh;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(12, 12, 10, 0.82) 0%, rgba(12, 12, 10, 0.34) 48%, rgba(12, 12, 10, 0.92) 100%),
      linear-gradient(90deg, rgba(12, 12, 10, 0.72), transparent 82%);
  }

  .hero-scan img {
    object-position: 58% 50%;
    opacity: 0.74;
  }

  .hero-copy {
    width: calc(100% - 2 * var(--pad));
    padding: 8.2rem 0 13rem;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .hero h1 span {
    max-width: 18ch;
    font-size: 0.44em;
  }

  .hero-deck {
    max-width: 28rem;
    font-size: 0.98rem;
  }

  .hero-facts {
    right: var(--pad);
    bottom: 4rem;
    left: var(--pad);
    width: auto;
    gap: 1rem;
  }

  .hero-facts strong {
    font-size: 0.78rem;
  }

  .hero-facts span {
    font-size: 0.46rem;
  }

  .hero-scan > p,
  .scroll-cue {
    display: none;
  }

  .prologue-grid,
  .timeline-heading,
  .findings-grid,
  .essay-columns {
    grid-template-columns: 1fr;
  }

  .prologue .display-copy,
  .timeline-heading .display-copy,
  .findings-heading .display-copy,
  .guide-heading .display-copy,
  .toolkit-heading .display-copy,
  .resources-heading .display-copy {
    font-size: clamp(2.45rem, 10.5vw, 3.8rem);
  }

  .timeline-heading-note {
    margin-left: 0;
  }

  .story-event {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 5rem 0;
  }

  .story-date {
    flex-direction: row;
    align-items: baseline;
  }

  .event-stat {
    grid-column: 1;
  }

  .story-event-copy h3 {
    font-size: clamp(2.15rem, 10vw, 3.3rem);
  }

  .essay-copy {
    margin: 0;
  }

  .essay-lede {
    font-size: clamp(2.4rem, 10.5vw, 3.8rem);
  }

  .essay-columns {
    width: 100%;
  }

  .scan-stage {
    padding: 4.4rem 0 0;
  }

  .scan-stage-head {
    padding: 0 var(--pad) 0.8rem;
  }

  .scan-stage-head h2 {
    font-size: 2rem;
  }

  .scan-workspace {
    border-right: 0;
    border-left: 0;
  }

  .scan-viewport::before {
    background: linear-gradient(180deg, transparent 20%, rgba(5, 5, 4, 0.18) 46%, rgba(5, 5, 4, 0.94) 78%);
  }

  .scan-viewport img {
    width: 100%;
    object-fit: cover;
    object-position: center;
  }

  .scan-details {
    width: 100%;
    min-height: 100%;
    justify-content: end;
    margin: 0;
    padding: 1.25rem var(--pad) 1.5rem;
    background: transparent;
    border: 0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .scan-note h3 {
    max-width: 15ch;
    font-size: clamp(1.65rem, 7vw, 2.35rem);
  }

  .scan-note > p:last-child,
  .scan-caveat {
    display: none;
  }

  .scan-finding {
    min-height: 0;
  }

  .manuscript-backdrop img {
    width: 120vw;
  }

  .manuscript-backdrop-right img {
    right: -60vw;
  }

  .manuscript-backdrop-left img {
    left: -60vw;
  }

  .legal-battle-content {
    padding: 1.4rem;
  }

  .legal-battle-heading h3 {
    font-size: clamp(2.3rem, 10vw, 3.7rem);
  }

  .nature-quote p {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .closing h2 {
    font-size: clamp(2.8rem, 11vw, 4.4rem);
  }

}

@media (prefers-reduced-motion: reduce) {
  .hero-scan img,
  .manuscript-backdrop img,
  .legal-battle-scan {
    transform: none !important;
  }

}



/* ---------- the dispute: two assessments, one file ---------- */

.dispute {
  color: var(--ink);
  background: var(--paper-deep);
}

.dispute-heading {
  max-width: var(--max);
  margin: 0 auto clamp(4rem, 7vw, 7rem);
}

.dispute-heading .display-copy {
  margin: 1.25rem 0 0;
  max-width: 22ch;
  font-size: clamp(2.8rem, 5vw, 5.3rem);
}

.dispute-intro {
  max-width: 46ch;
  margin: 2rem 0 0;
  color: rgba(29, 27, 23, 0.66);
  font-family: var(--text);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.55;
}

/* the ledger of contradictions */

.ledger,
.clock,
.omissions,
.shelf {
  max-width: var(--max);
  margin: 0 auto clamp(4.5rem, 8vw, 8rem);
}

.ledger-head h3,
.clock-head h3,
.omissions-head h3,
.shelf-head h3 {
  max-width: 24ch;
  margin: 0.9rem 0 0;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.7vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.ledger-rows {
  margin: clamp(2.5rem, 4vw, 4rem) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.ledger-rows > li {
  padding: clamp(2rem, 3.5vw, 3.25rem) 0;
  border-bottom: 1px solid var(--line);
}

.ledger-q {
  max-width: 62ch;
  margin: 0;
  color: var(--ink);
  font-family: var(--text);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.4;
}

.ledger-q > span {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--coral);
  font-family: var(--data);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.ledger-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(1.5rem, 2.5vw, 2.25rem);
}

.ledger-pair > div > span {
  display: block;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--data);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ledger-pair blockquote {
  margin: 1rem 0 0;
  padding: 0;
  border: 0;
}

.ledger-pair blockquote p {
  margin: 0;
  color: rgba(29, 27, 23, 0.72);
  font-family: var(--text);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.5;
}

.ledger-pair > div:last-child blockquote p {
  color: var(--signal-deep);
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  font-style: normal;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.ledger-note,
.clock-note {
  max-width: 52ch;
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
  color: rgba(29, 27, 23, 0.6);
  font-family: var(--text);
  font-size: 1rem;
  line-height: 1.55;
}

/* the clock: standard against record */

.clock-head p:not(.eyebrow) {
  max-width: 60ch;
  margin: 1.5rem 0 0;
  color: rgba(29, 27, 23, 0.62);
  font-family: var(--text);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.6;
}

.clock-head p:not(.eyebrow) a {
  color: var(--coral);
}

.clock-rows {
  margin: clamp(2.5rem, 4vw, 4rem) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.clock-rows > li {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 2.5rem);
  padding: clamp(1.4rem, 2.2vw, 2rem) 0;
  border-bottom: 1px solid var(--line);
}

.clock-day {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.clock-rows h4 {
  max-width: 44ch;
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.2rem, 1.9vw, 1.6rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.clock-rows p {
  max-width: 62ch;
  margin: 0.65rem 0 0;
  color: rgba(29, 27, 23, 0.62);
  font-family: var(--text);
  font-size: 1rem;
  line-height: 1.55;
}

.clock-rows p span {
  font-style: italic;
}

.clock-standard {
  background: rgba(158, 61, 48, 0.05);
}

.clock-standard .clock-day {
  color: var(--coral);
  font-family: var(--data);
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.clock-standard h4 {
  font-style: italic;
}

.clock-standard p[lang="de"] {
  color: rgba(29, 27, 23, 0.72);
}

.clock-alarm .clock-day,
.clock-alarm h4 {
  color: var(--signal-deep);
}

/* what the second report leaves out */

.omissions-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: clamp(2.5rem, 4vw, 4rem) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.omissions-list > li {
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.omissions-list h4 {
  max-width: 30ch;
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.omissions-list p {
  margin: 0.8rem 0 0;
  color: rgba(29, 27, 23, 0.62);
  font-family: var(--text);
  font-size: 1rem;
  line-height: 1.55;
}

/* the statutes */

.statute-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: var(--max);
  margin: 0 auto clamp(4.5rem, 8vw, 8rem);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.statute-card {
  position: relative;
  padding: clamp(2rem, 3.5vw, 3.25rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background-color 230ms ease;
}

.statute-card:hover,
.statute-card:focus-visible {
  background: rgba(29, 27, 23, 0.045);
}

.statute-card > span {
  display: block;
  color: var(--coral);
  font-family: var(--data);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.statute-card h4 {
  margin: 0.85rem 0 0;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.statute-card p {
  max-width: 40ch;
  margin: 0.9rem 0 0;
  color: rgba(29, 27, 23, 0.62);
  font-family: var(--text);
  font-size: 1rem;
  line-height: 1.55;
}

.statute-card p[lang="de"] {
  font-style: italic;
}

.statute-card i {
  position: absolute;
  top: clamp(2rem, 3.5vw, 3.25rem);
  right: clamp(2rem, 3.5vw, 3.25rem);
  color: var(--muted);
  font-family: var(--data);
  font-style: normal;
}

/* the documents */

.shelf-head p:not(.eyebrow) {
  max-width: 56ch;
  margin: 1.5rem 0 0;
  color: rgba(29, 27, 23, 0.62);
  font-family: var(--text);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.6;
}

.shelf-items {
  margin-top: clamp(2.5rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
}

.shelf-item {
  position: relative;
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 2.5rem);
  padding: clamp(1.75rem, 3vw, 2.75rem) 3.5rem clamp(1.75rem, 3vw, 2.75rem) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background-color 230ms ease;
}

.shelf-item:hover,
.shelf-item:focus-visible {
  background: rgba(29, 27, 23, 0.045);
}

.shelf-item > span {
  grid-column: 1;
  grid-row: 1;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

.shelf-item h4 {
  grid-column: 2;
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.1vw, 1.8rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.shelf-item p {
  grid-column: 2;
  max-width: 60ch;
  margin: 0.7rem 0 0;
  color: rgba(29, 27, 23, 0.62);
  font-family: var(--text);
  font-size: 1rem;
  line-height: 1.55;
}

.shelf-item i {
  position: absolute;
  top: clamp(1.75rem, 3vw, 2.75rem);
  right: 0;
  color: var(--coral);
  font-family: var(--data);
  font-size: 1.1rem;
  font-style: normal;
}

.dispute-coda-wrap {
  max-width: var(--max);
  margin: 0 auto;
}

.dispute-coda {
  max-width: 58ch;
  margin: 0;
  color: rgba(29, 27, 23, 0.72);
  font-family: var(--text);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
}

@media (max-width: 980px) {
  .ledger-pair,
  .omissions-list,
  .statute-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .clock-rows > li,
  .shelf-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }

  .shelf-item > span,
  .shelf-item h4,
  .shelf-item p {
    grid-column: 1;
    grid-row: auto;
  }

}

@media (max-width: 720px) {
  .dispute-heading .display-copy {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .ledger-pair > div:last-child blockquote p {
    font-size: 1.35rem;
  }

}

/* ---------- the case page ---------- */

.case-hero {
  padding: calc(4rem + clamp(5rem, 9vw, 9rem)) var(--pad) clamp(4rem, 7vw, 7rem);
  color: var(--ink);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.case-hero > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.case-hero h1 {
  max-width: 18ch;
  margin: 1.25rem 0 0;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.9rem, 7vw, 6.5rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.case-hero-deck {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

.case-hero-deck p {
  max-width: 48ch;
  margin: 0;
  color: rgba(29, 27, 23, 0.66);
  font-family: var(--text);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.55;
}

.case-hero-back {
  display: inline-block;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--coral);
  font-family: var(--data);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
}

.case-hero-back:hover,
.case-hero-back:focus-visible {
  text-decoration: underline;
}

/* the two case sections alternate weight */
#standing {
  background: var(--paper-light);
}

#standing .legal-battle {
  margin: 0 auto;
  max-width: var(--max);
}

@media (max-width: 980px) {
  .case-hero-deck {
    grid-template-columns: minmax(0, 1fr);
  }

}

/* `.system-thesis-copy > p:not(.eyebrow)` (0,2,1) sets `margin: 0` and outranks
   `.system-thesis-copy > p + p` (0,1,2), so the paragraph gap never applied.
   Match the specificity so it does. */
.system-thesis-copy > p:not(.eyebrow) + p {
  margin-top: 1.4rem;
}

/* English glosses under the German source quotes. The German is the evidence and
   stays verbatim; the gloss is an annotation, so it reads quieter and upright
   against the italic original. */
p.gloss {
  max-width: 60ch;
  margin: 0.65rem 0 0;
  padding-left: 0.9rem;
  border-left: 2px solid rgba(158, 61, 48, 0.28);
  color: rgba(29, 27, 23, 0.5);
  font-family: var(--text);
  font-size: 0.94rem;
  font-style: normal;
  line-height: 1.5;
}

.ledger-pair p.gloss {
  margin-top: 0.8rem;
}

/* The record pass restyled the law hinge as two rules, top and bottom, but the
   earlier `border: 1px solid` shorthand still supplied the left and right sides,
   so it kept rendering as a box. Drop them. */
.law-hinge {
  border-right: 0;
  border-left: 0;
}

/* These links are full sentences. At weight 680 they read as headings competing
   with the card titles. Set them as ordinary prose links instead. */
.law-card a {
  margin-top: 1.4rem;
  font-family: var(--text);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
