/* ─────────────── SELF-HOSTED FONTS ───────────────
   Variable fonts (one file per family covers all weights). Latin subset only.
   font-display: swap → text renders in the system fallback immediately, then
   re-renders in the brand face when the file lands. No FOIT, no layout block. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-variable-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #FAF7F2;     /* warm off-white */
  --ink: #141414;
  --ink-2: #555555;     /* AA on paper at 16px+ */
  --rule: rgba(20,20,20,0.18);
  --accent: #C4421C;    /* orange-red, AA contrast on paper for non-decorative use */
  --accent-strong: #A8371A; /* for any orange used on body-size text */
  --focus: #1657C9;     /* keyboard focus ring — high contrast on paper and ink */
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 56px);
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  /* Image-placeholder background, slightly darker than --paper. */
  --paper-2: #F0EDE5;
  /* Placeholder/muted text. */
  --muted: rgba(20, 20, 20, 0.45);
}

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

/* Gutenberg sometimes wraps group block content in an inner-container div.
   Make it transparent so grid layouts (.hero-grid, .stats-row, .block)
   see the real children, not the wrapper. */
.wp-block-group__inner-container { display: contents; }

/* WP's block layout system forces margin-block-start: 24px and
   margin-block-end: 0 between siblings of group blocks — fights our
   designed spacing. Reset inside Work posts; element rules below
   restore the intentional margins. */
.type-work .is-layout-flow > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

/* Restore designed spacing inside Work post patterns. */
.type-work .hero-eyebrow { margin: 0 0 12px; }
.type-work .hero-title   { margin: 0; }
.type-work .hero-deck    { margin: 24px 0 0; }
.type-work .stat-key     { margin: 0 0 16px; }
.type-work .stat-fig     { margin: 0; }
.type-work .stat-foot    { margin: 12px 0 0; }
.type-work .block-kicker { margin: 0 0 12px; }
.type-work .block-heading { margin: 0; }
.type-work .pull-quote-text { margin: 0 0 18px; }
.type-work .pull-quote-attr { margin: 0; }

/* When the article ends with a pull-quote, drop its bottom border —
   the auto-rendered section-head below has its own top border, otherwise
   we get a double horizontal line. */
.type-work > .pull-quote:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
html { background: var(--paper); }
body {
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--ink); }

/* ─────────────── ACCESSIBILITY UTILITIES ─────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  top: 0; left: 8px;
  transform: translateY(-100%);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  z-index: 1000;
  border-radius: 2px;
}
.skip-link:focus {
  top: 8px;
  transform: none;
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* visible focus ring everywhere keyboard-reachable */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

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

/* ─────────────── HEADER (every page) ─────────────── */
.site-header {
  position: relative;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
/* Accent period — sits at the end of titles/headings. Small inline-start
   margin so the orange dot breathes a hair away from the last letter
   instead of reading as part of the glyph. */
.dot { margin-inline-start: 0.05em; }
.wordmark .dot { color: var(--accent); }
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-nav a {
  font-family: var(--body);
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  padding: 8px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-nav a:hover { color: var(--accent-strong); }
.site-nav a[aria-current="page"] {
  color: var(--ink);
}
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--accent);
}
.site-search {
  background: none; border: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  color: var(--ink);
  border-radius: 2px;
}
.site-search:hover { color: var(--accent-strong); }
.site-search svg { width: 20px; height: 20px; }
.site-search .icon-close { display: none; }
.site-search[aria-expanded="true"] .icon-open { display: none; }
.site-search[aria-expanded="true"] .icon-close { display: block; }
.site-search[aria-expanded="true"] { color: var(--accent-strong); background: var(--paper-2); }

/* search overlay — drops down from under the header rule */
.site-search-panel {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
  z-index: 60;
}
.site-search-panel[data-open="true"] {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.site-search-panel-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--gutter) 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
  transition: border-color .15s ease;
}
.site-search-form:focus-within {
  border-bottom-color: var(--accent);
}
/* Suppress the global focus ring on the search input itself —
   focus state is shown on the form's bottom border instead. */
.site-search-input:focus-visible {
  outline: none;
}
.site-search-form svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--ink); }
.site-search-input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font: inherit;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
  color: var(--ink);
  padding: 6px 0;
  letter-spacing: -0.01em;
}
.site-search-input::placeholder { color: var(--muted); }
.site-search-submit {
  flex: 0 0 auto;
  background: var(--ink); color: var(--paper);
  border: none; cursor: pointer;
  font: inherit;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0 18px;
  height: 40px;
  border-radius: 2px;
  min-width: 96px;
}
.site-search-submit:hover { background: var(--accent-strong); }

/* mobile menu toggle */
.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  color: var(--ink);
  padding: 0;
  border-radius: 2px;
}
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* search + menu toggle wrapper (replaces inline style in header.php) */
.site-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ─────────────── WIDTH ─────────────── */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ─────────────── SECTION LABEL (system reference) ─────────────── */
.system-mark {
  margin-top: 80px;
  border-top: 1px solid var(--ink);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.system-mark .label { color: var(--accent-strong); font-weight: 700; }
.system-mark .what  { color: var(--ink); }
.system-first { margin-top: 56px; }

/* ─────────────── HERO (case study) ─────────────── */
.hero {
  padding: 72px 0 56px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.6fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}
.hero-logo {
  width: 100%;
  max-width: 400px;
}
.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-eyebrow {
  font-family: var(--body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 12px;
  opacity: 0.7;
}
.hero-eyebrow a {
  color: inherit;
  text-decoration: none;
  transition: color .15s ease, opacity .15s ease;
}
.hero-eyebrow a:hover { color: var(--accent-strong); opacity: 1; }
.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(72px, 10vw, 152px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--ink);
  margin: 0;
}
.hero-title .dot { color: var(--accent); }
/* Pattern-rendered hero-title has no .dot span — pseudo-element provides
   the orange period. :has() suppresses the pseudo when a span is present
   (e.g., manually authored), so we never get a double dot. */
.hero-title:not(:has(.dot))::after {
  content: ".";
  color: var(--accent);
}
.hero-deck {
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(20px, 1.55vw, 24px);
  line-height: 1.45;
  color: var(--ink);
  max-width: 56ch;
  margin: 24px 0 0;
  letter-spacing: -0.005em;
}

/* ─────────────── BIO HERO (page-about template) ─────────────── */
/* Deliberate variant of the case-study hero. The work hero displays a
   1-word brand wordmark, where giant scale = identity. The bio hero
   carries a person's name (2–3 words), where the same scale wraps badly
   and reads as shouty rather than expressive. Different content shape,
   different size — not drift. */
.hero-bio {
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--ink);
}
/* Tighter photo column on the bio hero so the H1 has room to breathe.
   Work hero brand wordmarks need scale; a portrait does not. */
