:root {
  --bg: #ffffff;
  --text: #111827;
  --muted: #5b6472;
  --line: #d8dde6;
  --soft: #f6f7f9;
  --soft-2: #eef1f5;
  --link: #1d4e89;
  --link-hover: #0f2f52;
  --accent: #7a1231;
  --max: 1040px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.55;
  font-size: 17px;
}

img { max-width: 100%; height: auto; }

a {
  color: var(--link);
  text-decoration: none;
}

a:hover, a:focus {
  color: var(--link-hover);
  text-decoration: underline;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: #fff;
  color: var(--text);
  border: 2px solid var(--text);
  padding: 8px 12px;
  z-index: 100;
}

.skip-link:focus { left: 10px; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
}

.brand {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--text);
}

.brand:hover { text-decoration: none; }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px 18px;
  font-size: .98rem;
}

.nav-links a { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--accent); font-weight: 700; }

.hero {
  padding: 34px 0 18px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.portrait {
  width: 245px;
  border: 1px solid var(--line);
  padding: 8px;
  background: var(--soft);
}

.hero h1 {
  margin: 0 0 6px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  font-weight: 500;
}

.kicker {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 1.08rem;
}

.tagline {
  margin: 14px 0 18px;
  font-size: 1.2rem;
  color: var(--accent);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.contact-list li { margin: 4px 0; }

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.button {
  display: inline-block;
  border: 1px solid var(--text);
  color: var(--text);
  background: #fff;
  padding: 7px 12px;
  border-radius: 3px;
  font-size: .95rem;
}

.button:hover, .button:focus {
  background: var(--soft-2);
  color: var(--text);
  text-decoration: none;
}

main { padding: 24px 0 50px; }

section { margin: 0 0 34px; }

h2 {
  margin: 0 0 13px;
  font-size: 1.55rem;
  line-height: 1.2;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  padding-bottom: 5px;
}

h3 {
  margin: 18px 0 8px;
  font-size: 1.15rem;
  line-height: 1.25;
}

p { margin: 0 0 13px; }

.lead { font-size: 1.08rem; }

.compact-list, .news-list, .pub-list, .people-list {
  margin: 0;
  padding-left: 1.2em;
}

.news-list li, .pub-list li, .people-list li, .compact-list li { margin-bottom: 8px; }

.news-date {
  display: inline-block;
  min-width: 4.4rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.card {
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 15px 16px;
  border-radius: 4px;
}

.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.meta {
  color: var(--muted);
  font-size: .95rem;
}

.pub-title { font-weight: 700; }
.venue { color: var(--accent); }
.note { color: var(--muted); }

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 22px;
  font-size: .98rem;
}

th, td {
  border-bottom: 1px solid var(--line);
  padding: 8px 6px;
  vertical-align: top;
  text-align: left;
}

th {
  background: var(--soft);
  font-weight: 700;
}

.page-title {
  margin: 6px 0 22px;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 500;
}

.callout {
  border-left: 4px solid var(--accent);
  background: var(--soft);
  padding: 12px 15px;
  margin: 16px 0;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 18px 0 28px;
  color: var(--muted);
  font-size: .92rem;
}

.footer p { margin: 0 0 6px; }

@media (max-width: 780px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 14px 22px; }
  .nav-links { justify-content: flex-start; }
  .hero-grid, .cards, .two-col { grid-template-columns: 1fr; }
  .portrait { width: 190px; }
}
