:root {
  --ink: #202124;
  --muted: #5f6368;
  --line: #dfe3e8;
  --blue: #1769aa;
  --blue-dark: #0b4f82;
  --soft-blue: #eef6fb;
  --surface: #f7f9fa;
  --sans: Arial, Helvetica, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

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

img {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.55rem 0.85rem;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
}

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

.section-shell,
.nav-shell {
  width: min(920px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.site-header.is-scrolled {
  box-shadow: 0 2px 8px rgba(32, 33, 36, 0.06);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
}

.wordmark {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
}

.wordmark:hover {
  color: var(--ink);
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 0.3rem;
}

.site-nav a {
  padding: 0.45rem 0.75rem;
  border-radius: 0.2rem;
  color: #3c4043;
  font-size: 0.9rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue-dark);
  background: var(--soft-blue);
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(230px, 0.7fr);
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
  padding-block: 4.5rem 4rem;
}

.hero-copy {
  min-width: 0;
}

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

h1,
h2,
h3 {
  line-height: 1.25;
}

h1,
h2 {
  font-family: var(--serif);
}

h1 {
  margin-bottom: 0.2rem;
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.hero-role {
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 1rem;
}

.hero-lede {
  margin-bottom: 0.85rem;
  font-size: 1.05rem;
}

.hero-detail {
  margin-bottom: 0;
  color: var(--muted);
}

.hero-portrait-wrap {
  width: 100%;
  max-width: 285px;
  justify-self: end;
}

.hero-portrait {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  border-radius: 0.25rem;
  box-shadow: 0 2px 9px rgba(32, 33, 36, 0.18);
  object-fit: cover;
  object-position: 50% 50%;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 1.35rem 0;
}

.profile-links a {
  font-size: 0.92rem;
}

.profile-links span {
  font-size: 0.8em;
}

.focus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.focus-list span {
  padding: 0.2rem 0.55rem;
  border: 1px solid #c9dce8;
  border-radius: 0.2rem;
  color: #31586f;
  background: var(--soft-blue);
  font-size: 0.78rem;
}

.section {
  padding-block: 3.5rem;
  border-top: 1px solid var(--line);
}

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

.eyebrow {
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(1.4rem, 2.5vw, 1.6rem);
  font-weight: 700;
}

.news-list {
  max-width: 820px;
}

.news-item {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 0.55rem 0;
}

.news-item time {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.news-item p {
  margin-bottom: 0;
}

.news-item p::before {
  margin-right: 0.55rem;
  color: #9aa0a6;
  content: "•";
}

.text-button {
  margin-top: 0.75rem;
  padding: 0;
  border: 0;
  color: var(--blue);
  background: transparent;
  font: 400 0.85rem var(--sans);
  cursor: pointer;
}

.text-button:hover {
  text-decoration: underline;
}

.research-heading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.8fr);
  gap: 2rem;
  align-items: end;
}

.research-heading > p {
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.publication-list {
  display: grid;
  gap: 0;
}

.publication {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.75rem;
  padding-block: 1.65rem;
  border-top: 1px solid var(--line);
}

.publication:last-child {
  border-bottom: 1px solid var(--line);
}

.publication-media {
  position: relative;
  display: block;
  align-self: start;
  height: 145px;
  overflow: hidden;
  border: 1px solid #e4e7ea;
  border-radius: 0.2rem;
  background: var(--surface);
}

.publication-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue-badge {
  position: absolute;
  right: 0.45rem;
  bottom: 0.45rem;
  padding: 0.18rem 0.42rem;
  border-radius: 0.18rem;
  color: #fff;
  background: rgba(32, 33, 36, 0.84);
  font-size: 0.62rem;
  font-weight: 700;
}

.publication-copy {
  align-self: center;
}

.publication-kicker {
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.publication h3 {
  margin-bottom: 0.45rem;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 700;
}

.authors {
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.authors strong {
  color: var(--ink);
}

.publication-summary {
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

.paper-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.paper-links a {
  font-size: 0.82rem;
}

.paper-links a::before {
  content: "[";
}

.paper-links a::after {
  content: "]";
}

.timeline {
  max-width: 820px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.timeline-item:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline-date {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.timeline-item h3 {
  margin-bottom: 0.15rem;
  font-family: var(--serif);
  font-size: 1.08rem;
}

.timeline-role {
  margin-bottom: 0.2rem;
  font-size: 0.86rem;
  font-weight: 700;
}

.timeline-item div > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact {
  margin-block: 3.5rem;
  padding: 2rem;
  border: 1px solid #c9dce8;
  border-radius: 0.25rem;
  background: var(--soft-blue);
}

.contact h2 {
  margin-bottom: 0.5rem;
}

.contact p {
  max-width: 680px;
  margin-bottom: 0.65rem;
  color: var(--muted);
}

.contact-link {
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
  color: var(--muted);
  font-size: 0.76rem;
}

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

@media (max-width: 720px) {
  html {
    scroll-padding-top: 7.5rem;
  }

  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
    padding-block: 0.65rem;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .site-nav a {
    padding: 0.35rem 0.3rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: 3rem;
  }

  .hero-portrait-wrap {
    width: min(100%, 310px);
    max-width: none;
    justify-self: start;
    grid-row: 1;
  }

  .hero-copy {
    grid-row: 2;
  }

  .research-heading {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .publication {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 1.2rem;
  }
}

@media (max-width: 520px) {
  .section-shell,
  .nav-shell {
    width: min(100% - 1.5rem, 920px);
  }

  .hero-portrait-wrap {
    width: 100%;
  }

  .hero-portrait {
    aspect-ratio: 4 / 5;
  }

  .news-item {
    grid-template-columns: 3.6rem 1fr;
    gap: 0.5rem;
  }

  .publication {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .publication-media {
    width: 100%;
    height: 190px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .contact {
    width: 100%;
    margin-bottom: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

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