.hero-bio .hero-grid {
  grid-template-columns: 0.6fr 1.8fr;
  gap: clamp(32px, 4vw, 56px);
}
.hero-bio-image {
  width: 100%;
  max-width: 300px;
}
.hero-bio-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
}
.hero-bio .hero-title {
  font-size: clamp(48px, 6vw, 84px);
  text-wrap: balance;
}
/* padding (not margin) on the article so the gap below the hero rule
   doesn't collapse into the first paragraph's margin-top.
   Double-class selector raises specificity above the generic .post-article
   `padding: 0` rule that appears later in this file. */
.post-article.post-article--bio { padding-top: 56px; }

/* ─────────────── STATS BAR ─────────────── */
.stats {
  margin: 0;
  border-bottom: 1px solid var(--ink);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 36px var(--gutter) 36px 0;
  border-right: 1px solid var(--rule);
}
.stat:last-child { border-right: none; padding-right: 0; }
.stat-key {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 16px;
}
.stat-fig {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(48px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.stat-foot {
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink-2);
  margin-top: 12px;
  font-style: italic;
}
.stats-row {
  display: grid;
  /* Variable stat count — auto-fit distributes evenly; min 160px keeps each
     readable. Mobile @media overrides force 2- or 1-up at narrow widths. */
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  gap: 0;
}
.stats-row .stat {
  padding: 36px 24px;
  border-right: 1px solid var(--rule);
}
.stats-row .stat:last-child { border-right: none; }

/* ─────────────── CONTENT BLOCK (heading left / text right) ─────────────── */
.block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  padding: 64px 0;
}
.block + .block { border-top: 1px solid var(--rule); }

/* Auto-numbering on Work posts only — counts .block elements in DOM order
   and prepends "01 — ", "02 — ", etc. to each .block-kicker.
   Pull quotes / figures / other blocks between them are skipped naturally. */
.type-work { counter-reset: work-block; }
.type-work .block { counter-increment: work-block; }
.type-work .block .block-kicker::before {
  content: counter(work-block, decimal-leading-zero) " — ";
}
.block-head {
  position: sticky;
  top: 32px;
  align-self: start;
}
.block-kicker {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 12px;
}
.block-heading {
  font-family: var(--display);
  font-weight: 600;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.block-body p {
  margin: 0 0 1em;
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink);
  max-width: 64ch;
}
.block-body p:last-child { margin-bottom: 0; }
.block-body p strong { color: var(--ink); font-weight: 600; }
.block-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1em;
  max-width: 64ch;
}
.block-body ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  line-height: 1.6;
}
.block-body ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.7em;
  width: 14px; height: 1.5px;
  background: var(--accent);
}

/* ─────────────── FIGURE (image + caption) ─────────────── */
.figure {
  margin: 32px 0 8px;
  max-width: 64ch;
}
.figure img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--paper-2);
  border: 1px solid var(--ink);
}
.figure figcaption {
  font-family: var(--body);
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 10px;
  letter-spacing: 0.01em;
  line-height: 1.45;
  font-style: italic;
}
.figure.wide { max-width: 100%; }

/* ─────────────── PULL QUOTE ─────────────── */
.pull-quote {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 56px 0;
  margin: 64px 0;
}
.pull-quote-text {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 18px;
  max-width: 22ch;
}
.pull-quote-text em { font-style: normal; color: var(--accent-strong); }
.pull-quote-attr {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ─────────────── RELATED GRID (case-study deeper, post-related) ─────────────── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.related-card {
  display: block;
  text-decoration: none;
  color: var(--ink);
  transition: color .15s ease;
}
.related-card:hover { color: var(--accent-strong); }
.related-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--paper-2);
  border: 1px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  overflow: hidden;
}
.related-card-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.related-card-image .glyph {
  font-family: var(--display);
  font-weight: 700;
  font-size: 56px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.related-card-kind {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 6px;
}
.related-card-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* ─────────────── TAG LIST ─────────────── */
.tag-list {
  border-top: 1px solid var(--rule);
  padding-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 14px;
}
.tag-list-label {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-right: 4px;
}
.tag-list a {
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: color .15s ease, border-color .15s ease;
}
.tag-list a:hover { color: var(--accent-strong); border-color: var(--accent-strong); }

/* ─────────────── ARCHIVE INDEX (Writing/Conversations/Work) ─────────────── */
.archive-featured {
  padding: 8px 0 56px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 0;
}
.archive-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  padding: 24px 0;
}
.archive-filter-label {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-right: 4px;
}
.archive-filter a {
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: color .15s ease, border-color .15s ease;
}
.archive-filter a[aria-current="true"] { color: var(--accent-strong); border-color: var(--accent-strong); }
.archive-filter a:hover { color: var(--accent-strong); border-color: var(--accent-strong); }
.archive-section-head {
  margin: 56px 0 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}
.archive-section-head h2 {
  font-family: var(--body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0;
}
.archive-section-head .count {
  font-family: var(--body);
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}
.archive-list { padding: 0; margin-top: 0; border-top: 1px solid var(--ink); }
.pagehead + .archive-list { border-top: none; margin-top: 24px; }
.archive-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
}
.archive-row:hover { color: var(--accent-strong); }
.archive-row:last-child { border-bottom: none; }
/* Featured image / placeholder. Wider than tall so the image never pushes
   the row taller than the title + deck text alongside it. */
