/* parquelincoln.com — editorial blog
   Design language carried over from parquezamora.com:
   warm paper palette, Inter at light weights, big thin display type,
   tiny wide-tracked caps, JetBrains Mono numerics. No frameworks. */

:root {
  --paper:    #f6f1e7;
  --paper-2:  #efe8d9;
  --ink:      #1a1715;
  --ink-2:    #4a443d;
  --ink-3:    #8b8275;
  --ink-4:    #c0b8a8;
  --rule:     #d8d0bf;
  --rule-soft:#e6dfcf;
  --accent:   #1a1715;          /* monochromatic — accents are line + weight */
  --max:      1320px;
  --pad:      40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* prevent any element from causing horizontal page scroll */
  overflow-x: hidden;
}
html { overflow-x: hidden; }

/* universal safety: prevent long words/URLs from overflowing */
p, h1, h2, h3, li, dd, dt, td, th, figcaption {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

img, video, iframe { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); transition: border-color .15s; }
a:hover { border-color: var(--ink); }

/* ───── NAV ───── */
nav.site-nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(246, 241, 231, 0.86);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--rule-soft);
}
nav.site-nav .inner {
  max-width: var(--max); margin: 0 auto;
  padding: 14px var(--pad);
  display: flex; justify-content: space-between; align-items: center;
}
nav.site-nav .mark {
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink);
  border: 0;
  display: flex; align-items: center; gap: 10px;
}
nav.site-nav .mark::before {
  content: ""; display: inline-block; width: 7px; height: 7px;
  border: 1px solid var(--ink);
}
nav.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; }
nav.site-nav ul a {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-2); font-weight: 500; border: 0;
  transition: color 0.15s;
  white-space: nowrap;
}
nav.site-nav ul a:hover { color: var(--ink); }
/* mobile nav: trimmed menu + edge fade for the scroll cue */
@media (max-width: 720px) {
  nav.site-nav .inner { padding: 12px 16px; gap: 14px; }
  nav.site-nav ul {
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1; min-width: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* fade-out on the right edge to indicate scroll */
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent);
    padding-right: 24px;
  }
  nav.site-nav ul::-webkit-scrollbar { display: none; }
  nav.site-nav ul a { font-size: 10px; letter-spacing: 0.14em; }
  nav.site-nav .mark { font-size: 10px; letter-spacing: 0.18em; flex-shrink: 0; }
}
/* hide low-priority menu items on very narrow screens */
@media (max-width: 480px) {
  nav.site-nav ul li.optional { display: none; }
}

/* ───── WEATHER WIDGET (in nav) ───── */
.weather-widget {
  position: relative;
  display: inline-flex; align-items: center;
  gap: 6px; padding: 4px 10px;
  margin-left: 16px;
  font-size: 11px; letter-spacing: 0.04em;
  font-weight: 500; color: var(--ink);
  text-decoration: none; border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  transition: border-color 0.15s, background 0.15s;
  flex-shrink: 0;
}
.weather-widget:hover { border-color: var(--ink); background: var(--paper-2); }

.ww-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.ww-icon { font-size: 13px; line-height: 1; }
.ww-temp {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500; letter-spacing: 0;
  color: var(--ink);
}

/* popover */
.ww-popover {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 280px;
  background: var(--paper);
  border: 1px solid var(--rule);
  box-shadow: 0 8px 32px rgba(20, 20, 20, 0.08);
  border-radius: 4px;
  padding: 16px 18px;
  opacity: 0; visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.18s, transform 0.18s, visibility 0s linear 0.18s;
  z-index: 40;
  pointer-events: none;
}
.weather-widget:hover .ww-popover,
.weather-widget:focus-within .ww-popover,
.weather-widget.ww-open .ww-popover {
  opacity: 1; visibility: visible;
  transform: translateY(0);
  transition: opacity 0.18s, transform 0.18s;
  pointer-events: auto;
}

.ww-popover-head {
  border-bottom: 1px solid var(--rule-soft);
  padding-bottom: 10px; margin-bottom: 10px;
}
.ww-popover-title {
  display: block;
  font-size: 12px; font-weight: 600;
  letter-spacing: -0.01em; color: var(--ink);
  text-transform: none;
  margin-bottom: 2px;
}
.ww-popover-sub {
  display: block;
  font-size: 11px; color: var(--ink-3);
  text-transform: none; letter-spacing: 0.02em;
  font-weight: 400;
}

