/* ORM Broadsheet, a Ghost theme for Our Revolution Media
   Palette: Ink #1A1714, Bone #E8E2D6, Ash #8A857D, Amber #B08D57
   Type: Playfair Display (display), IBM Plex Mono (labels), Charter stack (reading) */

@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
    /* brand constants */
    --ink: #1A1714;
    --bone: #E8E2D6;
    --ash: #8A857D;
    --amber: #B08D57;

    /* light scheme (default) */
    --paper: #F3EFE7;
    --paper-2: #E8E2D6;
    --text: #1A1714;
    --text-2: #3B3631;
    --muted: #5F5A52;
    --rule: rgba(26, 23, 20, 0.16);
    --rule-strong: #1A1714;
    --accent-text: #6E5226;
    --band: #1A1714;
    --band-text: #E8E2D6;
    --band-muted: #A39E95;

    --font-display: var(--gh-font-heading, "Playfair Display", "Iowan Old Style", Georgia, serif);
    --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
    --font-body: var(--gh-font-body, Charter, "Bitstream Charter", "Iowan Old Style", "Sitka Text", Cambria, Georgia, serif);

    --wrap: 1240px;
    --narrow: 700px;
    --gutter: clamp(16px, 4vw, 40px);
    --radius: 2px;
}

html[data-scheme="dark"] {
    --paper: #1A1714;
    --paper-2: #24201C;
    --text: #E8E2D6;
    --text-2: #CFC8BB;
    --muted: #A39E95;
    --rule: rgba(232, 226, 214, 0.16);
    --rule-strong: #E8E2D6;
    --accent-text: #C9A76E;
    --band: #0F0D0B;
}
@media (prefers-color-scheme: dark) {
    html[data-scheme="auto"] {
        --paper: #1A1714;
        --paper-2: #24201C;
        --text: #E8E2D6;
        --text-2: #CFC8BB;
        --muted: #A39E95;
        --rule: rgba(232, 226, 214, 0.16);
        --rule-strong: #E8E2D6;
        --accent-text: #C9A76E;
        --band: #0F0D0B;
    }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--amber); color: var(--ink); padding: 8px 14px; font-family: var(--font-mono); }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- shared atoms ---------- */
