:root {
    --ink: #202522;
    --forest: #185846;
    --forest-dark: #103f33;
    --paper: #f7f5f0;
    --paper-deep: #efece4;
    --gold: #a66a24;
    --muted: #69706c;
    --line: #dcded8;
    --white: #fff;
}

html { scroll-behavior: smooth; }

body {
    color: var(--ink);
    background: var(--white);
    line-height: 1.7;
}

a {
    color: var(--forest);
    text-decoration-color: rgba(24, 88, 70, 0.35);
    text-underline-offset: 0.15em;
}

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

.navbar {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: var(--line);
    padding: 0.65rem 0;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    color: var(--forest-dark) !important;
    font-size: 1.18rem;
    letter-spacing: 0;
}

.nav-link {
    color: #3e4944 !important;
    font-size: 0.82rem;
    letter-spacing: 0 !important;
}

.nav-link:hover,
.nav-link:focus { color: var(--forest) !important; }

.language-link {
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    color: var(--forest) !important;
    margin-left: 0.45rem;
}

.language-link:hover {
    background: transparent;
    color: var(--gold) !important;
}

.page-wrap {
    max-width: 1120px;
    padding: 0 1.5rem 4.5rem;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: stretch;
    min-height: 550px;
    margin: 0 -1.5rem 3.5rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4.5rem clamp(2rem, 6vw, 5.5rem);
}

.hero-kicker {
    margin: 0 0 1rem;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.cn-page .hero-kicker { text-transform: none; }

.hero h1 {
    margin: 0;
    color: var(--forest-dark);
    font-family: 'EB Garamond', Georgia, serif;
    font-size: clamp(3.4rem, 7vw, 5.25rem);
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: 0;
}

.cn-page .hero h1 {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(3rem, 6vw, 4.75rem);
    font-weight: 700;
}

.hero-role {
    margin: 1.25rem 0 0;
    color: #4f5b55;
    font-size: 1.05rem;
    font-weight: 600;
}

.hero-statement {
    max-width: 660px;
    margin: 1.3rem 0 0;
    color: var(--ink);
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 1.65rem;
    line-height: 1.35;
}

.cn-page .hero-statement {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.42rem;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 2rem;
}

.hero-action {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--forest);
    border-radius: 4px;
    color: var(--forest);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.hero-action.primary {
    color: var(--white);
    background: var(--forest);
}

.hero-action:hover {
    border-color: var(--forest-dark);
    color: var(--white);
    background: var(--forest-dark);
}

.hero-portrait {
    position: relative;
    min-height: 550px;
    overflow: hidden;
    background: var(--paper-deep);
}

.hero-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    display: block;
}

.hero-portrait::after {
    position: absolute;
    inset: 0;
    border-left: 1px solid rgba(32, 37, 34, 0.12);
    content: '';
    pointer-events: none;
}

.content-grid { --bs-gutter-x: 3.5rem; }

.intro-box {
    margin: 0 0 2.25rem;
    padding: 0 0 1.8rem;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
}

.intro-box p { max-width: 72ch; }
.language-callout,
.intro-box .chinese-bio { display: none; }

.research-themes {
    gap: 0;
    margin-top: 1.2rem;
}

.research-themes li {
    position: relative;
    padding: 0.2rem 1rem 0.2rem 0;
    border: 0;
    border-radius: 0;
    color: var(--forest);
    background: transparent;
    font-size: 0.82rem;
}

.research-themes li:not(:last-child)::after {
    margin-left: 1rem;
    color: var(--gold);
    content: '/';
}

h2.section-title {
    position: relative;
    margin: 3.5rem 0 1.35rem;
    padding: 0 0 0.75rem;
    border-bottom: 1px solid var(--line);
    color: var(--forest-dark);
    font-size: 2rem;
    letter-spacing: 0;
}

h2.section-title::after {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 72px;
    height: 3px;
    background: var(--gold);
    content: '';
}

h4.sub-title {
    margin: 2rem 0 0.9rem;
    color: var(--forest-dark);
    font-size: 0.86rem;
    letter-spacing: 0;
}

.selected-heading {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 0 !important;
}

.selected-heading::before {
    width: 8px;
    height: 8px;
    background: var(--gold);
    content: '';
}

.pub-note {
    margin-bottom: 1.5rem;
    padding: 0;
    border: 0;
    color: var(--muted);
    background: transparent;
    font-size: 0.88rem;
}

