:root {
    /* Warm sage palette — Parchment mood (default) */
    --bg: #fdfdf8;
    --surface-sage: #eeefe9;
    --surface-light: #e5e7e0;
    --surface-tan: #d4c9b8;

    --ink: #4d4f46;
    --ink-deep: #23251d;
    --ink-muted: #65675e;
    --ink-placeholder: #9ea096;

    --rule: #bfc1b7;
    --rule-2: #b6b7af;

    --cta: #1e1f23;
    --accent: #F54E00;
    --gold: #F7A501;
    --gold-border: #b17816;

    /* density tokens (set by [data-density]) */
    --pad-section: 64px;
    --pad-hero-top: 64px;
    --gap-grid: 56px;
    --h1-size: 56px;
    --h1-track: -1.4px;
    --h2-size: 36px;
    --lede-size: 19px;
    --body-size: 16px;
    --body-lh: 1.5;

    /* heading family token (changes with Voice) */
    --display-font: "IBM Plex Sans", -apple-system, system-ui, sans-serif;
    --display-weight: 800;
    --display-case: none;
  }

  /* MOOD: Newsprint — cooler, journalistic, near-black ink */
  html[data-mood="newsprint"] {
    --bg: #f6f5f0;
    --surface-sage: #ebeae3;
    --surface-light: #dedcd2;
    --surface-tan: #c9c2b0;
    --ink: #1f1d18;
    --ink-deep: #0a0a08;
    --ink-muted: #4a4842;
    --ink-placeholder: #8a887f;
    --rule: #b3b1a6;
    --rule-2: #9b9a90;
    --cta: #0a0a08;
    --accent: #c1290a;
    --gold: #b88a14;
  }

  /* MOOD: Dusk — deep olive dark mode */
  html[data-mood="dusk"] {
    --bg: #1a1c16;
    --surface-sage: #23261d;
    --surface-light: #2c2f25;
    --surface-tan: #3d3a2a;
    --ink: #c8c8bc;
    --ink-deep: #f0efe3;
    --ink-muted: #8e9085;
    --ink-placeholder: #6a6c62;
    --rule: #3a3d31;
    --rule-2: #4a4d40;
    --cta: #f0efe3;
    --accent: #ff7a2a;
    --gold: #ffc14d;
  }
  html[data-mood="dusk"] .btn-dark { color: #1a1c16; }
  html[data-mood="dusk"] .btn-dark:hover { color: var(--gold); }
  html[data-mood="dusk"] .mark .glyph,
  html[data-mood="dusk"] img.glyph { filter: invert(1) hue-rotate(180deg) saturate(0.6) brightness(1.4); }
  html[data-mood="dusk"] h1 .mark-orange { color: #1a1c16; }

  /* DENSITY: Magazine — tighter, denser */
  html[data-density="magazine"] {
    --pad-section: 44px;
    --pad-hero-top: 44px;
    --gap-grid: 36px;
    --h1-size: 48px;
    --h1-track: -1.6px;
    --h2-size: 30px;
    --lede-size: 17px;
    --body-size: 15px;
    --body-lh: 1.45;
  }
  /* DENSITY: Roomy — looser */
  html[data-density="roomy"] {
    --pad-section: 96px;
    --pad-hero-top: 96px;
    --gap-grid: 80px;
    --h1-size: 68px;
    --h1-track: -1.8px;
    --h2-size: 42px;
    --lede-size: 22px;
    --body-size: 17px;
    --body-lh: 1.65;
  }

  /* VOICE: Editorial — measured, serif display */
  html[data-voice="editorial"] {
    --display-font: "IBM Plex Serif", Georgia, "Times New Roman", serif;
    --display-weight: 600;
    --display-case: none;
  }
  /* VOICE: Manifesto — louder, all-caps eyebrow handled in markup */
  html[data-voice="manifesto"] {
    --display-weight: 800;
  }
  html[data-voice="manifesto"] h1 { letter-spacing: -2px; }
  html[data-voice="manifesto"] .eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; }
  html[data-voice="manifesto"] .section-label { letter-spacing: 0.16em; font-weight: 700; }

  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }

  body {
    background: var(--bg);
    color: var(--ink);
    font-family: "IBM Plex Sans", -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: var(--body-size);
    line-height: var(--body-lh);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    transition: background 0.25s ease, color 0.25s ease;
  }

  ::selection { background: var(--accent); color: var(--bg); }

  .wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 32px;
  }

  /* Top bar */
  .topbar {
    border-bottom: 1px solid var(--rule);
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: saturate(1.1);
  }
  .topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
  }
  .mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -0.01em;
    color: var(--ink-deep);
    text-decoration: none;
  }
  .mark:hover { color: var(--accent); }
  .mark img.glyph {
    width: 28px;
    height: 28px;
    display: block;
    transition: filter 0.15s ease, transform 0.2s ease;
  }
  .mark:hover img.glyph {
    transform: rotate(-6deg) scale(1.04);
    filter: hue-rotate(-30deg) saturate(1.4);
  }

  .topnav {
    display: flex;
    align-items: center;
    gap: 22px;
  }
  .topnav a {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-deep);
    text-decoration: none;
    transition: color 0.12s ease;
  }
  .topnav a:hover { color: var(--accent); }
  .topnav a.btn-dark { color: #fff; }
  .topnav a.btn-dark:hover { color: var(--gold); }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    border: 0;
    transition: opacity 0.12s ease, color 0.12s ease, background 0.12s ease;
    text-decoration: none;
  }
  .btn-dark {
    background: var(--cta);
    color: #fff;
    border-radius: 6px;
    padding: 11px 14px;
  }
  .btn-dark:hover { opacity: 0.78; color: var(--gold); }
  .btn-dark:active { opacity: 0.88; transform: scale(0.99); }

  .btn-sage {
    background: var(--surface-light);
    color: var(--ink);
    border-radius: 4px;
    padding: 9px 12px;
    border: 1px solid var(--rule);
  }
  .btn-sage:hover { background: #f4f4f4; color: var(--accent); }

  /* HERO */
  .hero {
    padding: var(--pad-hero-top) 0 32px;
    border-bottom: 1px solid var(--rule);
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: var(--gap-grid);
    align-items: start;
  }

  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Source Code Pro", ui-monospace, Menlo, monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--ink-muted);
    text-transform: uppercase;
    margin: 0 0 22px;
  }
  .eyebrow .pill {
    display: inline-flex;
    align-items: center;
    background: var(--surface-tan);
    color: var(--ink-deep);
    padding: 3px 8px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
  }

  h1 {
    font-family: var(--display-font);
    font-weight: var(--display-weight);
    font-size: var(--h1-size);
    line-height: 1.18;
    letter-spacing: var(--h1-track);
    color: var(--ink-deep);
    margin: 0 0 22px;
    transition: font-size 0.25s ease;
  }
  h1 .mark-orange {
    background: none;
    color: var(--ink-deep);
    padding: 0;
    margin: 0;
    border-radius: 0;
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 0.12em;
    text-underline-offset: 0.12em;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
  }
  h1 .underline {
    background-image: linear-gradient(to top, var(--surface-tan) 38%, transparent 38%);
  }
  h1 .h1-line-2 {
    display: block;
    color: var(--ink-deep);
  }

  .lede {
    font-size: var(--lede-size);
    line-height: 1.55;
    color: var(--ink);
    margin: 0 0 28px;
    max-width: 540px;
  }

  /* Subscribe form */
  .subscribe {
    display: flex;
    gap: 8px;
    max-width: 460px;
    margin-top: 8px;
  }
  .subscribe input[type="email"] {
    flex: 1;
    background: var(--surface-sage);
    border: 1px solid var(--rule-2);
    border-radius: 4px;
    padding: 12px 14px;
    font: inherit;
    font-size: 15px;
    color: #374151;
    outline: none;
    min-width: 0;
  }
  .subscribe input[type="email"]::placeholder { color: var(--ink-placeholder); }
  .subscribe input[type="email"]:focus {
    background: #fff;
    border-color: var(--ink-deep);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
  }
  .subscribe .btn-dark { padding: 12px 18px; }

  .fineprint {
    margin-top: 12px;
    font-family: "Source Code Pro", ui-monospace, Menlo, monospace;
    font-size: 12px;
    color: var(--ink-muted);
  }

  /* Hero side card – issue preview as letter */
  .preview {
    background: var(--bg);
    border: 1px solid var(--rule);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 0 var(--rule), 8px 8px 0 -1px var(--surface-sage), 8px 8px 0 0 var(--rule);
  }
  .preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid var(--rule);
    background: var(--surface-sage);
    font-family: "Source Code Pro", monospace;
    font-size: 11.5px;
    color: var(--ink-muted);
  }
  .preview-head .dots {
    display: inline-flex;
    gap: 5px;
  }
  .preview-head .dots span {
    width: 9px; height: 9px; border-radius: 9999px;
    background: var(--rule);
    display: inline-block;
  }
  .preview-head .dots span:first-child { background: var(--accent); }
  .preview-head .dots span:nth-child(2) { background: var(--gold); }

  .preview-body {
    padding: 22px 24px 24px;
  }
  .letter-meta {
    display: grid;
    grid-template-columns: 56px 1fr;
    row-gap: 4px;
    column-gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px dashed var(--rule);
    font-family: "Source Code Pro", monospace;
    font-size: 11.5px;
    line-height: 1.4;
    color: var(--ink-muted);
  }
  .letter-meta .lk {
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  .letter-meta .lv {
    color: var(--ink-deep);
  }
  .letter-meta .lv .num {
    background: var(--ink-deep);
    color: var(--bg);
    padding: 1px 6px;
    border-radius: 3px;
    font-weight: 700;
    margin-right: 6px;
    font-size: 10.5px;
  }
  .issue-title {
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -0.4px;
    color: var(--ink-deep);
    margin: 0 0 14px;
    text-wrap: pretty;
  }
  .issue-blurb {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ink);
    margin: 0 0 14px;
  }
  .issue-blurb .pull {
    font-weight: 700;
    color: var(--ink-deep);
  }
  .issue-sign {
    font-family: "IBM Plex Serif", Georgia, serif;
    font-size: 15px;
    font-style: italic;
    color: var(--ink-muted);
    margin: 0 0 16px;
  }
  .issue-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--rule);
    padding-top: 12px;
    font-family: "Source Code Pro", monospace;
    font-size: 11px;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  .issue-foot .open {
    color: var(--ink-deep);
    font-weight: 700;
    text-decoration: none;
  }
  .issue-foot .open:hover { color: var(--accent); }

  /* Trust bar */
  .trust {
    padding: 24px 0;
    border-bottom: 1px solid var(--rule);
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
  }
  .trust .label {
    font-family: "Source Code Pro", monospace;
    font-size: 12px;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    flex-shrink: 0;
  }
  .trust .row {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
  }
  .trust .lg {
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--ink-muted);
    letter-spacing: -0.2px;
    opacity: 0.78;
    transition: opacity 0.15s ease, color 0.15s ease;
  }
  .trust .lg:hover { opacity: 1; color: var(--ink-deep); }

  /* Sections */
  section.block {
    padding: var(--pad-section) 0;
    border-bottom: 1px solid var(--rule);
  }
  .block:last-of-type { border-bottom: 0; }

  .section-label {
    font-family: "Source Code Pro", monospace;
    font-size: 12px;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .section-label::before {
    content: "";
    width: 18px;
    height: 1px;
    background: var(--ink-muted);
    display: inline-block;
  }

  h2 {
    font-family: var(--display-font);
    font-weight: var(--display-weight);
    font-size: var(--h2-size);
    line-height: 1.15;
    letter-spacing: -0.6px;
    color: var(--ink-deep);
    margin: 0 0 18px;
    max-width: 760px;
  }
  h2 em {
    font-style: normal;
    color: var(--ink-muted);
  }

  .body-lede {
    font-size: 18px;
    line-height: 1.6;
    color: var(--ink);
    max-width: 680px;
    margin: 0 0 12px;
  }

  a.inline {
    color: var(--ink-deep);
    text-decoration: underline;
    text-decoration-color: var(--rule);
    text-underline-offset: 4px;
    transition: color 0.12s ease, text-decoration-color 0.12s ease;
  }
  a.inline:hover { color: var(--accent); text-decoration-color: var(--accent); }

  strong { font-weight: 700; color: var(--ink-deep); }

  /* About row */
  .about-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: start;
  }
  .author-card {
    border: 1px solid var(--rule);
    border-radius: 6px;
    background: var(--bg);
    padding: 14px;
  }
  .author-photo {
    width: 100%;
    aspect-ratio: 1/1;
    background:
      repeating-linear-gradient(135deg,
        var(--surface-light) 0 6px,
        var(--surface-sage) 6px 12px);
    border: 1px solid var(--rule);
    border-radius: 4px;
    display: flex;
    align-items: flex-end;
    padding: 8px;
    font-family: "Source Code Pro", monospace;
    font-size: 10px;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  img.author-photo {
    background: none;
    padding: 0;
    object-fit: cover;
    display: block;
    height: auto;
  }
  .author-name {
    font-weight: 700;
    color: var(--ink-deep);
    font-size: 15px;
    margin-top: 10px;
  }
  .author-role {
    font-family: "Source Code Pro", monospace;
    font-size: 11px;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 2px;
  }

  /* Anatomy of an issue — 8 sections, 2-col list */
  .anatomy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 32px;
    border: 1px solid var(--rule);
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg);
  }
  .anatomy .cell {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
    padding: 22px 22px;
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    background: var(--bg);
    transition: background 0.15s ease;
    align-items: start;
  }
  .anatomy .cell:nth-child(2n) { border-right: 0; }
  .anatomy .cell:nth-last-child(-n+2) { border-bottom: 0; }
  .anatomy .cell:hover { background: var(--surface-sage); }
  .anatomy .cell:hover .glyph-tile { background: var(--surface-tan); }
  .anatomy .glyph-tile {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    background: var(--surface-light);
    border: 1px solid var(--rule);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    transition: background 0.15s ease;
    /* render emoji at native colors, not inheriting ink */
    color: initial;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif;
  }
  .anatomy .num {
    font-family: "Source Code Pro", monospace;
    font-size: 10.5px;
    color: var(--ink-muted);
    letter-spacing: 0.08em;
    margin: 0 0 4px;
  }
  .anatomy h4 {
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: var(--ink-deep);
    letter-spacing: -0.2px;
    margin: 0 0 6px;
    line-height: 1.3;
  }
  .anatomy p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink);
    margin: 0;
  }
  @media (max-width: 720px) {
    .anatomy { grid-template-columns: 1fr; }
    .anatomy .cell { border-right: 0; }
    .anatomy .cell:nth-last-child(2) { border-bottom: 1px solid var(--rule); }
  }

  .three-q {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
  }
  .q-card {
    background: var(--surface-sage);
    border: 1px solid var(--rule);
    border-radius: 6px;
    padding: 22px 20px;
    transition: background 0.15s ease;
  }
  .q-card:hover { background: var(--surface-tan); }
  .q-card .qnum {
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 800;
    font-size: 26px;
    color: var(--ink-deep);
    line-height: 1;
    margin-bottom: 12px;
  }
  .q-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink-deep);
    font-weight: 600;
  }

  /* Readers */
  .readers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 32px;
  }
  .reader-card {
    background: var(--bg);
    border: 1px solid var(--rule);
    border-radius: 6px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color 0.15s ease;
  }
  .reader-card:hover { border-color: var(--ink-deep); }
  .reader-card .role {
    font-family: "Source Code Pro", monospace;
    font-size: 11px;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  .reader-card h3 {
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 700;
    font-size: 21px;
    line-height: 1.25;
    letter-spacing: -0.4px;
    color: var(--ink-deep);
    margin: 0;
  }
  .reader-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink); }
  .reader-card .footnote {
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px dashed var(--rule);
    font-family: "Source Code Pro", monospace;
    font-size: 11.5px;
    color: var(--ink-muted);
  }

  /* Anti list */
  .anti {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    border-top: 1px solid var(--rule);
  }
  .anti li {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 24px;
    align-items: baseline;
    padding: 20px 0;
    border-bottom: 1px solid var(--rule);
    transition: padding-left 0.15s ease;
  }
  .anti li:hover { padding-left: 8px; }
  .anti .ix {
    font-family: "Source Code Pro", monospace;
    font-size: 12px;
    color: var(--ink-muted);
    letter-spacing: 0.06em;
  }
  .anti .body {
    font-size: 17px;
    line-height: 1.5;
    color: var(--ink-deep);
  }
  .anti .body b { font-weight: 700; }
  .anti .tag {
    font-family: "Source Code Pro", monospace;
    font-size: 11px;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--surface-light);
    padding: 4px 8px;
    border-radius: 9999px;
    white-space: nowrap;
  }

  /* Latest CTA strip */
  .latest-strip {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    margin-top: 28px;
    padding: 24px 28px;
    border: 1px solid var(--rule);
    border-radius: 6px;
    background: var(--surface-sage);
    transition: background 0.15s ease;
  }
  .latest-strip:hover { background: var(--surface-tan); }
  .latest-strip h3 {
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--ink-deep);
    margin: 0 0 4px;
    letter-spacing: -0.3px;
  }
  .latest-strip p {
    margin: 0;
    font-size: 14px;
    color: var(--ink);
  }
  .latest-strip .btn-tan {
    background: var(--surface-tan);
    color: var(--ink-deep);
    border: 1px solid var(--gold-border);
    border-radius: 4px;
    padding: 12px 16px;
    font-weight: 700;
  }
  .latest-strip .btn-tan:hover { color: var(--accent); }

  /* Archive strip — recent issues */
  .archive {
    margin-top: 28px;
    border: 1px solid var(--rule);
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg);
  }
  .archive-row {
    display: grid;
    grid-template-columns: 92px 1fr 110px 110px;
    align-items: baseline;
    gap: 24px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--rule);
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease, padding-left 0.15s ease;
  }
  .archive-row:last-child { border-bottom: 0; }
  .archive-row:hover {
    background: var(--surface-sage);
    padding-left: 28px;
  }
  .archive-row .a-num {
    font-family: "Source Code Pro", monospace;
    font-size: 12px;
    color: var(--ink-muted);
    letter-spacing: 0.06em;
  }
  .archive-row .a-num b {
    font-weight: 700;
    color: var(--ink-deep);
    margin-right: 4px;
  }
  .archive-row .a-title {
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--ink-deep);
    letter-spacing: -0.2px;
    line-height: 1.35;
    text-wrap: pretty;
  }
  .archive-row .a-tag {
    font-family: "Source Code Pro", monospace;
    font-size: 11px;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: left;
  }
  .archive-row .a-meta {
    font-family: "Source Code Pro", monospace;
    font-size: 11px;
    color: var(--ink-muted);
    letter-spacing: 0.04em;
    text-align: right;
  }
  .archive-foot {
    padding: 14px 22px;
    background: var(--surface-sage);
    font-family: "Source Code Pro", monospace;
    font-size: 12px;
    color: var(--ink-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: 0.04em;
  }
  .archive-foot a {
    color: var(--ink-deep);
    text-decoration: none;
    font-weight: 700;
  }
  .archive-foot a:hover { color: var(--accent); }
  @media (max-width: 720px) {
    .archive-row {
      grid-template-columns: 64px 1fr;
      grid-template-rows: auto auto;
      gap: 4px 16px;
      padding: 14px 18px;
    }
    .archive-row .a-tag,
    .archive-row .a-meta {
      grid-column: 2;
      text-align: left;
    }
    .archive-row:hover { padding-left: 18px; }
  }

  /* Final subscribe */
  .final {
    background: var(--surface-sage);
    border: 1px solid var(--rule);
    border-radius: 6px;
    padding: 48px 40px;
    margin: 64px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }
  .final h2 { margin: 0 0 12px; font-size: 30px; }
  .final p { margin: 0 0 0; font-size: 16px; color: var(--ink); }
  .final .signoff {
    margin-top: 16px;
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--ink-deep);
  }

  /* Footer */
  footer {
    border-top: 1px solid var(--rule);
    padding: 32px 0 56px;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
  }
  .footer-meta {
    font-family: "Source Code Pro", monospace;
    font-size: 12px;
    color: var(--ink-muted);
    letter-spacing: 0.02em;
  }
  .footer-links {
    display: flex;
    gap: 18px;
    align-items: center;
  }
  .footer-links a {
    font-family: "Source Code Pro", monospace;
    font-size: 12px;
    color: var(--ink-muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  .footer-links a:hover { color: var(--accent); }

  /* Responsive */
  @media (max-width: 880px) {
    .wrap { padding: 0 22px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    h1 { font-size: 40px; letter-spacing: -1px; }
    h2 { font-size: 28px; }
    .anatomy { grid-template-columns: 1fr 1fr; }
    .anatomy .cell { border-right: 0; border-bottom: 1px solid var(--rule); }
    .anatomy .cell:nth-child(odd) { border-right: 1px solid var(--rule); }
    .anatomy .cell:nth-last-child(-n+2) { border-bottom: 0; }
    .three-q { grid-template-columns: 1fr; }
    .readers { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 24px; }
    .author-card { max-width: 240px; }
    .final { grid-template-columns: 1fr; padding: 32px 28px; }
    .latest-strip { grid-template-columns: 1fr; }
    .anti li { grid-template-columns: 40px 1fr; }
    .anti .tag { grid-column: 2; justify-self: start; }
    .topnav { display: none; }
  }
  @media (max-width: 520px) {
    h1 { font-size: 34px; }
    .subscribe { flex-direction: column; }
    section.block { padding: 48px 0; }
    .hero { padding: 40px 0 24px; }
  }

/* === Koenig editor required classes === */
.kg-width-wide {
  position: relative;
  width: 85vw;
  max-width: 1040px;
  left: 50%;
  transform: translateX(-50%);
  margin: 1.5em 0;
}
.kg-width-full {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  margin: 1.5em 0;
}
.kg-width-full img,
.kg-width-wide img {
  width: 100%;
  height: auto;
  display: block;
}
.kg-image { max-width: 100%; height: auto; display: block; margin: 1em auto; }
.kg-image-card figcaption,
.kg-embed-card figcaption,
.kg-gallery-card figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--ink-muted);
  font-family: "Source Code Pro", monospace;
  margin-top: 8px;
}
.kg-gallery-container { display: flex; flex-direction: column; max-width: 1040px; width: 85vw; margin: 1.5em auto; }
.kg-gallery-row { display: flex; flex-direction: row; justify-content: center; }
.kg-gallery-image img { display: block; margin: 0; width: 100%; height: 100%; object-fit: cover; }
.kg-gallery-row:not(:first-of-type) { margin: 4px 0 0; }
.kg-gallery-image:not(:first-of-type) { margin: 0 0 0 4px; }
.kg-bookmark-card,
.kg-bookmark-container {
  display: flex;
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  margin: 1.5em 0;
  text-decoration: none;
  color: inherit;
  background: var(--bg);
}
.kg-bookmark-content { flex-basis: 0; flex-grow: 999; padding: 18px; display: flex; flex-direction: column; }
.kg-bookmark-title { font-weight: 700; color: var(--ink-deep); }
.kg-bookmark-description { color: var(--ink); margin-top: 6px; font-size: 14px; }
.kg-bookmark-metadata { margin-top: auto; font-family: "Source Code Pro", monospace; font-size: 12px; color: var(--ink-muted); display: flex; align-items: center; gap: 8px; padding-top: 12px; }
.kg-bookmark-thumbnail { flex-basis: 24rem; flex-grow: 1; min-height: 100%; }
.kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.kg-card { margin: 1.5em 0; }
.kg-callout-card { padding: 18px; border-radius: 6px; background: var(--surface-sage); border: 1px solid var(--rule); }
.kg-toggle-card { padding: 12px 18px; border: 1px solid var(--rule); border-radius: 6px; background: var(--bg); }

/* ===== Post + Page templates (newsletter posts, ghost pages) ===== */
.post, .page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 32px 96px;
}
.post-header { margin-bottom: 40px; border-bottom: 1px solid var(--rule); padding-bottom: 32px; }
.post-meta {
  font-family: "Source Code Pro", ui-monospace, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin: 0 0 16px;
}
.post-header h1 {
  font-family: var(--display-font);
  font-weight: var(--display-weight);
  font-size: 44px;
  line-height: 1.18;
  letter-spacing: -1px;
  color: var(--ink-deep);
  margin: 0 0 16px;
}
.post-excerpt {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-muted);
  margin: 0;
}
.post-feature { margin: 0 0 40px; }
.post-feature img { width: 100%; height: auto; display: block; border-radius: 4px; }

