:root {
  color-scheme: dark;
  --paper: #020b12;
  --paper-alt: rgba(4, 20, 31, 0.76);
  --ink: #f7fbff;
  --muted: #a3b1bd;
  --soft: #60717e;
  --line: rgba(247, 251, 255, 0.13);
  --line-strong: rgba(247, 251, 255, 0.46);
  --accent: #238fdb;
  --accent-bright: #31a8ff;
  --accent-dim: rgba(35, 143, 219, 0.34);
  --wide: 1200px;
  --full: 1360px;
  --measure: 710px;
  --narrow: 540px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 6%, rgba(17, 78, 101, 0.7) 0, rgba(9, 42, 58, 0.42) 24%, rgba(2, 11, 18, 0.96) 58%, #01070c 100%),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.68;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 54% 8%, rgba(22, 114, 150, 0.34), transparent 34%),
    linear-gradient(180deg, rgba(1, 7, 12, 0.06), rgba(0, 0, 0, 0.72));
}

a {
  color: var(--ink);
  text-decoration-color: var(--accent-dim);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

a:hover {
  color: var(--accent-bright);
  text-decoration-color: var(--accent-bright);
}

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

.site-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: rgba(1, 9, 15, 0.72);
  backdrop-filter: blur(18px);
}

.nav {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 24px 46px 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 38px;
}

.identity {
  text-decoration: none;
  white-space: nowrap;
}

.identity strong {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--accent-bright);
}

main {
  min-height: 80vh;
}

.chapter,
.hero {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 110px 46px;
}

.exhibit {
  max-width: var(--full);
  margin: 0 auto;
  padding: 120px 46px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 69px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero,
.exhibit,
.chapter,
.footer {
  position: relative;
}

.hero.compact-hero {
  min-height: calc(100vh - 69px);
}

.hero.about-hero {
  min-height: 62vh;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0.42;
}

.hero::before {
  inset: 9% 9% auto auto;
  width: 31vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(49, 168, 255, 0.54), transparent);
  animation: driftLine 18s ease-in-out infinite alternate;
}

.hero::after {
  inset: auto auto 12% 12%;
  width: 42vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 251, 255, 0.18), transparent);
  animation: driftLine 22s ease-in-out infinite alternate-reverse;
}

.atmosphere {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.atmosphere span {
  position: absolute;
  display: block;
  width: 1px;
  height: 34vh;
  background: rgba(49, 168, 255, 0.10);
  transform-origin: top;
  animation: slowLight 20s ease-in-out infinite alternate;
}

.atmosphere span:nth-child(1) { left: 14%; top: 8%; height: 46vh; animation-delay: 0s; }
.atmosphere span:nth-child(2) { left: 29%; top: 3%; height: 31vh; animation-delay: 3s; }
.atmosphere span:nth-child(3) { left: 53%; top: 12%; height: 42vh; animation-delay: 5s; }
.atmosphere span:nth-child(4) { left: 72%; top: 6%; height: 28vh; animation-delay: 7s; }
.atmosphere span:nth-child(5) { left: 86%; top: 18%; height: 35vh; animation-delay: 9s; }

.hero-main {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 860px;
  min-width: 0;
}

.hero-main.split-note {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(260px, 0.42fr);
  gap: 82px;
  align-items: end;
}

.reveal {
  opacity: 0;
  transform: translateY(8px);
  animation: revealIn 850ms ease forwards;
}

.reveal-delay-1 { animation-delay: 120ms; }
.reveal-delay-2 { animation-delay: 420ms; }
.reveal-delay-3 { animation-delay: 760ms; }
.reveal-delay-4 { animation-delay: 1080ms; }

.eyebrow,
.kicker,
.diagram-title,
.meta {
  color: var(--accent);
  font-size: 13px;
  line-height: 1.2;
}

.eyebrow {
  margin: 0 0 24px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h1 {
  max-width: 1000px;
  font-size: clamp(62px, 7.9vw, 124px);
  line-height: 0.93;
}

h2 {
  max-width: 850px;
  font-size: clamp(37px, 5.1vw, 78px);
  line-height: 0.98;
}

h3 {
  font-size: clamp(25px, 2.4vw, 36px);
  line-height: 1.1;
}

h4 {
  font-size: 20px;
  line-height: 1.2;
}

p {
  margin: 18px 0 0;
}

.lede {
  margin-top: 28px;
  max-width: 760px;
  color: rgba(247, 251, 255, 0.9);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 1.85vw, 27px);
  line-height: 1.32;
}

.measure {
  max-width: var(--measure);
}

.muted,
.chapter li,
.supporting {
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 5px 0 8px;
  border-bottom: 1px solid var(--accent-dim);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.button::after {
  content: "->";
  margin-left: 12px;
  color: var(--accent-bright);
}

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

.rule-top {
  border-top: 1px solid var(--line-strong);
}

.rule-soft {
  border-top: 1px solid var(--line);
}

.paper {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0, rgba(18, 77, 101, 0.42), transparent 46%),
    var(--paper-alt);
}

.chapter-tight {
  padding-top: 62px;
  padding-bottom: 62px;
}

.chapter-roomy {
  padding-top: 150px;
  padding-bottom: 150px;
}

.chapter-quiet {
  padding-top: 82px;
  padding-bottom: 34px;
}

.chapter-silent {
  padding-top: 32px;
  padding-bottom: 32px;
}

.folio {
  min-height: 72vh;
  display: flex;
  align-items: center;
}

.narrow {
  max-width: var(--narrow);
}

.offset {
  margin-left: auto;
}

.margin-note {
  max-width: 300px;
  margin-top: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  border-top: 1px solid var(--line-strong);
  padding-top: 14px;
}

.margin-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.12;
}