.label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 10px;
}
.label-amber { color: var(--accent-text); }
.rule-label { border-top: 3px solid var(--rule-strong); padding-top: 10px; margin-bottom: 18px; color: var(--text); }
.kicker {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-text);
    text-decoration: none;
    margin-bottom: 8px;
}
.kicker:hover { text-decoration: underline; text-underline-offset: 3px; }
.kicker-lg { font-size: 13px; padding: 5px 10px; border: 1px solid var(--amber); border-radius: var(--radius); }
.meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.02em;
}
.dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .7; }
.flag { color: var(--accent-text); border: 1px solid currentColor; padding: 1px 6px; font-size: 10.5px; letter-spacing: .12em; }
.btn {
    display: inline-flex; align-items: center; gap: 8px; justify-content: center;
    font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
    padding: 11px 18px; border-radius: var(--radius); text-decoration: none; border: 1px solid transparent; cursor: pointer;
    transition: background .15s, color .15s, transform .15s;
}
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: #C29E66; }
.btn-ghost { border-color: var(--rule-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { background: var(--text); color: var(--paper); }

/* ---------- progress bar ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: var(--amber); transition: width .08s linear; }

/* ---------- masthead ---------- */
.masthead { background: var(--paper); position: relative; z-index: 40; }
.masthead-strip { background: var(--band); color: var(--band-muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; }
.strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.strip-tag { color: var(--band-text); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; text-align: center; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.strip-actions a { color: var(--band-text); text-decoration: none; }
.strip-actions a:hover { color: var(--amber); }
.strip-date, .strip-actions { min-width: 150px; }
.strip-actions { text-align: right; }

.masthead-main {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
    padding-top: 22px; padding-bottom: 18px;
}
.wordmark {
    grid-column: 2;
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(30px, 5.4vw, 64px); line-height: 1; letter-spacing: -0.01em;
    text-decoration: none; color: var(--text); text-align: center; white-space: nowrap;
}
.wordmark img { max-height: 64px; width: auto; margin: 0 auto; }
.wordmark-sm { font-size: 30px; color: var(--band-text); text-align: left; }
.masthead-cta { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 10px; }
.icon-btn { background: none; border: 0; padding: 8px; cursor: pointer; color: var(--text); display: inline-flex; }
.icon-btn:hover { color: var(--accent-text); }
.menu-toggle { display: none; grid-column: 1; justify-self: start; background: none; border: 0; padding: 10px 6px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: transform .2s; }
.menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.sections-nav { border-top: 1px solid var(--rule); border-bottom: 3px double var(--rule-strong); }
.sections-nav .nav { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 0 4px; }
.sections-nav .nav a {
    display: block; padding: 13px 14px;
    font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
    text-decoration: none; color: var(--text); position: relative;
}
.sections-nav .nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--amber); transform: scaleX(0); transition: transform .2s; transform-origin: left; }
.sections-nav .nav a:hover::after, .sections-nav .nav-current a::after { transform: scaleX(1); }

/* ticker */
.ticker { border-bottom: 1px solid var(--rule); background: var(--paper-2); }
.ticker-inner { display: flex; align-items: center; gap: 16px; min-height: 42px; }
.ticker-label { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; background: var(--ink); color: var(--amber); padding: 4px 8px; flex: none; }
.ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-reel { display: flex; gap: 40px; width: max-content; white-space: nowrap; }
.ticker-reel.is-moving { animation: tick var(--tick-duration, 60s) linear infinite; }
.ticker-track:hover .ticker-reel, .ticker-track:focus-within .ticker-reel { animation-play-state: paused; }
.ticker-reel a { text-decoration: none; font-size: 15px; color: var(--text); display: inline-flex; gap: 10px; align-items: baseline; }
.ticker-reel a:hover { color: var(--accent-text); }
.ticker-reel time { font-family: var(--font-mono); font-size: 11px; color: var(--accent-text); letter-spacing: .06em; text-transform: uppercase; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-reel.is-moving { animation: none; } .ticker-track { overflow-x: auto; } }

/* ---------- cards ---------- */
.card { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card-media { display: block; overflow: hidden; background: var(--paper-2); aspect-ratio: 3 / 2; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .5s ease; filter: saturate(.92) contrast(1.02); }
.card:hover .card-media img { transform: scale(1.03); filter: none; }
.card-title { font-family: var(--font-display); font-weight: 700; line-height: 1.16; margin: 0 0 8px; letter-spacing: -0.005em; font-size: 22px; text-wrap: balance; }
.card-title a { text-decoration: none; background-image: linear-gradient(var(--amber), var(--amber)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s; }
.card:hover .card-title a { background-size: 100% 2px; }
.card-excerpt { color: var(--text-2); font-size: 16.5px; line-height: 1.55; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.card-stack .card-excerpt { -webkit-line-clamp: 3; }

.card-hero .card-title { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.06; }
.card-hero .card-excerpt { font-size: 19px; max-width: 46ch; }
.card-lead .card-title { font-size: clamp(24px, 2.6vw, 34px); }
.card-row { flex-direction: row-reverse; align-items: flex-start; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.card-row:last-child { border-bottom: 0; padding-bottom: 0; }
.card-row .card-media { width: 120px; flex: none; aspect-ratio: 1; }
.card-row .card-body { flex: 1; }
.card-row .card-title { font-size: 19px; }

/* ---------- front page ---------- */
.front { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); gap: 48px; padding-top: 36px; padding-bottom: 56px; }
.front-lead { min-width: 0; }
.lead-left .card-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: end; }
.lead-left .card-hero .card-media { aspect-ratio: 4 / 5; }
.lead-left .card-hero .card-title { font-size: clamp(30px, 3.4vw, 46px); }
.lead-top .card-hero .card-media { aspect-ratio: 16 / 9; }
.lead-text .card-hero .card-media { display: none; }
.lead-text .card-hero .card-title { font-size: clamp(36px, 5.6vw, 72px); }
.front-latest { border-left: 1px solid var(--rule); padding-left: 32px; }
.latest-list { list-style: none; margin: 0; padding: 0; counter-reset: l; }
.latest-list li { display: grid; grid-template-columns: 34px 1fr; gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.latest-list li:first-child { padding-top: 4px; }
.latest-list .num { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1; color: var(--amber); }
.latest-title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.25; text-decoration: none; margin-bottom: 6px; }
.latest-title:hover { color: var(--accent-text); }
.latest-list .kicker { margin-bottom: 4px; font-size: 10.5px; }

/* ---------- subscribe band ---------- */
.subscribe-band { background: var(--band); color: var(--band-text); position: relative; overflow: hidden; }
.subscribe-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 31px, rgba(176,141,87,.07) 31px 32px); pointer-events: none; }
.subscribe-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.subscribe-band h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4vw, 48px); line-height: 1.06; margin: 0 0 12px; color: var(--band-text); }
.subscribe-band p { margin: 0; color: var(--band-muted); font-size: 17px; max-width: 48ch; }
.subscribe-band .label-amber { color: var(--amber); margin-bottom: 14px; }
.subscribe-band.is-compact .subscribe-inner { padding-top: 40px; padding-bottom: 40px; }
.subscribe-band.is-compact h2 { font-size: clamp(26px, 3vw, 36px); }
.field { display: flex; border: 1px solid var(--amber); background: rgba(232,226,214,.04); }
.field input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 15px 16px; color: var(--band-text); font-family: var(--font-mono); font-size: 15px; }
.field input::placeholder { color: var(--band-muted); }
.field input:focus { outline: none; }
.field:focus-within { box-shadow: 0 0 0 2px rgba(176,141,87,.45); }
.field .btn { border-radius: 0; }
.form-note { font-family: var(--font-mono); font-size: 13px; margin-top: 10px !important; display: none; }
.when-loading { display: none; }
.subscribe-form.loading .when-idle { display: none; }
.subscribe-form.loading .when-loading { display: inline; }
.subscribe-form.success .when-success, .subscribe-form.error .when-error { display: block; }
.subscribe-form.success .when-success { color: var(--amber); }

