:root {
  --text: #1b1b1b;
  --muted: #686868;
  --light: #9b9b9b;
  --line: #e5e1d8;
  --accent: #4a6b5a;
  --page: #f7f4ec;
  --sans: "DM Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 72px;
}

nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

nav a {
  transition: color 160ms ease;
}

.section-block {
  padding: 78px 0;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 74px;
  align-items: start;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 20px;
  padding: 5px 9px 4px;
  background: #dce7de;
  color: #355241;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 500;
}

h1 {
  margin-bottom: 24px;
  font-family: var(--display);
  font-size: 41px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.12;
}

.name-cn {
  display: inline-block;
  margin-left: 10px;
  color: inherit;
  font-family: var(--sans);
  font-size: 0.48em;
  letter-spacing: 0;
  white-space: nowrap;
  vertical-align: middle;
}

.about-copy > p:not(.eyebrow) {
  max-width: 635px;
  margin-bottom: 18px;
  color: #3f3f3f;
}

.about-copy a {
  display: inline-block;
  border-bottom: 1px solid #b7c5bb;
  font-weight: 700;
  white-space: nowrap;
}

.about-copy a:hover {
  border-color: var(--accent);
}

.contact-line {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin-top: 30px;
  color: var(--muted);
  font-size: 13px;
}

.contact-line span {
  color: var(--light);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-line a {
  color: var(--text);
}

.portrait {
  width: 170px;
  margin: 5px 0 0;
}

.portrait img {
  display: block;
  width: 170px;
  height: 215px;
  object-fit: cover;
  object-position: 52% 42%;
  filter: saturate(0.9);
}

.portrait-caption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.portrait-caption p {
  margin-bottom: 4px;
}

.portrait-caption .caption-school {
  margin-bottom: 0;
  color: var(--text);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.portrait-caption .caption-detail {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.portrait-emails {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.email-label {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 3px;
  color: var(--text);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.email-label::before {
  content: "\2709";
  font-size: 12px;
  line-height: 1;
}

.portrait-emails a {
  color: var(--text);
  font-size: 10.5px;
  line-height: 1.45;
  white-space: nowrap;
}

.experience {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 35px;
}

.section-heading .eyebrow {
  margin-bottom: 0;
}

h2 {
  margin-bottom: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 24px;
  line-height: 1.2;
}

.experience-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 32px;
  padding: 27px 0 4px;
  border-top: 1px solid var(--line);
}

.experience-date {
  padding-top: 3px;
  color: var(--light);
  font-family: var(--mono);
  font-size: 13px;
}

.experience-content h3 {
  margin-bottom: 5px;
  font-family: var(--sans);
  font-size: 23px;
  line-height: 1.25;
}

.experience-role {
  margin-bottom: 1px;
  color: var(--accent);
  font-size: 13px;
  line-height: 1.4;
}

.experience-program {
  margin-bottom: 1px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.experience-location {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
}

.experience-content > p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: #4b4b4b;
}

.awards {
  border-top: 1px solid var(--line);
}

.award-list {
  border-top: 1px solid var(--line);
}

.award-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 32px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.award-year {
  color: var(--light);
  font-family: var(--mono);
  font-size: 13px;
}

.award-item p {
  margin-bottom: 0;
  color: #4b4b4b;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--light);
  font-size: 12px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.footer-inner a {
  color: var(--muted);
}

@media (max-width: 680px) {
  .page-width {
    width: min(100% - 36px, 540px);
  }

  .header-inner {
    min-height: 64px;
  }

  nav {
    gap: 11px;
    font-size: 11px;
  }

  .section-block {
    padding: 56px 0;
  }

  .about {
    display: flex;
    flex-direction: column-reverse;
    gap: 30px;
  }

  .portrait,
  .portrait img {
    width: 135px;
  }

  .portrait img {
    height: 170px;
  }

  h1 {
    font-size: 34px;
  }

  .name-cn {
    margin-left: 7px;
    font-size: 0.5em;
  }

  .section-heading {
    display: block;
    margin-bottom: 26px;
  }

  .section-heading h2 {
    margin-top: 13px;
  }

  .experience-item {
    display: block;
    padding-top: 22px;
  }

  .experience-date {
    margin-bottom: 8px;
  }

  .award-item {
    display: block;
    padding: 17px 0;
  }

  .award-year {
    margin-bottom: 5px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
  }
}
