/* ============================================================
   THE DEATH OF THE COMBATANT — editorial system
   Adapted from the IdeaJetLab ISIC proposal grayscale system.
   ============================================================ */

/* Fonts loaded via <link> in each HTML file head (Fraunces, Geist, Geist Mono) */

* { margin: 0; padding: 0; box-sizing: border-box;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

:root {
  --paper:    #faf7f2;
  --bone:     #f0ece4;
  --bone-deep:#e3dccf;
  --ink:      #0e0e0e;
  --ink-soft: #2a2a2a;
  --ink-mute: #6b6b6b;
  --ink-faint:#9a9a9a;
  --ink-line: #c8c8c8;
  --line:     rgba(0,0,0,0.10);
  --line-soft:rgba(0,0,0,0.05);
  --line-strong: rgba(0,0,0,0.20);

  --accent:   #b8633a;
  --accent-2: #2d4a6b;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'Geist Mono', 'SF Mono', monospace;
}

html { font-feature-settings: "ss01"; }
body {
  font-family: var(--font-body);
  font-size: 16px; line-height: 1.55;
  color: var(--ink); background: var(--paper);
  font-feature-settings: "ss01";
}
a { color: inherit; }

/* ============================================================
   HEADER
   ============================================================ */

.paper-head {
  background: rgba(250,247,242,0.92);
  border-bottom: 1px solid var(--line);
  padding: 18px 56px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.paper-mark {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--ink);
}
.paper-mark-logo {
  display: inline-block;
  width: 28px; height: 28px;
  background-image: url('logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}
.paper-mark-name {
  font-family: var(--font-display); font-size: 18px;
  font-weight: 500; letter-spacing: -0.015em;
  font-style: italic;
}
.paper-mark-meta {
  font-family: var(--font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--ink-mute);
  border-left: 1px solid var(--line);
  padding-left: 14px; line-height: 1.4;
}

.paper-nav {
  display: flex; align-items: center; gap: 26px;
}
.paper-nav a {
  font-family: var(--font-body); font-size: 13px;
  color: var(--ink-mute); text-decoration: none; font-weight: 500;
  position: relative; padding: 4px 0;
}
.paper-nav a:hover { color: var(--ink); }
.paper-nav a.current { color: var(--ink); }
.paper-nav a.current::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px; background: var(--ink);
}
.paper-nav-num {
  font-family: var(--font-mono); font-size: 9px;
  color: var(--ink-faint); margin-right: 6px;
  letter-spacing: 0.14em;
}

/* ============================================================
   PAGE WRAPPER
   ============================================================ */

.page {
  max-width: 820px; margin: 0 auto;
  padding: 80px 56px 120px;
}
.page-wide {
  max-width: 1180px; margin: 0 auto;
  padding: 80px 56px 120px;
}

.page-meta {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--ink-mute); margin-bottom: 28px;
}
.page-meta b { color: var(--ink); font-weight: 600; }
.page-meta-bullet {
  width: 4px; height: 4px; border-radius: 50%; background: var(--ink);
  display: inline-block;
}

h1.page-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.4vw, 76px);
  font-weight: 400; line-height: 1.0;
  letter-spacing: -0.032em;
  color: var(--ink); margin-bottom: 28px;
  text-wrap: balance;
}
h1.page-title em { font-style: italic; font-weight: 300; }

.page-deck {
  font-family: var(--font-display);
  font-style: italic; font-weight: 400;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 720px;
  margin-bottom: 56px;
}

/* ============================================================
   SECTIONS — content body
   ============================================================ */

.movement {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.movement:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }

.movement-eyebrow {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--ink-mute); font-weight: 600;
  margin-bottom: 14px;
  display: flex; align-items: baseline; gap: 12px;
}
.movement-eyebrow .num {
  font-family: var(--font-display);
  font-style: italic; font-size: 22px; font-weight: 300;
  color: var(--ink); letter-spacing: -0.02em;
  text-transform: none;
}

