/* =========================================================
   Nate Pegram
   Visible rules, mono metadata, one spot red. No shadows,
   no rounded corners, no floating cards. Hover marks the
   page rather than inverting it.
   ========================================================= */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/Inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/Inter-latinext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/GeistMono.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/Fraunces-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215;
}

/* ---------- Tokens ----------
   PALETTE IS MIRRORED IN THREE PLACES: this file (--ink/--paper/--persimmon…),
   styles.css (--text/--bg/--accent…), and chrome.css (--c-ink…). The hex
   VALUES must stay identical across all three or colors drift between the
   homepage and subpages. Change a color here => change its twin in
   styles.css AND chrome.css. */
:root {
  --paper: #f7f8fa;           /* porcelain page */
  --paper-soft: #eaedf1;      /* recessed panels */
  --ink: #23262b;             /* warm graphite, ~14:1 on paper (was navy) */
  --ink-soft: #52606d;        /* secondary text */
  --ink-faint: #616c7c;       /* metadata — AA (4.9:1) */
  --rule: #e4e7ea;            /* hairlines */
  --rule-strong: #23262b;     /* heavy rules are graphite, not grey */
  --persimmon: #c2410c;            /* the one accent — links, marks, numbers */
  --persimmon-hover: #9a340a;
  --verm: #c2410c;            /* persimmon accent */
  --gold: #23262b;            /* CTA is solid graphite now */
  --gold-hover: #3d434b;
  --on-gold: #f7f8fa;         /* paper text on the graphite CTA */
  --on-ink: #f7f8fa;          /* paper-colored text on ink fills */
  --nav-bg: rgba(247, 250, 249, 0.88);

  --max: 1060px;
  --measure: 680px;
  /* --nav-h lives ONLY in chrome.css (the shared shell). Do not redefine it here —
     this file loads AFTER chrome.css, so a value here would override the shell and
     silently drift the nav height on the homepage. Just use var(--nav-h) below. */

  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);

  --leaf-band: #eff1f4;   /* pulled out of raw hex on .leaf--band */
}

