/* ============================================================
   BRENT YOUNG — EDITORIAL / PASTE-UP
   Paper, ink & non-repro blue.
   Palette: Kodachrome (Process K-14) — warm charcoal ink,
   cyan marks, Kodak red accent, golden yellow as a garnish.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,700;1,500&family=IBM+Plex+Sans:wght@400;500;700&family=IBM+Plex+Mono:wght@300;400;500&family=Caveat:wght@600&family=Covered+By+Your+Grace&family=Permanent+Marker&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;1,8..60,400&display=swap');

@font-face {
  font-family: 'Impact Label';
  src: url('../assets/fonts/impact_label/Impact%20Label.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Impact Label Reversed';
  src: url('../assets/fonts/impact_label/Impact%20Label%20Reversed.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f4f1ea;
  --paper-dim: #ebe6da;
  --ink: #2b2a27;
  --ink-soft: #4a4842;
  --ink-mute: #6b6860;
  --blue: #1f83a3;          /* cyan marks — deep enough to read as text */
  --blue-line: #a8d4e2;
  --rust: #c1271d;          /* Kodak red */
  --manila: #eee9dc;        /* jacket becomes a slide mount */
  --manila-line: #c9c2af;
  --manila-ink: #2b2a27;
  --manila-mute: #6b6860;
  --hairline: #d9d4c7;
  --gold: #e8a81c;          /* the garnish */
  --blue-ghost: rgba(31, 131, 163, 0.48);  /* ephemera: reads as board, not nav */
  --rust-ghost: rgba(193, 39, 29, 0.45);
  --ink-ghost: rgba(107, 104, 96, 0.7);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'IBM Plex Sans', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
  --hand: 'Caveat', cursive;
  --type-display-xl: clamp(2.375rem, 5vw, 3.875rem);
  --type-display-lg: clamp(1.9375rem, 3vw, 2.5rem);
  --type-display-blog: clamp(2.625rem, 5vw, 3.625rem);
  --type-body-lg: 1.1875rem;
  --type-label: 0.625rem;
}

::selection { background: var(--gold); color: var(--ink); }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  /* the paste-up board: non-repro blue graph paper */
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(168, 212, 226, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 212, 226, 0.55) 1px, transparent 1px),
    linear-gradient(rgba(168, 212, 226, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 212, 226, 0.24) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* a sheet of typescript pasted onto the board */
.sheet {
  background: #ffffff;
  border: 1px solid var(--hairline);
  box-shadow:
    0 1px 2px rgba(43, 42, 39, 0.06),
    0 10px 26px rgba(43, 42, 39, 0.06);
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: min(1060px, 92vw); margin: 0 auto; }

.kicker {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--rust-ghost);
  text-transform: uppercase;
}

.mono { font-family: var(--mono); }

.slugline {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--blue-ghost);
  border-top: 1px solid var(--hairline);
  padding-top: 8px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* golden garnish: the approval mark only */
.slugline .ok, .contact .slugline span:last-child { color: var(--gold); }

/* ---------- department mastheads: the Oxford rule as Chartpak tape ----------
   Two strips of crepe tape laid by hand — heavy over fine, slight skew,
   uneven lengths. The cutoffs are made the lithographer's way: a taller
   vertical piece of ruby tape laid over each end, its straight side edge
   making the edit. */
.dept-head { position: relative; }

.dept-head::before {
  content: "";
  display: block;
  height: 12px;
  margin: 0 -3px 7px -2px;   /* slight overhang past the margin — laid by hand */
  transform: rotate(-0.14deg);
  filter: drop-shadow(0 1px 1px rgba(43, 42, 39, 0.22));
  background:
    /* sheen across the heavy strip */
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 75%) 0 0 / 100% 6px no-repeat,
    /* heavy strip */
    linear-gradient(#1e1b17, #1e1b17) 0 0 / 100% 6px no-repeat,
    /* fine strip, cut a little short */
    linear-gradient(#1e1b17, #1e1b17) 0 100% / calc(100% - 7px) 2px no-repeat;
}

/* ruby lith tape: vertical pieces, taller than the rules, translucent —
   the overlap over the black tape reads darker, the way rubylith does */
.dept-head::after {
  content: "";
  position: absolute;
  top: -7px;
  left: -8px;
  right: -9px;
  height: 26px;
  pointer-events: none;
  transform: rotate(0.2deg);
  background:
    /* right cutoff: masks the end of the heavy strip */
    linear-gradient(rgba(193, 39, 29, 0.68), rgba(193, 39, 29, 0.68)) 100% 0 / 10px 100% no-repeat,
    /* left cutoff: masks the start of the fine strip */
    linear-gradient(rgba(193, 39, 29, 0.68), rgba(193, 39, 29, 0.68)) 0 0 / 10px 100% no-repeat;
}

.dept-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.dept-row h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.625rem, 4vw, 2.25rem);
  margin: 0;
}

.dept-no {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 2px;
  color: var(--blue-ghost);
}

/* ---------- the premise: body copy + handwritten margin note ---------- */
.premise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 56px;
  align-items: start;
}

.premise-sheet {
  padding: 22px 26px 12px;
  transform: rotate(-0.3deg);
}

.premise-note {
  font-family: 'Covered By Your Grace', var(--hand), cursive;
  font-size: 1.625rem;
  line-height: 1.25;
  color: var(--blue);
  max-width: 45ch;
  margin: 6px 0 26px;
  transform: rotate(-4deg);
}

.premise-note p { margin: 0 0 10px; }

.premise-note .squig {
  text-decoration: underline wavy var(--rust);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.premise-note .note-tag { font-size: 1.875rem; color: var(--ink-mute); }
.premise-note .note-arrow { color: var(--rust); }

@media (min-width: 760px) {
  /* left column hugs the text measure so the note sits right beside it */
  .premise-grid { grid-template-columns: minmax(0, 46ch) minmax(0, 1fr); gap: 0 32px; }
  .premise-note { margin-top: 10px; }
}

/* ---------- first principles: the conviction cards ---------- */
.principles { margin-top: 64px; }

.principle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.pcard {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  padding: 16px 16px 18px;
  box-shadow:
    0 1px 2px rgba(43, 42, 39, 0.06),
    0 8px 20px rgba(43, 42, 39, 0.07);
}

.pcard:nth-child(odd) { transform: rotate(-0.35deg); }
.pcard:nth-child(even) { transform: rotate(0.3deg); }

/* the tape holding each card to the board */
.pcard::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  width: 72px;
  height: 19px;
  transform: translateX(-50%) rotate(-2deg);
  background: linear-gradient(rgba(252, 249, 240, 0.55), rgba(240, 234, 216, 0.5));
  border-left: 1px dashed rgba(201, 194, 175, 0.55);
  border-right: 1px dashed rgba(201, 194, 175, 0.55);
  box-shadow: 0 1px 2px rgba(43, 42, 39, 0.08);
}

.pcard:nth-child(even)::before { transform: translateX(-50%) rotate(1.6deg); left: 42%; }
.pcard:nth-child(3n)::before { left: 60%; }

.pcard-no {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 2px;
  color: var(--rust-ghost);
}

.pcard-cue {
  display: block;
  margin: 14px auto 12px;
  color: var(--blue);
}

/* hand-drawn cues: marker sketches, trimmed, on the card's white */
img.pcard-cue {
  height: 48px;
  width: auto;
  max-width: 100%;
}

.pcard-cue .cue-accent { stroke: var(--rust); }

.pcard-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.1875rem;
  line-height: 1.25;
  margin: 0 0 8px;
  color: var(--ink);
}

.pcard-text {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-mute);
  margin: 0;
}

.pcard .read-link {
  align-self: flex-start;
  color: var(--blue);
  display: inline-block;
  margin-top: auto;
  padding-top: 12px;
}

@media (max-width: 759px) {
  .principle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pcard { padding: 12px 12px 14px; }
  .pcard-title { font-size: 1rem; }
  .pcard-text { font-size: 0.8125rem; }
}

@media (prefers-reduced-motion: reduce) {
  .pcard { transform: none !important; }
}

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 248, 242, 0.94);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--hairline);
}

.site-head .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  gap: 16px;
}

.wordmark {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 3px;
  text-decoration: none;
}

.site-nav { display: flex; align-items: center; gap: 18px; }

.site-nav a {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--ink-mute);
  text-decoration: none;
}

.site-nav a:hover { color: var(--ink); }

.btn-spec {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--blue) !important;
  border: 1px solid var(--blue);
  padding: 6px 12px;
}

.btn-spec:hover { background: var(--blue); color: var(--paper) !important; }

.menu-toggle {
  display: none;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--ink);
  background: none;
  border: 1px solid var(--ink);
  padding: 6px 12px;
  cursor: pointer;
}

.nav-colophon { display: none; }

/* Dropdowns are ruled indexes tucked beneath their parent nav item. */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

/* Keep the hover state alive while the pointer crosses the visual gap. */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-dropdown-toggle::after {
  content: "";
  width: 0.36rem;
  height: 0.36rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  display: inline-block;
  margin: 0 0 3px 7px;
  transform: rotate(45deg);
  transition: transform 160ms ease, margin 160ms ease;
}

.nav-dropdown.is-open .nav-dropdown-toggle::after,
.nav-dropdown:focus-within .nav-dropdown-toggle::after {
  margin-bottom: 0;
  transform: rotate(225deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  right: -18px;
  z-index: 60;
  width: 250px;
  padding: 14px 16px 16px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--rust);
  box-shadow: 0 12px 24px rgba(27, 27, 27, 0.14);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu { display: block; }

.nav-dropdown-menu a {
  display: block;
  color: var(--ink-soft) !important;
  font-family: var(--serif) !important;
  font-size: 1rem !important;
  letter-spacing: 0 !important;
  line-height: 1.25;
  padding: 7px 0;
}

.nav-dropdown-menu a:hover { color: var(--rust) !important; }
.nav-blog-menu__all { border-bottom: 1px solid var(--hairline); color: var(--blue) !important; padding-bottom: 12px !important; }
.nav-dropdown-menu__label { display: block; color: var(--blue); font: 0.5625rem var(--mono); letter-spacing: 1.5px; margin: 14px 0 4px; }
.nav-blog-menu [data-nav-shortlist] a { font-size: 0.9375rem !important; }

.nav-tools-menu {
  width: 290px;
  border-top-color: var(--blue);
}

.nav-tools-menu a {
  border-top: 1px solid var(--hairline);
  padding: 11px 0;
}

.nav-tools-menu a:first-of-type { margin-top: 7px; }
.nav-tools-menu strong { display: block; font-weight: 600; }
.nav-tools-menu a span {
  display: block;
  color: var(--ink-mute);
  font-family: var(--sans);
  font-size: 0.6875rem;
  line-height: 1.4;
  margin-top: 3px;
}

/* ---------- paste-up board (guides) ---------- */
.board { position: relative; }

.guides {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 1;
}

.guides .gv, .guides .gh { position: absolute; background: var(--blue-line); }
.guides .gv { top: 0; bottom: 0; width: 1px; }
.guides .gh { left: 0; right: 0; height: 1px; }

.crop { position: absolute; width: 12px; height: 12px; }
.crop.tl { top: 10px; left: 10px; border-left: 1px solid var(--blue); border-top: 1px solid var(--blue); }
.crop.tr { top: 10px; right: 10px; border-right: 1px solid var(--blue); border-top: 1px solid var(--blue); }
.crop.bl { bottom: 10px; left: 10px; border-left: 1px solid var(--blue); border-bottom: 1px solid var(--blue); }
.crop.br { bottom: 10px; right: 10px; border-right: 1px solid var(--blue); border-bottom: 1px solid var(--blue); }

.reg {
  position: absolute;
  top: 14px;
  right: 40px;
  width: 14px;
  height: 14px;
  border: 1px solid var(--blue);
  border-radius: 50%;
}
.reg::before, .reg::after { content: ""; position: absolute; background: var(--blue); }
.reg::before { top: 50%; left: -3px; right: -3px; height: 1px; }
.reg::after { left: 50%; top: -3px; bottom: -3px; width: 1px; }

/* ---------- hero ---------- */
.hero { padding: 48px 0 40px; overflow: hidden; }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: end;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.125rem, 6vw, 3.625rem);
  line-height: 1.18;
  margin: 14px 0 0;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--ink-mute);
  max-width: 46ch;
  margin: 18px 0 26px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-ink {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8125rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 22px;
}

.btn-ink:hover { background: var(--rust); }

.btn-ghost {
  display: inline-block;
  color: var(--ink);
  font-size: 0.8125rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 22px;
  border: 1px solid var(--ink);
}

.btn-ghost:hover { border-color: var(--rust); color: var(--rust); }

.hero-portrait { position: relative; padding: 8px 8px 0; max-width: 420px; }

/* figure sits flush on the hero keyline — cropped by the rule */
.hero-grid .p3 { align-self: end; margin-bottom: -34px; }
.hero-portrait img { width: 100%; }

/* cutout portrait: no frame at all — the figure sits
   directly on the board with the rest of the hero */
.hero-portrait.fpo { border: none; background: transparent; }
.hero-portrait.fpo::before,
.hero-portrait.fpo::after,
.hero-portrait.fpo .fpo-tag { display: none; }
.hero-portrait.fpo img,
.hero-portrait.fpo.placed img { object-fit: contain; }

/* grease-pencil sign-off on the cutout */
.hero-note {
  position: absolute;
  top: 6%;
  right: 0;
  z-index: 3;
  font-family: var(--hand);
  font-size: clamp(1.25rem, 2.4vw, 1.625rem);
  line-height: 1;
  color: var(--blue);
  transform: rotate(-6deg);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
}

.play .hero-note { animation: gIn 0.6s 3.6s forwards, gOut 0.9s 6.6s forwards; }

.hero-slug { margin-top: 34px; position: relative; z-index: 2; }

/* blue-line edit */
.edit-wrap { position: relative; display: inline-block; }

.edit-old {
  display: inline-block;
  max-width: 3.2em;
  overflow: hidden;
  vertical-align: bottom;
  white-space: nowrap;
  position: relative;
  /* room for descenders inside the overflow box */
  padding-bottom: 0.22em;
  margin-bottom: -0.22em;
}

.edit-old .strike {
  position: absolute;
  left: 0;
  right: 2px;
  top: 55%;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
}

.edit-new {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  vertical-align: bottom;
  white-space: nowrap;
  /* room for descenders inside the overflow box */
  padding-bottom: 0.22em;
  margin-bottom: -0.22em;
}

.edit-note {
  position: absolute;
  top: 0.12em;
  left: calc(100% + 16px);
  opacity: 0;
  transform: translateY(6px) rotate(-4deg);
  font-family: var(--hand);
  font-size: 0.55em;
  line-height: 1;
  color: var(--blue);
  white-space: nowrap;
  pointer-events: none;
}

.edit-note .caret {
  display: inline-block;
  transform: rotate(-90deg);
  margin-right: 4px;
  font-size: 0.8em;
}

/* hero animation sequence */
.p-in { opacity: 0; }

