* {
  box-sizing: border-box;
}

html {
  background: #ffffff;
}

body {
  margin: 0;
  color: #202724;
  background: #ffffff;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: #1f7a61;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.site {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 66px;
  border-bottom: 1px solid #dfeae4;
  font-size: 15px;
}

.brand {
  margin-right: auto;
  color: #24332e;
  font-weight: 760;
}

.top-nav a:not(.brand) {
  color: #465852;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 64px;
  align-items: center;
  padding: 54px 0 46px;
  border-bottom: 1px solid #dfeae4;
}

.hero-copy {
  width: 100%;
}

.eyebrow {
  margin: 0 0 14px;
  color: #1f7a61;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #1f2a27;
  font-size: clamp(36px, 4.1vw, 48px);
  line-height: 1.12;
  font-weight: 760;
  white-space: nowrap;
}

.cn-name {
  margin-left: 14px;
  color: #1f2a27;
  font-family: KaiTi, STKaiti, "Kaiti SC", "楷体", serif;
  font-size: 0.66em;
  font-weight: 600;
  white-space: nowrap;
}

.subtitle {
  margin: 24px 0 0;
  color: #465852;
  font-size: 19px;
  line-height: 1.45;
}

.academic-title {
  margin-top: 22px;
  color: #34433e;
  font-size: 17px;
  line-height: 1.55;
}

.academic-title p {
  margin: 0;
}

.academic-title p:first-child {
  color: #1f2a27;
  font-weight: 720;
}

.intro {
  max-width: 690px;
  margin: 26px 0 0;
  color: #34433e;
  font-size: 16px;
  line-height: 1.72;
  text-align: justify;
}

.headshot {
  width: 210px;
  height: 252px;
  display: block;
  object-fit: cover;
  object-position: center 18%;
  margin-left: auto;
  border-radius: 4px;
  border: 1px solid #dbe9e2;
  box-shadow: none;
}

.profile-block {
  width: 260px;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  padding: 16px 0 0;
  color: #465852;
  font-size: 13px;
  justify-items: start;
  text-align: left;
}

.contact-row i {
  width: 18px;
  margin-right: 7px;
  color: #1f7a61;
  text-align: center;
}

.contact-row a,
.contact-row span {
  overflow-wrap: anywhere;
}

.contact-row .no-wrap {
  white-space: nowrap;
}

.content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: none;
  padding: 0 0 58px;
}

.section {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 38px;
  padding: 28px 0;
}

.section h2 {
  margin: 0;
  color: #1f2a27;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: 0;
}

.section-body {
  min-width: 0;
}

.interest-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.interest-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 13px;
  border: 1px solid #cfe3d9;
  border-radius: 999px;
  background: #ffffff;
  color: #1f7a61;
  font-weight: 700;
  line-height: 1.25;
}

.academic-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.academic-list li {
  position: relative;
  padding: 5px 0 5px 18px;
  color: #34433e;
  font-size: 15px;
  line-height: 1.55;
}

.academic-list li::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1f7a61;
}

.interest-list {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 36px;
}

.interest-list li {
  color: #1f2a27;
  font-weight: 730;
}

.paper-entry {
  padding: 1px 0 1px 18px;
  border-left: 2px solid #a8d9c4;
}

.paper-entry h3,
.paper-entry p {
  margin: 0;
}

.paper-entry h3 {
  color: #1f2a27;
  font-size: 16px;
  font-weight: 760;
  line-height: 1.45;
}

.paper-entry h3 a {
  color: #1f2a27;
}

.paper-entry p {
  margin-top: 5px;
  color: #4c5e58;
  font-size: 15px;
  line-height: 1.5;
}

.paper-entry .author-line a {
  color: inherit;
}

.paper-list a {
  color: #1f2a27;
  font-weight: 730;
}

.paper-list .author-line {
  display: block;
  margin-top: 3px;
  color: #4c5e58;
  font-size: 15px;
}

.paper-list .author-line a {
  color: inherit;
  font-weight: inherit;
}

.education-list strong {
  color: #1f2a27;
  font-weight: 730;
}

.teaching-summary strong {
  color: #1f2a27;
  font-weight: 730;
}

.detail-list {
  display: grid;
  gap: 0;
}

.detail-item {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid #edf3ef;
}

.detail-item:last-child {
  border-bottom: 0;
}

.education-item {
  grid-template-columns: 1fr;
  gap: 0;
  padding: 18px 0;
}

.education-item:last-child {
  padding-bottom: 18px;
}

.year,
.term {
  margin: 0;
  color: #1f7a61;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.item-title,
.item-meta {
  margin: 0;
}

.item-title {
  color: #24332e;
  font-weight: 750;
}

.item-meta {
  margin-top: 2px;
  color: #4c5e58;
  font-size: 15px;
}

.paper-item {
  padding: 18px 20px;
  border-left: 3px solid #a8d9c4;
  background: #ffffff;
}

.paper-title {
  color: #1f7a61;
  font-weight: 800;
}

.clean-list {
  display: grid;
  gap: 14px;
}

.clean-item {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid #edf3ef;
}

.clean-item:first-child {
  padding-top: 0;
}

.clean-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.clean-item--highlight {
  padding: 18px 20px;
  border-bottom: 0;
  border-left: 3px solid #a8d9c4;
  background: #ffffff;
}

.paper-highlight {
  grid-template-columns: 1fr;
}

.clean-marker {
  color: #1f7a61;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  white-space: nowrap;
}

.clean-content h3,
.clean-content p {
  margin: 0;
}

.clean-content h3 {
  color: #24332e;
  font-size: 16px;
  font-weight: 760;
  line-height: 1.45;
}

.clean-content h3 a {
  color: #1f7a61;
}

.clean-content p {
  margin-top: 3px;
  color: #4c5e58;
  font-size: 15px;
  line-height: 1.5;
}

.cv-list {
  display: grid;
  gap: 0;
}

.cv-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 22px;
  align-items: baseline;
  padding: 17px 0;
  margin-bottom: 0;
  border-bottom: 1px solid #edf3ef;
}