h2.movement-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 400; line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 32px;
  text-wrap: balance;
  max-width: 760px;
}
h2.movement-title em { font-style: italic; font-weight: 300; }

.body p {
  font-family: var(--font-display);
  font-size: 19px; line-height: 1.68;
  color: var(--ink-soft);
  margin-bottom: 22px;
  max-width: 700px;
  font-weight: 400;
}
.body p b, .body p strong {
  color: var(--ink); font-weight: 600;
}
.body p em { font-style: italic; }

.body p.lede {
  font-size: 22px;
  line-height: 1.55;
  color: var(--ink);
  font-style: italic;
  max-width: 700px;
}

/* Quote / pull rule */
.pull {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px; line-height: 1.4;
  color: var(--ink);
  border-left: 2px solid var(--ink);
  padding: 8px 0 8px 28px;
  margin: 48px 0;
  max-width: 700px;
}

/* Eyebrow utility */
.eyebrow {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--ink-mute); font-weight: 600;
  margin-bottom: 18px;
}

/* Three-thinker compact grid (for movement 2) */
.thinkers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 36px 0;
  max-width: 760px;
}
.thinker {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: start;
}
.thinker:last-child { border-bottom: 1px solid var(--line); }
.thinker-name {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.2;
}
.thinker-name em { font-style: italic; font-weight: 400; }
.thinker-tag {
  font-family: var(--font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink-mute);
  margin-top: 6px;
}
.thinker-body p {
  font-family: var(--font-display);
  font-size: 17px; line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: 540px;
}
.thinker-body p b { color: var(--ink); font-weight: 600; }

/* Reference list */
.refs {
  margin-top: 24px;
  border-top: 1px solid var(--ink);
  padding-top: 8px;
  max-width: 760px;
}
.refs li {
  list-style: none;
  font-family: var(--font-body);
  font-size: 14px; line-height: 1.5;
  color: var(--ink-soft);
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.refs li b { color: var(--ink); font-weight: 600; }
.refs li em { font-style: italic; }

/* ============================================================
   COVER
   ============================================================ */

.cover {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
  padding: 80px 56px 96px;
}
.cover-eyebrow {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--ink-mute); margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px;
}
.cover-eyebrow b { color: var(--ink); font-weight: 600; }
.cover-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.cover h1 {
  font-family: var(--font-display);
  font-size: clamp(56px, 7.2vw, 108px);
  font-weight: 400; line-height: 0.95;
  letter-spacing: -0.038em;
  color: var(--ink);
  margin-bottom: 28px;
  text-wrap: balance;
}
.cover h1 em { font-style: italic; font-weight: 300; }
.cover-deck {
  font-family: var(--font-display);
  font-style: italic; font-weight: 400;
  font-size: clamp(26px, 2.4vw, 32px); line-height: 1.4;
  color: var(--ink-soft);
  max-width: 720px;
  margin-bottom: 40px;
}
.cover-sub {
  font-family: var(--font-display);
  font-size: clamp(22px, 1.9vw, 26px); line-height: 1.5;
  color: var(--ink-soft);
  max-width: 720px;
  margin-bottom: 44px;
  font-weight: 400;
}
.cover-sub strong { color: var(--ink); font-weight: 600; font-style: italic; }

.cover-byline {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  margin-top: 36px;
}
.cover-byline b { color: var(--ink); font-weight: 600; }

.cover-diagram {
  max-width: 900px;
  margin: 32px auto 96px;
  padding: 0 56px;
}
.cover-diagram .diagram-caption {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 16px;
  padding: 0 40px;
  font-style: normal;
}
.cover-diagram .diagram-caption em { font-style: italic; font-weight: 500; color: var(--ink); }

