:root {
  --paper: #f5f7f6;
  --surface: #ffffff;
  --ink: #17221f;
  --muted: #5d6864;
  --line: #ccd5d1;
  --line-dark: #9eaaa5;
  --green: #176b55;
  --green-dark: #0f4f3f;
  --coral: #c75b42;
  --blue: #476a80;
  --max-width: 1180px;
  --header-height: 68px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, var(--green) 55%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover { color: var(--green); }

button, a { -webkit-tap-highlight-color: transparent; }

button { font: inherit; }

img { display: block; max-width: 100%; }

p, h1, h2, h3, figure, dl, dd { margin: 0; }

.chinese-name {
  font-size: 0.65em;
  font-weight: 400;
}

.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: 10px;
  left: 10px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled { border-bottom-color: var(--line-dark); }

.header-inner {
  width: min(calc(100% - 48px), var(--max-width));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 34px;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover, .site-nav a.is-active { color: var(--ink); }

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--green);
  transition: right 180ms ease;
}

.site-nav a:hover::after, .site-nav a.is-active::after { right: 0; }

.menu-button { display: none; }

.hero {
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 660px;
  margin: 0 auto;
  padding: 82px 0 78px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .62fr);
  align-items: center;
  gap: 100px;
}

.eyebrow, .section-number, .publication-type, .role-label, .research-index, .recognition-year {
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 74px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 720px;
  margin-top: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.35;
}

.hero-summary {
  max-width: 670px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions, .profile-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.hero-actions { margin-top: 32px; }

.hero-actions a, .profile-links a, .primary-link {
  font-size: 14px;
  font-weight: 700;
}

.hero-actions > a:not(.primary-link), .profile-links a { color: var(--muted); }

.primary-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 16px;
  color: white;
  background: var(--green-dark);
  border: 1px solid var(--green-dark);
  border-radius: 5px;
  text-decoration: none;
}

.primary-link:hover { color: white; background: var(--ink); border-color: var(--ink); }

.profile-links {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.portrait-panel { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }

.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 390px;
  overflow: hidden;
  background: #dce3e0;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, .7);
  pointer-events: none;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
}

.availability {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.availability span {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 5px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(23, 107, 85, .12);
}

.quick-facts { margin-top: 22px; border-top: 1px solid var(--line); }

.quick-facts div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.quick-facts dt { color: var(--muted); }
.quick-facts dd { font-weight: 650; }

.section {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: baseline;
  margin-bottom: 46px;
}

.section-heading > h2:only-child,
.publication-heading > div > h2:only-child {
  grid-column: 1 / -1;
}

.section-heading h2, .contact-section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr);
  gap: 90px;
  padding-left: 56px;
}

.about-lead {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1.45;
}

.about-body { color: var(--muted); }
.about-body p + p { margin-top: 20px; }

.bio-block + .bio-block {
  margin-top: 78px;
  padding-top: 72px;
  border-top: 1px solid var(--line);
}

.bio-subheading {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: baseline;
  gap: 40px;
  margin: 0 0 28px 56px;
}

.bio-subheading > p {
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.bio-subheading h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
}

.research-lines {
  margin-left: 56px;
  border-top: 1px solid var(--line-dark);
}

.research-line {
  display: grid;
  grid-template-columns: minmax(190px, .65fr) minmax(0, 1.7fr);
  gap: 56px;
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.research-line h3, .featured-work h3, .timeline-content h3, .education-list h3, .publication h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0;
}

.research-line h3 { font-size: 24px; }
.research-line > p { max-width: 760px; color: var(--muted); font-size: 15px; }

.research-index { color: var(--coral); }

.featured-work {
  margin: 50px 0 0 56px;
  padding: 30px;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: start;
  gap: 32px;
  background: #e9efec;
  border-left: 4px solid var(--green);
}