:root[data-theme="dark"] {
  --paper: #0f1113;
  --paper-soft: #171a1e;
  --ink: #e8eaee;
  --ink-soft: #a8b0b9;
  --ink-faint: #7c848e;
  --rule: #2a2f35;
  --rule-strong: #e8eaee;   /* heavy rules stay ink-colored (inverts naturally) */
  --persimmon: #ff7a3c;
  --persimmon-hover: #ff9560;
  --verm: #ff7a3c;
  --gold: #e8eaee;          /* CTA inverts to paper on dark */
  --gold-hover: #ffffff;
  --on-gold: #0f1113;
  --on-ink: #0f1113;
  --nav-bg: rgba(15, 17, 19, 0.72);

  --leaf-band: #1c2025;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

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

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

::selection { background: var(--verm); color: #f7f8fa; }

:focus-visible { outline: 2px solid var(--verm); outline-offset: 2px; }

a { color: var(--persimmon); text-decoration: none; transition: color 0.18s var(--ease); }
a:hover { color: var(--persimmon-hover); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}
.container--narrow { max-width: calc(var(--measure) + 56px); }
.center { text-align: center; }
.section { padding: 104px 0; }
.section--tight { padding: 64px 0; }

/* ---------- The mono apparatus (dates, folios, sources) ---------- */
.eyebrow,
.folio,
.writing-item__date,
.post-item__meta,
.article__date, .related__date, .related__heading,
.back-link,
.exhibit__fig, .exhibit__status, .exhibit__link,
.feature__kicker, .signup__note, .ledger-date, .ledger-no {
  font-family: var(--mono);
  font-feature-settings: 'tnum' 1;
  letter-spacing: 0.05em;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}
/* Section label in the margin column. A word, not a numeral —
   a three-section page does not need a numbering system. */
.folio { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink); font-weight: 500; }

/* ---------- Typography ---------- */
.display {
  font-weight: 860;
  font-size: clamp(2.7rem, 7.4vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.h2 {
  font-weight: 800;
  font-size: clamp(1.8rem, 4.6vw, 2.9rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.lead {
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.55;
  color: var(--ink-soft);
  letter-spacing: -0.015em;
  max-width: var(--measure);
}
.muted { color: var(--ink-soft); }

/* The editorial voice — Fraunces italic */
.ital { font-family: var(--serif); font-style: italic; font-weight: 600; letter-spacing: -0.01em; }
.amp {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.04em;
  color: var(--verm);
  letter-spacing: normal;
  margin: 0 0.05em;
}
.hl { color: var(--persimmon); }

/* Second hairline — the double rule of a nameplate. Sits INSIDE the nav so
   the nav's own background fills the gap; at bottom:-4px the strip between
   the rules was transparent and scrolling content showed through it. */

/* Hamburger (mobile) */

/* ---------- Masthead (home) ---------- */
.masthead { padding-top: calc(var(--nav-h) + 68px); }
.masthead .display { margin-top: 44px; max-width: 15ch; }
.masthead .display .ital { color: var(--persimmon); font-weight: 600; }
.masthead__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-top: 34px;
}
.masthead__cta { margin-top: 44px; padding-bottom: 72px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Choreographed entrance — one gentle rise, no blur tricks */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Leaves (ruled sections with a folio margin) ---------- */
.leaf { padding: 96px 0; }
.leaf + .leaf { border-top: 1px solid var(--rule); }
/* The content column is capped at the measure so prose and ledger
   share one right edge; the slack falls to the outer margin. */
.leaf__grid {
  display: grid;
  grid-template-columns: 190px minmax(0, var(--measure));
  gap: 56px;
  align-items: start;
}
.leaf__folio { position: sticky; top: calc(var(--nav-h) + 32px); }
.leaf__folio .folio__label { display: block; }

/* Full-bleed soft band — sets the guide section apart as a feature */
.leaf--band { background: var(--leaf-band); }
.guide-links { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.guide-links li { padding: 15px 0; border-top: 1px solid var(--rule); font-size: 1.05rem; line-height: 1.5; color: var(--ink-soft); }
.guide-links li:first-child { border-top: none; padding-top: 4px; }
.guide-links a { font-weight: 650; }

/* ---------- Prose ---------- */
.prose { max-width: var(--measure); }
.prose p { font-size: 1.09rem; line-height: 1.72; color: var(--ink-soft); margin-bottom: 1.3rem; letter-spacing: -0.012em; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 600; }
/* Same grow-in underline as the ledger titles */
.prose a, .article__body a {
  color: var(--persimmon);
  font-weight: 600;
  text-decoration: none;
  background-image: linear-gradient(var(--persimmon), var(--persimmon));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;   /* touch / no-hover: a static underline */
  transition: background-size 0.3s var(--ease), color 0.18s var(--ease);
}
@media (hover: hover) {
  .prose a, .article__body a { background-size: 0% 1px; }
  .prose a:hover, .article__body a:hover { background-size: 100% 1px; color: var(--persimmon-hover); }
}

/* ---------- The mark (shared hover) ----------
   A printed page is not inverted, it is marked. Every ledger row
   takes the same stamp: the paper warms and the title takes a red
   underline. */
.mark {
  position: relative;
  transition: background-color 0.18s var(--ease);
}
.mark:hover { background: var(--paper-soft); }
/* The underline grows in from the left (carried over from the old site) */
.mark__title {
  background-image: linear-gradient(var(--verm), var(--verm));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;   /* touch / no-hover: a static underline */
  padding-bottom: 3px;
  transition: background-size 0.3s var(--ease);
}
@media (hover: hover) {
  .mark__title { background-size: 0% 1px; }
  .mark:hover .mark__title { background-size: 100% 1px; }
}

/* ---------- Ledger (writing list, home) ---------- */
.writing-list { border-top: 1px solid var(--rule-strong); }
.writing-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 20px;
  padding: 24px 14px 24px 10px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
}
/* shrink to the text so the hover underline hugs the title, not the column */
.writing-item__title { font-weight: 650; font-size: 1.22rem; letter-spacing: -0.025em; line-height: 1.3; justify-self: start; }
.writing-item__date { font-size: 0.78rem; color: var(--ink-faint); text-transform: uppercase; }
.writing-item:hover .writing-item__date { color: var(--ink-soft); }
.ledger-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 26px;
}

/* ---------- Contact (a leaf, not a billboard) ----------
   Gold is the one CTA color; it is not spent on backgrounds. */
.contact__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 2.9rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.contact__links { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.contact__row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  font-family: var(--mono);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 6px;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.contact__row:hover { color: var(--verm); border-color: var(--verm); }
.contact__row svg { width: 19px; height: 19px; }

/* ---------- Page head (sub-pages) ---------- */
.page-head { padding-top: calc(var(--nav-h) + 72px); padding-bottom: 20px; }
.page-head .eyebrow { margin-bottom: 18px; }
.page-head h1 { max-width: 18ch; }
.page-head .lead { margin-top: 20px; }
.page-head__rule {
  margin-top: 48px;
  border: none;
  border-top: 1px solid var(--rule-strong);
}

/* ---------- The Desk (research) ---------- */
.desk-head { padding-top: calc(var(--nav-h) + 72px); }
.desk-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.9rem, 8vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-top: 20px;
  max-width: 16ch;
}
.desk-lead { margin-top: 24px; }

.signup { margin-top: 40px; max-width: 560px; border: 1px solid var(--rule-strong); padding: 22px 24px 18px; }
.signup__embed { min-height: 52px; }
.signup__note { margin-top: 12px; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); }

/* Lead story */
.feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  border: 1px solid var(--rule-strong);
  color: var(--ink);
}
.feature__media { border-right: 1px solid var(--rule-strong); background: var(--paper-soft); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__body { padding: 36px 38px 32px; display: flex; flex-direction: column; gap: 16px; }
.feature__kicker { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--verm); }
.feature__title { font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.06; letter-spacing: -0.035em; }
.feature__sub { color: var(--ink-soft); font-size: 1.06rem; line-height: 1.55; }
.feature__more {
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.feature:hover .feature__more { color: var(--verm); }

/* Issue ledger (archive) */
.issue-list { border-top: 1px solid var(--rule-strong); margin-top: 36px; }
.issue {
  display: grid;
  grid-template-columns: 4.4rem minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 22px;
  padding: 28px 14px 28px 10px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
}
.issue .ledger-no { font-size: 0.8rem; color: var(--verm); }
.issue__title { font-weight: 700; font-size: clamp(1.25rem, 2.6vw, 1.6rem); letter-spacing: -0.03em; line-height: 1.25; }
.issue .ledger-date { font-size: 0.78rem; color: var(--ink-faint); text-transform: uppercase; }
.issue:hover .ledger-date { color: var(--ink-soft); }

/* ---------- Exhibits (projects) ---------- */
.exhibit-list { border-top: 1px solid var(--rule-strong); }
.exhibit {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--rule);
  padding: 64px 0;
  align-items: start;
}
.exhibit__media { border: 1px solid var(--rule-strong); }
.exhibit__media img { width: 100%; display: block; }
.exhibit__body { padding: 6px 0 0 52px; display: flex; flex-direction: column; gap: 16px; }
.exhibit__meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.exhibit__fig { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--verm); }
.exhibit__status {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  border: 1px solid var(--rule-strong);
  padding: 4px 9px;
}
.exhibit__status--live { background: var(--persimmon); color: #f7f8fa; border-color: var(--persimmon); }
.exhibit__name { font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.1rem); letter-spacing: -0.035em; line-height: 1.05; }
.exhibit__desc { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.6; max-width: 44ch; }
.exhibit__link {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 5px;
  width: fit-content;
}
.exhibit__link:hover { color: var(--verm); border-color: var(--verm); }

/* ---------- Post list (links page) ---------- */
.post-list { border-top: 1px solid var(--rule-strong); }
.post-item {
  display: block;
  padding: 34px 14px 34px 10px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
}
.post-item__meta {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.post-item__source { color: var(--verm); }
.post-item__title { font-weight: 700; font-size: clamp(1.2rem, 2.6vw, 1.5rem); letter-spacing: -0.03em; line-height: 1.25; margin-bottom: 10px; }
.post-item__desc { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; max-width: 72ch; }
.post-item:hover .post-item__meta { color: var(--ink-soft); }

/* ---------- Article (blog posts — markup untouched) ---------- */
.article { padding-top: calc(var(--nav-h) + 64px); }
.article > .container { width: min(var(--measure), 100% - 56px); max-width: none; margin-inline: auto; padding: 0; }
.article__head {
  width: min(var(--measure), 100% - 56px);
  margin: 0 auto 44px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--rule-strong);
  position: relative;
}
/* double rule under the head */
.article__head::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  border-bottom: 1px solid var(--rule-strong);
}
.article__date { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-faint); margin-bottom: 20px; }
.article__title { font-weight: 830; font-size: clamp(2.1rem, 5.4vw, 3.2rem); line-height: 1.04; letter-spacing: -0.04em; margin-bottom: 18px; }
.article__subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.34rem;
  line-height: 1.45;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}

