:root {
  --background: #f5f9fc;
  --ink: #23374a;
  --muted: #5d7284;
  --blue: #1677a8;
  --sky: #70bee6;
  --line: #dce8f0;
  --serif: Georgia,"Times New Roman","Songti SC",SimSun,serif;
  --sans: -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(ellipse at 90% 12%,#e7f4fc 0,transparent 37%),var(--background);
  font: 15px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

a: hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

button {
  font: inherit;
}

button,a {
  -webkit-tap-highlight-color: transparent;
}

a: focus-visible,button:focus-visible {
  outline: 3px solid #2398d0;
  outline-offset: 5px;
  border-radius: 3px;
}

.wrap {
  width: min(1020px,calc(100% - 96px));
  margin-inline: auto;
}

.site-header {
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: flex;
  align-items: center;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -.4px;
  color: var(--ink);
}

.wordmark:hover {
  text-decoration: none;
}

.brand-mark {
  width: 13px;
  height: 13px;
  background: var(--sky);
  border-radius: 50%;
  margin-right: 11px;
  box-shadow: 0 0 0 5px #e5f2fa;
}

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

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

.hero {
  display: grid;
  grid-template-columns: minmax(0,1fr) 244px;
  gap: 86px;
  padding: 77px 0 74px;
  align-items: center;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--blue);
  font-weight: 650;
  margin: 0 0 19px;
  display: flex;
  align-items: center;
  gap: 10px;
}

h1 {
  font-family: var(--serif);
  font-size: 66px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -2px;
  margin: 0 0 19px;
}

p {
  margin: 0;
}

.role {
  color: var(--blue);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 7px;
}

.affiliation {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

.bio {
  margin-top: 23px;
  max-width: 575px;
  font-size: 14px;
  line-height: 1.9;
}

.bio p+p {
  margin-top: 11px;
}

.research-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.research-tags span {
  font-size: 11px;
  color: #386785;
  background: #e8f2f9;
  border: 1px solid #dcebf5;
  padding: 3px 10px;
  border-radius: 4px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
  font-size: 12px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.social-links svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.portrait {
  margin: 0;
  position: relative;
  align-self: center;
}

.portrait-frame {
  position: relative;
  padding: 9px;
  background: #fff;
  border: 1px solid #dce9f1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 30px #314f6b0a;
}

.portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.publications {
  padding: 40px 0 24px;
  border-top: 1px solid var(--line);
}

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

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

h2 {
  font: 400 34px/1.3 var(--serif);
  letter-spacing: -.6px;
  margin: 0;
}

.paper {
  display: grid;
  grid-template-columns: 184px minmax(0,1fr);
  gap: 29px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.paper:last-child {
  border-bottom: none;
}

.paper-image {
  width: 184px;
  height: auto;
  object-fit: contain;
  border: 1px solid #d7e5ee;
  border-radius: 5px;
  background: #fff;
  display: block;
  padding: 2px;
}

.paper-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 5px;
}

.venue {
  color: var(--blue);
  font-weight: 650;
  letter-spacing: .5px;
}

.paper h3 {
  font: 600 17px/1.45 var(--sans);
  letter-spacing: -.2px;
  margin: 0 0 5px;
}

.authors {
  font-size: 12px;
  color: var(--muted);
}

.authors strong {
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: #afcadb;
  text-underline-offset: 3px;
}

.empty-state {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
  margin-top: 6px;
}

.paper-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 9px;
  font-size: 11px;
}

.paper-links a:after {
  content: " ↗";
  font-size: 10px;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 25px;
  padding: 25px 0 35px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}

.site-footer a {
  color: var(--muted);
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: #fff;
  padding: 10px;
  z-index: 5;
}

.skip-link:focus {
  top: 10px;
}

[hidden] {
  display: none!important;
}

@media(min-width:1400px) {
  .hero {
    padding-top: 92px;
    padding-bottom: 88px;
  }
}

@media(max-width:800px) {
  .wrap {
    width: calc(100% - 56px);
  }
  .hero {
    gap: 35px;
    grid-template-columns: minmax(0,1fr) 190px;
    padding: 55px 0;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.2px;
  }
  h1 {
    font-size: 54px;
  }
  .paper {
    grid-template-columns: 160px minmax(0,1fr);
    gap: 23px;
  }
  .paper-image {
    width: 160px;
    height: auto;
  }
}

@media(max-width:580px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 80px;
  }
  nav {
    gap: 15px;
  }
  nav>a {
    font-size: 11px;
  }
  .wordmark {
    font-size: 14px;
  }
  .brand-mark {
    width: 9px;
    height: 9px;
    margin-right: 8px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding: 42px 0;
  }
  h1 {
    font-size: 52px;
  }
  .bio {
    font-size: 14px;
  }
  .portrait {
    width: 180px;
    align-self: center;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }
  .publications {
    padding-top: 30px;
  }
  h2 {
    font-size: 30px;
  }
  .paper {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 26px 0;
  }
  .paper-image {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .paper h3 {
    font-size: 17px;
  }
  .empty-state {
    font-size: 13px;
  }
  .site-footer {
    font-size: 9px;
    gap: 15px;
  }
  .social-links {
    gap: 16px;
  }
}

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

.paper-preview {
  display: block;
  align-self: center;
}

.author {
  white-space: nowrap;
}

.author-marker {
  font-size: .75em;
  line-height: 0;
  vertical-align: super;
  margin-left: 1px;
  color: var(--ink);
}

.author-placeholder {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  line-height: inherit;
  cursor: pointer;
}

.author-placeholder:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
