:root {
  --page: #fbfaf7;
  --surface: #ffffff;
  --soft: #f1f5f9;
  --text: #172033;
  --muted: #5c6878;
  --faint: #8b96a5;
  --link: #174f8a;
  --link-dark: #0f355d;
  --accent: #b44a2c;
  --rule: #d9dee7;
  --rule-soft: #e8ecf2;
  --max: 1180px;
  --shadow: 0 18px 45px rgba(18, 32, 51, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(23, 79, 138, 0.08), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, var(--page) 38%, #ffffff 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

a:hover,
a:focus {
  color: var(--link-dark);
  text-decoration: underline;
}

.page {
  margin: 0 auto;
  max-width: var(--max);
  padding: 30px 28px 40px;
}

.site-header {
  align-items: center;
  border-bottom: 0;
  display: flex;
  gap: 28px;
  justify-content: flex-end;
  padding-bottom: 10px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: flex-end;
}

nav a {
  color: var(--muted);
  font-size: 14px;
}

main {
  padding-top: 30px;
}

section {
  border-bottom: 1px solid var(--rule);
  padding: 46px 0;
}

section:first-child {
  padding-top: 0;
}

section:last-of-type {
  border-bottom: 0;
}

h1,
h2,
h3 {
  color: #101827;
  margin-top: 0;
}

h1 {
  font-size: clamp(34px, 4.4vw, 48px);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1.06;
  margin-bottom: 16px;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 3.3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 12px;
}

h3 {
  font-size: 17px;
  line-height: 1.35;
  margin-bottom: 8px;
}

p {
  margin: 0 0 14px;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.lead {
  color: var(--text);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

.hero {
  border-bottom: 0;
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 260px;
  padding: 4px 0 30px;
}

.profile-intro {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: 300px minmax(0, 1fr);
}

.profile-photo {
  align-items: center;
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(135deg, rgba(23, 79, 138, 0.16), rgba(23, 79, 138, 0.04)),
    #dbe7f3;
  border-radius: 9999px;
  color: var(--link-dark);
  display: flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  height: 300px;
  justify-content: center;
  letter-spacing: 0.06em;
  overflow: hidden;
  width: 300px;
}

.profile-photo img {
  display: block;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 35%;
  width: 100%;
}

.profile-text p {
  color: var(--muted);
  max-width: 660px;
}

.role {
  color: var(--text) !important;
  font-size: 16px;
  line-height: 1.35;
  margin-bottom: 2px;
}

.role-sub {
  color: var(--link) !important;
  font-size: 16px;
  line-height: 1.35;
  margin-bottom: 2px;
}

.research-line {
  color: var(--text) !important;
  font-size: 15px;
  font-weight: 650;
  margin: 22px 0 24px;
}

.email-line {
  color: var(--text) !important;
  font-size: 16px;
  margin-bottom: 8px;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 4px;
}

.hero-links a {
  color: var(--link);
  font-size: 16px;
}

.hero-links a::before {
  color: var(--faint);
  content: "[";
}

.hero-links a::after {
  color: var(--faint);
  content: "]";
}

.primary-link {
  background: var(--link);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 650;
  padding: 8px 15px;
}

.primary-link:hover,
.primary-link:focus {
  background: var(--link-dark);
  color: #ffffff;
  text-decoration: none;
}

.news-card {
  align-self: start;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--rule-soft);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  height: 340px;
  margin-bottom: 0;
  padding: 14px 14px 10px;
}

.news-card h2 {
  border-bottom: 1px solid var(--rule-soft);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 10px;
  padding-bottom: 7px;
}

.bio-summary {
  border-top: 1px solid var(--rule);
  padding: 30px 0;
}

.bio-summary p {
  color: #374151;
  font-size: 18px;
  line-height: 1.65;
  max-width: none;
  text-align: justify;
  text-justify: inter-word;
}

.resume-section {
  max-width: none;
}

.resume-section h2 {
  border-bottom: 1px solid var(--rule);
  font-size: 24px;
  margin-bottom: 16px;
  padding-bottom: 8px;
}

.resume-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.resume-list li {
  border-bottom: 1px solid var(--rule-soft);
  display: grid;
  gap: 18px;
  grid-template-columns: 135px minmax(0, 1fr);
  padding: 12px 0;
}

.resume-list li:first-child {
  padding-top: 0;
}

.resume-list li:last-child {
  border-bottom: 0;
}

.resume-date {
  color: #4b5563;
  font-size: 13px;
  padding-top: 2px;
}

.resume-list strong {
  color: var(--text);
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

.resume-list p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.resume-list .resume-org {
  color: var(--link-dark);
  font-size: 14px;
  margin-top: 1px;
}

.resume-details {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 6px 0 0;
  padding-left: 18px;
}

.resume-details li {
  border-bottom: 0;
  display: list-item;
  margin-bottom: 4px;
  padding: 0;
}

.compact-resume li {
  grid-template-columns: 58px minmax(0, 1fr);
}

.subsection-heading {
  margin-top: 28px;
}

.honors-list {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  padding-left: 18px;
}

.honors-list li {
  margin-bottom: 6px;
}

.honors-section h2 {
  border-bottom: 1px solid var(--rule);
  font-size: 24px;
  margin-bottom: 14px;
  padding-bottom: 8px;
}

.impact-strip {
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr 1fr 1.5fr;
  overflow: hidden;
  padding: 0;
}

.impact-strip div {
  background: var(--surface);
  padding: 20px 22px;
}

.impact-strip strong {
  color: var(--link-dark);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 5px;
}

.impact-strip span {
  color: var(--muted);
  font-size: 14px;
}

.two-column {
  display: grid;
  gap: 42px;
  grid-template-columns: 270px minmax(0, 1fr);
}

.section-heading {
  position: sticky;
  top: 24px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
}

.research-grid,
.experience-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

.research-grid article,
.experience-grid article,
.selected-work article {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--rule-soft);
  border-radius: 15px;
  padding: 18px;
}

.research-grid p,
.experience-grid p,
.selected-work p,
.timeline p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0;
}

.experience-grid span {
  color: var(--accent);
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.experience-grid .resume-org {
  color: var(--link-dark);
  margin-bottom: 8px;
}

.selected-work {
  display: grid;
  gap: 16px;
}

.selected-work article {
  border-left: 4px solid var(--link);
}

.selected-work span {
  color: var(--accent);
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.news-section {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--rule-soft);
  border-radius: 18px;
  margin: 46px 0;
  padding: 32px;
}

.news-list {
  display: block;
  flex: 1;
  list-style: disc;
  margin: 0;
  max-height: none;
  min-height: 0;
  overflow-y: auto;
  padding: 0 6px 0 18px;
}

.news-list li {
  margin-bottom: 8px;
}

.news-list time,
.timeline span,
.year {
  color: var(--faint);
  font-size: 12px;
}

.news-list span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.news-list::-webkit-scrollbar {
  width: 5px;
}

.news-list::-webkit-scrollbar-thumb {
  background: var(--rule);
  border-radius: 99px;
}

.timeline {
  display: grid;
  gap: 22px;
}

.timeline article {
  border-bottom: 1px solid var(--rule-soft);
  padding-bottom: 22px;
}

.timeline article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.timeline span {
  display: block;
  margin-bottom: 5px;
}

.credentials {
  display: grid;
  gap: 42px;
  grid-template-columns: 1fr 1fr;
}

.credentials p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 9px;
}

.closing {
  background: var(--link-dark);
  border: 0;
  border-radius: 20px;
  color: #dfeaf5;
  margin-top: 30px;
  padding: 34px;
}

.closing h2 {
  color: #ffffff;
}

.closing p {
  max-width: 780px;
}

.pub-page-header {
  max-width: 780px;
}

.pubs {
  display: grid;
  gap: 17px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pubs li {
  display: grid;
  gap: 16px;
  grid-template-columns: 64px 1fr;
}

.pubs strong {
  color: #101827;
  font-weight: 650;
}

.pubs em {
  color: var(--muted);
  display: inline;
  font-style: italic;
}

.full-pubs li {
  border-bottom: 1px solid var(--rule-soft);
  padding-bottom: 17px;
}

.full-pubs li:last-child {
  border-bottom: 0;
}

footer {
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 14px;
  margin-top: 36px;
  padding-top: 20px;
}

footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  nav {
    justify-content: flex-start;
  }

  .hero,
  .two-column,
  .resume-section,
  .credentials {
    grid-template-columns: 1fr;
  }

  .section-heading {
    position: static;
  }

  .news-card {
    max-width: 620px;
  }

  .impact-strip {
    grid-template-columns: 1fr;
  }

  .profile-intro {
    align-items: start;
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .profile-photo {
    height: 220px;
    width: 220px;
  }
}

@media (max-width: 620px) {
  .page {
    padding: 18px 20px 34px;
  }

  main {
    padding-top: 22px;
  }

  section {
    padding: 30px 0;
  }

  .hero {
    gap: 22px;
  }

  .profile-intro {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .profile-photo {
    flex: 0 0 170px;
    height: 170px !important;
    justify-self: center;
    max-height: 170px;
    max-width: 170px;
    min-height: 170px;
    min-width: 170px;
    width: 170px !important;
  }

  h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  .role,
  .role-sub,
  .email-line,
  .hero-links a {
    font-size: 15px;
  }

  nav {
    gap: 10px;
  }

  nav a {
    font-size: 14px;
  }

  .research-grid,
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .news-card,
  .closing {
    padding: 24px;
  }

  .news-card {
    height: 220px;
  }

  .news-list li,
  .pubs li,
  .resume-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