.play .guides { animation: gIn 0.5s forwards, gDim 1s 6.6s forwards; }
.play .p1 { animation: pasteIn 1.15s 0.4s forwards; }
.play .p2 { animation: pasteIn 1.15s 1.1s forwards; }
.play .p3 { animation: pasteIn 1.25s 1.8s forwards; }
.play .p4 { animation: gIn 0.6s 2.9s forwards; }
.play .edit-old .strike { animation: strike 0.45s 3.5s forwards; }
.play .edit-note { animation: notePop 0.35s 4s forwards, gOut 0.5s 6.2s forwards; }
.play .edit-old { animation: collapse 0.5s 5.1s forwards; }
.play .edit-new { animation: expand 0.6s 5.3s forwards; }

@keyframes gIn { to { opacity: 1; } }
@keyframes gDim { to { opacity: 0.3; } }
@keyframes gOut { to { opacity: 0; } }
@keyframes strike { to { transform: scaleX(1); } }
@keyframes notePop { to { opacity: 1; transform: translateY(0) rotate(-4deg); } }
@keyframes collapse { to { max-width: 0; opacity: 0; } }
@keyframes expand { to { max-width: 8em; opacity: 1; } }

@keyframes pasteIn {
  0% {
    opacity: 0;
    transform:
      translate(var(--paste-x, 0), var(--paste-y, 26px))
      rotate(var(--paste-rot-start, -3.2deg));
  }
  45% { opacity: 1; transform: translateY(0) rotate(var(--paste-rot-mid, -2.4deg)); }
  70% { opacity: 1; transform: translateY(0) rotate(var(--paste-rot-mid, -2.4deg)); }
  100% { opacity: 1; transform: none; }
}

/* ---------- FPO frames ---------- */
.fpo {
  position: relative;
  border: 1px solid var(--blue);
  background: var(--paper);
  overflow: hidden;
  transition: border-color 0.6s ease;
}

.fpo::before, .fpo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.fpo::before { background: linear-gradient(to top right, transparent calc(50% - 0.5px), var(--blue-line) 50%, transparent calc(50% + 0.5px)); }
.fpo::after { background: linear-gradient(to bottom right, transparent calc(50% - 0.5px), var(--blue-line) 50%, transparent calc(50% + 0.5px)); }

.fpo .fpo-tag {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-6deg);
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 3px;
  color: var(--blue);
  border: 1px solid var(--blue);
  padding: 3px 10px;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.fpo img, .fpo video {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.fpo.placed { border-color: var(--hairline); }
.fpo.placed::before, .fpo.placed::after, .fpo.placed .fpo-tag { opacity: 0; }
.fpo.placed img, .fpo.placed video { animation: pasteDown 1.1s forwards; }

@keyframes pasteDown {
  0% {
    opacity: 0;
    transform:
      translate(var(--art-x, 0), var(--art-y, -16px))
      rotate(var(--art-rot-start, 3deg))
      scale(var(--art-scale, 1.045));
  }
  40% { opacity: 1; transform: translateY(0) rotate(var(--art-rot-mid, 1.7deg)) scale(1); }
  68% { opacity: 1; transform: translateY(0) rotate(var(--art-rot-mid, 1.7deg)) scale(1); }
  100% { opacity: 1; transform: none; }
}

.stamp-church {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 1px;
  color: var(--blue);
  border: 1.5px solid var(--blue);
  border-radius: 3px;
  padding: 1px 6px;
  transform: rotate(-7deg);
  background: rgba(250, 248, 242, 0.85);
}

/* ---------- flat file: the workbench ---------- */
.flatfile {
  background: var(--paper-dim);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 64px 0 56px;
  margin-top: 56px;
}

.flatfile-sub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 10px 0 14px;
}

.file-count { font-family: var(--mono); font-size: 0.75rem; color: var(--ink-ghost); margin: 0; }

.flatfile .tabrow { background: var(--paper-dim); }
.flatfile .tabrow button { background: var(--paper); }
.flatfile .tabrow button.on { background: var(--paper-dim); }

.tabrow {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 2px solid var(--ink);
  padding: 0 4px;
  position: sticky;
  top: 53px;
  background: var(--paper);
  z-index: 30;
}

.tabrow::-webkit-scrollbar { display: none; }

.tabrow button {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--ink-mute);
  background: var(--paper-dim);
  border: 1px solid var(--hairline);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  padding: 8px 13px 7px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.tabrow button.on {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--ink);
  position: relative;
  top: 2px;
  padding-bottom: 9px;
}

.filegrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  padding-top: 22px;
}

.fcard {
  background: #ffffff;
  border: 1px solid var(--hairline);
  padding: 8px;
  cursor: pointer;
  text-align: left;
  font-family: var(--sans);
  opacity: 0;
  animation: pasteIn 0.9s forwards;
}

.fcard:hover { border-color: var(--ink); }
.fcard:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.fcard.lift {
  animation: liftOff 0.48s cubic-bezier(0.45, 0, 0.4, 1) forwards;
  transform-origin: center;
}

@keyframes liftOff {
  0% { opacity: 1; transform: none; }
  100% {
    opacity: 0;
    transform:
      translate(var(--lift-x, 0), var(--lift-y, -22px))
      rotate(var(--lift-rot, 3.2deg))
      scale(var(--lift-scale, 1.04));
  }
}

.fcard-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--paper-dim);
  margin-bottom: 8px;
  overflow: hidden;
}

.fcard-media .stamp-church { position: absolute; top: 6px; right: 6px; z-index: 3; }

.fcard-media .mini-gallery {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(20, 18, 14, 0.72);
  color: #f4f1ea;
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 300;
  letter-spacing: 1px;
  padding: 4px 8px;
  border-radius: 3px;
}

.fcard-media .mini-gallery svg { display: block; }

.fcard-media .mini-play {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 3;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(27, 27, 27, 0.75);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-size: 0.625rem;
}

.fcard-title { font-size: 0.8438rem; font-weight: 500; line-height: 1.35; min-height: 2.7em; color: var(--ink); }

.fcard-slug {
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--ink-mute);
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
}

.fcard-slug .codes { color: var(--blue); }

/* ---------- experimental flat-file slide table ---------- */
.slide-table {
  position: relative;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 78% 38%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 30%),
    linear-gradient(180deg, #fbfbf5 0%, #eef3ee 58%, #e4e7dd 100%);
  border-top: 1px solid rgba(43, 42, 39, 0.12);
  box-shadow: inset 0 28px 80px rgba(255, 255, 255, 0.72);
}

.slide-table::before {
  content: "";
  position: absolute;
  top: 410px;
  left: max(-170px, calc((100vw - 1060px) / 2 - 250px));
  width: clamp(190px, 20vw, 260px);
  aspect-ratio: 960 / 1024;
  pointer-events: none;
  background: url('../assets/img/loupeExample.png') center / contain no-repeat;
  border-radius: 50%;
  filter: drop-shadow(0 22px 28px rgba(43, 42, 39, 0.18));
  opacity: 0.86;
  transform: rotate(-16deg);
  z-index: 0;
}

.slide-table::after {
  content: "";
  position: absolute;
  top: 190px;
  right: max(-100px, calc((100vw - 1060px) / 2 - 190px));
  width: clamp(320px, 34vw, 520px);
  aspect-ratio: 1499 / 153;
  pointer-events: none;
  background: url('../assets/img/nonReproBluePencil.png') center / contain no-repeat;
  filter: drop-shadow(0 10px 11px rgba(43, 42, 39, 0.18));
  opacity: 0.86;
  transform: rotate(8deg);
  z-index: 0;
}

.slide-table .filegrid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  gap: 24px;
  padding-top: 34px;
}

.slide-table .tabrow {
  position: relative;
  top: auto;
  z-index: 1;
  gap: 10px 12px;
  padding: 12px 0 4px;
  border: 0;
  background: transparent;
  box-shadow: none;
  flex-wrap: wrap;
  overflow: visible;
}

.slide-table .tabrow button {
  position: relative;
  top: 0;
  flex: 0 0 auto;
  border: 0;
  border-radius: 1px;
  padding: 6px 13px 7px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 14% 86%, rgba(255, 255, 255, 0.06)),
    #191817;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.72),
    0 6px 9px rgba(43, 42, 39, 0.16);
  color: rgba(238, 245, 246, 0.86);
  font-family: 'Impact Label Reversed', var(--mono);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.72;
  transform: rotate(var(--label-rot, -1deg));
  transition:
    box-shadow 260ms ease,
    filter 260ms ease,
    opacity 260ms ease,
    transform 260ms ease;
}

.slide-table .tabrow button:nth-child(2n) { --label-rot: 1.3deg; }
.slide-table .tabrow button:nth-child(3n) { --label-rot: -0.4deg; }
.slide-table .tabrow button:nth-child(5n) { --label-rot: 0.8deg; }

.slide-table .tabrow button::before,
.slide-table .tabrow button::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.slide-table .tabrow button::before { left: 7px; }
.slide-table .tabrow button::after { right: 7px; }

.slide-table .tabrow button:hover {
  opacity: 0.94;
  filter: brightness(1.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.72),
    0 10px 14px rgba(43, 42, 39, 0.2);
}

.slide-table .tabrow button.on {
  opacity: 1;
  filter: brightness(1.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 14% 86%, rgba(255, 255, 255, 0.08)),
    #11100f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.76),
    0 12px 18px rgba(43, 42, 39, 0.22);
}

.slide-table .tabrow button.on {
  padding-bottom: 7px;
}

.slide-table .fcard {
  --slide-x: 0;
  --slide-y: 0;
  --slide-rot: 0deg;
  --slide-scale: 1;
  position: relative;
  aspect-ratio: 1 / 1;
  padding: 13px 14px 12px;
  border: 0;
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(219, 214, 199, 0.38)),
    #e9e1cf;
  box-shadow:
    0 14px 22px rgba(43, 42, 39, 0.13),
    inset 0 0 0 1px rgba(134, 125, 105, 0.58),
    inset 0 0 0 6px rgba(244, 240, 228, 0.82),
    inset 0 0 16px rgba(255, 255, 255, 0.48);
  opacity: 0;
  transform:
    translate(var(--slide-x, 0), var(--slide-y, 0))
    rotate(var(--slide-rot, 0deg))
    scale(1);
  animation: slideFadeIn 0.9s forwards;
  transition:
    box-shadow 900ms cubic-bezier(0.19, 1, 0.22, 1),
    filter 900ms cubic-bezier(0.19, 1, 0.22, 1),
    transform 900ms cubic-bezier(0.19, 1, 0.22, 1);
}

.slide-table .fcard:hover {
  opacity: 1;
  transform:
    translate(var(--slide-x, 0), calc(var(--slide-y, 0) - 8px))
    rotate(0deg)
    scale(1.065);
  box-shadow:
    0 28px 44px rgba(43, 42, 39, 0.24),
    0 9px 15px rgba(43, 42, 39, 0.14),
    inset 0 0 0 1px rgba(134, 125, 105, 0.62),
    inset 0 0 0 6px rgba(244, 240, 228, 0.86),
    inset 0 0 16px rgba(255, 255, 255, 0.52);
  filter: brightness(1.025);
}

.slide-table .fcard::before,
.slide-table .fcard::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px;
  height: 4px;
  border-radius: 0 0 7px 7px;
  background: rgba(43, 42, 39, 0.34);
  transform: translateX(-50%);
}

.slide-table .fcard::before { top: 0; }
.slide-table .fcard::after { bottom: 0; transform: translateX(-50%) rotate(180deg); }

.slide-table .fcard-media {
  width: 78%;
  margin: 51px auto 12px;
  aspect-ratio: 3 / 2;
  border: 8px solid rgba(24, 23, 21, 0.92);
  border-radius: 2px;
  background: #0f0f0f;
  box-shadow:
    0 0 18px rgba(255, 255, 255, 0.78),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.slide-table .fcard-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.22), transparent 18% 82%, rgba(0, 0, 0, 0.18)),
    radial-gradient(circle at 50% 50%, transparent 0 58%, rgba(0, 0, 0, 0.22) 100%);
  mix-blend-mode: screen;
}

.slide-table .fcard-media .fpo {
  border: 0;
  background: #151515;
}

.slide-table .fcard-media .fpo::before,
.slide-table .fcard-media .fpo::after,
.slide-table .fcard-media .fpo .fpo-tag { display: none; }

.slide-table .fcard-title {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 17px;
  height: 40px;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Permanent Marker', var(--hand);
  font-size: 1rem;
  line-height: 1.05;
  text-align: center;
  color: rgba(43, 42, 39, 0.78);
  transform: rotate(-1.2deg);
}

.slide-table .fcard-short-title .fcard-title {
  top: 22px;
}

.slide-table .fcard-slug {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 22px;
  margin: 0;
  font-size: 0.625rem;
  letter-spacing: 1px;
  color: rgba(43, 42, 39, 0.42);
}

.slide-table .fcard-detailed {
  box-shadow:
    0 14px 22px rgba(43, 42, 39, 0.13),
    inset 0 0 0 2px rgba(31, 131, 163, 0.5),
    inset 0 0 0 7px rgba(244, 240, 228, 0.82),
    inset 0 0 16px rgba(255, 255, 255, 0.48);
}

.slide-table .fcard-detailed .file-kind {
  color: var(--blue);
  font-weight: 500;
}

@keyframes slideFadeIn { to { opacity: 1; } }

.pullmore {
  display: block;
  margin: 24px auto 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--blue);
  border: 1px dashed var(--blue);
  background: transparent;
  padding: 10px 20px;
  cursor: pointer;
}

.pullmore:hover { background: var(--blue); color: var(--paper); border-style: solid; }

/* ---------- job jacket modal ---------- */
.jacket-layer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.jacket-layer.show { display: flex; }

.jacket-backdrop { position: absolute; inset: 0; background: rgba(20, 18, 14, 0.65); }

.jacket {
  position: relative;
  width: min(760px, 100%);
  max-height: min(88vh, 860px);
  background: var(--manila);
  border: 1px solid var(--manila-line);
  border-left: 6px solid var(--rust); /* slide-mount index stripe */
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: jacketIn 0.5s both;
}

.jacket.is-detailed { width: min(920px, 100%); }

@keyframes jacketIn {
  0% { opacity: 0; transform: translateY(26px) rotate(-1deg); }
  70% { opacity: 1; transform: translateY(0) rotate(0.4deg); }
  100% { opacity: 1; transform: none; }
}

.jacket-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px dashed var(--manila-line);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 2px;
  color: var(--manila-mute);
  flex-shrink: 0;
}

.jacket-bar .controls { display: flex; gap: 4px; align-items: center; }

.jacket-bar button {
  font-family: var(--mono);
  font-size: 0.8125rem;
  background: transparent;
  border: 1px solid transparent;
  color: var(--manila-mute);
  cursor: pointer;
  padding: 4px 9px;
}

.jacket-bar button:hover { border-color: var(--manila-mute); color: var(--manila-ink); }

.jacket-body { overflow-y: auto; padding: 14px 16px 16px; }