.ww-popover-week {
  display: grid; gap: 4px;
}
.ww-day {
  display: grid;
  grid-template-columns: 1fr 24px 1fr;
  align-items: center; gap: 12px;
  padding: 5px 0;
  font-size: 12px; line-height: 1.3;
}
.ww-day-label {
  text-transform: lowercase;
  color: var(--ink-2); font-weight: 500;
  letter-spacing: 0.02em;
}
.ww-day-icon {
  font-size: 14px; text-align: center;
}
.ww-day-temp {
  text-align: right;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500; color: var(--ink);
  letter-spacing: 0;
}
.ww-day-min { color: var(--ink-3); font-weight: 400; }

.ww-popover-foot {
  border-top: 1px solid var(--rule-soft);
  margin-top: 10px; padding-top: 8px;
  font-size: 10px; color: var(--ink-3);
  letter-spacing: 0.04em;
  display: flex; justify-content: space-between; align-items: center;
}
.ww-link {
  color: var(--ink); font-weight: 500;
}

/* mobile: smaller widget; popover anchored to viewport, not widget */
@media (max-width: 720px) {
  .weather-widget {
    margin-left: 8px; padding: 3px 8px;
    font-size: 10.5px;
    /* on mobile we want a static position on the widget so the popover can
       use position:fixed without losing the click target relationship */
  }
  .ww-icon { font-size: 12px; }
  .ww-popover {
    /* break out of the nav and anchor to viewport */
    position: fixed;
    top: 56px;            /* below sticky nav (≈48-50px tall) */
    right: 12px;
    left: auto;
    width: min(320px, calc(100vw - 24px));
    min-width: 0;
    box-shadow: 0 12px 36px rgba(20, 20, 20, 0.14);
  }
}
@media (max-width: 380px) {
  .weather-widget { padding: 3px 7px; gap: 4px; }
}

/* ───── ARTICLE HEADER ───── */
.article-head {
  max-width: var(--max); margin: 0 auto;
  padding: 56px var(--pad) 40px;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 64px; align-items: start;
}
@media (max-width: 900px) {
  .article-head { grid-template-columns: 1fr; gap: 28px; padding: 28px 20px 24px; }
}
/* hero figure becomes shorter when stacked on mobile */
@media (max-width: 900px) {
  .article-head figure .img-wrap { aspect-ratio: 16 / 11; max-height: none; }
}

.eyebrow {
  font-size: 10.5px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 28px; height: 1px;
  background: var(--ink-3);
}

