:root {
  --blue: #184f78;
  --blue-dark: #123a59;
  --blue-soft: #edf4f8;
  --teal: #167a80;
  --ink: #263746;
  --muted: #687b89;
  --line: #d8e0e5;
  --paper: #ffffff;
  --sidebar: #f2f5f7;
  --shadow: 0 10px 24px rgba(32, 59, 78, .08);
  font-family: Arial, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #e9eef1; font-size: 16px; line-height: 1.7; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--teal); }
img { display: block; max-width: 100%; }
.page-shell { width: min(1180px, 100%); min-height: 100vh; margin: 0 auto; display: grid; grid-template-columns: 220px 1fr; background: var(--paper); box-shadow: 0 0 40px rgba(32,59,78,.10); }
.sidebar { padding: 36px 24px; background: var(--sidebar); border-right: 1px solid var(--line); }
.site-name { display: block; margin-bottom: 32px; color: var(--ink); }
.site-name strong { display: block; font-size: 1.22rem; }
.site-name span { display: block; margin-top: 2px; color: var(--muted); font-size: .83rem; letter-spacing: .04em; }
.main-nav { display: grid; }
.main-nav a { padding: 10px 11px; border-left: 3px solid transparent; color: #3d5363; font-size: .93rem; }
.main-nav a:hover, .main-nav a.active { color: var(--blue); background: #fff; border-left-color: var(--blue); }
.language-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 28px; padding: 4px; background: #e0e7eb; border-radius: 5px; }
.language-switch button { padding: 7px 5px; border: 0; border-radius: 3px; color: var(--muted); background: transparent; cursor: pointer; font-size: .78rem; }
.language-switch button.active { color: var(--blue-dark); background: white; box-shadow: 0 1px 5px rgba(30,58,78,.12); }
.sidebar-note { margin-top: 34px; color: #8897a2; font-size: .72rem; line-height: 1.6; }
.menu-button { display: none; }

.content { min-width: 0; padding: 46px 56px 34px; }
.profile-section { display: grid; grid-template-columns: 190px 1fr; gap: 34px; align-items: center; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.portrait { width: 190px; aspect-ratio: 4/5; object-fit: cover; object-position: center 15%; border-radius: 3px; }
.kicker, .section-label { margin: 0 0 7px; color: var(--teal); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.profile-copy h1 { margin: 0; color: var(--blue-dark); font-size: 2.55rem; line-height: 1.15; }
.role { margin: 16px 0 0; color: var(--blue); font-weight: 700; }
.affiliation { margin: 9px 0 0; color: var(--muted); }
.title-list { margin-top: 11px; color: #4d6474; font-size: .86rem; line-height: 1.55; }
.title-list span { display: block; }
.profile-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.profile-links a { padding: 4px 9px; border: 1px solid #bdcbd4; border-radius: 3px; font-size: .78rem; font-weight: 700; }

.content > section { margin-top: 52px; }
.intro-panel { padding: 30px 34px; background: var(--blue-soft); border-left: 4px solid var(--blue); }
.intro-panel h2 { max-width: 800px; margin: 0; color: var(--blue-dark); font-size: 1.62rem; line-height: 1.45; }
.intro-panel p:last-child { margin-bottom: 0; }
.vision-statement { display: grid; grid-template-columns: 120px 1fr; gap: 22px; margin-top: 22px; padding-top: 20px; border-top: 1px solid #cbdde8; }
.vision-statement b { color: var(--teal); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.vision-statement p { margin: 0; color: #405c70; }
.section-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.section-title-row h2, .two-column-info h2 { margin: 0 0 10px; color: var(--blue-dark); font-size: 1.42rem; }
.section-title-row > a { font-size: .82rem; }
.research-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.research-cards article { min-height: 245px; padding: 22px; border: 1px solid var(--line); border-top: 3px solid var(--blue); background: #fff; }
.research-cards span { color: var(--teal); font-family: Georgia, serif; font-size: 1.25rem; }
.research-cards h3 { margin: 26px 0 8px; color: var(--blue-dark); font-size: 1.12rem; }
.research-cards p { margin: 0; color: #4d6474; font-size: .9rem; }
.research-cards small { display: block; margin-top: 18px; color: #82919b; font-size: .69rem; line-height: 1.5; }

.featured-grid { display: grid; gap: 14px; }
.featured-card { display: grid; grid-template-columns: 220px 1fr; gap: 22px; padding: 14px; border: 1px solid var(--line); background: white; }
.featured-card img { width: 220px; aspect-ratio: 16/9; object-fit: cover; background: #f2f4f5; }
.featured-card div { align-self: center; }
.featured-card b { display: block; color: var(--blue-dark); font-size: 1.03rem; }
.featured-card span { display: block; margin-top: 2px; color: var(--teal); font-size: .76rem; font-weight: 700; }
.featured-card p { margin: 8px 0 0; color: var(--muted); font-size: .88rem; }
.join-callout { display: grid; grid-template-columns: 1fr auto; gap: 25px; align-items: center; padding: 28px 32px; color: white; background: var(--blue-dark); }
.join-callout h2 { margin: 0; font-size: 1.4rem; }
.join-callout p { margin: 6px 0 0; color: #dbe8f0; }
.button { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 3px; color: var(--blue-dark); background: white; font-size: .86rem; font-weight: 700; white-space: nowrap; }
.two-column-info { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; }
.bio-service-section { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 32px; }
.timeline-panel { display: flex; min-height: 0; flex-direction: column; }
.two-column-info p, .bio-service-section p { color: #4e6473; }
.bio-service-section h2 { margin: 0 0 10px; color: var(--blue-dark); font-size: 1.42rem; }
.timeline { position: relative; margin: 20px 0 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; top: 7px; bottom: 8px; left: 91px; width: 1px; background: var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 32px; padding: 0 0 19px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; top: 7px; left: 87px; width: 9px; height: 9px; border: 2px solid white; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.timeline time { color: var(--teal); font-size: .72rem; font-weight: 700; }
.timeline b, .timeline span { display: block; }
.timeline b { color: var(--blue-dark); font-size: .88rem; }
.timeline span { margin-top: 2px; color: var(--muted); font-size: .76rem; }
.service-cards { display: grid; gap: 10px; margin-top: 20px; }
.service-cards article { padding: 18px 20px; border: 1px solid var(--line); border-left: 3px solid var(--blue); background: white; }
.service-cards article > span { display: block; color: var(--teal); font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.service-cards b { display: block; margin-top: 2px; color: var(--blue-dark); font-size: .95rem; }
.service-cards p { margin: 7px 0 0; color: var(--muted); font-size: .77rem; line-height: 1.55; }
.lang-block { display: none; }
html[data-lang="zh"] [data-lang-block="zh"], html[data-lang="en"] [data-lang-block="en"] { display: block; }
html[data-lang="zh"] .timeline[data-lang-block="zh"], html[data-lang="en"] .timeline[data-lang-block="en"] { display: flex; flex: 1; flex-direction: column; justify-content: space-between; }
footer { margin-top: 58px; padding-top: 22px; border-top: 1px solid var(--line); color: #84939d; font-size: .73rem; }
.subpage .page-header { margin-top: 0; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.page-header h1 { margin: 0; color: var(--blue-dark); font-size: 2.25rem; line-height: 1.2; }
.page-header > p, .page-header .lang-block > p { max-width: 760px; margin: 13px 0 0; color: var(--muted); }
.direction-list { border-top: 1px solid var(--line); }
.direction-list article { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.direction-list article > span { color: var(--teal); font-family: Georgia, serif; font-size: 1.35rem; }
.direction-list h3, .criteria-grid h3 { margin: 0; color: var(--blue-dark); font-size: 1.08rem; }
.direction-list p, .criteria-grid p { margin: 7px 0 0; color: #526876; }
.criteria-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.criteria-grid article { padding: 22px; background: var(--blue-soft); border-top: 3px solid var(--teal); }
.application-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 30px; }
.application-grid ol { margin: 0; padding: 0; list-style: none; counter-reset: materials; }
.application-grid li { position: relative; padding: 0 0 20px 44px; counter-increment: materials; }
.application-grid li::before { content: counter(materials, decimal-leading-zero); position: absolute; left: 0; top: 0; color: var(--teal); font-family: Georgia, serif; }
.application-grid li b, .application-grid li span { display: block; }
.application-grid li span { margin-top: 3px; color: var(--muted); font-size: .9rem; }
.application-grid aside { align-self: start; padding: 24px; color: white; background: var(--blue-dark); }
.application-grid aside h3 { margin: 0; }
.application-grid aside p { color: #dce7ed; font-size: .9rem; }
.primary-button { color: white; background: var(--teal); }
.opportunity-note { padding: 26px 30px; background: var(--blue-soft); border-left: 4px solid var(--blue); }
.opportunity-note h2 { margin: 0; color: var(--blue-dark); font-size: 1.35rem; }
.opportunity-note p { margin-bottom: 0; }
.research-summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.summary-card { padding: 22px; border: 1px solid var(--line); border-top: 3px solid var(--blue); }
.summary-card .area-number { display: block; margin-bottom: 12px; color: var(--teal); font-family: Georgia, serif; font-size: 1.2rem; font-weight: 400; }
.summary-card b { color: var(--blue-dark); font-size: 1.05rem; }
.summary-card em { display: block; margin-top: 9px; color: #426176; font-family: Georgia, "Times New Roman", serif; font-size: .88rem; line-height: 1.5; }
.summary-card p { margin: 7px 0 14px; color: var(--muted); font-size: .9rem; }
.summary-card span { color: var(--teal); font-size: .7rem; font-weight: 700; }
.count-label { color: var(--muted); font-size: .78rem; }
.publication-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.publication-toolbar label { flex: 1; max-width: 310px; }
.publication-toolbar input { width: 100%; min-height: 40px; padding: 0 11px; border: 1px solid #bdcbd4; border-radius: 3px; }
.category-filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.category-filters button { min-height: 36px; padding: 0 10px; border: 1px solid #bdcbd4; border-radius: 3px; color: #536b7a; background: white; cursor: pointer; font-size: .76rem; }
.category-filters button.active { color: white; background: var(--blue); border-color: var(--blue); }
.publication-item { display: grid; grid-template-columns: 230px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.publication-media { display: grid; place-items: center; align-self: start; overflow: hidden; color: #8496a2; background: #f4f7f8; font-family: Georgia, serif; font-size: 1.6rem; }
.publication-media img { width: 100%; height: 100%; object-fit: contain; }
.publication-year { color: var(--teal); font-size: .72rem; font-weight: 700; }
.publication-body h3 { margin: 4px 0 7px; color: var(--blue-dark); font-size: 1.04rem; line-height: 1.45; }
.publication-authors, .publication-venue { margin: 0; color: var(--muted); font-size: .8rem; }
.publication-venue { margin-top: 2px; color: #435b6b; }
.publication-tags, .publication-links { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.publication-tags span { padding: 2px 7px; border-radius: 999px; color: var(--blue); background: var(--blue-soft); font-size: .67rem; }
.publication-links a { padding: 3px 7px; border: 1px solid #c6d1d8; border-radius: 2px; font-size: .7rem; font-weight: 700; }
.copyright-note, .empty-state { color: var(--muted); font-size: .76rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.outcome-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px; background: var(--blue-soft); }
.outcome-list span { padding: 5px 10px; color: var(--blue-dark); background: white; border: 1px solid var(--line); border-radius: 999px; font-size: .76rem; font-weight: 700; }
.alumni-preview { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.alumni-preview article { padding: 20px; border: 1px solid var(--line); }
.alumni-preview b, .alumni-preview span { display: block; }
.alumni-preview b { color: var(--blue-dark); }
.alumni-preview span { color: var(--teal); font-size: .72rem; }
.alumni-preview p { margin: 8px 0 0; color: var(--muted); }
.people-section .section-title-row > span { color: var(--muted); font-size: .76rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.people-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.people-table th { padding: 10px 14px; color: var(--blue-dark); background: var(--blue-soft); text-align: left; font-size: .72rem; letter-spacing: .03em; }
.people-table td { padding: 10px 14px; border-top: 1px solid #e3e9ed; vertical-align: top; }
.people-table th:nth-child(1), .people-table td:nth-child(1) { width: 23%; font-weight: 700; }
.people-table th:nth-child(2), .people-table td:nth-child(2) { width: 12%; color: var(--teal); }
.people-table tbody tr:hover { background: #f8fafb; }
.legacy-link { margin-top: 20px; }
.simple-card { padding: 28px; background: var(--blue-soft); }
.simple-card h2 { margin-top: 0; color: var(--blue-dark); }
.teaching-map { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 22px 26px; color: var(--blue-dark); background: var(--blue-soft); }
.teaching-map span { font-size: .78rem; font-weight: 700; text-align: center; }
.teaching-map i { color: var(--teal); font-style: normal; }
.course-list { display: grid; gap: 12px; }
.course-card { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 24px; border: 1px solid var(--line); border-left: 3px solid var(--blue); background: white; }
.course-index { color: var(--teal); font-family: Georgia, serif; font-size: 1.15rem; }
.course-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.course-heading h2 { margin: 0; color: var(--blue-dark); font-size: 1.16rem; }
.course-heading > span { padding: 3px 8px; border-radius: 999px; color: var(--teal); background: var(--blue-soft); font-size: .68rem; font-weight: 700; white-space: nowrap; }
.course-main > p { margin: 10px 0 0; color: #526876; font-size: .88rem; }

@media (max-width: 820px) {
  .page-shell { display: block; width: 100%; }
  .sidebar { position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 14px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .site-name { margin: 0; }
  .site-name strong, .site-name span { display: inline; margin-right: 8px; }
  .menu-button { display: inline-flex; min-height: 38px; align-items: center; padding: 0 12px; border: 1px solid #bdcbd4; border-radius: 3px; color: var(--blue-dark); background: white; }
  .main-nav { display: none; grid-column: 1 / -1; padding-top: 14px; }
  .main-nav.open { display: grid; }
  .language-switch { grid-column: 1 / -1; width: 190px; margin-top: 12px; }
  .sidebar-note { display: none; }
  .content { padding: 34px 24px 30px; }
  .research-cards { grid-template-columns: 1fr; }
  .research-cards article { min-height: 0; }
  .criteria-grid, .research-summary { grid-template-columns: 1fr; }
  .teaching-map { align-items: stretch; flex-direction: column; }
  .teaching-map i { transform: rotate(90deg); text-align: center; }
  .application-grid { grid-template-columns: 1fr; }
  .publication-toolbar { align-items: stretch; flex-direction: column; }
  .publication-toolbar label { max-width: none; }
  .category-filters { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .profile-section { grid-template-columns: 112px 1fr; gap: 18px; align-items: start; }
  .portrait { width: 112px; }
  .profile-copy h1 { font-size: 1.7rem; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-card img { width: 100%; }
  .join-callout, .two-column-info, .bio-service-section { grid-template-columns: 1fr; }
  .publication-item { grid-template-columns: 1fr; }
  .alumni-preview { grid-template-columns: 1fr; }
  .content { padding-inline: 18px; }
  .intro-panel { padding: 24px; }
  .vision-statement { grid-template-columns: 1fr; gap: 5px; }
  .course-card { grid-template-columns: 1fr; }
  .course-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
}
