:root {
  --paper: #f4efe4;
  --paper-2: #ebe4d4;
  --ink: #171512;
  --muted: #5e584e;
  --faint: #8a8274;
  --rule: #d4cbb8;
  --navy: #12315c;
  --navy-2: #0c2344;
  --copper: #8a3b12;
  --white: #fffdf8;
  --shadow: 0 18px 40px rgba(23, 21, 18, 0.08);
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --display: "Fraunces", "Source Serif 4", Georgia, serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", sans-serif;
  --measure: 38rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input { font: inherit; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 0.5rem 1rem; }
.skip:focus { left: 0; z-index: 20; }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--navy); z-index: 40; }
.masthead { border-bottom: 1px solid var(--rule); background: var(--paper); }
.masthead-inner { max-width: 1120px; margin: 0 auto; padding: 0.85rem 1.25rem 1rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; justify-self: start; }
.brand img { width: 42px; height: 42px; }
.brand-name { font-family: var(--display); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.brand-tag { display: block; font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 0.2rem; }
.wordmark { font-family: var(--display); font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 600; letter-spacing: -0.045em; text-align: center; line-height: 0.9; text-decoration: none; }
.nav { justify-self: end; display: flex; gap: 1.1rem; font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--copper); }
.menu-btn { display: none; background: none; border: 1px solid var(--rule); padding: 0.35rem 0.6rem; cursor: pointer; }
.kicker { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--copper); margin: 0 0 0.6rem; }
.hero { max-width: 1120px; margin: 0 auto; padding: 2.2rem 1.25rem 2.6rem; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; align-items: stretch; border-bottom: 1px solid var(--rule); }
.hero-copy h1 { font-family: var(--display); font-size: clamp(2.3rem, 5vw, 4.1rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 600; margin: 0 0 1rem; }
.hero-copy h1 a { text-decoration: none; }
.hero-copy h1 a:hover { color: var(--navy); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 36rem; margin: 0 0 1.25rem; }
.meta { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--faint); }
.hero-media { position: relative; min-height: 280px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(18%) contrast(1.05); }
.hero-media figcaption { position: absolute; left: 0; bottom: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.45rem 0.7rem; }
.strip { max-width: 1120px; margin: 0 auto; padding: 1rem 1.25rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; border-bottom: 1px solid var(--rule); font-family: var(--sans); }
.strip div { border-left: 1px solid var(--rule); padding-left: 1rem; }
.strip div:first-child { border-left: 0; padding-left: 0; }
.strip b { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper); font-weight: 600; }
.strip span { font-size: 0.92rem; color: var(--muted); }
.section { max-width: 1120px; margin: 0 auto; padding: 2.4rem 1.25rem; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--ink); padding-bottom: 0.5rem; margin-bottom: 1.4rem; }
.section-head h2 { font-family: var(--display); font-size: 1.6rem; margin: 0; letter-spacing: -0.03em; }
.section-head a { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--navy); }
.index { display: grid; gap: 0; }
.row { display: grid; grid-template-columns: 140px 1fr 7.5rem; gap: 1.2rem; align-items: start; padding: 1.15rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.row img { width: 140px; height: 92px; object-fit: cover; filter: grayscale(12%); }
.row h3 { font-family: var(--display); font-size: 1.35rem; line-height: 1.15; margin: 0 0 0.35rem; letter-spacing: -0.03em; }
.row p { margin: 0; color: var(--muted); font-size: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row time { font-family: var(--sans); font-size: 0.75rem; color: var(--faint); text-align: right; }
.row:hover h3 { color: var(--navy); }
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.topic { background: var(--white); border: 1px solid var(--rule); padding: 1.3rem 1.2rem 1.1rem; min-height: 100%; text-decoration: none; }
.topic h3 { font-family: var(--display); margin: 0 0 0.4rem; font-size: 1.35rem; }
.topic p { margin: 0; color: var(--muted); font-size: 1rem; }
.page-hero { max-width: 1120px; margin: 0 auto; padding: 2.4rem 1.25rem 1.2rem; border-bottom: 1px solid var(--rule); }
.page-hero h1 { font-family: var(--display); font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.04em; margin: 0 0 0.6rem; line-height: 1.05; }
.search { max-width: 1120px; margin: 0 auto; padding: 1rem 1.25rem 0; }
.search input { width: 100%; border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 0.7rem 0; outline: none; }
.article { max-width: 42rem; margin: 0 auto; padding: 2.2rem 1.25rem 4rem; }
.article header h1 { font-family: var(--display); font-size: clamp(2rem, 4.5vw, 3.15rem); line-height: 1.08; letter-spacing: -0.035em; margin: 0.3rem 0 0.9rem; }
.cover { margin: 1.4rem 0 1.8rem; }
.cover img { width: 100%; max-height: 45vh; object-fit: cover; }
.prose p { margin: 0 0 1.1rem; }
.prose h2 { font-family: var(--display); font-size: 1.55rem; letter-spacing: -0.03em; margin: 2rem 0 0.7rem; }
.prose h3 { font-family: var(--display); font-size: 1.2rem; margin: 1.5rem 0 0.5rem; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.1rem; }
.prose li { margin: 0.25rem 0; }
.prose pre, .prose code { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 0.92em; }
.prose pre { background: var(--navy-2); color: var(--paper); padding: 1rem; overflow: auto; margin: 0 0 1.2rem; }
.prose blockquote { margin: 1.4rem 0; padding-left: 1rem; border-left: 2px solid var(--copper); color: var(--muted); font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 0 0 1.3rem; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--rule); text-align: left; padding: 0.45rem 0.4rem; vertical-align: top; }
.author-box { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); }
.toc { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 1rem 0; margin: 0 0 1.6rem; font-family: var(--sans); font-size: 0.9rem; }
.toc ol { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.toc a { text-decoration: none; }
.toc a:hover { color: var(--copper); }
.share { display: flex; gap: 0.8rem; font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 2rem 0 0; }
.share a { color: var(--navy); }
.related { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem 4rem; }
.related .row { grid-template-columns: 120px 1fr; }
.footer { background: var(--navy-2); color: #efe8d8; padding: 2.4rem 1.25rem 2rem; font-family: var(--sans); }
.footer-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer a { color: #efe8d8; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer h2 { font-family: var(--display); margin: 0 0 0.5rem; font-size: 1.6rem; }
.footer p, .footer li { color: #cfc6b4; font-size: 0.92rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 0.3rem 0; }
.legal { max-width: 1120px; margin: 1.4rem auto 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.78rem; color: #b7ad9b; }
.note { max-width: 42rem; }
.contact a.email { display: inline-block; margin-top: 0.8rem; font-family: var(--sans); letter-spacing: 0.04em; color: var(--navy); }
.empty, .error { padding: 2rem 0; color: var(--muted); }
@media (max-width: 860px) {
  .masthead-inner { grid-template-columns: 1fr auto; }
  .wordmark { display: none; }
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; grid-column: 1 / -1; padding-top: 0.6rem; }
  .menu-btn { display: inline-block; justify-self: end; }
  .hero, .topics, .strip, .footer-inner { grid-template-columns: 1fr; }
  .strip div { border-left: 0; padding-left: 0; padding-top: 0.6rem; border-top: 1px solid var(--rule); }
  .row { grid-template-columns: 92px 1fr; }
  .row time { display: none; }
  .row img { width: 92px; height: 72px; }
}
.hero-copy h2 { font-family: var(--display); font-size: clamp(2.3rem, 5vw, 4.1rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 600; margin: 0 0 1rem; }
.hero-copy h2 a { text-decoration: none; }
.hero-copy h2 a:hover { color: var(--navy); }
.hero-copy h1.home-name { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--copper); margin: 0 0 0.7rem; line-height: 1.3; }
.cover img { aspect-ratio: 16 / 9; }
.prose strong { font-weight: 600; }