.archive-row-image {
  width: 160px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-2);
}
.archive-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.archive-row-image.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.archive-row-image .placeholder-glyph {
  font-family: var(--display);
  font-weight: 700;
  font-size: 36px;
  color: var(--ink);
  opacity: 0.35;
  line-height: 1;
}
.archive-row-main { display: flex; flex-direction: column; gap: 6px; padding-top: 2px; }
.archive-row-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.archive-row-deck {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0 0;
  margin-top: 24px;
  border-top: 1px solid var(--ink);
  gap: 16px;
  font-family: var(--body);
}
.pagination a, .pagination span {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.pagination a:hover { color: var(--accent-strong); }
.pagination .disabled { color: var(--rule); cursor: not-allowed; }
.pagination .pages { color: var(--ink-2); letter-spacing: 0.08em; font-size: 13px; }

/* ─────────────── BREADCRUMBS ─────────────── */
.breadcrumbs {
  padding: 32px 0 0;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.breadcrumbs a {
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color .15s ease, border-color .15s ease;
}
.breadcrumbs a:hover { color: var(--accent-strong); border-bottom-color: var(--accent-strong); }
.breadcrumbs .sep { color: var(--rule); }
.breadcrumbs .current { color: var(--ink); }

/* ─────────────── BLOG POST LEAD ─────────────── */
.post-lead {
  padding: 32px 0 40px;
  max-width: 860px;
}
.post-meta {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-2);
  margin-bottom: 20px;
  display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap;
}
.post-meta .accent { color: var(--accent-strong); font-weight: 500; }
.post-meta .sep { color: var(--rule); }
.post-meta-original { font-style: italic; }
.post-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  color: var(--ink);
}
.post-deck {
  font-family: var(--body);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
}

/* ─────────────── TESTIMONIAL BLOCK ─────────────── */
.testimonial {
  padding: 40px 44px 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "mark  quote"
    ".     attrib";
  column-gap: 14px;
  row-gap: 24px;
  background: var(--paper-2);
  margin-top: 24px;
}
/* Display-font open-quote glyph in accent — anchored next to the first
   line of the body so it reads as part of the quote, not a separate logo. */
.testimonial-mark {
  grid-area: mark;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(56px, 6vw, 88px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin: 0;
  user-select: none;
  /* Nudge the glyph to sit visually flush with the first line of body text. */
  margin-top: -0.1em;
}
.testimonial-quote {
  grid-area: quote;
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(17px, 1.15vw, 19px);
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
  max-width: 68ch;
}
.testimonial-quote p { margin: 0 0 0.85em; }
.testimonial-quote p:last-child { margin-bottom: 0; }
.testimonial-attrib {
  grid-area: attrib;
  display: flex;
  align-items: center;
  gap: 16px;
}
.testimonial-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 22px;
  overflow: hidden;
  flex-shrink: 0;
}
.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.testimonial-attrib-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonial-attrib .who {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
}
.testimonial-attrib .who .dot { color: var(--accent); }
.testimonial-attrib .what {
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.45;
}

