@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/archivo-normal-600_800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/archivo-normal-600_800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibmplexmono-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibmplexmono-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibmplexmono-normal-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibmplexmono-normal-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/sourceserif4-italic-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/sourceserif4-italic-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/sourceserif4-normal-400_600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/sourceserif4-normal-400_600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root{
  --bg:#0D1210;--surface:#161D1A;--ink:#EEF1E8;--mut:#A9B5AA;--line-soft:#2B3631;--rule:#3A4741;
  --outlaw:#FF7A5C;--outlaw-mark:#FF7A5C;--law:#8FC1E3;--hi:#D8F25A;
  --col:34rem;--gut:3rem;--stage-h:100vh;
  --disp:"Archivo",system-ui,sans-serif;--body:"Source Serif 4",Georgia,serif;--mono:"IBM Plex Mono",ui-monospace,monospace;
  color-scheme:dark;
}
html.light{
  --bg:#DCE6DA;--surface:#E9F0E6;--ink:#10201A;--mut:#33473D;--line-soft:#B4C4B4;--rule:#9DB09F;
  --outlaw:#8C1408;--outlaw-mark:#D42A12;--law:#123F73;--hi:#D42A12;
  color-scheme:light;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:56px}
body{margin:0;background:var(--bg);color:var(--ink);font:400 19px/1.58 var(--body);font-optical-sizing:auto}
html.light body{background-image:repeating-linear-gradient(to bottom,transparent 0 29px,color-mix(in srgb,var(--law) 6%,transparent) 29px 30px);background-attachment:local}
a{color:inherit;text-decoration-color:var(--outlaw);text-underline-offset:.18em;text-decoration-thickness:1px}
a:hover{color:var(--outlaw)}
:focus-visible{outline:2px solid var(--hi);outline-offset:2px}
html.light :focus-visible{outline-color:var(--law)}
.skip{position:absolute;left:-999px;top:0;background:var(--ink);color:var(--bg);padding:.5rem 1rem;z-index:99}
.skip:focus{left:1rem;top:1rem}

/* ---------- topbar ---------- */
.topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:1rem;height:calc(44px + var(--browser-safe-top,env(safe-area-inset-top,0px)));padding:var(--browser-safe-top,env(safe-area-inset-top,0px)) 1rem 0;background:var(--bg);border-bottom:1px solid var(--line-soft);font:500 12.5px/1 var(--mono);letter-spacing:.02em}
.topbar .home{display:flex;align-items:center;gap:.5rem;text-decoration:none;color:var(--ink)}
.topbar .home svg{width:22px;height:12px}
.topnav{display:flex;gap:1rem;overflow:hidden}
.topnav a{text-decoration:none;color:var(--mut);white-space:nowrap}
.topnav a:hover{color:var(--ink)}
html.past-hero .topnav{opacity:0;pointer-events:none}
.spacer{flex:1}
.topbar .lang{text-decoration:none;color:var(--mut)}
.icon-btn{background:none;border:1px solid var(--line-soft);color:var(--ink);width:32px;height:32px;border-radius:50%;display:grid;place-items:center;cursor:pointer}
.progress{position:absolute;left:0;right:0;bottom:-1px;height:1px}
.progress i{display:block;height:1px;background:var(--outlaw-mark);transform-origin:0 50%;transform:scaleX(0)}

/* ---------- layout: text column + sticky stage ---------- */
.story{position:relative}
.stage{position:sticky;top:calc(44px + var(--browser-safe-top,env(safe-area-inset-top,0px)));height:calc(var(--vh,1vh)*36);z-index:5;background:var(--bg);border-bottom:1px solid var(--line-soft)}
.stage svg{width:100%;height:100%;display:block;overflow:visible}
.steps{position:relative;z-index:6}
@media (min-width:1000px){
  .story{display:grid;grid-template-columns:minmax(0,calc(var(--col) + 6rem)) 1fr}
  .stage{grid-column:2;grid-row:1;top:calc(44px + var(--browser-safe-top,env(safe-area-inset-top,0px)));height:calc(var(--vh,1vh)*100 - 44px - var(--browser-safe-top,env(safe-area-inset-top,0px)));border:0;background:none}
  .steps{grid-column:1;grid-row:1;padding:0 2.5rem 0 max(2rem,calc(50vw - 46rem))}
}

