:root {
  --ink: #242424;
  --muted: #555;
  --line: #e5e5e5;
  --wvu-blue: #002855;
  --wvu-gold: #eaaa00;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

a {
  overflow-wrap: anywhere;
  color: var(--wvu-blue);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: var(--wvu-gold);
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid var(--wvu-blue);
  outline-offset: 4px;
}

.site-header,
.hero,
.section,
.site-footer {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.site-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.site-name {
  color: var(--wvu-blue);
  font-weight: 700;
  text-decoration: none;
}

.nav-links,
.contact-list,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.nav-links {
  font-size: 0.94rem;
}

.hero {
  padding-top: 28px;
  padding-bottom: 20px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.3;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(1.7rem, 4vw, 2.1rem);
}

h2 {
  margin-bottom: 18px;
  font-size: 1.4rem;
}

h3 {
  margin-bottom: 6px;
  font-size: 1.08rem;
}

p {
  margin-bottom: 16px;
}

.eyebrow,
.section-kicker {
  margin-bottom: 8px;
  color: var(--wvu-gold);
  font-size: 0.9rem;
  font-weight: 700;
}

.intro-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.intro-title {
  margin-bottom: 2px;
  font-size: 1.25rem;
  font-weight: 700;
}

.intro-role {
  margin-bottom: 8px;
  color: var(--muted);
}

.portrait {
  display: block;
  flex: 0 0 140px;
  width: 140px;
  height: 160px;
  object-fit: cover;
  object-position: center 35%;
}

.lab-artwork {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 24px;
}

.course-section {
  padding-top: 0;
}

.course-list {
  gap: 32px;
}

.course-list h2 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.course-list ul {
  margin: 12px 0 0;
  padding-left: 1.25rem;
}

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

.contact-list,
.link-row {
  font-size: 0.94rem;
}

.lede,
.prose {
  font-size: 1rem;
}

.section {
  padding-top: 28px;
  padding-bottom: 20px;
}

.section-heading {
  margin-bottom: 20px;
}

.two-column,
.compact-grid,
.paper-list,
.course-list,
.student-list,
.funding-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.paper-list article,
.course-list article,
.student-list article,
.funding-list article,
.cv-card {
  min-width: 0;
}

.paper-list article > p,
.course-list article > p,
.student-list article > p,
.funding-list article > p {
  margin-bottom: 8px;
}

.news-list {
  margin: 0;
  padding-left: 1.25rem;
}

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

.news-list span {
  margin-right: 8px;
  font-weight: 700;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 24px;
  padding-top: 20px;
  padding-bottom: 28px;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer p {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .site-header {
    flex-direction: column;
    gap: 10px;
    padding-bottom: 16px;
  }

  .site-header,
  .hero,
  .section,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .intro-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .portrait {
    flex-basis: auto;
  }

}
