/*
VOICE: calm, exact, documentary. A record, not a rant.
IDEA: a case file being compiled — pages with redaction bars and one highlighted line.
PICTURE: a stack of drawn document sheets; bars mark what's not yet published.
COLOUR and TYPE: white ground, graphite ink, highlighter yellow for the one thing that matters. Archivo (condensed) for titles, Source Serif 4 for reading.
LAYOUT: one centred reading column; full-width bands; a single-row nav that wraps.
*/
:root{
  color-scheme:light dark;
  --bg:light-dark(#ffffff,#16181b);
  --ink:light-dark(#1d1f22,#e9e9e6);
  --soft:light-dark(#5b5f66,#a4a8ae);
  --rule:light-dark(#e3e4e6,#2c2f34);
  --panel:light-dark(#f3f4f5,#1e2125);
  --mark:#ffe14d;
  --bar:light-dark(#1d1f22,#e9e9e6);
  --sheet:light-dark(#ffffff,#24272c);
}
:root[data-theme=light]{color-scheme:light}
:root[data-theme=dark]{color-scheme:dark}
*{box-sizing:border-box;min-width:0}
html{scroll-padding-top:72px}
body{margin:0;background:var(--bg);color:var(--ink);font:17px/1.65 "Source Serif 4",Georgia,serif;overflow-x:clip}
a{color:inherit;text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{text-decoration-color:var(--mark);text-decoration-thickness:3px}
a:focus-visible,button:focus-visible{outline:3px solid var(--mark);outline-offset:3px;border-radius:2px}
.wrap{max-width:1180px;margin:0 auto;padding:0 max(5vw,16px)}
.read{max-width:680px}
h1,h2,h3,.brand,nav,.label{font-family:"Archivo","Arial Narrow",system-ui,sans-serif;font-stretch:80%}
h1{font-size:clamp(36px,6vw,56px);line-height:1.04;font-weight:800;margin:0 0 18px;text-wrap:balance;letter-spacing:-.01em}
h2{font-size:clamp(26px,3.4vw,34px);line-height:1.1;font-weight:750;margin:0 0 14px;text-wrap:balance}
h3{font-size:21px;line-height:1.2;font-weight:700;margin:0 0 6px}
p{margin:0 0 1em}
.lede{font-size:clamp(18px,2vw,21px);color:var(--soft);max-width:34em}
mark{background:linear-gradient(transparent 12%,var(--mark) 12%,var(--mark) 88%,transparent 88%);color:#1d1f22;padding:0 .15em}

/* header */
.top{border-bottom:1px solid var(--rule);background:var(--bg)}
.top .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 24px;min-height:64px;padding-block:10px}
.brand{font-size:22px;font-weight:800;text-decoration:none;display:flex;align-items:center;gap:10px}
.brand i{display:inline-block;width:22px;height:12px;background:var(--bar)}
nav{display:flex;flex-wrap:wrap;gap:4px 6px;font-size:17px;font-weight:600}
nav a{text-decoration:none;padding:10px 10px;border-radius:4px}
nav a[aria-current]{background:var(--mark);color:#1d1f22}

/* hero */
.hero{padding:clamp(36px,6vw,84px) 0}
.hero .wrap{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(24px,5vw,72px);align-items:center}
.status{display:inline-flex;align-items:center;gap:10px;font:600 15px/1 "Archivo",system-ui,sans-serif;font-stretch:85%;color:var(--soft);margin-bottom:22px}
.status b{width:10px;height:10px;border-radius:50%;background:var(--mark);box-shadow:0 0 0 3px light-dark(#1d1f22,#e9e9e6) inset}
.fig{position:relative;aspect-ratio:5/4;width:100%}
.fig svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.sheet{fill:var(--sheet);stroke:var(--rule)}
.ln{fill:var(--rule)}
.rd{fill:var(--bar)}
.hl{fill:var(--mark);transform-box:fill-box;transform-origin:left;animation:sweep 1.1s .5s cubic-bezier(.6,0,.2,1) both}
@keyframes sweep{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media(prefers-reduced-motion:reduce){.hl{animation:none}}

/* bands */
.band{padding:clamp(36px,5vw,72px) 0;border-top:1px solid var(--rule)}
.band.alt{background:var(--panel);border-top:0}
.cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,3vw,40px)}
.cols p{color:var(--soft);font-size:16px}
.label{font-size:15px;font-weight:600;color:var(--soft);margin-bottom:8px;display:block}

/* posts list */
.posts{list-style:none;margin:0;padding:0;border-top:2px solid var(--ink)}
.posts li{border-bottom:1px solid var(--rule);padding:22px 0;display:grid;grid-template-columns:9em minmax(0,1fr);gap:8px 24px}
.posts time{font:600 15px/1.6 "Archivo",system-ui,sans-serif;font-stretch:85%;color:var(--soft);white-space:nowrap}
.posts p{color:var(--soft);margin:0}
.empty{padding:28px 0;color:var(--soft)}
.empty .bars{display:grid;gap:10px;margin-bottom:18px;max-width:420px}
.empty .bars span{height:12px;background:var(--rule);border-radius:2px}

/* article */
.article{padding:clamp(32px,5vw,64px) 0}
.meta{font:600 15px/1.5 "Archivo",system-ui,sans-serif;font-stretch:85%;color:var(--soft);margin-bottom:28px}
.article h2{margin-top:1.6em}
.article blockquote{margin:1.4em 0;padding:4px 0 4px 20px;border-left:4px solid var(--mark);font-size:19px}
.article figure{margin:1.6em 0}
.article figcaption{font-size:14px;color:var(--soft);margin-top:6px}
.article img{max-width:100%;height:auto;display:block}
sup a{text-decoration:none;font-family:"Archivo",system-ui,sans-serif;font-weight:700;padding:0 2px}
.notes{font-size:15px;color:var(--soft);border-top:1px solid var(--rule);padding-top:18px;margin-top:2.4em}
.notes li{margin-bottom:8px;overflow-wrap:anywhere}
.note-box{background:var(--panel);padding:16px 18px;border-radius:4px;font-size:15px;color:var(--soft);margin-bottom:28px}

/* footer */
.foot{border-top:1px solid var(--rule);padding:28px 0 40px;font-size:15px;color:var(--soft)}
.foot .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 24px}

@media(max-width:800px){
  .hero .wrap{grid-template-columns:minmax(0,1fr)}
  .fig{max-width:460px}
  .cols{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:600px){
  .posts li{grid-template-columns:minmax(0,1fr)}
  nav{font-size:16px}
}