/* Testimonial carousel — used when the block is in "multiple" mode. */
.testimonial-carousel { position: relative; }
.testimonial-carousel-track .testimonial[hidden] { display: none; }
.testimonial-carousel-controls {
  position: absolute;
  top: 32px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.testimonial-carousel-prev,
.testimonial-carousel-next {
  background: none;
  border: 1px solid var(--rule);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: border-color .15s ease, color .15s ease;
  padding: 0;
}
.testimonial-carousel-prev:hover,
.testimonial-carousel-next:hover {
  border-color: var(--ink);
  color: var(--accent-strong);
}
.testimonial-carousel-prev svg,
.testimonial-carousel-next svg { width: 18px; height: 18px; }
.testimonial-carousel-position {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

/* ─────────────── WORK LIST (with logos) ─────────────── */
.worklist { padding: 24px 0 0; border-top: 1px solid var(--rule); }
.worklist-row {
  display: grid;
  grid-template-columns: 88px 100px 1fr auto auto;
  gap: 28px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  transition: color .15s ease;
}
.worklist-row:hover { color: var(--accent-strong); }
.worklist-row:hover .worklist-arrow { transform: translateX(4px); color: var(--accent-strong); }
.worklist-logo {
  width: 88px; height: 88px;
  background: #fff;
  border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.worklist-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; box-sizing: border-box; }
.worklist-logo.placeholder {
  background: var(--ink); color: var(--paper);
  font-family: var(--display); font-weight: 700; font-size: 22px;
  letter-spacing: -0.02em;
}
.worklist-year {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.worklist-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.worklist-tag {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
}
.worklist-arrow {
  font-family: var(--body);
  font-size: 20px;
  color: var(--ink-2);
  transition: transform .15s ease, color .15s ease;
}

/* ─────────────── TEXT LIST (Writing / Speaking) ─────────────── */
.textlist { padding: 0; border-top: 1px solid var(--rule); }
.textlist-row {
  display: grid;
  grid-template-columns: 120px 1fr auto auto;
  gap: 32px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
}
.textlist-row:hover { color: var(--accent-strong); }
.textlist-row:hover .textlist-arrow { transform: translateX(4px); color: var(--accent-strong); }
.textlist-date {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
}
.textlist-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.textlist-tag {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.textlist-arrow {
  font-family: var(--body);
  font-size: 18px;
  color: var(--ink-2);
  transition: transform .15s ease, color .15s ease;
}

/* ─────────────── PAGE HEAD (for testimonials/list pages) ─────────────── */
.pagehead {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 16px;
}
.pagehead-eyebrow {
  font-family: var(--body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin: 0 0 18px;
}
.pagehead-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--ink);
}
.pagehead-title .dot { color: var(--accent); }
.pagehead-deck {
  font-family: var(--body);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 640px;
  margin: 24px 0 0;
}
.pagehead-meta {
  font-family: var(--body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 24px 0 0;
}
.pagehead-title .hash { color: var(--accent); margin-right: 0.04em; }
/* ─────────────── FOOTER (every page) ─────────────── */
.site-footer {
  margin-top: 96px;
  border-top: 1px solid var(--ink);
  padding: 48px 0 56px;
}
.site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer-brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.footer-brand a {
  color: inherit;
  text-decoration: none;
  transition: color .15s ease;
}
.footer-brand a:hover { color: var(--accent-strong); }
.footer-brand .dot { color: var(--accent); }
.footer-brand .tag {
  display: block;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-2);
  margin-top: 8px;
  letter-spacing: 0;
  text-transform: none;
}
.footer-col-heading {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin: 0 0 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
}
.footer-col a:hover { color: var(--accent-strong); }
.footer-bottom {
  max-width: var(--max);
  margin: 32px auto 0;
  padding: 24px var(--gutter) 0;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink-2);
}
.footer-social {
  display: flex; align-items: center; gap: 18px;
}
.footer-social a { color: var(--ink); display: inline-flex; }
.footer-social a:hover { color: var(--accent-strong); }
.footer-social svg { width: 20px; height: 20px; fill: currentColor; }

/* ─────── SUBSCRIBE FORM (Kit) — shared base ─────── */
.cb-subscribe-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--ink);
  background: var(--paper);
  overflow: hidden;
}
.cb-subscribe-row:focus-within { border-color: var(--accent); }
.cb-subscribe-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 10px 14px;
  font: 500 14px/1.4 var(--body);
  color: var(--ink);
  outline: none;
}
.cb-subscribe-input::placeholder { color: var(--ink-2); }
.cb-subscribe-input:focus-visible { outline: none; }
.cb-subscribe-btn {
  flex: 0 0 auto;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  font: 600 13px/1 var(--body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.cb-subscribe-btn:hover,
.cb-subscribe-btn:focus-visible { background: var(--accent); }
.cb-subscribe-btn[disabled] { opacity: 0.6; cursor: wait; }

/* Inline response message (success / error) */
.cb-subscribe-response {
  margin: 10px 0 0;
  padding: 0;
  font: 500 13px/1.4 var(--body);
  color: var(--ink);
}
.cb-subscribe-response:empty { display: none; }
.cb-subscribe-response--success { color: var(--accent-strong); }
.cb-subscribe-response--error { color: var(--accent-strong); }

/* Footer variant — compact, fits between copyright + social */
.cb-subscribe--footer { margin: 0; flex: 0 1 auto; min-width: 0; max-width: 420px; width: 100%; }

/* Callout variant — used inside post/page content */
.cb-subscribe--callout {
  background: var(--paper-2);
  padding: 40px 44px 36px;
  margin: 72px 0 40px;
}
.cb-subscribe--callout .cb-subscribe-text { margin: 0 0 20px; }
.cb-subscribe--callout .cb-subscribe-heading {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 8px;
}
.cb-subscribe--callout .cb-subscribe-body {
  font: 400 17px/1.5 var(--body);
  color: var(--ink);
  margin: 0;
}
.cb-subscribe--callout .cb-subscribe-input { padding: 14px 16px; font-size: 16px; }
.cb-subscribe--callout .cb-subscribe-btn { padding: 14px 22px; font-size: 14px; }

/* Responsive rules moved to bottom of file so they win source-order against
   home component definitions further down. See end of file. */

/* ─────────────── SECTION HEAD (used on home page to label sections) ─────────────── */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  border-top: 1px solid var(--ink);
  padding-top: 56px;
  margin-top: 24px;
}
.section-head-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 3.2vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0;
  color: var(--ink);
}
.section-head-title .dot { color: var(--accent); }
.section-head-link {
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.section-head-link:hover { color: var(--accent-strong); border-color: var(--accent-strong); }
.section-head-link::after { content: " →"; }

/* small page intro for the system page itself */
.page-intro {
  padding: 56px 0 0;
  max-width: 720px;
}
.page-intro h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 44px;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 18px;
}
.page-intro p {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}


/* ─────────────── HOME HERO (dark, full-bleed photo) ─────────────── */
.home-hero-band {
  background: #020202;
  color: var(--paper);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
  overflow: hidden;
}
/* In the block editor iframe, viewport math doesn't match the front-end —
   skip the full-bleed negative margins so the preview looks sane. */
.editor-styles-wrapper .home-hero-band {
  margin-left: 0;
  margin-right: 0;
}
.home-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.home-hero-text {
  align-self: center;
  padding: 56px 32px 56px 0;
  max-width: 560px;
}
.home-hero-text h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(56px, 6.5vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  color: var(--paper);
}
.home-hero-text h1 .dot { color: var(--accent); }
a.home-hero {
  text-decoration: none;
  color: inherit;
}
.home-hero-arrow {
  display: inline-block;
  font-family: var(--body);
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
  color: var(--accent);
  margin-top: 8px;
  transition: transform .2s ease;
}
a.home-hero:hover .home-hero-arrow,
a.home-hero:focus-visible .home-hero-arrow {
  transform: translateX(6px);
}
.home-hero-text .lede {
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(20px, 1.7vw, 23px);
  line-height: 1.45;
  color: var(--paper);
  max-width: 28ch;
  margin: 0 0 28px;
  opacity: 0.92;
}
.home-hero-text .lede strong {
  font-weight: 600;
  color: var(--paper);
}
.home-hero-text .meta {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  color: rgba(242,239,233,0.6);
  letter-spacing: 0.02em;
}
.home-hero-text .meta span + span::before {
  content: "·";
  color: rgba(242,239,233,0.35);
  margin: 0 8px;
}
.home-hero-photo {
  position: relative;
  background: #020202;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: 100%;
}
.home-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* ─────────────── HOME SECTION WRAPPER ─────────────── */
.home-section {
  padding: 24px 0;
}

/* ─────────────── FEATURED WORK ─────────────── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.work-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-decoration: none;
  color: var(--ink);
}
.work-card-logo {
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: border-color .15s ease;
}
.work-card:hover .work-card-logo { border-color: var(--ink); }
.work-card-logo img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 14%;
  box-sizing: border-box;
}
.work-card-logo.placeholder {
  background: var(--ink); color: var(--paper);
  font-family: var(--display); font-weight: 700;
  font-size: clamp(56px, 7vw, 88px);
  letter-spacing: -0.03em;
}
.work-card-meta {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.work-card-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 6px 0 8px;
}
.work-card-line {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
}
.work-card:hover .work-card-title { color: var(--accent-strong); }

/* ─────────────── CONVERSATIONS MOSAIC ─────────────── */
.convo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 32px;
}
.convo-card {
  display: block;
  text-decoration: none;
  color: var(--ink);
  position: relative;
}
.convo-card-image {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  margin-bottom: 18px;
}
.convo-card-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.45));
  opacity: 0;
  transition: opacity .2s ease;
}
.convo-card:hover .convo-card-image::after { opacity: 1; }
.convo-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.convo-card:hover .convo-card-image img { transform: scale(1.03); }
.convo-card-tag {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 8px;
  display: block;
}
.convo-card-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0;
}
.convo-card.feature {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
}
.convo-card.feature .convo-card-image { aspect-ratio: 16 / 9; }
.convo-card.feature .convo-card-title { font-size: 32px; line-height: 1.1; }
.convo-card.feature .convo-card-deck {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 14px 0 0;
  max-width: 52ch;
}
.convo-card.small .convo-card-image { aspect-ratio: 16 / 9; }