.cover-meta {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex; gap: 36px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink-mute);
}
.cover-meta b {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  text-transform: none;
  letter-spacing: -0.015em;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 4px;
}
.cover-side {
  position: relative;
}
.cover-side-image {
  width: 100%; aspect-ratio: 3 / 4;
  background-image: url('cover.jpg');
  background-size: cover; background-position: center;
  border-radius: 4px;
}
.cover-side-cap {
  position: absolute; left: 24px; bottom: 24px;
  color: white;
  font-family: var(--font-display); font-style: italic;
  font-size: 17px; line-height: 1.4;
  max-width: 340px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.cover-side-cap-eyebrow {
  font-family: var(--font-mono); font-style: normal; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
  display: block;
}

/* Cover contents — table of movements */
.cover-toc {
  margin-top: 32px;
  margin-bottom: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 100%;
}
.cover-toc ol {
  list-style: none;
  counter-reset: toc;
  padding: 0;
}
.cover-toc li {
  counter-increment: toc;
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.cover-toc li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  flex-shrink: 0;
  width: 32px;
}
.cover-toc li a {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s ease;
}
.cover-toc li a em { font-style: italic; font-weight: 300; }
.cover-toc li a:hover { color: var(--accent); }
.cover-toc li .toc-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-mute);
  margin-top: 6px;
  line-height: 1.5;
}

/* ============================================================
   FOOT NAV
   ============================================================ */

.foot-nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 56px 80px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 36px;
  border-top: 1px solid var(--line);
}
.foot-nav a {
  text-decoration: none; color: var(--ink);
  display: block;
  padding: 24px 0;
  transition: opacity 0.2s;
}
.foot-nav a:hover { opacity: 0.7; }
.foot-nav-prev { text-align: left; }
.foot-nav-next { text-align: right; }
.foot-nav-label {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--ink-mute); margin-bottom: 8px;
}
.foot-nav-name {
  font-family: var(--font-display); font-size: 26px;
  font-weight: 400; letter-spacing: -0.02em;
  font-style: italic;
}
.foot-nav.solo { grid-template-columns: 1fr; }
.foot-nav.solo .foot-nav-next { text-align: right; }
.foot-nav.solo .foot-nav-prev { text-align: left; }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500; font-size: 14px;
  text-decoration: none;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  transition: all 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.ghost {
  background: transparent; color: var(--ink);
  border-color: var(--ink-line);
}
.btn.ghost:hover { border-color: var(--ink); }

/* ============================================================
   COLOPHON
   ============================================================ */

.colophon {
  border-top: 1px solid var(--line);
  padding: 32px 56px;
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink-mute);
  display: flex; justify-content: space-between; align-items: center;
}
.colophon b { color: var(--ink); font-weight: 600; }
.colophon a { color: inherit; text-decoration: none; }
.colophon a:hover { color: var(--ink); }

/* ============================================================
   NOTES BLOCK (final page)
   ============================================================ */

.notes-block {
  margin-top: 48px;
  padding: 32px 36px;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 4px;
  max-width: 760px;
}
.notes-block .eyebrow { margin-bottom: 18px; }
.notes-block h3 {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 600;
  margin: 18px 0 6px;
  color: var(--ink);
}
.notes-block h3:first-of-type { margin-top: 0; }
.notes-block p {
  font-family: var(--font-body);
  font-size: 14px; line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: none;
  font-style: normal;
}
.notes-block p + p { margin-top: 6px; }
.notes-block p em { font-style: italic; }
.notes-block p b { color: var(--ink); font-weight: 600; }

/* ============================================================
   SLIDE DECK (scroll-snap)
   ============================================================ */

.deck {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  background: var(--paper);
}
/* When the header is sticky, slides should fill the viewport minus its height */
.deck-mode { overflow: hidden; height: 100vh; }
.deck-mode .paper-head { position: fixed; top: 0; left: 0; right: 0; }

.slide {
  height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 56px 56px;
  position: relative;
  border-bottom: 1px solid var(--line-soft);
}
.slide-inner {
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.slide-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 32px;
  display: flex; align-items: baseline; gap: 14px;
}
.slide-eyebrow .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-transform: none;
}

