/* Site styles (layout C, "editorial"; 2026-11-08) */
:root {
  --ink: #22201d;
  --muted: #75706a;
  --rule: #e6e1da;
  --accent: #8a1c2b;
  --bg: #fffefb;
  --panel: #faf7f2;
  --width: 880px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 20px/1.6 "EB Garamond", Georgia, serif;
}
.sans { font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 14.5px; }
a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(138, 28, 43, .25); }
a:hover { border-bottom-color: var(--accent); }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--width); margin: 0 auto; padding: 0 24px; }

/* Header and navigation */
.site-header { padding: 44px 0 0; display: flex; gap: 32px; align-items: center; }
.site-header.is-home { padding-top: 56px; }
.portrait { width: 140px; height: 140px; object-fit: cover; border-radius: 4px; }
.site-title { font-size: 34px; font-weight: 500; color: var(--ink); border: 0; line-height: 1.1; }
.is-home .site-title { font-size: 48px; }
.role { color: var(--muted); font-style: italic; margin-top: 4px; }
.site-nav { margin-top: 26px; padding: 12px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: 6px 28px; }
.site-nav a { color: var(--ink); border: 0; }
.site-nav a.active, .site-nav a:hover { color: var(--accent); }

/* Text */
main { padding-top: 8px; }
h1, h2, h3 { font-weight: 500; line-height: 1.2; }
h1.page-title { font-size: 36px; margin: 32px 0 16px; }
h2 { font-size: 28px; margin: 44px 0 18px; padding-bottom: 6px; border-bottom: 1px solid var(--rule); }
h3 { font-size: 22px; font-weight: 600; margin: 28px 0 6px; }
.intro { margin: 32px 0 12px; }
.link-row { color: var(--muted); }

/* Research themes (home) */
.theme { display: grid; grid-template-columns: 240px 1fr; gap: 28px; margin: 0 0 30px; align-items: start; }
.theme .fig { display: flex; align-items: center; justify-content: center; height: 160px; padding: 6px;
  border: 1px solid var(--rule); background: #fff; }
.theme .fig img { max-height: 100%; width: auto; }
.theme .fig.placeholder { color: var(--muted); background: var(--panel); }
.theme h3 { margin-top: 0; }
.theme p { margin: 0; color: #4a4642; }

/* Group page */
.people { list-style: none; padding-left: 0; margin: 0; }
.person { margin-bottom: 14px; }
.person-name { font-weight: 600; }
.person-years { color: var(--muted); }
.person-details { list-style: none; margin: 0 0 0 1.2rem; padding: 0; font-size: 17px; color: #4a4642; }
.person-links { font-family: Inter, system-ui, sans-serif; font-size: 13px; margin-left: 1.2rem; }
.person-links a { margin-right: 14px; }
.group h2 { margin-top: 40px; }
.group h3 { margin: 26px 0 10px; }

/* Footer */
.site-footer { margin-top: 56px; padding: 20px 0 48px; border-top: 1px solid var(--rule); color: var(--muted); }

@media (max-width: 640px) {
  body { font-size: 18px; }
  .site-header { flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 28px; }
  .portrait { width: 112px; height: 112px; }
  .is-home .site-title { font-size: 38px; }
  .theme { grid-template-columns: 1fr; gap: 12px; }
  .theme .fig { height: 190px; }
  .site-nav { gap: 6px 20px; }
}
