/* ══════════════════════════════════════════════════════════════════════════
   CIGAR STARTER — Editorial Stylesheet
   A small magazine for new cigar smokers.
   Type sets the tone; everything else stays out of its way.
   ══════════════════════════════════════════════════════════════════════════ */

/* Fonts loaded via <link> in HTML head:
     Source Serif 4    — body, secondary headings (warm editorial serif)
     Fraunces          — wordmark and lede (display serif with character)
     Hanken Grotesk    — UI labels, captions, nav (warm humanist sans)        */

:root {
    /* ── Brand: deep olive on warm paper ─────────────────────────────── */
    --ink-900:   #1a1812;   /* near-black, with a touch of warmth */
    --ink-800:   #2a2820;
    --ink-700:   #423f33;
    --ink-600:   #5b5746;
    --ink-500:   #807a66;   /* mid-grey for captions */
    --ink-400:   #a39d8a;
    --ink-300:   #c8c2ae;
    --ink-200:   #e3ddc8;
    --ink-100:   #efe9d6;
    --ink-50:    #f7f1de;

    --paper:     #fdf9f0;   /* warm cream — the sheet you're reading */
    --paper-2:   #f6efd8;   /* deeper cream for callouts */
    --paper-3:   #ece4c8;   /* hairline rules and edges */

    --olive-900: #1f2f08;
    --olive-800: #2a3f0d;
    --olive-700: #365314;   /* primary brand */
    --olive-600: #466e1c;
    --olive-500: #5a8a25;
    --olive-400: #84cc16;   /* accent — used sparingly */
    --olive-100: #e8f0d4;
    --olive-50:  #f3f7e6;

    --ember:     #b8531c;   /* the lit end — used once or twice */
    --ember-bg:  #fbeadc;

    /* ── Typography ──────────────────────────────────────────────────── */
    --font-serif:   'Source Serif 4', 'Source Serif Pro', 'Iowan Old Style',
                    Georgia, 'Times New Roman', serif;
    --font-display: 'Fraunces', 'Source Serif 4', Georgia, serif;
    --font-sans:    'Hanken Grotesk', -apple-system, BlinkMacSystemFont,
                    'Segoe UI', system-ui, sans-serif;

    /* ── Rhythm ──────────────────────────────────────────────────────── */
    --s-1:  0.25rem;
    --s-2:  0.5rem;
    --s-3:  0.75rem;
    --s-4:  1rem;
    --s-5:  1.25rem;
    --s-6:  1.5rem;
    --s-7:  1.75rem;
    --s-8:  2rem;
    --s-10: 2.5rem;
    --s-12: 3rem;
    --s-16: 4rem;
    --s-20: 5rem;
    --s-24: 6rem;

    --measure:        66ch;     /* body column — wide-but-not-too-wide */
    --measure-narrow: 38ch;     /* asides */
    --page-max:       1180px;   /* outer container with margin for marginalia */

    --rule:    1px solid var(--paper-3);
    --rule-2:  1px solid var(--ink-200);
}

/* ── Reset ──────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
    /* Subtle paper grain — barely there */
    background-color: var(--paper);
}

body {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--ink-800);
    background: var(--paper);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    font-feature-settings: "kern", "liga", "onum" 1;  /* old-style figures */
}

img { max-width: 100%; height: auto; display: block; }

a {
    color: var(--olive-700);
    text-decoration: underline;
    text-decoration-color: var(--olive-100);
    text-decoration-thickness: 1px;
    text-underline-offset: 2.5px;
    transition: text-decoration-color 0.15s ease, color 0.15s ease;
}
a:hover {
    color: var(--olive-800);
    text-decoration-color: var(--olive-500);
}

::selection { background: var(--olive-100); color: var(--ink-900); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100px;
    left: var(--s-4);
    background: var(--olive-700);
    color: var(--paper);
    padding: 0.6rem 1rem;
    z-index: 9999;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
}
.skip-link:focus { top: 0; }

/* Focus */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--olive-500);
    outline-offset: 3px;
    border-radius: 2px;
}

/* ══════════════════════════════════════════════════════════════════════════
   MASTHEAD — printed-magazine header, not a navbar
   ══════════════════════════════════════════════════════════════════════════ */

.masthead {
    background: var(--paper);
    border-bottom: var(--rule);
    position: relative;
}

.masthead-inner {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: var(--s-7) var(--s-6) var(--s-5);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
    gap: var(--s-6);
}

/* Top-row ephemera (left): issue/date strip */
.masthead-meta {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-500);
    font-weight: 600;
    align-self: end;
    padding-bottom: 0.25rem;
}
.masthead-meta span + span::before {
    content: "·";
    margin: 0 0.55em;
    color: var(--ink-300);
}