h1.article-title {
  font-weight: 200;
  font-size: clamp(36px, 5.6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
}
@media (max-width: 480px) {
  h1.article-title { font-size: 34px; line-height: 1.02; margin-bottom: 18px; }
  /* on tiny screens, drop the manual <br> and let it wrap naturally */
  h1.article-title br { display: none; }
}

p.lede {
  font-weight: 300;
  font-size: clamp(17px, 1.65vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: var(--ink);
  max-width: 42ch;
  margin: 0 0 28px;
}
@media (max-width: 480px) {
  p.lede { font-size: 16px; line-height: 1.5; max-width: 100%; }
}

.meta-row {
  display: flex; flex-wrap: wrap; gap: 14px 28px;
  align-items: baseline; color: var(--ink-2); font-size: 13.5px;
  padding-top: 20px; border-top: 1px solid var(--rule);
}
@media (max-width: 480px) {
  .meta-row { gap: 10px 20px; font-size: 12.5px; padding-top: 16px; }
}
.meta-row .item { display: inline-flex; align-items: baseline; gap: 8px; }
.meta-row .k {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
}
.meta-row .v { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 450; }

/* hero figure */
.article-head figure { margin: 0; }
.article-head figure .img-wrap {
  aspect-ratio: 4 / 5; max-height: 580px; overflow: hidden;
}
.article-head figure img {
  width: 100%; height: 100%; object-fit: cover; background: var(--rule);
  border-radius: 1px;
}

/* ───── TAG CHIPS ───── */
.tags {
  max-width: 680px; margin: 24px auto 0;
  padding: 0 var(--pad);
  display: flex; flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.tags .label {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
  margin-right: 8px;
}
.tags a.tag {
  font-size: 11px; letter-spacing: 0.02em;
  color: var(--ink-2); font-weight: 450;
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: transparent;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  white-space: nowrap;
}
.tags a.tag:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--paper-2);
}
@media (max-width: 720px) {
  .tags { padding: 0 24px; max-width: 100%; }
}

/* ───── ANSWER / TL;DR BOX ───── */
.answer {
  max-width: 880px; margin: 32px auto 56px;
  padding: 24px var(--pad) 0;
  display: grid; grid-template-columns: 180px 1fr; gap: 56px;
  align-items: start;
  border-top: 1px solid var(--rule);
}
.answer .label {
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
  padding-top: 4px;
}
.answer p {
  margin: 0; font-weight: 400;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55; letter-spacing: -0.005em;
  max-width: 52ch;
}
.answer p strong { font-weight: 600; }
@media (max-width: 720px) {
  .answer {
    grid-template-columns: 1fr; gap: 12px;
    padding: 20px 24px 0; margin: 24px auto 36px;
  }
  .answer p { font-size: 16px; }
}

/* ───── ARTICLE BODY ───── */
.article-body {
  max-width: 680px; margin: 0 auto;
  padding: 0 var(--pad) 32px;
  font-size: 17px; line-height: 1.7;
  color: var(--ink);
}
@media (max-width: 720px) { .article-body { padding: 0 24px 24px; font-size: 16px; } }

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

.article-body h2 {
  font-weight: 300;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.16;
  letter-spacing: -0.025em;
  margin: 2.6em 0 0.7em;
  padding-top: 0.4em;
  color: var(--ink);
}
.article-body h2::before {
  content: ""; display: block; width: 36px; height: 1px;
  background: var(--ink-3); margin-bottom: 18px;
}
.article-body h3 {
  font-weight: 600; font-size: 18px; line-height: 1.3;
  letter-spacing: -0.005em;
  margin: 1.8em 0 0.4em;
}

.article-body ul, .article-body ol { margin: 0 0 1.4em 1.2em; padding: 0; }
.article-body li { margin-bottom: 0.6em; }

/* in-prose emphasis — proper hierarchy */
.article-body strong, .article-body b {
  font-weight: 600;
  color: var(--ink);
}
.article-body em, .article-body i {
  font-style: italic;
  color: var(--ink);
}

/* inline links — visible but not loud, with clear hover */
.article-body p a,
.article-body li a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink-4);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.article-body p a:hover,
.article-body li a:hover {
  border-bottom-color: var(--ink);
  color: var(--ink);
}

.article-body blockquote {
  margin: 1.8em -8px;
  padding: 4px 0 4px 22px;
  border-left: 1px solid var(--ink);
  font-weight: 300;
  font-size: 17.5px; line-height: 1.5;
  letter-spacing: -0.012em;
  color: var(--ink);
}

/* ───── STEP LIST ───── */
ol.steps {
  list-style: none; counter-reset: step;
  margin: 1.8em 0; padding: 0;
}
ol.steps > li {
  counter-increment: step;
  position: relative;
  padding: 14px 0 14px 56px;
  border-top: 1px solid var(--rule-soft);
  margin: 0;
}
ol.steps > li:last-child { border-bottom: 1px solid var(--rule-soft); }
ol.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.04em;
  color: var(--ink-3); font-weight: 400;
}
ol.steps > li strong:first-child {
  display: block; margin-bottom: 6px;
  font-weight: 600;
}
@media (max-width: 480px) {
  ol.steps > li { padding: 12px 0 12px 38px; }
  ol.steps > li::before { top: 14px; font-size: 10.5px; }
}

