/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAUi-qNiXg7eU0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAXC-qNiXg7Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_FQftx9897sxZ.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_Gwftx9897g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjxAwXiWtFCfQ7A.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjx4wXiWtFCc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwaPGQ3q5d0N7w.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --text: #222;
  --muted: #666;
  --link: #1772d0;
  --link-hover: #f09228;
  --rule: #e2e5e9;
  --featured: #fffbe6;
  --accent: #c0392b;
}

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

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

a:focus,
a:hover {
  color: var(--link-hover);
  text-decoration: none;
}

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 8px 0;
}

.page {
  box-sizing: border-box;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 16px 32px;
}

.sep {
  color: #999;
  margin: 0 3px;
}

/* Section navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 22px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
}

h2 {
  margin: 20px 0 10px;
  font-size: 24px;
  font-weight: 400;
}

section > ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

/* News */
.news {
  list-style: none;
  padding-left: 0;
}

.news li {
  position: relative;
  margin-bottom: 6px;
  padding-left: 88px;
}

.news-date {
  position: absolute;
  left: 0;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.news li a {
  font-weight: 700;
}

/* Papers */
.papers-note {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14.5px;
}

.legend-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 4px;
  vertical-align: -2px;
  background: var(--featured);
  border: 1px solid #ecdf9a;
  border-radius: 3px;
}

.paper-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.paper-nav a {
  padding: 4px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 14.5px;
}

.paper-nav a:hover {
  border-color: var(--link-hover);
}

.paper-nav .count {
  color: var(--muted);
  font-size: 13px;
}

.category {
  margin: 28px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--rule);
  font-size: 19px;
  font-weight: 700;
}

.paper {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-bottom: 6px;
  padding: 14px 12px;
  border-radius: 10px;
}

.paper.featured {
  background: var(--featured);
}

.paper-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #f3f4f6;
}

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

.paper-media.contain {
  background: #fff;
  border: 1px solid var(--rule);
}

.paper-media.contain img,
.paper-media.contain video {
  object-fit: contain;
}

.paper-body p {
  margin: 0;
}

.paper-title {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.title-icon {
  margin-right: 4px;
  vertical-align: -2px;
}

.paper-authors {
  font-size: 15px;
}

.more-authors {
  display: none;
}

.paper-authors.expanded .more-authors {
  display: inline;
}

.authors-toggle {
  padding: 0 6px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #fff;
  color: var(--link);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.authors-toggle:hover {
  color: var(--link-hover);
}

.paper-venue {
  margin-top: 4px !important;
  font-size: 15px;
}

.venue {
  font-weight: 700;
}

.venue-preprint {
  font-weight: 400;
  color: var(--muted);
}

.award {
  color: var(--accent);
  font-weight: 700;
}

.paper-links {
  margin-top: 2px !important;
  font-size: 15px;
}

@media (max-width: 640px) {
  .paper {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 10px;
  }
}

/* Biography and portrait */
.profile {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 24px 4px;
}

.profile-bio {
  flex: 1;
  min-width: 0;
}

.profile-bio p {
  line-height: 1.65;
}

.profile-name {
  margin: 0 0 16px;
  font-size: 32px;
  font-weight: 400;
  text-align: left;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
}

.profile-photo {
  flex: 0 0 208px;
  margin: 0;
}

.profile-photo img {
  display: block;
  width: 208px;
  height: 208px;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(20, 35, 50, 0.08);
}

@media (max-width: 640px) {
  .profile {
    flex-direction: column;
    gap: 20px;
    padding: 24px 16px;
  }

  .profile-photo {
    order: -1;
    flex: none;
  }

  .profile-photo img {
    width: 176px;
    height: 176px;
  }

  .profile-name {
    text-align: center;
  }

  .profile-links {
    justify-content: center;
  }
}

/* Author footnotes (equal contribution / corresponding author) */
.author-note {
  display: inline-block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted, #6b7280);
}
.author-note sup {
  font-size: 0.85em;
}