.slide h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.8vw, 108px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.038em;
  color: var(--ink);
  margin-bottom: 28px;
  text-wrap: balance;
  max-width: 1000px;
}
.slide h2 em { font-style: italic; font-weight: 300; }
.slide h2 .highlight {
  background: linear-gradient(180deg, transparent 62%, rgba(14,14,14,0.10) 62%);
  padding: 0 4px;
}

.slide .lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 760px;
  font-weight: 400;
  margin-bottom: 18px;
}

.slide .body-line {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 700px;
  margin-bottom: 14px;
}
.slide .body-line b, .slide .body-line strong {
  color: var(--ink);
  font-weight: 600;
}

/* Big pull-quote slide */
.slide.pull-slide h2 {
  font-style: italic;
  font-weight: 300;
  font-size: clamp(40px, 5.4vw, 84px);
  border-left: 3px solid var(--ink);
  padding-left: 36px;
  line-height: 1.1;
  max-width: 960px;
}

/* Two-up data slide */
.slide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px;
  margin-top: 36px;
  max-width: 1000px;
}
.slide-stat {
  border-top: 2px solid var(--ink);
  padding-top: 14px;
}
.slide-stat-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 12px;
}
.slide-stat-num em { font-style: italic; font-weight: 300; }
.slide-stat-label {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 280px;
}
.slide-stat-label b { color: var(--ink); font-weight: 600; }
.slide-stat-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  margin-top: 10px;
}

/* Three-thinker slide */
.slide-thinkers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 40px;
  max-width: 1100px;
}
.slide-thinker {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.slide-thinker-name {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.2vw, 34px);
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.1;
}
.slide-thinker-name em { font-style: italic; font-weight: 400; }
.slide-thinker-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.slide-thinker-body {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 320px;
}
.slide-thinker-body b { color: var(--ink); font-weight: 600; }
.slide-thinker-body em { font-style: italic; }

/* Slide counter (bottom-right) */
.slide-counter {
  position: absolute;
  bottom: 28px;
  right: 56px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
}
.slide-counter b { color: var(--ink); font-weight: 600; }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 56px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 10px;
}
.scroll-hint .arrow {
  display: inline-block;
  width: 22px; height: 1px;
  background: var(--ink);
  position: relative;
}
.scroll-hint .arrow::after {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  width: 6px; height: 6px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transform: rotate(-45deg);
}

/* Final/CTA slide */
.slide.final {
  background: var(--ink);
  color: var(--paper);
  border-bottom: none;
}
.slide.final h2 { color: var(--paper); }
.slide.final .lede { color: rgba(250,247,242,0.7); }
.slide.final .body-line { color: rgba(250,247,242,0.7); }
.slide.final .slide-eyebrow { color: rgba(250,247,242,0.55); }
.slide.final .slide-eyebrow .num { color: var(--paper); }
.slide.final .slide-counter { color: rgba(250,247,242,0.4); }
.slide.final .slide-counter b { color: var(--paper); }
.slide.final .btn {
  background: var(--paper); color: var(--ink);
  border-color: var(--paper);
}
.slide.final .btn.ghost {
  background: transparent; color: var(--paper);
  border-color: rgba(250,247,242,0.4);
}

/* ============================================================
   ESSAY — long-read prose page
   ============================================================ */

.essay {
  max-width: 880px;
  margin: 0 auto;
  padding: 80px 56px 120px;
}
.essay-meta {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--ink-mute); margin-bottom: 32px;
}
.essay-meta b { color: var(--ink); font-weight: 600; }

.essay h1.essay-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.4vw, 76px);
  font-weight: 400; line-height: 1.0;
  letter-spacing: -0.032em;
  color: var(--ink);
  margin-bottom: 24px;
  text-wrap: balance;
}
.essay h1.essay-title em { font-style: italic; font-weight: 300; }

.essay .essay-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  color: var(--ink-soft);
  margin-bottom: 14px;
  font-weight: 400;
}

.essay .essay-byline {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  margin-bottom: 56px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.essay .essay-byline b { color: var(--ink); font-weight: 600; }

.essay h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 64px 0 8px;
  text-wrap: balance;
}
.essay h2 em { font-style: italic; font-weight: 300; }
.essay h2 .num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  color: var(--ink-faint);
  font-size: 0.7em;
  margin-right: 14px;
  letter-spacing: -0.02em;
}