.oversized-line {
  max-width: 1040px;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 112px);
  line-height: 0.94;
  color: var(--ink);
}

.small-observation {
  max-width: 360px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.sketch-row {
  display: grid;
  grid-template-columns: minmax(0, 0.28fr) minmax(0, 0.72fr);
  gap: 56px;
  align-items: start;
  border-top: 1px solid var(--line-strong);
  padding-top: 26px;
}

.spread {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(270px, 0.32fr);
  gap: 78px;
  align-items: start;
}

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

.exhibit-wall {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 0.66fr);
  gap: 78px;
  align-items: start;
}

.exhibit-wall.reverse {
  grid-template-columns: minmax(0, 0.66fr) minmax(260px, 0.34fr);
}

.exhibit-question {
  position: sticky;
  top: 32px;
  max-width: 390px;
}

.exhibit-question h2 {
  font-size: clamp(38px, 5.5vw, 80px);
  line-height: 0.96;
}

.exhibit-question p:not(.eyebrow) {
  color: var(--muted);
}

.artifact-board {
  border-top: 1px solid rgba(49, 168, 255, 0.34);
  padding-top: 22px;
}

.artifact-board.full {
  margin-top: 42px;
}

.artifact-title {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
}

.artifact-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.artifact-flow.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.artifact-step {
  min-height: 176px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.artifact-step .num {
  display: block;
  margin-bottom: 42px;
  color: var(--accent);
  font-size: 13px;
}

.artifact-step strong {
  display: block;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.05;
}

.artifact-step span:last-child {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

.artifact-memo {
  border-top: 1px solid rgba(49, 168, 255, 0.34);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.memo-header,
.memo-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 34px;
}

.memo-header {
  margin-bottom: 34px;
  color: var(--accent);
  font-size: 13px;
}

.memo-row {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.memo-row strong {
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.12;
}

.memo-row span {
  color: var(--muted);
}

.system-ring {
  min-height: 520px;
  position: relative;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.system-ring::before,
.system-ring::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid var(--line);
}

.system-ring::after {
  inset: 34%;
  border-color: var(--line-strong);
}

.system-ring .center {
  position: absolute;
  inset: 38% 33%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.05;
}

.system-ring .point {
  position: absolute;
  max-width: 170px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.36;
}

.system-ring .point strong {
  display: block;
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.04;
  margin-bottom: 6px;
}

.p1 { left: 4%; top: 7%; }
.p2 { right: 2%; top: 9%; }
.p3 { right: 0; top: 46%; }
.p4 { right: 13%; bottom: 7%; }
.p5 { left: 26%; bottom: 4%; }
.p6 { left: 1%; top: 51%; }

.annotation {
  max-width: 260px;
  color: var(--accent);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.22;
  transform: rotate(-2deg);
}

.artifact-split {
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(0, 0.48fr);
  gap: 70px;
  align-items: start;
}

.artifact-image {
  margin: 0;
  border-top: 1px solid var(--line-strong);
  padding-top: 20px;
}

.artifact-image img {
  width: 100%;
  border: 1px solid var(--line);
  filter: grayscale(100%);
}

.artifact-image figcaption {
  color: var(--muted);
  font-size: 13px;
  margin-top: 12px;
}

.sequence-diagram {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 18px 0;
  border-top: 1px solid rgba(49, 168, 255, 0.48);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.sequence-node {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.sequence-node strong,
.sequence-node span {
  display: block;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.sequence-node strong {
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.02;
  text-transform: uppercase;
}

.sequence-node span {
  max-width: 320px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.34;
}

.sequence-connector {
  width: 100%;
  margin: 13px auto;
  color: var(--accent-bright);
  font-size: 25px;
  line-height: 1;
  text-align: center;
}

.one-line-page {
  min-height: calc(100vh - 69px);
}

.notebook-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}

.notebook-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.archive {
  margin-top: 48px;
  border-top: 1px solid var(--line-strong);
}

.archive-entry {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
  gap: 64px;
  padding: 46px 0;
  border-bottom: 1px solid var(--line);
}

.archive-entry h2,
.archive-entry h3 {
  margin-top: 10px;
}

.archive-entry.compact {
  grid-template-columns: minmax(190px, 0.28fr) minmax(0, 0.72fr);
  padding: 32px 0;
}

.label {
  margin: 0;
  color: var(--accent-bright);
  font-size: 13px;
}

.quote {
  margin: 0;
  max-width: 910px;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4.2vw, 62px);
  line-height: 1.05;
  color: var(--ink);
}

.evidence {
  width: 100%;
  border-collapse: collapse;
  margin-top: 34px;
  font-size: 15px;
  line-height: 1.45;
}

.evidence th,
.evidence td {
  padding: 14px 18px 14px 0;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.evidence tr:first-child th {
  border-top: 1px solid rgba(49, 168, 255, 0.34);
}

.evidence th {
  color: var(--ink);
  font-weight: 650;
}

.evidence td {
  color: var(--muted);
}

.section {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 110px 46px;
}

.copy {
  max-width: var(--measure);
  color: var(--muted);
}

.matrix {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  font-size: 15px;
  line-height: 1.45;
}

.matrix th,
.matrix td {
  padding: 15px 18px 15px 0;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.matrix th {
  color: var(--ink);
  font-weight: 650;
}

.matrix td {
  color: var(--muted);
}

.rule-list {
  list-style: none;
  margin: 42px 0 0;
  padding: 0;
  border-top: 1px solid rgba(49, 168, 255, 0.34);
}

.rule-list li {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 30px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.rule-list .num {
  color: var(--accent-bright);
  font-size: 13px;
}

.rule-list span:last-child {
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.12;
}

.article-list {
  margin-top: 42px;
  border-top: 1px solid rgba(49, 168, 255, 0.34);
}

.article-link {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
  gap: 42px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.article-link h3,
.article-link p {
  margin: 0;
}

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

.visual {
  margin: 0;
  border-top: 1px solid var(--line-strong);
  padding-top: 18px;
}

.visual img {
  width: 100%;
  border: 1px solid var(--line);
  filter: grayscale(100%);
}

.visual-caption {
  margin-top: 11px;
  color: var(--muted);
  font-size: 13px;
}

.diagram {
  margin-top: 36px;
  border-top: 1px solid rgba(49, 168, 255, 0.34);
  border-bottom: 1px solid var(--line);
  padding: 20px 0 4px;
}

.diagram-title {
  margin: 0 0 16px;
}

.diagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 0;
}

.diagram-node {
  min-height: 108px;
  padding: 16px 18px 16px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

.diagram-node strong {
  display: block;
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 8px;
}

.office-note {
  border-top: 1px solid rgba(49, 168, 255, 0.34);
  padding-top: 18px;
  color: var(--muted);
  font-size: 15px;
}

.field-note {
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(49, 168, 255, 0.34);
}

.ledger > * {
  min-height: 170px;
  padding: 22px 26px 20px 0;
  border-bottom: 1px solid var(--line);
}

.ledger strong {
  display: block;
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 14px;
}

.ledger span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 30px 46px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

@keyframes revealIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slowLight {
  from {
    opacity: 0.08;
    transform: translateY(-4px) rotate(0.2deg);
  }
  to {
    opacity: 0.18;
    transform: translateY(14px) rotate(-0.4deg);
  }
}

@keyframes driftLine {
  from {
    transform: translateX(-10px);
    opacity: 0.25;
  }
  to {
    transform: translateX(16px);
    opacity: 0.48;
  }
}

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

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

@media (max-width: 980px) {
  .nav,
  .chapter,
  .exhibit,
  .hero,
  .footer-inner {
    padding-left: 34px;
    padding-right: 34px;
  }

  .hero {
    min-height: 720px;
  }

  .hero.about-hero {
    min-height: 560px;
  }

  .spread,
  .spread-balanced,
  .archive-entry,
  .archive-entry.compact,
  .sketch-row,
  .exhibit-wall,
  .exhibit-wall.reverse,
  .artifact-split,
  .hero-main.split-note {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .exhibit-question {
    position: static;
    max-width: var(--measure);
  }

  .artifact-flow,
  .artifact-flow.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system-ring {
    min-height: 610px;
  }

  .chapter-roomy {
    padding-top: 108px;
    padding-bottom: 108px;
  }

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

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .nav {
    padding: 20px 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    justify-content: stretch;
  }

  .nav-links a {
    font-size: 13px;
  }

  .chapter,
  .exhibit,
  .section,
  .hero,
  .footer-inner {
    padding: 72px 22px;
  }

  .hero {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 640px;
  }

  .hero.about-hero {
    min-height: 470px;
  }

  h1 {
    width: min(100%, 315px);
    max-width: min(100%, 315px);
    font-size: clamp(28px, 7.5vw, 31px);
    line-height: 1.02;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  h2 {
    font-size: clamp(32px, 8.8vw, 40px);
    line-height: 1.04;
  }

  .lede {
    width: min(100%, 315px);
    max-width: min(100%, 315px);
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.4;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .hero-main {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .quote {
    font-size: 31px;
    line-height: 1.14;
  }

  .chapter-tight,
  .chapter-quiet,
  .chapter-roomy {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .folio {
    min-height: 52vh;
  }

  .oversized-line {
    font-size: clamp(38px, 12vw, 52px);
    line-height: 0.98;
  }

  .actions {
    gap: 18px;
    margin-top: 26px;
  }

  .evidence {
    display: block;
    overflow-x: auto;
  }

  .matrix {
    display: block;
    overflow-x: auto;
  }

  .evidence th,
  .evidence td,
  .matrix th,
  .matrix td {
    min-width: 160px;
  }

  .rule-list li,
  .article-link {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .diagram-node {
    min-height: 0;
  }

  .artifact-flow,
  .artifact-flow.four {
    grid-template-columns: 1fr;
  }

  .artifact-step {
    min-height: 0;
  }

  .artifact-step .num {
    margin-bottom: 18px;
  }

  .memo-header,
  .memo-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .system-ring {
    min-height: 0;
    padding-top: 20px;
  }

  .system-ring::before,
  .system-ring::after {
    display: none;
  }

  .system-ring .center,
  .system-ring .point {
    position: static;
    max-width: none;
  }

  .system-ring .center {
    justify-content: flex-start;
    text-align: left;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }

  .system-ring .point {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
  }

  .sequence-diagram {
    width: 100%;
  }

  .sequence-node strong {
    font-size: 25px;
  }

  .annotation {
    transform: none;
  }
}