/* Centre wordmark */
.wordmark {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.2rem, 5.4vw, 3.6rem);
    line-height: 0.95;
    letter-spacing: -0.025em;
    color: var(--ink-900);
    text-decoration: none;
    text-align: center;
    /* Fraunces variable axes — opsz at large size, slight wonk */
    font-variation-settings: "opsz" 144, "SOFT" 25, "WONK" 0;
    font-feature-settings: "ss01", "ss02", "kern", "liga";
    display: inline-block;
}
.wordmark:hover {
    color: var(--olive-800);
    text-decoration: none;
}
.wordmark-tagline {
    display: block;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    color: var(--ink-500);
    font-style: italic;
    margin-top: 0.45rem;
    text-transform: none;
    line-height: 1.3;
}

/* Right slot — kept light, just a single quiet link */
.masthead-aside {
    text-align: right;
    align-self: end;
    padding-bottom: 0.25rem;
}
.masthead-aside a {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-600);
    text-decoration: none;
    border-bottom: 1px solid var(--ink-300);
    padding-bottom: 1px;
    transition: color 0.15s, border-color 0.15s;
}
.masthead-aside a:hover {
    color: var(--olive-700);
    border-color: var(--olive-500);
}

/* Section nav — runs as a printed footer rule under the masthead */
.section-nav {
    border-top: var(--rule);
    border-bottom: 2px solid var(--ink-900);
    background: var(--paper);
}
.section-nav-inner {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 0 var(--s-6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-8);
    flex-wrap: wrap;
    height: 44px;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.section-nav a {
    color: var(--ink-700);
    text-decoration: none;
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.15s, border-color 0.15s;
}
.section-nav a:hover {
    color: var(--olive-700);
    border-bottom-color: var(--olive-500);
}
.section-nav a.active {
    color: var(--ink-900);
    border-bottom-color: var(--ink-900);
}

/* Hamburger — only shown on small screens */
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--ink-300);
    border-radius: 3px;
    padding: 0.4rem 0.7rem;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-700);
}

/* ══════════════════════════════════════════════════════════════════════════
   ARTICLE PAGE LAYOUT
   Three-column generous outer container so marginalia has somewhere to live.
   ══════════════════════════════════════════════════════════════════════════ */

.article-wrap {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: var(--s-12) var(--s-6) var(--s-20);
    flex: 1;
}

.breadcrumb {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: var(--ink-500);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    margin-bottom: var(--s-6);
}
.breadcrumb a {
    color: var(--ink-600);
    text-decoration: none;
    border-bottom: 1px solid var(--ink-300);
    padding-bottom: 1px;
}
.breadcrumb a:hover { color: var(--olive-700); border-color: var(--olive-500); }
.breadcrumb-sep {
    margin: 0 0.5em;
    color: var(--ink-300);
    font-family: var(--font-serif);
    font-size: 0.85rem;
    text-transform: none;
}
.breadcrumb-current { color: var(--ink-500); }

/* Headline block — centred, classic magazine kicker + headline + dek */
.article-head {
    max-width: 50rem;
    margin: 0 auto var(--s-10);
    text-align: center;
    padding: var(--s-4) 0 var(--s-2);
}

.kicker {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--olive-700);
    margin-bottom: var(--s-5);
    display: inline-block;
    padding: 0.3rem 0;
    position: relative;
}
.kicker::before,
.kicker::after {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--olive-500);
    vertical-align: middle;
    margin: 0 0.85em;
    transform: translateY(-1px);
}

.article-head h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.1rem, 5.5vw, 3.6rem);
    line-height: 1.04;
    letter-spacing: -0.022em;
    color: var(--ink-900);
    margin-bottom: var(--s-5);
    font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
    text-wrap: balance;
}

.dek {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    line-height: 1.5;
    color: var(--ink-600);
    max-width: 38em;
    margin: 0 auto var(--s-7);
    text-wrap: balance;
}

/* Byline block — date · author · reading time, centred under headline */
.article-byline {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--ink-600);
    letter-spacing: 0.04em;
    border-top: var(--rule);
    border-bottom: var(--rule);
    padding: var(--s-4) 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--s-5);
    flex-wrap: wrap;
    max-width: 36rem;
    margin: 0 auto;
}
.article-byline .by-author {
    font-weight: 600;
    color: var(--ink-800);
}
.article-byline .by-author a {
    color: var(--ink-800);
    text-decoration: none;
    border-bottom: 1px solid var(--olive-400);
    padding-bottom: 1px;
}
.article-byline .by-author a:hover { color: var(--olive-700); border-color: var(--olive-700); }
.article-byline .by-role {
    font-style: italic;
    color: var(--ink-500);
    font-weight: 400;
}
.article-byline time {
    font-variant-numeric: oldstyle-nums;
}
.article-byline .by-sep {
    color: var(--ink-300);
}

/* Hero image — full bleed within wrap */
.hero-image {
    margin: var(--s-10) 0 var(--s-12);
    position: relative;
}
.hero-image img {
    width: 100%;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
    background: var(--ink-100);
    /* Slight border instead of shadow — feels more printed */
    border: 1px solid var(--paper-3);
}
.hero-image figcaption,
.hero-image .caption {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    color: var(--ink-500);
    line-height: 1.5;
    margin-top: var(--s-2);
    padding-left: var(--s-3);
    border-left: 2px solid var(--olive-400);
}

/* ══════════════════════════════════════════════════════════════════════════
   ARTICLE BODY — the main event
   ══════════════════════════════════════════════════════════════════════════ */