/* ---------- series sections ---------- */
.series { padding: 64px 0; border-bottom: 1px solid var(--rule); }
.flip-b .series { background: var(--paper-2); }
.series-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; border-top: 3px solid var(--rule-strong); padding-top: 16px; margin-bottom: 30px; }
.series-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.05; margin: 0; }
.series-title a { text-decoration: none; }
.series-title a:hover { color: var(--accent-text); }
.series-dek { margin: 10px 0 0; color: var(--text-2); max-width: 60ch; font-size: 17px; }
.series-all { font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--accent-text); white-space: nowrap; }
.series-all:hover { text-decoration: underline; text-underline-offset: 4px; }
.series-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; }
.flip-b .series-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.flip-b .series-main { order: 2; }
.series-side { display: flex; flex-direction: column; gap: 18px; }

/* series index */
.series-index { padding: 64px 0; }
.series-index-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-left: 1px solid var(--rule); }
.series-tile { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 26px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); border-top: 1px solid var(--rule); text-decoration: none; transition: background .2s, color .2s; }
.series-tile:hover { background: var(--ink); color: var(--bone); }
.series-tile:hover .series-tile-dek { color: var(--band-muted); }
.series-tile-count { font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 1; color: var(--amber); }
.series-tile-name { font-family: var(--font-mono); font-weight: 500; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.series-tile-dek { font-size: 15px; color: var(--muted); line-height: 1.45; }

/* feeds */
.feed-section { padding: 56px 0 72px; }
.feed-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 36px; }
.more { text-align: center; margin: 48px 0 0; }
.tag-lead { margin-bottom: 52px; padding-bottom: 44px; border-bottom: 1px solid var(--rule); }
.tag-lead .card-lead { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.tag-lead .card-lead .card-title { font-size: clamp(28px, 3.6vw, 46px); }

.pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 56px; font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.pagination a { color: var(--text); text-decoration: none; border: 1px solid var(--rule-strong); padding: 10px 16px; }
.pagination a:hover { background: var(--text); color: var(--paper); }

/* archive and tag heads */
.archive-head { padding-top: 48px; padding-bottom: 8px; }
.archive-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 5vw, 60px); margin: 0; line-height: 1.04; }
.series-hero { background: var(--band); color: var(--band-text); }
.series-hero-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.series-hero-inner > div:only-child { grid-column: 1 / -1; }
.series-hero .label-amber { color: var(--amber); }
.series-hero-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 6.4vw, 84px); line-height: 1; margin: 0 0 18px; text-wrap: balance; }
.series-hero-dek { font-size: 20px; color: var(--band-muted); max-width: 52ch; margin: 0 0 18px; }
.meta-light { color: var(--amber); }
.series-hero-img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* ---------- article ---------- */
.article-head { padding-top: 56px; padding-bottom: 32px; text-align: center; }
.article-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 5.2vw, 62px); line-height: 1.06; letter-spacing: -0.01em; margin: 18px 0 18px; text-wrap: balance; }
.article-dek { font-size: clamp(19px, 2vw, 23px); line-height: 1.45; color: var(--text-2); margin: 0 auto 24px; max-width: 40ch; font-style: italic; }
.byline { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); letter-spacing: .04em; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 12px 0; }
.byline a { text-decoration: none; }
.article-image { margin-bottom: 48px; }
.article-image img { width: 100%; max-height: 78vh; object-fit: cover; }
.article-image figcaption, .gh-content figcaption { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); margin-top: 10px; line-height: 1.5; }

