/* ============================================================
   chapters.css - interior pages, locked art direction
   About "The Dossier" / Story "The Unbroken Line" /
   Now "The Ticker" / Writing "The Index".
   Each a quiet chapter of the scroll-film's world.
   Loaded ONLY on type=editorial pages (head.html gate).
   ============================================================ */

:root{
  --ivory:#faf7ef; --ivory-soft:#f5f1e5;
  --ink:#1a1a1f; --ink-strong:#09090b; --ink-muted:#4a4a52; --ink-soft:#6a6a72;
  --hair:rgba(26,26,31,.1); --hair-strong:rgba(26,26,31,.2);
  --ruby:#be123c; --ruby-deep:#8f0c2c;
  --mono:'IBM Plex Mono',ui-monospace,'Cascadia Mono','Roboto Mono',Menlo,monospace;
  --sans:'Satoshi',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  /* motion tokens - One Film, Three Chapters (locked spec T0). keep in sync: motion tokens (editorial.css :root) */
  --dur-micro:160ms;   /* hover, focus, link underlines */
  --dur-reveal:320ms;  /* element reveals */
  --dur-scene:640ms;   /* section entries, page transitions */
  --ease-settle:cubic-bezier(.16,1,.3,1);   /* the film's decisive settle; default */
  --ease-glide:cubic-bezier(.65,0,.35,1);   /* symmetric moves only (progress, scrub) */
  --stagger-step:60ms; /* cascade increment, max 6 steps then group */
}

*{margin:0;padding:0;box-sizing:border-box}
html{background:var(--ivory);-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{font-family:var(--sans);color:var(--ink);background:var(--ivory);font-size:18px;line-height:1.65;
  font-feature-settings:"ss01" 1,"kern" 1,"liga" 1,"calt" 1;-webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;text-wrap:pretty;overflow-x:hidden}
h1,h2,h3,h4{text-wrap:balance;letter-spacing:-.03em;line-height:1.03;font-weight:900}
img,video,svg{max-width:100%;display:block}
a{color:inherit}
:focus-visible{outline:2px solid var(--ruby);outline-offset:2px;border-radius:1px}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--ink);color:var(--ivory);
  padding:10px 16px;font-family:var(--mono);font-size:12px;z-index:100;text-decoration:none}
.skip-link:focus{left:12px;top:12px}
.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}

/* ---------- page fade-in from ivory (rhymes with the loader) ---------- */
@keyframes pageIn{from{opacity:0}to{opacity:1}}
main{animation:pageIn var(--dur-scene) var(--ease-settle) both}
@media (prefers-reduced-motion:reduce){main{animation:none}}

/* ---------- T1.2 View Transitions between inner pages (progressive enhancement) ----------
   Cross-document cross-fade; no-ops in unsupported browsers (unknown at-rule ignored) and
   under reduced motion. Plain root cross-fade (cheap) rather than a named shared element. */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:var(--dur-reveal)}
@media (prefers-reduced-motion:reduce){@view-transition{navigation:none}}