.article-layout {
    display: grid;
    grid-template-columns: 1fr min(var(--measure), 100%) 1fr;
    column-gap: var(--s-8);
}
.article-layout > * {
    grid-column: 2;
}

/* Aside / marginalia — escape into the right column on wide screens */
.article-layout > .margin-note,
.article-layout > .glossary-card {
    grid-column: 2;  /* default centre */
}

@media (min-width: 1080px) {
    .article-layout > .margin-note,
    .article-layout > .glossary-card.float-right {
        grid-column: 3;
        margin-top: 0.4rem;
        max-width: 19rem;
        justify-self: start;
        margin-left: var(--s-2);
    }
    .article-layout > .glossary-card.float-left {
        grid-column: 1;
        justify-self: end;
        max-width: 19rem;
        margin-right: var(--s-2);
        margin-top: 0.4rem;
    }
}

.article-body {
    /* The body inherits the column from .article-layout */
    font-family: var(--font-serif);
    font-size: calc(1.125rem * var(--article-scale, 1));
    line-height: 1.72;
    color: var(--ink-800);
    word-spacing: 0.01em;
}

.article-body p {
    margin-bottom: var(--s-6);
    text-wrap: pretty;
    /* Allow standard hyphenation for long-form */
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* Drop cap on the article's first paragraph */
.article-body > p:first-of-type::first-letter {
    font-family: var(--font-display);
    font-weight: 700;
    float: left;
    font-size: 4.6em;
    line-height: 0.85;
    margin: 0.08em 0.12em -0.05em 0;
    color: var(--olive-800);
    font-variation-settings: "opsz" 144, "SOFT" 100;
    /* Visual offset — the cap reaches three lines */
    padding-top: 0.04em;
}

/* The opening paragraph deserves slight extra emphasis */
.article-body > p:first-of-type {
    font-size: calc(1.18rem * var(--article-scale, 1));
    line-height: 1.65;
    color: var(--ink-900);
}
.article-body > p:first-of-type::first-line {
    /* small caps for the first line — printed-mag tradition */
    font-variant-caps: small-caps;
    letter-spacing: 0.04em;
    font-weight: 500;
}

/* Headings — H2 sets section breaks, H3 sets sub-thoughts */
.article-body h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: calc(1.7rem * var(--article-scale, 1));
    line-height: 1.18;
    letter-spacing: -0.018em;
    color: var(--ink-900);
    margin: var(--s-12) 0 var(--s-5);
    font-variation-settings: "opsz" 80, "SOFT" 40, "WONK" 0;
    text-wrap: balance;
    position: relative;
    padding-top: var(--s-6);
}
.article-body h2::before {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    background: var(--olive-700);
    margin-bottom: var(--s-5);
}

.article-body h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: calc(1.28rem * var(--article-scale, 1));
    line-height: 1.3;
    letter-spacing: -0.012em;
    color: var(--ink-900);
    margin: var(--s-8) 0 var(--s-3);
    font-variation-settings: "opsz" 36, "SOFT" 50;
}

.article-body h4 {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: calc(0.95rem * var(--article-scale, 1));
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--olive-800);
    margin: var(--s-6) 0 var(--s-3);
}

/* Editorial strong — small caps + thin underline (used 0-2x per article) */
.article-body strong {
    font-weight: 600;
    color: var(--ink-900);
    font-variant-caps: all-small-caps;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--olive-400);
    padding-bottom: 1px;
}

.article-body em {
    font-style: italic;
    color: var(--ink-700);
}

.article-body a {
    color: var(--olive-700);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: var(--olive-300, #b6dc70);
    text-underline-offset: 3px;
}
.article-body a:hover {
    color: var(--olive-800);
    text-decoration-color: var(--olive-700);
}

/* Lists — generous, with custom markers */
.article-body ul,
.article-body ol {
    margin: 0 0 var(--s-7);
    padding-left: 1.5em;
}
.article-body li {
    margin-bottom: var(--s-3);
    padding-left: 0.4em;
    line-height: 1.7;
}
.article-body ul > li::marker {
    content: "—  ";
    color: var(--olive-700);
    font-weight: 700;
    font-family: var(--font-sans);
}
.article-body ol {
    counter-reset: itm;
    list-style: none;
    padding-left: 0;
}
.article-body ol > li {
    counter-increment: itm;
    position: relative;
    padding-left: 2.6em;
    margin-bottom: var(--s-4);
}
.article-body ol > li::before {
    content: counter(itm, decimal-leading-zero);
    font-family: var(--font-sans);
    font-feature-settings: "tnum" 1;
    font-weight: 700;
    font-size: 0.78em;
    color: var(--olive-700);
    background: var(--olive-50);
    border: 1px solid var(--olive-100);
    width: 2em;
    text-align: center;
    border-radius: 2px;
    padding: 0.15em 0;
    position: absolute;
    left: 0;
    top: 0.32em;
    line-height: 1;
}

/* Inline code / kbd — for "set humidor to 65%" type cues */
.article-body code,
.article-body kbd {
    font-family: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, Menlo, monospace;
    font-size: 0.88em;
    background: var(--paper-2);
    color: var(--ink-900);
    padding: 0.08em 0.35em;
    border-radius: 2px;
    border: 1px solid var(--paper-3);
}

/* ── Block quote: hanging quote, italic serif, no box ──────────────── */
.article-body blockquote {
    margin: var(--s-10) 0;
    padding: var(--s-3) var(--s-6) var(--s-3) var(--s-8);
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: calc(1.4rem * var(--article-scale, 1));
    line-height: 1.45;
    color: var(--ink-800);
    border-left: 3px solid var(--olive-700);
    position: relative;
    text-wrap: balance;
}
.article-body blockquote::before {
    content: "\201C";
    position: absolute;
    left: 0.05em;
    top: -0.15em;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
    font-size: 4.6em;
    line-height: 1;
    color: var(--olive-700);
    opacity: 0.18;
    pointer-events: none;
}
.article-body blockquote p {
    margin-bottom: var(--s-3);
}
.article-body blockquote cite,
.article-body blockquote footer {
    display: block;
    font-family: var(--font-sans);
    font-style: normal;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-500);
    margin-top: var(--s-3);
}
.article-body blockquote cite::before,
.article-body blockquote footer::before {
    content: "— ";
    color: var(--olive-700);
}

