/* ---------- tokens ---------- */
:root {
  --bg: #faf8f5;
  --bg-alt: #f1ede6;
  --text: #201d1a;
  --text-muted: #5c574f;
  --accent: #2c5f6f;
  --accent-dark: #1c3f4a;
  --border: #e3ddd2;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- header / nav ---------- */
header.site-header {
  border-bottom: 1px solid var(--border);
  padding: 28px 0 18px;
}

.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}

.site-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.2px;
}

nav.site-nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

nav.site-nav a {
  color: var(--text-muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

nav.site-nav a.active,
nav.site-nav a:hover {
  color: var(--accent-dark);
}

/* ---------- hero ---------- */
.hero {
  padding: 48px 0 36px;
}

.hero .wrap {
  display: flex;
  gap: 32px;
  align-items: center;
}

.hero img.portrait {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.hero h1 {
  font-family: var(--serif);
  font-size: 30px;
  margin: 0 0 6px;
  line-height: 1.15;
}

.hero .role {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0 0 10px;
}

.hero .blurb {
  font-size: 15.5px;
  color: var(--text);
  max-width: 480px;
}

@media (max-width: 560px) {
  .hero .wrap { flex-direction: column; text-align: center; }
  .hero .blurb { max-width: 100%; }
}

/* ---------- section headings ---------- */
.section-title {
  font-family: var(--serif);
  font-size: 22px;
  margin: 46px 0 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.section-lede {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0 0 24px;
}

/* ---------- research feed ---------- */
.feed-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.feed-item:first-of-type { padding-top: 4px; }

.feed-date {
  font-size: 12.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.feed-item h3 {
  font-family: var(--serif);
  font-size: 19px;
  margin: 0 0 4px;
  line-height: 1.3;
}

.feed-venue {
  font-size: 13.5px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 10px;
}

.feed-summary {
  font-size: 15px;
  margin: 0 0 8px;
}

.feed-link {
  font-size: 13.5px;
  font-weight: 600;
}

/* ---------- generic content blocks ---------- */
.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px 20px;
  margin-bottom: 16px;
}

.card h3 {
  font-family: var(--serif);
  font-size: 17px;
  margin: 0 0 6px;
}

.meta {
  font-size: 13px;
  color: var(--text-muted);
}

ul.plain, ol.plain {
  padding-left: 20px;
}

ul.plain li, ol.plain li {
  margin-bottom: 10px;
  font-size: 15.5px;
}

.pub-list li {
  margin-bottom: 14px;
  font-size: 15px;
}

.pub-list .pub-year {
  color: var(--text-muted);
  font-size: 13px;
}

/* ---------- links / identity row ---------- */
.identity-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 18px 0 0;
  font-size: 13.5px;
}

.identity-links a { color: var(--text-muted); }
.identity-links a:hover { color: var(--accent-dark); }

/* ---------- footer ---------- */
footer.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 60px;
  padding: 28px 0 60px;
  color: var(--text-muted);
  font-size: 13.5px;
}

footer.site-footer a { color: var(--text-muted); }

.byline {
  margin-bottom: 22px;
}

main { padding-bottom: 20px; }

/* ---------- notice / flag box ---------- */
.notice {
  background: #fbf2e0;
  border: 1px solid #e9d9ad;
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 13.5px;
  color: #6b5324;
  margin: 24px 0;
}