.article__body { width: min(var(--measure), 100% - 56px); margin: 0 auto; }
.article__body p { font-size: 1.11rem; line-height: 1.76; color: var(--ink); margin-bottom: 1.5rem; letter-spacing: -0.012em; }
.article__body h2 {
  font-weight: 780;
  font-size: 1.72rem;
  letter-spacing: -0.03em;
  margin: 3rem 0 1.1rem;
  line-height: 1.12;
  padding-top: 1.6rem;
  border-top: 1px solid var(--rule);
}
.article__body h3 { font-weight: 650; font-size: 1.28rem; letter-spacing: -0.02em; margin: 2rem 0 0.9rem; }
.article__body strong { font-weight: 650; }
.article__body ul, .article__body ol { margin: 0 0 1.5rem 1.3rem; }
.article__body li { font-size: 1.11rem; line-height: 1.72; margin-bottom: 0.5rem; color: var(--ink); }
.article__body img { border: 1px solid var(--rule-strong); margin: 2.2rem auto; }
.article__body blockquote {
  border-left: 2px solid var(--verm);
  padding-left: 24px;
  margin: 2rem 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 1.28rem;
  line-height: 1.55;
}
.article__body blockquote p { font-family: inherit; font-size: inherit; color: inherit; line-height: inherit; }
.article__body hr { border: none; border-top: 2px solid var(--rule-strong); width: 72px; margin: 3rem 0; }
.image-caption { font-family: var(--mono); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); margin: -1.4rem 0 2.2rem; }
.article__footnote { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-faint); margin-top: 2.6rem; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.back-link:hover { color: var(--verm); }
.back-link svg { width: 13px; height: 13px; }