/* ---------- film grain ---------- */
.grain{position:fixed;inset:0;pointer-events:none;z-index:2;opacity:.4;mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E")}
@media (prefers-reduced-motion:reduce){.grain{display:none}}

/* ---------- header (film chrome) + mono chapter nav ---------- */
.chapter-header{position:fixed;top:0;left:0;right:0;z-index:40;display:flex;justify-content:space-between;
  align-items:baseline;padding:20px clamp(20px,4vw,48px);border-bottom:1px solid transparent;
  transition:background var(--dur-reveal) var(--ease-settle),border-color var(--dur-reveal) var(--ease-settle),padding var(--dur-reveal) var(--ease-settle)}
.chapter-header.scrolled{background:rgba(250,247,239,.82);border-bottom-color:var(--hair);
  -webkit-backdrop-filter:saturate(140%) blur(10px);backdrop-filter:saturate(140%) blur(10px);
  padding-top:14px;padding-bottom:14px}
.chapter-header .wordmark{font-weight:900;font-size:19px;letter-spacing:-.02em;color:var(--ink);text-decoration:none}
.chapter-nav{display:flex;gap:clamp(14px,2.2vw,28px);align-items:baseline}
.chapter-nav a{font-family:var(--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--ink-soft);text-decoration:none;padding-bottom:3px;border-bottom:2px solid transparent;
  position:relative;transition:color var(--dur-micro) var(--ease-settle),border-color var(--dur-micro) var(--ease-settle)}
.chapter-nav a:hover{color:var(--ink)}
.chapter-nav a[aria-current="page"]{color:var(--ink);border-bottom-color:var(--ruby)}
/* non-current links: 1px ink underline grows left-to-right on hover/focus-visible */
.chapter-nav a:not([aria-current="page"])::after{content:"";position:absolute;left:0;bottom:0;
  width:100%;height:1px;background:var(--ink);transform:scaleX(0);transform-origin:left;
  transition:transform var(--dur-micro) var(--ease-settle)}
.chapter-nav a:not([aria-current="page"]):hover::after,
.chapter-nav a:not([aria-current="page"]):focus-visible::after{transform:scaleX(1)}
@media (prefers-reduced-motion:reduce){.chapter-nav a::after{transition:none}}

/* ---------- footer (film footer: mono, hairline top) ---------- */
.chapter-footer{border-top:1px solid var(--hair);background:var(--ivory);position:relative;z-index:3;
  padding:34px clamp(20px,6vw,96px);display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:18px}
.chapter-footer .foot-id{display:flex;flex-direction:column;gap:5px}
.chapter-footer .foot-name{font-weight:900;font-size:17px;letter-spacing:-.02em}
.chapter-footer .foot-place,.chapter-footer .foot-links a,.chapter-footer .foot-links span{
  font-family:var(--mono);font-size:11px;letter-spacing:.05em;color:var(--ink-soft)}
.chapter-footer .foot-links{display:flex;gap:14px;align-items:center}
.chapter-footer .foot-links a{text-decoration:none;transition:color var(--dur-micro) var(--ease-settle)}
.chapter-footer .foot-links a:hover{color:var(--ruby)}

/* ---------- reveals: the one-by-one flow (Owner calibration 2026-07-23) ----------
   Every interior content block joins this flow as it enters the viewport: fade +
   14px rise, --dur-reveal, --ease-settle, --stagger-step cascade (--i is capped per
   group by the template/JS that sets it). The earlier .7s/70ms "whisper" timing is
   retired here on purpose: the calibration takes the choreography from whisper to
   felt and pins it to the motion tokens, so the whole site moves on one clock. */
.has-js .reveal{opacity:0;transform:translateY(14px);
  transition:opacity var(--dur-reveal) var(--ease-settle),transform var(--dur-reveal) var(--ease-settle);
  transition-delay:calc(var(--i,0)*var(--stagger-step))}
.has-js .reveal.in-view{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.has-js .reveal{opacity:1;transform:none;transition:none;transition-delay:0s}}

/* ---------- chapter entrance: 3-beat header choreography (spec T1.1; on load, once, gated on has-js) ----------
   Beat 1: a hairline draws L->R (scaleX, --dur-scene, --ease-glide).
   Beat 2 (+1 stagger): the title rises (opacity + 8px translateY, --dur-reveal, --ease-settle).
   Beat 3 (+2 staggers): the meta/kicker fades (opacity only). Body below uses the IO reveal system. */
.chapter-rule{height:1px;background:var(--hair-strong);transform-origin:left;margin-bottom:clamp(20px,4vh,34px)}
.has-js .chapter-rule{transform:scaleX(0);animation:chDrawRule var(--dur-scene) var(--ease-glide) both}
.has-js .ch-title{animation:chRise var(--dur-reveal) var(--ease-settle) var(--stagger-step) both}
.has-js .ch-meta{animation:chFade var(--dur-reveal) var(--ease-settle) calc(var(--stagger-step)*2) both}
@keyframes chDrawRule{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes chRise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes chFade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){
  .has-js .chapter-rule{transform:scaleX(1);animation:none}
  .has-js .ch-title,.has-js .ch-meta{animation:none}
}

/* ---------- shared shell ---------- */
main{position:relative;z-index:1}

.kicker{display:flex;align-items:center;gap:12px;font-family:var(--mono);font-size:11px;
  letter-spacing:.14em;text-transform:uppercase;color:var(--ink-soft)}
.kicker::before{content:"";display:block;width:26px;height:1.5px;background:var(--ruby)}
.chapter-numeral{font-family:var(--mono);font-size:13px;letter-spacing:.1em;color:var(--ink-soft)}
.chapter-numeral b{color:var(--ink-muted);font-weight:500}

/* ============================================================
   ABOUT - "The Dossier"
   ============================================================ */
.dossier{max-width:1180px;margin:0 auto;padding:clamp(112px,18vh,190px) clamp(20px,6vw,72px) clamp(64px,12vh,150px);
  display:grid;grid-template-columns:240px 1fr;gap:clamp(40px,6vw,88px);align-items:start}
.dossier-rail{position:sticky;top:96px;align-self:start}
.dossier-rail .kicker{margin-bottom:24px}
.dossier-index{list-style:none;border-top:1px solid var(--hair)}
.dossier-index li{padding:14px 0;border-bottom:1px solid var(--hair)}
/* T2 About: fact rows cascade on reveal with --stagger-step (cap 6), and a ruby hairline
   draws under the label on row hover */
.has-js .dossier-index li.reveal{transition-delay:calc(var(--i,0)*var(--stagger-step))}
.dossier-index li .fact-tag{position:relative}
.dossier-index li .fact-tag::after{content:"";position:absolute;left:0;bottom:-2px;width:100%;height:1px;
  background:var(--ruby);transform:scaleX(0);transform-origin:left;transition:transform var(--dur-micro) var(--ease-settle)}
.dossier-index li:hover .fact-tag::after,.dossier-index li:focus-within .fact-tag::after{transform:scaleX(1)}
@media (prefers-reduced-motion:reduce){.dossier-index li .fact-tag::after{transition:none}}
.dossier-index .fact-tag{display:block;font-family:var(--mono);font-size:10px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--ink-soft);margin-bottom:5px}
.dossier-index .fact-val{font-weight:700;font-size:15px;letter-spacing:-.01em;color:var(--ink-strong);line-height:1.25}
.dossier-strip{display:none}