/* ── Pull-quote: heavyweight, full-attention treatment ──────────────── */
.pullquote {
    font-family: var(--font-display);
    font-weight: 600;
    font-style: italic;
    font-size: calc(1.7rem * var(--article-scale, 1));
    line-height: 1.25;
    color: var(--ink-900);
    text-align: left;
    margin: var(--s-10) 0;
    padding: var(--s-6) 0 var(--s-6) 0;
    border-top: 2px solid var(--ink-900);
    border-bottom: var(--rule);
    text-wrap: balance;
    font-variation-settings: "opsz" 144, "SOFT" 50;
    letter-spacing: -0.005em;
    position: relative;
}
.pullquote::before {
    content: "\201C";
    position: absolute;
    left: -0.04em;
    top: -0.4em;
    font-size: 0.7em;
    color: var(--olive-700);
    font-style: italic;
    opacity: 0.4;
    line-height: 1;
}
.pullquote-source {
    display: block;
    font-family: var(--font-sans);
    font-style: normal;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-500);
    margin-top: var(--s-4);
}
.pullquote-source::before {
    content: "— ";
    color: var(--olive-700);
}

/* ── Glossary callout: the editorial signature ──────────────────────── */
/* Inline definitions get a sidebar-style card on desktop, full-width on mobile */
.glossary-card,
aside.glossary {
    background: var(--paper-2);
    border: 1px solid var(--paper-3);
    border-left: 3px solid var(--olive-700);
    padding: var(--s-5) var(--s-6);
    margin: var(--s-6) 0;
    font-family: var(--font-serif);
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--ink-700);
    border-radius: 0 2px 2px 0;
    position: relative;
}
.glossary-card .glossary-label,
aside.glossary .glossary-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--olive-700);
    margin-bottom: var(--s-2);
}
.glossary-card .term,
aside.glossary .term {
    font-family: var(--font-display);
    font-weight: 700;
    font-style: italic;
    font-size: 1.25rem;
    color: var(--ink-900);
    margin-bottom: var(--s-2);
    display: block;
    line-height: 1.2;
}
.glossary-card .term::after,
aside.glossary .term::after {
    content: "";
    display: block;
    width: 24px;
    height: 1px;
    background: var(--olive-500);
    margin-top: var(--s-2);
}
.glossary-card .pronunciation,
aside.glossary .pronunciation {
    display: inline-block;
    font-family: var(--font-sans);
    font-style: italic;
    font-size: 0.82rem;
    color: var(--ink-500);
    margin-bottom: var(--s-3);
}

/* Inline glossary term — a <dfn> popup hover */
dfn,
.glossary-term {
    font-style: normal;
    font-weight: 500;
    color: var(--ink-900);
    border-bottom: 1px dotted var(--olive-700);
    cursor: help;
    position: relative;
    padding: 0 0.05em;
}
dfn::after,
.glossary-term::after {
    content: " "; /* zero-width content; the bottom border IS the marker */
}

/* ── Margin note (marginalia tip) ──────────────────────────────────── */
.margin-note {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--ink-600);
    padding: var(--s-3) 0 var(--s-3) var(--s-4);
    border-left: 2px solid var(--ember);
    background: transparent;
    margin: var(--s-5) 0;
}
.margin-note .label {
    display: block;
    font-weight: 800;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ember);
    margin-bottom: var(--s-1);
}

/* ── "What nobody tells you" callout — voice-rules required pattern ── */
.tell-you,
.callout-tip {
    margin: var(--s-10) 0;
    padding: var(--s-6) var(--s-6) var(--s-6);
    background: var(--ember-bg);
    border: 1px solid #f0d3b8;
    border-left: 4px solid var(--ember);
    border-radius: 0 4px 4px 0;
    font-family: var(--font-serif);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink-800);
}
.tell-you .label,
.callout-tip .label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ember);
    margin-bottom: var(--s-3);
}
.tell-you p:last-child,
.callout-tip p:last-child { margin-bottom: 0; }