/* ───── DATA TABLE ───── */
.table-scroll {
  /* allow horizontal scroll on narrow screens without overflowing the page */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.8em -8px;
  /* break out of the article column slightly to give tables breathing room */
}
table.data {
  width: 100%; min-width: 480px;
  border-collapse: collapse; margin: 0;
  font-size: 13.5px; font-variant-numeric: tabular-nums;
}
table.data th, table.data td {
  padding: 12px 14px; text-align: left;
  border-bottom: 1px solid var(--rule-soft);
  vertical-align: top;
}
table.data thead th {
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
  border-bottom: 1px solid var(--ink);
  white-space: nowrap;
}
table.data tbody tr:hover { background: var(--paper-2); }
table.data td:first-child { font-weight: 500; }
@media (max-width: 720px) {
  .table-scroll { margin: 1.6em -24px; padding: 0 24px; }
  table.data { font-size: 13px; }
  table.data th, table.data td { padding: 10px 12px; }
}

/* ───── FIGURE IN BODY ───── */
.article-body figure {
  margin: 2.4em 0;
}
.article-body figure .img-wrap {
  aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--rule);
}
.article-body figure img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 1px;
}
.article-body figure figcaption {
  margin-top: 10px;
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--ink-3); line-height: 1.45;
  display: flex; gap: 8px; align-items: baseline;
}
.article-body figure figcaption .num {
  font-family: 'JetBrains Mono', monospace;
  color: var(--ink); font-size: 10px;
}

/* full-bleed figure (breaks out of the reading column) */
.article-body .fig-bleed {
  margin: 3em calc(50% - 50vw) 3em calc(50% - 50vw);
  max-width: 100vw;
}
.article-body .fig-bleed .img-wrap {
  aspect-ratio: 21 / 9;
  max-height: 600px;
}
.article-body .fig-bleed figcaption {
  max-width: 720px; margin-left: auto; margin-right: auto;
  padding: 10px var(--pad) 0;
}

/* two-up pair, breaks slightly out of column for breathing room */
.article-body .fig-pair {
  margin: 3em calc(50% - 48vw) 3em calc(50% - 48vw);
  max-width: 96vw;
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
@media (max-width: 720px) {
  .article-body .fig-pair {
    margin: 2em 0;
    grid-template-columns: 1fr; gap: 18px;
  }
}
.article-body .fig-pair > figure { margin: 0; }
.article-body .fig-pair .img-wrap { aspect-ratio: 4 / 3; }

/* ───── SECTION HEAD (between body sections) ───── */
.section-head {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--pad) 24px;
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px; flex-wrap: wrap;
}
.section-head h2 {
  font-weight: 300; font-size: 28px;
  margin: 0; letter-spacing: -0.022em;
}
.section-head .counter {
  font-size: 10.5px; color: var(--ink-3);
  letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .section-head { padding: 0 24px 16px; }
  .section-head h2 { font-size: 22px; }
  .section-head .counter { font-size: 10px; }
}

/* ───── RELATED ARTICLES ───── */
.related {
  border-top: 1px solid var(--rule);
  margin-top: 80px; padding: 56px 0 0;
}
.related-grid {
  max-width: var(--max); margin: 24px auto 0;
  padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
@media (max-width: 1000px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .related-grid { grid-template-columns: 1fr; padding: 0 24px; } }

.related-card {
  border: 0;
  border-top: 1px solid var(--ink);
  padding-top: 16px;
  display: block;
}
.related-card:hover { border-top-color: var(--ink); }
.related-card .cluster {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
  margin-bottom: 10px;
}
.related-card .title {
  font-size: 15px; font-weight: 450; line-height: 1.32;
  letter-spacing: -0.01em; color: var(--ink);
}

/* ───── BYLINE / AUTHOR ───── */
.byline {
  max-width: 680px; margin: 56px auto 0;
  padding: 24px var(--pad) 0;
  border-top: 1px solid var(--rule);
  display: flex; gap: 16px; align-items: baseline;
  flex-wrap: wrap;
  font-size: 13px;
}
.byline .who { font-weight: 600; color: var(--ink); }
.byline .what { color: var(--ink-3); }
@media (max-width: 720px) { .byline { padding: 20px 24px 0; } }

/* ───── FOOTER ───── */
footer.site-footer {
  border-top: 1px solid var(--rule);
  margin-top: 96px; padding: 40px 0 56px;
}
footer.site-footer .inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--pad);
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  font-size: 13px;
}
@media (max-width: 800px) { footer.site-footer .inner { grid-template-columns: 1fr 1fr; gap: 32px 24px; } }
footer.site-footer h4 {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500; margin: 0 0 14px;
}
footer.site-footer ul { list-style: none; margin: 0; padding: 0; }
footer.site-footer ul li { margin-bottom: 8px; }
footer.site-footer a { color: var(--ink-2); border: 0; }
footer.site-footer a:hover { color: var(--ink); }
footer.site-footer .colophon {
  margin-top: 32px; font-size: 11px; color: var(--ink-3);
  letter-spacing: 0.06em; line-height: 1.5;
  max-width: 36ch;
}