.dossier-main{max-width:640px}
.dossier-numeral{margin-bottom:16px}
.dossier-title{font-size:clamp(48px,8vw,96px);line-height:.95;letter-spacing:-.035em;color:var(--ink-strong)}
.dossier-title .dot{color:var(--ink-strong)}
.dossier-statement{font-weight:900;font-size:clamp(24px,3vw,40px);line-height:1.12;letter-spacing:-.03em;
  color:var(--ink-strong);max-width:20ch;margin-top:clamp(36px,6vh,68px)}
.dossier-body{max-width:46ch;margin-top:clamp(28px,4vh,44px)}
.dossier-body p{margin-bottom:22px;color:var(--ink);font-size:18px;line-height:1.68}
.dossier-body h2{font-size:clamp(15px,1.5vw,17px);font-family:var(--mono);font-weight:500;text-transform:uppercase;
  letter-spacing:.1em;color:var(--ink-soft);margin:clamp(40px,6vh,64px) 0 20px}
/* prose links: faint resting ruby underline (affordance) + full ruby underline draws L->R on hover (T1.3) */
.dossier-body a{color:var(--ink-strong);text-decoration:none;font-weight:700;
  border-bottom:1px solid rgba(190,18,60,.28);padding-bottom:1px;
  background-image:linear-gradient(var(--ruby),var(--ruby));background-repeat:no-repeat;background-position:0 100%;background-size:0 2px;
  transition:background-size var(--dur-micro) var(--ease-settle)}