.jacket-media { position: relative; background: #0f0f0f; border: 1px solid var(--manila-line); }
.jacket-media img, .jacket-media video { width: 100%; max-height: 56vh; object-fit: contain; margin: 0 auto; }
.jacket-media iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.jacket-media audio { width: 100%; display: block; padding: 20px 12px; box-sizing: border-box; }
.jacket-media .stamp-church { position: absolute; top: 8px; right: 8px; z-index: 3; }

/* house PDF viewer: pages rendered as prints, no browser toolbar */
.pdf-canvas {
  display: block;
  width: 100%;
  height: auto;
  background: #ffffff;
}

.pdf-loading {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 300;
  letter-spacing: 2px;
  color: rgba(244, 241, 234, 0.8);
  text-align: center;
  padding: 70px 16px;
}

.gal-btn.pdf-fs { top: 10px; bottom: auto; transform: none; right: 10px; left: auto; }

.jacket-media:fullscreen,
.jacket-media.pdf-max {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f0f0f;
}

.jacket-media.pdf-max {
  position: fixed;
  inset: 0;
  z-index: 130;
  border: none;
}

.jacket-media:fullscreen .pdf-canvas,
.jacket-media.pdf-max .pdf-canvas { max-height: 100vh; }

/* jacket gallery: multiple prints in the envelope */
.gal-img { animation: galIn 0.45s both; }

@keyframes galIn {
  0% { opacity: 0; transform: translateX(14px) rotate(0.6deg); }
  100% { opacity: 1; transform: none; }
}

.gal-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(250, 248, 242, 0.35);
  background: rgba(20, 18, 14, 0.62);
  color: #f4f1ea;
  font-size: 1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.gal-btn:hover { background: rgba(20, 18, 14, 0.85); border-color: rgba(250, 248, 242, 0.7); }
.gal-prev { left: 10px; }
.gal-next { right: 10px; }

.gal-count {
  position: absolute;
  bottom: 8px;
  left: 10px;
  z-index: 4;
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 300;
  letter-spacing: 1.5px;
  color: rgba(244, 241, 234, 0.92);
  background: rgba(20, 18, 14, 0.55);
  padding: 4px 10px;
  border-radius: 3px;
  max-width: calc(100% - 20px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .gal-img { animation: none; }
}

.jacket-title { font-family: var(--serif); font-weight: 500; font-size: 1.375rem; color: var(--manila-ink); margin: 14px 0 2px; }

.jacket-codes { font-family: var(--mono); font-size: 0.6875rem; color: var(--blue); margin-bottom: 10px; }

.jacket-meta {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 6px 12px;
  font-size: 0.8438rem;
  line-height: 1.55;
  color: var(--manila-ink);
  margin: 0;
}

.jacket-meta dt { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 1px; color: var(--rust); padding-top: 2px; margin: 0; }
.jacket-meta dd { margin: 0; }
.jacket-meta dd a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.jacket.is-detailed .jacket-meta { grid-template-columns: 110px 1fr; gap: 10px 16px; }

@media (min-width: 760px) {
  .jacket.is-detailed .jacket-body {
    display: grid;
    gap: 0 22px;
    grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.85fr);
    grid-template-rows: auto auto 1fr;
  }

  .jacket.is-detailed .jacket-media {
    align-self: start;
    grid-column: 1;
    grid-row: 1 / 4;
    position: sticky;
    top: 0;
  }

  .jacket.is-detailed .jacket-media img,
  .jacket.is-detailed .jacket-media video,
  .jacket.is-detailed .jacket-media .pdf-canvas {
    max-height: 68vh;
    object-fit: contain;
  }

  .jacket.is-detailed .jacket-title {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
  }

  .jacket.is-detailed .jacket-codes {
    grid-column: 2;
    grid-row: 2;
  }

  .jacket.is-detailed .jacket-meta {
    grid-column: 2;
    grid-row: 3;
    grid-template-columns: 1fr;
  }
}

.jacket-foot {
  border-top: 1px dashed var(--manila-line);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--manila-mute);
  flex-shrink: 0;
}

.jacket-foot .share { color: var(--blue); cursor: pointer; background: none; border: none; font-family: var(--mono); font-size: 0.6875rem; }

/* ---------- the column (blog) ----------
   Typeset in the A List Apart tradition:
   hierarchy from type, not boxes. */
:root { --serif-text: 'Source Serif 4', Georgia, serif; }

.desk {
  padding: 64px 0 46px;
  margin-top: 8px;
}

.desk-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.625rem, 4vw, 2.125rem);
  margin: 8px 0 10px;
}

.entries {
  max-width: 720px;
  background: #ffffff;
  border: 1px solid var(--hairline);
  box-shadow:
    0 1px 2px rgba(43, 42, 39, 0.06),
    0 10px 26px rgba(43, 42, 39, 0.06);
  padding: 4px 28px 10px;
}

.entry { padding: 26px 0 22px; border-bottom: 1px solid var(--hairline); }
.entry:last-child { border-bottom: none; }

.entry-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 6px;
}

.entry-meta .mono { font-size: 0.6875rem; letter-spacing: 1px; color: var(--ink-mute); }

.entry-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5625rem;
  line-height: 1.25;
  margin: 0 0 8px;
  text-wrap: balance;
}

.entry-featured .entry-title { font-size: clamp(1.875rem, 4.5vw, 2.5rem); }

.entry-title a { text-decoration: none; color: var(--ink); }
.entry-title a:hover { color: var(--rust); }

.entry-deck {
  font-family: var(--serif-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 10px;
  max-width: 62ch;
}

.entry-featured .entry-deck { font-size: 1.1875rem; }

.entry-byline {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 1px;
  color: var(--ink-mute);
  margin: 0;
}

.entries-rule {
  font-size: 0.6875rem;
  letter-spacing: 2px;
  color: var(--blue);
  border-bottom: 2px solid var(--ink);
  padding: 26px 0 8px;
  margin: 0;
}

.desk-all {
  width: fit-content;
  text-decoration: none;
  text-align: center;
  margin-top: 8px;
}

.column-page { padding: 48px 0 60px; min-height: 60vh; }

.column-masthead { border-bottom: 2px solid var(--ink); padding-bottom: 22px; margin-bottom: 8px; }
.column-masthead .slugline { margin-top: 18px; }
.column-masthead .hero-sub { margin: 10px 0 0; }

.back-link { font-size: 0.75rem; letter-spacing: 1px; color: var(--blue); text-decoration: none; }
.back-link:hover { color: var(--ink); }

/* ---------- article typesetting ---------- */
.article {
  max-width: 660px;
  background: #ffffff;
  border: 1px solid var(--hairline);
  box-shadow:
    0 1px 2px rgba(43, 42, 39, 0.06),
    0 10px 26px rgba(43, 42, 39, 0.06);
  padding: 26px clamp(20px, 5vw, 44px) 44px;
  margin-top: 18px;
}

.article-meta { max-width: 62ch; }

.article-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.875rem, 5.5vw, 2.875rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 10px 0 18px;
  text-wrap: balance;
}

.article-lede {
  font-family: var(--serif-text);
  font-style: italic;
  font-size: 1.3125rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.article-byline {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 10px 0;
  margin: 0 0 30px;
}

.article-body {
  font-family: var(--serif-text);
  font-size: 1.1563rem;
  line-height: 1.75;
  color: var(--ink-soft);
  font-feature-settings: "liga" 1, "onum" 1, "kern" 1;
  hyphens: auto;
  text-wrap: pretty;
}

.article-body p { margin: 0 0 1.25em; }

.article-body .opener {
  font-variant-caps: small-caps;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.article-body h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5625rem;
  line-height: 1.3;
  color: var(--ink);
  margin: 1.8em 0 0.6em;
}

.article-body .pull {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.625rem;
  line-height: 1.4;
  color: var(--ink);
  text-align: center;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 26px 12px;
  margin: 2em 0;
  -webkit-hyphens: none;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.article-fig { margin: 2em 0; }
.article-fig img { width: 100%; }

.article-body blockquote {
  margin: 1.5em 0 1.5em 1.5em;
  padding-left: 1.2em;
  border-left: 2px solid var(--blue-line);
  font-style: italic;
}

.article-body h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.25;
  color: var(--ink);
  margin: 1.8em 0 0.6em;
}

.article-body h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.3125rem;
  line-height: 1.3;
  color: var(--ink);
  margin: 1.7em 0 0.5em;
}

.article-body h4,
.article-body h5,
.article-body h6 {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rust);
  margin: 1.7em 0 0.5em;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.25em;
  padding-left: 1.5em;
}

.article-body li { margin-bottom: 0.35em; }

.article-body li::marker {
  color: var(--rust);
  font-family: var(--mono);
  font-size: 0.85em;
}

.article-body li input[type="checkbox"] {
  accent-color: var(--blue);
  margin-right: 0.5em;
  transform: translateY(1px);
}

.article-body li:has(input[type="checkbox"]) { list-style: none; margin-left: -1.2em; }

.article-body a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-body a:hover { color: var(--rust); text-decoration-color: var(--rust); }

.article-body .footnote-ref {
  font-family: var(--mono);
  font-size: 0.68em;
  line-height: 1;
  vertical-align: super;
}

.article-body .footnotes {
  max-width: 68ch;
  margin-top: 3em;
  padding-top: 1em;
  border-top: 1px solid var(--hairline);
  color: var(--ink-muted);
  font-size: 0.82em;
  line-height: 1.6;
}

.article-body .footnotes hr { display: none; }
.article-body .footnotes ol { margin-bottom: 0; }
.article-body .footnotes p { margin-bottom: 0.65em; }

.article-body .footnote-backref {
  font-family: var(--mono);
  font-size: 0.8em;
  text-decoration: none;
}

.article-body hr {
  border: none;
  border-top: 1px solid var(--hairline);
  width: 38%;
  margin: 2.2em auto;
}

.article-body strong { color: var(--ink); font-weight: 600; }

.article-body code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: var(--paper-dim);
  padding: 1px 5px;
}

/* ---------- article tables ---------- */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2.2em 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  -webkit-hyphens: none;
  hyphens: none;
}

.article-body thead th {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: left;
  vertical-align: bottom;
  color: var(--topic-accent, var(--rust));
  padding: 0 0.85em 0.55em;
  border-bottom: 2px solid var(--topic-accent, var(--rust));
}

.article-body tbody td {
  font-family: var(--serif-text);
  color: var(--ink-soft);
  vertical-align: top;
  padding: 0.7em 0.85em;
  border-bottom: 1px solid var(--hairline);
}

.article-body thead th:first-child,
.article-body tbody td:first-child { padding-left: 0.6em; }

.article-body tbody td:first-child {
  color: var(--ink);
  font-weight: 600;
}

.article-body tbody tr:nth-child(even) td { background: var(--paper-dim); }
.article-body tbody tr:last-child td { border-bottom: none; }

@media (max-width: 700px) {
  .article-body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    font-size: 0.875rem;
  }
  .article-body thead th,
  .article-body tbody td { padding: 0.55em 0.7em; }
  .article-body thead th:first-child,
  .article-body tbody td:first-child { padding-left: 0.7em; }
}

.endmark {
  display: block;
  text-align: center;
  font-size: 1.375rem;
  color: var(--rust);
  margin-top: 1.5em;
}

.article-slug { margin-top: 36px; }


/* ---------- contact: the colophon (reversed) ---------- */
.contact {
  background: var(--ink);
  color: var(--paper);
  margin-top: 64px;
  padding: 56px 0 48px;
}

/* reversed masthead: white tape on the ink block, ruby still reads */
.contact .dept-head::before {
  filter: none;
  background:
    linear-gradient(var(--paper), var(--paper)) 0 0 / 100% 6px no-repeat,
    linear-gradient(var(--paper), var(--paper)) 0 100% / calc(100% - 7px) 2px no-repeat;
}

.contact .dept-head::after {
  background:
    linear-gradient(rgba(193, 39, 29, 0.85), rgba(193, 39, 29, 0.85)) 100% 0 / 10px 100% no-repeat,
    linear-gradient(rgba(193, 39, 29, 0.85), rgba(193, 39, 29, 0.85)) 0 0 / 10px 100% no-repeat;
}
.contact .dept-no { color: var(--blue-line); }

.contact h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.625rem, 4vw, 2.25rem);
  margin: 0;
}

.contact-intro { margin: 14px 0 26px; color: rgba(250, 248, 242, 0.75); max-width: 46ch; }

.contact .btn-ink { background: var(--paper); color: var(--ink); }
.contact .btn-ink:hover { background: var(--rust); color: var(--paper); }
.contact .btn-ghost { border-color: var(--paper); color: var(--paper); }
.contact .btn-ghost:hover { border-color: var(--rust); color: var(--rust); }

.contact-info .mono { color: rgba(250, 248, 242, 0.65); }

.contact .slugline {
  color: var(--blue-line);
  border-top-color: rgba(250, 248, 242, 0.25);
}

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }

.contact-info p { margin: 6px 0; font-size: 0.9375rem; }
.contact-info .mono { font-size: 0.8125rem; color: var(--ink-mute); }

/* ---------- footer ---------- */
.site-foot {
  border-top: 1px solid var(--hairline);
  padding: 18px 0 26px;
}

.site-foot .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--ink-mute);
}

.site-foot .font-list {
  flex: 1 1 100%;
  color: var(--blue-ghost);
  font-size: 0.5625rem;
  letter-spacing: 0.8px;
  line-height: 1.6;
}

/* ---------- breakpoints ---------- */
@media (min-width: 760px) {
  .hero { padding: 64px 0 48px; }
  .hero-grid { grid-template-columns: 1.25fr 0.75fr; gap: 28px; }

  /* the type block overlaps the cutout — pasted over it on the board */
  .hero-grid .p2 { position: relative; z-index: 2; }
  .hero-grid .p3 { position: relative; z-index: 1; margin-left: -110px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 759px) {
  body.nav-open { overflow: hidden; }

  /* pure-type hero on mobile — the portrait stays on the desktop board */
  .hero-grid .p3 { display: none; }

  /* two-up flat file on phones */
  .filegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .slide-table .filegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .fcard { padding: 6px; }
  .fcard-title { font-size: 0.7813rem; min-height: 2.6em; }
  .fcard-slug { font-size: 0.625rem; }
  .slide-table::before { display: none; }
  .slide-table::after { display: none; }
  .jacket-layer { padding: 0; align-items: flex-end; }
  .jacket { width: 100%; max-height: 94vh; border-radius: 12px 12px 0 0; }

  /* mobile nav: the table of contents */
  .menu-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
    padding: 4px 4vw 18px;
    counter-reset: toc;
    box-shadow: 0 14px 24px rgba(27, 27, 27, 0.12);
    max-height: calc(100vh - 53px);
    overflow-y: auto;
    z-index: 45;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav.open { display: flex; animation: navDrop 0.25s ease; }

  @keyframes navDrop {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
  }

  .site-nav a.nav-link {
    display: flex;
    align-items: baseline;
    gap: 14px;
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--ink);
    padding: 15px 0;
    border-bottom: 1px solid var(--hairline);
  }

  .site-nav a.nav-link::before {
    counter-increment: toc;
    content: "0" counter(toc);
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--blue);
  }

  .nav-dropdown { display: block; }
  .nav-dropdown::before { display: none; }
  .nav-dropdown-toggle::after { margin-left: auto; }
  .nav-dropdown-menu,
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    position: static;
    width: auto;
    border: 0;
    border-top: 0;
    box-shadow: none;
    padding: 0 0 10px 28px;
  }
  .nav-dropdown:not(.is-open) .nav-dropdown-menu { display: none; }
  .nav-dropdown.is-open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a,
  .nav-blog-menu [data-nav-shortlist] a { font-size: 1.0625rem !important; padding: 8px 0; }
  .nav-blog-menu__all { padding-top: 13px !important; }
  .nav-dropdown-menu__label { margin-top: 10px; }
  .nav-tools-menu a { padding: 11px 0 !important; }
  .nav-tools-menu a span { font-size: 0.75rem; }

  .site-nav .btn-spec {
    margin-top: 18px;
    text-align: center;
    padding: 13px 12px;
  }

  .nav-colophon {
    display: block;
    font-family: var(--mono);
    font-size: 0.6875rem;
    letter-spacing: 1px;
    color: var(--ink-mute);
    padding-top: 14px;
    text-align: center;
  }
}

