/* Capital Catalyst · sub-pages (CV, articles, evidence notes, thank-you, 404)
   The homepage's design language without its 3D interface: the same theme tokens (day, golden hour, night), the glass,
   the corner-bracket tools, the mono kickers and the brand fonts. Content sits in one opaque reading panel; the 3D
   backdrop (/js/world.js) is fixed behind it, and a static gradient stands in when there is no script or no engine.
   Sections: 1 tokens · 2 base and backdrop · 3 top bar · 4 reading panel · 5 prose · 6 footer · 7 page blocks
   (cv, proof, short) · 8 accessibility · 9 print. */

@font-face { font-family: "Fraunces CC"; src: url("/fonts/Fraunces-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* ---------- 1. tokens (copied from css/cc.css; panel glass made more opaque for long reading) */
:root {
  --display: "Space Mono", ui-monospace, Consolas, monospace;
  --text: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, Consolas, monospace;
  --brandface: "Fraunces CC", Georgia, serif;
  --gold: #C8A45C;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --bar-h: 66px;
  /* day */
  --accent: #1E7DC4; --accent-text: #145f9b;
  --ink: #0b1f33; --muted: rgba(11, 31, 51, .72); --soft: rgba(11, 31, 51, .86);
  --line: rgba(11, 31, 51, .14); --hair: rgba(11, 31, 51, .09);
  --glass: rgba(244, 247, 250, .86); --glass-edge: rgba(255, 255, 255, .7);
  --page: rgba(246, 248, 251, .94);          /* the reading panel */
  --bar: rgba(244, 247, 250, .8);            /* the top bar */
  --card: rgba(255, 255, 255, .72);          /* cards and code inside the panel */
  --shadow: 0 40px 90px -36px rgba(8, 30, 60, .5);
  --solid: #0b1f33; --solid-ink: #f4f1ea;
  --bracket: rgba(11, 31, 51, .45);
  --focus-halo: rgba(255, 255, 255, .75);
  --sky: linear-gradient(180deg, #6f8fae 0%, #a3b9ce 45%, #dfe7ee 100%);
}
body.golden {
  --accent: #b5652a; --accent-text: #8c4818; --gold: #c8964c;
  --ink: #2a1a10; --muted: rgba(42, 26, 16, .74); --soft: rgba(42, 26, 16, .86);
  --line: rgba(60, 34, 16, .15); --hair: rgba(60, 34, 16, .1);
  --glass: rgba(251, 240, 226, .86); --glass-edge: rgba(255, 246, 232, .72);
  --page: rgba(251, 242, 230, .94); --bar: rgba(251, 240, 226, .8); --card: rgba(255, 250, 242, .7);
  --shadow: 0 40px 90px -36px rgba(80, 36, 10, .45);
  --solid: #2a1a10; --solid-ink: #fbf1e3;
  --bracket: rgba(60, 34, 16, .45);
  --sky: linear-gradient(180deg, #4d4a55 0%, #b97a54 48%, #f1d6b8 100%);
}
body.night {
  --accent: #4ea3ea; --accent-text: #6cb4ee;
  --ink: #f3f3f1; --muted: rgba(243, 243, 241, .7); --soft: rgba(243, 243, 241, .84);
  --line: rgba(255, 255, 255, .14); --hair: rgba(255, 255, 255, .08);
  --glass: rgba(10, 12, 16, .86); --glass-edge: rgba(255, 255, 255, .1);
  --page: rgba(9, 12, 17, .93); --bar: rgba(9, 11, 15, .8); --card: rgba(255, 255, 255, .045);
  --shadow: 0 40px 80px -30px rgba(0, 0, 0, .9);
  --solid: #f3f3f1; --solid-ink: #08090b;
  --bracket: rgba(255, 255, 255, .55);
  --focus-halo: rgba(0, 0, 0, .8);
  --sky: linear-gradient(180deg, #03050a 0%, #0a111c 50%, #13203a 100%);
}

/* ---------- 2. base and the static backdrop.
   The gradient sits on <html> so the engine's canvas (fixed, behind the content) and its static skyline image
   (html.world-static) can cover it. :has() lets <html> follow the body's theme class. */
*, *::before, *::after { box-sizing: border-box; }
html { background: #a3b9ce linear-gradient(180deg, #6f8fae 0%, #a3b9ce 45%, #dfe7ee 100%) fixed; scroll-padding-top: calc(var(--bar-h) + 20px); -webkit-text-size-adjust: 100%; }
html:has(body.golden) { background: #b97a54 linear-gradient(180deg, #4d4a55 0%, #b97a54 48%, #f1d6b8 100%) fixed; }
html:has(body.night) { background: #0a111c linear-gradient(180deg, #03050a 0%, #0a111c 50%, #13203a 100%) fixed; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  font: 400 17.5px/1.65 var(--text); letter-spacing: -.003em; color: var(--ink);
  background: transparent; -webkit-font-smoothing: antialiased; transition: color .6s;
}
a { color: inherit; }
img, svg, video { max-width: 100%; }

/* ---------- 3. top bar (same parts as the homepage's, on a glass strip because the page scrolls under it) */
.topbar {
  position: sticky; top: 0; z-index: 20; height: var(--bar-h); flex: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 32px 0 30px;
  background: var(--bar); border-bottom: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  transition: background-color .6s, border-color .6s;
}
.brand { position: relative; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 600 18px/1 var(--brandface); letter-spacing: -.01em; white-space: nowrap; }
.brand .logo { width: 26px; height: 26px; flex: none; }
.brand b { font-weight: 600; }
.logo .outer { stroke: #0B1F33; transition: stroke .6s; }
body.night .logo .outer { stroke: #F4F1EA; }
.tools { display: flex; gap: 10px; align-items: center; }
.tool-link { font: 400 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: none; padding: 9px 7px; transition: color .3s; }
.tool-link:hover, .tool-link[aria-current="page"] { color: var(--ink); }
.tool-link[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }
.tools .links { display: flex; gap: 2px; margin-right: 6px; }
.tool .lbl::after { content: "Day"; }                       /* theme name follows the body class, so it is right before pages.js runs */
body.golden .tool .lbl::after { content: "Golden hour"; }
body.night .tool .lbl::after { content: "Night"; }
#motion .lbl::after { content: "Reduce motion"; }

/* HUD tools: square, thin, corner brackets (cc.css) */
.tool {
  --b: var(--bracket);
  display: inline-flex; align-items: center; gap: 9px; border-radius: 0; border: 1px solid var(--hair); cursor: pointer;
  background:
    linear-gradient(var(--b), var(--b)) top left / 9px 1px no-repeat, linear-gradient(var(--b), var(--b)) top left / 1px 9px no-repeat,
    linear-gradient(var(--b), var(--b)) top right / 9px 1px no-repeat, linear-gradient(var(--b), var(--b)) top right / 1px 9px no-repeat,
    linear-gradient(var(--b), var(--b)) bottom left / 9px 1px no-repeat, linear-gradient(var(--b), var(--b)) bottom left / 1px 9px no-repeat,
    linear-gradient(var(--b), var(--b)) bottom right / 9px 1px no-repeat, linear-gradient(var(--b), var(--b)) bottom right / 1px 9px no-repeat,
    var(--glass);
  font: 400 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
  position: relative; min-height: 32px; padding: 9px 13px; transition: box-shadow .3s, color .6s, background-color .6s;
}
.tool:hover, .tool[aria-pressed="true"] { --b: var(--accent); box-shadow: 0 0 24px -8px var(--accent); }
.tool .sun { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(200, 164, 92, .25); transition: all .6s; }
body.golden .tool .sun { background: linear-gradient(#f3a14a 55%, transparent 55%); box-shadow: 0 0 0 3px rgba(243, 161, 74, .28); }
body.night .tool .sun { background: transparent; box-shadow: inset -3px -2px 0 0 #dfe7f2; }
.tool .still { width: 9px; height: 9px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; opacity: .7; }
.tool[aria-pressed="true"] .still { color: var(--accent); opacity: 1; }
html:not(.js) .js-only { display: none; }   /* buttons that need pages.js stay out of a script-less page */

/* buttons: one solid action, quiet outlined ones (cc.css) */
.begin {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border-radius: 8px;
  font: 400 12px/1 var(--mono); letter-spacing: .02em; text-decoration: none; white-space: nowrap; color: var(--ink);
  border: 1px solid var(--line); background: transparent; transition: background .3s, border-color .3s, color .6s;
}
.begin:hover { border-color: var(--soft); }
.begin.primary { background: var(--solid); border-color: var(--solid); color: var(--solid-ink); }
.begin.primary:hover { filter: brightness(1.15); }
.begin.small { min-height: 34px; padding: 0 14px; }

/* ---------- 4. the reading panel: one centred column of opaque glass with the homepage's offset corner brackets */
.read {
  position: relative; z-index: 1; flex: none;
  width: min(760px, calc(100% - 32px)); margin: 44px auto 0; padding: 52px 60px 56px; border-radius: 10px;
  background: var(--page); border: 1px solid var(--glass-edge); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(22px) saturate(1.2); backdrop-filter: blur(22px) saturate(1.2);
  transition: background-color .6s, border-color .6s;
}
.read::before {
  content: ""; position: absolute; inset: -9px; pointer-events: none; --b: var(--accent); opacity: .9;
  background:
    linear-gradient(var(--b), var(--b)) top left / 22px 1px no-repeat, linear-gradient(var(--b), var(--b)) top left / 1px 22px no-repeat,
    linear-gradient(var(--b), var(--b)) bottom right / 22px 1px no-repeat, linear-gradient(var(--b), var(--b)) bottom right / 1px 22px no-repeat;
}
.read:focus { outline: none; }
@keyframes cc-rise { from { transform: translateY(12px); } }   /* movement only: the text is visible from the first frame */
@media (prefers-reduced-motion: no-preference) { html:not(.reduce-motion) .read { animation: cc-rise .7s var(--ease) both; } }

/* ---------- 5. prose inside the panel */
.kicker, .read .tag, .read .k {
  margin: 0 0 18px; font: 400 12px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.kicker::after, .read .tag::after, .read .k::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 10px; background: var(--accent); vertical-align: 1px; }
.read h1, .read h2, .read h3, .read h4 { color: var(--ink); text-wrap: balance; }
.read h1, .read h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.055em; line-height: 1.08; }
.read h1 { font-size: 46px; margin: 0 0 18px; }
.read h2 { font-size: 28px; margin: 0 0 16px; }
.read h1 b, .read h2 b { font-style: italic; font-weight: 400; color: var(--muted); }
.read h3 { font: 500 19px/1.35 var(--text); letter-spacing: -.01em; margin: 28px 0 6px; }
.read h4 { font: 400 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--soft); margin: 24px 0 8px; }
.read p { margin: 0 0 16px; }
.read b, .read strong { font-weight: 600; }
.read .lede { font-size: 19.5px; line-height: 1.55; color: var(--soft); }
.read a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; border-radius: 2px; }
.read a:hover { text-decoration-thickness: 2px; }
.read a.begin { color: var(--ink); text-decoration: none; }
.read a.begin.primary { color: var(--solid-ink); }
.read ul, .read ol { margin: 0 0 18px; padding-left: 22px; }
.read li { margin: 0 0 9px; padding-left: 4px; }
.read ul > li::marker { color: var(--accent); }
.read ol > li::marker { font: 400 .8em var(--mono); color: var(--muted); }
.read hr { border: 0; height: 1px; margin: 36px 0; background: var(--line); }
.read blockquote { margin: 24px 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--accent); color: var(--soft); font-size: 19px; line-height: 1.55; }
.read blockquote p:last-child { margin-bottom: 0; }
.read blockquote cite, .read blockquote footer { display: block; margin-top: 8px; font: 400 12px/1.5 var(--mono); letter-spacing: .08em; font-style: normal; color: var(--muted); }
.read code, .read kbd, .read samp { font: 400 .86em/1.4 var(--mono); padding: .1em .35em; border-radius: 4px; background: var(--card); border: 1px solid var(--hair); }
.read pre { margin: 0 0 20px; padding: 16px 18px; overflow-x: auto; border-radius: 8px; background: var(--card); border: 1px solid var(--hair); font: 400 14px/1.6 var(--mono); }
.read pre code { padding: 0; border: 0; background: none; font-size: inherit; }
.read figure { margin: 28px 0; }
.read figure img, .read figure svg, .read figure video { display: block; width: 100%; height: auto; border-radius: 8px; }
.read figcaption { margin-top: 10px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.read figcaption b { color: var(--ink); }
.read img { height: auto; }
.read table { width: 100%; margin: 8px 0 22px; border-collapse: collapse; font-size: 15px; line-height: 1.45; font-variant-numeric: tabular-nums; }
.read caption { caption-side: top; text-align: left; padding: 0 0 10px; font: 400 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.read th { font: 400 11.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: left; vertical-align: bottom; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.read td { text-align: left; vertical-align: top; padding: 11px 8px; border-bottom: 1px solid var(--hair); }
.read .table-scroll { overflow-x: auto; margin: 8px 0 22px; }   /* wrap a wide table in this on phones */
.read .table-scroll table { margin: 0; }
.read small, .read .note { font: 400 13px/1.6 var(--mono); letter-spacing: .01em; color: var(--muted); }
.read .note { margin-top: 14px; }
.read sup { line-height: 0; }
.read sup a, .read a[role="doc-noteref"] { text-decoration: none; font: 400 .72em var(--mono); padding: 0 .15em; }
.read .footnotes, .read section[role="doc-endnotes"] { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.55; color: var(--soft); }
.read .footnotes ol { padding-left: 20px; }
.read :target { scroll-margin-top: calc(var(--bar-h) + 20px); }
.read li:target, .read p:target { background: var(--card); box-shadow: 0 0 0 6px var(--card); }
/* sections inside the panel are divided by a hairline, like the homepage's stat rows */
.read > section { padding-top: 30px; margin-top: 30px; border-top: 1px solid var(--line); }
.read > header + section { border-top: 0; margin-top: 8px; padding-top: 0; }
.read > :last-child { margin-bottom: 0; }
.read > section > :last-child { margin-bottom: 0; }
/* a row of buttons or quiet chip links */
.read .row, .page-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }

/* ---------- 6. footer row under the panel */
.site-foot {
  width: min(760px, calc(100% - 32px)); margin: 20px auto 40px; padding: 14px 22px; flex: none;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px;
  background: var(--page); border: 1px solid var(--glass-edge); border-radius: 10px;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  font: 400 12px/1.5 var(--mono); letter-spacing: .06em; color: var(--muted);
}
.site-foot nav { display: flex; flex-wrap: wrap; gap: 2px 18px; }
.site-foot a { color: var(--soft); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; border-radius: 2px; }
.site-foot a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.site-foot .foot-note { flex-basis: 100%; margin: 0 0 4px; font-size: 12.5px; letter-spacing: .02em; }
.site-foot .foot-note a { display: inline; color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.site-foot .mail { margin: 0; }

/* ---------- 7. page blocks */
/* short pages (thank-you, 404): a smaller panel centred in the space, so the plaza's screens frame it */
.read.short { width: min(560px, calc(100% - 32px)); margin: auto; padding: 44px 48px 46px; text-align: left; }
.read.short h1 { font-size: 40px; }
.read.short p { color: var(--soft); margin-bottom: 26px; }
.read.short + .site-foot { margin-top: 24px; }

/* evidence notes */
.read.proof > a:first-child { display: inline-block; margin-bottom: 26px; font: 400 12px/1.4 var(--mono); letter-spacing: .06em; text-decoration: none; }
.read.proof > header { padding-bottom: 28px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.read.proof > header + section { border-top: 0; margin-top: 0; padding-top: 0; }
.read.proof > header nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.read.proof > header nav a { font: 400 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding: 9px 11px; border: 1px solid var(--line); border-radius: 6px; }
.read.proof > header nav a::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; background: var(--accent); vertical-align: 1px; }
.read.proof > header nav a:hover { border-color: var(--soft); }
.read.proof th:not(:first-child), .read.proof td:not(:first-child) { text-align: right; }
.read.proof > footer { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); font: 400 12px/1.4 var(--mono); letter-spacing: .06em; }
.read.proof > footer a { text-decoration: none; }

/* CV */
.read.cv .page-actions { justify-content: flex-end; margin: -18px -24px 8px 0; }
.read.cv header.cv-head { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.read.cv h1 { font-size: 50px; margin: 0 0 14px; }
.read.cv .headline { font-size: 18.5px; line-height: 1.5; font-weight: 500; color: var(--soft); margin: 0 0 16px; }
.read.cv .contact { margin: 0; font: 400 13px/1.75 var(--mono); letter-spacing: .02em; color: var(--muted); }
.read.cv .contact a { color: inherit; }
.read.cv .contact .c { display: block; }
.read.cv section { padding-top: 30px; margin-top: 30px; }
.read.cv header.cv-head + section { border-top: 0; margin-top: 0; }
.read.cv h3 { margin-top: 28px; }
.read.cv h2 + h3 { margin-top: 4px; }
.read.cv .meta { margin: 0 0 12px; font: 400 12.5px/1.5 var(--mono); letter-spacing: .03em; color: var(--muted); }
.read.cv .results { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px 22px; margin: 18px 0 4px; }
.read.cv .results figure { margin: 0; }
.read.cv .results img { display: block; width: 100%; height: auto; border-radius: 8px; background: var(--card); }
.read.cv .bars { display: flex; flex-direction: column; justify-content: center; gap: 14px; aspect-ratio: 16 / 9; padding: 16px 18px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.read.cv .bars:hover { border-color: var(--accent); }
.read.cv .bars-title { font: 400 12px/1.35 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.read.cv .bar-row { display: flex; flex-direction: column; gap: 5px; }
.read.cv .bar-lbl { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; line-height: 1.3; }
.read.cv .bar-lbl b { font: 400 12px/1.3 var(--mono); white-space: nowrap; }
.read.cv .bar-track { height: 10px; background: var(--hair); overflow: hidden; }
.read.cv .bar-fill { display: block; height: 100%; background: var(--accent); }
.read.cv .bar-fill.muted { background: var(--muted); }
.read.cv figcaption b { display: block; margin-bottom: 2px; font-weight: 600; }

/* ---------- phones */
@media (max-width: 1000px) { .tool .lbl { display: none; } .tool { padding: 9px 11px; } }
@media (max-width: 760px) {
  :root { --bar-h: 58px; }
  .topbar { padding: 0 16px; gap: 10px; }
  .tools { gap: 6px; }
  .tools .links { display: none; }
  .read { margin-top: 16px; padding: 30px 22px 34px; }
  .read::before { inset: -6px; }
  .read h1, .read.cv h1 { font-size: 34px; }
  .read h2 { font-size: 23px; }
  .read h3 { font-size: 18px; }
  body { font-size: 17px; }
  .read.short { padding: 30px 24px 32px; }
  .read.short h1 { font-size: 30px; }
  .read.cv .page-actions { justify-content: flex-start; margin: 0 0 18px; }
  .read.cv .results { grid-template-columns: 1fr; }
  .read table { font-size: 14px; }
  .read th, .read td { padding-left: 5px; padding-right: 5px; }
  .site-foot { margin: 16px auto 24px; padding: 12px 18px; }
}
@media (max-width: 560px) { .brand span { display: none; } }

/* ---------- 8. accessibility: skip link, focus, touch targets, reduced motion */
.skip {
  position: fixed; left: 12px; top: 12px; z-index: 100; padding: 12px 16px; font: 400 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--solid-ink); background: var(--solid); border: 1px solid var(--solid-ink); text-decoration: none; transform: translateY(-200%);
}
.skip:focus, .skip:focus-visible { transform: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--focus-halo);
}
.read a:focus-visible { outline-color: var(--accent-text); }
.tool:focus-visible { --b: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (pointer: coarse) {
  .tool, .begin, .begin.small, .site-foot a { min-height: 44px; }
  .tool { min-width: 44px; justify-content: center; }
  .brand::after { content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: 44px; transform: translate(-50%, -50%); }
  .read.proof > header nav a { padding: 15px 12px; }
  .site-foot nav { gap: 0 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
html.reduce-motion *, html.reduce-motion *::before, html.reduce-motion *::after {
  animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important;
}

/* ---------- 9. print: black on white, no backdrop, no chrome */
@page { size: Letter; margin: .45in .5in; }
@media print {
  html, html:has(body), body { background: #fff !important; }
  body, body.golden, body.night {
    display: block; color: #000; font: 10.5pt/1.45 var(--text);
    --ink: #000; --muted: #333; --soft: #111; --accent: #000; --accent-text: #000; --line: #999; --hair: #bbb; --card: #fff;
  }
  .topbar, .site-foot, .skip, .js-only, #world, #world-messages, .print-hide { display: none !important; }
  .read, .read.short {
    width: auto; max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none; animation: none !important;
  }
  .read::before, .kicker::after, .read .tag::after, .read .k::after { display: none; }
  .read a { color: #000; }
  .read h1 { font-size: 24pt; } .read h2 { font-size: 15pt; } .read h3 { font-size: 11.5pt; }
  .read h1, .read h2, .read h3, .read h4 { break-after: avoid; page-break-after: avoid; text-wrap: wrap; }
  .read li, .read figure, .read tr, .read blockquote, .read pre { break-inside: avoid; page-break-inside: avoid; }
  .read p { orphans: 3; widows: 3; }

  /* the CV keeps its compact printed resume layout (as it printed before the redesign) */
  .read.cv { font: 9pt/1.27 Arial, Helvetica, sans-serif; color: #000; }
  .read.cv #results, .read.cv .page-actions { display: none !important; }
  .read.cv header.cv-head { padding-bottom: 6pt; border-color: #999; }
  .read.cv h1 { font: bold 19pt/1.1 Arial, Helvetica, sans-serif; letter-spacing: 0; margin: 0 0 2pt; }
  .read.cv .headline { font-size: 10.5pt; line-height: 1.27; color: #000; margin: 0 0 3pt; }
  .read.cv .contact { font: 9pt/1.3 Arial, Helvetica, sans-serif; letter-spacing: 0; color: #000; }
  .read.cv .contact .c { display: inline; }
  .read.cv .contact .c + .c::before { content: "| "; }
  .read.cv .contact .c + .c.brk::before { content: "\A"; white-space: pre; }
  .read.cv section { padding: 6pt 0 0; margin: 0; border: 0; }
  .read.cv h2 { font: bold 11.5pt/1.2 Arial, Helvetica, sans-serif; margin: 0 0 3pt; padding-bottom: 2pt; border-bottom: 1px solid #999; text-transform: uppercase; letter-spacing: .03em; }
  .read.cv h3 { font: bold 10pt/1.27 Arial, Helvetica, sans-serif; letter-spacing: 0; margin: 6pt 0 0; }
  .read.cv h2 + h3 { margin-top: 3pt; }
  .read.cv .meta { font: 9pt/1.27 Arial, Helvetica, sans-serif; letter-spacing: 0; color: #000; margin: 0 0 2pt; }
  .read.cv p { margin: 0 0 3pt; }
  .read.cv ul { list-style: none; padding-left: 0; margin: 0 0 3pt; }
  .read.cv li { margin: 0 0 2.5pt; padding-left: 10pt; text-indent: -10pt; }
  .read.cv li::before { content: "• "; }
  .read.cv a { text-decoration: none; }
}

/* ======================================================================================================
   articles: the articles index (.read.idx) and the seven article pages (.read.art). Appended block.
   Long-form reading first: the panel's 760 px column, images capped to the panel, wide things scroll inside themselves.
   ====================================================================================================== */
.read.idx, .read.art { overflow-wrap: break-word; }
.read.art img, .read.idx img { max-width: 100%; height: auto; }
.read .eyebrow { margin: 0 0 14px; font: 400 12px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.read .eyebrow::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; background: var(--accent); vertical-align: 1px; }
.read .eyebrow span { margin: 0 .2em; }

/* index: the article list as cards, same glass-and-bracket language as the homepage */
.read.idx > section { border-top: 0; margin-top: 0; padding-top: 0; }
.read.idx .index-head { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.read.idx .index-head h1 { margin-bottom: 12px; }
.read.idx .gold-dot { color: var(--gold); }
.read.idx .index-intro { margin: 0; font-size: 19px; line-height: 1.55; color: var(--soft); }
.article-card {
  position: relative; display: grid; grid-template-columns: 92px 1fr; gap: 6px 22px; margin: 0 0 12px; padding: 20px 22px 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: 8px; transition: border-color .25s;
}
.article-card:hover { border-color: var(--accent); }
.card-number { font: 400 34px/1 var(--display); letter-spacing: -.05em; color: var(--ink); }
.card-number span { display: block; margin-top: 10px; font: 400 10.5px/1.35 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.read .article-card .eyebrow { margin-bottom: 8px; font-size: 11.5px; }
.read .article-card h2 { margin: 0 0 8px; font: 500 21px/1.3 var(--text); letter-spacing: -.015em; }
.read .article-card h2 a { color: var(--ink); text-decoration: none; }
.read .article-card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: 8px; }   /* the whole card is the link */
.read .article-card h2 a:focus-visible { outline: none; box-shadow: none; }
.article-card:has(h2 a:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.read .article-card p:not(.eyebrow) { margin: 0 0 12px; color: var(--soft); font-size: 16px; line-height: 1.55; }
.card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font: 400 12px/1.5 var(--mono); letter-spacing: .04em; color: var(--muted); }
.read .card-meta .read-link { position: relative; z-index: 1; text-decoration: none; color: var(--accent-text); }
.read.idx .index-note { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.read.idx .index-note h2 { margin-bottom: 10px; }

/* article: head, byline, hero */
.read.art .breadcrumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 26px; font: 400 12px/1.4 var(--mono); letter-spacing: .06em; color: var(--muted); }
.read.art .breadcrumbs a { text-decoration: none; }
.read.art .article-head { margin-bottom: 26px; }
.read.art .article-head h1 { font-size: 42px; margin-bottom: 18px; }
.read.art .article-head h1 .title-line { display: block; margin-top: 4px; color: var(--accent-text); }
.read.art .byline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font: 400 12.5px/1.5 var(--mono); letter-spacing: .04em; color: var(--muted); }
.read.art .byline a { color: var(--ink); }
.read.art .disclosure { margin: 18px 0 0; padding-left: 16px; border-left: 2px solid var(--line); font-size: 14.5px; line-height: 1.6; color: var(--soft); }
.read.art .article-hero { margin: 0 0 30px; }
.read.art .article-hero img { border: 1px solid var(--line); background: #ece9e2; }
.read.art .article-hero figcaption { font: 400 12px/1.55 var(--mono); letter-spacing: .03em; }
/* the hero art is light paper; on the night panel it gets a thin light mat and is dimmed a little so it does not glare */
body.night .read.art .article-hero img { padding: 6px; filter: brightness(.9) contrast(1.02); }

/* article: contents block (above the text, as a quiet card), then the text */
.read.art .article-layout { display: block; }
.read.art .article-aside { margin: 0 0 30px; padding: 16px 20px 14px; background: var(--card); border: 1px solid var(--hair); border-radius: 8px; }
.read.art .article-aside nav { display: flex; flex-direction: column; align-items: flex-start; }
.read.art .article-aside nav a { padding: 3px 0; font-size: 15.5px; }
.read.art .article-aside .eyebrow { margin-bottom: 8px; font-size: 11px; }
.read.art .editorial-note { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--hair); font-size: 12.5px; }
.read.art .article-body > :first-child { margin-top: 0; }
.read.art .article-body h2 { margin: 40px 0 14px; font-size: 27px; }
.read.art .article-body .opening { margin: 0 0 22px; padding-left: 20px; border-left: 2px solid var(--gold); font-size: 20px; line-height: 1.55; color: var(--ink); }
.read.art .article-body .research { padding-left: 16px; border-left: 2px solid var(--hair); color: var(--soft); font-size: 16.5px; }
.read.art .article-body .source { margin-top: -6px; font: 400 12px/1.7 var(--mono); letter-spacing: .01em; color: var(--muted); overflow-wrap: anywhere; }
.read.art .article-body .disclosure { margin: 30px 0 0; }
.read.art .article-body table { display: block; max-width: 100%; overflow-x: auto; }   /* none today; a future table scrolls inside the column */
.read.art .author-note { margin: 44px 0 0; padding: 24px 26px; background: var(--card); border: 1px solid var(--line); border-top: 2px solid var(--accent); border-radius: 8px; }
.read.art .author-note h2 { margin: 0 0 8px; font-size: 24px; }
.read.art .author-note p:not(.eyebrow) { margin-bottom: 10px; }
.read.art .article-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin: 34px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font: 400 13px/1.5 var(--mono); letter-spacing: .04em; }
.read.art .article-end a { text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.read.art .article-end a:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .read.art .article-head h1 { font-size: 31px; }
  .read.art .article-body h2 { font-size: 23px; margin-top: 32px; }
  .read.art .article-body .opening { font-size: 18.5px; padding-left: 16px; }
  .article-card { grid-template-columns: 1fr; padding: 18px 18px 16px; }
  .card-number { display: flex; align-items: baseline; gap: 12px; font-size: 26px; }
  .card-number span { margin-top: 0; }
  .read.art .author-note { padding: 20px 18px; }
}
@media (pointer: coarse) { .read.art .article-aside nav a { min-height: 44px; display: inline-flex; align-items: center; } }
@media print {
  .read.art .breadcrumbs, .read.art .article-aside, .read.art .article-end { display: none !important; }
  .read.art .article-hero img, body.night .read.art .article-hero img { filter: none; padding: 0; border: 0; background: none; max-height: 3.2in; width: auto; max-width: 100%; }
  .read.art .article-head h1 { font-size: 24pt; }
  .read.art .article-head h1 .title-line { color: #000; }
  .read.art .article-body h2 { font-size: 15pt; margin-top: 16pt; }
  .read.art .article-body .opening, .read.art .article-body .research { border-left-color: #999; font-size: inherit; color: #000; }
  .read.art .article-body .source { font-size: 8.5pt; color: #333; }
  .read.art .author-note, .read.idx .article-card { background: none; border: 1px solid #999; break-inside: avoid; }
  .read.idx .article-card h2 a::after { display: none; }
}
