/* ============================================================
   ROBERT & PORTER — site.css
   Warm ivory system. Three voices. Motion explains, never decorates.
   ============================================================ */

:root {
  --ivory:    #f4f2ec;
  --carbon:   #111111;
  --graphite: #575a5f;
  --indigo:   #243b73;
  --gold:     #b48a3c;
  --rule:     #d8d5cd;

  --max:      1200px;
  --gutter:   clamp(1.4rem, 5vw, 4.5rem);
  --rail-w:   215px;

  /* Reading and labelling both sit in a schoolbook serif. The stack is
     local-first: it takes Georgia Pro or Century Schoolbook where they are
     installed, Georgia everywhere else, and Noto Serif on Android, which
     ships no Georgia. Nothing here is downloaded: the site loads no
     webfonts at all, so there is no third-party request, no
     render-blocking stylesheet, and no flash of fallback type.
     --serif, --sans and --mono are kept as names so rules still read by
     intent, but all three now resolve to the same face. */
  --book:     'Georgia Pro', 'Century Schoolbook', 'New Century Schoolbook',
              'Century Schoolbook L', 'TeX Gyre Schola', Georgia,
              'Noto Serif', 'Liberation Serif', serif;
  --serif:    var(--book);  /* display headings, propositions, stage names */
  --sans:     var(--book);  /* body copy */
  --mono:     var(--book);  /* labels, figure numbers, small button type */

  --ease:     cubic-bezier(0.33, 0, 0.2, 1);
  --t-ui:     600ms;   /* interface transitions: 500–800ms band */
  --t-diagram: 1000ms; /* diagram transformations: 900–1200ms band */
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ivory); color: var(--carbon); }
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, transparent calc(33.33% - .5px), color-mix(in srgb, var(--rule) 42%, transparent) calc(33.33% - .5px), color-mix(in srgb, var(--rule) 42%, transparent) calc(33.33% + .5px), transparent calc(33.33% + .5px)),
    linear-gradient(to right, transparent calc(66.66% - .5px), color-mix(in srgb, var(--rule) 42%, transparent) calc(66.66% - .5px), color-mix(in srgb, var(--rule) 42%, transparent) calc(66.66% + .5px), transparent calc(66.66% + .5px));
}
main, .site-header, .site-footer { position: relative; z-index: 1; }
body {
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.65;
  background: var(--ivory);
  color: var(--carbon);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }

::selection { background: var(--indigo); color: var(--ivory); }

.skip-link {
  position: fixed; top: -4rem; left: 1rem; z-index: 1000;
  background: var(--carbon); color: var(--ivory);
  padding: .7rem 1rem; font-size: .85rem;
}
.skip-link:focus { top: 1rem; }

/* keyboard focus is visible everywhere, and only for keyboard users */
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; /* the brand must never touch the nav, at any width */
  padding: 1rem var(--gutter);
  transition: background var(--t-ui) var(--ease), border-color var(--t-ui) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--ivory) 94%, transparent);
  border-bottom-color: var(--rule);
  backdrop-filter: blur(10px);
}
.brand { display: flex; flex-direction: row; align-items: center; gap: .68rem; line-height: 1; min-width: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand-mark {
  flex: 0 0 auto; width: 36px; height: 36px; display: block;
  transition: opacity var(--t-ui) var(--ease);
}
.brand:hover .brand-mark { opacity: .82; }
.brand strong { font-family: var(--serif); font-weight: 500; letter-spacing: .02em; font-size: 1.02rem; }
.brand-text span {
  margin-top: .32rem; font-family: var(--mono); font-size: .56rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--graphite);
  /* the brand may shrink (min-width:0 above) rather than shove the nav off
     the viewport, which body{overflow-x:hidden} would silently swallow */
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: 2rem; font-size: .8rem; }
.nav a { color: var(--graphite); transition: color var(--t-ui) var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--carbon); }
.nav a.nav-contact {
  color: var(--carbon);
  border: 1px solid var(--rule);
  padding: .4rem .8rem;
  transition: border-color var(--t-ui) var(--ease);
}
.nav a.nav-contact:hover { border-color: var(--graphite); }
.nav-toggle { display: none; padding: .5rem; }
.nav-toggle span {
  display: block; width: 21px; height: 1px; background: var(--carbon); margin: 5px 0;
}

