/* ============================================================
   ATHEMA — “The Day-Two Files” · editorial essay landing
   Ink on paper. Fraunces (display) · Newsreader (text) ·
   Spline Sans Mono (data, labels, citations).
   ============================================================ */

:root {
  --paper:   #f6efe0;
  --paper-2: #f0e6cf;
  --paper-3: #e9dcc1;
  --ink:     #201810;
  --ink-2:   #52432f;
  --ink-3:   #86775c;
  --rule:    rgba(32, 24, 16, 0.26);
  --rule-soft: rgba(32, 24, 16, 0.14);
  --red:     #a23214;
  --red-deep:#7e2610;
  --sage:    #5c7546;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --mono: "Spline Sans Mono", "SF Mono", ui-monospace, monospace;

  --measure: 41.5rem;      /* main text column */
  --margin-w: 15rem;       /* marginalia rail */
  --gutter: 3.5rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: 1.1875rem;             /* 19px */
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Paper grain + gentle vignette */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: rgba(162, 50, 20, .18); }

a { color: inherit; }

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

/* ---------- reading progress ---------- */
#progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--red);
  z-index: 60;
}

/* ---------- masthead ---------- */
.masthead {
  max-width: 76rem;
  margin: 0 auto;
  padding: 1.4rem 2rem 1.1rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
}
.masthead .brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
}
.masthead .brand svg { width: 26px; height: 30px; display: block; transform: translateY(4px); }
.masthead .wordmark {
  font-family: var(--display);
  font-weight: 540;
  font-size: 1.18rem;
  letter-spacing: .34em;
  text-indent: .34em;
}
.masthead .edition {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-2);
}
.masthead nav {
  display: flex;
  gap: 1.6rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.masthead nav a {
  text-decoration: none;
  color: var(--ink-2);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.masthead nav a:hover { color: var(--ink); border-color: var(--rule); }
.masthead nav a.connect { color: var(--red); font-weight: 600; }
.masthead nav a.connect:hover { color: var(--red-deep); border-color: var(--red); }

.masthead-rules {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 2rem;
}
.masthead-rules .thick { border-top: 3px solid var(--ink); }
.masthead-rules .thin  { border-top: 1px solid var(--ink); margin-top: 3px; }

/* ---------- running head (appears on scroll) ---------- */
.running-head {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
  transform: translateY(-110%);
  transition: transform .35s ease;
}
.running-head.visible { transform: translateY(0); }
.running-head .inner {
  max-width: 76rem;
  margin: 0 auto;
  padding: .55rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.running-head .title {
  font-family: var(--serif);
  font-style: italic;
  font-size: .95rem;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.running-head .title b { font-style: normal; font-weight: 600; color: var(--ink); }
.running-head a.cta {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--red);
  text-decoration: none;
  padding: .5rem .95rem;
  white-space: nowrap;
  transition: background .2s;
}
.running-head a.cta:hover { background: var(--red-deep); }

/* ---------- hero ---------- */
.hero {
  max-width: 76rem;
  margin: 0 auto;
  padding: 4.5rem 2rem 3rem;
  text-align: center;
}
.hero .folio {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 2.6rem;
}
.hero .folio b { color: var(--red); font-weight: 600; }
.hero .kicker {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 2.2rem;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.018em;
  margin: 0 auto;
}
.hero h1 .line { display: block; overflow: hidden; white-space: nowrap; padding-bottom: .13em; margin-bottom: -.13em; }
.hero h1 .line > span { display: inline-block; }
.hero h1 .l1 {
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  font-style: italic;
  font-weight: 430;
  color: var(--ink-2);
  margin-bottom: 1.1rem;
}
.hero h1 .l2, .hero h1 .l3 {
  font-size: clamp(2.55rem, 10.2vw, 7.6rem);
  font-weight: 480;
}
.hero h1 em { font-style: italic; font-weight: 430; }
.hero h1 .stop { color: var(--red); }

.hero .deck {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 44ch;
  margin: 2.6rem auto 0;
}
.hero .byline {
  margin: 2.8rem auto 0;
  max-width: 52rem;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: .8rem 1rem;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--ink-2);
  line-height: 1.8;
}
.hero .byline .sep { color: var(--red); padding: 0 .45em; }

/* contents strip */
.contents {
  margin: 2.2rem auto 0;
  max-width: 60rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: .98rem;
  color: var(--ink-3);
  line-height: 2;
}
.contents a {
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-soft);
  transition: color .2s, border-color .2s;
  padding-bottom: 1px;
}
.contents a:hover { color: var(--red); border-color: var(--red); }
.contents .n {
  font-family: var(--mono);
  font-style: normal;
  font-size: .68rem;
  color: var(--red);
  letter-spacing: .08em;
  padding-right: .25em;
}
.contents .dot { padding: 0 .55em; color: var(--ink-3); }

/* ---------- article layout ---------- */
.article {
  max-width: calc(var(--measure) + var(--gutter) + var(--margin-w));
  margin: 0 auto;
  padding: 0 2rem 2rem;
}
.prose { max-width: var(--measure); display: flow-root; }

.prose p {
  margin: 0 0 1.5rem;
}
.prose p + p { text-indent: 1.6em; margin-top: -0.35rem; } /* print-style paragraph indents */
.prose p.noindent { text-indent: 0; }

.prose i, .prose em { font-style: italic; }

.prose a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: color .2s, border-color .2s;
}
.prose a:hover { color: var(--red); border-color: var(--red); }