/* ── Tables ─────────────────────────────────────────────────────────── */
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--s-8) 0;
    font-family: var(--font-serif);
    font-size: 0.95rem;
    line-height: 1.5;
    border-top: 2px solid var(--ink-900);
    border-bottom: 2px solid var(--ink-900);
}
.article-body thead th {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-700);
    text-align: left;
    padding: var(--s-3) var(--s-3);
    border-bottom: 1px solid var(--ink-900);
    background: var(--paper-2);
}
.article-body tbody td {
    padding: var(--s-3);
    border-bottom: 1px solid var(--paper-3);
    vertical-align: top;
    color: var(--ink-700);
}
.article-body tbody tr:last-child td { border-bottom: none; }
@media (max-width: 700px) {
    .article-body table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ── Figure / images inside body ───────────────────────────────────── */
.article-body figure {
    margin: var(--s-10) 0;
}
.article-body figure img {
    width: 100%;
    border: 1px solid var(--paper-3);
}
.article-body figcaption {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--ink-500);
    line-height: 1.5;
    margin-top: var(--s-2);
    padding-left: var(--s-3);
    border-left: 2px solid var(--olive-400);
}

/* ── HR — printed rule ──────────────────────────────────────────────── */
.article-body hr {
    border: none;
    height: auto;
    text-align: center;
    margin: var(--s-12) 0;
    color: var(--ink-300);
}
.article-body hr::before {
    content: "* * *";
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 1.2em;
    color: var(--ink-300);
    padding-left: 1.2em;
}

/* ══════════════════════════════════════════════════════════════════════════
   AUTHOR BIO BLOCK — give the bio room to breathe
   ══════════════════════════════════════════════════════════════════════════ */

.author-block {
    max-width: var(--measure);
    margin: var(--s-16) auto var(--s-8);
    padding: var(--s-8) 0 var(--s-3);
    border-top: 2px solid var(--ink-900);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-4);
}

.author-block-label {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-500);
}

.author-block-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 1.15;
    letter-spacing: -0.012em;
    color: var(--ink-900);
}
.author-block-name a {
    color: inherit;
    text-decoration: none;
    border-bottom: 2px solid var(--olive-400);
    padding-bottom: 1px;
}
.author-block-name a:hover {
    color: var(--olive-800);
    border-color: var(--olive-700);
}

.author-block-role {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--ink-500);
    margin-top: -0.1rem;
}

.author-block-bio {
    font-family: var(--font-serif);
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--ink-700);
    max-width: 38em;
    margin-top: var(--s-2);
}

.editorial-note {
    max-width: var(--measure);
    margin: var(--s-6) auto 0;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    line-height: 1.55;
    color: var(--ink-500);
    font-style: italic;
    padding: var(--s-3) 0 0;
    border-top: var(--rule);
}
.editorial-note a {
    color: var(--ink-700);
    text-decoration: underline;
    text-decoration-color: var(--ink-300);
}
.editorial-note a:hover { color: var(--olive-700); text-decoration-color: var(--olive-500); }

/* ── Tags row ───────────────────────────────────────────────────────── */
.post-tags {
    max-width: var(--measure);
    margin: var(--s-7) auto 0;
    padding-top: var(--s-5);
    border-top: var(--rule);
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2);
    align-items: center;
    font-family: var(--font-sans);
}
.post-tags-label {
    font-size: 0.7rem;
    color: var(--ink-500);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-right: var(--s-2);
}
.tag-chip {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    background: transparent;
    color: var(--ink-700);
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid var(--ink-300);
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.tag-chip:hover {
    background: var(--olive-50);
    border-color: var(--olive-500);
    color: var(--olive-800);
}

/* ══════════════════════════════════════════════════════════════════════════
   CONTINUE LEARNING — related posts as study path, not card grid
   ══════════════════════════════════════════════════════════════════════════ */

.related {
    max-width: var(--page-max);
    margin: var(--s-20) auto 0;
    padding: var(--s-12) var(--s-6) 0;
    border-top: 2px solid var(--ink-900);
}

.related-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--olive-700);
    margin-bottom: var(--s-3);
}
.related h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: var(--s-2);
    letter-spacing: -0.018em;
    font-variation-settings: "opsz" 80, "SOFT" 30;
}
.related-sub {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--ink-500);
    margin-bottom: var(--s-8);
    font-size: 1rem;
}

.related-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0;
}
.related-item {
    border-top: var(--rule);
    padding: var(--s-5) var(--s-5) var(--s-6) 0;
    display: block;
    counter-increment: relsection;
}
.related-list { counter-reset: relsection; }
.related-item a {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.15s ease;
}
.related-item .relnum {
    font-family: var(--font-sans);
    font-feature-settings: "tnum" 1;
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--olive-700);
    letter-spacing: 0.12em;
    margin-bottom: var(--s-2);
    display: block;
}
.related-item h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.18rem;
    line-height: 1.3;
    color: var(--ink-900);
    letter-spacing: -0.01em;
    margin-bottom: var(--s-2);
    transition: color 0.15s;
    text-wrap: balance;
}
.related-item:hover h3 { color: var(--olive-700); }
.related-item p {
    font-family: var(--font-serif);
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--ink-500);
    margin: 0;
}
.related-item time {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-400);
    margin-top: var(--s-3);
    font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════════════ */

