:root {
  --ink: #252428;
  --muted: #625f63;
  --paper: #f7f5f1;
  --white: #fff;
  --teal: #6b1f35;
  --teal-dark: #45101f;
  --gold: #9a744d;
  --line: #ded9d2;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
img { max-width: 100%; display: block; }

.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: white; padding: .6rem 1rem; z-index: 10; }
.site-header { background: rgba(247,245,241,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.nav { max-width: var(--max); margin: auto; min-height: 72px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: var(--ink); text-decoration: none; font-family: Georgia, serif; font-size: 1.25rem; font-weight: 700; white-space: nowrap; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px 18px; font-size: .92rem; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--teal); }

.hero { background: linear-gradient(135deg, #ebe5e1 0%, #f7f5f1 62%); }
.hero-inner { max-width: var(--max); margin: auto; padding: 90px 24px 78px; display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 70px; align-items: center; }
.eyebrow { color: var(--teal); font-weight: 750; text-transform: uppercase; letter-spacing: .13em; font-size: .76rem; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.16; }
h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); letter-spacing: -.045em; margin: .16em 0; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin: 0 0 .65em; }
h3 { font-size: 1.35rem; margin: 0 0 .45em; }
.lead { max-width: 760px; color: #514d50; font-family: Georgia, serif; font-size: clamp(1.15rem, 2.2vw, 1.45rem); }
.portrait { aspect-ratio: 3/4; object-fit: cover; width: 100%; border-radius: 140px 140px 16px 16px; box-shadow: 18px 20px 0 #cbbdb6; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-block; padding: 11px 18px; border-radius: 4px; background: var(--teal); color: white; text-decoration: none; font-weight: 700; }
.button:hover { background: var(--teal-dark); color: white; }
.button.secondary { background: transparent; color: var(--teal); border: 1px solid var(--teal); }

.page-head { max-width: var(--max); margin: auto; padding: 70px 24px 32px; }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
.page-head p { max-width: 760px; font-size: 1.15rem; color: var(--muted); }
.section { max-width: var(--max); margin: auto; padding: 70px 24px; }
.section + .section { border-top: 1px solid var(--line); }
.section.alt { max-width: none; background: #ece8e3; }
.section.alt > .inner { max-width: var(--max); margin: auto; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.card { background: var(--white); padding: 28px; border: 1px solid var(--line); border-radius: 7px; }
.card p:last-child { margin-bottom: 0; }
.meta { color: var(--teal); font-size: .85rem; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
.prose { max-width: 800px; }
.prose p { margin: 0 0 1.15em; }
.facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 48px; }
.fact { border-left: 3px solid var(--gold); padding-left: 18px; }
.fact strong { display: block; font-family: Georgia, serif; font-size: 1.35rem; }
.timeline { max-width: 880px; }
.timeline article { display: grid; grid-template-columns: 120px 1fr; gap: 26px; padding: 24px 0; border-top: 1px solid var(--line); }
.timeline time { color: var(--teal); font-weight: 750; }
.timeline p { margin: .35em 0 0; color: var(--muted); }
.pub-list { list-style: none; padding: 0; margin: 0; counter-reset: pubs; }
.pub-list li { counter-increment: pubs; position: relative; padding: 24px 20px 24px 54px; border-top: 1px solid var(--line); }
.pub-list li::before { content: counter(pubs, decimal-leading-zero); position: absolute; left: 0; color: var(--gold); font-family: Georgia, serif; font-weight: 700; }
.pub-title { display: block; font-weight: 750; color: var(--ink); }
.pub-venue { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { background: #e8dfdc; color: var(--teal-dark); border-radius: 100px; padding: 5px 11px; font-size: .82rem; }
.site-footer { background: var(--ink); color: #d8e1df; margin-top: 70px; }
.footer-inner { max-width: var(--max); margin: auto; padding: 48px 24px; display: flex; justify-content: space-between; gap: 30px; }
.site-footer a { color: white; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.small { font-size: .88rem; color: var(--muted); }

@media (max-width: 820px) {
  .nav { align-items: flex-start; padding-top: 16px; padding-bottom: 16px; }
  .nav-links { gap: 5px 12px; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 60px; }
  .portrait { width: 220px; grid-row: 1; }
  .grid, .grid.two, .facts { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav { display: block; }
  .nav-links { justify-content: flex-start; margin-top: 10px; }
  .timeline article { grid-template-columns: 1fr; gap: 3px; }
  .footer-inner { display: block; }
}