/* ─────────────── WRITING (featured + list) ─────────────── */
.writing-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
}
.writing-feature {
  display: block;
  text-decoration: none;
  color: var(--ink);
}
.writing-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.writing-feature-image {
  aspect-ratio: 16 / 9;
  background: var(--ink);
  overflow: hidden;
  margin-bottom: 22px;
  position: relative;
}
.writing-feature-image .placeholder-mark {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  opacity: 0.18;
}
.writing-feature-tag {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 12px;
  display: block;
}
.writing-feature-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
}
.writing-feature-deck {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
  max-width: 52ch;
}
.writing-list {
  display: flex;
  flex-direction: column;
}
.writing-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
}
.writing-row:first-child { padding-top: 0; }
.writing-row:hover { color: var(--accent-strong); }
.writing-row-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

/* ─────────────── PERSONAL PROJECTS STRIP ─────────────── */
.projects-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}
.project-tile {
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .15s ease, transform .15s ease;
  overflow: hidden;
}
.project-tile:hover { border-color: var(--ink); transform: translateY(-2px); }
.project-tile img { max-width: 70%; max-height: 70%; object-fit: contain; }
.project-tile.placeholder {
  background: var(--ink); color: var(--paper);
  font-family: var(--display); font-weight: 700;
  font-size: 36px; letter-spacing: -0.025em;
}

/* Home testimonial: a tinted card on the page, with breathing room above
   so it sits as its own moment in the page rhythm. */
.home-testimonial { padding-top: 24px; padding-bottom: 24px; }
.home-testimonial .testimonial { margin-top: 24px; }
.home-section-first { margin-top: 0; padding-top: 0; }
.home-section-first .section-head { margin-top: 64px; border-top: none; padding-top: 0; }


/* ─────────────── BLOG POST: FEATURED IMAGE ─────────────── */
.post-featured {
  margin: 0 0 48px;
}
.post-featured-frame {
  border: 1px solid var(--ink);
  background: var(--paper-2);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.post-featured img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.post-featured .placeholder-mark {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.03em;
  color: var(--ink-2);
  background: #1a1a1a;
}
.post-featured-caption {
  font-family: var(--body);
  font-size: 13px;
  color: var(--ink-2);
  margin: 12px 0 0;
  letter-spacing: 0.01em;
  line-height: 1.45;
  font-style: italic;
  max-width: 64ch;
}

/* ─────────────── BLOG POST: BODY ARTICLE ─────────────── */
/* article column lives inside .wrap. text holds at 720px;
   figures/embeds can break out wider via .post-wide. */
.post-article {
  max-width: 860px;
  margin: 0 auto 56px;
  padding: 0;
}
.post-article > * {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.post-article > .post-wide,
.post-article > .post-video,
.post-article > figure.post-wide,
.post-article > figure.post-video {
  max-width: none;
  width: min(1040px, calc(100vw - 2 * var(--gutter)));
  margin-left: 50%;
  transform: translateX(-50%);
}
.post-article p,
.post-article ul,
.post-article ol {
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 1.4em;
}
.post-article p strong { font-weight: 600; }
.post-article a,
.nf-deck a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: color .15s ease, border-color .15s ease;
}
.post-article a:hover,
.nf-deck a:hover { color: var(--accent-strong); border-bottom-color: var(--accent-strong); }
.post-article h1,
.post-article h2,
.post-article h3,
.post-article h4,
.post-article h5,
.post-article h6 {
  font-family: var(--display);
  color: var(--ink);
}
.post-article h2 {
  font-weight: 700;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 56px 0 20px;
}
.post-article h3 {
  font-weight: 600;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 40px 0 14px;
}
.post-article ul, .post-article ol { padding-left: 0; list-style: none; }
.post-article ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  line-height: 1.6;
}
.post-article ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.7em;
  width: 14px; height: 1.5px;
  background: var(--accent);
}
.post-article ol { counter-reset: postnum; }
.post-article ol li {
  counter-increment: postnum;
  position: relative;
  padding-left: 36px;
  margin-bottom: 12px;
  line-height: 1.6;
}
.post-article ol li::before {
  content: counter(postnum) ".";
  position: absolute;
  left: 0; top: 0;
  font-family: var(--display);
  font-weight: 700;
  color: var(--accent-strong);
  font-size: 17px;
}
/* Blockquote — pull-quote treatment. Distinct visual language from
   testimonial blocks (which use accent-orange quote glyph + tinted card)
   so they can sit on the same page without competing. The author raising
   their voice: thick ink rule, large italic display font, no decoration. */
.post-article blockquote,
.post-article .wp-block-quote {
  margin: 48px 0;
  margin-inline: 0;
  padding: 8px 0 8px 28px;
  padding-inline-end: 0;
  border-left: 6px solid var(--ink);
  font-family: var(--display);
  font-weight: 500;
  font-style: italic;
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: left;
}
.post-article .wp-block-quote.has-text-align-center,
.post-article .wp-block-quote.has-text-align-right,
.post-article .wp-block-quote.is-style-large {
  text-align: left;
  padding: 8px 0 8px 28px;
  font-style: italic;
}
/* Force every child of a blockquote to inherit its typography, so
   paragraphs, lists, and list markers don't drift into different sizes,
   weights, or families ("ransom note" effect). */