/* footnote superscripts */
sup.fn {
  font-family: var(--mono);
  font-size: .62em;
  line-height: 0;
  color: var(--red);
  letter-spacing: 0;
}
sup.fn a { text-decoration: none; border: 0; color: inherit; }
sup.fn a:hover { color: var(--red-deep); }

/* drop caps */
.dropcap::first-letter {
  font-family: var(--display);
  font-weight: 500;
  font-size: 4.9em;
  float: left;
  line-height: .78;
  padding: .08em .12em 0 0;
  color: var(--ink);
}
.dropcap.red::first-letter { color: var(--red); }

/* crossheads — act openers */
.crosshead {
  margin: 4.8rem 0 2.6rem;
  text-align: center;
  max-width: var(--measure);
}
.crosshead .roman {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 560;
  letter-spacing: .35em;
  text-indent: .35em;
  color: var(--red);
  display: block;
  margin-bottom: .55rem;
}
.crosshead h2 {
  font-family: var(--display);
  font-weight: 470;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  letter-spacing: -.01em;
  line-height: 1.12;
}
.crosshead .orn {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin: 1.15rem auto 0;
  max-width: 16rem;
  color: var(--ink-3);
}
.crosshead .orn::before, .crosshead .orn::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--rule);
}
.crosshead .orn span { font-size: .8rem; transform: translateY(-1px); }

/* margin notes (Tufte-style) */
.mn {
  float: right;
  clear: right;
  width: var(--margin-w);
  margin-right: calc(-1 * (var(--margin-w) + var(--gutter)));
  margin-top: .28rem;
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: .84rem;
  line-height: 1.55;
  color: var(--ink-3);
  text-indent: 0;
  border-top: 1px solid var(--rule-soft);
  padding-top: .5rem;
}
.mn .mn-n {
  font-family: var(--mono);
  font-size: .64rem;
  color: var(--red);
  letter-spacing: .06em;
  padding-right: .4em;
}
.mn a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--rule-soft); }
.mn a:hover { color: var(--red); border-color: var(--red); }

/* in-column pull quotes */
.pull {
  margin: 2.8rem 0 2.9rem;
  padding: 0 0 0 1.6rem;
  border-left: 3px solid var(--red);
  max-width: var(--measure);
}
.pull blockquote {
  font-family: var(--display);
  font-style: italic;
  font-weight: 420;
  font-size: clamp(1.45rem, 2.9vw, 1.95rem);
  line-height: 1.28;
  letter-spacing: -.005em;
  color: var(--ink);
}
.pull cite {
  display: block;
  margin-top: .9rem;
  font-family: var(--mono);
  font-style: normal;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.pull cite a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--rule-soft); }
.pull cite a:hover { color: var(--red); }

/* full-bleed hinge quote */
.hinge {
  margin: 5rem calc(50% - 50vw);
  padding: 4.6rem 2rem;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}
