
:root {
  --paper: #f7f1e6;
  --ink: #1d1a16;
  --muted: #665e55;
  --line: #d9cbb8;
  --accent: #8b3a2f;
  --card: rgba(255, 252, 247, 0.78);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(139, 58, 47, 0.08), transparent 32rem),
    linear-gradient(180deg, #fbf7f1 0%, var(--paper) 42%, #efe4d4 100%);
  font: 18px/1.7 Georgia, "Iowan Old Style", "Palatino Linotype", serif;
}
a { color: inherit; }
.wrap { width: min(920px, calc(100% - 2rem)); margin: 0 auto; }
header.site {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  padding: 1.25rem 0; border-bottom: 1px solid var(--line);
}
.mark { font-variant: small-caps; letter-spacing: 0.12em; text-decoration: none; font-weight: 700; }
.mark span { color: var(--accent); }
nav a { color: var(--muted); text-decoration: none; margin-left: 1rem; }
nav a:hover { color: var(--ink); }
main { padding: 3rem 0 5rem; }
.kicker { color: var(--accent); font: 0.78rem/1.4 ui-sans-serif, "Segoe UI", sans-serif; letter-spacing: 0.16em; text-transform: uppercase; }
h1 { font-size: clamp(2.7rem, 7vw, 5.8rem); line-height: 0.95; font-weight: 500; margin: 0.35rem 0 1rem; letter-spacing: -0.045em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.1; font-weight: 500; letter-spacing: -0.03em; }
.lede { max-width: 42rem; font-size: 1.25rem; color: #3d362f; }
.papers { display: grid; gap: 1rem; margin-top: 2.5rem; }
article.card, .article-shell {
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 18px 50px rgba(70, 42, 20, 0.06);
}
article.card { padding: 1.25rem 1.35rem; }
article.card a { text-decoration: none; }
article.card h2 { margin: 0.25rem 0 0.5rem; }
article.card p { margin: 0; color: #3f3832; }
time, .meta { color: var(--muted); font: 0.85rem/1.4 ui-sans-serif, "Segoe UI", sans-serif; }
.article-shell { padding: clamp(1.25rem, 4vw, 3rem); }
.prose { max-width: 72ch; }
.prose h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.8rem; font-size: 1.35rem; }
.prose p, .prose li { color: #29241f; }
.prose a { color: var(--accent); }
.prose blockquote {
  margin: 1.5rem 0; padding-left: 1rem; border-left: 3px solid var(--accent); color: #463d35;
}
.prose code { font-family: "Cascadia Code", Consolas, monospace; font-size: 0.86em; background: rgba(139, 58, 47, 0.08); padding: 0.1rem 0.25rem; border-radius: 4px; }
.prose pre { overflow-x: auto; padding: 1rem; background: #241e1a; color: #f7f1e6; border-radius: 8px; }
.prose pre code { background: transparent; color: inherit; padding: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); text-align: left; padding: 0.55rem; vertical-align: top; }
footer { border-top: 1px solid var(--line); color: var(--muted); padding: 1.5rem 0 2rem; font: 0.85rem/1.5 ui-sans-serif, "Segoe UI", sans-serif; }