/* ── Typography voices ─────────────────────────────────────── */
.eyebrow {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--graphite); margin-bottom: 1.2rem;
}
.display-xl {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.9rem, 7.6vw, 7rem);
  line-height: 1.0; letter-spacing: -.026em;
}
.display-lg {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
  line-height: 1.06; letter-spacing: -.018em;
}
.display-md {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.65rem, 3.2vw, 2.7rem);
  line-height: 1.12; letter-spacing: -.014em;
}
.body-lead { font-size: .95rem; color: var(--graphite); line-height: 1.7; max-width: 62ch; }
.body-copy { font-size: .9rem;  color: var(--graphite); line-height: 1.7; max-width: 64ch; }
.mono-label {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--graphite);
}
/* numeric labels: lining figures where the face offers them */
.sec-num, .step-num, .lens-idx, .panel-play, .mono-label, .eyebrow {
  font-variant-numeric: lining-nums;
  font-feature-settings: 'lnum' 1;
}

/* ── Sections ──────────────────────────────────────────────── */
.section { padding: clamp(5rem, 10vw, 9.5rem) var(--gutter); position: relative; }
.section-inner { width: min(100%, var(--max)); margin: 0 auto; }
.section + .section { border-top: 1px solid var(--rule); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  min-height: 92svh;
  display: grid; align-items: center;
  padding: 7.5rem var(--gutter) 4rem;
  position: relative;
}
.hero-inner {
  width: min(100%, var(--max)); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr);
  position: relative;
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { max-width: 15ch; }
.hero-copy h1 span { display: block; }
.hero-copy h1 .line-2 { color: var(--indigo); }
.hero-sub { margin-top: 1.9rem; max-width: 56ch; }
.hero-cue {
  display: inline-flex; align-items: baseline; gap: .55rem;
  margin-top: 2.6rem;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--graphite);
  transition: color var(--t-ui) var(--ease);
}
.hero-cue:hover { color: var(--indigo); }
.hero-cue::after { content: '↓'; }

/* Load settle: pure CSS, runs immediately — content never waits on
   scripts, and never waits on a scroll threshold */
.settle { animation: settle var(--t-ui) var(--ease) both; }
.settle-2 { animation-delay: 110ms; }
.settle-3 { animation-delay: 220ms; }
@keyframes settle {
  from { opacity: 0; transform: translateY(.7rem); }
  to   { opacity: 1; transform: none; }
}