.dossier-body a:hover,.dossier-body a:focus-visible{background-size:100% 2px}
/* PRM: the ruby underline draw resolves instantly (hover/focus still fills, but no animated wipe) */
@media (prefers-reduced-motion:reduce){.dossier-body a,.story-foot a,.article-body a{transition:none}}
.dossier-body strong{font-weight:700;color:var(--ink-strong)}
/* THE ruby: the belief sentence, the page's single highlighted line */
.dossier-body .belief-line{color:var(--ruby);font-weight:700}
/* the one photograph on the site: archival dossier plate (quiet, no card) */
.dossier-plate{margin-top:clamp(32px,5vh,52px)}
.dossier-plate img{width:100%;height:auto;filter:saturate(.85) contrast(1.02);
  border:1px solid var(--hair);background:var(--ivory-soft)}
.dossier-plate figcaption{display:flex;justify-content:space-between;gap:16px;
  margin-top:12px;padding-top:10px;border-top:1px solid var(--hair);
  font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;
  color:rgba(26,26,31,.6)}
/* weightier, longer reveal for the plate; in-view state still wins */
.has-js .dossier-plate.reveal{transition-duration:.9s} /* reveal-system exception (weightier plate), see reveals note above */
.has-js .dossier-plate.reveal:not(.in-view){transform:translateY(14px)}
/* desktop: the image may bleed +24px each side beyond the reading column */
@media (min-width:1024px){
  .dossier-plate img{width:calc(100% + 48px);margin-left:-24px}
}
.dossier-closer{margin-top:clamp(48px,8vh,88px);padding-top:clamp(32px,5vh,48px);border-top:1px solid var(--hair)}
.dossier-closer a{font-family:var(--mono);font-size:13px;letter-spacing:.06em;text-transform:uppercase;
  color:var(--ink-soft);text-decoration:none;transition:color var(--dur-micro) var(--ease-settle)}
.dossier-closer a:hover{color:var(--ruby)}
.dossier-closer a+a{margin-left:26px}

/* ============================================================
   STORY - "The Unbroken Line"
   ============================================================ */
.story-hero{max-width:1100px;margin:0 auto;padding:clamp(112px,18vh,190px) clamp(20px,6vw,72px) clamp(40px,6vh,72px)}
.story-hero .kicker{margin-bottom:22px}
.story-hero .chapter-numeral{margin:14px 0 22px}
.story-title{font-size:clamp(44px,8vw,104px);line-height:.95;letter-spacing:-.035em;color:var(--ink-strong);max-width:14ch}
.story-opener{font-size:clamp(21px,2.8vw,32px);line-height:1.3;letter-spacing:-.02em;color:var(--ink-strong);
  font-weight:700;max-width:24ch;margin-top:30px}
.story-sub{font-size:18px;line-height:1.6;color:var(--ink-muted);max-width:52ch;margin-top:20px}

/* timeline */
.story-timeline{position:relative;max-width:1100px;margin:0 auto;
  padding:clamp(32px,6vh,72px) clamp(20px,5vw,56px) clamp(40px,7vh,90px)}
.line-track{position:absolute;top:0;bottom:0;left:46%;width:44px;transform:translateX(-22px);z-index:0;pointer-events:none}
.line-track svg{width:44px;height:100%;overflow:visible}
.line-track .track{fill:none;stroke:var(--ink);stroke-opacity:.25;stroke-width:1}
.line-track .draw{fill:none;stroke:var(--ink);stroke-opacity:.55;stroke-width:1.5}
.line-track .tip{fill:var(--ruby)}
@media (prefers-reduced-motion:reduce){.line-track .tip{display:none}}
/* T2 Story scrub: a tick at each chapter boundary; ink until the draw passes it, then ruby */
.line-track .btick{stroke:var(--ink);stroke-opacity:.22;stroke-width:1;
  transition:stroke var(--dur-reveal) var(--ease-settle),stroke-opacity var(--dur-reveal) var(--ease-settle)}
.line-track .btick.passed{stroke:var(--ruby);stroke-opacity:.85}
@media (prefers-reduced-motion:reduce){.line-track .btick{transition:none}}
/* T2 Story scrub: a faint current-chapter numeral in the margin; cross-fades at each boundary */
.scrub-ghost{position:fixed;left:clamp(10px,3.5vw,38px);top:50%;transform:translateY(-50%);
  font-family:var(--mono);font-weight:500;font-size:clamp(64px,9vw,132px);line-height:1;letter-spacing:-.03em;
  color:var(--ink);opacity:0;pointer-events:none;z-index:0;transition:opacity var(--dur-reveal) var(--ease-settle)}