.article-layout { max-width: calc(var(--narrow) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.toc { display: none; }
@media (min-width: 1180px) {
    .article-layout.has-toc { max-width: calc(var(--narrow) + 520px); display: grid; grid-template-columns: 220px minmax(0, var(--narrow)) 220px; gap: 40px; }
    .article-layout.has-toc .article-body { grid-column: 2; }
    .toc:not([hidden]) { display: block; grid-column: 1; grid-row: 1; position: sticky; top: 80px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; }
}
.toc ol { list-style: none; margin: 0 0 24px; padding: 0; border-left: 1px solid var(--rule); }
.toc li a { display: block; padding: 7px 0 7px 14px; margin-left: -1px; border-left: 2px solid transparent; font-family: var(--font-mono); font-size: 12px; line-height: 1.4; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.toc li a:hover { color: var(--text); }
.toc li a.is-active { color: var(--accent-text); border-left-color: var(--amber); }

/* ghost content */
.gh-content { font-size: 20px; line-height: 1.68; color: var(--text); }
.gh-content > * + * { margin-top: 1.3em; margin-bottom: 0; }
.gh-content > :first-child { margin-top: 0; }
.gh-content > p:first-of-type::first-letter { font-family: var(--font-display); font-weight: 700; float: left; font-size: 4.1em; line-height: .82; padding: 6px 10px 0 0; color: var(--accent-text); }
.gh-content a { color: var(--text); text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 3px; transition: background .15s; }
.gh-content a:hover { background: rgba(176,141,87,.18); }
.gh-content h2 {
    font-family: var(--font-mono); font-weight: 500; font-size: 17px; letter-spacing: .14em; text-transform: uppercase;
    margin-top: 2.6em; padding-top: 14px; border-top: 3px solid var(--rule-strong); line-height: 1.4;
}
.gh-content h3 { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1.2; margin-top: 1.8em; }
.gh-content h4 { font-family: var(--font-mono); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin-top: 1.8em; }
.gh-content h2 + *, .gh-content h3 + *, .gh-content h4 + * { margin-top: .7em; }
.gh-content hr { border: 0; height: auto; margin: 3em auto; text-align: center; }
.gh-content hr::after { content: "\25C6  \25C6  \25C6"; color: var(--amber); letter-spacing: .6em; font-size: 12px; }
.gh-content blockquote:not(.kg-blockquote-alt) { margin-left: 0; margin-right: 0; padding-left: 22px; border-left: 3px solid var(--amber); font-style: italic; color: var(--text-2); }
.gh-content .kg-blockquote-alt, .gh-content blockquote.kg-blockquote-alt {
    font-family: var(--font-display); font-weight: 700; font-style: normal; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.22;
    text-align: center; padding: 1em 0; margin: 1.6em 0; border-top: 1px solid var(--amber); border-bottom: 1px solid var(--amber); color: var(--text);
}
.gh-content ul, .gh-content ol { padding-left: 1.3em; }
.gh-content li + li { margin-top: .45em; }
.gh-content li::marker { color: var(--accent-text); font-family: var(--font-mono); }
.gh-content figure { margin-left: 0; margin-right: 0; }
.gh-content code { font-family: var(--font-mono); font-size: .82em; background: var(--paper-2); padding: 2px 5px; }
.gh-content pre { background: var(--ink); color: var(--bone); padding: 18px; overflow: auto; font-size: 15px; }
.gh-content table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.gh-content th { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; text-align: left; border-bottom: 2px solid var(--rule-strong); padding: 8px 10px; }
.gh-content td { border-bottom: 1px solid var(--rule); padding: 9px 10px; vertical-align: top; }
.gh-content .kg-callout-card { border-radius: var(--radius); }
.gh-content .kg-card + .kg-card { margin-top: 1.6em; }

/* koenig widths (required) */
.kg-width-wide { position: relative; width: min(1040px, 100vw - 2 * var(--gutter)); max-width: none; left: 50%; transform: translateX(-50%); }
.kg-width-full { position: relative; width: 100vw; max-width: none; left: 50%; transform: translateX(-50%); }
.kg-width-full img { width: 100%; }
@media (min-width: 1180px) {
    .has-toc .kg-width-wide { width: min(1040px, 100vw - 2 * var(--gutter)); }
}

/* reader action block: built by JS from the H2 whose text matches the custom setting */
.action-block {
    margin-top: 2.6em !important; background: var(--band); color: var(--band-text);
    padding: 30px 30px 32px; border-top: 4px solid var(--amber); position: relative;
}
.action-block h2 { border-top: 0; padding-top: 0; margin-top: 0 !important; color: var(--amber); display: flex; align-items: center; gap: 12px; }
.action-block h2::before { content: ""; width: 12px; height: 12px; background: var(--amber); transform: rotate(45deg); flex: none; }
.action-block h3 { color: var(--band-text); font-size: 22px; margin-top: 1.4em; }
.action-block p, .action-block li { color: var(--band-text); font-size: 18px; }
.action-block a { color: var(--band-text); }
.action-block ol { counter-reset: act; list-style: none; padding-left: 0; }
.action-block ol > li { counter-increment: act; position: relative; padding-left: 46px; }
.action-block ol > li::before { content: counter(act, decimal-leading-zero); position: absolute; left: 0; top: .1em; font-family: var(--font-mono); font-weight: 500; font-size: 14px; color: var(--ink); background: var(--amber); padding: 2px 6px; }
.action-block > * + * { margin-top: 1em; }

/* article foot */
.article-foot { padding-top: 48px; padding-bottom: 56px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.article-tags a { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--rule); padding: 5px 10px; color: var(--text-2); }
.article-tags a:hover { border-color: var(--amber); color: var(--accent-text); }
.share-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 14px 0; }
.share-row .label { margin: 0; }
.share { display: flex; gap: 8px; }
.share-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--rule); background: transparent; color: var(--text); cursor: pointer; text-decoration: none; position: relative; transition: background .15s, color .15s, border-color .15s; }
.share-btn:hover { background: var(--ink); color: var(--amber); border-color: var(--ink); }
.share-btn .copied { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 11px; background: var(--ink); color: var(--amber); padding: 3px 7px; white-space: nowrap; opacity: 0; transition: opacity .2s; pointer-events: none; }
.share-btn.is-copied .copied { opacity: 1; }
.toc .share { flex-wrap: wrap; }
.corrections-note { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); margin-top: 18px; line-height: 1.6; }
.corrections-note a { color: var(--accent-text); }
.more-series { padding: 64px 0 80px; }
.feed-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.comments { padding: 48px var(--gutter) 0; }