.colophon {
    background: var(--ink-900);
    color: var(--ink-200);
    padding: var(--s-16) var(--s-6) var(--s-8);
    margin-top: var(--s-20);
    font-family: var(--font-serif);
}
.colophon-inner {
    max-width: var(--page-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--s-10);
    padding-bottom: var(--s-8);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.colophon-brand .wordmark {
    color: var(--paper);
    font-size: 1.8rem;
    letter-spacing: -0.018em;
    text-align: left;
}
.colophon-brand p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--ink-300);
    margin-top: var(--s-3);
    max-width: 28em;
}
.colophon h4 {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--olive-400);
    margin-bottom: var(--s-3);
}
.colophon ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
    font-family: var(--font-sans);
    font-size: 0.92rem;
}
.colophon ul a {
    color: var(--ink-200);
    text-decoration: none;
    transition: color 0.15s;
}
.colophon ul a:hover { color: var(--olive-400); }

.colophon-bottom {
    max-width: var(--page-max);
    margin: 0 auto;
    padding-top: var(--s-6);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: var(--s-4);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    color: var(--ink-400);
}
.colophon-bottom p { line-height: 1.6; }
.colophon-disclaimer {
    flex-basis: 100%;
    font-size: 0.74rem;
    color: var(--ink-500);
    line-height: 1.6;
    padding-top: var(--s-4);
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: var(--s-4);
    font-style: italic;
}

/* ══════════════════════════════════════════════════════════════════════════
   READING-TIME GAUGE — sticky in left margin (desktop only)
   ══════════════════════════════════════════════════════════════════════════ */

.reading-rail {
    display: none;
}

@media (min-width: 1080px) {
    .reading-rail {
        display: block;
        position: fixed;
        left: max(var(--s-6), calc((100vw - var(--page-max)) / 2 + var(--s-4)));
        top: 50%;
        transform: translateY(-50%);
        width: 88px;
        font-family: var(--font-sans);
        font-size: 0.7rem;
        color: var(--ink-500);
        z-index: 10;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }
    .reading-rail.visible { opacity: 1; }
    .reading-rail-label {
        font-weight: 800;
        font-size: 0.62rem;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: var(--ink-400);
        margin-bottom: var(--s-3);
        text-align: center;
    }
    .reading-rail-track {
        height: 110px;
        width: 2px;
        background: var(--paper-3);
        margin: 0 auto var(--s-2);
        position: relative;
        border-radius: 1px;
    }
    .reading-rail-fill {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 0%;
        background: var(--olive-700);
        transition: height 0.1s linear;
        border-radius: 1px;
    }
    .reading-rail-mins {
        text-align: center;
        font-weight: 700;
        color: var(--ink-700);
        font-feature-settings: "tnum" 1;
    }
    .reading-rail-mins span {
        display: block;
        font-weight: 500;
        font-size: 0.62rem;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        color: var(--ink-400);
        margin-top: 2px;
    }
}

/* Top progress bar — quieter than reference site */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: transparent;
    z-index: 1100;
    pointer-events: none;
}
.reading-progress-fill {
    height: 100%;
    width: 0;
    background: var(--olive-700);
    transition: width 80ms linear;
}

/* ══════════════════════════════════════════════════════════════════════════
   FONT-SIZE CONTROLS
   ══════════════════════════════════════════════════════════════════════════ */

.font-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--font-sans);
}
.font-btn {
    background: transparent;
    border: 1px solid var(--ink-300);
    border-radius: 3px;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--ink-600);
    padding: 1px 7px;
    cursor: pointer;
    line-height: 1.4;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.font-btn:hover {
    background: var(--olive-50);
    color: var(--olive-800);
    border-color: var(--olive-500);
}
.font-btn:disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}
.font-pct {
    font-size: 0.65rem;
    color: var(--ink-500);
    min-width: 2.4em;
    text-align: center;
    font-weight: 600;
    font-feature-settings: "tnum" 1;
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
    html { font-size: 16.5px; }

    .masthead-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--s-3);
        padding: var(--s-6) var(--s-5) var(--s-4);
    }
    .masthead-meta { text-align: center; }
    .masthead-aside { text-align: center; }

    .section-nav-inner {
        gap: var(--s-5);
        height: auto;
        padding: var(--s-3) var(--s-4);
    }

    .article-wrap { padding: var(--s-8) var(--s-5) var(--s-16); }
    .article-head { margin-bottom: var(--s-8); }
    .hero-image { margin: var(--s-6) 0 var(--s-8); }

    /* Glossary cards always full-width on mobile */
    .glossary-card,
    aside.glossary {
        margin-left: 0;
        margin-right: 0;
    }

    .colophon-inner {
        grid-template-columns: 1fr;
        gap: var(--s-7);
    }
    .colophon-brand .wordmark { text-align: center; }
    .colophon-brand p { margin-left: auto; margin-right: auto; }
    .colophon h4 { text-align: center; }
    .colophon ul { align-items: center; }
    .colophon-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 600px) {
    html { font-size: 16px; }

    .article-body {
        font-size: calc(1.05rem * var(--article-scale, 1));
    }
    .article-body > p:first-of-type::first-letter {
        font-size: 4em;
    }
    .article-body > p:first-of-type::first-line {
        font-variant-caps: normal;
        letter-spacing: normal;
    }
    .pullquote {
        font-size: calc(1.4rem * var(--article-scale, 1));
    }
    .article-body blockquote {
        font-size: calc(1.18rem * var(--article-scale, 1));
        padding-left: var(--s-6);
    }
    .article-body blockquote::before {
        font-size: 3.4em;
    }

    .author-block-name { font-size: 1.35rem; }
}