.featured-label { color: var(--green-dark); font-size: 12px; font-weight: 750; text-transform: uppercase; }
.featured-work h3 { font-size: 22px; }
.featured-work p { max-width: 680px; margin-top: 8px; color: var(--muted); font-size: 14px; }
.featured-work > a { color: var(--green-dark); font-size: 13px; font-weight: 700; white-space: nowrap; }

.publication-heading { grid-template-columns: 1fr auto; }
.publication-heading > div { display: grid; grid-template-columns: 56px 1fr; align-items: baseline; }
.text-link { color: var(--muted); font-size: 13px; font-weight: 650; }

.filter-bar {
  display: inline-flex;
  margin: 0 0 28px 56px;
  padding: 3px;
  background: #e4e9e7;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.filter-bar button {
  min-height: 34px;
  padding: 5px 13px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
}

.filter-bar button:hover { color: var(--ink); }
.filter-bar button.is-active { color: var(--ink); background: var(--surface); box-shadow: 0 1px 3px rgba(23, 34, 31, .12); }
.filter-bar button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.publication-list { margin-left: 56px; border-top: 1px solid var(--line-dark); }

.publication-year-group {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 26px;
  border-bottom: 1px solid var(--line-dark);
}

.publication-year-group[hidden] { display: none; }
.publication-year-items, .publication-main { min-width: 0; }

.publication-year {
  padding-top: 34px;
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 600;
}

.publication {
  padding: 34px 0;
}

.publication + .publication { border-top: 1px solid var(--line); }
.publication[hidden] { display: none; }

.publication h3 { max-width: 880px; margin-top: 6px; font-size: 22px; line-height: 1.36; }
.publication h3 a { text-decoration: none; }
.authors { margin-top: 10px; color: var(--muted); font-size: 14px; }
.authors strong { color: var(--ink); }
.publication-summary { max-width: 800px; margin-top: 12px; color: var(--muted); font-size: 14px; }
.paper-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; }
.paper-links a { color: var(--green-dark); font-size: 12px; font-weight: 750; text-transform: uppercase; }
.no-results { margin-left: 56px; padding: 32px 0; color: var(--muted); }

.timeline { margin-left: 56px; border-top: 1px solid var(--line-dark); }

.timeline-item {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 40px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-meta p:first-child { color: var(--coral); font-family: Georgia, "Times New Roman", serif; font-size: 19px; font-weight: 600; }
.timeline-meta p:last-child { margin-top: 5px; color: var(--muted); font-size: 13px; }
.timeline-content h3 { margin-top: 4px; font-size: 26px; }
.timeline-content > p:not(.role-label) { max-width: 780px; margin-top: 14px; color: var(--muted); }

.education-list { margin-left: 56px; border-top: 1px solid var(--line-dark); }

.education-list article {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 40px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.education-year { color: var(--coral); font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 600; }
.education-list h3 { font-size: 21px; }
.education-list article > div > p { margin-top: 3px; color: var(--muted); }
.education-list .detail { font-size: 13px; }
.education-list article > a { color: var(--green-dark); font-size: 13px; font-weight: 700; white-space: nowrap; }

.recognition {
  display: block;
  margin: 52px 0 0 56px;
  background: transparent;
  border-top: 1px solid var(--line-dark);
}

.recognition > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 40px;
  align-items: baseline;
  min-height: 0;
  padding: 26px 0;
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.recognition > div > p:last-child { color: var(--muted); font-size: 15px; line-height: 1.5; }
.recognition strong { color: var(--ink); }
.awards-section .recognition { margin-top: 0; }

.contact-section {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  padding: 100px 56px;
}

.contact-section h2 { max-width: 650px; margin-top: 14px; font-size: 52px; }
.contact-section > p:not(.eyebrow) { max-width: 660px; margin-top: 20px; color: var(--muted); font-size: 17px; }
.contact-section .primary-link { margin-top: 30px; }

.site-footer {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--muted); font-weight: 650; }

@media (max-width: 900px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .menu-button {
    display: flex;
    width: 38px;
    height: 38px;
    padding: 9px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    justify-self: end;
    background: transparent;
    border: 1px solid var(--line-dark);
    border-radius: 4px;
  }
  .menu-button span:not(.sr-only) { width: 100%; height: 1.5px; background: var(--ink); }
  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    padding: 46px 24px;
    flex-direction: column;
    justify-content: flex-start;
    gap: 22px;
    background: var(--paper);
    border-top: 1px solid var(--line);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 180ms ease, visibility 180ms ease;
  }
  .site-nav.is-open { transform: translateX(0); visibility: visible; }
  .site-nav a { font-family: Georgia, "Times New Roman", serif; font-size: 28px; }
  .site-nav a::after { display: none; }
  .menu-button { grid-column: 2; grid-row: 1; }

  .hero-inner { grid-template-columns: 1fr 260px; gap: 48px; min-height: 600px; }
  .hero h1 { font-size: 62px; }
  .hero-lede { font-size: 26px; }
  .quick-facts { display: none; }

  .about-grid { gap: 50px; }
  .featured-work { grid-template-columns: 100px 1fr; }
  .featured-work > a { grid-column: 2; }
}