/* ============================================================
   THE BLOG — contents spread & article plates
   The index reads like a journal's table of contents: a pinned
   cornerstone proof, newspaper section tabs, and an editorial
   index with tipped-in banner plates. Banners are designed at
   1200 x 630 (the Open Graph size) and live at
   assets/img/blog/<slug>.jpg — missing art shows an FPO plate.
   ============================================================ */

/* ---------- FPO placeholder (shared: index + article) ---------- */
.plate-fpo {
  position: relative;
  background:
    repeating-linear-gradient(-45deg,
      rgba(168, 212, 226, 0.28) 0 1px, transparent 1px 14px),
    var(--paper-dim);
  border: 1px dashed var(--blue-line) !important;
}

.plate-fpo img { display: none; }

.fpo-mark {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 1.25rem;
  letter-spacing: 8px;
  text-indent: 8px;
  color: var(--blue);
  text-decoration: none;
}

.fpo-mark em {
  font-style: normal;
  font-size: 0.5625rem;
  letter-spacing: 3px;
  text-indent: 3px;
  color: var(--ink-mute);
}

.plate-fpo .fpo-mark { display: flex; }

/* ---------- section tabs (the pillar taxonomy) ---------- */
.section-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 26px;
  border-bottom: 2px solid var(--ink);
  margin: 30px 0 0;
}

.section-tab {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 1.5px;
  color: var(--ink-mute);
  background: none;
  border: none;
  border-bottom: 4px solid transparent;
  padding: 8px 0 10px;
  margin-bottom: -2px;
  cursor: pointer;
}

.section-tab span { color: var(--blue); }

.section-tab:hover { color: var(--ink); }

.section-tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--rust);
}

/* ---------- the cornerstone (pinned manifesto proof) ---------- */
.cornerstone {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--hairline);
  box-shadow:
    0 1px 2px rgba(43, 42, 39, 0.06),
    0 10px 26px rgba(43, 42, 39, 0.06);
  padding: 26px clamp(20px, 4vw, 36px) 30px;
  margin-top: 30px;
}

.corner-stamp {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 2;
  transform: rotate(-5deg);
  font-size: 0.6875rem;
  letter-spacing: 3px;
  text-indent: 3px;
  color: var(--rust);
  border: 2px solid var(--rust);
  border-radius: 3px;
  padding: 4px 10px;
  opacity: 0.85;
  pointer-events: none;
}

.corner-plate {
  display: block;
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--paper-dim);
  margin-bottom: 18px;
}

.corner-plate img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.corner-title { font-size: clamp(1.75rem, 4.5vw, 2.5rem); }
.corner-deck { font-size: 1.1875rem; }

@media (min-width: 760px) {
  .cornerstone {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 10px 32px;
    align-items: start;
  }
  .cornerstone .corner-plate {
    grid-column: 2;
    grid-row: 1 / span 4;
    margin: 4px 0 0;
  }
  .cornerstone > .entry-meta,
  .cornerstone > .corner-title,
  .cornerstone > .corner-deck,
  .cornerstone > .entry-byline { grid-column: 1; }
}

/* ---------- the editorial index ---------- */
.index-sheet { max-width: none; margin-top: 26px; }

.index-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: start;
  padding: 26px 0 24px;
  border-bottom: 1px solid var(--hairline);
}

.index-row:last-child { border-bottom: none; }

.index-plate {
  display: block;
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--paper-dim);
  box-shadow: 0 1px 3px rgba(43, 42, 39, 0.12);
  transform: rotate(-0.5deg);
  margin-top: 4px;
}

.index-row:nth-child(even) .index-plate { transform: rotate(0.4deg); }

.index-plate img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.index-plate.plate-fpo .fpo-mark { font-size: 0.9375rem; letter-spacing: 5px; text-indent: 5px; }
.index-plate.plate-fpo .fpo-mark em { font-size: 0.5rem; }

.index-body .entry-title { font-size: 1.4375rem; }

.index-empty {
  padding: 30px 0;
  font-size: 0.6875rem;
  letter-spacing: 2px;
  color: var(--ink-mute);
}

@media (max-width: 599px) {
  .index-row { grid-template-columns: 1fr; gap: 14px; }
  .index-plate { max-width: 300px; }
}

/* ---------- article page: centered layout + share rail ----------
   The essay sheet sits centered on the board; the share buttons are
   small mounts resting in the left margin, sticky as you read.   */
.article-layout {
  display: grid;
  grid-template-columns: 44px minmax(0, 700px) 44px;
  justify-content: center;
  gap: 26px;
  align-items: start;
}

.article-layout .article-page { grid-column: 2; max-width: none; }

.share-rail {
  grid-column: 1;
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  padding-top: 2px;
}

.share-label {
  font-size: 0.5625rem;
  letter-spacing: 3px;
  text-indent: 3px;
  color: var(--ink-mute);
  margin-bottom: 2px;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #ffffff;
  border: 1px solid var(--hairline);
  box-shadow: 0 1px 2px rgba(43, 42, 39, 0.1);
  color: var(--ink-soft);
  cursor: pointer;
  padding: 0;
}

.share-btn:hover { color: var(--rust); border-color: var(--ink); }

.share-copied {
  font-size: 0.5625rem;
  letter-spacing: 2px;
  color: var(--blue);
}

@media (max-width: 899px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .article-layout .article-page { grid-column: 1; }

  /* after the essay: a horizontal share row where the reader lands */
  .share-rail {
    grid-column: 1;
    order: 2;
    position: static;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0 4px;
  }
  .share-label { width: 100%; text-align: center; margin-bottom: 4px; }
}

/* ---------- article page: the banner plate ---------- */
.article-page { margin-top: 26px; }

.article-plate {
  margin: -26px calc(clamp(20px, 5vw, 44px) * -1) 26px;
  border: none;
  border-bottom: 1px solid var(--hairline);
}

.article-plate img { display: block; width: 100%; }

.article-plate.plate-fpo {
  aspect-ratio: 1200 / 630;
  border: none !important;
  border-bottom: 1px dashed var(--blue-line) !important;
}

.plate-slug {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.625rem;
  letter-spacing: 1.5px;
  color: var(--ink-mute);
  padding: 8px clamp(20px, 5vw, 44px) 0;
}

.article-plate.plate-fpo .plate-slug {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
}

/* ---------- article page: contents block ---------- */
.contents-block {
  border: 1px solid var(--ink);
  padding: 16px 22px 18px;
  margin: 0 0 32px;
  max-width: 430px;
}

.contents-label {
  font-size: 0.6875rem;
  letter-spacing: 3px;
  color: var(--blue);
  margin: 0 0 10px;
}

.contents-block ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contents-block li { margin: 0 0 7px; }
.contents-block li:last-child { margin-bottom: 0; }

.contents-block a {
  font-family: var(--serif-text);
  font-size: 0.9688rem;
  color: var(--ink-soft);
  text-decoration: none;
}

.contents-block a:hover { color: var(--rust); }

.contents-block a .mono {
  font-size: 0.6563rem;
  color: var(--blue);
  margin-right: 8px;
}

/* ---------- article page: end matter ---------- */
.end-matter { margin-top: 34px; }

.end-matter:empty { display: none; }

.filed-line {
  font-size: 0.6875rem;
  letter-spacing: 1px;
  color: var(--ink-mute);
  margin: 0 0 10px;
}

.filed-line a { color: var(--blue); text-decoration: none; }
.filed-line a:hover { color: var(--rust); }

.filed-tag {
  display: inline-block;
  border: 1px solid var(--hairline);
  background: var(--paper);
  padding: 2px 8px;
  margin: 0 2px 4px 0;
}

.keep-reading { margin-top: 26px; }

.kr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}

.kr-card { padding: 16px 0 4px; }

.kr-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3;
  margin: 4px 0 8px;
}

.kr-title a { color: var(--ink); text-decoration: none; }
.kr-title a:hover { color: var(--rust); }

.pn-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--hairline);
  padding-top: 14px;
  margin-top: 26px;
  font-size: 0.6875rem;
  letter-spacing: 1px;
}

.pn-link { color: var(--blue); text-decoration: none; max-width: 46%; }
.pn-link:hover { color: var(--ink); }
.pn-next { margin-left: auto; text-align: right; }