/* ── Print ──────────────────────────────────────────────────────────── */
@media print {
    .masthead, .section-nav, .colophon, .reading-progress, .reading-rail,
    .related, .post-tags, .nav-toggle, .font-controls { display: none !important; }
    body { background: #fff; color: #000; }
    .article-wrap { padding: 0; max-width: 100%; }
    .article-body a {
        color: #000;
        text-decoration: underline;
    }
    .article-body a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 0.7em;
        color: #555;
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   === Index page ===
   Front page / archive layout. Builds on the masthead and colophon already
   established in post.html — only adds the elements specific to a list of
   posts: the front billboard, the post-card grid, the pagination, and the
   "what this site is" colophon block.
   ══════════════════════════════════════════════════════════════════════════ */

.index-wrap {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: var(--s-12) var(--s-6) var(--s-16);
    flex: 1;
}

/* ── Front billboard: kicker + h1 + dek, headline-block style ───────── */
.front-billboard {
    max-width: 56rem;
    margin: 0 auto var(--s-12);
    text-align: center;
    padding: var(--s-3) 0 var(--s-2);
}
.front-billboard .kicker {
    margin-bottom: var(--s-5);
}
.front-billboard h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.4rem, 6vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.025em;
    color: var(--ink-900);
    margin-bottom: var(--s-5);
    font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
    text-wrap: balance;
}
.front-billboard .dek {
    margin-bottom: var(--s-7);
}
.front-billboard-meta {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    color: var(--ink-600);
    letter-spacing: 0.04em;
    border-top: var(--rule);
    border-bottom: var(--rule);
    padding: var(--s-3) 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--s-5);
    flex-wrap: wrap;
    max-width: 38rem;
    margin: 0 auto;
}
.front-billboard-meta .by-sep { color: var(--ink-300); }
.front-billboard-meta time { font-variant-numeric: oldstyle-nums; }

/* ── "Continue reading" / "More from the archive" prompt ────────────── */
.front-prompt {
    max-width: var(--page-max);
    margin: var(--s-10) auto var(--s-8);
    display: flex;
    align-items: center;
    gap: var(--s-5);
    padding: 0 var(--s-2);
}
.front-prompt-rule {
    flex: 1;
    height: 1px;
    background: var(--ink-900);
    border: none;
    margin: 0;
}
.front-prompt-label {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--ink-900);
    white-space: nowrap;
}
.front-prompt-label::before {
    content: "Continue reading";
}
/* When the posts-list carries the archive modifier (page 2+), swap the
   prompt text and hide the front-page-only "what this site is" block. */
.index-wrap:has(.posts-list--archive) .front-prompt-label::before {
    content: "More from the archive";
}
.index-wrap:has(.posts-list--archive) .about-block { display: none; }

/* ── Post grid — editorial cards, generous whitespace ───────────────── */
.posts-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--s-10) var(--s-8);
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: postnum;
}

/* Page-1 featured-first treatment: lead card spans the full width */
.posts-list:not(.posts-list--archive) > .post-card:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: var(--s-10);
    align-items: center;
    padding-bottom: var(--s-10);
    margin-bottom: var(--s-4);
    border-bottom: 2px solid var(--ink-900);
}
.posts-list:not(.posts-list--archive) > .post-card:first-child .post-card-thumb {
    aspect-ratio: 5 / 4;
    grid-row: 1;
}
.posts-list:not(.posts-list--archive) > .post-card:first-child article {
    padding-top: 0;
}
.posts-list:not(.posts-list--archive) > .post-card:first-child h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    line-height: 1.08;
}
.posts-list:not(.posts-list--archive) > .post-card:first-child p {
    font-size: 1.08rem;
    color: var(--ink-700);
    margin-top: var(--s-3);
}
.posts-list:not(.posts-list--archive) > .post-card:first-child::before {
    content: "The lede";
    position: absolute;
    top: 0;
    left: 0;
    font-family: var(--font-sans);
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--ember);
    background: var(--paper);
    padding-right: var(--s-3);
}
@media (max-width: 760px) {
    .posts-list:not(.posts-list--archive) > .post-card:first-child {
        grid-template-columns: 1fr;
        gap: var(--s-5);
    }
}