.post-content {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
}
.post-content > * + * { margin-top: 1.1em; }
.post-content h2 {
  font-family: var(--display-font);
  font-weight: var(--display-weight);
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.4px;
  color: var(--ink-deep);
  margin-top: 2em;
  margin-bottom: 0.5em;
}
.post-content h3 {
  font-family: var(--display-font);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink-deep);
  margin-top: 1.8em;
  margin-bottom: 0.4em;
}
.post-content p { margin: 0; }
.post-content a {
  color: var(--ink-deep);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
.post-content a:hover { color: var(--accent); }
.post-content strong { color: var(--ink-deep); }
.post-content ul, .post-content ol { padding-left: 1.4em; }
.post-content li + li { margin-top: 0.4em; }
.post-content blockquote {
  margin: 1.5em 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--accent);
  color: var(--ink-deep);
  font-style: italic;
}
.post-content code {
  font-family: "Source Code Pro", ui-monospace, Menlo, monospace;
  font-size: 0.92em;
  background: var(--surface-sage);
  padding: 2px 5px;
  border-radius: 3px;
}
.post-content pre {
  font-family: "Source Code Pro", ui-monospace, Menlo, monospace;
  background: var(--surface-sage);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.55;
  overflow-x: auto;
}
.post-content pre code { background: none; padding: 0; }
.post-content hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2.4em 0;
}
.post-content figure { margin: 1.8em 0; }
.post-content figure figcaption,
.kg-image-card figcaption {
  font-size: 13px;
  color: var(--ink-muted);
  text-align: center;
  margin-top: 8px;
  font-family: "Source Code Pro", ui-monospace, Menlo, monospace;
}
.post-footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: "Source Code Pro", ui-monospace, Menlo, monospace;
  font-size: 13px;
  color: var(--ink-muted);
}

@media (max-width: 720px) {
  .post, .page-content { padding: 40px 20px 64px; }
  .post-header h1 { font-size: 32px; }
  .post-excerpt { font-size: 17px; }
  .post-content { font-size: 16px; }
}