.essay h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  margin: 40px 0 12px;
  letter-spacing: -0.015em;
}
.essay h3 em { font-style: italic; font-weight: 400; }

.essay p {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 24px;
  font-weight: 400;
  hyphens: auto;
}
.essay p b, .essay p strong { color: var(--ink); font-weight: 600; }
.essay p em { font-style: italic; }

.essay .pull {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.4;
  color: var(--ink);
  border-left: 2px solid var(--ink);
  padding: 8px 0 8px 28px;
  margin: 40px 0;
  max-width: 100%;
}

.essay .refs-list {
  margin-top: 24px;
  border-top: 1px solid var(--ink);
  padding-top: 8px;
  list-style: none;
}
.essay .refs-list li {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}
.essay .refs-list li b { color: var(--ink); font-weight: 600; }
.essay .refs-list li em { font-style: italic; }

/* ============================================================
   TESTABLE LIST — two-column: statement | test
   Used for the seven conditions, five practices, five Monday questions
   ============================================================ */

.essay .testable-list {
  margin: 32px 0;
  border-top: 1px solid var(--ink);
  list-style: none;
  counter-reset: testable;
  padding: 0;
}
.essay .testable-list li {
  counter-increment: testable;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.essay .testable-list .statement {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  position: relative;
  padding-left: 48px;
}
.essay .testable-list .statement::before {
  content: counter(testable, lower-roman);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--accent, #b8633a);
  font-weight: 400;
  width: 36px;
  text-align: right;
}
.essay .testable-list .statement b,
.essay .testable-list .statement strong {
  color: var(--ink);
  font-weight: 600;
}
.essay .testable-list .test {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.essay .testable-list .test::before {
  content: "Test";
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent, #b8633a);
  font-weight: 600;
  margin-bottom: 8px;
}
.essay .testable-list .test em { font-style: italic; }

/* Variant: when there's no test (e.g. the five Monday questions or AI predictions),
   the right column carries a "note" or stays empty */
.essay .testable-list .note {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-mute);
  padding-left: 24px;
  border-left: 1px solid var(--line);
  font-style: italic;
}

/* Single-column variant for shorter lists (Monday questions) */
.essay .testable-list.single li {
  grid-template-columns: 1fr;
  gap: 8px;
}
.essay .testable-list.single .statement {
  font-size: 19px;
}

/* ============================================================
   DIAGRAMS — Vitruvian register, pen-and-ink sepia on cream
   ============================================================ */

.essay .diagram {
  margin: 56px 0;
  padding: 0;
}
.essay .diagram svg {
  width: 100%;
  height: auto;
  display: block;
}
.essay .diagram-caption {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 16px;
  padding: 0 40px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-style: normal;
}
.essay .diagram-caption em { font-style: italic; font-weight: 500; color: var(--ink); }

/* Diagrams break out wider than the body column for breathing room */
.essay .diagram-twin-ladder,
.essay .diagram-seven-conditions {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.essay .diagram-before-after {
  max-width: 100%;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .paper-head { padding: 14px 24px; }
  .paper-nav { display: none; }
  .page, .page-wide, .cover { padding: 56px 24px; }
  .cover { grid-template-columns: 1fr; min-height: auto; padding-top: 40px; }
  .cover-side-image { aspect-ratio: 4 / 3; }
  .thinker { grid-template-columns: 1fr; gap: 8px; }
  .foot-nav { grid-template-columns: 1fr; padding: 36px 24px; }
  .body p { font-size: 17px; }
  .slide { padding: 80px 24px 56px; }
  .slide-counter, .scroll-hint { left: 24px; right: 24px; }
  .scroll-hint { left: 24px; }
  .slide-counter { right: 24px; left: auto; }
  .essay { padding: 56px 24px; }
  .essay p { font-size: 18px; }
}