.post-article blockquote p,
.post-article blockquote ul li,
.post-article blockquote ol li {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}
.post-article blockquote p { margin-bottom: 0.8em; }
.post-article blockquote p:last-child { margin-bottom: 0; }
.post-article blockquote ol li::before,
.post-article blockquote ul li::before {
  font-family: inherit;
  font-weight: 600;
  font-size: inherit;
  color: var(--ink-2);
}

/* ─────────────── CODE BLOCK ───────────────
   Default style: monospace card for actual code, CLI commands, snippets.
   System monospace stack (no extra font request). */
.post-article .wp-block-code {
  margin: 32px 0;
  padding: 20px 24px;
  background: var(--paper-2);
  border-left: 3px solid var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  overflow-x: auto;
  white-space: pre;
}
.post-article .wp-block-code code {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  padding: 0;
}

/* "Prompt" variant — for AI prompts. Same monospace, but framed as a
   thing-to-copy: bigger card, prose-friendly wrapping, explicit eyebrow. */
.post-article .wp-block-code.is-style-prompt {
  position: relative;
  padding: 56px 32px 32px;
  border-left: none;
  font-size: 15px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}
.post-article .wp-block-code.is-style-prompt::before {
  content: "Prompt";
  position: absolute;
  top: 20px;
  left: 32px;
  font-family: var(--body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.post-article blockquote cite {
  display: block;
  font-family: var(--body);
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-top: 8px;
}

/* breakout figure — wider than the text column */
.post-wide {
  max-width: 1040px;
  margin: 40px auto;
}
.post-wide img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--ink);
  background: var(--paper-2);
}
.post-wide figcaption {
  font-family: var(--body);
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 10px;
  letter-spacing: 0.01em;
  line-height: 1.45;
  font-style: italic;
  max-width: 64ch;
}

/* YouTube / video embed — breakout 16:9 */
.post-video {
  max-width: 1040px;
  margin: 48px auto;
  position: relative;
}
.post-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--ink);
  overflow: hidden;
}
.post-video-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  display: block;
}

/* ─────────────── CUSTOM AUDIO PLAYER ─────────────── */
/* Editorial style — flat on paper, 1px borders top/bottom (like .pull-quote),
   square dark play button, accent-colored scrubber, small-caps tabular times.
   See inc/audio-player.php and assets/js/site.js. */
.cb-audio {
  margin: 32px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
}
.cb-audio audio { display: none; }
.cb-audio-controls {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 16px;
}
.cb-audio-toggle {
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: var(--paper);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 2px;
  transition: background .15s ease;
  flex: 0 0 auto;
}
.cb-audio-toggle:hover { background: var(--accent-strong); }
.cb-audio-icon { width: 18px; height: 18px; }
/* Play/pause icon swap — toggled by adding `.is-playing` to .cb-audio in JS.
   (Can't use the `hidden` attribute on SVG — it's an HTMLElement property
   and SVG doesn't inherit from HTMLElement.) */
.cb-audio-icon-pause { display: none; }
.cb-audio.is-playing .cb-audio-icon-play { display: none; }
.cb-audio.is-playing .cb-audio-icon-pause { display: inline-block; }
.cb-audio-time {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cb-audio-scrubber {
  position: relative;
  height: 4px;
  background: var(--rule);
  cursor: pointer;
  border-radius: 2px;
  outline: none;
}
.cb-audio-scrubber:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.cb-audio-scrubber-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
  pointer-events: none;
}
.cb-audio-scrubber-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .15s ease;
  pointer-events: none;
}
.cb-audio-scrubber:hover .cb-audio-scrubber-handle,
.cb-audio-scrubber:focus-visible .cb-audio-scrubber-handle { opacity: 1; }
.cb-audio figcaption {
  font-family: var(--body);
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 12px;
  font-style: italic;
}

/* YouTube lazy-load — thumbnail + play button until clicked.
   See inc/youtube-lazy.php and assets/js/site.js. */
.youtube-lazy-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: block;
}
.youtube-lazy-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.youtube-lazy-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: auto;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.35));
  transition: transform .15s ease;
}
.youtube-lazy-play:hover .youtube-lazy-icon,
.youtube-lazy-play:focus-visible .youtube-lazy-icon {
  transform: translate(-50%, -50%) scale(1.08);
}
.post-video figcaption {
  font-family: var(--body);
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 10px;
  letter-spacing: 0.01em;
  line-height: 1.45;
  font-style: italic;
  max-width: 64ch;
}

/* ─────────────── BLOG POST: SHARE BAR ─────────────── */
.share-bar {
  max-width: 860px;
  margin: 0 auto 0;
  padding: 28px 0 32px;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.share-bar-label {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-right: 4px;
}
.share-bar-list {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.share-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(20,20,20,0.07);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .15s ease, color .15s ease, transform .15s ease;
  position: relative;
}
.share-btn:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px); }
.share-btn svg { width: 18px; height: 18px; fill: currentColor; }
.share-btn[data-copied="true"] { background: var(--accent); color: var(--paper); }
.share-btn .copy-toast {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 2px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
}
.share-btn[data-copied="true"] .copy-toast { opacity: 1; }

/* ─────────────── BLOG POST: TAGS (override max-width on article scope) ─────────────── */
.post-tags {
  max-width: 860px;
  margin: 0 auto 56px;
}

/* ─────────────── BLOG POST: COMMENTS (WordPress-native feel) ─────────────── */
.comments {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 0 0;
  border-top: 1px solid var(--ink);
}
.comments-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.comments-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
}
.comments-title .count {
  color: var(--accent-strong);
  font-weight: 700;
}
.comment-list,
.comment-list .children {
  list-style: none;
  padding: 0;
  margin: 0 0 48px;
}
.comment-list .children { margin: 24px 0 0 32px; }
.comment {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}
.comment:first-child { padding-top: 0; }
.comment:last-child { border-bottom: none; }
.comment-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.comment-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.comment-avatar img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
}
.comment-avatar-initials {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.comment-author {
  font-family: var(--body);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.2;
}
.comment-date {
  font-family: var(--body);
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  margin-top: 2px;
}
.comment-body p {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 0.8em;
}
.comment-body p:last-child { margin-bottom: 0; }
.comment-actions {
  margin-top: 8px;
}
.comment-reply,
.comment-reply-link {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
}
.comment-reply:hover,
.comment-reply-link:hover { color: var(--accent-strong); border-bottom-color: var(--accent-strong); }
.comment-children {
  list-style: none;
  padding: 24px 0 0 56px;
  margin: 16px 0 0;
  border-top: 1px solid var(--rule);
}
.comment-children .comment { padding: 16px 0; }
.comment-children .comment:first-child { padding-top: 0; }

/* comment form — supports both design markup and WP's comment_form() output */
.comment-form-wrap,
.comment-respond {
  padding-top: 16px;
}
.comment-form-title,
.comment-reply-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.comment-form-note,
.comment-notes,
.logged-in-as {
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink-2);
  margin: 0 0 24px;
}
.comment-form {
  display: grid;
  gap: 16px;
}
/* WP wraps each comment-form field in a <p> — zero default p-margins so
   the grid gap above is the single source of vertical rhythm. */
