/* ==========================================================
   The Urban Edit — editorial stylesheet
   ========================================================== */
:root {
  --paper: #FAF8F4;
  --paper-2: #F2EEE6;
  --ink: #141414;
  --charcoal: #343330;
  --muted: #5F5B55;          /* 6.3:1 on paper */
  --rule: #E2DCD1;
  --accent: #9B3D2C;         /* terracotta, 6.4:1 on paper */
  --accent-dark: #7A2E20;
  --night: #16181B;
  --cat: var(--accent);

  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --f-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --w-max: 1280px;
  --w-mid: 880px;
  --w-narrow: 720px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--f-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; margin: 0; font-optical-sizing: auto; }
p { margin: 0; }

.container { width: 100%; max-width: var(--w-max); margin-inline: auto; padding-inline: var(--gutter); }
.container--mid { max-width: calc(var(--w-mid) + 2 * var(--gutter)); }
.container--narrow { max-width: calc(var(--w-narrow) + 2 * var(--gutter)); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }
main:focus { outline: none; }

.icon { display: inline-block; vertical-align: middle; flex: none; }
.icon--sm { width: 1em; height: 1em; }
.eyebrow, .kicker, .side-label, .meta, .topbar, .mainnav, .btn, .breadcrumbs, .footer__heading, .share__label, .toc__title {
  font-family: var(--f-sans);
}
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 11.5px; font-weight: 600; color: var(--accent); margin-bottom: 14px; }
.eyebrow a { text-decoration: none; }
.kicker { display: inline-block; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 600; color: var(--cat); text-decoration: none; margin-bottom: 10px; }
.kicker:hover { color: var(--ink); }
.meta { color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 0 8px; align-items: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--ink); padding: 0 22px; min-height: 48px; font-size: 14px; font-weight: 600; letter-spacing: .02em; text-decoration: none; border-radius: var(--radius); transition: background .2s var(--ease), color .2s var(--ease); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; border-radius: 50%; }
.icon-btn:hover { background: var(--paper-2); color: var(--ink); }

/* ---------- Header ---------- */
.topbar { border-bottom: 1px solid var(--rule); font-size: 12px; color: var(--muted); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.topbar__tagline { font-family: var(--f-display); font-style: italic; font-size: 13.5px; color: var(--charcoal); }
.topbar__meta { display: flex; gap: 10px; }
.topbar__meta a { text-decoration: none; }

.masthead { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding-block: clamp(18px, 3vw, 30px); }
.wordmark { justify-self: center; font-family: var(--f-display); font-weight: 500; font-size: clamp(34px, 6.2vw, 68px); letter-spacing: -0.035em; line-height: 1; text-decoration: none; color: var(--ink); white-space: nowrap; }
.wordmark:hover { color: var(--ink); }
.wordmark__the { font-style: italic; font-weight: 400; }
.wordmark--small { font-size: 26px; }
.wordmark--footer { font-size: 38px; color: #fff; }
.wordmark--footer:hover { color: #fff; }
.masthead .menu-toggle { visibility: hidden; }
.masthead .search-toggle { visibility: hidden; }

.mainnav { border-block: 1px solid var(--ink); background: var(--paper); position: sticky; top: 0; z-index: 40; }
.mainnav__inner { display: flex; align-items: center; justify-content: space-between; min-height: 50px; }
.mainnav__list { display: flex; list-style: none; margin: 0; padding: 0; gap: clamp(14px, 2.4vw, 34px); align-items: center; }
.mainnav__list > li > a, .dropdown-toggle { font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; padding: 14px 0; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; border-bottom: 2px solid transparent; }
.mainnav__list > li > a[aria-current="page"] { border-bottom-color: var(--accent); }
.has-dropdown { position: relative; }
.dropdown-toggle .icon { transition: transform .2s var(--ease); }
.dropdown-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 1px); left: -20px; min-width: 260px; list-style: none; margin: 0; padding: 10px 0; background: var(--paper); border: 1px solid var(--ink); box-shadow: 0 18px 40px rgba(20,20,20,.08); }
.dropdown a { display: block; padding: 9px 20px; font-size: 14.5px; text-decoration: none; }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--paper-2); color: var(--accent); }
.mainnav__search { display: inline-flex; gap: 8px; align-items: center; background: none; border: 0; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 8px 0; }
.mainnav__search:hover { color: var(--accent); }