/* ── Frame 2: Structural thesis ────────────────────────────── */
.thesis { border-top: 2px solid var(--carbon); }
.thesis-claim {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.7rem, 3.6vw, 3.1rem);
  line-height: 1.14; letter-spacing: -.016em;
  max-width: 24ch;
}
.thesis-body {
  display: grid; grid-template-columns: minmax(0, 1fr);
  max-width: 46rem;
  gap: clamp(2.5rem, 6vw, 5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
.thesis-seq { border-top: 1px solid var(--rule); }
.thesis-line {
  position: relative;
  padding: 1.05rem 0 1.05rem 1.4rem;
  border-bottom: 1px solid var(--rule);
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  color: var(--graphite);
  transition: color var(--t-ui) var(--ease);
}
.thesis-line::before {
  content: ''; position: absolute; left: 0; top: 1.35rem; bottom: 1.35rem;
  width: 2px; background: var(--rule);
  transition: background var(--t-ui) var(--ease);
}
.thesis-line.is-active { color: var(--carbon); }
.thesis-line.is-active::before { background: var(--indigo); }
.thesis-line.is-gold.is-active { color: var(--carbon); }
.thesis-line.is-gold.is-active::before { background: var(--gold); }
.thesis-conclusion { margin-top: 2.2rem; max-width: 52ch; }
.thesis-figure svg { width: 100%; height: auto; }/* ── Frame 3: Perspective ──────────────────────────────────── */
.perspective-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.perspective-copy h2 { max-width: 14ch; }
.perspective-copy .body-copy { margin-top: 1.4rem; }
.perspective-figure svg { width: 100%; height: auto; }

/* ── Frame 4: Method intro ─────────────────────────────────── */
.method-intro .display-lg { max-width: 18ch; }
.method-intro .body-lead { margin-top: 1.4rem; }
.method-line {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .65rem;
  margin-top: 2.6rem;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--graphite);
}
.method-line .m-stage { transition: color var(--t-ui) var(--ease); }
.method-line .m-stage.is-active { color: var(--indigo); }
.method-line .m-arrow { color: var(--rule); }

/* ── Frames 5-10: the method panel ─────────────────────────
   One frame, split. The film runs on one side; its index runs
   on the other. The list is not a caption under a video, it is
   what the film is doing right now, so the active step carries
   the chapter's own progress hairline.                        */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.method-panel-section { padding: 0 var(--gutter) clamp(4rem, 8vw, 7rem); }
.method-panel {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.6rem, 3vw, 3rem);
  align-items: stretch;
  border: 1px solid var(--rule);
  background: color-mix(in srgb, var(--ivory) 60%, #fff);
  padding: clamp(1rem, 2vw, 1.6rem);
}

/* the film */
.panel-stage-wrap { display: flex; flex-direction: column; min-width: 0; }
.panel-stage {
  position: relative; flex: 1 1 auto;
  aspect-ratio: 4 / 3; min-height: 300px;
  border: 1px solid var(--rule); background: var(--ivory);
  overflow: hidden;
}
.panel-stage canvas { display: block; width: 100%; height: 100%; }
.panel-fallback { display: block; width: 100%; height: 100%; object-fit: cover; }
.method-panel.atom-live .panel-fallback { display: none; }

.panel-transport {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; margin-top: .8rem; flex-wrap: wrap;
}
.panel-play {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .6rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--graphite);
  transition: color var(--t-ui) var(--ease);
}
.panel-play:hover { color: var(--carbon); }
.pp-glyph { width: 7px; height: 8px; background: var(--graphite); }
.panel-play[data-state="paused"] .pp-glyph {
  background: none;
  border-left: 6px solid var(--graphite); border-top: 4px solid transparent;
  border-bottom: 4px solid transparent; width: 0; height: 0;
}
.panel-play:hover .pp-glyph { background: var(--carbon); }
.panel-play[data-state="paused"]:hover .pp-glyph { background: none; border-left-color: var(--carbon); }/* the index */
.panel-steps { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.panel-step {
  position: relative;
  display: grid; grid-template-columns: 2rem minmax(0, 1fr);
  gap: .7rem; align-items: baseline;
  padding: .8rem .2rem .95rem;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  transition: background var(--t-ui) var(--ease);
}
.panel-step:first-child { border-top: 1px solid var(--rule); }
.panel-step:hover { background: color-mix(in srgb, var(--rule) 22%, transparent); }
.panel-step:focus-visible { outline: 1px solid var(--indigo); outline-offset: -1px; }
.step-num {
  font-family: var(--mono); font-size: .58rem; letter-spacing: .1em;
  color: var(--rule); transition: color var(--t-ui) var(--ease);
}
.step-name {
  display: block;
  font-family: var(--serif); font-size: .98rem; line-height: 1.2;
  color: var(--graphite); transition: color var(--t-ui) var(--ease);
}
.step-line {
  display: block; margin-top: .28rem;
  font-size: .72rem; line-height: 1.5; color: var(--graphite);
  opacity: .72; transition: opacity var(--t-ui) var(--ease);
  max-width: 40ch;
}
.panel-step.is-done .step-num { color: var(--graphite); }
.panel-step.is-active .step-num { color: var(--indigo); }
.panel-step.is-active .step-name { color: var(--carbon); }
.panel-step.is-active .step-line { opacity: 1; }

/* the active step carries the chapter's own progress */
.step-bar {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: none; overflow: hidden;
}
.step-bar i {
  display: block; width: 100%; height: 100%;
  background: var(--indigo);
  transform: scaleX(0); transform-origin: left center;
}
.panel-step.is-active .step-bar i { transition: transform 90ms linear; }

.panel-note {
  margin-top: 1.6rem; font-size: .8rem; color: var(--graphite);
  max-width: 70ch; line-height: 1.65;
}
.panel-note a, .page-hero .body-copy a { color: var(--indigo); border-bottom: 1px solid var(--rule); }
.panel-note a:hover, .page-hero .body-copy a:hover { border-bottom-color: var(--indigo); }

@media (prefers-reduced-motion: reduce) {
  .step-bar i { transition: none; }
}

/* ── Frame 11: What we assume ──────────────────────────────── */
.axioms { border-top: 1px solid var(--rule); margin-top: 2.6rem; }
.axioms-cols { display: grid; grid-template-columns: 1fr 1fr; }
.axioms-cols > div:first-child { border-right: 1px solid var(--rule); }
.axiom { border-bottom: 1px solid var(--rule); }
.axioms-cols > div:first-child .axiom { padding-right: clamp(1.5rem, 3vw, 3rem); }
.axioms-cols > div:last-child  .axiom { padding-left:  clamp(1.5rem, 3vw, 3rem); }
.axiom-toggle {
  width: 100%; text-align: left; padding: 1.3rem 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.02rem, 1.6vw, 1.3rem); line-height: 1.3;
}
.axiom-toggle .axiom-text {
  background-image: linear-gradient(var(--indigo), var(--indigo));
  background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size var(--t-ui) var(--ease), color var(--t-ui) var(--ease);
  padding-bottom: .18em;
}
.axiom.is-open .axiom-toggle .axiom-text { background-size: 100% 1px; color: var(--indigo); }
.axiom-detail {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-ui) var(--ease);
}
.axiom.is-open .axiom-detail { grid-template-rows: 1fr; }
.axiom-detail > div { overflow: hidden; }
.axiom-detail p {
  padding: 0 0 1.2rem; font-size: .84rem; color: var(--graphite);
  line-height: 1.65; max-width: 46ch;
}