.comment-form > p { margin: 0; }
.comment-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.comment-form label {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: block;
  margin-bottom: 6px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  font: inherit;
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s ease;
}
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--ink);
}
.comment-form textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.comment-form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink-2);
  margin: 0;
}
.comment-form-checkbox input { margin-top: 4px; flex: 0 0 auto; }
.comment-form-submit {
  justify-self: start;
  background: var(--ink);
  color: var(--paper);
  border: none;
  font-family: var(--body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 2px;
  cursor: pointer;
  transition: background .15s ease;
}
.comment-form-submit:hover { background: var(--accent-strong); }

/* ─────────────── BLOG POST: SECTION HEAD (smaller variant) ─────────────── */
.post-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin: 96px 0 32px;
  border-top: 1px solid var(--ink);
  padding-top: 32px;
}
.post-section-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
}
.post-section-head h2 .dot { color: var(--accent); }

/* ─────────────── BLOG POST: RELATED PROJECTS (worklist style, 1 row) ─────────────── */
.related-projects { padding-top: 0; }
.related-projects .worklist-row { padding: 28px 0; }

/* ─────────────── WP CORE ALIGNMENTS ─────────────── */
/* Image blocks + classic-editor compatibility. */
.alignleft {
  float: left;
  margin: 0.25em 1.5em 1em 0;
  max-width: 50%;
}
.alignright {
  float: right;
  margin: 0.25em 0 1em 1.5em;
  max-width: 50%;
}
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.post-article > .alignleft,
.post-article > .alignright { margin-top: 0.5em; }
/* Clear floats so content below doesn't wrap unexpectedly. */
.post-article::after { content: ""; display: block; clear: both; }

/* ─────────────── 404 ─────────────── */
.nf-hero {
  padding: 56px 0 40px;
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.nf-hero-text .nf-search { margin-top: 8px; }
.nf-numeral {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(72px, 12vw, 140px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
  display: block;
}
.nf-numeral .dot { color: var(--accent); }
.nf-eyebrow {
  font-family: var(--body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}
.nf-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 8px 0 16px;
  color: var(--ink);
  max-width: 720px;
}
.nf-deck {
  font-family: var(--body);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 24px;
  max-width: none;
}
.nf-search {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: 14px 18px;
  max-width: 560px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.nf-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 18%, transparent);
}
.nf-search svg { width: 20px; height: 20px; flex: 0 0 20px; color: var(--ink-2); }
.nf-search input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: var(--body);
  font-size: 17px;
  color: var(--ink);
  padding: 4px 0;
  min-width: 0;
}
.nf-search input:focus { outline: none; }
.nf-search button {
  flex: 0 0 auto;
  background: var(--ink);
  color: var(--paper);
  border: none;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0 18px;
  height: 40px;
  border-radius: 2px;
  min-width: 96px;
  transition: background-color .15s ease;
}
.nf-search button:hover { background: var(--accent-strong); }

