:root {
  --paper: #fafaf6;
  --ink: #0a0a08;
  --muted: #62635b;
  --lime: #c5e84a;
  --rule: #deded5;
}
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); }
body { margin: 0; font-family: "Geist", system-ui, sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.wrap { width: min(100% - 64px, 1120px); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 20px; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 10; }
.skip-link:focus { top: 10px; }
.site-header { border-bottom: 1px solid var(--rule); }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.lockup span, .footer-brand { font-size: 22px; font-weight: 700; letter-spacing: -1px; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; font-size: 14px; }
nav a { text-decoration: none; }
nav a[aria-current="page"] { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 22px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.button-small { padding: 9px 17px; font-size: 13px; }
main { min-height: 65vh; padding-block: 76px 96px; }
.eyebrow, .meta, .copyright { font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--lime); border-radius: 50%; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: "Bricolage Grotesque", "Geist", sans-serif; font-size: clamp(44px, 7vw, 84px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 700; margin-bottom: 24px; text-wrap: balance; }
.serif { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; }
.lead { max-width: 640px; font-size: clamp(18px, 2vw, 22px); color: var(--muted); line-height: 1.6; }
.listing-intro { max-width: 800px; margin-bottom: 64px; }
.post-card { display: grid; grid-template-columns: 0.85fr 1fr; border-block: 1px solid var(--rule); padding-block: 32px; gap: 48px; align-items: center; }
.post-art { background: var(--ink); color: var(--paper); padding: 48px 36px; border-radius: 16px; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; }
.post-art p { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(44px, 5vw, 66px); line-height: 1; letter-spacing: -1px; margin: 0; }
.post-art em { color: var(--lime); }
.post-art span { font-size: 15px; font-weight: 600; margin-top: 24px; }
.meta { color: var(--muted); margin-bottom: 18px; }
.post-card h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.2; letter-spacing: -1px; margin-bottom: 16px; }
.post-card h2 a { text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; }
.post-card .excerpt { color: var(--muted); max-width: 480px; }
.text-link { font-size: 14px; font-weight: 600; }
.article { max-width: 760px; }
.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 36px; }
.article h1 { font-size: clamp(42px, 6vw, 68px); }
.article-header { padding-bottom: 32px; border-bottom: 1px solid var(--rule); margin-bottom: 40px; }
.article-header .meta { margin: 26px 0 0; }
.prose { max-width: 680px; font-size: 18px; line-height: 1.8; }
.prose p { margin-bottom: 24px; }
.prose h2 { font-size: 28px; line-height: 1.25; letter-spacing: -0.7px; margin: 44px 0 18px; }
.prose a { text-decoration-color: var(--muted); }
.callout { background: #f0f1e7; border-radius: 16px; padding: 32px; margin-block: 40px; }
.callout h2 { margin-top: 0; }
.callout p { margin-bottom: 22px; }
.callout .web-alternative { margin: 16px 0 0; font-size: 14px; }
.article-back { margin: 40px 0 0; }
.article-toc { display: grid; gap: 8px; border-block: 1px solid var(--rule); padding-block: 24px; margin-block: 32px; }
.article-toc a { font-size: 16px; }
.article-sources { border-top: 1px solid var(--rule); margin-top: 40px; font-size: 15px; }
.prose li { margin-bottom: 12px; }
.prose :target { scroll-margin-top: 24px; }
.site-footer { background: var(--ink); color: var(--paper); padding-block: 40px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 32px; }
.footer-brand { text-decoration: none; }
.footer-brand span { display: block; font-family: "Instrument Serif", Georgia, serif; font-size: 18px; font-weight: 400; letter-spacing: 0; }
.site-footer nav, .copyright { color: #c2c3ba; }
.copyright { margin: 0; }
.fallback-nav { padding-block: 20px; display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; }
@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 72px; gap: 12px; flex-wrap: wrap; padding-block: 14px; }
  nav { gap: 16px; font-size: 13px; }
  .button-small { padding: 8px 12px; }
  main { padding-block: 44px 64px; }
  .listing-intro { margin-bottom: 36px; }
  .post-card { grid-template-columns: 1fr; gap: 28px; }
  .post-art { min-height: 220px; padding: 32px; }
  .prose { font-size: 17px; }
  .callout { padding: 24px; }
}
