@font-face {
  font-family: Inter;
  src: url("fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: NameSC;
  src: url("fonts/name-sc.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
:root {
  --paper: #fafbf9;
  --white: #fff;
  --ink: #242a28;
  --muted: #65706b;
  --line: #dce2de;
  --teal: #166f63;
  --teal-light: #e8f1ed;
  --red: #ab4c3d;
  --band: #f1f4f1;
  --focus: #176f64;
  --card-radius: 18px;
}
* {
  box-sizing: border-box;
  letter-spacing: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.modal-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 5px;
}
img {
  max-width: 100%;
  display: block;
}
svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke-width: 1.6;
}
button svg {
  pointer-events: none;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.25;
}
p {
  overflow-wrap: break-word;
}
strong {
  font-weight: 560;
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
.container {
  width: min(1120px, calc(100% - 96px));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100;
  background: var(--white);
  padding: 10px 18px;
  border: 1px solid var(--teal);
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  height: 64px;
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.music-player {
  --music-ink: #8b948f;
  display: flex;
  align-items: center;
  gap: 4px;
  width: 108px;
  flex: 0 0 108px;
  height: 32px;
  padding-right: 4px;
  background: transparent;
  color: var(--music-ink);
}
.music-player:hover,
.music-player:focus-within {
  --music-ink: var(--muted);
}
.music-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 32px;
  flex: 0 0 28px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
}
.music-toggle:hover {
  color: var(--muted);
}
.music-toggle svg {
  width: 15px;
  height: 15px;
}
#music-volume {
  --volume-fill: 100%;
  appearance: none;
  -webkit-appearance: none;
  width: 72px;
  min-width: 0;
  height: 32px;
  margin: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
#music-volume::-webkit-slider-runnable-track {
  height: 2px;
  background: linear-gradient(to right, var(--music-ink) var(--volume-fill), var(--line) var(--volume-fill));
}
#music-volume::-moz-range-track {
  height: 2px;
  background: var(--line);
}
#music-volume::-moz-range-progress {
  height: 2px;
  background: var(--music-ink);
}
#music-volume::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 8px;
  height: 8px;
  margin-top: -3px;
  border: 0;
  border-radius: 50%;
  background: var(--music-ink);
}
#music-volume::-moz-range-thumb {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: var(--music-ink);
}
.music-toggle:focus-visible,
#music-volume:focus-visible {
  outline-offset: 1px;
}
@media (max-width: 720px) {
  .header-inner {
    gap: 12px;
  }
}
.wordmark {
  font-size: 22px;
  font-weight: 650;
  white-space: nowrap;
}
.wordmark-dot {
  color: inherit;
  padding-left: 1px;
}
#navigation {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 20px;
  font-size: 12px;
}
#navigation a {
  color: var(--muted);
  position: relative;
  white-space: nowrap;
}
#navigation a.active,
#navigation a:hover {
  color: var(--ink);
}
#navigation a.active:after {
  content: "";
  height: 2px;
  width: 16px;
  background: var(--ink);
  position: absolute;
  left: 0;
  bottom: -10px;
}
.section-nav {
  display: none;
  position: fixed;
  left: calc(50% + 580px);
  top: 50%;
  transform: translateY(-50%);
  width: 124px;
  max-height: calc(100dvh - 128px);
  overflow-y: auto;
  border-left: 1px solid var(--line);
  z-index: 10;
}
.section-nav a {
  display: block;
  min-height: 38px;
  padding: 10px 6px 10px 12px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  overflow-wrap: break-word;
}
.section-nav a:hover,
.section-nav a.active {
  color: var(--ink);
  border-left-color: var(--ink);
}
.section-nav a:focus-visible {
  outline-offset: -3px;
}
.icon-button {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 4px;
}
.icon-button:hover {
  background: var(--teal-light);
  border-color: var(--teal);
}
.menu-toggle {
  display: none;
}
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 206px;
  gap: 66px;
  align-items: center;
  padding-block: 36px 30px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 550;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 13px;
}
h1 {
  font-size: 48px;
  font-weight: 620;
  display: flex;
  align-items: center;
  gap: 20px;
}
.chinese-name {
  font-family: NameSC, "Microsoft YaHei", sans-serif;
  font-size: 24px;
  color: var(--muted);
  font-weight: 500;
}
.affiliation {
  font-size: 13px;
  color: var(--muted);
  margin-top: 9px;
}
.affiliation span {
  padding-inline: 9px;
  color: #aab3ac;
}
.research-title {
  font-size: 25px;
  line-height: 1.35;
  margin-block: 18px 12px;
  font-weight: 550;
  color: var(--teal);
}
.bio {
  font-size: 15px;
  line-height: 1.75;
  max-width: 715px;
  color: #505c55;
}
.bio + .bio {
  margin-top: 9px;
}
.secondary-bio {
  margin-top: 9px;
  font-size: 14px;
}
.social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 27px;
  margin-top: 18px;
}
.social-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 550;
  color: var(--ink);
}
.social-links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.social-links .external {
  width: 12px;
  height: 12px;
  color: var(--muted);
  margin-left: -4px;
}
.portrait {
  width: 206px;
  align-self: center;
  margin-top: 10px;
}
.portrait img {
  width: 206px;
  height: 243px;
  object-fit: cover;
  object-position: 50% 35%;
  border-radius: 22px;
  border: 6px solid var(--white);
  box-shadow: 0 8px 24px rgba(34, 50, 41, 0.06);
  background: #e8e9e5;
}
.section-band {
  background: var(--band);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.research-section {
  padding-block: 24px 28px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.section-heading .eyebrow {
  margin-bottom: 7px;
}
h2 {
  font-size: 24px;
  font-weight: 570;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 550;
  color: var(--teal);
  white-space: nowrap;
}
.text-link:hover {
  color: var(--ink);
}
.text-link svg {
  width: 16px;
  height: 16px;
}
.section-note {
  font-size: 11px;
  color: var(--muted);
  text-align: right;
}
.focus-heading {
  align-items: baseline;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.focus-heading:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}
.focus-heading-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-shrink: 0;
}
.focus-heading-title h2 {
  flex-shrink: 0;
  white-space: nowrap;
}
.focus-relationship {
  display: flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  flex-shrink: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  white-space: nowrap;
}
.focus-relationship-arrow {
  width: 14px;
  text-align: center;
}
.research-section .focus-count-note {
  display: block;
  flex-shrink: 0;
  margin-left: auto;
  white-space: nowrap;
}
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.focus-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: 18px 17px 16px;
  box-shadow: 0 4px 16px rgba(34, 50, 41, 0.025);
  display: flex;
  flex-direction: column;
}
.focus-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 18px;
  color: var(--muted);
  margin-bottom: 10px;
}
.focus-card[data-focus-topics~="spatial"] .focus-topline,
.work[data-research-topic="spatial"] .work-topic {
  color: var(--teal);
}
.focus-card[data-focus-topics~="generation"] .focus-topline,
.focus-card[data-focus-topics~="learning"] .focus-topline,
.work[data-research-topic="generation"] .work-topic,
.work[data-research-topic="learning"] .work-topic {
  color: var(--red);
}
.focus-card[data-focus-topics~="segmentation"] .focus-topline,
.focus-card[data-focus-topics~="tracking"] .focus-topline,
.focus-card[data-focus-topics~="video"] .focus-topline,
.work[data-research-topic="segmentation"] .work-topic,
.work[data-research-topic="tracking"] .work-topic,
.work[data-research-topic="video"] .work-topic {
  color: #436586;
}
.focus-card h3 {
  font-size: 17px;
  line-height: 1.35;
  min-height: 46px;
}
.focus-count {
  display: inline-block;
  min-width: 6ch;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
  color: var(--muted);
}
.focus-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 8px;
  margin-bottom: 0;
}
.demos-section {
  padding-block: 28px;
}
.platform-summary {
  max-width: 660px;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}