.hinge blockquote {
  font-family: var(--display);
  font-style: italic;
  font-weight: 380;
  font-size: clamp(1.7rem, 4vw, 3.1rem);
  line-height: 1.24;
  letter-spacing: -.01em;
  max-width: 30ch;
  margin: 0 auto;
}
.hinge blockquote .cc { color: #e0805e; }
.hinge cite {
  display: block;
  margin-top: 1.6rem;
  font-family: var(--mono);
  font-style: normal;
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(246, 239, 224, .62);
}
.hinge cite a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(246,239,224,.3); }
.hinge cite a:hover { color: var(--paper); }
.hinge .qmark {
  font-family: var(--display);
  font-size: 4.4rem;
  line-height: 0;
  display: block;
  color: #e0805e;
  margin-bottom: 1.8rem;
}

/* the turn — display statement */
.turn-statement {
  margin: 5.4rem auto 3rem;
  text-align: center;
  max-width: 56rem;
}
.turn-statement .roman {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 560;
  letter-spacing: .35em;
  text-indent: .35em;
  color: var(--red);
  display: block;
  margin-bottom: 1.4rem;
}
.turn-statement h2 {
  font-family: var(--display);
  font-weight: 440;
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -.015em;
}
.turn-statement h2 em { font-style: italic; font-weight: 400; }

/* ---------- illustrations ---------- */
figure.illus {
  margin: 3rem 0;
  max-width: var(--measure);
}
figure.illus.wide {
  max-width: calc(var(--measure) + var(--margin-w) + var(--gutter));
}
figure.illus img {
  width: 100%;
  mix-blend-mode: multiply;
  filter: contrast(1.02);
  border: 1px solid var(--rule-soft);
}
figcaption {
  margin-top: .8rem;
  padding-top: .55rem;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--serif);
  font-size: .86rem;
  font-style: italic;
  color: var(--ink-3);
  line-height: 1.5;
}
figcaption .fig-n {
  font-family: var(--mono);
  font-style: normal;
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  padding-right: .6em;
}

/* ---------- exhibits (product surfaces as figures) ---------- */
figure.exhibit {
  margin: 3.2rem 0;
  max-width: calc(var(--measure) + var(--margin-w) + var(--gutter));
}
.plate {
  border: 1px solid var(--ink);
  outline: 1px solid var(--rule);
  outline-offset: 4px;
  background: var(--paper-2);
  padding: 1.6rem 1.7rem 1.7rem;
  position: relative;
}
.plate .plate-tag {
  position: absolute;
  top: -0.72rem;
  left: 1.15rem;
  background: var(--paper);
  padding: 0 .6rem;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
}

/* exhibit internals — shared idiom */
.x-kicker {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.x-kicker .chip {
  color: var(--sage);
  font-weight: 600;
}
.x-kicker .chip.live { color: var(--red); }
.x-title {
  font-family: var(--display);
  font-weight: 470;
  font-size: 1.45rem;
  line-height: 1.2;
  margin: .55rem 0 .3rem;
}
.x-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: .95rem;
  color: var(--ink-2);
}
.x-rule { border: 0; border-top: 1px solid var(--rule-soft); margin: 1.1rem 0; }

/* run board stage rail */
.stage-rail {
  display: flex;
  align-items: center;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 1.1rem 0 1.2rem;
  flex-wrap: wrap;
  row-gap: .5rem;
}
.stage-rail .stage {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  white-space: nowrap;
}
.stage-rail .stage .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1px solid var(--ink-3);
  flex-shrink: 0;
}
.stage-rail .stage.done { color: var(--ink-2); }
.stage-rail .stage.done .dot { background: var(--sage); border-color: var(--sage); }
.stage-rail .stage.now { color: var(--red); font-weight: 600; }
.stage-rail .stage.now .dot { background: var(--red); border-color: var(--red); }
@media (prefers-reduced-motion: no-preference) {
  .stage-rail .stage.now .dot { animation: pulse 1.8s ease-in-out infinite; }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(162,50,20,.35); }
  50%      { box-shadow: 0 0 0 5px rgba(162,50,20,0); }
}
.stage-rail .link {
  flex: 1;
  min-width: 14px;
  border-top: 1px solid var(--rule);
  margin: 0 .55rem;
}