/* ───── HOMEPAGE — magazine front page ───── */

/* MASTHEAD */
.masthead {
  max-width: var(--max); margin: 0 auto;
  padding: 56px var(--pad) 32px;
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.masthead-edition {
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
  margin-bottom: 22px;
  display: flex; justify-content: center; align-items: center; gap: 12px;
}
.masthead-edition::before, .masthead-edition::after {
  content: ""; display: inline-block; width: 28px; height: 1px;
  background: var(--ink-4);
}
.masthead-title {
  font-weight: 200;
  font-size: clamp(34px, 6vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
  color: var(--ink);
  max-width: 100%;
  overflow-wrap: break-word;
}
@media (max-width: 480px) {
  .masthead-title {
    font-size: 24px !important;
    line-height: 1.15;
    max-width: 280px;
    margin-left: auto; margin-right: auto;
  }
  .masthead-tag { font-size: 14.5px; }
}
.masthead-tag {
  font-weight: 300;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.5;
  letter-spacing: -0.008em;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .masthead { padding: 36px 24px 24px; }
}

/* LEAD FEATURE — big article card with image */
.lead-feature {
  max-width: var(--max); margin: 0 auto;
  padding: 56px var(--pad) 0;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .lead-feature { grid-template-columns: 1fr; gap: 24px; padding: 32px 24px 0; }
}
.lead-feature .img-wrap {
  aspect-ratio: 5 / 4; overflow: hidden; background: var(--rule);
}
.lead-feature img { width: 100%; height: 100%; object-fit: cover; }
.lead-feature .text { padding-right: 12px; }
.lead-feature .kicker {
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.lead-feature .kicker::before {
  content: ""; display: inline-block; width: 24px; height: 1px;
  background: var(--ink-3);
}
.lead-feature h2 {
  font-weight: 200;
  font-size: clamp(26px, 3.6vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  max-width: 100%;
  overflow-wrap: break-word;
}
@media (max-width: 480px) {
  .lead-feature h2 { font-size: 24px; line-height: 1.12; }
}
.secondary-grid h4 a, .lead-feature h2 a {
  display: inline; max-width: 100%;
}
.lead-feature h2 a { color: var(--ink); border: 0; }
.lead-feature h2 a:hover { color: var(--ink-2); }
.lead-feature .dek {
  font-size: 16.5px; line-height: 1.55;
  color: var(--ink-2); margin: 0 0 24px;
  max-width: 48ch;
}
.lead-feature .read-more {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}

/* SECONDARY GRID — 3-up featured cards */
.secondary {
  max-width: var(--max); margin: 0 auto;
  padding: 80px var(--pad) 0;
}
.secondary-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 32px;
  border-top: 1px solid var(--rule); padding-top: 24px;
}
.secondary-head h3 {
  font-weight: 300; font-size: 28px; margin: 0;
  letter-spacing: -0.022em;
}
.secondary-head .right {
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
}
.secondary-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px;
}
@media (max-width: 900px) { .secondary-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; } }
@media (max-width: 600px) { .secondary-grid { grid-template-columns: 1fr; gap: 32px; } }
.secondary-grid article { display: flex; flex-direction: column; }
.secondary-grid .img-wrap {
  aspect-ratio: 4 / 3; overflow: hidden; background: var(--rule);
  margin-bottom: 14px;
}
.secondary-grid img { width: 100%; height: 100%; object-fit: cover; }
.secondary-grid .cluster {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500; margin-bottom: 8px;
}
.secondary-grid h4 {
  font-weight: 450; font-size: 19px; line-height: 1.22;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}
.secondary-grid h4 a { color: var(--ink); border: 0; }
.secondary-grid h4 a:hover { color: var(--ink-2); }
.secondary-grid p {
  font-size: 14px; line-height: 1.55; color: var(--ink-2); margin: 0;
}
@media (max-width: 720px) { .secondary { padding: 48px 24px 0; } }

/* TOPIC DIRECTORY — compact cluster index, no article lists */
.topics {
  max-width: var(--max); margin: 0 auto;
  padding: 96px var(--pad) 0;
}
.topics-head {
  border-top: 1px solid var(--rule);
  padding: 32px 0 24px;
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 8px 16px;
}
.topics-head h3 {
  font-weight: 200; font-size: clamp(28px, 3vw, 42px);
  margin: 0; letter-spacing: -0.03em;
}
.topics-head .total {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--ink-3);
}
.topics-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
@media (max-width: 900px) { .topics-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .topics-grid { grid-template-columns: 1fr; } }