@media (max-width: 599px) {
  .kr-grid { grid-template-columns: 1fr; }
  .pn-link { max-width: 100%; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .p-in, .fcard { animation: none !important; opacity: 1 !important; transform: none !important; }
  .fcard.lift { opacity: 0 !important; }
  .play .guides { animation: none !important; opacity: 0.3 !important; }
  .hero-note { display: none !important; }
  .edit-old, .edit-note { display: none !important; }
  .edit-new { max-width: none !important; opacity: 1 !important; }
  .fpo img, .fpo video, .fpo.placed img, .fpo.placed video { animation: none !important; opacity: 1 !important; }
  .fpo { border-color: var(--hairline); }
  .fpo::before, .fpo::after, .fpo .fpo-tag { display: none; }
  .jacket { animation: none; }
  .index-plate { transform: none !important; }
}

/* ============================================================
   BLOG REBUILD — server-rendered index and long-form articles
   Structure follows the Justinmind reference: a strong lead area,
   useful archive controls, wide article hero, and centered reading grid.
   ============================================================ */

.blog-site {
  --topic-accent: var(--rust);
}

/* topic accents — global, so the homepage Field Notes digest gets the
   same theme colors as the blog (the .blog-site rules below keep working
   at higher specificity with identical values) */
[data-topic="foundations"] { --topic-accent: #c1271d; }
[data-topic="brand-mission"] { --topic-accent: #1f83a3; }
[data-topic="creative-leadership"] { --topic-accent: #bd7a00; }
[data-topic="systems-workflow"] { --topic-accent: #39745d; }
[data-topic="craft"] { --topic-accent: #6a5545; }
[data-topic="ai"] { --topic-accent: #315aa8; }

.blog-site [data-topic="foundations"],
.blog-site[data-topic="foundations"] { --topic-accent: #c1271d; }
.blog-site [data-topic="brand-mission"],
.blog-site[data-topic="brand-mission"] { --topic-accent: #1f83a3; }
.blog-site [data-topic="creative-leadership"],
.blog-site[data-topic="creative-leadership"] { --topic-accent: #bd7a00; }
.blog-site [data-topic="systems-workflow"],
.blog-site[data-topic="systems-workflow"] { --topic-accent: #39745d; }
.blog-site [data-topic="craft"],
.blog-site[data-topic="craft"] { --topic-accent: #6a5545; }
.blog-site [data-topic="ai"],
.blog-site[data-topic="ai"] { --topic-accent: #315aa8; }

.blog-site .site-head .wrap,
.blog-site .site-foot .wrap,
.blog-wrap,
.article-shell {
  width: min(1060px, 92vw);
  margin-inline: auto;
}

.blog-wrap { padding: 58px 0 72px; }

.blog-index__masthead {
  max-width: 820px;
  margin: 0 auto 38px;
  text-align: center;
}

.blog-index__masthead h1 {
  font-family: var(--serif);
  font-size: var(--type-display-blog);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  margin: 10px 0 16px;
}

.blog-index__masthead > p {
  max-width: 690px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-family: var(--serif-text);
  font-size: 1.25rem;
  line-height: 1.6;
}

.blog-tools {
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--hairline);
  padding: 13px 0 16px;
  margin-bottom: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 30px;
  align-items: end;
}

.topic-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.topic-nav a {
  border-bottom: 3px solid transparent;
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 1px;
  padding: 7px 0 6px;
  text-decoration: none;
}

.topic-nav a span { color: var(--blue); margin-left: 3px; }
.topic-nav a:hover { color: var(--ink); }
.topic-nav a.is-active { color: var(--ink); border-bottom-color: var(--rust); }
.topic-nav a[data-topic="brand-mission"].is-active { border-bottom-color: #1f83a3; }
.topic-nav a[data-topic="creative-leadership"].is-active { border-bottom-color: #bd7a00; }
.topic-nav a[data-topic="systems-workflow"].is-active { border-bottom-color: #39745d; }

.blog-search label {
  display: block;
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.blog-search > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; }

.blog-search input {
  min-width: 0;
  height: 40px;
  border: 1px solid var(--hairline);
  border-right: 0;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: 0.875rem var(--sans);
  padding: 8px 11px;
}

.blog-search button {
  height: 40px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font: 500 0.625rem var(--mono);
  letter-spacing: 1px;
  padding: 0 13px;
}

.blog-search button:hover { background: var(--rust); border-color: var(--rust); }

.blog-lead {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(270px, 1fr);
  gap: 42px;
  align-items: start;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 46px;
  margin-bottom: 58px;
}

.lead-story__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1200 / 630;
  background: var(--paper-dim);
}

.lead-story__image img,
.article-card__image img,
.article-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lead-story__body { padding-top: 20px; }

.lead-story h2 {
  font-family: var(--serif);
  font-size: var(--type-display-lg);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
  margin: 8px 0 12px;
  text-wrap: balance;
}

.lead-story h2 a,
.article-card h3 a { color: var(--ink); text-decoration: none; }
.lead-story h2 a:hover,
.article-card h3 a:hover { color: var(--topic-accent); }

.lead-story__body > p {
  max-width: 65ch;
  color: var(--ink-soft);
  font-family: var(--serif-text);
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0 0 16px;
}

.read-link,
.subscribe-block > a {
  color: var(--topic-accent);
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 1px;
  text-decoration: none;
}

.read-link:hover,
.subscribe-block > a:hover { color: var(--ink); }

.article-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 1px;
}

.topic-link {
  color: var(--topic-accent);
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
}

.topic-link:hover { color: var(--ink); }

.blog-lead__side {
  border-left: 1px solid var(--hairline);
  padding-left: 30px;
}

.subscribe-block {
  border-top: 6px solid var(--rust);
  border-bottom: 1px solid var(--hairline);
  padding: 18px 0 24px;
  margin-bottom: 30px;
}

.side-label {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 2px;
  margin: 0 0 9px;
}

.subscribe-block h2 {
  font-family: var(--serif);
  font-size: 1.6875rem;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0 0 16px;
}

.subscribe-block > p:not(.side-label) {
  max-width: 30ch;
  margin: -5px 0 16px;
  color: var(--ink-soft);
  font-family: var(--serif-text);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.subscribe-actions,
.article-subscribe__actions {
  display: flex;
  align-items: baseline;
  gap: 18px;
}

.subscribe-link,
.rss-link {
  color: var(--topic-accent, var(--rust));
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 1px;
  text-decoration: none;
}

.subscribe-link:hover,
.rss-link:hover { color: var(--ink); }

.rss-link {
  color: var(--ink-mute);
  border-left: 1px solid var(--hairline);
  padding-left: 18px;
}

.archive-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 10px;
  margin-bottom: 26px;
}

.archive-heading h2 {
  font-family: var(--serif);
  font-size: 2.125rem;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 2px 0 0;
}

.archive-count {
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 1px;
  white-space: nowrap;
}

.active-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: -10px 0 24px;
}

.active-filters span,
.active-filters a {
  border: 1px solid var(--hairline);
  background: #fff;
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 1px;
  padding: 5px 8px;
  text-decoration: none;
}

.active-filters a { color: var(--rust); border-color: var(--rust); }

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 24px;
}

.article-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--hairline);
}

.article-card__image {
  display: block;
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  background: var(--paper-dim);
}

.article-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 18px 18px 17px;
}

.article-card h3 {
  font-family: var(--serif);
  font-size: 1.4375rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  margin: 9px 0 9px;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.article-card__body > p {
  color: var(--ink-soft);
  font-family: var(--serif-text);
  font-size: 0.9688rem;
  line-height: 1.55;
  margin: 0 0 14px;
}

.article-card time {
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 1px;
  margin-top: auto;
}

.empty-results {
  background: #fff;
  border: 1px solid var(--hairline);
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 1px;
  padding: 30px;
  text-align: center;
}

.pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid var(--hairline);
  margin-top: 40px;
  padding-top: 18px;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 1px;
}

.pagination a { color: var(--blue); text-decoration: none; }
.pagination a:last-child { grid-column: 3; text-align: right; }
.pagination span { grid-column: 2; }

/* ---------- Wide, centered article ---------- */
.article-shell { padding: 54px 0 76px; }

.article-hero {
  max-width: 980px;
  margin: 0 auto 34px;
  text-align: center;
}

.article-hero .back-link {
  display: block;
  width: fit-content;
  margin: 0 auto 24px;
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 1px;
  text-decoration: none;
}

.article-topic {
  color: var(--topic-accent);
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
}

.article-hero h1 {
  font-family: var(--serif);
  font-size: var(--type-display-xl);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  margin: 14px 0 18px;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.article-hero__deck {
  max-width: 780px;
  margin: 0 auto 18px;
  color: var(--ink-soft);
  font-family: var(--serif-text);
  font-size: 1.375rem;
  line-height: 1.55;
  text-wrap: balance;
}

.article-hero__byline {
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 1px;
  margin: 0;
}

.article-banner {
  width: min(1120px, 100%);
  aspect-ratio: 1200 / 630;
  margin: 0 auto 48px;
  overflow: hidden;
  background: var(--paper-dim);
}

.article-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 1px;
}

.article-share > span:first-child {
  width: 100%;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 2px;
}

.article-share a,
.article-share button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(43, 42, 39, 0.08);
  color: var(--ink-soft);
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}

.article-share a:hover,
.article-share button:hover { color: var(--topic-accent); border-color: var(--topic-accent); }
.article-share .share-copied { color: var(--blue); }

/* in the sidebar: sits under the contents list */
.desktop-contents .article-share {
  margin-top: 20px;
  border-top: 1px solid var(--hairline);
  padding-top: 14px;
}

.desktop-contents .article-share:first-child {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

/* end-of-article copy: mobile only, where there is no sidebar */
.article-share--mobile { display: none; }

.article-reading-grid {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 800px);
  justify-content: center;
  gap: 64px;
  align-items: start;
}

.article-reading-grid--no-toc { grid-template-columns: minmax(0, 800px); }

.desktop-contents {
  position: sticky;
  top: 86px;
  border-top: 4px solid var(--ink);
  padding-top: 12px;
}

.sidebar-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin: 0 0 10px;
}

.sidebar-disclosure summary::-webkit-details-marker { display: none; }
.sidebar-disclosure summary::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
  flex: 0 0 auto;
  margin-bottom: 3px;
  transform: rotate(45deg);
  transition: transform 160ms ease, margin 160ms ease;
}

.sidebar-disclosure[open] summary::after {
  margin-bottom: 0;
  transform: rotate(225deg);
}
.sidebar-disclosure:not([open]) summary { margin-bottom: 0; }

.desktop-contents ol,
.mobile-contents ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-contents li { border-top: 1px solid var(--hairline); }

.desktop-contents a,
.mobile-contents a {
  display: block;
  color: var(--ink-soft);
  font-family: var(--serif-text);
  font-size: 0.875rem;
  line-height: 1.35;
  padding: 9px 0;
  text-decoration: none;
}

.desktop-contents a:hover { color: var(--topic-accent); }
.mobile-contents { display: none; }

/* Share links also live inside the contents sidebar, so restore their
   circular flex layout after the generic contents-link rule above. */
.article-share a,
.article-share button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-share svg {
  display: block;
  flex: 0 0 auto;
}

.article-content { min-width: 0; }

.article-content .article-body {
  color: var(--ink-soft);
  font-size: var(--type-body-lg);
  line-height: 1.78;
  -webkit-hyphens: auto;
  hyphens: auto;
  text-wrap: pretty;
}

.article-content .article-body p {
  orphans: 3;
  widows: 3;
}

.article-content .article-body > p,
.article-content .article-body > h1,
.article-content .article-body > h2,
.article-content .article-body > h3,
.article-content .article-body > h4,
.article-content .article-body > h5,
.article-content .article-body > h6,
.article-content .article-body > ul,
.article-content .article-body > ol,
.article-content .article-body > blockquote {
  max-width: 68ch;
}

.article-content .article-body h1,
.article-content .article-body h2,
.article-content .article-body h3 {
  break-after: avoid;
  hyphens: none;
  text-wrap: balance;
}

.article-content .article-body blockquote,
.article-content .article-body .pull,
.article-content .article-figure {
  break-inside: avoid;
}

/* Pull quotes are display text: keep their short line intact even though
   body paragraphs use automatic hyphenation for long reading measure. */
.article-content .article-body .pull {
  -webkit-hyphens: none !important;
  -ms-hyphens: none !important;
  hyphens: none !important;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

.article-content .article-body a,
.article-content .article-body code,
.article-content .article-body pre {
  overflow-wrap: anywhere;
}

.article-content .article-body h2 { scroll-margin-top: 90px; }

.article-content .article-body > p:first-child {
  color: var(--ink);
  font-size: 1.3125rem;
  font-style: italic;
  line-height: 1.65;
}

.article-content .article-body img { width: 100%; height: auto; }

.article-tool-callout {
  border-top: 6px solid var(--blue);
  border-bottom: 1px solid var(--ink);
  background: var(--paper-dim);
  margin: 3em 0;
  padding: clamp(24px, 4vw, 42px);
  -webkit-hyphens: none;
  hyphens: none;
}

.article-tool-callout::before {
  content: "FIELD TOOL";
  display: block;
  color: var(--blue);
  font: 600 0.625rem/1 var(--mono);
  letter-spacing: 1.5px;
  margin-bottom: 15px;
}

.article-tool-callout p { margin: 0; }
.article-tool-callout strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 500;
  line-height: 1.12;
  margin-bottom: 14px;
  text-wrap: balance;
}

.article-content .article-body .article-tool-callout a {
  display: table;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font: 500 0.6875rem/1 var(--mono);
  letter-spacing: 1px;
  margin-top: 22px;
  padding: 13px 16px;
  text-decoration: none;
}

.article-content .article-body .article-tool-callout a:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--paper);
}

.article-figure { margin: 2.5em 0; }
.article-figure img { display: block; width: 100%; height: auto; }
.article-figure figcaption {
  border-top: 1px solid var(--hairline);
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.6px;
  line-height: 1.5;
  padding-top: 8px;
}

.article-end {
  border-top: 2px solid var(--ink);
  margin-top: 38px;
  padding-top: 18px;
}

.article-taxonomy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 1px;
}

.article-taxonomy > span { color: var(--ink-mute); margin-right: 4px; }

.article-taxonomy a {
  border: 1px solid var(--hairline);
  color: var(--ink);
  padding: 4px 7px;
  text-decoration: none;
}

.article-taxonomy a:hover { color: var(--topic-accent); border-color: var(--topic-accent); }

.article-principle {
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 1px;
  margin: 14px 0 0;
}

.article-principle a { color: var(--blue); text-decoration: none; }

.article-subscribe {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--hairline);
  margin-top: 20px;
  padding-top: 16px;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 1px;
}

.article-subscribe a { color: var(--rust); text-decoration: none; }

.article-author {
  position: relative;
  min-height: 168px;
  background: linear-gradient(112deg, color-mix(in srgb, var(--topic-accent) 76%, #ffffff), var(--topic-accent) 56%, color-mix(in srgb, var(--topic-accent) 78%, #000000));
  margin-top: 104px;
  padding: 18px 28px 18px 250px;
}

.article-author__avatar {
  display: block;
  position: absolute;
  left: -8px;
  bottom: 0;
  width: 250px;
  height: 270px;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
}

.article-author__label {
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 1.5px;
  margin: 0 0 5px;
  opacity: 0.82;
}

.article-author h2 {
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.5625rem;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0 0 7px;
}

.article-author__copy > p:last-child {
  color: var(--paper);
  font-family: var(--serif-text);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 0;
  max-width: 62ch;
  opacity: 0.92;
}

.related-content {
  border-top: 1px solid var(--hairline);
  margin-top: 64px;
  padding-top: 48px;
}

.article-card--related h3 { font-size: 1.3125rem; }

.not-found {
  min-height: 60vh;
  max-width: 760px;
  padding-top: 90px;
  text-align: center;
}

.not-found h1 { font-family: var(--serif); font-size: 2.75rem; letter-spacing: 0; }
.not-found a { color: var(--blue); font-family: var(--mono); font-size: 0.6875rem; text-decoration: none; }

.blog-site a:focus-visible,
.blog-site button:focus-visible,
.blog-site input:focus-visible,
.blog-site summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .blog-tools { grid-template-columns: 1fr; gap: 14px; }
  .blog-search { max-width: 420px; }
  .blog-lead { grid-template-columns: 1fr; }
  .blog-lead__side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    border-left: 0;
    border-top: 1px solid var(--hairline);
    padding: 30px 0 0;
  }
  .subscribe-block { margin: 0; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .article-reading-grid,
  .article-reading-grid--no-toc { display: block; max-width: 800px; margin-inline: auto; }
  .desktop-contents { display: none; }
  .mobile-contents {
    display: block;
    max-width: 800px;
    border-top: 2px solid var(--ink);
    border-bottom: 1px solid var(--hairline);
    margin: 0 auto 34px;
  }
  .mobile-contents summary {
    cursor: pointer;
    color: var(--ink);
    font-family: var(--mono);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 14px 0;
  }
  .mobile-contents ol { padding-bottom: 12px; }
  .mobile-contents li { border-top: 1px solid var(--hairline); }
}

@media (max-width: 640px) {
  .blog-wrap { padding-top: 38px; }
  .blog-index__masthead { margin-bottom: 28px; }
  .blog-index__masthead > p { font-size: 1.125rem; }

  .topic-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }
  .topic-nav a { flex: 0 0 auto; }
  .blog-search { max-width: none; }

  .blog-lead { gap: 28px; padding-bottom: 36px; margin-bottom: 42px; }
  .blog-lead__side { grid-template-columns: 1fr; gap: 28px; }
  .article-grid { grid-template-columns: 1fr; }
  .archive-heading { align-items: start; }
  .archive-heading h2 { font-size: 1.8125rem; }

  .article-shell { padding-top: 38px; }
  .article-hero { margin-bottom: 26px; }
  .article-hero .back-link { margin-bottom: 18px; }
  .article-banner { margin-bottom: 32px; }
  .article-hero h1 { line-height: 1.12; }
  .article-hero__deck { font-size: 1.1875rem; }
  .article-hero__byline { line-height: 1.7; }
  .article-share { margin-bottom: 34px; gap: 8px 14px; }
  .article-share > span:first-child { width: 100%; text-align: center; }
  .article-content .article-body { font-size: 1.125rem; line-height: 1.72; }
  .article-content .article-body > p:first-child { font-size: 1.1875rem; }
  .article-content .article-body .pull { font-size: 1.4375rem; padding-inline: 4px; }
  .article-subscribe { align-items: flex-start; flex-direction: column; }
  .article-author { min-height: 0; margin-top: 164px; padding: 20px 18px 24px; text-align: center; }
  .article-author__avatar {
    top: auto;
    right: auto;
    /* figure stands ON the band: bottom edge tucked 2px into it, no seam */
    bottom: calc(100% - 2px);
    left: 50%;
    /* square box for the square source — no letterbox gap under the figure */
    width: 160px;
    height: 160px;
    object-fit: contain;
    object-position: center bottom;
    transform: translateX(-50%);
  }
  .article-author__copy { text-align: center; max-width: 38ch; margin-inline: auto; }
  .article-author h2 { font-size: 1.375rem; }
  .article-author__copy > p:last-child { font-size: 0.875rem; line-height: 1.45; margin-inline: auto; }
  .related-content { margin-top: 48px; padding-top: 36px; }
  .pagination { grid-template-columns: 1fr 1fr; gap: 16px; }
  .pagination span { grid-column: 1 / -1; grid-row: 1; text-align: center; }
  .pagination a { grid-row: 2; }
  .pagination a:last-child { grid-column: 2; }
}

/* ---------- homepage Field Notes preview ---------- */
.field-notes { padding: 64px 0 54px; }

.field-notes .dept-row > div { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.field-notes .dept-row h2 { margin: 0; }

.field-notes-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, 0.8fr);
  gap: 38px;
  align-items: start;
  margin-top: 28px;
}

.field-feature {
  border-top: 6px solid var(--topic-accent, var(--rust));
  background: #fff;
  border-bottom: 1px solid var(--hairline);
}

.field-feature__image {
  display: block;
  aspect-ratio: 600 / 315;
  overflow: hidden;
  background: var(--paper-dim);
}

.field-feature__image img { display: block; width: 100%; height: 100%; object-fit: cover; }

.field-feature__body { padding: 20px 22px 24px; }

.field-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 1px;
}

.field-meta a { color: var(--topic-accent, var(--rust)); text-decoration: none; text-transform: uppercase; }
.field-meta a:hover { color: var(--ink); }