.search-panel { border-bottom: 1px solid var(--rule); background: var(--paper-2); padding-block: 22px; }
.search-form { display: flex; gap: 10px; }
.search-form input { flex: 1; min-width: 0; min-height: 52px; padding: 0 18px; font: 400 20px var(--f-display); background: var(--paper); border: 1px solid var(--ink); border-radius: var(--radius); color: var(--ink); }
.search-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

.mobile-menu { position: fixed; inset: 0; z-index: 90; background: rgba(20,20,20,.35); }
.mobile-menu__inner { background: var(--paper); width: min(420px, 100%); height: 100%; overflow-y: auto; padding: 18px 22px 40px; }
.mobile-menu__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.search-form--compact input { font-size: 16px; min-height: 46px; }
.search-form--compact { margin-bottom: 26px; }
.mobile-menu__label { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; margin: 18px 0 6px; }
.mobile-menu__list { list-style: none; padding: 0; margin: 0; }
.mobile-menu__list a { display: block; padding: 10px 0; font-family: var(--f-display); font-size: 21px; text-decoration: none; border-bottom: 1px solid var(--rule); }
.mobile-menu__list--small a { font-family: var(--f-sans); font-size: 15px; }
body.menu-open { overflow: hidden; }

@media (max-width: 900px) {
  .mainnav { display: none; }
  .masthead { border-bottom: 1px solid var(--ink); position: sticky; top: 0; z-index: 40; background: var(--paper); padding-block: 12px; }
  .masthead .menu-toggle, .masthead .search-toggle { visibility: visible; }
  .wordmark { font-size: clamp(28px, 8vw, 40px); }
  .topbar__meta { display: none; }
  .topbar__inner { justify-content: center; }
}

/* ---------- Section heads ---------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-top: 1px solid var(--ink); padding-top: 14px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head__title { font-size: clamp(24px, 3vw, 32px); }
.section-head__note { color: var(--muted); font-size: 14px; font-family: var(--f-display); font-style: italic; }
.section-head__link { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 36px); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card__media { display: block; overflow: hidden; background: var(--paper-2); aspect-ratio: 16 / 10; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card__media img { transform: scale(1.03); }
.card__title { font-size: clamp(20px, 2vw, 24px); line-height: 1.18; margin-bottom: 10px; }
.card__title a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.card__title a:hover { color: var(--ink); background-size: 100% 1px; }
.card__excerpt { color: var(--charcoal); font-family: var(--f-serif); font-size: 16.5px; line-height: 1.55; margin-bottom: 12px; }
.card--large .card__title { font-size: clamp(26px, 3.2vw, 38px); }
.card--large .card__excerpt { font-size: 18px; }
.card--list { flex-direction: row; gap: 16px; padding-block: 18px; border-top: 1px solid var(--rule); }
.card--list:first-of-type { border-top: 0; padding-top: 0; }
.card--list .card__media { flex: 0 0 38%; aspect-ratio: 4 / 3; }
.card--list .card__title { font-size: 19px; }
.card--list .card__excerpt { display: none; }
.card--mini { padding-block: 16px; border-top: 1px solid var(--rule); gap: 0; }
.card--mini .card__title { font-size: 20px; }

/* ---------- Home: hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(24px, 3.6vw, 56px); padding-block: clamp(28px, 4vw, 56px); }
.hero__main { display: grid; gap: 26px; }
.hero__media { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper-2); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__title { font-size: clamp(34px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -0.025em; margin-bottom: 18px; max-width: 18ch; }
.hero__title a { text-decoration: none; }
.hero__title a:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; }
.hero__dek { font-family: var(--f-serif); font-size: clamp(18px, 1.6vw, 21px); color: var(--charcoal); line-height: 1.5; max-width: 60ch; margin-bottom: 14px; }
.readmore { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; font-weight: 600; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.hero__side { border-left: 1px solid var(--rule); padding-left: clamp(20px, 2.6vw, 40px); }
.side-label { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero__side { border-left: 0; padding-left: 0; }
}

/* ---------- Trending ---------- */
.trending { background: var(--paper-2); padding-block: clamp(36px, 5vw, 64px); margin-block: clamp(24px, 3vw, 40px) clamp(40px, 5vw, 72px); }
.trending__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.trending__item { display: flex; gap: 16px; align-items: flex-start; }
.trending__num { font-family: var(--f-display); font-size: 46px; line-height: .9; color: var(--accent); font-weight: 400; font-style: italic; }
.trending__title { font-size: 19px; line-height: 1.25; }
.trending__title a { text-decoration: none; }
.trending__title a:hover { text-decoration: underline; color: var(--ink); }
@media (max-width: 1000px) { .trending__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .trending__list { grid-template-columns: 1fr; } }

