* {
  box-sizing: border-box;
}

:root {
  --text: #222;
  --muted: #666;
  --border: #d9d9d9;
  --soft-border: #e8e8e8;
  --link: #174a7e;
  --link-hover: #0b3157;
  --soft-bg: #f7f8fa;
  --max-width: 1000px;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover,
a:focus {
  color: var(--link-hover);
}

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

.page {
  min-height: 100vh;
}

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

.hero {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}

.hero-media {
  width: 170px;
}

.avatar-wrapper {
  width: 170px;
  height: auto;
  overflow: visible;
}

.avatar {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto !important;
  max-height: none;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 2px;
}

.hero-content {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 6px;
  color: #111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.35rem;
  font-weight: 400;
  line-height: 1.2;
}

.name-cn {
  margin-left: 8px;
  color: var(--muted);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 0.48em;
  white-space: nowrap;
}

.title {
  margin: 0 0 4px;
  color: #333;
  font-size: 1.05rem;
  line-height: 1.55;
}

.institution-link {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 28px;
  margin: 20px 0 0;
  padding: 12px 0;
  border-top: 1px solid var(--soft-border);
  border-bottom: 1px solid var(--soft-border);
}

.meta-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.meta-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.meta-value {
  color: #333;
  font-size: 0.9rem;
  line-height: 1.5;
}

.summary {
  margin: 18px 0 0;
  color: #444;
  font-size: 0.96rem;
  line-height: 1.8;
  text-align: justify;
  text-justify: inter-word;
}

.section {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.section-title {
  margin-bottom: 18px;
}

.section-title h2 {
  margin: 0;
  padding-bottom: 8px;
  color: #111;
  border-bottom: 2px solid #333;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.section-note {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-block;
  padding: 4px 10px;
  color: #333;
  background: var(--soft-bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 0.86rem;
}

.pub-group + .pub-group {
  margin-top: 26px;
}

.pub-year {
  margin: 0 0 10px;
  padding-bottom: 5px;
  color: #333;
  border-bottom: 1px solid var(--soft-border);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 400;
}

.pub-list {
  margin: 0;
  padding-left: 28px;
}

.pub-list li {
  margin: 0 0 11px;
  padding-left: 5px;
  color: #333;
  font-size: 0.92rem;
  line-height: 1.65;
  text-align: justify;
  text-justify: inter-word;
}

.pub-list li:last-child {
  margin-bottom: 0;
}

.pub-list em {
  color: #333;
  font-style: italic;
}

.pub-list li u {
  text-decoration: underline;
  text-decoration-color: #777;
  text-underline-offset: 2px;
}

.services {
  margin: 0;
  padding-left: 22px;
}

.services li {
  margin-bottom: 8px;
  padding-left: 4px;
  color: #333;
  font-size: 0.92rem;
  line-height: 1.65;
  text-align: justify;
  text-justify: inter-word;
}

.services li:last-child {
  margin-bottom: 0;
}

.site-footer {
  margin-top: 38px;
  padding-top: 14px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  text-align: center;
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 32px, var(--max-width));
    padding: 28px 0 42px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 24px;
  }

  .hero-media {
    width: 132px;
    margin: 0 auto;
  }

  .avatar-wrapper {
    width: 132px;
    height: auto;
  }

  .hero-content {
    text-align: left;
  }

  .eyebrow {
    line-height: 1.5;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .name-cn {
    display: inline-block;
    margin-left: 4px;
  }

  .title {
    font-size: 0.96rem;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .meta-item {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .summary {
    font-size: 0.9rem;
    line-height: 1.75;
  }

  .section {
    margin-top: 28px;
    padding-top: 20px;
  }

  .section-title h2 {
    font-size: 1.3rem;
  }

  .pub-list {
    padding-left: 22px;
  }

  .pub-list li,
  .services li {
    font-size: 0.86rem;
    line-height: 1.65;
  }
}