.field-feature h3 {
  font-family: var(--serif);
  font-size: 2.125rem;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 9px 0 10px;
  text-wrap: balance;
}

.field-feature h3 a { color: var(--ink); text-decoration: none; }
.field-feature h3 a:hover { color: var(--topic-accent, var(--rust)); }

.field-feature__body > p {
  max-width: 62ch;
  color: var(--ink-soft);
  font-family: var(--serif-text);
  font-size: 1.0625rem;
  line-height: 1.58;
  margin: 0 0 14px;
}

.field-read {
  color: var(--topic-accent, var(--rust));
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 1px;
  text-decoration: none;
}

.field-read:hover { color: var(--ink); }

#deskShortlist {
  border-left: 1px solid var(--hairline);
  padding-left: 28px;
}

.field-side-label {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 2px;
  margin: 0 0 10px;
}

.field-shortlist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.field-shortlist li {
  border-top: 1px solid var(--hairline);
  padding: 15px 0 16px;
}

.field-shortlist a {
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 13px;
  text-decoration: none;
}

.field-shortlist a:hover strong { color: var(--topic-accent, var(--rust)); }

.field-shortlist__thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--paper-dim);
  box-shadow: 0 1px 2px rgba(43, 42, 39, 0.1);
  margin-top: 3px;
}

.field-shortlist__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.field-shortlist__body { display: block; min-width: 0; }

.field-shortlist__topic {
  color: var(--topic-accent, var(--rust));
  display: block;
  font: 0.5625rem var(--mono);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.field-shortlist strong { display: block; font: 700 1.125rem/1.28 var(--serif); margin: 3px 0 7px; }
.field-shortlist small { color: var(--ink-mute); display: block; font: 0.5625rem var(--mono); letter-spacing: 0.6px; }

.field-notes .desk-all { margin-top: 22px; }

/* ---------- future congregation journey ---------- */
.journey-tool {
  max-width: 1220px;
  min-height: 70vh;
  padding-top: 64px;
  padding-bottom: 72px;
}

.journey-tool__masthead {
  border-bottom: 2px solid var(--ink);
  margin-bottom: 28px;
  max-width: 780px;
  padding-bottom: 24px;
}

.journey-tool__masthead h1 {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1.03;
  margin: 10px 0 14px;
  text-wrap: balance;
}

.journey-tool__masthead > p {
  color: var(--ink-soft);
  font-family: var(--serif-text);
  font-size: 1.25rem;
  line-height: 1.55;
  margin: 0;
  max-width: 58ch;
}

.journey-persona {
  align-items: center;
  background: #fff;
  border: 1px solid var(--hairline);
  box-shadow: 0 10px 26px rgba(43, 42, 39, 0.06);
  display: grid;
  gap: 20px;
  grid-template-columns: 92px minmax(0, 1fr) minmax(210px, 0.7fr);
  margin: 0 0 32px;
  padding: 24px;
}

.journey-persona__portrait {
  align-items: center;
  background: var(--paper-dim);
  border: 1px solid var(--blue-line);
  border-radius: 50%;
  color: var(--blue);
  display: flex;
  height: 88px;
  justify-content: center;
  overflow: hidden;
  width: 88px;
}

.journey-persona__portrait img { height: 100%; object-fit: cover; width: 100%; }

.journey-persona__label,
.journey-detail__label,
.journey-detail__story span {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 1.3px;
}

.journey-persona h2 {
  font-family: var(--serif);
  font-size: 2.125rem;
  line-height: 1.1;
  margin: 5px 0 6px;
}

.journey-persona p { color: var(--ink-soft); margin: 0; }

.journey-persona__note {
  border-left: 2px solid var(--rust);
  font-family: var(--serif-text);
  font-style: italic;
  line-height: 1.45;
  padding-left: 16px;
}

.journey-map { margin: 0; }

.journey-map__rail {
  display: flex;
  margin-bottom: 10px;
  overflow-x: auto;
  padding: 3px 2px 5px;
  scroll-snap-type: x proximity;
}

.journey-stage {
  background: var(--paper-dim);
  border: 0;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%);
  color: var(--ink);
  cursor: pointer;
  flex: 1 1 0;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.7px;
  margin-left: -10px;
  min-height: 62px;
  min-width: 150px;
  padding: 12px 24px 12px 30px;
  position: relative;
  scroll-snap-align: start;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.journey-stage:first-child {
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
  margin-left: 0;
  padding-left: 18px;
}

.journey-stage:last-child {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 18px 50%);
  padding-right: 18px;
}

.journey-stage:hover { background: rgba(168, 212, 226, 0.38); color: var(--blue); transform: translateY(-2px); z-index: 1; }
.journey-stage.is-active { background: var(--blue); border-color: var(--blue); color: var(--paper); transform: translateY(-2px); }
.journey-stage.is-active:hover { background: var(--blue); color: var(--paper); }
.journey-stage:focus-visible { outline: 2px solid var(--rust); outline-offset: -4px; z-index: 2; }

.journey-detail {
  background: #fff;
  border: 1px solid var(--hairline);
  box-shadow: 0 10px 26px rgba(43, 42, 39, 0.06);
  box-sizing: border-box;
  padding: clamp(24px, 4vw, 52px);
  transition: height 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 150ms ease, transform 180ms ease;
}

.journey-detail.is-changing {
  opacity: 0.35;
  transform: translateY(5px);
}

.journey-detail h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin: 8px 0 16px;
  text-wrap: balance;
}

.journey-detail__summary {
  color: var(--ink-soft);
  font-family: var(--serif-text);
  font-size: 1.25rem;
  line-height: 1.55;
  margin: 0 0 34px;
  max-width: 62ch;
}

.journey-detail__grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.journey-detail__grid section { border-top: 2px solid var(--ink); padding-top: 12px; }

.journey-detail__grid h3 {
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 1px;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.journey-detail__grid p,
.journey-detail__grid li {
  color: var(--ink-soft);
  font-family: var(--serif-text);
  font-size: 1.0625rem;
  line-height: 1.5;
}

.journey-detail__grid p { margin: 0; }
.journey-detail__grid ul { list-style: none; margin: 0; padding: 0; }
.journey-detail__grid li { margin: 0 0 5px; padding-left: 13px; position: relative; }
.journey-detail__grid li::before { color: var(--rust); content: '•'; left: 0; position: absolute; }

.journey-detail__story {
  border-top: 1px solid var(--hairline);
  margin-top: 34px;
  padding-top: 17px;
}

.journey-detail__story p {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-style: italic;
  line-height: 1.4;
  margin: 7px 0 0;
  max-width: 48ch;
}

.journey-tool__note {
  border-top: 1px solid var(--hairline);
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.6px;
  line-height: 1.55;
  margin: 20px 0 0;
  max-width: none;
  padding-top: 15px;
  width: 100%;
}

@media (max-width: 759px) {
  .journey-tool { padding-top: 44px; padding-bottom: 52px; }
  .journey-persona { grid-template-columns: 72px minmax(0, 1fr); padding: 20px; }
  .journey-persona__portrait { height: 68px; width: 68px; }
  .journey-persona__note { grid-column: 1 / -1; }
  .journey-map__rail { margin-right: -18px; padding-right: 18px; }
  .journey-stage { flex-basis: 145px; min-width: 145px; }
  .journey-detail__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .journey-stage,
  .journey-detail {
    transition: none;
  }

  .journey-stage:hover,
  .journey-stage.is-active,
  .journey-detail.is-changing {
    transform: none;
  }
}

@media (max-width: 759px) {
  .field-notes { padding: 48px 0 42px; }
  .field-notes-grid { grid-template-columns: 1fr; gap: 28px; }
  #deskShortlist { border-left: 0; border-top: 1px solid var(--hairline); padding: 26px 0 0; }
  .field-feature h3 { font-size: 1.8125rem; }
  .field-meta { align-items: flex-start; flex-direction: column; gap: 5px; }
}

/* ============================================================
   A WORKING GLOSSARY — the house lexicon
   ============================================================ */
.glossary { position: relative; }

.glossary .blog-index__masthead p { max-width: 62ch; }
.glossary .blog-index__masthead .slugline { margin-top: 20px; }

/* alphabetical rail: vertical beside the column on desktop,
   a sticky strip under the masthead on smaller screens */
.gloss-rail {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  display: flex;
  gap: 2px;
}

.gloss-rail a,
.gloss-rail span {
  display: inline-block;
  padding: 3px 7px;
  color: var(--ink-soft);
  text-decoration: none;
}

.gloss-rail a:hover { color: var(--rust); }

.gloss-rail a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

.gloss-rail span { color: var(--hairline); }

.gloss-body { max-width: 760px; }

@media (min-width: 900px) {
  .glossary {
    display: grid;
    grid-template-columns: 44px minmax(0, 760px);
    justify-content: center;
    column-gap: 56px;
  }

  .glossary .blog-index__masthead { grid-column: 1 / -1; }

  .gloss-rail {
    flex-direction: column;
    align-self: start;
    position: sticky;
    top: 92px;
    padding-top: 34px;
  }
}

@media (max-width: 899px) {
  .gloss-rail {
    position: sticky;
    top: 53px;
    z-index: 20;
    background: var(--paper);
    border-bottom: 1px solid var(--hairline);
    padding: 8px 0;
    margin: 0 0 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .gloss-rail::-webkit-scrollbar { display: none; }
}

.gloss-letter {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--blue);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 7px;
  margin: 54px 0 0;
  scroll-margin-top: 96px;
}

.gloss-group:first-of-type .gloss-letter { margin-top: 26px; }

.gloss-entry {
  padding: 30px 0 28px;
  border-bottom: 1px solid var(--hairline);
  scroll-margin-top: 96px;
}

.gloss-entry:last-child { border-bottom: none; }

/* arriving by deep link: a brief press of non-repro blue */
.gloss-entry:target { animation: glossArrive 1.8s ease-out both; }

@keyframes glossArrive {
  0% { background: color-mix(in srgb, var(--blue) 12%, transparent); box-shadow: inset 3px 0 0 var(--blue); }
  100% { background: transparent; box-shadow: inset 3px 0 0 transparent; }
}

.gloss-term-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.gloss-term {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 25px;
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
}

.gloss-anchor {
  position: relative;
  color: var(--ink-mute);
  opacity: 0.45;
  padding: 4px;
  line-height: 0;
  align-self: center;
  text-decoration: none;
}

.gloss-entry:hover .gloss-anchor,
.gloss-anchor:hover { opacity: 1; color: var(--blue); }

.gloss-anchor:focus-visible {
  opacity: 1;
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.gloss-copied {
  position: absolute;
  left: calc(100% + 6px);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--blue);
  white-space: nowrap;
}

.gloss-alias {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--ink-mute);
  margin: 6px 0 0;
}

.gloss-def {
  font-family: var(--serif-text);
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--ink);
  margin: 12px 0 0;
  max-width: 62ch;
}

.gloss-more {
  font-family: var(--serif-text);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 10px 0 0;
  max-width: 64ch;
}

.gloss-contexts {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 10px 18px;
  margin: 20px 0 0;
}

.gloss-contexts dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--ink-mute);
  padding-top: 4px;
  margin: 0;
  text-align: right;
}

.gloss-contexts dd {
  font-family: var(--serif-text);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

.gloss-contexts dt.gloss-remains { color: var(--rust); }
.gloss-contexts dd.gloss-remains-dd { color: var(--ink); font-style: italic; }

/* footer rows share the same right-aligned label gutter as the contexts */
.gloss-foot {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 10px 18px;
  margin-top: 16px;
}

.gloss-foot__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--ink-mute);
  text-align: right;
  padding-top: 3px;
}

.gloss-principles {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  margin: 0;
  padding-top: 3px;
}

.gloss-principles a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid var(--blue-line);
}

.gloss-principles a:hover { color: var(--rust); border-bottom-color: var(--rust); }

.gloss-links { display: flex; flex-direction: column; gap: 4px; }

.gloss-links a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  width: fit-content;
}

.gloss-links a:hover { color: var(--rust); }

.gloss-links a em {
  font-family: var(--serif-text);
  font-style: italic;
  font-weight: 400;
  font-size: 13.5px;
  color: var(--ink-mute);
  margin-left: 8px;
}

.gloss-colophon { margin-top: 44px; }
.gloss-colophon span:last-child { color: var(--gold, var(--rust)); }

.sr-live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .gloss-contexts { grid-template-columns: 1fr; gap: 4px 0; }
  .gloss-contexts dd { margin-bottom: 8px; }
  .gloss-contexts dt { text-align: left; }
  .gloss-foot { grid-template-columns: 1fr; gap: 4px 0; }
  .gloss-foot__label { text-align: left; }
  .gloss-principles, .gloss-links { margin-bottom: 8px; }
  .gloss-term { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .gloss-entry:target {
    animation: none;
    box-shadow: inset 3px 0 0 var(--blue-line);
  }
}

/* ============================================================
   GLOSSARY INTEGRATION — article terms and quick definitions
   ============================================================ */

/* terms in this article: sidebar block (desktop) */
.desktop-contents .article-terms {
  margin-top: 20px;
  border-top: 1px solid var(--hairline);
  padding-top: 14px;
}

.article-terms__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--ink-mute);
  margin: 0 0 8px;
}

.desktop-contents .article-terms ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-contents .article-terms li { margin: 0 0 6px; }

.term-ref {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--blue-line);
}

.term-ref:hover { color: var(--rust); border-bottom-color: var(--rust); }
.term-ref:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* terms in this article: inline strip (tablet and mobile) */
.article-terms--inline {
  display: none;
  margin: 14px 0 4px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 12px 0;
}

.article-terms--inline .article-terms__label {
  display: block;
  margin-bottom: 8px;
}

.article-terms--inline .term-ref {
  margin-right: 18px;
  line-height: 2;
}

@media (max-width: 979px) {
  .article-terms--inline { display: block; }
  .article-end .article-terms--inline {
    border-top: 0;
    margin: 0 0 18px;
    padding-top: 0;
  }
}

/* the quick-definition panel / bottom sheet */
.term-quickdef__backdrop {
  position: fixed;
  inset: 0;
  background: transparent;
}

.term-quickdef.is-sheet .term-quickdef__backdrop {
  background: rgba(20, 18, 14, 0.5);
}

.term-quickdef__panel {
  position: fixed;
  z-index: 140;
  width: 340px;
  max-width: calc(100vw - 32px);
  max-height: min(70vh, 520px);
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(27, 27, 27, 0.12);
  padding: 18px 20px 20px;
  animation: qdIn 0.22s ease-out both;
}

.term-quickdef__backdrop { z-index: 135; }

.term-quickdef.is-sheet .term-quickdef__panel {
  left: 0 !important;
  right: 0;
  top: auto !important;
  bottom: 0;
  width: 100%;
  max-width: none;
  max-height: 76vh;
  border-left: none;
  border-right: none;
  border-bottom: none;
  box-shadow: none;
  padding: 20px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  animation: qdSheetIn 0.28s ease-out both;
}