.page-article .article-head { padding-bottom: 24px; }
.error-page { padding-top: 96px; padding-bottom: 120px; text-align: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--band); color: var(--band-muted); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(232,226,214,.14); }
.footer-brand p { max-width: 36ch; margin: 12px 0 22px; font-size: 16px; }
.site-footer .label { color: var(--amber); }
.site-footer .nav { list-style: none; margin: 0; padding: 0; }
.site-footer .nav a { display: inline-block; padding: 5px 0; text-decoration: none; color: var(--band-text); font-size: 16px; }
.site-footer .nav a:hover { color: var(--amber); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 28px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; }
.footer-social { display: flex; gap: 18px; }
.footer-social a { color: var(--band-text); text-decoration: none; }
.footer-social a:hover { color: var(--amber); }


/* ---------- v1.3 reading layer ---------- */

/* exhibit: a document, set apart from the argument */
.exhibit { margin: 2em 0 !important; border: 1px solid var(--rule-strong); background: var(--paper-2); padding: 0; position: relative; }
.exhibit-label { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .18em; color: var(--amber); background: var(--ink); display: inline-block; padding: 5px 10px 4px; margin: 0; position: absolute; top: -1px; left: -1px; }
.gh-content .exhibit blockquote { margin: 0; padding: 34px 26px 18px; border-left: 0; font-style: normal; font-family: var(--font-mono); font-size: 15.5px; line-height: 1.7; color: var(--text); }
.gh-content .exhibit blockquote p + p { margin-top: .9em; }
.exhibit-cite { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); border-top: 1px solid var(--rule); padding: 10px 26px 12px; margin: 0; }
.exhibit-cite::before { content: "\25C6"; color: var(--amber); margin-right: 8px; font-size: 9px; vertical-align: 2px; }

