:root {
  --ink: #292d45;
  --muted: #62677f;
  --blue: #4764a8;
  --line: #d9e2f0;
  --tint: rgba(62, 65, 168, 0.08);
  font-family: Inter, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  font-size: 16px;
  background: #fff;
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(
      ellipse at top left,
      rgba(42, 108, 196, 0.15),
      transparent 55%
    ),
    radial-gradient(
      ellipse at bottom right,
      rgba(57, 62, 170, 0.16),
      transparent 55%
    ),
    #f7f9fd;
  background-attachment: fixed;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--blue);
}
button {
  font: inherit;
  cursor: pointer;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #718ef5;
  outline-offset: 5px;
}
.wrap {
  max-width: 1120px;
  margin: auto;
  padding-left: 40px;
  padding-right: 40px;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 105px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.4px;
}
.wordmark span {
  margin-left: 13px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
}
nav {
  display: flex;
  align-items: center;
  gap: 29px;
  font-size: 14px;
}
nav button {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  padding: 7px 11px;
  font-size: 14px;
}
.intro {
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 70px;
  padding: 82px 0 65px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 2.4px;
  color: var(--blue);
  margin: 0 0 22px;
}
h1 {
  font-size: 64px;
  line-height: 1.12;
  letter-spacing: -3px;
  margin: 0 0 19px;
  font-weight: 650;
}
h1 span {
  display: inline-block;
  font-size: 25px;
  letter-spacing: 2px;
  margin-left: 20px;
  font-weight: 400;
  color: #647187;
}
.role {
  font-size: 16px;
  margin: 0 0 27px;
  color: var(--muted);
}
.bio {
  font-size: 17px;
  line-height: 1.8;
  margin: 0 0 15px;
}
.secondary {
  color: var(--muted);
}
.links {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 30px;
  font-size: 14px;
  font-weight: 600;
}
.links .primary {
  color: white;
  background: var(--blue);
  padding: 12px 18px;
  border-radius: 5px;
}
.links .primary:hover {
  background: #173bb6;
}
.news {
  display: flex;
  gap: 29px;
  align-items: baseline;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.news time {
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 650;
  color: var(--blue);
  white-space: nowrap;
}
.news p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  color: var(--muted);
}
.section {
  padding-top: 57px;
  scroll-margin-top: 30px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 29px;
}
.section-head span {
  font-size: 13px;
  color: var(--muted);
}
h2 {
  font-size: 25px;
  letter-spacing: -0.7px;
  font-weight: 600;
  margin: 0;
}
h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
}
.publication {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 29px;
}
.paper-image {
  display: flex;
  align-items: center;
  background: #f8faff;
  border: 1px solid var(--line);
  padding: 15px;
  align-self: start;
  min-height: 243px;
  border-radius: 6px;
}
.paper-image img {
  display: block;
  width: 100%;
  height: auto;
}
.paper-meta {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 9px;
}
.paper-meta span {
  margin-left: 12px;
  color: var(--blue);
  background: #edf1ff;
  border-radius: 3px;
  padding: 4px 7px;
}
.paper-content h3 {
  font-size: 26px;
  letter-spacing: -0.6px;
}
.paper-subtitle {
  margin: 5px 0 13px;
  line-height: 1.4;
  font-size: 18px;
  font-weight: 500;
}
.authors {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
.authors strong {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.equal {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0 13px;
}
.paper-description {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 17px;
  color: var(--muted);
}
.paper-links {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.paper-links a,
.paper-links button {
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #ccd6eb;
  background: white;
  color: var(--blue);
  padding: 6px 11px;
  border-radius: 4px;
}
.paper-links a:hover,
.paper-links button:hover {
  background: var(--tint);
}
#citation {
  grid-column: 1/-1;
  min-width: 0;
  background: var(--tint);
  padding: 20px;
  border-radius: 6px;
}
.citation-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 16px;
  font-size: 14px;
}
#copy-citation {
  justify-self: end;
  color: var(--blue);
  font-weight: 600;
  min-height: 36px;
}
#copy-citation:hover {
  background: var(--tint);
}
#copy-status {
  grid-column: 1 / -1;
  text-align: right;
  color: var(--blue);
}
#copy-status:empty {
  display: none;
}
.citation-toolbar button {
  border: 1px solid var(--line);
  padding: 6px 10px;
  background: white;
  border-radius: 4px;
  font-size: 13px;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.6;
}
.experience-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 25px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
}
.date {
  font-size: 13px;
  color: var(--muted);
  margin: 3px 0 0;
}
.position {
  font-size: 14px;
  color: var(--blue);
  margin: 7px 0 12px;
}
.experience-row div > p:last-child {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.awards ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.awards li {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 17px;
}
.awards time {
  font-size: 12px;
  white-space: nowrap;
  color: var(--muted);
  padding-top: 2px;
}
.contact {
  margin: 65px 0 0;
  padding: 35px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 35px;
  scroll-margin-top: 30px;
}
.contact .eyebrow {
  margin-bottom: 13px;
}
.contact h2 {
  font-size: 31px;
}
.contact p:last-child {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 390px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
  font-size: 14px;
  color: var(--blue);
}
footer {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 23px;
  padding-bottom: 28px;
}
.skip {
  position: absolute;
  left: 15px;
  top: -80px;
  background: white;
  padding: 10px;
  z-index: 10;
}
.skip:focus {
  top: 10px;
}
html[lang="zh-CN"] h1 {
  letter-spacing: -1.5px;
}
html[lang="zh-CN"] .bio {
  line-height: 1.95;
}
@media (min-width: 1450px) {
  .wrap {
    max-width: 1220px;
  }
  .intro {
    grid-template-columns: 1fr 290px;
    gap: 100px;
    padding-top: 95px;
  }
  .publication {
    grid-template-columns: 400px 1fr;
  }
}
@media (max-width: 850px) {
  .wrap {
    padding-left: 26px;
    padding-right: 26px;
  }
  .intro {
    gap: 32px;
    grid-template-columns: 1fr 215px;
    padding: 55px 0;
  }
  h1 {
    font-size: 49px;
  }
  h1 span {
    font-size: 21px;
    display: block;
    margin: 12px 0 0;
  }
  .publication {
    grid-template-columns: 290px 1fr;
    gap: 23px;
  }
  .experience-row {
    grid-template-columns: 150px 1fr;
  }
}
@media (max-width: 650px) {
  .wrap {
    padding-left: 23px;
    padding-right: 23px;
  }
  .header {
    min-height: 85px;
    align-items: flex-start;
    padding-top: 22px;
    padding-bottom: 18px;
    gap: 16px;
  }
  .wordmark {
    font-size: 16px;
    white-space: nowrap;
  }
  .wordmark span {
    display: none;
  }
  nav {
    gap: 13px;
    font-size: 12px;
  }
  nav button {
    font-size: 12px;
    padding: 4px 7px;
  }
  .intro {
    display: block;
    padding: 42px 0 30px;
  }
  h1 {
    font-size: 50px;
  }
  h1 span {
    display: inline-block;
    font-size: 20px;
    margin: 0 0 0 12px;
  }
  .role {
    line-height: 1.7;
    font-size: 14px;
  }
  .bio {
    font-size: 16px;
  }
  .news {
    gap: 17px;
  }
  .news time {
    font-size: 11px;
  }
  .news p {
    font-size: 13px;
  }
  .section {
    padding-top: 40px;
  }
  .section-head {
    display: block;
    margin-bottom: 24px;
  }
  .section-head span {
    display: block;
    margin-top: 8px;
  }
  h2 {
    font-size: 24px;
  }
  .publication {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .paper-image {
    min-height: 0;
    padding: 12px;
  }
  .paper-subtitle {
    font-size: 18px;
  }
  .experience-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 23px 0;
  }
  .contact {
    display: block;
    margin-top: 35px;
    padding-top: 30px;
  }
  .contact-links {
    margin: 25px 0 5px;
  }
  footer {
    gap: 20px;
    font-size: 11px;
  }
  .links {
    gap: 21px;
  }
  h3 {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
}

/* Academic profile and biographical details. */
.intro {
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 64px;
  padding: 60px 0 45px;
}
.profile {
  text-align: center;
  padding-top: 8px;
}
.profile h1 {
  font-size: 36px;
  letter-spacing: -1px;
  line-height: 1.25;
}
.profile h1 span {
  display: block;
  margin: 12px 0 0;
  font-size: 23px;
  letter-spacing: 2px;
}
.profile .role {
  margin: 22px 0 9px;
  font-size: 17px;
}
.affiliation {
  color: var(--blue);
  font-size: 18px;
}
.profile-links {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 26px;
  font-size: 14px;
  color: var(--blue);
}
.biography h2 {
  font-size: 30px;
  margin-bottom: 22px;
}
.bio {
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 17px;
}
.bio-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 28px;
}
.bio-details h3 {
  margin-bottom: 14px;
  font-size: 18px;
}
.bio-details ul {
  padding-left: 19px;
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}
.bio-details p {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.65;
}
.bio-details p.secondary {
  margin-bottom: 16px;
}
.awards h2,
.service h2 {
  margin-bottom: 25px;
}
.awards .honors-list {
  list-style: none;
  padding: 0;
  margin: 0 0 27px;
}
.awards .honors-list li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 25px;
  padding: 13px 0;
  margin: 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
}
.awards .honors-list time {
  font-size: 14px;
}
.awards h3 {
  margin-bottom: 16px;
}
.awards .sports-list,
.service ul {
  list-style: disc;
  margin: 0;
  padding-left: 21px;
}
.awards .sports-list li,
.service li {
  display: list-item;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 12px;
  padding-left: 4px;
}
.service {
  padding-top: 35px;
}
@media (max-width: 850px) {
  .intro {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 30px;
  }
  .bio-details {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 650px) {
  .header {
    flex-wrap: wrap;
  }
  nav {
    gap: 16px;
  }
  .intro {
    display: block;
    padding-top: 32px;
  }
  .profile {
    text-align: left;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 30px;
  }
  .profile h1 span {
    display: inline-block;
    margin: 0 0 0 16px;
    font-size: 22px;
  }
  .profile-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 18px;
  }
  .biography h2 {
    font-size: 26px;
  }
  .bio-details {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .awards .honors-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
@media (max-width: 380px) {
  .bio-details {
    grid-template-columns: 1fr;
  }
}

/* Soft Lavender Blue surfaces and research timeline. */
.header {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 0 0 16px 16px;
}
.intro {
  margin-top: 28px;
  padding: 36px 32px;
  gap: 40px;
  grid-template-columns: 210px minmax(0, 1fr);
  background: linear-gradient(
    120deg,
    rgba(232, 241, 253, 0.92) 0%,
    rgba(247, 249, 255, 0.96) 45%,
    rgba(218, 223, 248, 0.94) 100%
  );
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(69, 67, 121, 0.035);
}
.bio-details ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}
.bio-details li {
  padding: 6px 11px;
  border-radius: 8px;
  background: #e5edfb;
  color: #405f98;
  font-size: 14px;
  line-height: 1.5;
}
.bio-details li:nth-child(even) {
  background: rgba(62, 65, 168, 0.09);
  color: #454a91;
}
.publication {
  background: #fff;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(57, 54, 106, 0.04);
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}
.paper-meta span {
  color: var(--blue);
  background: rgba(62, 65, 168, 0.07);
}
.paper-links a,
.paper-links button {
  border-color: var(--line);
}
.experience-row {
  position: relative;
  margin-left: 8px;
  padding: 0 0 20px 28px;
  border: 0;
  border-left: 2px solid #c3d1ea;
  grid-template-columns: 155px minmax(0, 1fr);
  align-items: start;
}
.experience-row::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #798fc0;
  border: 3px solid #f5f6fc;
  left: -9px;
  top: 23px;
}
.experience-row > .date {
  padding-top: 20px;
}
.experience-row > div {
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(57, 54, 106, 0.025);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}
.awards .honors-list {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 24px;
}
.awards .honors-list li:first-child {
  border-top: 0;
}
footer {
  margin-top: 36px !important;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .publication:hover,
  .experience-row > div:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(57, 54, 106, 0.075);
  }
}
@media (max-width: 850px) {
  .intro {
    grid-template-columns: 180px minmax(0, 1fr);
    padding: 28px 24px;
    gap: 26px;
  }
  .publication {
    grid-template-columns: minmax(200px, 0.8fr) minmax(0, 1.2fr);
    padding: 20px;
  }
  .experience-row {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 16px;
  }
}
@media (max-width: 650px) {
  .intro {
    display: block;
    padding: 26px 20px;
    margin-top: 20px;
  }
  .bio-details,
  .publication,
  .experience-row {
    grid-template-columns: 1fr;
  }
  .publication {
    padding: 18px;
  }
  .experience-row {
    padding-left: 22px;
    gap: 12px;
  }
  .experience-row > .date {
    padding-top: 15px;
  }
  .experience-row::before {
    top: 20px;
  }
  .experience-row > div {
    padding: 19px;
  }
  .awards .honors-list {
    padding: 4px 18px;
  }
}

