:root {
  --ink: #1c2126;
  --muted: #5a6470;
  --line: #e3e6ea;
  --accent: #6b4a9a;
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --max-width: 780px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Georgia", "Iowan Old Style", serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}

header.site-header {
  border-bottom: 1px solid var(--line);
  padding: 2.5rem 1.5rem 1.5rem;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.name {
  font-size: 1.9rem;
  font-weight: 700;
  margin: 0 0 0.15rem;
  letter-spacing: -0.01em;
}

.role {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0 0 1.2rem;
}

nav.site-nav {
  display: flex;
  gap: 1.5rem;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

nav.site-nav a {
  color: var(--muted);
  text-decoration: none;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid transparent;
}

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

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

h1.page-title {
  font-size: 1.5rem;
  margin-top: 0;
}

h2.section-title {
  font-size: 1.05rem;
  font-family: "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.4rem;
  margin: 0 0 1rem;
}

section { margin-bottom: 2.2rem; }

.headshot {
  width: 190px;
  height: 190px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.placeholder-note {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85rem;
  color: var(--accent);
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  padding: 0.6rem 0.9rem;
  margin-bottom: 1.5rem;
}

.entry {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.entry:last-child { border-bottom: none; }

.pub-list {
  counter-reset: pub;
}
.pub-list .entry {
  position: relative;
  padding-left: 1.8rem;
}
.pub-list .entry::before {
  counter-increment: pub;
  content: counter(pub) ".";
  position: absolute;
  left: 0;
  top: 0.9rem;
  font-weight: 700;
  color: var(--accent);
}

.entry-title { font-weight: 700; margin: 0 0 0.2rem; }
.entry-meta {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

a { color: var(--accent); }

.cv-item {
  margin-bottom: 1rem;
}
.cv-item:last-child {
  margin-bottom: 0;
}
.cv-degree {
  margin: 0 0 0.15rem;
}

.cv-numbered {
  counter-reset: cvnum;
}
.cv-numbered .cv-item {
  position: relative;
  padding-left: 1.8rem;
}
.cv-numbered .cv-item::before {
  counter-increment: cvnum;
  content: counter(cvnum) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--accent);
}

.scholar-note {
  margin-bottom: 1.5rem;
}

.figure {
  display: block;
  width: 60%;
  max-width: 60%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  margin: 0.8rem auto;
}

.unc-blue { color: #4B9CD3; }
.duke-blue { color: #00539B; }

.cv-download {
  display: inline-block;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  border: 1px solid var(--ink);
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.cv-download:hover { background: var(--ink); color: var(--bg); }

footer.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 480px) {
  nav.site-nav { flex-wrap: wrap; gap: 0.9rem; }
}
