:root {
  --bg: #f8f9fa;
  --paper: #ffffff;
  --ink: #202122;
  --muted: #54595d;
  --line: #c8ccd1;
  --line-dark: #a2a9b1;
  --link: #3366cc;
  --link-hover: #1a4fb5;
  --header: #eaecf0;
  --soft: #f1f3f5;
  --shadow: 0 1px 2px rgba(0,0,0,0.04);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}
.wordmark a { color: var(--ink); font-size: 1.35rem; font-weight: 700; letter-spacing: 0.01em; }
.main-nav { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.98rem; }
.main-nav a[aria-current="page"] { font-weight: 700; color: var(--ink); }
.hero { margin: 1.4rem 0; padding: 2rem; }
.kicker { margin: 0 0 0.35rem; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.hero h1, .page-header h1 { margin: 0; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.12; }
.lede, .subtitle { color: var(--muted); font-size: 1.08rem; margin-top: 0.7rem; }
.hero-actions { margin-top: 1.2rem; }
.button { display: inline-block; background: var(--link); color: white; padding: 0.7rem 1rem; border-radius: 4px; font-weight: 700; }
.button:hover { background: var(--link-hover); color: white; text-decoration: none; }
.card { background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.grid-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.section-card, .notes { padding: 1.25rem; }
.section-card h2, .notes h2 { margin-top: 0; font-size: 1.25rem; }
.muted { color: var(--muted); }
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.5rem;
  padding-top: 1.2rem;
  padding-bottom: 2rem;
}
.content-column { background: var(--paper); border: 1px solid var(--line); padding: 1.5rem; }
.content-column section + section { margin-top: 1.25rem; }
.content-column h2 {
  border-bottom: 1px solid var(--line);
  font-size: 1.45rem;
  line-height: 1.2;
  margin: 1.6rem 0 0.7rem;
  padding-bottom: 0.2rem;
}
.content-column p, .content-column li, .notes p, .section-card p, .section-card li { font-size: 1rem; }
.infobox { align-self: start; background: var(--paper); border: 1px solid var(--line-dark); }
.infobox-title { background: var(--header); padding: 0.75rem 1rem; font-weight: 700; text-align: center; border-bottom: 1px solid var(--line-dark); }
.infobox-image { padding: 1rem; border-bottom: 1px solid var(--line); }
.placeholder { background: var(--soft); min-height: 220px; display: grid; place-items: center; color: var(--muted); text-align: center; }
.infobox table { width: 100%; border-collapse: collapse; }
.infobox th, .infobox td { border-top: 1px solid var(--line); padding: 0.65rem 0.85rem; vertical-align: top; text-align: left; font-size: 0.95rem; }
.infobox th { width: 38%; background: #fbfbfb; }
blockquote { border-left: 4px solid var(--line-dark); margin: 0.75rem 0 0; padding: 0.1rem 1rem; color: #2f3133; background: #fcfcfc; }
.site-footer { border-top: 1px solid var(--line); background: var(--paper); }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0 1.4rem; color: var(--muted); font-size: 0.92rem; }
.notice { color: var(--muted); font-style: italic; }
@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr; }
  .infobox { order: -1; }
}
@media (max-width: 700px) {
  .grid-two { grid-template-columns: 1fr; }
  .site-header .wrap, .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero { padding: 1.35rem; }
  .content-column { padding: 1.1rem; }
}
.profile-image-wrap { padding: 1rem; border-bottom: 1px solid var(--line); }
.profile-image { width: 100%; max-width: 250px; display: block; margin: 0 auto; border-radius: 4px; }
.image-caption { font-size: 12px; color: #555; text-align: center; margin: 0.45rem 0 0; }
.link-list { padding-left: 1.2rem; }
.link-list li + li { margin-top: 0.35rem; }
.feature-card h2 { margin-bottom: 0.5rem; }
.feature-card h2 a { color: var(--ink); }
.feature-card h2 a:hover { color: var(--link-hover); }
.source { font-size: 12px; color: #555; margin-top: 10px; }
.name-variations { columns: 2; -webkit-columns: 2; -moz-columns: 2; list-style-type: disc; margin-left: 20px; }
.name-variations li { margin-bottom: 4px; }
.surname-section h3 { margin-bottom: 0.45rem; }