/* Related — a small ledger */
.related { width: min(var(--measure), 100% - 56px); margin: 80px auto 0; padding-top: 40px; border-top: 1px solid var(--rule-strong); }
.related > .container { padding: 0 !important; }
.related__heading { font-size: 0.74rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 18px; }
.related__item {
  display: block;
  padding: 16px 10px 16px 10px;
  border-bottom: 1px solid var(--rule);
}
.related__item:last-child { border-bottom: none; }
.related__title { font-weight: 650; font-size: 1.08rem; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 4px; }
.related__date { font-size: 0.74rem; text-transform: uppercase; color: var(--ink-faint); transition: color 0.18s var(--ease); }
.related__item:hover .related__date { color: var(--ink-soft); }

/* ---------- Scroll reveal (kept modest) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease-soft), transform 0.6s var(--ease-soft); }
.reveal.in { opacity: 1; transform: none; }
/* Fallbacks: users who don't want motion, don't have JS, or where IO never fires should still see content */
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .leaf__grid { grid-template-columns: 1fr; gap: 30px; }
  .leaf__folio { position: static; display: flex; align-items: baseline; gap: 14px; }
  .exhibit { grid-template-columns: 1fr; gap: 28px; }
  .exhibit__body { padding-left: 0; }
}

@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; }
  .feature__media { border-right: none; border-bottom: 1px solid var(--rule-strong); }
  .masthead__row { flex-direction: column; align-items: flex-start; gap: 30px; }
  .section { padding: 80px 0; }
  .leaf { padding: 72px 0; }
}

/* Mobile nav: hamburger + dropdown */

@media (max-width: 600px) {
  .container { padding: 0 22px; }
  .writing-item { grid-template-columns: minmax(0, 1fr); row-gap: 6px; }
  .writing-item__date { grid-column: 1; }
  .issue { grid-template-columns: 2.6rem minmax(0, 1fr); row-gap: 6px; }
  .issue .ledger-date { grid-column: 2; }

  /* Masthead — smaller heading + tighter top/bottom on phones so the italic wraps cleanly */
  .masthead { padding-top: calc(var(--nav-h) + 32px); }
  .masthead .display { font-size: clamp(2.15rem, 8.5vw, 2.7rem); max-width: 100%; }
  .masthead__cta { padding-bottom: 40px; }

  /* Sections — cut the oversized vertical padding that reads as "massive gapping" on phones */
  .leaf { padding: 52px 0; }
  .section { padding: 56px 0; }
  .section--tight { padding: 44px 0; }

  /* Pillar-page + article/blog top spacing */
  .article { padding-top: calc(var(--nav-h) + 32px); }
  .article__head { margin: 0 0 28px; }

  /* Related-articles rail */
  .related { margin: 56px auto 0; padding-top: 32px; }
}
