:root {
    --paper: #f7f4ed;
    --ink: #1c1b18;
    --muted: #6b6259;
    --line: rgba(28, 27, 24, 0.16);
    --green: #406b58;
    --blue: #496f9d;
    --white: #ffffff;
    --shadow: 0 18px 46px rgba(35, 31, 25, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
    line-height: 1.7;
}

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

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

.person-hero {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(28px, 7vw, 76px) 0 clamp(34px, 8vw, 88px);
}

.person-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: clamp(44px, 8vw, 92px);
    color: var(--muted);
    font-size: 0.95rem;
}

.person-nav a {
    border-bottom: 1px solid currentColor;
}

.person-title {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
    gap: clamp(24px, 6vw, 86px);
    align-items: end;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(3.1rem, 12vw, 9rem);
    line-height: 0.92;
    letter-spacing: 0;
}

.person-lead {
    margin: 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.person-grid {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto clamp(70px, 12vw, 128px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 4vw, 44px);
}

.person-card {
    display: block;
    padding: 0;
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #ddd6c7;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.person-card img {
    width: 100%;
    height: clamp(320px, 48vw, 620px);
    object-fit: cover;
    transition: transform 580ms ease, filter 580ms ease;
}

.person-card:hover img,
.person-card:focus-visible img {
    transform: scale(1.025);
    filter: saturate(1.05) contrast(1.02);
}

.page-footer {
    padding: 28px 18px 38px;
    color: var(--muted);
    text-align: center;
    border-top: 1px solid var(--line);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 72px 18px;
    background: rgba(18, 17, 15, 0.88);
}

.lightbox.is-open {
    display: flex;
}

.lightbox-image {
    max-width: min(1120px, 100%);
    max-height: calc(100svh - 150px);
    object-fit: contain;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    font-size: 1.6rem;
    cursor: pointer;
}

@media (max-width: 760px) {
    .person-title,
    .person-grid {
        grid-template-columns: 1fr;
    }

    .person-card img {
        height: auto;
        max-height: none;
    }
}