/* ── Frame 12: Flywheel ────────────────────────────────────── */
.flywheel-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.flywheel-copy .body-lead { margin-top: 1.4rem; max-width: 44ch; }
.flywheel-figure svg { width: 100%; height: auto; }

/* ── Frame 13: Where useful ────────────────────────────────── */
.useful .display-md { max-width: 22ch; }
.useful-conditions { border-top: 1px solid var(--rule); margin-top: 2.4rem; max-width: 46rem; }
.useful-condition {
  display: flex; gap: 1.1rem; align-items: baseline;
  padding: 1rem 0; border-bottom: 1px solid var(--rule);
  font-size: .92rem; color: var(--graphite);
}
.useful-condition .mono-label { flex-shrink: 0; color: var(--rule); }
.useful-note { margin-top: 2rem; max-width: 60ch; font-size: .86rem; color: var(--graphite); line-height: 1.7; }/* ── Frame 14: Theses ──────────────────────────────────────── */
.theses { border-top: 1px solid var(--rule); margin-top: 2.4rem; }
.thesis-item {
  display: grid; grid-template-columns: 5rem minmax(0, 1fr);
  gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--rule);
}
.thesis-item .mono-label { padding-top: .4rem; color: var(--graphite); }
.thesis-item h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.2rem, 2.1vw, 1.75rem);
  line-height: 1.18; letter-spacing: -.012em;
  margin-bottom: .7rem; max-width: 28ch;
}
.thesis-item p { font-size: .88rem; color: var(--graphite); line-height: 1.7; max-width: 58ch; }
.thesis-item p + p { margin-top: .8rem; }

/* ── Contact frame ─────────────────────────────────────────── */
.contact-frame .display-md { max-width: 20ch; }
.contact-frame .body-copy { margin-top: 1.4rem; max-width: 52ch; }
.contact-action {
  display: inline-block; margin-top: 2.4rem;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid var(--carbon); padding: .8rem 1.3rem;
  transition: background var(--t-ui) var(--ease), color var(--t-ui) var(--ease);
}
.contact-action:hover { background: var(--carbon); color: var(--ivory); }
.contact-email {
  display: block; margin-top: 1.3rem;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .05em;
  color: var(--graphite);
}
.contact-email a { border-bottom: 1px solid var(--rule); padding-bottom: .1rem; }
.contact-email a:hover { color: var(--indigo); border-color: var(--indigo); }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2.4rem var(--gutter);
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
  font-size: .78rem; color: var(--graphite);
}
.footer-brand { display: grid; grid-template-columns: auto 1fr; gap: 0 .6rem; align-items: center; }
.footer-brand .brand-mark { width: 28px; height: 28px; grid-row: span 2; }
.footer-brand strong { font-family: var(--serif); font-weight: 500; color: var(--carbon); }
.footer-brand span {
  display: block; margin-top: .3rem;
  font-family: var(--mono); font-size: .56rem; letter-spacing: .13em;
  text-transform: uppercase;
}
.footer-links { display: flex; gap: 1.6rem; }
.footer-links a:hover { color: var(--carbon); }