.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
}
.demo-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--white);
}
.demo-media {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1280 / 488;
  background: var(--white);
}
.demo-media video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.demo-robot .demo-media video {
  object-fit: fill;
}
.demo-media video:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: -3px;
}
.demo-card figcaption {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 12px 18px 16px;
}
.demo-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.demo-title h3 {
  font-size: 16px;
}
.demo-card figcaption p {
  margin-top: 3px;
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.6;
  text-wrap: balance;
  color: var(--muted);
}
.video-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  flex-shrink: 0;
  margin-top: auto;
}
.video-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--teal);
  border-radius: 4px;
}
.video-controls button:hover {
  background: var(--teal-light);
}
.video-controls button:disabled {
  opacity: 0.4;
}
.video-controls input[type="range"] {
  flex: 1;
  min-width: 30px;
  width: 100%;
  height: 24px;
  margin: 0;
  accent-color: var(--teal);
  cursor: pointer;
}
.video-time {
  flex: 0 0 66px;
  width: 66px;
  color: var(--muted);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  text-align: center;
  white-space: nowrap;
}
.demo-card:fullscreen {
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: 0;
}
.demo-card:fullscreen .demo-media {
  flex: 1;
  min-height: 0;
  aspect-ratio: auto;
}
.demo-card:fullscreen .demo-media video {
  object-fit: contain;
}
.demo-card:fullscreen figcaption {
  flex: 0 0 auto;
  width: min(1120px, 100%);
  margin-inline: auto;
}
.icon-link {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}
.icon-link:hover {
  color: var(--ink);
}
.video-error {
  padding: 0 18px 16px;
  color: var(--red);
  font-size: 12px;
}
.video-error a {
  text-decoration: underline;
}
.selected-section {
  padding-block: 28px;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.work {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--white);
  box-shadow: 0 4px 16px rgba(34, 50, 41, 0.025);
}
.work-media {
  width: 100%;
  aspect-ratio: 2.65;
  display: block;
  position: relative;
  background: var(--white);
  border: 0;
  border-radius: 0;
  padding: 4px;
  flex: 0 0 auto;
  overflow: hidden;
}
.work-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.work-media:hover img {
  transform: scale(1.025);
}
.zoom-icon {
  position: absolute;
  right: 9px;
  bottom: 9px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.zoom-icon svg {
  width: 14px;
  height: 14px;
}
.work-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.work-topic {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}
.venue-label {
  font-size: 10px;
  border-bottom: 1px solid #b7c4ba;
  padding-bottom: 1px;
  color: #54645a;
  white-space: nowrap;
}
.work h3 {
  font-size: 21px;
  margin-top: 7px;
}
.work h3 a:hover {
  color: var(--teal);
}
.work-description {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 7px;
  margin-bottom: 12px;
  min-height: 44px;
}
.work-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  border-top: 1px solid var(--line);
  margin-top: auto;
  padding-top: 10px;
}
.work-role {
  min-height: 20px;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
}
.work-role strong {
  display: block;
  font-size: 11px;
  font-weight: 550;
}
.work-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.work-links a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--teal);
}
.work-links svg {
  width: 14px;
  height: 14px;
}
.publications-section {
  padding-block: 34px 32px;
}
.heading-count {
  font-size: 13px;
  vertical-align: middle;
  color: var(--muted);
  padding-left: 9px;
  font-weight: 450;
}
.archive-tools {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  padding: 0 13px;
  width: 420px;
  height: 42px;
}
.search-field svg {
  color: var(--muted);
  width: 16px;
  height: 16px;
}
.search-field:focus-within {
  border-color: var(--teal);
}
.search-field input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  min-width: 0;
  font-size: 12px;
  height: 100%;
}
.search-field input:focus-visible {
  outline: 0;
}
.search-field input::placeholder {
  color: var(--muted);
}
.year-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.year-filter label {
  color: var(--muted);
}
select {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  font-size: 12px;
  height: 42px;
  padding: 0 30px 0 12px;
  max-width: 150px;
}
.topic-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
  margin-top: 22px;
  border-bottom: 1px solid var(--line);
}
.topic-filters button {
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0 0 11px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  white-space: normal;
  max-width: 100%;
  min-height: 36px;
  text-align: left;
  margin-bottom: -1px;
}
.topic-filters button:hover {
  color: var(--teal);
}
.topic-filters button[aria-pressed="true"] {
  color: var(--teal);
  border-bottom-color: var(--teal);
}
.archive-status {
  height: 46px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--teal);
  font-size: 11px;
  padding: 5px 0;
}
.text-button svg {
  width: 13px;
  height: 13px;
}
.publication-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 28px;
  gap: 23px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.publication-row:first-child {
  padding-top: 8px;
}
.publication-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
  padding-top: 2px;
}
.publication-venue {
  font-size: 11px;
  font-weight: 570;
  color: var(--teal);
}
.publication-year {
  font-size: 11px;
  color: var(--muted);
}
.publication-row h3 {
  font-size: 14px;
  font-weight: 560;
  line-height: 1.55;
  max-width: 850px;
}
.publication-row h3 a:hover {
  color: var(--teal);
}
.publication-authors {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 6px;
}
.publication-authors strong {
  color: var(--ink);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: #9aaea2;
  text-underline-offset: 3px;
}
.publication-extra {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 8px;
  font-size: 10px;
}
.publication-role {
  color: var(--red);
}
.publication-extra a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--teal);
}
.publication-extra svg {
  width: 12px;
  height: 12px;
}
.publication-open {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border-radius: 3px;
}
.publication-open:hover {
  color: var(--teal);
  background: var(--teal-light);
}
.publication-open svg {
  width: 17px;
  height: 17px;
}
.empty-state {
  text-align: center;
  padding: 60px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.empty-state > svg {
  width: 26px;
  height: 26px;
  margin-bottom: 12px;
}
.empty-state h3 {
  font-size: 16px;
  color: var(--ink);
}
.empty-state p {
  font-size: 13px;
  margin-top: 8px;
}
.preparation {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 25px;
}
.preparation h3 {
  font-size: 14px;
  color: var(--muted);
  padding-top: 10px;
}
.preparation-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.preparation-list > div {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
}
.preparation-list > div span + span {
  font-size: 10px;
  color: var(--muted);
}
.background-section {
  padding-block: 34px;
}
.background-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 70px;
  align-items: center;
}
.background-grid h2 {
  font-size: 24px;
}
.background-copy {
  font-size: 13px;
  color: var(--muted);
}
.contact-section {
  padding-block: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.contact-section .eyebrow {
  margin-bottom: 7px;
}
.contact-section h2 {
  font-size: 25px;
}
.contact-section p:not(.eyebrow) {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 19px;
  color: var(--teal);
  overflow-wrap: anywhere;
}
.contact-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 20px 28px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}
.site-footer a {
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-footer svg {
  width: 13px;
  height: 13px;
}
.visit-counter {
  min-height: 32px;
  padding: 0 16px 16px;
  color: var(--muted);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  line-height: 16px;
  text-align: center;
  overflow-wrap: anywhere;
}
dialog {
  width: min(1100px, calc(100% - 48px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--white);
  color: var(--ink);
}
dialog::backdrop {
  background: rgba(24, 33, 28, 0.72);
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}
.dialog-header h2 {
  font-size: 18px;
}
.dialog-media {
  padding: 22px;
}
.dialog-media img {
  width: 100%;
  max-height: 65dvh;
  object-fit: contain;
}
.dialog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 0 22px 22px;
}
.dialog-footer p {
  font-size: 12px;
  color: var(--muted);
}
@media (min-width: 1440px) {
  .section-nav {
    display: block;
  }
}
@media (min-width: 1600px) {
  .about {
    padding-block: 38px 32px;
  }
  .research-section {
    padding-top: 24px;
  }
}
@media (max-width: 1000px) {
  .music-player {
    margin-left: auto;
  }
  .container {
    width: calc(100% - 64px);
  }
  .about {
    gap: 38px;
    grid-template-columns: minmax(0, 1fr) 174px;
  }
  .portrait,
  .portrait img {
    width: 174px;
  }
  .portrait img {
    height: 213px;
  }
  .menu-toggle {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border: 0;
    background: transparent;
  }
  #navigation {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 1px);
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 32px 16px;
  }
  #navigation.open {
    display: flex;
  }
  #navigation a {
    min-height: 44px;
    padding: 10px 0;
    font-size: 14px;
  }
  #navigation a.active:after {
    display: none;
  }
  .research-title {
    font-size: 24px;
  }
  .desktop-break {
    display: none;
  }
  .background-grid {
    gap: 40px;
    grid-template-columns: 1fr 1.4fr;
  }
  .topic-filters {
    gap: 0 17px;
  }
  .topic-filters button {
    font-size: 11px;
  }
  .work-role {
    font-size: 9px;
  }
  .work-links {
    gap: 10px;
  }
  .focus-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .focus-card {
    padding: 16px;
  }
  .focus-card h3 {
    font-size: 16px;
    min-height: 0;
  }
  .work {
    padding: 14px;
  }
  .work-role {
    max-width: 190px;
  }
}
@media (max-width: 720px) {
  html {
    scroll-padding-top: 78px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 62px;
  }
  .wordmark {
    font-size: 20px;
  }
  #navigation {
    padding-inline: 20px;
  }
  .about {
    padding-block: 20px 17px;
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 0 18px;
    align-items: start;
    position: relative;
  }
  .identity {
    display: contents;
  }
  .about > .identity > .eyebrow {
    grid-column: 1;
    font-size: 9px;
    margin-bottom: 9px;
  }
  .about h1 {
    grid-column: 1;
    font-size: 38px;
    gap: 12px;
    align-self: start;
  }
  .chinese-name {
    font-size: 19px;
  }
  .affiliation {
    grid-column: 1;
    font-size: 10px;
    margin-top: 7px;
  }
  .affiliation span {
    padding-inline: 4px;
  }
  .portrait {
    position: absolute;
    right: 0;
    top: 20px;
    width: 86px;
    margin: 0;
  }
  .portrait img {
    width: 86px;
    height: 102px;
    border-radius: 14px;
    border-width: 3px;
  }
  .research-title {
    grid-column: 1/-1;
    font-size: 22px;
    margin: 17px 0 12px;
    line-height: 1.35;
    max-width: 470px;
  }
  .bio {
    grid-column: 1/-1;
    font-size: 14px;
    line-height: 1.6;
  }
  .secondary-bio {
    font-size: 12px;
    line-height: 1.8;
    margin-top: 10px;
  }
  .social-links {
    grid-column: 1/-1;
    margin-top: 13px;
    gap: 24px;
  }
  .social-links a {
    font-size: 12px;
  }
  .social-links svg {
    width: 16px;
    height: 16px;
  }
  .research-section {
    padding-block: 23px;
  }
  .section-heading {
    gap: 15px;
    align-items: center;
    margin-bottom: 16px;
  }
  .section-heading .eyebrow {
    font-size: 9px;
  }
  .section-heading h2 {
    font-size: 22px;
  }
  .section-heading .text-link {
    font-size: 10px;
    gap: 3px;
  }
  .section-heading .text-link svg {
    width: 13px;
    height: 13px;
  }
  .featured-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .work-media {
    aspect-ratio: 2.3;
    padding: 0;
  }
  .work-topline {
    margin-top: 10px;
  }
  .work-topic {
    font-size: 9px;
  }
  .work h3 {
    font-size: 20px;
  }
  .work-description {
    font-size: 12px;
    min-height: 0;
  }
  .work-role {
    font-size: 10px;
  }
  .work-links {
    gap: 15px;
  }
  .publications-section {
    padding-block: 27px;
  }
  .heading-count {
    font-size: 11px;
    padding-left: 4px;
  }
  .archive-tools {
    gap: 10px;
  }
  .search-field {
    min-width: 0;
    flex: 1;
    padding-inline: 10px;
  }
  .search-field input {
    font-size: 11px;
  }
  .year-filter label {
    display: none;
  }
  select {
    font-size: 11px;
    padding-left: 9px;
    padding-right: 12px;
    max-width: 95px;
  }
  .topic-filters {
    gap: 10px 18px;
    margin-top: 19px;
  }
  .topic-filters button {
    font-size: 11px;
    padding-bottom: 7px;
  }
  .publication-row {
    grid-template-columns: minmax(0, 1fr) 24px;
    gap: 7px 9px;
    padding-block: 16px;
  }
  .publication-meta {
    grid-column: 1;
    flex-direction: row;
    align-items: center;
    gap: 9px;
  }
  .publication-venue,
  .publication-year {
    font-size: 10px;
  }
  .publication-content {
    grid-column: 1;
    grid-row: 2;
  }
  .publication-open {
    grid-column: 2;
    grid-row: 1/3;
    align-self: start;
  }
  .publication-row h3 {
    font-size: 13px;
    line-height: 1.55;
  }
  .publication-authors {
    font-size: 10px;
    margin-top: 7px;
    line-height: 1.75;
  }
  .preparation {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 27px;
  }
  .preparation h3 {
    padding: 0;
    font-size: 13px;
  }
  .preparation-list {
    gap: 16px;
  }
  .background-section {
    padding-block: 32px;
  }
  .background-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .background-grid h2 {
    font-size: 22px;
  }
  .background-grid .eyebrow {
    font-size: 9px;
    margin-bottom: 8px;
  }
  .background-copy {
    max-width: 100%;
    font-size: 12px;
  }
  .contact-section {
    padding-block: 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .contact-section .eyebrow {
    font-size: 9px;
  }
  .contact-section h2 {
    font-size: 23px;
  }
  .contact-section p:not(.eyebrow) {
    font-size: 11px;
  }
  .contact-link {
    font-size: 17px;
    gap: 12px;
  }
  .site-footer {
    font-size: 9px;
    padding-bottom: 22px;
  }
  dialog {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
  }
  .dialog-header {
    padding: 12px;
  }
  .dialog-header h2 {
    font-size: 16px;
  }
  .dialog-media {
    padding: 12px;
  }
  .dialog-footer {
    padding: 0 12px 16px;
    gap: 15px;
    align-items: flex-start;
    flex-direction: column;
  }
  .dialog-footer p {
    font-size: 11px;
  }
  .section-note {
    display: none;
  }
  .research-section .focus-heading {
    align-items: baseline;
  }
  .focus-heading-title {
    gap: 12px;
  }
  .focus-relationship {
    font-size: 11px;
    line-height: 16px;
  }
  .focus-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .focus-card {
    padding: 15px 17px;
    border-radius: 16px;
  }
  .focus-topline {
    margin-bottom: 8px;
  }
  .focus-card p {
    font-size: 12px;
    margin: 6px 0 0;
  }
  .demos-section,
  .selected-section {
    padding-block: 23px;
  }
  .demo-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .demo-card figcaption {
    padding: 10px 15px 13px;
  }
  .demo-title h3 {
    font-size: 15px;
  }
  .work {
    padding: 14px 16px;
  }
  .work-role {
    max-width: none;
  }
}
@media (max-width: 720px) and (max-height: 740px) {
  .bio {
    line-height: 1.35;
  }
  .bio + .bio {
    margin-top: 6px;
  }
}
@media (max-width: 359px) {
  .container {
    width: calc(100% - 32px);
  }
  .about {
    grid-template-columns: minmax(0, 1fr) 66px;
    gap: 0 10px;
  }
  .about h1 {
    font-size: 32px;
    gap: 9px;
  }
  .chinese-name {
    font-size: 16px;
  }
  .about > .identity > .eyebrow {
    font-size: 8px;
  }
  .portrait,
  .portrait img {
    width: 66px;
  }
  .portrait img {
    height: 88px;
  }
  .affiliation {
    font-size: 9px;
  }
  .research-title {
    font-size: 21px;
    margin-top: 26px;
  }
  .social-links {
    gap: 20px;
  }
  .section-heading h2 {
    font-size: 20px;
  }
  .section-heading .text-link {
    font-size: 9px;
  }
  .topic-filters {
    gap: 10px 13px;
  }
  .work-links {
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
