:root {
  --text: #111;
  --muted: #555;
  --line: #e2e2e2;
  --link: #8c1515; /* Cardinal red accent; change to #111 for pure black */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

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

h1, h2, h3 { font-family: "Merriweather", Georgia, serif; line-height: 1.25; margin: 0; }
h1 { font-size: 2.2rem; }
h2 {
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--line);
}
h3 { font-size: 1.05rem; }

.wrap { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* Navigation */
.site-nav { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 10; }
.site-nav .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; gap: 8px; }
.site-nav .brand { font-family: "Merriweather", Georgia, serif; font-weight: 700; color: var(--text); }
.site-nav ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; flex-wrap: wrap; font-size: .95rem; }
.site-nav a { color: var(--text); }
.site-nav a:hover { color: var(--link); text-decoration: none; }

/* Hero */
.hero { display: flex; gap: 40px; align-items: center; padding: 56px 0 40px; }
.hero img { width: 220px; height: 220px; object-fit: cover; border-radius: 50%; border: 1px solid var(--line); flex-shrink: 0; background: #f3f3f3; }
.hero .tagline { color: var(--muted); font-size: 1.1rem; margin: .5rem 0 1rem; }
.hero .links a { margin-right: 18px; font-size: .98rem; }

/* Sections */
section { padding: 32px 0; }
.item { margin-bottom: 1.6rem; }
.item .meta { color: var(--muted); font-size: .95rem; }
.item ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.item li { margin-bottom: .35rem; }
.row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.row .when { color: var(--muted); font-size: .95rem; white-space: nowrap; }

.callout { background: #fafafa; border-left: 3px solid var(--link); padding: 14px 18px; margin: 1rem 0; font-size: 1rem; }

.pubs { padding-left: 1.2rem; }
.pubs li { margin-bottom: .7rem; }

footer { border-top: 1px solid var(--line); margin-top: 32px; padding: 24px 0 48px; color: var(--muted); font-size: .9rem; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero { flex-direction: column; text-align: center; padding-top: 36px; }
  .hero img { width: 170px; height: 170px; }
  h1 { font-size: 1.8rem; }
}