/* run feed */
.feed { list-style: none; }
.feed li {
  display: flex;
  gap: 1.1rem;
  padding: .6rem 0;
  border-top: 1px solid var(--rule-soft);
  font-size: .96rem;
  line-height: 1.5;
}
.feed li:first-child { border-top: 0; }
.feed .t {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--red);
  letter-spacing: .05em;
  padding-top: .28em;
  flex-shrink: 0;
  width: 2.6rem;
}
.feed .e { color: var(--ink-2); }

.x-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
  padding-top: .9rem;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.x-foot .cost b { color: var(--ink); font-weight: 600; font-size: .95rem; letter-spacing: .02em; }

/* gate verdict slip */
.verdict { font-family: var(--mono); font-size: .8rem; }
.verdict .vrow {
  display: flex;
  align-items: baseline;
  gap: .8rem;
  padding: .55rem 0;
  border-top: 1px dashed var(--rule);
}
.verdict .vrow:first-child { border-top: 0; }
.verdict .k { color: var(--ink-2); white-space: nowrap; }
.verdict .leader { flex: 1; border-bottom: 1px dotted var(--rule); transform: translateY(-4px); min-width: 1rem; }
.verdict .v { color: var(--ink); font-weight: 600; white-space: nowrap; }
.verdict .v.zero { color: var(--sage); }
.verdict .v.debt { color: var(--red); }
.verdict .note {
  font-family: var(--serif);
  font-style: italic;
  font-size: .84rem;
  color: var(--ink-3);
  letter-spacing: 0;
  text-transform: none;
}
.verdict-split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.6rem;
  align-items: center;
}
.stamp {
  font-family: var(--mono);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  border: 2.5px solid var(--red);
  padding: .7rem 1rem .65rem;
  transform: rotate(-5deg);
  text-align: center;
  line-height: 1.5;
  box-shadow: inset 0 0 0 1.5px var(--paper-2), inset 0 0 0 3px var(--red);
  opacity: .92;
  align-self: center;
  justify-self: center;
}
.stamp small {
  display: block;
  font-size: .58rem;
  letter-spacing: .18em;
  font-weight: 500;
}
.counterfactual {
  margin-top: 1.1rem;
  padding: .8rem 1rem;
  border: 1px dashed var(--rule);
  font-family: var(--serif);
  font-style: italic;
  font-size: .9rem;
  color: var(--ink-2);
}
.counterfactual b { font-family: var(--mono); font-style: normal; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-weight: 600; }

/* autonomy ladder */
.ladder { margin-top: 1.3rem; }
.ladder .rungs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 3px solid var(--ink);
}
.ladder .rung {
  padding: .85rem .8rem 0 0;
  position: relative;
}
.ladder .rung::before {
  content: "";
  position: absolute;
  top: -3px; left: 0;
  width: 1px; height: 12px;
  background: var(--ink);
}
.ladder .rung .lvl {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--ink-3);
  display: block;
}
.ladder .rung .name {
  font-family: var(--serif);
  font-size: .84rem;
  line-height: 1.4;
  color: var(--ink-2);
  display: block;
  margin-top: .3rem;
}
.ladder .rung.current .lvl { color: var(--red); font-weight: 700; }
.ladder .rung.current .name { color: var(--ink); }
.ladder .rung.current::before { width: 3px; background: var(--red); height: 16px; }
.ladder .you {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .4rem;
  display: block;
}
.earned {
  margin-top: 1.5rem;
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: 1rem 1.2rem;
  display: flex;
  gap: 1rem;
  align-items: baseline;
  flex-wrap: wrap;
}
.earned .tag {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--sage);
  padding: .3rem .55rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.earned .body { flex: 1 1 16rem; font-size: .92rem; color: var(--ink-2); font-style: italic; }
.earned .body b { font-style: normal; color: var(--ink); }