/* 404 — with optional image */
.nf-hero-body { display: contents; }
.nf-hero.has-image .nf-hero-body {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 56px;
  align-items: center;
}
.nf-hero-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.nf-hero.has-image .nf-hero-text > :first-child { margin-top: 0; }

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — kept at end of file so it wins source-order
   against any base component rules above. Two breakpoints:
   900px (tablet/mobile transition) + 600px (phone refinements).
   ───────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  body { font-size: 18px; }

  /* ─────── CASE STUDY / SQUIDOO ─────── */
  .hero { padding: 48px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-logo { max-width: 220px; }
  .hero-title { font-size: clamp(56px, 13vw, 96px); }
  .hero-deck { font-size: 19px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stats-row .stat { padding: 28px 18px; }
  .stats-row .stat:nth-child(2n) { border-right: none; }
  .stats-row .stat:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .stat-fig { font-size: clamp(40px, 10vw, 56px); }
  .block { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .block-head { position: static; }
  .block-heading { font-size: 28px; }
  .testimonial { padding: 32px var(--gutter); }
  .testimonial-mark { font-size: 96px; }
  .testimonial-attrib { gap: 14px; padding-top: 22px; margin-top: 28px; }
  .testimonial-avatar { width: 52px; height: 52px; font-size: 18px; }
  .worklist-row { grid-template-columns: 64px 1fr auto; gap: 16px; padding: 18px 0; }
  .worklist-row .worklist-tag,
  .worklist-row .worklist-year { display: none; }
  .worklist-logo { width: 64px; height: 64px; }
  .worklist-title { font-size: 22px; }
  .textlist-row { grid-template-columns: 1fr auto; gap: 12px; padding: 18px 0; }
  .textlist-row .textlist-tag,
  .textlist-row .textlist-date { display: none; }
  .textlist-title { font-size: 19px; }
  .pagehead { padding: 48px 0 32px; }
  .pagehead-title { font-size: clamp(40px, 11vw, 64px); }
  .pagehead-deck { font-size: 18px; }
  .post-lead { padding: 40px 0; }
  .post-title { font-size: clamp(34px, 8vw, 48px); }
  .post-deck { font-size: 19px; }
  .related-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .pull-quote { padding: 40px 0; margin: 40px 0; }

  /* ─────── BLOG POST ─────── */
  .breadcrumbs { padding: 24px 0 0; font-size: 12px; gap: 8px; }
  .archive-row { grid-template-columns: 96px 1fr; gap: 14px; padding: 18px 0; }
  .archive-row-image { width: 96px; }
  .archive-row-image .placeholder-glyph { font-size: 24px; }
  .archive-row-title { font-size: 19px; }
  .archive-row-deck { font-size: 14px; }
  .archive-filter { padding: 20px 0; gap: 8px 12px; }
  .archive-featured { padding-bottom: 40px; }
  .pagination { padding-top: 24px; flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .post-featured { margin-bottom: 32px; }
  .post-article { margin-bottom: 40px; }
  .post-article h2 { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 0.95; letter-spacing: -0.02em; margin: 40px 0 16px; }
  .post-article h3 { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.05; letter-spacing: -0.01em; margin: 32px 0 12px; }
  .post-article p, .post-article ul, .post-article ol { font-size: 17px; }
  .post-article blockquote { font-size: 22px; padding-left: 20px; border-left-width: 5px; margin: 36px 0; }
  .post-wide, .post-video { margin: 32px auto; }
  .share-bar { gap: 14px; padding: 22px 0 24px; }
  .share-btn { width: 44px; height: 44px; }
  .share-btn svg { width: 16px; height: 16px; }
  .post-section-head { margin: 64px 0 24px; padding-top: 24px; }
  .comments { padding-top: 40px; }
  .comments-title { font-size: 26px; }
  .comment-children { padding-left: 24px; }
  .comment-form-row { grid-template-columns: 1fr; gap: 12px; }
  .system-mark { margin-top: 56px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .site-footer { margin-top: 64px; }
  .site-footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 20px; align-items: flex-start; }
  .cb-subscribe--footer { width: 100%; max-width: none; }
  .cb-subscribe--callout { padding: 32px var(--gutter); margin: 56px 0 32px; }
  .cb-subscribe--callout .cb-subscribe-heading { font-size: 20px; }
  .cb-subscribe--callout .cb-subscribe-row { flex-direction: column; }
  .cb-subscribe--callout .cb-subscribe-input { border-bottom: 1px solid var(--ink); }

  /* ─────── HEADER NAV → SLIDE-DOWN PANEL ─────── */
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
    padding: 8px var(--gutter) 16px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
    z-index: 50;
  }
  .site-nav[data-open="true"] {
    opacity: 1; transform: translateY(0); pointer-events: auto;
  }
  .site-nav a {
    padding: 14px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--rule);
    min-height: 48px;
    width: 100%;
  }
  .site-nav a:last-child { border-bottom: none; }
  .site-nav a[aria-current="page"]::after { display: none; }
  .site-nav a[aria-current="page"] { color: var(--accent-strong); }

  /* ─────── HOME PAGE COMPONENTS ─────── */
  /* Hero: photo on top (height-capped band), text below */
  .home-hero { grid-template-columns: 1fr; padding: 0; }
  .home-hero-photo { order: 1; aspect-ratio: auto; height: 44vh; max-height: 420px; min-height: 280px; }
  .home-hero-photo img { object-position: center 25%; }
  .home-hero-text { order: 2; padding: 40px var(--gutter) 56px; max-width: 100%; }
  .home-hero-text h1 { font-size: clamp(56px, 13vw, 96px); }
  .home-hero-text .lede { font-size: 19px; max-width: 100%; }
  .home-hero-arrow { display: block; text-align: center; margin-top: 24px; }

  /* About / bio hero: stack avatar above title on mobile, smaller portrait */
  .hero-bio .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-bio-image { max-width: 180px; }
  .hero-bio .hero-title { font-size: clamp(40px, 11vw, 64px); }

  /* Work: 3-up → 1-up */
  .work-grid { grid-template-columns: 1fr; gap: 28px; }
  .work-card-logo { max-width: 240px; }

  /* Conversations: feature on top, smalls in 2-up */
  .convo-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .convo-card.feature { grid-column: 1 / -1; grid-row: auto; }
  .convo-card.feature .convo-card-image { grid-column: auto; grid-row: auto; }
  .convo-card.feature .convo-card-title { font-size: 24px; }
  .convo-card.feature .convo-card-deck { font-size: 16px; }

  /* Writing: stack feature above list */
  .writing-grid { grid-template-columns: 1fr; gap: 32px; }
  .writing-feature-title { font-size: 28px; }
  .writing-feature-deck { font-size: 16px; }

  /* Projects: 4-up → 2-up */
  .projects-strip { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Section heads stack title + link */
  .section-head { padding-top: 48px; margin-bottom: 28px; }
  .section-head-title { font-size: clamp(28px, 5.5vw, 40px); }
}

@media (max-width: 600px) {
  :root { --gutter: 20px; }

  /* ─────── CASE STUDY / SQUIDOO ─────── */
  .stats-row { grid-template-columns: 1fr; }
  .stats-row .stat { border-right: none; border-bottom: 1px solid var(--rule); }
  .stats-row .stat:last-child { border-bottom: none; }
  .stats-row .stat:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .testimonial-mark { font-size: 80px; }
  .testimonial-avatar { width: 48px; height: 48px; font-size: 16px; }
  .related-grid { grid-template-columns: 1fr; }

  /* ─────── HOME PAGE COMPONENTS ─────── */
  /* Conversations: 2-up → 1-up at phone */
  .convo-grid { grid-template-columns: 1fr; gap: 28px; }
  .convo-card.feature { grid-column: auto; }
  .convo-card.feature .convo-card-title { font-size: 22px; }

  /* Hero text scales down */
  .home-hero-text { padding: 40px var(--gutter) 24px; }
  .home-hero-text h1 { font-size: clamp(44px, 14vw, 72px); }
  .home-hero-text .lede { font-size: 17px; }
  .home-hero-text .meta { font-size: 13px; }
  .home-hero-photo { aspect-ratio: auto; height: 40vh; max-height: 340px; min-height: 240px; }

  /* Section head stacks the link beneath the title */
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 40px; margin-bottom: 24px; }

  /* 404 */
  .nf-hero { padding: 56px 0 32px; margin-bottom: 32px; }
  .nf-search { padding: 12px 14px; }
  .nf-search button { padding: 8px 12px; }
  .nf-hero.has-image .nf-hero-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .nf-hero-image { max-width: 220px; }
}