/* ── Inner pages ───────────────────────────────────────────── */
.page-hero { padding-top: clamp(9rem, 16vw, 12rem); }
.page-hero .body-lead { margin-top: 1.5rem; }
.prose-stage { padding: clamp(2.6rem, 5vw, 4.2rem) 0; border-bottom: 1px solid var(--rule); }
.prose-stage:last-child { border-bottom: 0; }
.prose-stage h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.5rem); letter-spacing: -.015em;
  margin: .5rem 0 1.1rem;
}
.prose-stage p { font-size: .9rem; color: var(--graphite); line-height: 1.72; max-width: 66ch; }
.prose-stage p + p { margin-top: 1rem; }

/* ── SVG shared classes ────────────────────────────────────── */
.g-node { fill: var(--indigo); }
.g-label {
  font-family: var(--mono); font-size: 9px; letter-spacing: .08em;
  fill: var(--graphite); text-transform: uppercase;
}
.g-edge  { stroke: var(--graphite); stroke-width: .8; fill: none; }
.g-gold  { stroke: var(--gold); fill: none; }

/* ── Responsive ────────────────────────────────────────────── */
/* narrow header: the mark costs width, so the tagline is set tighter
   rather than allowed to wrap the header onto a second line */
@media (max-width: 620px) {
  .brand { gap: .5rem; }
  .brand-mark { width: 30px; height: 30px; }
  .brand strong { font-size: .95rem; }
  .brand-text span { font-size: .48rem; letter-spacing: .09em; white-space: nowrap; }
}
/* below this the tagline cannot hold a line without crowding the nav. The
   threshold is set for the widest serif the stack can resolve to, not the
   narrowest: at 380px a wide face pushed the nav toggle clean off the
   viewport. The mark plus the wordmark is a complete lockup on its own,
   and the tagline still runs in full in the footer. */
@media (max-width: 430px) {
  .brand-text span { display: none; }
  .brand strong { font-size: 1rem; }
}

@media (max-width: 940px) {
  .hero { min-height: 0; padding-top: 8rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .thesis-body, .perspective-grid, .flywheel-grid { grid-template-columns: 1fr; }
  /* minmax(0,…) not 1fr: a canvas carries an intrinsic width from its
     width attribute, and an auto-min track sizes to that instead of to the
     column, pushing the film past the panel's own border. */
  .method-panel { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .panel-stage { aspect-ratio: 16 / 10; min-height: 220px; }
  .panel-steps { justify-content: flex-start; }
  body::before { display: none; }
  .axioms-cols { grid-template-columns: 1fr; }
  .axioms-cols > div:first-child { border-right: 0; }
  .axioms-cols > div:first-child .axiom { padding-right: 0; }
  .axioms-cols > div:last-child  .axiom { padding-left: 0; }
  .thesis-item { grid-template-columns: 1fr; gap: .4rem; padding: 1.6rem 0; }
}
@media (max-width: 680px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 3.6rem 0 auto 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--rule);
    padding: .6rem var(--gutter) 1.2rem;
  }
  .nav.is-open { display: flex; }
  .nav a, .nav a.nav-contact { border: 0; border-bottom: 1px solid var(--rule); padding: .75rem 0; }
}

/* ── Reduced motion: complete content, no animation ────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .settle { opacity: 1 !important; transform: none !important; }
}

/* ── Patent plate (Thinking) ───────────────────────────────── */
.patent-plate { margin-top: 3rem; max-width: 30rem; }
.patent-plate img {
  width: 100%; display: block;
  filter: grayscale(1) contrast(0.92) sepia(0.12) opacity(0.9);
  mix-blend-mode: multiply;
  border: 1px solid var(--rule);
}
.patent-plate figcaption {
  margin-top: .8rem;
  font-family: var(--mono); font-size: .6rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--graphite);
}

/* ── Section index numerals (the site as a document) ───────── */
.sec-num {
  display: inline-block; margin-right: .9rem;
  color: var(--rule); letter-spacing: .1em;
}
.thesis .sec-num { color: var(--rule); }