/* record notes: UPDATE, CORRECTION, VERIFIED, EDITOR'S NOTE */
.record-note { font-family: var(--font-mono); font-size: 14.5px; line-height: 1.6; color: var(--text-2); border-left: 3px solid var(--amber); padding: 10px 16px; background: var(--paper-2); }
.record-note[data-kind="CORRECTION"] { border-left-color: var(--rule-strong); }
.byline-updated time { color: var(--accent-text); }

/* paragraph anchors */
.has-anchor { position: relative; }
.anchor-btn { position: absolute; left: -34px; top: .35em; width: 26px; height: 26px; border: 0; background: transparent; color: var(--muted); font-family: var(--font-display); font-size: 18px; cursor: pointer; opacity: 0; transition: opacity .15s, color .15s; padding: 0; line-height: 1; }
.has-anchor:hover .anchor-btn, .anchor-btn:focus-visible, .anchor-btn.is-copied { opacity: 1; }
.anchor-btn:hover { color: var(--accent-text); }
.anchor-btn .copied { position: absolute; left: calc(100% + 6px); top: 50%; transform: translateY(-50%); font-family: var(--font-mono); font-size: 11px; background: var(--ink); color: var(--amber); padding: 3px 7px; white-space: nowrap; opacity: 0; transition: opacity .2s; pointer-events: none; }
.anchor-btn.is-copied .copied { opacity: 1; }
.is-target { background: linear-gradient(rgba(176,141,87,.22), rgba(176,141,87,.22)); box-shadow: 0 0 0 10px rgba(176,141,87,.22); }
@media (max-width: 1180px) { .anchor-btn { left: auto; right: -4px; top: -8px; } .anchor-btn .copied { left: auto; right: calc(100% + 6px); } }
@media (hover: none) { .anchor-btn { opacity: .35; } }

/* the record drawer */
.sources { margin-top: 3em !important; border-top: 3px solid var(--rule-strong); border-bottom: 1px solid var(--rule); }
.sources summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 16px 0; }
.sources summary::-webkit-details-marker { display: none; }
.sources summary .label { margin: 0; color: var(--text); }
.sources summary .label::before { content: "+"; font-family: var(--font-mono); color: var(--amber); margin-right: 10px; display: inline-block; width: 12px; }
.sources[open] summary .label::before { content: "\2212"; }
.sources-count { font-family: var(--font-mono); font-size: 12px; color: var(--accent-text); letter-spacing: .08em; }
.sources-hint { font-family: var(--font-mono); font-size: 12px; color: var(--muted); flex-basis: 100%; }
.sources-groups { padding: 4px 0 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px 32px; }
.sources-group-name { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; border-bottom: 1px solid var(--rule); padding-bottom: 6px; }
.sources-group ol { margin: 0; padding-left: 1.6em; font-size: 15px; line-height: 1.45; }
.sources-group li { margin-top: .5em; }
.sources-group li::marker { font-family: var(--font-mono); font-size: 12px; color: var(--accent-text); }
.sources-group a { text-decoration-thickness: 1px; }
.sources-host { display: block; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }

/* glossary terms */
abbr.term { text-decoration: none; border-bottom: 1px dotted var(--accent-text); cursor: help; }
abbr.term:hover, abbr.term:focus-visible { background: rgba(176,141,87,.18); outline: 0; }
.term-pop { position: absolute; z-index: 90; background: var(--ink); color: var(--bone); padding: 14px 16px 12px; border-top: 3px solid var(--amber); box-shadow: 0 12px 30px rgba(0,0,0,.25); font-size: 15px; line-height: 1.5; }
.term-pop-name { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin: 0 0 6px; }
.term-pop-def { margin: 0; }
.term-pop-link { display: inline-block; margin-top: 10px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--amber); text-decoration: none; }
.term-pop-link:hover { text-decoration: underline; }