.topic-card {
  border: 0;
  border-top: 1px solid var(--rule-soft);
  padding: 22px 24px 24px 0;
  display: flex; flex-direction: column; gap: 8px;
}
.topic-card:hover { background: var(--paper-2); }
.topic-card:hover .arrow { transform: translateX(4px); }
@media (min-width: 900px) {
  /* keep right gutter only on inner columns */
  .topic-card:nth-child(3n) { padding-right: 0; }
}
.topic-card .name {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 600; color: var(--ink);
  display: flex; align-items: center; gap: 10px;
}
.topic-card .name::before {
  content: ""; display: inline-block; width: 7px; height: 7px;
  border: 1px solid var(--ink); flex-shrink: 0;
}
.topic-card .desc {
  font-size: 14.5px; line-height: 1.45;
  color: var(--ink-2); margin: 4px 0 8px;
  max-width: 32ch;
}
.topic-card .footer {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 4px;
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
}
.topic-card .footer .count {
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0; text-transform: none;
}
.topic-card .arrow { transition: transform 0.2s; display: inline-block; }

/* RECENT — chronological list, no photos, dense */
.recent {
  max-width: var(--max); margin: 96px auto 0;
  padding: 0 var(--pad);
}
.recent-head {
  border-top: 1px solid var(--rule);
  padding: 32px 0 24px;
  display: flex; justify-content: space-between; align-items: baseline;
}
.recent-head h3 {
  font-weight: 200; font-size: clamp(28px, 3vw, 42px);
  margin: 0; letter-spacing: -0.03em;
}
.recent-list { list-style: none; margin: 0; padding: 0; }
.recent-list li {
  border-top: 1px solid var(--rule-soft);
  padding: 18px 0;
  display: grid; grid-template-columns: 90px 130px 1fr;
  gap: 16px 32px; align-items: baseline;
}
@media (max-width: 700px) {
  .recent-list li { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
}
.recent-list .date {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--ink-3); white-space: nowrap;
}
.recent-list .cluster {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
}
.recent-list .title {
  font-size: 16.5px; line-height: 1.35; font-weight: 450;
  letter-spacing: -0.01em;
}
.recent-list .title a { color: var(--ink); border: 0; }
.recent-list .title a:hover { color: var(--ink-2); }

/* NEWSLETTER STRIP */
.newsletter {
  max-width: var(--max); margin: 96px auto 0;
  padding: 56px var(--pad);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center;
}
@media (max-width: 800px) {
  .newsletter { grid-template-columns: 1fr; gap: 24px; padding: 36px 24px; }
}
.newsletter h3 {
  font-weight: 200; font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.1; letter-spacing: -0.03em;
  margin: 0 0 12px;
}
.newsletter p {
  font-size: 15.5px; line-height: 1.55;
  color: var(--ink-2); margin: 0; max-width: 44ch;
}
.newsletter form {
  display: flex; gap: 8px; align-items: stretch;
}
.newsletter input[type="email"] {
  flex: 1; min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  background: var(--paper);
  font: inherit; font-size: 14.5px;
  color: var(--ink);
  border-radius: 1px;
}
.newsletter input[type="email"]:focus { outline: none; border-color: var(--ink); }
.newsletter button {
  padding: 14px 24px;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink);
  font: inherit; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 500; cursor: pointer;
  border-radius: 1px;
  transition: background 0.15s;
}
.newsletter button:hover { background: var(--ink-2); }
