:root {
  --blue-900: #04324d;
  --blue-800: #064a73;
  --blue-700: #086493;
  --blue-100: #eaf3f8;
  --blue-050: #f5f9fc;
  --ink: #16242d;
  --muted: #53656f;
  --white: #ffffff;
  --gold: #8b5b00;
  --gold-bg: #fff4d6;
  --border: #c9dbe5;
  --shadow: 0 14px 35px rgb(3 45 70 / 14%);
  --page-width: 70rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

a {
  color: var(--blue-700);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--blue-900);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid #f2b84b;
  outline-offset: 4px;
  border-radius: 0.15rem;
}

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

h1,
h2,
h3,
h4 {
  color: var(--blue-900);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.18;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
  color: var(--white);
  font-size: clamp(3rem, 8vw, 5.7rem);
  font-weight: 600;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 0.4rem;
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 1.25rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
}

h4 {
  margin-bottom: 0;
  font-size: clamp(1.18rem, 2vw, 1.4rem);
}

.page-width {
  width: min(calc(100% - 2rem), var(--page-width));
  margin-inline: auto;
}

.readable {
  max-width: 51rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  color: var(--blue-900);
  background: var(--white);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  color: var(--white);
  background:
    radial-gradient(circle at 85% 35%, rgb(86 172 210 / 28%), transparent 28rem),
    linear-gradient(135deg, var(--blue-900), var(--blue-700));
}

.site-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgb(255 255 255 / 18%);
  background: rgb(4 50 77 / 94%);
  backdrop-filter: blur(10px);
}

.nav-inner {
  display: flex;
  width: min(calc(100% - 2rem), var(--page-width));
  min-height: 4.2rem;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.top-link {
  gap: 0.3rem;
  color: var(--white);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.top-link:hover,
.top-link:focus-visible,
.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
}

.nav-links {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: clamp(0.8rem, 3vw, 2rem);
  list-style: none;
}

.top-item {
  margin-right: auto;
}

.nav-links li,
.nav-links a {
  display: inline-flex;
  align-items: center;
}

.nav-links a {
  color: #e6f4fb;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
}

.nav-links a:hover {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.hero {
  display: grid;
  min-height: 36rem;
  padding-block: clamp(4.5rem, 9vw, 8rem);
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 22rem);
  gap: clamp(2.5rem, 7vw, 7rem);
}

.eyebrow,
.section-kicker {
  margin-bottom: 0.55rem;
  color: #9edcf7;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.role {
  margin-bottom: 0.25rem;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 650;
}

.institution {
  margin-bottom: 2rem;
  color: #d2e9f5;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 0.35rem;
  font-weight: 750;
  text-decoration: none;
}

.button-light {
  color: var(--blue-900);
  background: var(--white);
}

.button-light:hover {
  color: var(--blue-700);
  background: #edf8fd;
}

.button-outline {
  border-color: rgb(255 255 255 / 65%);
  color: var(--white);
}

.button-outline:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgb(255 255 255 / 10%);
}

.portrait-figure {
  display: grid;
  justify-items: stretch;
  margin: 0;
}

.portrait {
  display: block;
  width: 100%;
  height: auto;
  border: 0.45rem solid rgb(255 255 255 / 80%);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}

.photo-credit {
  width: 100%;
  margin-top: 0.45rem;
  padding-inline: 0.25rem;
  color: #c9e5f2;
  font-size: 0.64rem;
  line-height: 1.3;
  text-align: center;
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading .section-kicker {
  color: var(--blue-700);
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.updated {
  font-size: 0.9rem;
}

.text-link {
  font-weight: 750;
}

.publications-section {
  background: var(--blue-100);
}

.publications-intro {
  max-width: 48rem;
}

.publication-group + .publication-group {
  margin-top: clamp(3.5rem, 7vw, 6rem);
}

.publication-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 1rem;
  list-style: none;
}

.publication {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--white);
  box-shadow: 0 4px 18px rgb(3 45 70 / 6%);
}

.publication-title {
  display: grid;
  margin-bottom: 0.7rem;
  align-items: start;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
}

.year {
  display: inline-flex;
  min-width: 3.7rem;
  min-height: 1.8rem;
  padding: 0.15rem 0.55rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.authors,
.venue,
.related-work {
  margin-bottom: 0.45rem;
}

.authors {
  color: var(--blue-900);
  font-weight: 650;
}

.venue,
.related-work {
  color: var(--muted);
}

.related-work {
  font-size: 0.94rem;
}

.award {
  display: inline-block;
  margin-block: 0.45rem 0.3rem;
  padding: 0.4rem 0.65rem;
  border-radius: 0.35rem;
  color: var(--gold);
  background: var(--gold-bg);
  font-size: 0.9rem;
  font-weight: 700;
}

.award a {
  color: inherit;
}

.publication-links {
  display: flex;
  margin-top: 0.9rem;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.publication-links a {
  display: inline-flex;
  min-height: 2.25rem;
  padding: 0.28rem 0.7rem;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--blue-050);
  font-size: 0.85rem;
  font-weight: 750;
  text-decoration: none;
}

.publication-links a:hover {
  border-color: var(--blue-700);
  background: var(--white);
}

.author-details {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.author-details summary {
  width: fit-content;
  color: var(--blue-700);
  font-weight: 750;
  cursor: pointer;
}

.author-details p {
  margin: 0.65rem 0 0;
}

.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(19rem, 1.25fr);
  gap: clamp(2.5rem, 8vw, 7rem);
}

.contact-details {
  align-self: start;
}

.contact-links {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.75rem;
  list-style: none;
}

.contact-links li {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 1rem;
}

.contact-links span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 48rem) {
  html {
    scroll-padding-top: 5rem;
  }

  .nav-inner {
    min-height: 4.2rem;
  }

  .nav-links {
    justify-content: space-between;
    gap: 0;
  }

  .top-item {
    margin-right: 0;
  }

  .top-label {
    display: none;
  }

  .top-link,
  .nav-links a {
    font-size: 0.83rem;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .portrait-figure {
    width: min(100%, 19rem);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 32rem) {
  .publication-title {
    grid-template-columns: 1fr;
  }

  .year {
    width: fit-content;
  }

  .contact-links li {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