.scrub-ghost.on{opacity:.08}
@media (prefers-reduced-motion:reduce){.scrub-ghost{transition:none}}
@media (max-width:860px){.scrub-ghost{display:none}}

/* stations always read LEFT-aligned; a 40px clear gap to the hairline both
   sides (line sits at 46%): left block ends 40px before it, right starts 40px after */
.station{position:relative;z-index:1;margin-bottom:clamp(32px,6vh,80px)}
.station:last-child{margin-bottom:0}
.station--left{width:calc(46% - 48px);text-align:left}
.station--right{margin-left:calc(46% + 48px);width:calc(54% - 48px)}
.station-tag{font-family:var(--mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;
  color:var(--ink-soft);margin-bottom:14px;display:inline-block;position:relative}
/* station acknowledgement: the drawing line's tip passing a station slides an
   ink underline under its tag (left-to-right, latched). Motion artifact only. */
.station-tag::after{content:"";position:absolute;left:0;bottom:-3px;width:100%;height:1px;
  background:var(--ink);transform:scaleX(0);transform-origin:left;transition:transform var(--dur-micro) var(--ease-settle)}
.station.acked .station-tag::after{transform:scaleX(1)}
@media (prefers-reduced-motion:reduce){.station-tag::after{display:none}}
.station h2{font-size:clamp(26px,3.4vw,42px);letter-spacing:-.03em;color:var(--ink-strong);line-height:1.05;margin-bottom:20px}
.station p{margin-bottom:20px;font-size:17.5px;line-height:1.7;color:var(--ink)}
.station p:last-child{margin-bottom:0}
.station strong{font-weight:700;color:var(--ink-strong)}
.station blockquote.pull-quote{margin:26px 0;padding:0 22px;border-left:2px solid var(--hair-strong)}
.station blockquote.pull-quote p{font-size:clamp(21px,2.6vw,30px);line-height:1.2;letter-spacing:-.02em;
  font-weight:900;color:var(--ink-strong)}
.station figure.story-image{margin:26px 0}
.station figure.story-image picture{display:block}
.station figure.story-image img{width:100%;height:auto;border-radius:2px;box-shadow:0 1px 2px rgba(20,16,8,.2),0 14px 34px rgba(20,16,8,.12)}
.station figure.story-image figcaption{margin-top:10px;font-family:var(--mono);font-size:10.5px;
  letter-spacing:.06em;color:var(--ink-soft);text-transform:uppercase}
.station ul{margin:0 0 20px 1.1em}
.station li{margin-bottom:7px;line-height:1.6}
.station video{width:100%;border-radius:4px;margin:20px 0;box-shadow:0 4px 12px rgba(20,16,8,.12)}
.station hr{display:none}

.story-foot{max-width:640px;margin:0 auto;padding:clamp(40px,7vh,80px) clamp(20px,6vw,72px);
  border-top:1px solid var(--hair)}
.story-foot p{font-size:17px;line-height:1.6;color:var(--ink-muted);max-width:48ch;margin-bottom:24px}
.story-foot a{color:var(--ink-strong);text-decoration:none;font-weight:700;font-size:17px;
  border-bottom:1px solid rgba(190,18,60,.32);padding-bottom:3px;
  background-image:linear-gradient(var(--ruby),var(--ruby));background-repeat:no-repeat;background-position:0 100%;background-size:0 2px;
  transition:background-size var(--dur-micro) var(--ease-settle)}
.story-foot a:hover,.story-foot a:focus-visible{background-size:100% 2px}

/* ============================================================
   NOW - "The Ticker"
   ============================================================ */
.ticker{max-width:720px;margin:0 auto;padding:clamp(112px,18vh,190px) clamp(20px,6vw,40px) clamp(64px,12vh,150px)}
.ticker-stamp{margin-bottom:clamp(48px,9vh,110px)}
.ticker-stamp .tag{font-family:var(--mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--ink-soft);display:flex;align-items:center;gap:12px;margin-bottom:18px}
/* T2 Now: STATIC ruby freshness dot (no pulse - pulse rings are DNA-banned); rendered at build
   time only when lastUpdatedISO is within 30 days. Inline-block so it sits on the tag baseline. */
.ticker-stamp .tag .fresh-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--ruby);vertical-align:middle;margin-right:2px}
/* relative "last updated" phrase (JS-filled, natural case) + live Singapore clock (JS-filled) */
.ticker-stamp .tag .ticker-rel{text-transform:none;letter-spacing:0;color:var(--ink-muted)}
.ticker-from .ticker-clock{color:var(--ink-soft)}
.ticker-date{font-family:var(--mono);font-weight:500;font-size:clamp(28px,5vw,64px);letter-spacing:-.02em;
  color:var(--ink-strong);line-height:1.02}