@keyframes qdIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@keyframes qdSheetIn {
  from { transform: translateY(24px); opacity: 0.4; }
  to { transform: none; opacity: 1; }
}

.term-quickdef__panel:focus-visible { outline: 2px solid var(--blue); outline-offset: -4px; }

.term-quickdef__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.term-quickdef__close:hover { border-color: var(--ink); color: var(--ink); }
.term-quickdef__close:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.term-quickdef__kicker {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 2px;
  color: var(--blue);
  margin: 0 0 8px;
}

.term-quickdef__term {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 24px 8px 0;
}

.term-quickdef__def {
  font-family: var(--serif-text);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

.term-quickdef__contexts {
  margin: 14px 0 0;
  border-top: 1px solid var(--hairline);
  padding-top: 12px;
}

.term-quickdef__contexts dt {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 1.5px;
  color: var(--ink-mute);
  margin: 10px 0 3px;
}

.term-quickdef__contexts dt:first-of-type { margin-top: 0; }

.term-quickdef__contexts dd {
  font-family: var(--serif-text);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

.term-quickdef__more {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1.5px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--blue-line);
  padding-bottom: 2px;
}

.term-quickdef__more:hover { color: var(--rust); border-bottom-color: var(--rust); }
.term-quickdef__more:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

body.term-sheet-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .term-quickdef__panel,
  .term-quickdef.is-sheet .term-quickdef__panel { animation: none; }
}

/* email subscription panel: the site owns the experience; Brevo owns delivery */
.subscribe-dialog[hidden] { display: none; }

.subscribe-dialog {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 24px;
}

.subscribe-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 14, 0.62);
  opacity: 0;
  transition: opacity 0.22s ease-out;
}

.subscribe-dialog__panel {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 10px 10px 0 rgba(20, 18, 14, 0.18);
  padding: clamp(28px, 5vw, 48px);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.22s ease-out, transform 0.22s ease-out;
}

.subscribe-dialog.is-open .subscribe-dialog__backdrop,
.subscribe-dialog.is-open .subscribe-dialog__panel { opacity: 1; }
.subscribe-dialog.is-open .subscribe-dialog__panel { transform: none; }

body.subscribe-open { overflow: hidden; }

.subscribe-dialog__panel:focus-visible { outline: 2px solid var(--blue); outline-offset: -5px; }

.subscribe-dialog__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--ink-soft);
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
}

.subscribe-dialog__close:hover { border-color: var(--ink); color: var(--ink); }

.subscribe-dialog__kicker {
  margin: 0 44px 10px 0;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 1.8px;
}

.subscribe-dialog h2 {
  margin: 0 40px 10px 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.05;
}

.subscribe-dialog__intro {
  max-width: 48ch;
  margin: 0 0 26px;
  color: var(--ink-soft);
  font-family: var(--serif-text);
  font-size: 1rem;
  line-height: 1.65;
}

.subscribe-dialog .sib-container--large,
.subscribe-dialog .sib-form-block,
.subscribe-dialog .form__entry,
.subscribe-dialog .form__label-row {
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.subscribe-dialog #sib-container {
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.subscribe-dialog .entry__label {
  display: block;
  margin: 0 0 7px;
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 1.5px;
}

.subscribe-field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 50px;
  border: 1px solid var(--ink);
  background: #fffef9;
}

.subscribe-dialog .entry__field { padding: 0; }

.subscribe-dialog .entry__field input {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.7px;
  padding: 0 16px;
}

.subscribe-dialog .entry__field input::placeholder {
  color: var(--ink-mute);
  font-family: var(--mono);
  text-align: left;
}

.subscribe-dialog .entry__field input:focus { outline: 2px solid var(--blue); outline-offset: -3px; }

.subscribe-dialog .sib-form-block__button {
  min-width: 132px;
  border: 0;
  border-left: 1px solid var(--ink);
  border-radius: 0;
  background: var(--rust);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 1.4px;
  padding: 0 18px;
  cursor: pointer;
}

.subscribe-dialog .sib-form-block__button:hover { background: var(--ink); }
.subscribe-dialog .sib-form-block__button:focus-visible,
.subscribe-dialog__close:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.subscribe-dialog .progress-indicator__icon { width: 14px; height: 14px; margin-right: 6px; fill: currentColor; }

.subscribe-dialog .entry__error {
  display: block;
  margin: 5px 0 0;
  padding: 0;
  background: transparent;
  color: var(--rust);
  font-family: var(--mono);
  font-size: 0.625rem;
  line-height: 1.4;
}

.subscribe-dialog .entry__specification {
  margin: 9px 0 0;
  color: var(--ink-mute);
  font-family: var(--serif-text);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.subscribe-message {
  margin: 0 0 18px;
  border: 1px solid;
  border-radius: 0;
  padding: 11px 13px;
  font-family: var(--serif-text);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.subscribe-message--error { border-color: var(--rust); color: var(--rust); background: rgba(193, 39, 29, 0.06); }
.subscribe-message--success { border-color: #39745d; color: #285541; background: rgba(57, 116, 93, 0.08); }

.subscribe-dialog__rss {
  margin: 24px 0 0;
  border-top: 1px solid var(--hairline);
  padding-top: 14px;
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 1.2px;
}

.subscribe-dialog__rss a { color: var(--ink); text-decoration: none; }
.subscribe-dialog__rss a:hover { color: var(--rust); }

@media (max-width: 639px) {
  .subscribe-dialog { align-items: end; padding: 0; }
  .subscribe-dialog__panel {
    width: 100%;
    max-height: 88vh;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    box-shadow: none;
    padding: 28px 20px calc(24px + env(safe-area-inset-bottom, 0px));
    transform: translateY(24px);
  }
  .subscribe-field-row { grid-template-columns: 1fr; }
  .subscribe-dialog .entry__field input { min-height: 50px; }
  .subscribe-dialog .sib-form-block__button { min-height: 48px; border-top: 1px solid var(--ink); border-left: 0; }
  .article-subscribe__actions { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .subscribe-dialog__backdrop,
  .subscribe-dialog__panel { transition: none; }
}
/* Community Snapshot proof */
.snapshot {
  padding-top: clamp(72px, 10vw, 136px);
  padding-bottom: 96px;
}

.snapshot__masthead {
  max-width: 900px;
  padding-bottom: clamp(44px, 7vw, 84px);
}

.snapshot__masthead h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.045em;
  margin: 18px 0 24px;
}

.snapshot__dek {
  max-width: 720px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.45;
}

.snapshot-label {
  display: block;
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--blue);
}

.snapshot-form {
  display: grid;
  grid-template-columns: minmax(240px, .7fr) minmax(420px, 1.3fr);
  gap: clamp(32px, 7vw, 96px);
  border-top: 6px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: clamp(32px, 5vw, 58px) 0;
}

.snapshot-form h2,
.snapshot-report h2,
.snapshot-section h3,
.snapshot-listen h3,
.snapshot-resources h3 {
  font-family: var(--serif);
  font-weight: 400;
}

.snapshot-form h2 {
  font-size: clamp(1.85rem, 2.7vw, 2.75rem);
  line-height: 1.04;
  margin: 14px 0 20px;
}

.snapshot-form__copy p,
.snapshot-form__fields label,
.snapshot-form__privacy {
  font-family: var(--sans);
}

.snapshot-form__copy p {
  font-size: .98rem;
  line-height: 1.6;
}

.snapshot-form__fields > label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.snapshot-form__row {
  display: flex;
  align-items: stretch;
}

.snapshot-form__row input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--ink);
  border-right: 0;
  border-radius: 0;
  background: rgba(255,255,255,.28);
  color: var(--ink);
  font: 1rem/1.2 var(--sans);
  padding: 16px 18px;
}

.snapshot-form__row input:focus {
  outline: 3px solid var(--blue);
  outline-offset: -3px;
}

.snapshot-form__row .btn-ink {
  border: 1px solid var(--ink);
  cursor: pointer;
  white-space: nowrap;
}

.snapshot-form__row .btn-ink:disabled {
  cursor: wait;
  opacity: .72;
}

.snapshot-form__privacy {
  color: var(--ink-mute);
  font-size: .76rem;
  margin-top: 11px;
}

.snapshot-honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

.snapshot-error {
  border: 1px solid var(--rust);
  margin-top: 36px;
  padding: 24px;
}

.snapshot-error span {
  color: var(--rust);
  font: 600 .7rem/1 var(--mono);
  letter-spacing: .1em;
}

.snapshot-error p { margin-top: 10px; }

.snapshot-report {
  padding-top: clamp(64px, 9vw, 120px);
  transition: opacity 180ms ease;
}

.snapshot-report.is-loading { opacity: .42; }

.snapshot-report__header {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, .55fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 30px;
}

.snapshot-report__header h2 {
  max-width: 720px;
  font-size: clamp(1.9rem, 3.2vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 16px 0 18px;
}

.snapshot-report__header > div > p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.2rem;
}

.snapshot-report__actions {
  display: flex;
  justify-content: flex-end;
  padding: 14px 0 0;
}

.snapshot-download {
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: 500 .68rem/1 var(--mono);
  letter-spacing: .08em;
  padding: 8px 0;
  text-transform: uppercase;
}

.snapshot-download span {
  color: var(--blue);
  margin-left: 8px;
}

.snapshot-download:hover,
.snapshot-download:focus-visible { color: var(--blue); }

.snapshot-export-data { display: none; }

.snapshot-map {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin-top: 26px;
  padding: 28px 0 14px;
}

.snapshot-map__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: end;
  margin-bottom: 22px;
}

.snapshot-map__intro h3 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 400;
  line-height: 1.08;
  margin: 12px 0 0;
}

.snapshot-map__intro p {
  color: var(--ink-mute);
  font-family: var(--serif-text);
  line-height: 1.55;
  margin: 0;
}

.snapshot-map__canvas {
  position: relative;
  z-index: 0;
  width: 100%;
  height: clamp(330px, 42vw, 440px);
  border: 1px solid var(--ink);
  background: var(--paper-dim);
}

.snapshot-map__canvas.is-unavailable {
  display: grid;
  place-items: center;
  height: 180px;
  padding: 24px;
  text-align: center;
}

.snapshot-map__canvas.is-unavailable p {
  max-width: 36ch;
  color: var(--ink-mute);
  font-family: var(--serif-text);
}

.snapshot-map__canvas .leaflet-tile-pane {
  filter: grayscale(.82) sepia(.12) saturate(.62) contrast(.92);
}

.snapshot-map__canvas .leaflet-control-zoom a {
  color: var(--ink);
  font-family: var(--sans);
}

.snapshot-map__canvas .leaflet-control-attribution {
  background: rgba(244, 241, 234, .9);
  color: var(--ink-mute);
  font-family: var(--sans);
}

.snapshot-map__source {
  color: var(--ink-mute);
  font: .68rem/1.5 var(--sans);
  margin: 8px 0 0;
}

.snapshot-map__source a { color: inherit; }

.snapshot-report__folio {
  font-family: var(--mono);
  font-size: .7rem;
  text-transform: uppercase;
}

.snapshot-report__folio div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--ink);
  padding: 9px 0;
}

.snapshot-report__folio dt { color: var(--ink-mute); }
.snapshot-report__folio dd { text-align: right; }

.snapshot-note {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  background: var(--ink);
  color: var(--paper);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  margin: 30px 0 72px;
  padding: 22px 26px;
}

.snapshot-note span { color: rgba(244,241,234,.72); }

.snapshot-section {
  border-top: 1px solid var(--ink);
  padding: 30px 0 68px;
}

.snapshot-section > h3,
.snapshot-listen h3,
.snapshot-resources h3 {
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.04;
  margin: 0 0 26px;
}

.snapshot-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: .9rem;
  font-variant-numeric: tabular-nums;
}

.snapshot-table th,
.snapshot-table td {
  border-bottom: 1px solid rgba(25,25,23,.24);
  padding: 13px 16px;
  text-align: right;
}

.snapshot-table th:first-child,
.snapshot-table td:first-child {
  padding-left: 0;
  text-align: left;
}

.snapshot-table th:last-child,
.snapshot-table td:last-child { padding-right: 0; }

.snapshot-table thead th {
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.snapshot-table tbody th { font-weight: 500; }
.snapshot-table tbody td:nth-child(2) { font-weight: 700; }

.snapshot-trend {
  border-top-width: 6px;
  padding-top: 42px;
}

.snapshot-trend .snapshot-label { margin-bottom: 16px; }
.snapshot-trend > p { max-width: 690px; margin: -10px 0 34px; }

.snapshot-listen,
.snapshot-resources,
.snapshot-method {
  border-top: 1px solid var(--ink);
  padding: clamp(42px, 7vw, 76px) 0;
}

.snapshot-listen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr);
  column-gap: clamp(36px, 8vw, 120px);
}

.snapshot-listen .snapshot-label,
.snapshot-listen h3 { grid-column: 1; }
.snapshot-listen > p,
.snapshot-listen .snapshot-links { grid-column: 2; }
.snapshot-listen > p { grid-row: 1 / span 2; align-self: end; line-height: 1.65; }

.snapshot-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 28px;
}

.snapshot-links a,
.snapshot-resources__grid a {
  color: inherit;
  font-family: var(--sans);
  text-decoration: none;
}

.snapshot-links a { border-bottom: 1px solid var(--ink); padding: 8px 0; }

.snapshot-resources .snapshot-label { margin-bottom: 16px; }
.snapshot-resources__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.snapshot-resources__grid a {
  min-height: 150px;
  border-right: 1px solid var(--ink);
  padding: 24px;
}

.snapshot-resources__grid a:first-child { padding-left: 0; }
.snapshot-resources__grid a:last-child { border-right: 0; padding-right: 0; }
.snapshot-resources__grid strong { display: block; font-size: 1rem; margin-bottom: 12px; }
.snapshot-resources__grid span { color: var(--ink-mute); font-family: 'Source Serif 4', Georgia, serif; line-height: 1.45; }
.snapshot-resources__note { color: var(--ink-mute); font-size: .78rem; margin-top: 14px; }

.snapshot-method p {
  max-width: 860px;
  color: var(--ink-mute);
  font-size: .84rem;
  line-height: 1.65;
  margin-top: 16px;
}

@media (max-width: 800px) {
  .snapshot__masthead h1 { font-size: 3rem; }
  .snapshot-form h2 { font-size: 2rem; }
  .snapshot-report__header h2 {
    font-size: 2.05rem;
    line-height: 1.08;
    letter-spacing: -.02em;
  }
  .snapshot-section > h3,
  .snapshot-listen h3,
  .snapshot-resources h3 { font-size: 2rem; line-height: 1.08; }
  .snapshot-form,
  .snapshot-report__header,
  .snapshot-listen,
  .snapshot-map__intro { grid-template-columns: 1fr; }
  .snapshot-form__row { flex-direction: column; }
  .snapshot-form__row input { border-right: 1px solid var(--ink); border-bottom: 0; }
  .snapshot-note { flex-direction: column; }
  .snapshot-map__canvas { height: 320px; }
  .snapshot-listen .snapshot-label,
  .snapshot-listen h3,
  .snapshot-listen > p,
  .snapshot-listen .snapshot-links { grid-column: 1; grid-row: auto; }
  .snapshot-resources__grid { grid-template-columns: 1fr; }
  .snapshot-resources__grid a,
  .snapshot-resources__grid a:first-child,
  .snapshot-resources__grid a:last-child {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
    padding: 20px 0;
  }
  .snapshot-resources__grid a:last-child { border-bottom: 0; }
  .snapshot-table-wrap { overflow-x: auto; margin-right: -4vw; padding-right: 4vw; }
  .snapshot-table { min-width: 650px; }
}

