:root {
  --bg: #f4f5f1;
  --surface: #ffffff;
  --surface-soft: #e9eeea;
  --ink: #1f2522;
  --ink-soft: #5f6963;
  --line: #d3dad5;
  --forest: #20584b;
  --forest-dark: #174238;
  --brick: #a04f35;
  --warm: #efe9df;
  --header-height: 72px;
  --radius: 6px;
  --max-width: 1180px;
  --reading-width: 740px;
  color-scheme: light;
  font-synthesis: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 4px;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

figure {
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.3;
  text-wrap: balance;
}

section[id],
article section[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.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: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 2px;
}

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

.page-shell,
.nav-shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  background: rgba(244, 245, 241, 0.96);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  transition: border-color 160ms ease;
}

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

.nav-shell {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
}

.brand-name {
  font-family: "Songti SC", SimSun, serif;
  font-size: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 6px;
  height: 1px;
  background: var(--forest);
  transition: right 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current],
.site-nav a.current-section {
  color: var(--forest);
}

.site-nav a:hover::after,
.site-nav a[aria-current]::after,
.site-nav a.current-section::after {
  right: 0;
}

.site-nav .nav-contact {
  padding-inline: 15px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
}

.site-nav .nav-contact::after {
  display: none;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-button svg {
  width: 21px;
  height: 21px;
}

.hero {
  padding: 68px 0 0;
  background: var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 340px);
  gap: 80px;
  align-items: start;
}

.hero-copy {
  padding-top: 22px;
}

.eyebrow,
.section-index,
.article-index {
  margin-bottom: 18px;
  color: var(--brick);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 22px;
  font-family: "Songti SC", SimSun, serif;
  font-size: 54px;
  font-weight: 700;
}