.ticker-from{font-family:var(--mono);font-size:12px;letter-spacing:.06em;color:var(--ink-muted);margin-top:16px}

.readout{padding:clamp(28px,4vh,40px) 0;border-top:1px solid var(--hair)}
.readout-label{font-family:var(--mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--ink-soft);display:flex;justify-content:space-between;margin-bottom:22px;position:relative}
.readout-label .count{color:var(--ink-muted)}
/* hairline under the label draws left-to-right on reveal (abs-positioned, out of flex flow) */
.readout-label::after{content:"";position:absolute;left:0;bottom:-11px;width:100%;height:1px;
  background:var(--hair);transform:scaleX(1);transform-origin:left;transition:transform var(--dur-scene) var(--ease-settle)}
.has-js .readout-label::after{transform:scaleX(0)}
.has-js .readout-label.in-view::after{transform:scaleX(1)}
@media (prefers-reduced-motion:reduce){.readout-label::after{transition:none}}
.readout-row{display:flex;gap:16px;padding:12px 0}
.readout-row+.readout-row{border-top:1px solid var(--hair)}
.readout-num{font-family:var(--mono);font-size:12px;color:var(--ink-soft);flex:none;width:24px;padding-top:4px}
.readout-name{font-weight:900;font-size:19px;letter-spacing:-.02em;color:var(--ink-strong)}
.readout-tag{font-family:var(--mono);font-size:10px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--ink-soft);margin-left:10px}
.readout-body{font-size:16px;line-height:1.6;color:var(--ink-muted);margin-top:5px}
.readout-line{font-size:17px;line-height:1.62;color:var(--ink)}
.readout--obsession .readout-line{font-weight:900;font-size:clamp(21px,3vw,30px);letter-spacing:-.03em;
  line-height:1.18;color:var(--ink-strong);max-width:22ch}
.ticker-cursor{display:inline-block;font-family:var(--mono);color:var(--ink);opacity:.55;font-weight:700;
  margin-left:2px;animation:blink 1.1s step-end infinite}
@keyframes blink{50%{opacity:0}}
@media (prefers-reduced-motion:reduce){.ticker-cursor{animation:none}}

/* ============================================================
   WRITING - "The Index" (list) + article
   ============================================================ */
.index{max-width:960px;margin:0 auto;padding:clamp(112px,18vh,190px) clamp(20px,6vw,72px) clamp(64px,12vh,150px)}
.index-head{margin-bottom:clamp(40px,7vh,80px)}
.index-head .kicker{margin-bottom:22px}
.index-title{font-size:clamp(44px,8vw,96px);line-height:.95;letter-spacing:-.035em;color:var(--ink-strong)}
.index-dek{font-size:clamp(18px,2vw,22px);line-height:1.45;color:var(--ink-muted);max-width:46ch;margin-top:24px}
.index-list{list-style:none;border-top:1px solid var(--hair)}
.index-row{border-bottom:1px solid var(--hair)}
.index-row a{display:block;text-decoration:none;color:inherit;padding:clamp(26px,4vh,40px) 0;
  transition:transform var(--dur-micro) var(--ease-settle)}