/* Icon-labelled publication actions. */
.paper-links {
  gap: 9px;
  align-items: center;
}
.paper-links a,
.paper-links button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 16px;
  border: 1px solid #343b50;
  border-radius: 999px;
  background: #343b50;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  transition:
    background 200ms ease,
    border-color 200ms ease;
}
.paper-links svg {
  flex: 0 0 18px;
}
.paper-links a:hover,
.paper-links button:hover,
.paper-links button[aria-expanded="true"] {
  background: #4764a8;
  border-color: #4764a8;
  color: #fff;
}

.profile-links {
  align-items: center;
  gap: 10px;
}
.profile-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid #343b50;
  border-radius: 999px;
  background: #343b50;
  color: white;
  font-size: 12px;
  line-height: 1.5;
  transition: background 200ms ease;
}
.profile-links a:hover {
  background: #4764a8;
  border-color: #4764a8;
}
.profile-links svg,
.profile-links img {
  flex: 0 0 18px;
}
.profile-links span {
  overflow-wrap: anywhere;
}
.brand-icon,
.arxiv-button img {
  filter: brightness(0) invert(1);
}
.paper-links .arxiv-button {
  padding-top: 5px;
  padding-bottom: 5px;
}
@media (max-width: 650px) {
  .profile-links {
    justify-content: flex-start;
  }
}

.paper-links .arxiv-button {
  gap: 9px;
  padding: 7px 17px;
}
.arxiv-button span {
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}
.arxiv-button img {
  flex: 0 0 18px;
  width: 18px;
  height: 22px;
  object-fit: contain;
}

.paper-links .arxiv-button {
  gap: 8px;
  padding: 9px 16px;
}
.arxiv-button img {
  height: 18px;
}
.school-name {
  display: flex;
  align-items: center;
  gap: 10px;
}
.school-logo {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  object-fit: contain;
}
