@font-face {
  font-family: "Ma Shan Zheng Name";
  src: url("assets/fonts/ma-shan-zheng-name.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+674E, U+6587, U+5CE4;
}
:root {
  /* Keep the original proportions at approximately 110% of their former size. */
  font-size: 110%;
  color-scheme: light;
  --ink: #22262c;
  --muted: #626a73;
  --link: #1768b4;
  --line: #e6e9ed;
  --paper-summary: #bf8048;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 1rem/1.65 "Lato", "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: #a7530b; text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 5px; border-radius: 2px; }
p { margin: 0 0 .9375rem; }
strong { font-weight: 650; }
.page { max-width: 66rem; margin: 0 auto; padding: 4rem 2.25rem 1.75rem; }
.skip-link { position: absolute; left: 1rem; top: -5rem; padding: .625rem 1rem; background: #fff; z-index: 2; }
.skip-link:focus { top: 1rem; }
.profile { display: grid; grid-template-columns: minmax(0, 1fr) 14.5rem; align-items: center; gap: 3.25rem; padding-bottom: 3rem; }
h1 { margin: 0 0 .5rem; font-size: 2.25rem; line-height: 1.25; font-weight: 500; letter-spacing: -.05625rem; }
.name-chinese { margin: -.125rem 0 .875rem; color: #4d535c; font-family: "Ma Shan Zheng Name", "STKaiti", "KaiTi", serif; font-size: 1.75rem; font-style: oblique 10deg; font-weight: 400; line-height: 1.3; letter-spacing: .16em; }
.affiliation { font-size: .9375rem; color: var(--muted); margin-bottom: 1.4375rem; }
.affiliation a { color: inherit; }
.contact-links { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; margin-top: 1.4375rem; }
.icon-link { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; transition: background-color .15s; }
.icon-link img { display: block; width: 1.5rem; height: 1.5rem; }
.icon-link:hover { background: #eaf1f9; text-decoration: none; }
.portrait-link { display: block; }
.portrait { display: block; width: 14.5rem; height: 14.5rem; object-fit: cover; border-radius: 50%; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: .625rem; }
h2 { font-size: 1.5625rem; line-height: 1.35; font-weight: 500; margin: 0; letter-spacing: -.025rem; }
.section-heading > a { font-size: .875rem; }
.publications { display: grid; gap: 2.25rem; margin-top: 1.75rem; }
.publication { display: grid; grid-template-columns: clamp(17rem, 33vw, 22rem) minmax(0, 1fr); gap: 1.75rem; align-items: center; }
/* Standard preview frames; the wide Phys-AD montage uses its native height. */
.paper-image { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); border-radius: .4rem; background: #fff; }
.paper-image > img, .paper-image video { display: block; width: 100%; height: 100%; object-fit: contain; }
.paper-image--pasdf, .paper-image--mulsen, .paper-image--shapenet { cursor: zoom-in; }
.dexemg-panel { display: block; width: 100%; height: 100%; overflow: hidden; }
.paper-video { background: #fff; }
.paper-video--physics { aspect-ratio: auto; }
.paper-video--physics video { height: auto; aspect-ratio: 2416 / 818; }
.paper-video video[role="button"] { cursor: pointer; }
.paper-video video:focus-visible { outline: 3px solid #1768b4; outline-offset: -3px; }
h3 { font-size: 1rem; line-height: 1.45; font-weight: 700; margin: 0 0 .4375rem; }
.authors { font-size: .875rem; line-height: 1.6; margin-bottom: .3125rem; }
.authors strong { color: #20242a; font-weight: 700; }
.venue { font-size: .875rem; font-style: italic; margin-bottom: .3125rem; }
.paper-links { display: flex; gap: 0; flex-wrap: wrap; font-size: .875rem; font-weight: 600; }
.paper-links a + a::before { content: "/"; color: #a3aab3; font-weight: 400; margin: 0 .625rem; display: inline-block; }
.paper-summary { color: var(--paper-summary); font-size: 1rem; line-height: 1.55; margin: .5625rem 0 0; }
footer { margin-top: 3rem; padding-top: 1.375rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem; font-size: .8125rem; color: var(--muted); }
footer p { margin: 0; }
.academic-service { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.academic-service p { margin: 0; }
@media (max-width: 48.125em) {
  .page { padding: 2.25rem 1.5rem 1.5rem; }
  .profile { grid-template-columns: minmax(0, 1fr) 9.375rem; gap: 1.5rem; padding-bottom: 2.25rem; align-items: start; }
  .portrait { width: 9.375rem; height: 9.375rem; margin-top: .5rem; }
  h1 { font-size: 2rem; }
  .publication { grid-template-columns: 17rem minmax(0, 1fr); gap: 1.25rem; }
}
@media (max-width: 43em) {
  .publication { grid-template-columns: 1fr; gap: 1rem; }
  .paper-image { max-width: 26rem; margin: auto; }
}
@media (max-width: 35.75em) {
  .page { padding: 1.875rem 1.375rem 1.5rem; }
  .profile { display: flex; flex-direction: column-reverse; align-items: center; gap: 1.5rem; }
  .portrait { width: 9.375rem; height: 9.375rem; margin: 0; }
  h1, .name-chinese, .affiliation { text-align: center; }
  .contact-links { justify-content: center; gap: .75rem; }
  .publication { grid-template-columns: 1fr; gap: .9375rem; }
  .publications { gap: 2.25rem; }
  .section-heading { gap: .75rem; }
  .section-heading > a { font-size: .875rem; white-space: nowrap; }
  footer { display: block; text-align: center; }
  footer p { margin-top: .5625rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .icon-link { transition: none; } }