@media (max-width: 680px) {
  :root { --header-height: 62px; }
  body { font-size: 15px; }
  .header-inner, .hero-inner, .section, .contact-section, .site-footer { width: min(calc(100% - 32px), var(--max-width)); }
  .header-inner { gap: 10px; }
  .hero-inner {
    min-height: auto;
    padding: 50px 0 58px;
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .hero h1 { font-size: 54px; }
  .hero-lede { margin-top: 22px; font-size: 24px; }
  .hero-summary { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .portrait-panel { display: grid; grid-template-columns: 128px 1fr; gap: 16px; align-items: start; }
  .portrait-frame { width: 128px; height: 160px; }
  .availability { margin-top: 0; }

  .section { padding: 70px 0; }
  .section-heading, .publication-heading > div { grid-template-columns: 40px 1fr; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2, .contact-section h2 { font-size: 34px; }
  .publication-heading { display: block; }
  .publication-heading .text-link { display: inline-block; margin: 14px 0 0 40px; }
  .about-grid { padding-left: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-lead { font-size: 22px; }
  .bio-block + .bio-block { margin-top: 54px; padding-top: 50px; }
  .bio-subheading { grid-template-columns: 1fr; gap: 6px; margin: 0 0 24px 40px; }
  .bio-subheading h3 { font-size: 25px; }
  .featured-work { margin-left: 40px; padding: 22px; grid-template-columns: 1fr; gap: 12px; }
  .featured-work > a { grid-column: 1; }

  .filter-bar { margin-left: 40px; max-width: calc(100% - 40px); overflow-x: auto; }
  .filter-bar button { white-space: nowrap; }
  .research-lines, .publication-list, .timeline, .education-list, .recognition, .no-results { margin-left: 40px; }
  .research-line { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .research-line h3 { font-size: 21px; }
  .publication-year-group { grid-template-columns: 1fr; gap: 0; padding: 22px 0 0; }
  .publication-year { padding-top: 0; }
  .publication { padding: 22px 0; }
  .publication h3 { font-size: 20px; }
  .timeline-item { grid-template-columns: 1fr; gap: 10px; }
  .timeline-meta { display: flex; justify-content: space-between; gap: 20px; }
  .timeline-meta p:last-child { margin-top: 0; }
  .timeline-content h3 { font-size: 23px; }
  .education-list article { grid-template-columns: 1fr; gap: 8px; }
  .education-list article > a { margin-top: 4px; }
  .recognition > div { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }

  .contact-section { padding: 76px 40px; }
  .contact-section h2 { font-size: 38px; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
  .site-header, .filter-bar, .contact-section, .site-footer { display: none; }
  body { background: white; }
  .hero-inner { min-height: 0; }
  .section, .hero-inner { width: 100%; padding: 36px 0; }
  .publication[hidden] { display: block; }
}