.index-row a:hover{transform:translateX(6px)}
.index-meta{font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--ink-soft);display:flex;gap:14px;margin-bottom:12px}
.index-row-title{font-weight:700;font-size:clamp(22px,3vw,36px);letter-spacing:-.025em;line-height:1.08;
  color:var(--ink-strong);display:inline;background-image:linear-gradient(var(--ruby),var(--ruby));
  background-repeat:no-repeat;background-position:0 100%;background-size:0 2px;padding-bottom:4px;
  transition:background-size var(--dur-micro) var(--ease-settle)}
.index-row a:hover .index-row-title{background-size:100% 2px}
.index-dek-row{display:block;font-size:16px;line-height:1.55;color:var(--ink-muted);max-width:60ch;margin-top:12px}
.index-empty{font-family:var(--mono);font-size:14px;color:var(--ink-soft);padding:40px 0}

/* article */
.article{max-width:760px;margin:0 auto;padding:clamp(112px,18vh,190px) clamp(20px,6vw,40px) clamp(64px,12vh,150px)}
.article-meta{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--ink-soft);display:flex;flex-wrap:wrap;gap:14px;margin-bottom:26px}
.article-meta .tag{color:var(--ink);opacity:.6}
.article-title{font-size:clamp(32px,5.4vw,60px);line-height:1.0;letter-spacing:-.035em;color:var(--ink-strong);max-width:20ch}
.article-lede{font-size:clamp(18px,2vw,22px);line-height:1.45;color:var(--ink-muted);max-width:46ch;margin-top:24px}
.article-hero{margin:clamp(36px,6vh,60px) 0}
.article-hero img{width:100%;border-radius:3px;box-shadow:0 1px 2px rgba(20,16,8,.18),0 14px 34px rgba(20,16,8,.1)}
/* post #3 hero motion pilot (heroMotion:true, opt-in via .hero-motion) - restrained editorial push-in, single post only */
.article-hero.hero-motion{overflow:hidden;border-radius:3px;box-shadow:0 1px 2px rgba(20,16,8,.18),0 14px 34px rgba(20,16,8,.1)}
.article-hero.hero-motion img{border-radius:3px;box-shadow:none;animation:heroPushIn 7s var(--ease-settle) infinite alternate}
@keyframes heroPushIn{
  0%{transform:scale(1.00)}
  100%{transform:scale(1.03)}
}
@media (prefers-reduced-motion:reduce){
  .article-hero.hero-motion img{animation:none;transform:none}
}
.article-body{max-width:68ch;margin-top:clamp(36px,6vh,56px);font-size:18px;line-height:1.65}
.article-body>p{margin-bottom:24px;color:var(--ink)}
.article-body>p:first-of-type::first-letter{font-weight:900;font-size:3.4em;line-height:.82;
  float:left;margin:6px 12px 0 0;color:var(--ink);opacity:.6}
.article-body h2{font-size:clamp(24px,3.2vw,34px);letter-spacing:-.03em;color:var(--ink-strong);
  margin:clamp(40px,6vh,64px) 0 20px;line-height:1.08}
.article-body h3{font-size:20px;margin:36px 0 14px;color:var(--ink-strong)}
.article-body strong{font-weight:700;color:var(--ink-strong)}
.article-body em{font-style:italic}
.article-body a{color:var(--ink-strong);text-decoration:none;font-weight:700;
  border-bottom:1px solid rgba(190,18,60,.32);padding-bottom:1px;
  background-image:linear-gradient(var(--ruby),var(--ruby));background-repeat:no-repeat;background-position:0 100%;background-size:0 2px;
  transition:background-size var(--dur-micro) var(--ease-settle)}
.article-body a:hover,.article-body a:focus-visible{background-size:100% 2px}
.article-body blockquote.pull-quote{margin:clamp(36px,5vh,56px) 0;padding-left:24px;border-left:2px solid var(--ruby);max-width:26ch}
.article-body blockquote.pull-quote p{font-size:clamp(23px,3.2vw,34px);line-height:1.18;letter-spacing:-.03em;
  font-weight:900;color:var(--ink-strong)}
