:root {
  --paper: #F3F4F1;
  --ink: #1F2328;
  --muted: #5B6470;
  --rule: #D5D9DD;
  --accent: #2E4A8B;
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1.125rem/1.7 var(--serif);
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Header */
.site-header {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: baseline;
  max-width: 72rem; margin: 0 auto; padding: 1.5rem 1.5rem 1rem;
  font-family: var(--sans); font-size: 0.95rem;
}
.site-name { font-weight: 600; color: var(--ink); text-decoration: none; }
.site-name span { font-weight: 400; color: var(--muted); }
nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
nav a { color: var(--muted); text-decoration: none; padding-bottom: 2px; }
nav a:hover { color: var(--ink); }
nav a[aria-current="page"] { color: var(--ink); border-bottom: 2px solid var(--accent); }

/* Landing hero */
.hero { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.hero img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  background: #3A4860; /* shows if the image is missing */
}
.hero h1 {
  font-weight: 400; font-size: clamp(2.4rem, 6vw, 4.75rem);
  line-height: 1.05; letter-spacing: -0.02em;
  margin: 2.5rem 0 1.25rem; max-width: 22ch;
}
.hero p { max-width: 38rem; color: var(--muted); margin: 0 0 3rem; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.35; }

/* Inner pages */
main.page { max-width: 44rem; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
main.page h1 {
  font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.25rem);
  line-height: 1.1; letter-spacing: -0.015em; margin: 1rem 0 2rem;
}
main.page h2 { font-weight: 500; font-size: 1.4rem; margin: 2.5rem 0 0.5rem; }

/* People */
.people { list-style: none; padding: 0; margin: 0; }
.person {
  display: grid; grid-template-columns: 7rem 1fr; gap: 1.5rem;
  padding: 1.75rem 0; border-top: 1px solid var(--rule);
}
.person:last-child { border-bottom: 1px solid var(--rule); }
.person img, .person .initials {
  width: 7rem; height: 7rem; border-radius: 50%; object-fit: cover;
}
.person .initials {
  display: grid; place-items: center; background: var(--rule);
  font: 500 1.6rem var(--sans); color: var(--muted);
}
.person h3 { margin: 0; font-size: 1.3rem; font-weight: 500; }
.person .role { font-family: var(--sans); font-size: 0.9rem; line-height: 1.5; color: var(--muted); margin: 0.25rem 0 0.6rem; }
.degrees { list-style: none; padding: 0; margin: 0 0 0.6rem; font-size: 1rem; line-height: 1.55; }
.person .profile { margin: 0; font-family: var(--sans); font-size: 0.9rem; }
.people + h2 { margin-top: 3rem; }
@media (max-width: 34rem) {
  .person { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer {
  max-width: 72rem; margin: 0 auto; padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--rule);
  font: 0.875rem/1.5 var(--sans); color: var(--muted);
}

/* Projects */
.intro { color: var(--muted); margin-top: -1rem; }
.works { list-style: none; padding: 0; margin: 2rem 0 0; }
.work { padding: 1.5rem 0; border-top: 1px solid var(--rule); }
.work:last-child { border-bottom: 1px solid var(--rule); }
.work .meta { font: 0.85rem/1.4 var(--sans); color: var(--muted); margin: 0 0 0.35rem; }
.work h2 { margin: 0; font-size: 1.35rem; line-height: 1.3; }
.work h2 a { color: var(--ink); text-decoration-color: var(--rule); }
.work h2 a:hover { text-decoration-color: var(--accent); }
.work .authors { font-family: var(--sans); font-size: 0.95rem; margin: 0.3rem 0 0.5rem; }
.work p:last-child { margin: 0; }

/* About aims */
.aims { list-style: none; padding: 0; margin: 0; }
.aims li { margin: 0 0 0.9rem; }
   .work h3 { margin: 0; font-size: 1.2rem; font-weight: 500; line-height: 1.35; }
   .works { margin-top: 1rem; }
.page-image { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-top: 1rem; }