.cv-item:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.cv-item--paper {
  margin-bottom: 0;
  padding: 17px 20px;
  border-bottom: 0;
  border-left: 3px solid #a8d9c4;
  background: #ffffff;
}

.cv-date,
.cv-title,
.cv-meta {
  margin: 0;
}

.cv-date {
  color: #1f7a61;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.cv-title {
  color: #24332e;
  font-weight: 750;
  line-height: 1.45;
}

.cv-link {
  color: #1f7a61;
}

.cv-meta {
  margin-top: 3px;
  color: #4c5e58;
  font-size: 15px;
  line-height: 1.5;
}

.entry,
.research-entry,
.teaching-entry {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e4eee8;
}

.entry h2,
.research-entry h2,
.teaching-entry h2 {
  margin: 0 0 6px;
  color: #1f2a27;
  font-size: 22px;
  line-height: 1.3;
}

.entry-meta,
.entry-note {
  margin: 3px 0 0;
  color: #34433e;
}

.entry-note {
  font-size: 15px;
}

.research-hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 42px 0 24px;
  text-align: left;
  border-bottom: 1px solid #dfeae4;
}

.research-hero + .research-main {
  padding-top: 30px;
}

.research-hero h1 {
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1.12;
}

.page-lede {
  max-width: 760px;
  margin: 14px 0 0;
  color: #34433e;
  font-size: 16px;
  line-height: 1.6;
}

.research-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.research-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 13px;
  border: 1px solid #cfe3d9;
  border-radius: 999px;
  background: #ffffff;
  color: #1f2a27;
  font-weight: 700;
  line-height: 1.25;
}

.research-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 30px 0 58px;
}

.research-section h2 {
  margin: 0 0 18px;
  color: #1f2a27;
  font-size: 21px;
}

.research-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 22px;
  padding: 17px 0;
  border-top: 1px solid #e4eee8;
  background: transparent;
}

.research-card--plain {
  grid-template-columns: 1fr;
}

.teaching-card {
  margin-bottom: 16px;
  border-top: 0;
  padding-top: 0;
}

.teaching-card:last-child {
  margin-bottom: 0;
}

.research-card-label {
  color: #1f2a27;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.research-card h3,
.research-card p {
  margin: 0;
}

.research-card h3 {
  font-size: 16px;
  line-height: 1.45;
}

.research-card h3 a {
  color: #1f2a27;
  font-weight: 730;
}

.research-card p {
  margin-top: 6px;
  color: #4c5e58;
  font-size: 15px;
  line-height: 1.55;
}

.author-line a {
  color: inherit;
}

.presentation-main {
  max-width: 780px;
}

.presentation-block + .presentation-block {
  margin-top: 24px;
}

.presentation-block h2 {
  margin: 0;
  color: #1f2a27;
  font-size: 22px;
  letter-spacing: 0;
}

.presentation-list {
  margin-top: 16px;
}

.presentation-item {
  position: relative;
  padding: 7px 0 7px 22px;
}

.presentation-item::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1f7a61;
}

.presentation-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 24px;
  padding: 17px 0;
  border-bottom: 1px solid #dfeae4;
}

.presentation-row--empty {
  grid-template-columns: 1fr;
}

.presentation-year {
  color: #1f2a27;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.presentation-detail p {
  margin: 0;
  color: #34433e;
  font-size: 16px;
  line-height: 1.55;
}

.presentation-detail p + p {
  margin-top: 5px;
}

.presentation-detail .presentation-title {
  color: #1f2a27;
  font-weight: 700;
}

.presentation-detail sup {
  color: #1f2a27;
  font-size: 12px;
  line-height: 0;
}

.footer {
  margin-top: 42px;
  color: #71827c;
  font-size: 14px;
}

@media (max-width: 820px) {
  .site {
    width: min(100% - 36px, 720px);
  }

  .top-nav {
    flex-wrap: wrap;
    gap: 12px 18px;
    padding: 14px 0;
  }

  .brand {
    width: 100%;
  }

  .hero,
  .section {
    display: block;
  }

  .headshot {
    width: 190px;
    height: 230px;
    margin-left: 0;
    margin-top: 28px;
  }

  .profile-block {
    width: auto;
  }

  .contact-row .no-wrap {
    white-space: normal;
  }

  .section h2 {
    margin-bottom: 12px;
  }

  .detail-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .cv-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .clean-item {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .interest-list {
    grid-template-columns: 1fr;
  }

  .research-card {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .presentation-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .cn-name {
    display: block;
    margin: 8px 0 0;
  }

  h1 {
    white-space: normal;
  }
}