.article-body ul,.article-body ol{margin:0 0 24px 1.2em}
.article-body li{margin-bottom:9px;line-height:1.6}
/* embedded editorial figures in the two seed posts */
.article-body figure{margin:clamp(36px,6vh,60px) 0}
.article-body figure img{width:100%;border-radius:3px}
.article-body figcaption{margin-top:12px;font-family:var(--mono);font-size:11px;letter-spacing:.05em;
  color:var(--ink-soft);text-align:center}
.thesis-rail{list-style:none;border-top:1px solid var(--hair)}
.thesis-step{display:flex;gap:16px;padding:18px 0;border-bottom:1px solid var(--hair);align-items:baseline}
.thesis-num{font-family:var(--mono);font-size:12px;color:var(--ink-soft);flex:none;width:26px}
.thesis-step--keep .thesis-num{color:var(--ink);opacity:.6}
.thesis-label{font-size:17px;line-height:1.5;color:var(--ink)}
.thesis-cap{text-align:left!important}
.rag-compare{display:grid;grid-template-columns:1fr auto 1fr;gap:20px;align-items:center;
  border:1px solid var(--hair);border-radius:4px;padding:26px 22px}
.rag-compare-col{text-align:center}
.rag-compare-col.is-rag h4{color:var(--ink-strong)}
.rag-compare-label{font-family:var(--mono);font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-soft)}
.rag-compare-icon{width:72px;height:58px;margin:12px auto 10px}
.rag-compare-icon .stroke{fill:none;stroke:var(--ink);stroke-width:2;stroke-opacity:.5}
.rag-compare-icon .accent{fill:none;stroke:var(--ruby);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.rag-compare-col h4{font-size:15px;margin-bottom:4px}
.rag-compare-col p{font-size:13px;color:var(--ink-muted);line-height:1.4}
.rag-compare-divider span{font-family:var(--mono);font-size:11px;color:var(--ink-soft);text-transform:uppercase}
.article-foot{max-width:68ch;margin:clamp(48px,8vh,88px) auto 0;padding-top:clamp(32px,5vh,48px);border-top:1px solid var(--hair);
  display:flex;gap:26px}
.article-foot a{font-family:var(--mono);font-size:13px;letter-spacing:.06em;text-transform:uppercase;
  color:var(--ink-soft);text-decoration:none;transition:color var(--dur-micro) var(--ease-settle)}
.article-foot a:hover{color:var(--ruby)}

/* ============================================================
   responsive
   ============================================================ */
@media (max-width:860px){
  /* About: rail collapses to a mono fact strip above content */
  .dossier{grid-template-columns:1fr;gap:32px;padding-top:clamp(100px,15vh,160px)}
  .dossier-rail{position:static;top:auto}
  .dossier-index{display:none}
  .dossier-strip{display:flex;flex-wrap:wrap;gap:10px 20px;border-top:1px solid var(--hair);
    border-bottom:1px solid var(--hair);padding:16px 0;margin-top:18px}
  .dossier-strip span{font-family:var(--mono);font-size:11px;letter-spacing:.06em;color:var(--ink-soft)}
  .dossier-strip b{color:var(--ink-strong);font-weight:700}
  /* Story: line hugs left (~20px); all stations right of it with a 40px clear gap.
     left:20px keeps the base transform:translateX(-22px), so the drawn line lands
     ~20px from the timeline edge; station margin-left:40px puts text 40px past it. */
  .line-track{left:20px}
  .station,.station--left,.station--right{width:auto;margin-left:40px;margin-right:0;text-align:left}
  .station figure.story-image{margin-left:0}
}
@media (max-width:560px){
  body{font-size:17px}
  .chapter-nav{gap:12px}
  .chapter-nav a{font-size:10.5px;letter-spacing:.05em}
  .rag-compare{grid-template-columns:1fr;gap:14px}
  .rag-compare-divider{display:none}
  .article-body>p:first-of-type::first-letter{font-size:3em}
}
@media (max-width:400px){
  .chapter-header .wordmark{font-size:17px}
  .chapter-nav a{font-size:9.5px}
}