/* ---------- stage drawing ---------- */
#law{fill:none;stroke:var(--law);stroke-width:2.2;vector-effect:non-scaling-stroke}
#outlaw{fill:none;stroke:var(--outlaw-mark);stroke-width:3.4;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
#ghost{fill:none;stroke:var(--outlaw-mark);stroke-width:1.4;stroke-dasharray:3 5;vector-effect:non-scaling-stroke;transition:opacity .3s}
#trail{fill:none;stroke:var(--hi);stroke-width:1.2;opacity:.7;vector-effect:non-scaling-stroke}
html.light #trail{stroke:var(--law)}
svg[data-s="self"] #outlaw{stroke-dasharray:2 7;stroke-width:3.8}
svg[data-s="vhs"] #law{opacity:.25}
.ov{opacity:0;transition:opacity .55s ease;pointer-events:none}
svg[data-s="hero"] .ov-hero,svg[data-s="end"] .ov-end,svg[data-s="bandit"] .ov-bandit,svg[data-s="code"] .ov-code,svg[data-s="family"] .ov-family,svg[data-s="home"] .ov-home,svg[data-s="vhs"] .ov-vhs,svg[data-s="play"] .ov-play,svg[data-s="self"] .ov-self,svg[data-s="dispute"] .ov-dispute,svg[data-s="numbers"] .ov-numbers,svg[data-s="year"] .ov-year{opacity:1}
.ov text,.lbl-mono{font:500 16px var(--mono);fill:var(--mut);letter-spacing:.04em}
.ov .big{font:800 34px var(--disp);font-stretch:62%;fill:var(--ink);letter-spacing:.01em}
.ov .o{fill:var(--outlaw)}
.ov .l{fill:var(--law)}
.ov .k{fill:var(--ink)}
.hatch line{stroke:var(--ink);stroke-width:1.1;opacity:.5}
.rail::before{display:none}
.ls{fill:var(--ink)}
.fp-bar{stroke:var(--outlaw-mark);stroke-width:2}
.fp-dot{fill:var(--outlaw-mark)}
.gap-hatch{fill:url(#hatch-hi)}
.hatch-hi line{stroke:var(--hi);stroke-width:1.4}
.ticks line{stroke:var(--outlaw-mark);stroke-width:2}
.relmark line{stroke:var(--mut);stroke-dasharray:2 3}
html.intro #law,html.intro #outlaw{stroke-dasharray:1;stroke-dashoffset:1;animation:draw 1.3s cubic-bezier(.6,0,.2,1) forwards}
html.intro #outlaw{animation-delay:.75s;animation-duration:1.6s}
html.intro .ov-hero{transition-delay:1.6s}
@keyframes draw{to{stroke-dashoffset:0}}
@media (prefers-reduced-motion:reduce){html.intro #law,html.intro #outlaw{animation:none;stroke-dasharray:none}.ov,#ghost{transition:none}}

/* ---------- text steps ---------- */
.step{padding:22vh 0 18vh;max-width:var(--col);min-height:80vh}
.step:first-child{padding-top:9vh}
.hero h1{font:800 clamp(46px,7.4vw,104px)/.92 var(--disp);font-stretch:62%;text-transform:uppercase;margin:.2em 0 .25em;letter-spacing:.005em}
.hero h1 .sub{display:block;font-size:.42em;line-height:1.05;font-weight:600;color:var(--mut);margin-top:.4em;text-transform:none;font-stretch:75%}
.kicker,.tag{font:500 12.5px/1.4 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--outlaw);margin:0}
.deck{font-size:clamp(20px,1.7vw,25px);line-height:1.4;margin:0 0 1rem}
.step h2{font:800 clamp(32px,3.6vw,54px)/.98 var(--disp);font-stretch:62%;text-transform:uppercase;margin:.25em 0 .6em}
.step p{margin:0 0 1em}
.step em{font-style:italic}
.q{font-style:italic;border-left:2px solid var(--outlaw-mark);padding-left:1rem;color:var(--ink)}
.q cite{display:block;font:400 12.5px/1.5 var(--mono);font-style:normal;color:var(--mut);margin-top:.3rem}
.box{background:var(--surface);border:1px solid var(--line-soft);padding:1rem 1.2rem;margin:1.5rem 0;font-size:17px}
.box h3{font:600 13px/1.3 var(--mono);text-transform:uppercase;letter-spacing:.06em;margin:0 0 .5rem;color:var(--law)}
.box p:last-child{margin:0}
.scroll-cue{font:500 12px var(--mono);color:var(--mut);margin-top:2rem}
.scroll-cue::after{content:" ↓"}

/* ---------- archival plates (line-screen) ---------- */
.plate{margin:1.6rem 0;position:relative;cursor:pointer;max-width:22rem}
.plate .scr{display:block;width:100%;height:auto;background:var(--surface);border:1px solid var(--rule)}
.plate .scr path{fill:var(--ink)}
.plate img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .35s;filter:grayscale(1);border:1px solid var(--rule)}
.plate.orig img{opacity:1}
.plate figcaption{font:400 12px/1.45 var(--mono);color:var(--mut);padding:.45rem 0 0;border-top:1px solid var(--rule);margin-top:.35rem}
.plate figcaption b{color:var(--ink);font-weight:500}
.plates{display:flex;gap:.8rem;flex-wrap:wrap}
.plates .plate{flex:1 1 9rem;max-width:12rem;margin:.6rem 0}

/* ---------- charts in flow ---------- */
.chart{margin:1.8rem 0}
.chart h3{font:600 13px/1.35 var(--mono);text-transform:uppercase;letter-spacing:.05em;margin:0 0 .3rem}
.chart .sub{font-size:15px;color:var(--mut);margin:0 0 .8rem}
.dumb{width:100%;height:auto;overflow:visible}
.dumb text{font:400 12.5px var(--mono);fill:var(--mut)}
.dumb .gname{fill:var(--ink)}
.dumb .crime .gname{fill:var(--outlaw);font-weight:500}
.dumb .track{stroke:var(--line-soft);stroke-width:1}
.dumb .seg{stroke:var(--mut);stroke-width:2}
.dumb .crime .seg{stroke:var(--outlaw-mark);stroke-width:3.5}
.dumb .made{fill:var(--bg);stroke:var(--law);stroke-width:2}
.dumb .watched{fill:var(--mut)}
.dumb .crime .watched{fill:var(--outlaw-mark)}
.dumb .axis line{stroke:var(--line-soft)}
.legend{display:flex;gap:1.2rem;font:400 12.5px var(--mono);color:var(--mut);margin:.4rem 0 0;padding:0;list-style:none;flex-wrap:wrap}
.legend i{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:.4rem;vertical-align:-1px}
.legend .m{border:2px solid var(--law)}
.legend .w{background:var(--outlaw-mark)}
details.twin{font-size:15px;margin-top:.6rem}
details.twin summary{cursor:pointer;font:500 12.5px var(--mono);color:var(--mut)}
table{border-collapse:collapse;width:100%;font:400 13px/1.5 var(--mono)}
th,td{text-align:left;padding:.25rem .4rem;border-bottom:1px solid var(--line-soft)}
td.n,th.n{text-align:right;font-variant-numeric:tabular-nums}

/* ---------- forest plot (in flow) ---------- */
.forest{width:100%;height:auto}
.forest text{font:400 12.5px var(--mono);fill:var(--mut)}
.forest .nm{fill:var(--ink)}
.forest .zero{stroke:var(--law);stroke-width:1.6}
.forest .ci{stroke:var(--outlaw-mark);stroke-width:2.2}
.forest .pt{fill:var(--outlaw-mark)}
.forest .grid{stroke:var(--line-soft)}

/* ---------- the reader's year ---------- */
.yr form{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap;margin:1.2rem 0}
.yr label{font:500 13px var(--mono);color:var(--mut);width:100%}
.yr input{font:500 22px var(--mono);width:7.5ch;padding:.4rem .6rem;background:var(--surface);color:var(--ink);border:1px solid var(--rule);border-radius:2px}
.btn{font:500 13px var(--mono);background:none;color:var(--ink);border:1px solid var(--rule);padding:.55rem .9rem;border-radius:2px;cursor:pointer;min-height:44px}
.btn.go{background:var(--outlaw-mark);border-color:var(--outlaw-mark);color:var(--bg);font-weight:500}
html.light .btn.go{color:#F4F7F2}
.btn:hover{border-color:var(--ink)}
#yr-out{outline:none}
.yr-head{font:600 14px/1.4 var(--mono);text-transform:uppercase;letter-spacing:.04em;margin:1rem 0 .4rem}
.ledger{list-style:none;margin:0;padding:0;border-top:2px solid var(--outlaw-mark)}
.ledger li{display:grid;grid-template-columns:1.6rem 1fr auto 2.6rem;gap:.5rem;align-items:baseline;padding:.45rem 0;border-bottom:1px solid var(--rule);font-size:17px}
.ledger .n,.ledger .v,.ledger .r{font:400 13px var(--mono);color:var(--mut);font-variant-numeric:tabular-nums}
.ledger .r{text-align:right;color:var(--ink)}
.ledger a{text-decoration-color:var(--rule)}
.yr-note,.yr-msg{font-size:14px;color:var(--mut);margin-top:.6rem}

/* ---------- share + sources + footer ---------- */
.after{max-width:calc(var(--col) + 6rem);padding:3rem 2rem 4rem max(2rem,calc(50vw - 46rem))}
.after h2{font:800 34px/1 var(--disp);font-stretch:62%;text-transform:uppercase;margin:0 0 1rem}
.share-row{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}
.share-row .lbl{font:500 12.5px var(--mono);color:var(--mut);margin-right:.3rem}
.share-row a,.share-row button{width:40px;height:40px;border-radius:50%;border:1px solid var(--line-soft);background:transparent;color:var(--ink);display:grid;place-items:center;cursor:pointer;padding:0}
.share-row a:hover,.share-row button:hover{border-color:var(--outlaw-mark);color:var(--outlaw)}
.share-row svg{width:18px;height:18px}
@media (pointer:coarse){.share-row a,.share-row button{width:44px;height:44px}}
#share-status{font:400 12.5px var(--mono);color:var(--mut);min-height:1.2em}
.sources ol{font-size:14.5px;line-height:1.5;padding-left:1.3rem}
.sources li{margin-bottom:.45rem}
.method{font-size:15px;color:var(--mut)}
footer{display:flex;gap:1.4rem;flex-wrap:wrap;padding:1.4rem 2rem calc(1.4rem + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line-soft);font:400 12.5px var(--mono);color:var(--mut)}
footer a{color:var(--mut)}

/* ---------- rail ---------- */
.rail{position:fixed;left:auto;right:14px;top:50%;transform:translateY(-50%);display:none;flex-direction:column;gap:10px;z-index:20;opacity:0;transition:opacity .4s}
html.past-hero .rail{opacity:1}
.rail a{width:8px;height:8px;border-radius:50%;border:1px solid var(--mut);position:relative;display:block}
.rail a[aria-current]{background:var(--outlaw-mark);border-color:var(--outlaw-mark)}
.rail a span{position:absolute;right:16px;top:50%;transform:translateY(-50%);white-space:nowrap;font:400 11.5px var(--mono);color:var(--ink);background:var(--surface);padding:.15rem .4rem;opacity:0;pointer-events:none}
.rail a:hover span,.rail a:focus-visible span{opacity:1}
@media (min-width:1280px){.rail{display:flex}.stage{margin-right:48px}}
.ov text{paint-order:stroke;stroke:var(--bg);stroke-width:5px;stroke-linejoin:round}
.to-top-x.left{left:auto!important;right:max(1rem,env(safe-area-inset-right))!important}

/* ---------- phone ---------- */
@media (max-width:999px){
  .stage{z-index:7}
  .ov text{font-size:30px}
  .ov .big{font-size:58px}
  .ov-numbers .big{font-size:46px}
  .ov-code text:not(:first-child),.ov-code .colon,.ov-family text:not(.o),.ov-play text,.ov-dispute .note{display:none}
  .ov-dispute text.o{font-size:24px}
  body{font-size:17px;line-height:1.6}
  .steps{padding:0 1.15rem}
  .step{padding:12vh 0 10vh;min-height:60vh}
  .step:first-child{padding-top:3vh}
  .topnav{display:none}
  .after{padding:2rem 1.15rem 3rem}
  .ledger li{font-size:16px;grid-template-columns:1.3rem 1fr auto 2.3rem}
  .ledger .v{font-size:11.5px}
}
@media print{.stage,.topbar,.rail,.share-row{display:none}}