/* morning digest */
.digest .status-line {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.digest .status-line .ok { color: var(--sage); font-weight: 600; }
.digest h4 {
  font-family: var(--display);
  font-weight: 450;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
  margin: .9rem 0 .5rem;
}
.digest h4 em { font-style: italic; color: var(--red); }
.digest .d-sub { font-size: .98rem; color: var(--ink-2); }
.signoff {
  margin-top: 1.3rem;
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: 1.05rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.signoff .l { flex: 1 1 18rem; }
.signoff .k {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: .35rem;
}
.signoff .t { font-family: var(--display); font-size: 1.12rem; font-weight: 480; }
.signoff .m { font-family: var(--mono); font-size: .68rem; color: var(--ink-3); margin-top: .35rem; letter-spacing: .04em; }
.signoff .go {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  padding: .6rem .9rem;
  white-space: nowrap;
  color: var(--ink);
}

/* ---------- mechanism: the three moves ---------- */
.moves {
  counter-reset: move;
  margin: 2.6rem 0;
  max-width: var(--measure);
  border-top: 3px solid var(--ink);
}
.move {
  border-bottom: 1px solid var(--rule);
  padding: 1.7rem 0 1.6rem;
  display: grid;
  grid-template-columns: 4.4rem 1fr;
  gap: 1.2rem;
}
.move .no {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .1em;
  color: var(--red);
  padding-top: .5rem;
}
.move h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: .01em;
  margin-bottom: .5rem;
}
.move p { font-size: 1.02rem; color: var(--ink-2); line-height: 1.6; margin: 0; }

/* mechanism numbered arguments */
.argument {
  margin: 3rem 0 1rem;
  max-width: var(--measure);
}
.argument h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.42rem;
  line-height: 1.25;
  margin-bottom: 1rem;
  display: flex;
  gap: .9rem;
  align-items: baseline;
}
.argument h3 .anum {
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--red);
  letter-spacing: .08em;
  flex-shrink: 0;
}

/* ---------- economics table ---------- */
.econ {
  margin: 2.8rem 0;
  max-width: calc(var(--measure) + var(--margin-w) + var(--gutter));
}
.econ table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}
.econ caption {
  caption-side: top;
  text-align: left;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  padding-bottom: .7rem;
}
.econ th {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  text-align: left;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: .6rem .8rem .55rem 0;
}
.econ td {
  border-bottom: 1px solid var(--rule-soft);
  padding: .85rem .8rem .85rem 0;
  vertical-align: top;
  color: var(--ink-2);
}
.econ td:first-child { font-family: var(--display); font-weight: 500; color: var(--ink); font-size: 1.05rem; }
.econ td .num { font-family: var(--mono); font-size: .88rem; color: var(--ink); }
.econ tr.athema td { background: linear-gradient(to right, rgba(162,50,20,.05), transparent); border-bottom: 1px solid var(--rule); }
.econ .small-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: .84rem;
  color: var(--ink-3);
  margin-top: .7rem;
}

/* plans row */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin: 2.2rem 0 .8rem;
  max-width: calc(var(--measure) + var(--margin-w) + var(--gutter));
}
.plan {
  border: 1px solid var(--rule);
  background: var(--paper-2);
  padding: 1.35rem 1.3rem 1.25rem;
}
.plan.featured { border-color: var(--ink); outline: 1px solid var(--rule); outline-offset: 3px; }
.plan .p-name { font-family: var(--display); font-weight: 520; font-size: 1.25rem; }
.plan .p-for { font-size: .86rem; color: var(--ink-3); font-style: italic; margin-top: .15rem; }
.plan .p-price { font-family: var(--mono); font-size: 1.5rem; font-weight: 600; margin-top: .95rem; }
.plan .p-price small { font-size: .72rem; color: var(--ink-3); font-weight: 400; }
.plan .p-meta { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: .3rem; }
.plan ul { list-style: none; margin-top: 1rem; border-top: 1px solid var(--rule-soft); padding-top: .9rem; }
.plan li { font-size: .89rem; color: var(--ink-2); padding: .22rem 0; }
.plan li::before { content: "— "; color: var(--red); }

/* ---------- closing CTA ---------- */
.cta-close {
  margin: 5rem calc(50% - 50vw) 0;
  padding: 5rem 2rem 5.4rem;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}