@media print {
  .snapshot-page {
    background: #fff;
    background-image: none;
    color: #000;
  }
  .snapshot-page .site-head,
  .snapshot-page .snapshot__masthead,
  .snapshot-page .snapshot-form,
  .snapshot-page .contact,
  .snapshot-page .site-foot { display: none !important; }
  .snapshot { width: 100%; padding: 0; }
  .snapshot-report { padding: 0; }
  .snapshot-table-wrap { overflow: visible; }
  .snapshot-table { min-width: 0; font-size: 8pt; }
  .snapshot-section,
  .snapshot-listen,
  .snapshot-resources,
  .snapshot-method { break-inside: avoid; }
  .snapshot-links a,
  .snapshot-resources a { color: #000; }
}

@media (prefers-reduced-motion: reduce) {
  .snapshot-report { transition: none; }
}

/* ============================================================
   COMMUNITY SNAPSHOT — comparison tracks and dumbbell trends
   Color roles: local = rust, county = blue, US = muted ink.
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.snapshot-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--ink-mute);
  margin: 18px 0 6px;
}

.snapshot-legend span { display: inline-flex; align-items: center; gap: 7px; }

.lg { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.lg--local { background: var(--rust); }
.lg--county { background: var(--blue); width: 4px; height: 14px; }
.lg--us { background: var(--ink-mute); width: 4px; height: 14px; }
.lg--then { background: transparent; border: 2px solid var(--ink-soft); border-radius: 50%; width: 9px; height: 9px; }

.snapshot-rows { display: flex; flex-direction: column; }

.csrow {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 230px;
  align-items: center;
  gap: 8px 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--hairline);
}

.csrow:last-child { border-bottom: none; }

.csrow__label {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
}

.csrow__track {
  position: relative;
  height: 18px;
  background: var(--paper-dim);
  border-radius: 2px;
  overflow: visible;
}

.csrow--plain .csrow__values { color: var(--ink); }
.csrow__spacer { height: 1px; }

.csrow__bar {
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  background: var(--rust);
  border-radius: 1px;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

.csrow__tick {
  position: absolute;
  top: -2px;
  bottom: -2px;
  width: 3px;
  border-radius: 1px;
  transform: translateX(-50%);
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

.csrow__tick--county { background: var(--blue); }
.csrow__tick--us { background: var(--ink-mute); }

.csrow__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  text-align: right;
  white-space: nowrap;
}

.csrow__values em { font-style: normal; }
.v-local, .v-now { color: var(--rust); font-weight: 500; }
.v-county { color: var(--blue); }
.v-us, .v-then { color: var(--ink-mute); }
.v-change { color: var(--ink); }

/* dumbbell trend rows */
.cs-dumbbell__line {
  position: absolute;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: var(--ink-soft);
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

.cs-dumbbell__dot {
  position: absolute;
  top: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

.cs-dumbbell__dot--then {
  background: var(--paper);
  border: 2px solid var(--ink-soft);
}

.cs-dumbbell__dot--now { background: var(--rust); }

@media (max-width: 820px) {
  .csrow {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 13px 0;
  }
  .csrow__values { text-align: left; grid-template-columns: repeat(3, auto); justify-content: start; gap: 16px; }
}

@media print {
  .csrow__track { background: #ebe6da; }
}

/* Keep the shared header controls inside narrow and notched viewports. */
@media (max-width: 759px) {
  .site-head .wrap,
  .blog-site .site-head .wrap {
    width: 100%;
    margin-inline: 0;
    padding: 10px calc(16px + env(safe-area-inset-right)) 10px calc(16px + env(safe-area-inset-left));
  }

  .wordmark { min-width: 0; }
  .menu-toggle {
    flex: 0 0 auto;
    margin-left: auto;
  }
}

/* ---------- Evangelistic Marketing Framework ---------- */
.framework {
  max-width: 1220px;
  min-height: 70vh;
  padding-bottom: 76px;
  padding-top: 64px;
}

.framework__masthead {
  align-items: center;
  border-bottom: 2px solid var(--ink);
  display: grid;
  gap: clamp(12px, 2.5vw, 36px);
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  min-height: clamp(500px, 50vw, 610px);
  padding: clamp(38px, 6vw, 68px) clamp(24px, 4vw, 50px);
}

.framework__masthead-copy {
  min-width: 0;
}

.framework__masthead h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 5.4rem);
  line-height: 0.98;
  margin: 11px 0 18px;
  max-width: 13ch;
  text-wrap: balance;
}

.framework__masthead-copy > p {
  color: var(--ink-soft);
  font-family: var(--serif-text);
  font-size: clamp(1.125rem, 2vw, 1.4rem);
  line-height: 1.55;
  margin: 0;
  max-width: 42ch;
}

.framework__masthead-art {
  display: block;
  height: auto;
  justify-self: end;
  max-width: 590px;
  transform: translateX(clamp(0px, 2vw, 24px));
  width: 112%;
}

.framework__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.framework-label,
.framework-connection > span,
.framework-related__grid a > span {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}

.framework-intro {
  display: grid;
  gap: clamp(30px, 6vw, 80px);
  grid-template-columns: minmax(210px, 0.65fr) minmax(0, 1.35fr);
  padding: clamp(42px, 7vw, 86px) 0;
}

.framework-intro h2,
.framework-map-shell h2,
.framework-entry h2,
.framework-neighborhood h2,
.framework-related h2 {
  font-family: var(--serif);
  line-height: 1.08;
  text-wrap: balance;
}

.framework-intro h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin: 8px 0 0;
}

.framework-intro__copy {
  color: var(--ink-soft);
  font-family: var(--serif-text);
  font-size: 1.125rem;
  line-height: 1.65;
}

.framework-intro__copy p { margin: 0 0 1.2em; }

.framework-intro__copy blockquote {
  border-left: 3px solid var(--rust);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-style: italic;
  line-height: 1.35;
  margin: 30px 0 0;
  padding-left: 22px;
}

.framework-map-shell {
  border-bottom: 1px solid var(--hairline);
  border-top: 2px solid var(--ink);
  padding: 30px 0 42px;
}

.framework-map-shell__head {
  align-items: end;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.7fr);
  margin-bottom: 24px;
}

.framework-map-shell h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 7px 0 0;
}

.framework-map-shell__head > p {
  color: var(--ink-soft);
  font-family: var(--serif-text);
  font-size: 1.0625rem;
  line-height: 1.55;
  margin: 0;
}

.framework-map-mount {
  align-items: center;
  background:
    linear-gradient(rgba(31, 131, 163, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 131, 163, 0.08) 1px, transparent 1px),
    var(--paper-dim);
  background-size: 24px 24px;
  border: 1px solid var(--blue-line);
  display: flex;
  justify-content: center;
  min-height: clamp(360px, 56vw, 680px);
  overflow: hidden;
  position: relative;
}

.framework-map-placeholder {
  background: rgba(244, 241, 234, 0.92);
  border: 1px solid var(--blue-line);
  max-width: 480px;
  padding: 26px;
  text-align: center;
}

.framework-map-placeholder span {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 1.3px;
}

.framework-map-placeholder p {
  color: var(--ink-soft);
  font-family: var(--serif-text);
  font-size: 1.125rem;
  line-height: 1.55;
  margin: 12px 0 0;
}

.framework-entry {
  border-bottom: 1px solid var(--hairline);
  padding: clamp(42px, 7vw, 76px) 0;
}

.framework-entry__head {
  max-width: 760px;
}

.framework-entry h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 7px 0 13px;
}

.framework-entry__head > p {
  color: var(--ink-soft);
  font-family: var(--serif-text);
  font-size: 1.0625rem;
  line-height: 1.55;
  margin: 0;
}

.framework-entry__grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 28px;
}

.framework-entry__grid a {
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid var(--hairline);
  color: var(--ink);
  min-height: 150px;
  padding: 18px;
  text-decoration: none;
  transition: border-color 150ms ease, transform 150ms ease;
}

.framework-entry__grid a:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
}

.framework-entry__grid strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.2;
}

.framework-entry__grid span {
  color: var(--ink-mute);
  display: block;
  font-family: var(--serif-text);
  font-size: 0.9375rem;
  line-height: 1.4;
  margin-top: 9px;
}

.framework-neighborhood {
  border-bottom: 1px solid var(--hairline);
  display: grid;
  gap: clamp(26px, 4vw, 52px);
  grid-template-columns: minmax(190px, 0.55fr) minmax(0, 1.25fr) minmax(175px, 0.45fr);
  padding: clamp(54px, 8vw, 96px) 0;
  scroll-margin-top: 82px;
}

.framework-neighborhood__title h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  margin: 8px 0 0;
}

.framework-neighborhood__body {
  color: var(--ink-soft);
  font-family: var(--serif-text);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.framework-neighborhood__body > p {
  margin: 0 0 1.25em;
}

.framework-term-guide {
  margin: 30px 0 0;
}

.framework-term-guide > div {
  border-top: 1px solid var(--hairline);
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1fr);
  padding: 18px 0;
}

.framework-term-guide > div:last-child {
  border-bottom: 1px solid var(--hairline);
}

.framework-term-guide dt {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.25;
}

.framework-term-guide dd {
  color: var(--ink-soft);
  margin: 0;
}

.framework-term-guide dd strong {
  color: var(--ink);
  display: block;
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: normal;
  line-height: 1.35;
  margin-bottom: 5px;
}

.framework-connection {
  align-items: start;
  display: grid;
  gap: 4px clamp(18px, 2.5vw, 30px);
  grid-template-columns: clamp(72px, 8vw, 104px) minmax(0, 1fr);
  margin-top: 30px;
}

.framework-connection::before {
  aspect-ratio: 1;
  background: url("/assets/img/evangelistic-marketing-logo.png") center / contain no-repeat;
  content: "";
  grid-column: 1;
  grid-row: 1 / span 2;
  margin-top: 2px;
  width: 100%;
}

.framework-connection > span,
.framework-connection > p {
  grid-column: 2;
}

.framework-neighborhood > .framework-connection {
  grid-column: 1 / -1;
  margin-top: 0;
  padding-bottom: 4px;
}

.framework-connection p {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.45;
  margin: 6px 0 0;
}

.framework-neighborhood > .framework-connection p {
  font-size: clamp(1.3rem, 2.3vw, 1.85rem);
  max-width: 76ch;
}

.framework-neighborhood__rail {
  border-left: 1px solid var(--hairline);
  min-width: 0;
  padding-left: 20px;
}

.framework-neighborhood__rail ul {
  list-style: none;
  margin: 14px 0 28px;
  padding: 0;
}

.framework-neighborhood__rail li {
  border-bottom: 1px dotted var(--hairline);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.5px;
  padding: 8px 0;
}

.framework-neighborhood__rail li a {
  color: inherit;
  text-decoration: none;
}

.framework-neighborhood__rail li a:hover { color: var(--blue); }

.framework-neighborhood__rail .read-link {
  display: inline-block;
  line-height: 1.5;
}

.framework-related {
  padding: clamp(60px, 9vw, 104px) 0 20px;
}

.framework-related__head h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin: 8px 0 0;
}

.framework-related__grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 28px;
}

.framework-related__grid a {
  border-top: 3px solid var(--ink);
  color: var(--ink);
  padding: 14px 4px 0;
  text-decoration: none;
}

.framework-related__grid a:hover { border-color: var(--blue); }

.framework-related__grid img {
  aspect-ratio: 1024 / 559;
  display: block;
  height: auto;
  margin: 0 0 14px;
  object-fit: cover;
  width: 100%;
}

.framework-related__grid strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.3;
  margin-top: 8px;
}

.framework-related__footer {
  align-items: center;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 24px;
}

.framework-related__footer p {
  color: var(--ink-soft);
  font-family: var(--serif-text);
  margin: 0;
}

@media (max-width: 980px) {
  .framework-entry__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .framework-entry__grid a:last-child { grid-column: 1 / -1; min-height: 110px; }
  .framework-neighborhood { grid-template-columns: minmax(180px, 0.6fr) minmax(0, 1.4fr); }
  .framework-neighborhood__rail {
    border-left: 0;
    border-top: 1px solid var(--hairline);
    display: grid;
    gap: 0 clamp(24px, 4vw, 44px);
    grid-column: 1 / -1;
    grid-template-columns: minmax(150px, 0.45fr) minmax(0, 1.55fr);
    padding: 22px 0 0;
  }
  .framework-neighborhood__rail > .framework-label {
    grid-column: 1;
    grid-row: 1;
  }
  .framework-neighborhood__rail ul {
    display: grid;
    gap: 0 18px;
    grid-column: 2;
    grid-row: 1;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    margin: 0;
  }
  .framework-neighborhood__rail li {
    border-bottom: 0;
    border-top: 1px dotted var(--hairline);
    padding: 8px 0;
  }
  .framework-neighborhood__rail .read-link {
    grid-column: 2;
    margin-top: 16px;
  }
  .framework-related__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 759px) {
  .framework { padding-bottom: 54px; padding-top: 44px; }
  .framework__masthead {
    gap: 28px;
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 0 0 26px;
  }
  .framework__masthead-art {
    justify-self: center;
    max-width: 320px;
    transform: none;
    width: min(76vw, 320px);
  }
  .framework-intro,
  .framework-map-shell__head,
  .framework-neighborhood {
    grid-template-columns: 1fr;
  }
  .framework-neighborhood__rail {
    display: block;
    grid-column: auto;
  }
  .framework-neighborhood__rail ul {
    gap: 0 16px;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    margin: 13px 0 18px;
  }
  .framework-neighborhood__rail .read-link {
    margin-top: 0;
  }
  .framework-map-mount { min-height: 360px; }
  .framework-entry__grid,
  .framework-related__grid {
    grid-template-columns: 1fr;
  }
  .framework-entry__grid a,
  .framework-entry__grid a:last-child {
    grid-column: auto;
    min-height: 0;
  }
  .framework-connection {
    grid-template-columns: 58px minmax(0, 1fr);
  }
  .framework-connection::before {
    grid-row: 1;
  }
  .framework-connection > p {
    grid-column: 1 / -1;
    margin-top: 14px;
  }
  .framework-term-guide > div {
    gap: 6px;
    grid-template-columns: 1fr;
  }
  .framework-related__grid a { min-height: 0; padding-bottom: 16px; }
  .framework-related__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .framework-entry__grid a { transition: none; }
  .framework-entry__grid a:hover { transform: none; }
}
