@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&display=swap");

:root {
  --ink: #2f3a4a;
  --muted: #5c6b7a;
  --band: #eef1f5;
  --bar: #ffffff;
  --title: #1a476f;
  --link: #1a476f;
  --line: rgba(26, 71, 111, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  margin: 0 auto;
  max-width: 1080px;
  padding: 0 20px 40px;
  background: #fff;
  color: var(--ink);
  font: 15px/1.7 "Open Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    Arial, "PingFang SC", "Hiragino Sans GB", sans-serif;
}

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

a:hover {
  text-decoration: underline;
}

main {
  display: block;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--bar);
  box-shadow: 0 0 0 100vmax var(--bar);
  clip-path: inset(0 -100vmax);
}

.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  border-image: conic-gradient(var(--line) 0 0) fill 0 / / 0 100vmax;
}

.brand {
  color: var(--title);
  font-size: 19px;
  font-weight: 400;
  white-space: nowrap;
}

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

.nav {
  text-align: right;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a {
  color: var(--muted);
  margin: 0 0 0 22px;
  white-space: nowrap;
  display: inline-block;
  padding: 14px 0 12px;
  border-top: 2px solid transparent;
}

.nav a.on {
  color: var(--link);
  border-top-color: var(--link);
}

.nav a:hover {
  text-decoration: none;
  color: var(--title);
}

.hero {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  margin: 0;
  padding: 48px 0;
  background: var(--band);
  box-shadow: 0 0 0 100vmax var(--band);
  clip-path: inset(0 -100vmax);
}

.hero .intro {
  order: 2;
  font-size: 16px;
}

.hero h1 {
  text-align: left;
  font-weight: 300;
  font-size: 38px;
  color: var(--title);
  margin: 0 0 14px;
}

.hero h1 .zh {
  font-size: 22px;
  color: var(--muted);
  margin-left: 6px;
}

.hero p {
  margin: 0 0 12px;
}

.contact {
  color: var(--muted);
  font-size: 14px;
}

.portrait {
  width: 220px;
  height: auto;
  border-radius: 0;
  object-fit: contain;
  display: block;
}

h1.pagehead {
  font-weight: 300;
  font-size: 34px;
  color: var(--title);
  margin: 32px 0 6px;
}

h2 {
  font-weight: 300;
  font-size: 28px;
  color: var(--title);
  text-align: center;
  margin: 56px 0 6px;
}

h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: var(--link);
  margin: 10px auto 0;
}

.lede {
  color: var(--muted);
  margin: 0 0 18px;
  text-align: center;
}

section.band {
  padding: 44px 0 36px;
}

section.band:nth-of-type(even) {
  background: var(--band);
  box-shadow: 0 0 0 100vmax var(--band);
  clip-path: inset(0 -100vmax);
}

section.band > h2:first-child {
  margin-top: 0;
}

.pub {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.lede + .pub,
h2 + .pub {
  border-top: 0;
}

.ptitle {
  color: var(--title);
  font-weight: 600;
  font-size: 16.5px;
  line-height: 1.45;
  margin: 0 0 4px;
}

.authors {
  display: block;
  margin-bottom: 2px;
}

.venue {
  color: var(--muted);
  font-size: 14px;
}


.summary {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.55;
}

.summary .abs-toggle {
  font-size: 13.5px;
  white-space: nowrap;
  margin-left: 2px;
}

.abstract {
  margin-top: 8px;
  padding-left: 12px;
  border-left: 3px solid rgba(26, 71, 111, 0.18);
  color: #3b464d;
  font-size: 14px;
  line-height: 1.6;
}

.abstract p {
  margin: 0 0 8px;
}

@media (max-width: 720px) {
  .summary,
  .abstract {
    font-size: 13.5px;
  }
}

.cv-block {
  max-width: 720px;
  margin: 0 auto;
}

.cv-block h3 {
  font-weight: 600;
  font-size: 17px;
  color: var(--title);
  margin: 28px 0 10px;
}

.cv-block ul {
  margin: 0;
  padding-left: 1.2em;
}

.cv-block li {
  margin-bottom: 6px;
}

footer.sitefoot {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 720px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

  .hero .intro {
    order: 1;
  }

  .hero h1 {
    text-align: center;
  }

  .portrait {
    margin: 0 auto;
    order: 0;
  }

  .nav a {
    margin-left: 14px;
    font-size: 11px;
  }
}