.cta-close .kicker {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #e0805e;
  margin-bottom: 1.8rem;
}
.cta-close h2 {
  font-family: var(--display);
  font-weight: 420;
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -.012em;
  max-width: 22ch;
  margin: 0 auto;
}
.cta-close h2 em { font-style: italic; }
.cta-close .steps {
  display: flex;
  justify-content: center;
  gap: 2.6rem;
  margin: 2.8rem auto 0;
  max-width: 52rem;
  flex-wrap: wrap;
  text-align: left;
}
.cta-close .step {
  flex: 1 1 13rem;
  max-width: 16rem;
  border-top: 1px solid rgba(246,239,224,.35);
  padding-top: .85rem;
}
.cta-close .step .n { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; color: #e0805e; display: block; margin-bottom: .4rem; }
.cta-close .step p { font-size: .92rem; line-height: 1.55; color: rgba(246,239,224,.78); }
.cta-close .step p b { color: var(--paper); font-weight: 600; }
.cta-close .actions { margin-top: 3rem; display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; align-items: center; }
.cta-close a.primary {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--red);
  padding: 1.05rem 2.2rem;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.cta-close a.primary:hover { background: #b8431f; }
.cta-close a.secondary {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: rgba(246,239,224,.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(246,239,224,.3);
  transition: color .2s;
}
.cta-close a.secondary:hover { color: var(--paper); }
.cta-close .fine {
  margin-top: 2.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: .9rem;
  color: rgba(246,239,224,.55);
}

/* ---------- footnotes ---------- */
.footnotes {
  max-width: calc(var(--measure) + var(--margin-w) + var(--gutter));
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
}
.footnotes .fn-head {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--red);
  border-top: 3px solid var(--ink);
  padding-top: .8rem;
  margin-bottom: 1.5rem;
}
.footnotes ol {
  list-style: none;
  columns: 2;
  column-gap: 3rem;
  counter-reset: fnote;
}
.footnotes li {
  counter-increment: fnote;
  font-size: .84rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: .9rem;
  break-inside: avoid;
  padding-left: 1.7rem;
  position: relative;
}
.footnotes li::before {
  content: counter(fnote);
  position: absolute;
  left: 0; top: .1em;
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--red);
}
.footnotes li a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--rule-soft); overflow-wrap: anywhere; }
.footnotes li a:hover { color: var(--red); border-color: var(--red); }
.footnotes li .src { font-family: var(--mono); font-size: .72rem; letter-spacing: .02em; }

/* ---------- colophon ---------- */
.colophon {
  max-width: calc(var(--measure) + var(--margin-w) + var(--gutter));
  margin: 0 auto;
  padding: 1.5rem 2rem 3.4rem;
}
.colophon .rules { border-top: 1px solid var(--ink); margin-bottom: 3px; }
.colophon .rules2 { border-top: 3px solid var(--ink); margin-bottom: 1.4rem; }
.colophon .inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: flex-start;
}
.colophon .brand {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--display); font-weight: 540; letter-spacing: .3em; text-indent: .3em; font-size: 1rem;
}
.colophon .brand svg { width: 17px; height: 20px; }
.colophon p {
  font-size: .84rem;
  color: var(--ink-3);
  font-style: italic;
  max-width: 46ch;
  line-height: 1.6;
}
.colophon nav { display: flex; gap: 1.4rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.colophon nav a { color: var(--ink-2); text-decoration: none; }
.colophon nav a:hover { color: var(--red); }

/* ---------- reveal motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2,.65,.25,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-settle {
  opacity: 0;
  transform: translateY(10px) scale(.988);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.65,.25,1);
}
.reveal-settle.in { opacity: 1; transform: none; }

/* hero load animation */
@media (prefers-reduced-motion: no-preference) {
  .hero .line > span {
    transform: translateY(110%);
    animation: rise .9s cubic-bezier(.2,.65,.2,1) forwards;
  }
  .hero .l1 > span { animation-delay: .1s; }
  .hero .l2 > span { animation-delay: .28s; }
  .hero .l3 > span { animation-delay: .44s; }
  .hero .deck, .hero .byline, .hero .contents, .hero .kicker, .hero .folio {
    opacity: 0;
    animation: fade 1s ease forwards;
  }
  .hero .kicker { animation-delay: .05s; }
  .hero .folio { animation-delay: .05s; }
  .hero .deck { animation-delay: .75s; }
  .hero .byline { animation-delay: .95s; }
  .hero .contents { animation-delay: 1.1s; }
}
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-settle { opacity: 1; transform: none; transition: none; }
  #progress { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .article { max-width: calc(var(--measure) + 4rem); }
  .mn {
    float: none;
    width: auto;
    margin: 1.2rem 0 1.4rem;
    padding: .6rem 0 .6rem 1rem;
    border-top: 0;
    border-left: 2px solid var(--red);
    display: block;
  }
  figure.exhibit, figure.illus.wide, .econ, .plans { max-width: var(--measure); }
}

