/* Flat editorial identity: local fonts, solid ink, no rendering dependencies. */
:root {
  --bg:#181a20;
  --surface:#23262e;
  --surface-raised:#30333d;
  --text:#ece8e1;
  --muted:#b1aea8;
  --line:#50535d;
  --control-line:#777984;
  --accent:#ad9bd9;
  --mint:#a8bda0;
  --accent-wash:#2c273a;
  --cover-violet:#ad9bd9;
  --cover-sage:#a8bda0;
  --cover-paper:#ece8e1;
  --cover-ink:#22242a;
  --cover-stone:#cbc6bb;
  --cover-lilac:#d5cee1;
  --font:Arial,Helvetica,sans-serif;
  --mono:ui-monospace,"Cascadia Code","SFMono-Regular",Consolas,monospace;
  --max-width:1440px;
  --gutter:clamp(20px,3.5vw,64px);
}
html[data-theme="light"] {
  --bg:#f4f1eb;
  --surface:#eae6df;
  --surface-raised:#dfdbd4;
  --text:#22242a;
  --muted:#615e68;
  --line:#b2adb7;
  --control-line:#827e89;
  --accent:#65508f;
  --mint:#465c40;
  --accent-wash:#e5deef;
}
body { -webkit-font-smoothing:antialiased; font-kerning:normal; }
.eyebrow { font-size:12px; letter-spacing:.065em; }
.header-actions .theme-toggle,.header-actions > details > summary,.nh-landing .signal-toggle { border-color:var(--control-line); }
.header-actions .search-submit { color:var(--bg); background:var(--accent); font-size:13px; }
.header-actions .search-submit:hover { background:var(--mint); color:var(--bg); }
h1,h2,h3,h4 { font-weight:750; }
/* Reserve room around anchors and focus rings without changing reading flow. */
[id] { scroll-margin-top:28px; }
::selection { background:var(--mint); color:var(--bg); }
:focus-visible { outline:3px solid var(--mint); outline-offset:5px; border-radius:0; }
.brand-mark { width:28px; height:28px; flex-basis:28px; transform:none; margin:0; background:var(--accent); clip-path:polygon(0 0,32% 0,68% 65%,68% 0,100% 0,100% 100%,68% 100%,32% 35%,32% 100%,0 100%); }
.brand-mark::before { content:none; }
.brand-mark::after { width:32%; height:100%; border:0; transform:none; top:0; bottom:auto; left:68%; right:auto; background:var(--mint); }
.brand-dot { color:var(--accent); }
.theme-toggle,.search-disclosure>summary,.header-actions>details>summary,
input[type="search"],input[type="text"],input[type="email"],textarea,
input[type="submit"],.search-submit,.button,.donation button,.share-row button,
.story-image,.article-cover img,.donation img,.article-type,.article-toc { border-radius:0; }
.header-actions .search-form { box-shadow:none; border:1px solid var(--text); }
.story-placeholder,.story-image:not(:has(img)),.empty-state { background:var(--surface); }
.story-placeholder::before,.story-placeholder::after,
.story-image:not(:has(img))::before,.story-image:not(:has(img))::after { content:none; }
.cover-orbit { display:none; }
/* Motion is opt-in for fine-pointer desktops in motion.css. */
.theme-toggle:hover,.theme-toggle:focus-visible,.header-actions summary:hover {
  background:var(--text); color:var(--bg); border-color:var(--text);
}
.search-submit:hover,.donation button:hover { filter:none; }
[data-share-status]:empty,[data-copy-status]:empty { display:none; }
@media(max-width:640px) {
  :root { --gutter:20px; }
  .brand-mark { width:24px; height:26px; flex-basis:24px; transform:none; }
}
@media(max-width:359px) { :root { --gutter:16px; } .site-header .brand-mark { display:inline-block; width:20px; height:23px; flex-basis:20px; } }
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; }
}
@media print {
  :root,html[data-theme="light"] { --bg:#fff; --text:#000; --muted:#444; --line:#bbb; --surface:#fff; --accent:#222; --mint:#222; }
}