.pub-list li {
    margin-bottom: 0;
    padding: 0.9rem 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.94rem;
}

.pub-list li:hover { border-color: var(--line); }

.pub-list a:not(.doi-link) {
    color: var(--forest-dark);
    font-weight: 700;
    text-decoration: none;
}

.pub-list a:not(.doi-link):hover { color: var(--gold); }

.selected-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--line);
}

.selected-list li {
    margin: 0;
    padding: 1.25rem;
    border: 0;
    background: var(--paper);
}

.selected-list li:hover { background: #f1f3ed; }

.pub-summary {
    margin-top: 0.65rem;
    color: #58615d;
    line-height: 1.55;
}

.pub-venue { color: var(--muted); }

.doi-link {
    border-color: #c7ccc6;
    border-radius: 3px;
    color: var(--forest);
    background: rgba(255,255,255,0.7);
}

.activity-list li {
    padding: 0.75rem 0;
    border-bottom-color: var(--line);
}

.project-list li {
    margin-bottom: 0.75rem;
    padding: 0.3rem 0 0.3rem 1rem;
    border-left-color: var(--gold);
}

.profile-card {
    top: 88px;
    padding: 1.5rem 0 0;
    border: 0;
    border-top: 3px solid var(--forest);
    border-radius: 0;
    background: transparent;
}

.profile-card > h3 {
    margin: 0 0 1.25rem;
    color: var(--forest-dark);
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 1.45rem;
    font-weight: 600;
}

.cn-page .profile-card > h3 { font-family: 'Noto Serif SC', serif; }

.profile-section {
    margin-top: 1.6rem;
    padding-top: 1.3rem;
    border-top: 1px solid var(--line);
}

.profile-label {
    margin: 0 0 0.65rem;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.cn-page .profile-label { text-transform: none; }

.profile-card .address {
    color: #4d5651;
    font-size: 0.88rem;
    line-height: 1.7;
}

.profile-card .email-link { color: var(--forest); }

.profile-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: 0;
}

.profile-links a {
    padding: 0.45rem 0;
    border: 0;
    border-radius: 0;
    color: var(--forest);
    background: transparent;
    font-size: 0.8rem;
}

.profile-links a::after { content: ' \2197'; }
.profile-links a:hover { color: var(--gold); }

.mini-timeline { margin: 0; padding: 0; list-style: none; }
.mini-timeline li { margin-bottom: 1rem; }
.mini-timeline time {
    display: block;
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
}
.mini-timeline span {
    display: block;
    color: #4d5651;
    font-size: 0.84rem;
    line-height: 1.5;
}

.profile-note { display: none; }
.last-updated { color: #888e8a; }

footer {
    margin-top: 0;
    border-top-color: var(--line);
    color: var(--muted);
    background: var(--paper);
}

@media (max-width: 991px) {
    .hero { grid-template-columns: minmax(0, 1fr) 260px; min-height: 500px; }
    .hero-portrait { min-height: 500px; }
    .content-grid { --bs-gutter-x: 2.5rem; }
}

@media (max-width: 767px) {
    .navbar { padding: 0.5rem 0; }
    .navbar-collapse { padding: 0.75rem 0 0.5rem; }
    .language-link { margin-left: 0; border-left: 0; }
    .page-wrap { padding: 0 1rem 3rem; }
    .hero {
        grid-template-columns: 1fr;
        min-height: 0;
        margin: 0 -1rem 2.5rem;
    }
    .hero-copy { padding: 3.25rem 1.5rem 2.5rem; }
    .hero h1 { font-size: 3.5rem; }
    .cn-page .hero h1 { font-size: 3.25rem; }
    .hero-statement { font-size: 1.38rem; }
    .cn-page .hero-statement { font-size: 1.25rem; }
    .hero-portrait { min-height: 0; aspect-ratio: 4 / 3; }
    .hero-portrait img { object-position: center 22%; }
    .content-grid { --bs-gutter-x: 1.5rem; }
    .selected-list { grid-template-columns: 1fr; }
    h2.section-title { margin-top: 3rem; font-size: 1.75rem; }
    .profile-card { margin: 3.5rem 0 0; }
    .research-themes li:not(:last-child)::after { margin-left: 0.65rem; }
    .research-themes li { padding-right: 0.65rem; }
}

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