/* skim */
.skim-toggle { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; border: 1px solid currentColor; background: transparent; color: inherit; padding: 7px 12px; cursor: pointer; white-space: nowrap; }
.skim-toggle .when-skim, .is-skim .skim-toggle .when-full { display: none; }
.is-skim .skim-toggle .when-skim { display: inline; }
.readbar-skim { color: var(--amber); }
.readbar-skim:hover { background: var(--amber); color: var(--ink); }
.toc-skim { width: 100%; color: var(--text-2); margin-bottom: 20px; }
.toc-skim:hover, .is-skim .toc-skim { background: var(--ink); color: var(--amber); border-color: var(--ink); }
.skim-note { font-family: var(--font-mono); font-size: 13px; color: var(--text-2); background: var(--paper-2); border-left: 3px solid var(--amber); padding: 10px 14px; margin: 0 0 1.4em !important; }
.skim-note .linklike { border: 0; background: none; font: inherit; color: var(--accent-text); text-decoration: underline; cursor: pointer; padding: 0; }
.is-skim .gh-content > p:not(.skim-keep):not(.record-note):not(.skim-note),
.is-skim .gh-content > ul, .is-skim .gh-content > ol, .is-skim .gh-content > figure:not(.exhibit), .is-skim .gh-content > .kg-card:not(.exhibit), .is-skim .gh-content > blockquote, .is-skim .gh-content > hr { display: none; }
.is-skim .gh-content > p.skim-keep::after { content: ""; display: block; width: 44px; height: 1px; background: var(--amber); margin-top: 1em; }
.is-skim .gh-content > p:first-of-type::first-letter { font-size: inherit; float: none; padding: 0; color: inherit; font-family: inherit; font-weight: inherit; line-height: inherit; }
@media (max-width: 760px) { .readbar-skim { padding: 6px 9px; font-size: 10px; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
    .front { grid-template-columns: 1fr; gap: 36px; }
    .front-latest { border-left: 0; padding-left: 0; }
    .feed-grid, .feed-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .series-grid, .flip-b .series-grid { grid-template-columns: 1fr; gap: 28px; }
    .flip-b .series-main { order: 0; }
    .subscribe-inner { grid-template-columns: 1fr; gap: 24px; }
    .tag-lead .card-lead, .series-hero-inner { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
    body { font-size: 17px; }
    .strip-date, .strip-actions { min-width: 0; }
    .strip-tag { display: none; }
    .masthead-main { padding-top: 14px; padding-bottom: 12px; }
    .menu-toggle { display: block; }
    .masthead-main { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; }
    .wordmark { font-size: clamp(20px, 6.2vw, 30px); white-space: normal; text-align: center; }
    .masthead-cta .btn { padding: 9px 12px; font-size: 12px; }
    .masthead-cta .icon-btn { display: none; }
    .sections-nav { display: none; border-bottom: 1px solid var(--rule); }
    .menu-open .sections-nav { display: block; }
    .sections-nav .nav { flex-direction: column; padding: 6px 0 12px; }
    .sections-nav .nav a { padding: 12px 0; font-size: 14px; }
    .sections-nav .nav a::after { left: 0; right: auto; width: 32px; }
    .lead-left .card-hero { grid-template-columns: 1fr; }
    .lead-left .card-hero .card-media { aspect-ratio: 3 / 2; }
    .feed-grid, .feed-3 { grid-template-columns: 1fr; gap: 36px; }
    .series, .series-index { padding: 44px 0; }
    .series-head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .card-row .card-media { width: 92px; }
    .gh-content { font-size: 18.5px; }
    .gh-content h3 { font-size: 24px; }
    .action-block { padding: 24px 20px; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
    .share-row { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-base { flex-direction: column; }
    .field { flex-direction: column; }
    .field .btn { width: 100%; }
}
.series-tile-go { margin-top: auto; padding-top: 10px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.series-tile:hover .series-tile-go { color: var(--amber); }
.card-hero .card-excerpt, .card-lead .card-excerpt { display: block; -webkit-line-clamp: unset; }

/* ---------- type driven broadsheet (Show card images off) ---------- */
.lead-text .card-hero { border-top: 3px solid var(--rule-strong); padding-top: 22px; }
.lead-text .card-hero .card-title { font-size: clamp(40px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -0.015em; margin-bottom: 20px; }
.lead-text .card-hero .card-excerpt { font-size: clamp(19px, 1.9vw, 24px); max-width: 52ch; line-height: 1.5; margin-bottom: 18px; }
.lead-text .card-hero .kicker { font-size: 13px; }
[data-cards="type"] .card-stack { border-top: 2px solid var(--rule-strong); padding-top: 16px; gap: 0; }
[data-cards="type"] .card-stack .card-title { font-size: 25px; line-height: 1.14; }
[data-cards="type"] .feed-grid { gap: 48px 40px; }
[data-cards="type"] .series-main .card-lead { border-left: 3px solid var(--amber); padding-left: 24px; }
[data-cards="type"] .series-main .card-title { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.06; margin-bottom: 14px; }
[data-cards="type"] .series-main .card-excerpt { font-size: 19px; line-height: 1.55; max-width: 56ch; }
[data-cards="type"] .series-grid { align-items: start; }
[data-cards="type"] .card-row .card-title { font-size: 21px; }
[data-cards="type"] .tag-lead .card-lead { display: block; max-width: 900px; }
[data-cards="type"] .tag-lead .card-title { font-size: clamp(34px, 4.6vw, 60px); }
[data-cards="type"] .tag-lead .card-excerpt { font-size: 20px; max-width: 60ch; }
@media (max-width: 760px) {
    [data-cards="type"] .series-main .card-lead { padding-left: 16px; }
}
/* articles without the feature image get a closing rule under the byline */
.article-head + .article-layout { margin-top: 16px; }

/* ---------- v1.2 logo system ---------- */
.bladed-o { display: block; width: 100%; height: 100%; overflow: visible; }
.bladed-o .blade { fill: var(--amber); transition: transform .35s cubic-bezier(.5,0,.2,1); }
.seal-amber-fill { fill: var(--amber); }

/* masthead wordmark */
.wordmark.logo-bladed, .wordmark.logo-seal { display: inline-flex; align-items: baseline; justify-content: center; gap: 0.02em; }
.wordmark-o { display: inline-block; width: 0.71em; height: 0.79em; flex: none; position: relative; top: 0.035em; color: var(--text); }
.wordmark.logo-bladed:hover .blade, .wordmark.logo-bladed:focus-visible .blade { transform: translateY(7px); }
.wordmark.logo-seal { align-items: center; gap: 0.25em; }
.seal-mast { width: 1.15em; height: 1.15em; flex: none; color: var(--text); }
.wordmark.logo-seal .wordmark-text { font-size: 0.82em; }
.wordmark.logo-seal:hover .seal { transform: rotate(-8deg); }
.seal { transition: transform .5s cubic-bezier(.5,0,.2,1); }

/* sticky reading bar on articles, the blade tracks progress down the slot */
.readbar { position: fixed; inset: 0 0 auto 0; z-index: 70; background: var(--band); color: var(--band-text); transform: translateY(-100%); transition: transform .25s ease; border-bottom: 2px solid var(--amber); }
.readbar.is-on { transform: none; }
.readbar-inner { display: flex; align-items: center; gap: 14px; min-height: 52px; }
.readbar-mark { width: 26px; height: 28px; flex: none; color: var(--band-text); display: block; }
.readbar-mark .blade { transition: none; }
.readbar-kicker { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); white-space: nowrap; }
.readbar-title { font-family: var(--font-display); font-weight: 700; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.readbar-btn { padding: 8px 14px; font-size: 12px; }
@media (max-width: 760px) { .readbar-kicker { display: none; } .readbar-title { font-size: 15px; } }

/* end mark closing each article */
.gh-content .end-mark { width: 22px; height: 24px; margin: 2.4em auto 0; color: var(--text); }

/* footer seal */
.footer-seal { display: block; width: 132px; height: 132px; color: var(--band-text); margin-bottom: 14px; }
.footer-seal:hover .seal { transform: rotate(-12deg); }
.footer-name { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--band-text); margin: 0 !important; }

/* subscribe sending state: the blade drops */
.sending-o { display: inline-block; width: 15px; height: 16px; margin-right: 8px; vertical-align: -2px; color: var(--ink); }
.subscribe-form.loading .sending-o .blade { animation: blade-drop .9s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes blade-drop { 0% { transform: translateY(0); } 55% { transform: translateY(26px); } 100% { transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
    .bladed-o .blade, .seal, .readbar { transition: none; }
    .subscribe-form.loading .sending-o .blade { animation: none; }
    .wordmark.logo-bladed:hover .blade { transform: none; }
}