.hero h1 span {
  display: inline-block;
  margin-left: 12px;
  color: var(--ink-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 600;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 28px;
  font-family: "Songti SC", SimSun, serif;
  font-size: 21px;
  line-height: 1.75;
}

.hero-lead > span {
  display: block;
}

.identity-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

.identity-line > span {
  white-space: nowrap;
}

.identity-line > span:not(:first-child)::before {
  content: "";
  width: 3px;
  height: 3px;
  display: inline-block;
  margin: 0 12px 3px 0;
  border-radius: 50%;
  background: var(--line);
}

.identity-line .identity-party {
  color: var(--forest);
  font-weight: 700;
}

.identity-line .identity-update {
  font-size: 13px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.button svg,
.text-link svg,
.back-link svg,
.site-footer svg,
.contact-section svg,
.article-end-nav svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.button-primary {
  background: var(--ink);
  color: #fff;
}

.button-primary:hover {
  background: var(--forest-dark);
  color: #fff;
}

.button-secondary {
  background: transparent;
}

.button-secondary:hover {
  border-color: var(--forest);
}

.email-copy-trigger {
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.email-copy-trigger:hover {
  border-color: var(--forest);
  color: var(--forest);
}

.email-copy-trigger.is-copied {
  border-color: var(--forest);
  background: var(--forest);
  color: #fff;
}

.copy-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 500;
  max-width: min(360px, calc(100vw - 32px));
  padding: 10px 14px;
  border: 1px solid var(--forest);
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.copy-toast:empty {
  display: none;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.copy-toast.is-error {
  border-color: var(--brick);
}

.profile-facts {
  max-width: 710px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin-bottom: 0;
  border-top: 1px solid var(--line);
}

.profile-facts div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.profile-facts dt {
  color: var(--ink-soft);
  font-size: 13px;
}

.profile-facts dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.portrait-figure {
  margin-bottom: 0;
}

.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--warm);
  border: 1px solid var(--line);
}

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

.portrait-figure figcaption {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  color: var(--ink-soft);
  font-size: 12px;
  border-top: 1px solid var(--ink);
}

.signal-strip {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.signal-strip div {
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px 28px;
  border-right: 1px solid var(--line);
}

.signal-strip div:last-child {
  border-right: 0;
}

.signal-strip strong {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1;
}

.signal-strip strong small {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.signal-strip span {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.section {
  padding: 104px 0;
}

.section-projects {
  background: var(--surface);
}

.section-heading {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 54px;
}

.section-heading .section-index {
  margin: 8px 0 0;
  font-size: 18px;
}

.section-heading h2 {
  max-width: 760px;
  margin-bottom: 12px;
  font-family: "Songti SC", SimSun, serif;
  font-size: 34px;
}

.section-heading > div > p {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.section-summary-lines span {
  display: block;
  padding-left: 1em;
  text-indent: -1em;
}

.experience-tags {
  max-width: 760px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.experience-tags li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
  color: var(--forest);
  font-size: 13px;
  font-weight: 700;
}

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

.section-heading-stacked .section-index {
  margin-bottom: 18px;
}

.project-groups {
  display: grid;
  gap: 76px;
}

.project-group-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 15px;
}

.project-group-heading h3 {
  min-width: 0;
  margin-bottom: 0;
  font-family: "Songti SC", SimSun, serif;
  font-size: 20px;
}

.project-group-heading span {
  flex: 0 0 auto;
  color: var(--brick);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.project-list {
  border-top: 1px solid var(--ink);
}

.project-row {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 58px;
  padding: 42px 0;
  border-bottom: 2px solid rgba(32, 88, 75, 0.28);
}

.project-row-text-only {
  grid-template-columns: minmax(0, 1fr);
  padding-block: 36px;
}

.project-row-text-only .project-copy,
.project-row-text-only .project-copy > p:not(.project-role) {
  max-width: 920px;
}

.project-row-text-only .project-copy > p:last-child {
  margin-bottom: 0;
}

.media-placeholder {
  width: 100%;
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  background: var(--surface-soft);
  border: 1px solid #c5cec8;
  color: var(--ink-soft);
  text-align: center;
}

.media-placeholder::before {
  content: "";
  width: 52px;
  height: 3px;
  background: var(--brick);
}

.media-placeholder svg {
  width: 26px;
  height: 26px;
}

.media-placeholder span {
  font-size: 13px;
}

.media-frame {
  width: 100%;
  overflow: hidden;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.media-frame--3x2 {
  aspect-ratio: 3 / 2;
}

.media-frame--16x9 {
  aspect-ratio: 16 / 9;
}

.media-frame--4x3 {
  aspect-ratio: 4 / 3;
}

.media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.media-image--contain {
  object-fit: contain;
  background: var(--surface);
}

.media-image--top {
  object-position: center top;
}

.media-image--left {
  object-position: left center;
}

.media-image--right {
  object-position: right center;
}

.project-copy {
  align-self: center;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  margin-bottom: 14px;
  color: var(--brick);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.project-meta > span:first-child {
  font-size: 18px;
}

.status {
  padding: 2px 7px;
  border: 1px solid currentColor;
  border-radius: 2px;
  line-height: 1.5;
}

.status-active {
  color: var(--forest);
}

.project-copy h3 {
  max-width: 700px;
  margin-bottom: 12px;
  font-size: 24px;
}

.project-role {
  margin-bottom: 10px;
  color: var(--forest);
  font-size: 14px;
  font-weight: 700;
}

.project-copy > p:not(.project-role) {
  max-width: 700px;
  margin-bottom: 18px;
  color: var(--ink-soft);
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--forest);
  font-size: 14px;
  font-weight: 700;
}

.muted-link {
  color: var(--ink-soft);
}

.section-profile {
  background: var(--ink);
  color: #fff;
}

.section-profile .section-index {
  color: #d98767;
}

.section-profile h2 {
  max-width: 850px;
  color: #fff;
}

.profile-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.7fr;
  gap: 72px;
}

.profile-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.profile-columns > div {
  padding-top: 18px;
  border-top: 1px solid #53605a;
}

.profile-number {
  margin-bottom: 34px;
  color: #8fa79d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.profile-columns h3 {
  margin-bottom: 12px;
  font-size: 19px;
}

.profile-columns p:last-child {
  margin-bottom: 0;
  color: #c7ceca;
  font-size: 14px;
}

.experience-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr));
  gap: 48px;
}

.timeline--education {
  grid-column: span 1;
}

.timeline--work {
  grid-column: span 2;
}

.timeline--education .timeline-item {
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 18px;
}

.subsection-title {
  margin-bottom: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
  font-size: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item time {
  padding-top: 4px;
  color: var(--brick);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
}

.timeline-item h4 {
  margin-bottom: 6px;
  font-size: 17px;
}

.timeline-item p {
  margin-bottom: 4px;
}

.timeline-item .detail-line {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.timeline-item .detail-line + .detail-line {
  margin-top: 4px;
}

.education-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.education-highlights li {
  padding-left: 10px;
  border-left: 2px solid var(--brick);
  color: var(--forest-dark);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.experience-honor {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin: 18px 0 0;
  padding: 11px 13px;
  border-left: 3px solid var(--brick);
  background: var(--warm);
  font-size: 14px;
  font-weight: 700;
}

.experience-honor span {
  color: var(--brick);
  font-size: 12px;
}

.work-highlights {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.work-highlights li {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.work-highlights strong {
  color: var(--forest);
  font-size: 14px;
}

.work-highlights span {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.work-highlights .work-highlight-copy {
  display: grid;
  gap: 3px;
}

.work-highlight-copy > span {
  display: block;
}

.project-summary-lines > span {
  display: block;
}

.project-summary-lines > span + span {
  margin-top: 5px;
}

.section-publications {
  background: var(--surface);
}

.publication-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.publication-list li {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 26px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.publication-number {
  color: var(--brick);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

.publication-type {
  margin-bottom: 7px;
  color: var(--forest);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.publication-list h3 {
  max-width: 920px;
  margin-bottom: 6px;
  font-family: "Times New Roman", "Songti SC", SimSun, serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.publication-list h3 strong {
  font-weight: 700;
}

.publication-list h3 sup,
.project-publication-citation sup {
  font-size: 0.65em;
  line-height: 0;
  vertical-align: super;
}

.publication-list li div > p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.research-output-section {
  margin-top: 54px;
}

.research-output-section > h3 {
  margin-bottom: 15px;
  font-size: 19px;
}

.research-output-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.research-output-list li {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 26px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.research-output-list strong {
  color: var(--forest);
  font-size: 13px;
  line-height: 1.7;
}

.research-output-list span {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.honors-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.honor-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.honor-list li {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.honor-list time {
  color: var(--brick);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
}

.contact-section {
  padding: 78px 0;
  background: var(--forest-dark);
  color: #fff;
}

.contact-section .section-index {
  color: #e19a7e;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
}

.contact-layout h2 {
  margin-bottom: 6px;
  font-family: "Songti SC", SimSun, serif;
  font-size: 34px;
}

.contact-layout > div > p:last-child {
  margin-bottom: 0;
  color: #c9d5d0;
}

.contact-layout address {
  display: grid;
  gap: 12px;
  justify-items: start;
  font-style: normal;
}

.contact-layout address a,
.contact-layout address span,
.contact-layout address button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  overflow-wrap: anywhere;
}

.contact-copy-trigger {
  min-height: 44px;
  max-width: 100%;
  margin: 0;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0;
  background: transparent;
  font: inherit;
  line-height: inherit;
  text-align: left;
  white-space: normal;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease;
}

.contact-copy-trigger:hover,
.contact-copy-trigger.is-copied {
  border-color: #e19a7e;
  color: #e19a7e;
}

.contact-copy-trigger:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.site-footer {
  padding: 22px 0;
  background: #102e27;
  color: #c8d4cf;
  font-size: 12px;
}

.site-footer .page-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* Project detail */
.project-hero {
  padding: 74px 0 58px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.back-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 52px;
  color: var(--forest);
  font-size: 14px;
  font-weight: 700;
}

.project-hero h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-family: "Songti SC", SimSun, serif;
  font-size: 46px;
}

.project-hero-lead {
  max-width: 820px;
  margin-bottom: 40px;
  color: var(--ink-soft);
  font-family: "Songti SC", SimSun, serif;
  font-size: 20px;
  line-height: 1.8;
  text-align: justify;
  text-justify: inter-character;
  text-wrap: pretty;
}

.project-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.project-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 9px;
  border: 1px solid #c9b6ad;
  border-radius: 2px;
  color: var(--brick);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.project-facts div {
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}

.project-facts div:last-child {
  border-right: 0;
}

.project-facts dt {
  margin-bottom: 5px;
  color: var(--ink-soft);
  font-size: 12px;
}

.project-facts dd {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.project-cover-wrap {
  padding-top: 54px;
}

.project-figure {
  margin-bottom: 0;
}

.project-figure-spaced {
  margin-top: 32px;
}

.media-placeholder-wide {
  aspect-ratio: 16 / 9;
}

.project-figure figcaption {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 13px;
}

.project-article > section > .project-figure {
  margin-top: 30px;
}

.figure-link {
  display: block;
  width: 100%;
  padding: clamp(8px, 1.4vw, 16px);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 160ms ease;
}

.figure-link:hover {
  border-color: #9eaaa3;
}

.figure-link img {
  width: 100%;
  height: auto;
}

.figure-link--flush {
  padding: 0;
}

.project-figure-compact {
  max-width: 560px;
  margin-right: auto;
  margin-left: auto;
}

.project-figure-compact .figure-link img {
  width: auto;
  max-width: 100%;
  margin-inline: auto;
}

.project-result-link {
  color: inherit;
  text-decoration: none;
}

.project-result-visual {
  width: 100%;
  aspect-ratio: 3 / 2;
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}

.project-result-link .project-result-visual {
  height: 100%;
  border: 0;
}

.project-result-link .project-result-value strong {
  font-size: 50px;
}

.project-result-link .project-result-copy p {
  font-size: 18px;
}

.project-result-value {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  background: var(--forest-dark);
  color: #fff;
}

.project-result-value strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  line-height: 1;
}

.project-result-value span {
  max-width: 150px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.project-result-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}

.project-result-copy p {
  margin-bottom: 20px;
  color: var(--ink);
  font-family: "Songti SC", SimSun, serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.55;
}

.project-result-copy small {
  padding-top: 15px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
  border-top: 1px solid var(--line);
}

.project-result-link:hover .project-result-copy p {
  color: var(--forest);
}

.figure-takeaway {
  margin: 18px 0 0;
  padding: 2px 0 2px 18px;
  border-left: 3px solid var(--brick);
}

.project-article-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, var(--reading-width));
  gap: 70px;
  justify-content: center;
  align-items: start;
  padding-top: 84px;
  padding-bottom: 110px;
}

.project-article {
  min-width: 0;
}

.project-toc {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  padding-top: 8px;
}

.project-toc > p {
  margin-bottom: 15px;
  color: var(--brick);
  font-size: 12px;
  font-weight: 700;
}

.project-toc nav {
  display: grid;
}

.project-toc a {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding-left: 12px;
  color: var(--ink-soft);
  font-size: 13px;
  text-decoration: none;
  border-left: 1px solid var(--line);
}

.project-toc a:hover,
.project-toc a[aria-current="location"] {
  color: var(--forest);
  border-left-color: var(--forest);
}

.project-article > section {
  padding-bottom: 72px;
}

.project-article > section + section {
  padding-top: 72px;
  border-top: 1px solid var(--line);
}

.project-article .article-index {
  margin-bottom: 10px;
}

.project-article h2 {
  margin-bottom: 22px;
  font-family: "Songti SC", SimSun, serif;
  font-size: 30px;
}

.title-phrase {
  display: inline-block;
}

.project-article > section > p:not(.article-index) {
  color: #37413c;
  font-family: "Songti SC", SimSun, serif;
  font-size: 17px;
  line-height: 2;
  text-align: justify;
  text-justify: inter-character;
  text-wrap: pretty;
}

.article-list {
  margin: 0;
  padding-left: 1.2em;
}

.article-list li {
  margin-bottom: 12px;
  padding-left: 8px;
}

.article-list li::marker {
  color: var(--brick);
}

.figure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.figure-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.figure-grid-three .figure-link {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  position: relative;
}

.figure-grid-three .figure-link img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.figure-grid-natural {
  align-items: start;
}

.figure-grid-natural .figure-link {
  aspect-ratio: auto;
  display: block;
  padding: 0;
}

.figure-grid-natural .figure-link img {
  position: static;
  inset: auto;
  width: 100%;
  height: auto;
  object-fit: initial;
}

.figure-grid-connections {
  grid-template-columns: minmax(0, 1.88fr) minmax(0, 0.775fr);
  align-items: stretch;
}

.figure-grid-connections .figure-link {
  display: grid;
  height: auto;
  padding: 0;
  place-items: center;
  position: relative;
}

.figure-grid-connections .project-figure:first-child .figure-link {
  aspect-ratio: 1453 / 773;
}

.figure-grid-connections .project-figure:nth-child(2) .figure-link {
  aspect-ratio: 1678 / 2164;
}

.figure-grid-connections .figure-link img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.figure-grid-equal {
  align-items: start;
}

.figure-grid-equal .figure-link {
  aspect-ratio: var(--figure-aspect);
  display: grid;
  padding: 0;
  place-items: center;
  position: relative;
}

.figure-grid-equal .figure-link img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.figure-grid-equal--risk {
  --figure-aspect: 1.035 / 1;
}

.figure-grid-equal--experiment {
  --figure-aspect: 5 / 4;
}

.figure-grid-equal--resistance {
  --figure-aspect: 12 / 5;
}

.project-figure-animated {
  width: min(100%, 900px);
  margin-inline: auto;
}

.project-figure-animated .figure-link img {
  display: block;
  width: 100%;
  height: auto;
}

.project-figure-animated video {
  display: block;
  width: 100%;
  height: auto;
  background: var(--surface-soft);
}

.case-figure-grid .project-figure {
  min-width: 0;
}

.case-figure-grid {
  grid-template-columns: 1fr;
  gap: 34px;
}

.workflow-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.workflow-strip li {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 15px 12px;
  border-right: 1px solid var(--line);
}

.workflow-strip li:last-child {
  border-right: 0;
}

.workflow-strip span {
  color: var(--brick);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 700;
}

.workflow-strip strong {
  font-size: 13px;
  line-height: 1.5;
}

.application-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.application-list li {
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.application-list li:nth-child(odd) {
  padding-right: 22px;
}

.application-list li:nth-child(even) {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.application-list strong {
  font-size: 14px;
}

.application-list span {
  color: var(--ink-soft);
  font-size: 12px;
  text-align: right;
}

.method-strip {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 18px;
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method-strip span {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.method-strip svg {
  width: 16px;
  height: 16px;
  color: var(--brick);
}

.outcome-list {
  margin: 30px 0 0;
  border-top: 1px solid var(--ink);
}

.outcome-list div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.outcome-list dt {
  color: var(--forest);
  font-size: 13px;
  font-weight: 700;
}

.outcome-list dd {
  margin: 0;
}

.project-subheading {
  margin: 48px 0 0;
  font-family: "Songti SC", SimSun, serif;
  font-size: 21px;
}

.project-publication-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.project-publication-list li {
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--line);
}

.publication-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 13px;
}

.publication-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 8px;
  border: 1px solid #aebcb5;
  border-radius: 2px;
  color: var(--forest);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.publication-tag-primary {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}

.project-publication-citation {
  margin-bottom: 0;
  color: #37413c;
  font-family: "Times New Roman", "Songti SC", SimSun, serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.article-end-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--ink);
}

.article-end-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--forest);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 52px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-lead {
    font-size: 20px;
  }

  .profile-facts {
    grid-template-columns: 1fr;
  }

  .experience-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .timeline--education,
  .timeline--work {
    grid-column: auto;
  }

  .timeline--education .timeline-item {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 22px;
  }

  .project-row {
    gap: 38px;
  }

  .profile-grid,
  .honors-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .project-article-layout {
    grid-template-columns: 155px minmax(0, var(--reading-width));
    gap: 40px;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .project-result-link .project-result-value {
    padding: 18px;
  }

  .project-result-link .project-result-value strong {
    font-size: 42px;
  }

  .project-result-link .project-result-value span {
    font-size: 12px;
  }

  .project-result-link .project-result-copy {
    padding: 22px;
  }

  .project-result-link .project-result-copy p {
    font-size: 16px;
  }
}

@media (max-width: 780px) {
  :root {
    --header-height: 64px;
  }

  .page-shell,
  .nav-shell {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .menu-button {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 0;
    padding: 10px 16px 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .site-nav a {
    min-height: 50px;
    padding-inline: 6px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav .nav-contact {
    margin-top: 8px;
    justify-content: center;
    border: 1px solid var(--ink);
  }

  .hero {
    padding-top: 34px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 118px;
    gap: 20px;
  }

  .hero-copy {
    display: contents;
  }

  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy .hero-lead,
  .hero-copy .identity-line,
  .hero-copy .hero-actions,
  .hero-copy .profile-facts {
    grid-column: 1 / -1;
  }

  .hero-copy .eyebrow {
    grid-row: 1;
    grid-column: 1;
    align-self: end;
    margin-bottom: 4px;
  }

  .hero-copy h1 {
    grid-row: 2;
    grid-column: 1;
    align-self: start;
    margin-bottom: 0;
    font-size: 34px;
  }

  .hero h1 span {
    display: block;
    margin: 4px 0 0;
    font-size: 16px;
  }

  .portrait-figure {
    grid-row: 1 / span 2;
    grid-column: 2;
    align-self: start;
  }

  .portrait-frame {
    aspect-ratio: 4 / 5;
  }

  .portrait-figure figcaption {
    display: none;
  }

  .hero-copy .identity-line {
    grid-row: 3;
    margin: 18px 0 2px;
    font-size: 15px;
  }

  .hero-copy .hero-lead {
    grid-row: 4;
    margin: 12px 0 14px;
    font-size: 18px;
    line-height: 1.7;
  }

  .hero-copy .hero-actions {
    grid-row: 5;
    margin-bottom: 14px;
  }

  .hero-copy .profile-facts {
    grid-row: 6;
  }

  .signal-strip {
    margin-top: 34px;
    grid-template-columns: 1fr;
  }

  .signal-strip div {
    min-height: 72px;
    padding: 14px 6px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-strip div:last-child {
    border-bottom: 0;
  }

  .signal-strip strong {
    width: 72px;
    font-size: 28px;
  }

  .section {
    padding: 76px 0;
  }

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

  .section-heading .section-index {
    margin: 0 0 14px;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .project-groups {
    gap: 58px;
  }

  .project-group-heading {
    align-items: flex-end;
    gap: 16px;
    padding-bottom: 12px;
  }

  .project-group-heading h3 {
    font-size: 18px;
  }

  .project-row {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
  }

  .project-copy h3 {
    font-size: 21px;
  }

  .profile-columns,
  .experience-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .profile-columns {
    gap: 38px;
  }

  .profile-number {
    margin-bottom: 18px;
  }

  .work-highlights li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .publication-list li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .publication-list h3 {
    font-size: 17px;
  }

  .research-output-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .honor-list li {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .contact-layout {
    gap: 34px;
    align-items: start;
  }

  .project-hero {
    padding: 44px 0 46px;
  }

  .back-link {
    margin-bottom: 34px;
  }

  .project-hero h1 {
    font-size: 34px;
  }

  .project-hero-lead {
    font-size: 18px;
  }

  .project-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-facts div:nth-child(2) {
    border-right: 0;
  }

  .project-facts div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .project-article-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 66px;
    padding-bottom: 80px;
  }

  .project-toc {
    display: none;
  }

  .project-article h2 {
    font-size: 27px;
  }

  .figure-grid {
    grid-template-columns: 1fr;
  }

  .figure-grid .project-figure {
    width: min(100%, 430px);
    margin-inline: auto;
  }

  .case-figure-grid .project-figure {
    width: 100%;
  }

  .figure-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .figure-grid-three .project-figure {
    width: auto;
  }

  .method-strip {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 20px;
  }

  .method-strip svg {
    transform: rotate(90deg);
  }

  .workflow-strip {
    grid-template-columns: repeat(7, 132px);
    margin-right: -24px;
    padding-right: 24px;
    overflow-x: auto;
    border-bottom-color: var(--line);
    scroll-snap-type: x proximity;
  }

  .workflow-strip li {
    min-height: 96px;
    scroll-snap-align: start;
  }

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

  .application-list li:nth-child(odd),
  .application-list li:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 480px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 102px;
    gap: 14px;
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .copy-toast {
    right: 16px;
    bottom: 16px;
  }

  .identity-line .identity-update {
    flex-basis: 100%;
  }

  .identity-line > span.identity-update::before {
    display: none;
  }

  .profile-facts div {
    grid-template-columns: 76px minmax(0, 1fr);
  }

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

  .timeline--education .timeline-item {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 15px;
  }

  .honor-list li {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .project-facts {
    grid-template-columns: 1fr;
  }

  .project-result-value {
    gap: 8px;
    padding: 16px;
  }

  .project-result-value strong {
    font-size: 44px;
  }

  .project-result-link .project-result-value strong {
    font-size: 40px;
  }

  .project-result-value span {
    font-size: 11px;
  }

  .project-result-copy {
    padding: 18px;
  }

  .project-result-copy p {
    margin-bottom: 12px;
    font-size: 16px;
  }

  .project-result-copy small {
    padding-top: 10px;
    font-size: 10px;
  }

  .project-facts div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .project-facts div:last-child {
    border-bottom: 0;
  }

  .outcome-list div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .article-end-nav {
    display: grid;
  }

  .site-footer .page-shell {
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .figure-grid-three {
    display: flex;
    gap: 14px;
    margin-right: -16px;
    margin-left: -16px;
    padding: 0 16px 10px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .figure-grid-three .project-figure {
    flex: 0 0 min(76vw, 280px);
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* 2026-09-19: heading size override */
.section-index {
  font-size: 18px !important;
}

.project-meta > span:first-child {
  font-size: 18px !important;
}
