*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1a2744;
  --accent: #1a2744;
  --light: #f7f7f5;
  --border: #ddd;
  --text: #1a2744;
  --muted: #555;
  --max-w: 860px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: Georgia, serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
}

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

a:hover { text-decoration: underline; }

nav {
  position: sticky;
  top: 0;
  background: var(--accent);
  z-index: 100;
  padding: 0 1.5rem;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}

.nav-name {
  color: #e6e8ee;
  font-size: 0.95rem;
  font-weight: bold;
  letter-spacing: 0.02em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.8rem;
}

nav ul li a {
  color: #ccc;
  font-size: 0.9rem;
  font-family: "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.03em;
  transition: color 0.15s;
}

nav ul li a:hover {
  color: #e6e8ee;
  text-decoration: none;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4rem 0;
}

section:nth-of-type(even) {
  background: var(--light);
}

section h2 {
  font-size: 1.6rem;
  color: var(--navy);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.4rem;
  margin-bottom: 2rem;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
}

.about-grid {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 2.5rem;
  align-items: center;
}

.headshot {
  width: 200px;
  height: auto;
  border-radius: 4px;
  display: block;
}

.about-text h1 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.about-text .title {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
  font-style: italic;
}

.about-text .affiliation {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.about-text .bio {
  margin-bottom: 0.9rem;
  font-size: 0.97rem;
}

.contact-links {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.contact-links .sep {
  margin: 0 0.5rem;
  color: var(--muted);
}

.research-block,
.cv-block {
  margin-bottom: 2.5rem;
}

.research-block h3,
.cv-block h3 {
  font-size: 0.85rem;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.paper-list {
  list-style: decimal;
  padding-left: 1.4rem;
}

.paper-list li {
  margin-bottom: 1.2rem;
  font-size: 0.96rem;
  line-height: 1.6;
}

.paper-title {
  font-weight: bold;
  color: var(--text);
}

a.paper-title {
  color: var(--accent);
  text-decoration: none;
}

a.paper-title:hover {
  text-decoration: underline;
}

.cv-table {
  width: 100%;
  border-collapse: collapse;
}

.cv-table tr {
  border-bottom: 1px solid var(--border);
}

.cv-table td {
  padding: 0.6rem 0;
  font-size: 0.93rem;
  vertical-align: top;
  line-height: 1.5;
}

.cv-date {
  text-align: right;
  white-space: nowrap;
  color: var(--muted);
  padding-left: 1.5rem;
  font-size: 0.88rem;
}

.cv-download {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  background: var(--navy);
  color: #e6e8ee !important;
  padding: 0.5rem 1.2rem;
  border-radius: 3px;
  font-size: 0.88rem;
  font-family: "Helvetica Neue", Arial, sans-serif;
  text-decoration: none !important;
  transition: background 0.2s;
}

.btn:hover { background: var(--accent); }

.pdf-viewer iframe {
  width: 100%;
  height: 900px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
}

.contact-grid {
  font-size: 0.95rem;
  line-height: 1.8;
}

footer {
  background: var(--accent);
  color: #aaa;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.8rem;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

@media (max-width: 640px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .headshot {
    width: 160px;
  }

  .nav-name { display: none; }
  nav ul { gap: 1rem; }
}