.latest { margin-bottom: clamp(56px, 7vw, 96px); }

/* ---------- Category rows ---------- */
.cat-row { margin-bottom: clamp(56px, 7vw, 96px); }
.cat-row .section-head { border-top: 3px solid var(--cat); }
.cat-row__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); }
.cat-row--alt .cat-row__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
.cat-row--alt .cat-row__grid > .card { order: 2; }
.cat-row__intro { font-family: var(--f-display); font-style: italic; font-size: 19px; line-height: 1.45; color: var(--charcoal); padding-bottom: 18px; }
@media (max-width: 860px) {
  .cat-row__grid, .cat-row--alt .cat-row__grid { grid-template-columns: 1fr; }
  .cat-row--alt .cat-row__grid > .card { order: 0; }
}

.explore { margin-bottom: clamp(56px, 7vw, 96px); }
.explore__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); border-top: 1px solid var(--rule); }
.explore__list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 4px; border-bottom: 1px solid var(--rule); font-family: var(--f-display); font-size: 20px; text-decoration: none; }
.explore__list a:hover { color: var(--cat); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--night); color: #F4F1EA; padding-block: clamp(48px, 7vw, 96px); }
.newsletter__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.newsletter .eyebrow { color: #E6A48F; }
.newsletter__title { font-size: clamp(30px, 4vw, 48px); margin-bottom: 16px; }
.newsletter__copy p:last-child { color: #CFCAC0; font-family: var(--f-serif); font-size: 18px; max-width: 48ch; }
.newsletter__form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.newsletter__form input { min-height: 52px; padding: 0 16px; font-size: 16px; background: transparent; color: #fff; border: 1px solid #8B877F; border-radius: var(--radius); min-width: 0; }
.newsletter__form input::placeholder { color: #A9A49B; }
.newsletter__form input:focus { outline: 2px solid #E6A48F; outline-offset: 1px; }
.newsletter__note { grid-column: 1 / -1; font-size: 13px; color: #B9B4AA; }
.newsletter__note a { color: inherit; }
@media (max-width: 760px) { .newsletter__inner { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .newsletter__form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #0E0F11; color: #CFCAC0; padding-block: 64px 28px; font-size: 14.5px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1.4fr 1fr .8fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #2B2C2F; }
.footer__brand p { margin-top: 12px; font-family: var(--f-display); font-style: italic; font-size: 17px; color: #E9E4DA; }
.footer__brand .footer__small { font-family: var(--f-sans); font-style: normal; font-size: 13.5px; color: #A9A49B; max-width: 32ch; }
.footer__heading { font-size: 11.5px; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: #fff; margin-bottom: 16px; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__list--two { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #3A3B3F; border-radius: 50%; }
.social a:hover { border-color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; font-size: 13px; color: #A9A49B; flex-wrap: wrap; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 12.5px; color: var(--muted); margin-block: 26px 22px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--rule); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs [aria-current] { color: var(--charcoal); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }

/* ---------- Article ---------- */
.article__header { text-align: center; padding-bottom: clamp(26px, 4vw, 44px); }
.article__header .breadcrumbs ol { justify-content: center; }
.article__title { font-size: clamp(36px, 6vw, 72px); line-height: 1.03; letter-spacing: -0.028em; margin: 6px auto 22px; max-width: 20ch; }
.article__dek { font-family: var(--f-serif); font-size: clamp(19px, 2vw, 23px); line-height: 1.5; color: var(--charcoal); max-width: 52ch; margin: 0 auto 26px; }
.article__byline { display: grid; gap: 4px; justify-items: center; font-size: 14px; }
.article__byline > p:first-child a { font-weight: 600; text-decoration: none; }
.article__byline .meta { justify-content: center; }
.article__hero { margin: 0 auto clamp(36px, 5vw, 64px); max-width: 1440px; }
.article__hero img { width: 100%; aspect-ratio: 16 / 10; max-height: 78vh; object-fit: cover; }
.article__hero figcaption { font-size: 12.5px; color: var(--muted); padding: 10px var(--gutter) 0; text-align: right; }
.article__layout { display: grid; grid-template-columns: 230px minmax(0, var(--w-narrow)) 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.article__aside { position: sticky; top: 76px; display: grid; gap: 28px; }
.article__body { min-width: 0; }
@media (max-width: 1060px) {
  .article__layout { grid-template-columns: minmax(0, 1fr); max-width: calc(var(--w-narrow) + 2 * var(--gutter)); }
  .article__aside { position: static; order: 0; }
}

.toc { border-top: 1px solid var(--ink); padding-top: 12px; }
.toc__title { font-size: 11.5px; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; margin-bottom: 10px; }
.toc__list { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: grid; gap: 2px; }
.toc__list li { counter-increment: toc; }
.toc__list a { display: grid; grid-template-columns: 22px 1fr; padding: 6px 0; font-size: 14px; line-height: 1.35; color: var(--charcoal); text-decoration: none; }
.toc__list a::before { content: counter(toc, decimal-leading-zero); font-size: 11px; color: var(--muted); padding-top: 2px; }
.toc__list a:hover, .toc__list a.is-active { color: var(--accent); }
@media (max-width: 1060px) {
  .toc { background: var(--paper-2); border: 0; padding: 18px 20px; }
}

.share__label { font-size: 11.5px; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; margin-bottom: 10px; }
.share__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.share__list a, .share__list button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--rule); border-radius: 50%; background: none; color: var(--charcoal); }
.share__list a:hover, .share__list button:hover { border-color: var(--ink); color: var(--ink); }
.copy-link.is-copied { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Prose ---------- */
.prose { font-family: var(--f-serif); font-size: 19px; line-height: 1.72; color: #1E1D1B; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(27px, 3vw, 34px); margin-top: 2em; scroll-margin-top: 80px; }
.prose h3 { font-size: clamp(21px, 2.2vw, 25px); margin-top: 1.7em; scroll-margin-top: 80px; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose a { color: var(--accent-dark); text-decoration-color: rgba(155,61,44,.45); }
.prose a:hover { color: var(--ink); text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--accent); }
.prose strong { font-weight: 600; }
.prose blockquote { margin: 1.8em 0; padding: 0 0 0 26px; border-left: 3px solid var(--accent); font-family: var(--f-display); font-size: 1.25em; font-style: italic; line-height: 1.45; color: var(--charcoal); }
.prose figure { margin: 2em 0; }
.prose figcaption { font-family: var(--f-sans); font-size: 13px; color: var(--muted); margin-top: 8px; }
.prose hr { border: 0; text-align: center; margin: 2.4em 0; }
.prose hr::after { content: "✦  ✦  ✦"; color: var(--accent); letter-spacing: .4em; font-size: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--f-sans); font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { font-weight: 600; border-bottom-color: var(--ink); }
.prose code { font-size: .85em; background: var(--paper-2); padding: 2px 5px; border-radius: 3px; }
.prose--article > p:first-of-type::first-letter { font-family: var(--f-display); float: left; font-size: 4.3em; line-height: .82; padding: 6px 10px 0 0; color: var(--ink); font-weight: 500; }
.prose .callout { background: var(--paper-2); padding: 22px 26px; font-family: var(--f-sans); font-size: 16px; line-height: 1.6; border-top: 3px solid var(--accent); }
.prose .callout h3, .prose .callout p:first-child { margin-top: 0; }
@media (max-width: 600px) { .prose { font-size: 18px; } }

.sources { margin-top: 3em; padding-top: 1.2em; border-top: 1px solid var(--rule); font-family: var(--f-sans); font-size: 14.5px; line-height: 1.55; }
.sources h2 { font-size: 20px; margin-top: 0; }
.sources ol { margin-top: .8em; }
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2.2em; font-family: var(--f-sans); }
.tags a { display: inline-block; padding: 6px 12px; border: 1px solid var(--rule); border-radius: 99px; font-size: 13px; color: var(--charcoal); text-decoration: none; }
.tags a:hover { border-color: var(--ink); color: var(--ink); }
.editor-note { margin-top: 2em; padding: 16px 20px; background: var(--paper-2); font-family: var(--f-sans); font-size: 13.5px; line-height: 1.55; color: var(--charcoal); }
.editor-note a { color: inherit; }

.related { padding-block: clamp(56px, 7vw, 96px); }

/* ---------- Category & listing pages ---------- */
.section-hero { padding-block: 10px clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--ink); margin-bottom: clamp(32px, 4vw, 52px); max-width: 900px; }
.section-hero .eyebrow { color: var(--cat); }
.section-hero__title { font-size: clamp(44px, 7.5vw, 96px); line-height: .98; letter-spacing: -0.035em; margin-bottom: 20px; }
.section-hero__intro { font-family: var(--f-serif); font-size: clamp(19px, 2vw, 23px); line-height: 1.5; color: var(--charcoal); max-width: 56ch; margin-bottom: 16px; }
.cat-lead { margin-bottom: clamp(48px, 6vw, 80px); }
.cat-lead .card--large { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(22px, 3vw, 48px); align-items: center; }
@media (max-width: 800px) { .cat-lead .card--large { grid-template-columns: 1fr; } }
.cat-lead + section, .listing { margin-bottom: clamp(56px, 7vw, 96px); }
.empty { font-family: var(--f-serif); font-size: 19px; padding-bottom: 80px; }

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 48px; flex-wrap: wrap; }
.pager button { min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--rule); background: none; font-size: 14px; border-radius: var(--radius); }
.pager button:hover { border-color: var(--ink); }
.pager button[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager button:disabled { opacity: .4; cursor: default; }

/* ---------- Pages ---------- */
.page { padding-bottom: clamp(56px, 7vw, 96px); }
.page__header { margin-bottom: 36px; padding-bottom: 26px; border-bottom: 1px solid var(--ink); }
.page__title { font-size: clamp(40px, 6vw, 68px); letter-spacing: -0.03em; margin-bottom: 14px; }
.page__lede { font-family: var(--f-serif); font-size: 21px; color: var(--charcoal); line-height: 1.5; margin-bottom: 12px; }

/* Search page */
.search-page .search-form { margin-bottom: 18px; }
.search-status { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.search-results { list-style: none; padding: 0; margin: 0; }
.search-results li { padding-block: 22px; border-top: 1px solid var(--rule); }
.search-results h2 { font-size: 24px; margin-bottom: 8px; }
.search-results h2 a { text-decoration: none; }
.search-results p { font-family: var(--f-serif); color: var(--charcoal); font-size: 17px; margin-bottom: 8px; }
.search-results mark { background: #F3DDD3; color: inherit; padding: 0 2px; }

/* 404 */
.notfound { text-align: center; padding-block: clamp(60px, 10vw, 140px); }
.notfound__code { font-family: var(--f-display); font-style: italic; font-size: clamp(90px, 18vw, 200px); line-height: .9; color: var(--accent); }
.notfound h1 { font-size: clamp(30px, 4vw, 44px); margin: 18px 0 14px; }
.notfound p { font-family: var(--f-serif); font-size: 19px; color: var(--charcoal); max-width: 46ch; margin: 0 auto 28px; }
.notfound .search-form { max-width: 560px; margin: 0 auto 30px; }

@media print {
  .site-header, .site-footer, .newsletter, .related, .article__aside { display: none !important; }
  body { background: #fff; }
}