/* ── Fig. 02 — The Capability Lens ─────────────────────────── */
.lens-section .body-copy { margin-top: 1.5rem; }
.lens { margin-top: clamp(3.5rem, 7vw, 6rem); }
.lens-plate {
  position: relative; max-width: 54rem;
  border-top: 1px solid var(--rule);
}
.lens-list { margin: 0; padding: 0; }
.lens-row {
  display: flex; align-items: baseline; gap: 1.4rem;
  padding: clamp(1rem, 1.8vw, 1.4rem) 0;
  border-bottom: 1px solid var(--rule);
}
.lens-idx {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .12em;
  color: var(--rule); flex: none; width: 2rem;
}
.lens-terms { position: relative; display: block; flex: 1; min-height: 1.3em; }
.lens-term {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.05rem, 2vw, 1.5rem); line-height: 1.3;
  letter-spacing: -.012em;
  transition: opacity var(--t-ui) var(--ease);
}
.lens-recorded { color: var(--carbon); }
.lens-actual {
  position: absolute; left: 0; top: 0; width: 100%;
  color: var(--indigo); opacity: 0;
}
.lens-actual.is-found { color: var(--gold); }
.lens-row.is-read .lens-recorded { opacity: 0; }
.lens-row.is-read .lens-actual { opacity: 1; }
.lens-glass {
  position: absolute; left: 0; top: 0; z-index: 2;
  width: 208px; height: 208px; margin: -104px 0 0 -104px;
  border: 1px solid var(--graphite); border-radius: 50%;
  opacity: 0; pointer-events: none; will-change: transform, opacity;
}
.lens-glass::after {
  content: ''; position: absolute; inset: 5px;
  border: 1px solid var(--rule); border-radius: 50%;
}/* no-hover / reduced motion: both readings, stated plainly */
.lens-static .lens-glass { display: none; }
.lens-static .lens-terms { display: grid; gap: .35rem; }
.lens-static .lens-actual { position: static; opacity: 1; }

/* ── Patent plate (Thinking) ───────────────────────────────── */
.patent-plate { margin-top: 3rem; max-width: 30rem; }
.patent-plate img {
  width: 100%; display: block;
  filter: grayscale(1) contrast(0.92) sepia(0.12) opacity(0.9);
  mix-blend-mode: multiply;
  border: 1px solid var(--rule);
}
.patent-plate figcaption {
  margin-top: .8rem;
  font-family: var(--mono); font-size: .6rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--graphite);
}

/* ── Section index numerals (the site as a document) ───────── */
.sec-num {
  display: inline-block; margin-right: .9rem;
  color: var(--rule); letter-spacing: .1em;
}
.thesis .sec-num { color: var(--rule); }

/* ── Fig. 02 — The Capability Lens ─────────────────────────── */
.lens-section .body-copy { margin-top: 1.5rem; }
.lens { margin-top: clamp(3.5rem, 7vw, 6rem); }
.lens-plate {
  position: relative; isolation: isolate;
  max-width: 52rem; cursor: none;
  border-top: 1px solid var(--rule);
}
.lens-list { margin: 0; padding: 0; }
.lens-list.lens-inside {
  position: absolute; inset: 0;
  clip-path: circle(0px at 50% 50%);
  pointer-events: none;
}
.lens-row {
  display: flex; align-items: baseline; gap: 1.4rem;
  padding: clamp(.9rem, 1.6vw, 1.25rem) 0;
  border-bottom: 1px solid var(--rule);
}
.lens-idx {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .12em;
  color: var(--rule); flex: none; width: 2rem;
}
.lens-term {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.05rem, 2vw, 1.5rem); line-height: 1.25;
  letter-spacing: -.012em; color: var(--carbon);
}
.lens-inside .lens-row { border-bottom-color: transparent; }
.lens-term.is-inside { color: var(--indigo); }
.lens-term.is-found { color: var(--gold); }
.lens-glass {
  position: absolute; left: 0; top: 0; z-index: 2;
  width: 264px; height: 264px; margin: -132px 0 0 -132px;
  border: 1px solid var(--graphite); border-radius: 50%;
  opacity: 0; pointer-events: none;
  will-change: transform, opacity;
}
.lens-glass::after {
  content: ''; position: absolute; inset: 5px;
  border: 1px solid var(--rule); border-radius: 50%;
}/* no-hover / reduced motion: the paired reading, stated plainly */
.lens-static .lens-plate { cursor: auto; }
.lens-static .lens-glass { display: none; }
.lens-static .lens-list.lens-inside {
  position: static; clip-path: none;
}
.lens-static .lens-plate { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(1.5rem, 4vw, 3rem); }
.lens-static .lens-inside .lens-idx { visibility: hidden; }
.lens-static .lens-inside .lens-row { border-bottom-color: var(--rule); }
@media (max-width: 700px) {
  .lens-static .lens-plate { grid-template-columns: 1fr; }
  .lens-static .lens-inside .lens-idx { display: none; }
}