@media (max-width: 900px) {
  .masthead { flex-wrap: wrap; row-gap: .6rem; padding: 1.1rem 1.25rem .9rem; }
  .masthead .edition { display: none; }
  .masthead nav { gap: 1.1rem; }
  .masthead-rules { padding: 0 1.25rem; }
  .hero { padding: 3.2rem 1.25rem 2.4rem; }
  .article { padding: 0 1.25rem 2rem; }
  .footnotes { padding: 3rem 1.25rem 1.5rem; }
  .footnotes ol { columns: 1; }
  .colophon { padding: 1.2rem 1.25rem 2.8rem; }
  .plans { grid-template-columns: 1fr; }
  .hinge { padding: 3.4rem 1.4rem; }
  .cta-close { padding: 3.8rem 1.4rem 4.2rem; }
  .verdict-split { grid-template-columns: 1fr; }
  .stamp { justify-self: start; margin-top: .6rem; }
  .move { grid-template-columns: 1fr; gap: .3rem; }
  .move .no { padding-top: 0; }
  .running-head .title { font-size: .82rem; }
}

@media (max-width: 640px) {
  body { font-size: 1.09rem; }
  .masthead nav a:not(.connect):not(.keep) { display: none; }
  .hero h1 .l1 { font-size: clamp(1.15rem, 5vw, 1.6rem); }
  .hero .byline { font-size: .66rem; }
  .contents { font-size: .9rem; }
  .prose p + p { text-indent: 1.3em; }
  .ladder .rungs { grid-template-columns: repeat(2, 1fr); border-top: 0; border-left: 3px solid var(--ink); }
  .ladder .rung { padding: .5rem 0 .8rem .9rem; }
  .ladder .rung::before { top: 0; left: -3px; width: 12px; height: 1px; }
  .ladder .rung.current::before { height: 3px; width: 16px; }
  .econ { overflow-x: auto; }
  .econ table { min-width: 34rem; }
  .verdict .vrow { flex-wrap: wrap; row-gap: .1rem; }
  .verdict .k, .verdict .v { white-space: normal; }
  .verdict .leader { display: none; }
  .verdict .v { margin-left: auto; text-align: right; }
  .plate { padding: 1.15rem 1rem 1.2rem; }
  .feed li { gap: .7rem; }
  .cta-close .steps { gap: 1.4rem; }
}

/* ---------- pass 3: print-idiom depth ---------- */
.opener {
  text-transform: uppercase;
  font-size: .82em;
  letter-spacing: .09em;
}
.endmark {
  display: inline-block;
  width: .5em;
  height: .5em;
  background: var(--red);
  margin-left: .45em;
  transform: translateY(-.02em);
}
#rhSection { font-style: italic; }

@media print {
  #progress, .running-head, .masthead nav, .cta-close .actions, body::before { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .reveal, .reveal-settle { opacity: 1 !important; transform: none !important; }
  .hinge, .cta-close { background: #fff; color: #000; border-top: 2pt solid #000; border-bottom: 2pt solid #000; margin-left: 0; margin-right: 0; }
  .hinge blockquote .cc, .cta-close .kicker { color: #000; }
  .hinge cite, .cta-close .step p, .cta-close .fine, .cta-close a.secondary { color: #333; }
  figure.exhibit, figure.illus { break-inside: avoid; }
  .mn { border-color: #000; }
  a { text-decoration: none; }
  .footnotes ol { columns: 1; }
}