/* Individual post card */
.post-card {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    counter-increment: postnum;
    padding-top: var(--s-4);
    border-top: var(--rule);
    transition: transform 0.18s ease;
}
.post-card:hover { color: inherit; }
.post-card:hover h2 { color: var(--olive-700); }
.post-card:focus-visible {
    outline: 2px solid var(--olive-500);
    outline-offset: 6px;
}

.post-card-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--ink-100);
    border: 1px solid var(--paper-3);
    margin-bottom: var(--s-4);
    transition: filter 0.2s ease;
}
.post-card:hover .post-card-thumb {
    filter: brightness(1.02) saturate(1.05);
}

.post-card article {
    /* Inside the <a>, the inner article holds the type stack */
    padding-top: 0;
}
.post-card-meta {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--olive-700);
    font-weight: 700;
    margin-bottom: var(--s-2);
    display: flex;
    align-items: center;
    gap: var(--s-3);
}
.post-card-meta time {
    color: var(--olive-700);
    font-variant-numeric: oldstyle-nums;
    letter-spacing: 0.12em;
}
.post-card-meta .reading-time {
    color: var(--ink-500);
    font-weight: 600;
}
.post-card-meta .reading-time::before {
    content: "·";
    margin-right: var(--s-3);
    color: var(--ink-300);
}
.post-card h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.35rem, 1.8vw, 1.6rem);
    line-height: 1.18;
    letter-spacing: -0.014em;
    color: var(--ink-900);
    margin: 0 0 var(--s-3);
    font-variation-settings: "opsz" 60, "SOFT" 40;
    text-wrap: balance;
    transition: color 0.15s ease;
}
.post-card p {
    font-family: var(--font-serif);
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--ink-600);
    margin: 0 0 var(--s-4);
    text-wrap: pretty;
}
.post-card .read-more {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--olive-700);
    border-bottom: 1px solid var(--olive-400);
    padding-bottom: 1px;
    transition: color 0.15s, border-color 0.15s;
}
.post-card:hover .read-more {
    color: var(--olive-800);
    border-color: var(--olive-700);
}

.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    font-family: var(--font-display);
    font-style: italic;
    color: var(--ink-500);
    padding: var(--s-12) 0;
    font-size: 1.2rem;
}

/* ── Pagination ─────────────────────────────────────────────────────── */
.pagination {
    max-width: var(--measure);
    margin: var(--s-16) auto 0;
    padding-top: var(--s-7);
    border-top: 2px solid var(--ink-900);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4);
    font-family: var(--font-sans);
    flex-wrap: wrap;
}
.pagination a {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-800);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--olive-400);
    padding: 0.3rem 0.1rem;
    transition: color 0.15s, border-color 0.15s;
}
.pagination a:hover {
    color: var(--olive-800);
    border-bottom-color: var(--olive-700);
}
.pagination-status {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    color: var(--ink-500);
    font-feature-settings: "tnum" 1;
}

/* ── "What this site is" — front-page colophon block ────────────────── */
.about-block {
    max-width: var(--page-max);
    margin: var(--s-20) auto 0;
    padding: var(--s-12) 0 0;
    border-top: 2px solid var(--ink-900);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: var(--s-12);
    align-items: start;
}
.about-block-label {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--olive-700);
    margin-bottom: var(--s-4);
}
.about-block h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.7rem, 2.6vw, 2.3rem);
    line-height: 1.1;
    letter-spacing: -0.018em;
    color: var(--ink-900);
    font-variation-settings: "opsz" 80, "SOFT" 30;
    text-wrap: balance;
    margin: 0;
}
.about-block-body {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ink-800);
}
.about-block-body p {
    margin-bottom: var(--s-5);
    text-wrap: pretty;
}
.about-block-body p:last-child { margin-bottom: 0; }
.about-block-body em {
    font-style: italic;
    color: var(--ink-700);
}
.about-block-signed {
    margin-top: var(--s-6);
    padding-top: var(--s-4);
    border-top: var(--rule);
    font-family: var(--font-sans);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 700;
    color: var(--ink-500);
}
.about-block-signed a {
    color: var(--ink-700);
    text-decoration: none;
    border-bottom: 1px solid var(--olive-400);
    padding-bottom: 1px;
}
.about-block-signed a:hover {
    color: var(--olive-800);
    border-bottom-color: var(--olive-700);
}

@media (max-width: 900px) {
    .index-wrap { padding: var(--s-8) var(--s-5) var(--s-12); }
    .front-billboard { margin-bottom: var(--s-8); }
    .posts-list {
        grid-template-columns: 1fr;
        gap: var(--s-8);
    }
    .front-prompt { margin: var(--s-7) auto var(--s-5); }
    .about-block {
        grid-template-columns: 1fr;
        gap: var(--s-5);
        margin-top: var(--s-12);
        padding-top: var(--s-8);
    }
    .pagination {
        justify-content: center;
        text-align: center;
    }
}

@media print {
    .pagination, .front-prompt, .about-block { display: none !important; }
}
