:root {
  --ink: #171719;
  --muted: #68686f;
  --line: #dedee2;
  --soft: #f6f6f7;
  --paper: #ffffff;
  --accent: #8f1d45;
  --accent-soft: #f4e9ed;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

.shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

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

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  height: 68px;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.94);
  transition: border-color 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: "Manrope", sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}

.wordmark span {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  color: #4f4f55;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}

.intro {
  padding-top: 104px;
  padding-bottom: 104px;
}

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

.intro-main {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Manrope", sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 8px;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.12;
}

.role {
  margin: 0 0 40px;
  color: #4d4d53;
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 500;
}

.bio {
  color: #3f3f45;
  font-size: 18px;
  line-height: 1.78;
}

.bio p {
  margin: 0 0 16px;
}

.bio a {
  color: var(--ink);
  font-weight: 500;
}

.research-summary {
  margin-top: 30px;
  color: #3f3f45;
  font-size: 17px;
  line-height: 1.72;
}

.research-summary p {
  margin: 0 0 8px;
}

.research-summary ol {
  margin: 0;
  padding-left: 24px;
}

.research-summary li + li {
  margin-top: 7px;
}

.research-summary strong {
  color: var(--ink);
  font-weight: 600;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 34px;
}

.profile-links a,
.publication-links a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.profile-links a:hover,
.publication-links a:hover {
  color: var(--accent);
}

.profile-links svg,
.publication-links svg,
.contact-link svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.8;
}

.profile-photo {
  margin: 8px 0 0;
}

.profile-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.news-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 66px 0;
}

.news-inner {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 60px;
}

.news-heading .eyebrow {
  margin-bottom: 7px;
}

.news-heading h2 {
  margin-bottom: 0;
  font-size: 32px;
  font-weight: 600;
}

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

.news-list li {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 22px;
  padding-top: 4px;
}

.news-list time {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.news-list p {
  margin: 0;
  color: #3f3f45;
  font-size: 16px;
}

.news-list a {
  color: var(--ink);
  font-weight: 500;
}

.publications-band {
  padding: 102px 0 112px;
  background: var(--soft);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 42px;
}

.section-heading .eyebrow {
  margin-bottom: 9px;
}

.section-heading h2,
.contact h2 {
  margin-bottom: 0;
  font-size: 39px;
  font-weight: 600;
  line-height: 1.18;
}

.publication-list {
  border-top: 1px solid #cfcfd4;
}

.publication {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.48fr);
  gap: 46px;
  padding: 42px 0;
  border-bottom: 1px solid #cfcfd4;
}

.publication-media {
  position: relative;
  display: block;
  align-self: start;
  overflow: hidden;
  aspect-ratio: 1.55 / 1;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.publication-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 320ms ease;
}

.publication-media:hover img {
  transform: scale(1.025);
}

.media-index {
  position: absolute;
  right: 12px;
  bottom: 10px;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 600;
}

.publication-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.publication-meta span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.publication-meta span + span::before {
  content: "/";
  margin-right: 8px;
  color: #b9b9be;
}

.publication h3 {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.34;
}

.authors,
.venue {
  margin: 0;
  color: #55555b;
  font-size: 14px;
  line-height: 1.62;
}

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

.venue {
  margin-top: 8px;
  color: #74747a;
}

.publication-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 20px;
}

.contact {
  padding-top: 100px;
  padding-bottom: 104px;
}

.contact-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.contact-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

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

.footer-inner {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
}

.footer-divider {
  margin-inline: 7px;
  color: #b2b2b7;
}

@media (max-width: 860px) {
  .intro {
    padding-top: 80px;
    padding-bottom: 88px;
  }

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

  .profile-photo {
    width: min(100%, 320px);
    margin-top: 0;
  }

  .news-inner {
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 34px;
  }

  .publication {
    grid-template-columns: 0.78fr 1fr;
    gap: 32px;
  }

  .publication h3 {
    font-size: 20px;
  }

  .contact-row {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .site-header {
    height: 60px;
  }

  .site-nav {
    gap: 13px;
  }

  .site-nav a {
    font-size: 12px;
  }

  .intro {
    padding-top: 62px;
    padding-bottom: 72px;
  }

  h1 {
    font-size: 38px;
  }

  .role {
    margin-bottom: 30px;
    font-size: 17px;
  }

  .bio {
    font-size: 16px;
  }

  .profile-links {
    gap: 8px 18px;
    margin-top: 26px;
  }

  .profile-photo {
    width: min(100%, 290px);
  }

  .news-band {
    padding: 54px 0;
  }

  .news-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .news-list li {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 14px;
  }

  .publications-band {
    padding: 72px 0 80px;
  }

  .section-heading h2,
  .contact h2 {
    font-size: 31px;
  }

  .publication {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 34px 0;
  }

  .publication-media {
    width: 100%;
  }

  .publication h3 {
    font-size: 19px;
  }

  .contact {
    padding-top: 72px;
    padding-bottom: 74px;
  }

  .contact-link {
    max-width: 100%;
    font-size: 14px;
  }

  .contact-link span {
    overflow-wrap: anywhere;
  }

  .footer-inner {
    min-height: 84px;
    text-align: center;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
