/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', 'Noto Serif SC', serif;
    background: #fafaf9;
    color: #1c1917;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: opacity .3s; }
a:hover { opacity: .6; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: #d6d3d1; color: #1c1917; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-weight: 400; letter-spacing: .03em; }
.section-title {
    font-size: clamp(20px, 2.2vw, 32px);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: .15em;
    margin-bottom: 60px;
    color: #44403c;
}
.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: #a8a29e;
    margin-top: 16px;
}
.en { font-family: 'Inter', sans-serif; }
.zh { font-family: 'Noto Serif SC', serif; }

/* ===== PAGE TOP SPACING ===== */
.page-top {
    padding-top: 120px;
}

/* ===== NAV ===== */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 20px 0;
    transition: background .4s, backdrop-filter .4s;
}
nav.scrolled {
    background: rgba(250, 250, 249, .88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(168, 162, 158, .15);
}
nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .12em;
}
.nav-logo span { font-weight: 300; color: #78716c; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #57534e;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: #1c1917;
    transition: width .35s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { opacity: 1; }
.nav-links a.active { color: #1c1917; }
.nav-links a.active::after { width: 100%; }
.nav-toggle {
    display: none;
    background: none; border: none;
    font-size: 24px; color: #1c1917;
    cursor: pointer; padding: 4px;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #0c0a09;
}
.hero-bg {
    position: absolute; inset: 0;
    background: url('img/图片1.png') center center / cover no-repeat;
    opacity: .55;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}
@media (prefers-reduced-motion: reduce) {
    .hero-bg { animation: none; }
    .hero-scroll { animation: none; }
    html { scroll-behavior: auto; }
}
@keyframes heroZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(12, 10, 9, .3) 0%,
        rgba(12, 10, 9, .5) 60%,
        rgba(12, 10, 9, .85) 100%
    );
}
.hero-content {
    position: relative; z-index: 2;
    padding: 0 24px;
}
.hero-content h1 {
    font-size: clamp(36px, 6vw, 80px);
    font-weight: 300;
    letter-spacing: .18em;
    color: #fff;
    margin-bottom: 8px;
}
.hero-content h1 .zh-name {
    font-size: clamp(20px, 3vw, 40px);
    display: block;
    font-weight: 400;
    letter-spacing: .3em;
    margin-top: 4px;
    color: #d6d3d1;
}
.hero-content .tagline {
    font-size: clamp(13px, 1.2vw, 17px);
    font-weight: 300;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: #a8a29e;
    margin-top: 20px;
}
.hero-scroll {
    position: absolute; bottom: 40px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex; flex-direction: column; align-items: center;
    gap: 8px;
    animation: scrollBounce 2s ease-in-out infinite;
}
.hero-scroll span {
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #a8a29e;
}
.hero-scroll .line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, #a8a29e, transparent);
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== SECTIONS ===== */
section {
    padding: 100px 0;
    border-bottom: 1px solid rgba(168, 162, 158, .12);
}
section:last-child { border-bottom: none; }

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.about-image img {
    width: 100%;
    border-radius: 2px;
    object-fit: cover;
}
.about-text h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: #292524;
}
.about-text .subhead {
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #a8a29e;
    margin-bottom: 28px;
}
.about-text p {
    font-size: 15px;
    color: #57534e;
    margin-bottom: 18px;
    line-height: 1.9;
}
.about-text .zh p {
    font-size: 16px;
}

/* ===== WORKS GALLERY ===== */
.series-nav {
    display: flex;
    gap: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.series-nav button {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #a8a29e;
    cursor: pointer;
    padding: 4px 0;
    transition: color .3s;
    position: relative;
}
.series-nav button::after {
    content: '';
    position: absolute; bottom: 0; left: 0;
    width: 0; height: 1px;
    background: #1c1917;
    transition: width .35s ease;
}
.series-nav button:hover,
.series-nav button.active { color: #1c1917; }
.series-nav button.active::after { width: 100%; }

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: auto;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item .overlay {
    position: absolute; inset: 0;
    background: rgba(12, 10, 9, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .4s;
    color: #fff;
    font-size: 14px;
    letter-spacing: .1em;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }

/* ===== CV ===== */
.cv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.cv-block { margin-bottom: 40px; }
.cv-block h4 {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #a8a29e;
    margin-bottom: 20px;
}
.cv-block h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background: #d6d3d1;
    margin-top: 10px;
}
.cv-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(168, 162, 158, .1);
}
.cv-item:last-child { border-bottom: none; }
.cv-item .year {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .05em;
    color: #78716c;
    margin-bottom: 4px;
}
.cv-item .title {
    font-size: 15px;
    color: #292524;
    margin-bottom: 2px;
}
.cv-item .detail {
    font-size: 13px;
    color: #a8a29e;
}

/* ===== CONTACT ===== */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.contact-info h3 {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 8px;
}
.contact-info .sub {
    font-size: 14px;
    color: #78716c;
    margin-bottom: 32px;
}
.contact-info .detail-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #57534e;
}
.contact-info .detail-line .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #a8a29e;
    min-width: 70px;
}
.contact-image img {
    width: 100%;
    border-radius: 2px;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(12, 10, 9, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity .4s, visibility .4s;
    padding: 40px;
    cursor: zoom-out;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    cursor: default;
}
.lightbox-close {
    position: absolute; top: 24px; right: 28px;
    background: none; border: none;
    font-size: 28px; color: #d6d3d1;
    cursor: pointer; transition: color .3s;
}
.lightbox-close:hover { color: #fff; }

/* ===== FOOTER ===== */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(168, 162, 158, .1);
}
footer p {
    font-size: 12px;
    color: #a8a29e;
    letter-spacing: .05em;
}
footer .social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
}
footer .social-links a {
    font-size: 12px;
    color: #78716c;
    letter-spacing: .08em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .cv-grid { grid-template-columns: 1fr; gap: 20px; }
    .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
    .nav-links {
        position: fixed; top: 0; right: -100%;
        width: 280px; height: 100vh;
        background: #fafaf9;
        flex-direction: column;
        padding: 80px 40px;
        gap: 24px;
        box-shadow: -4px 0 20px rgba(0,0,0,.08);
        transition: right .4s ease;
        z-index: 101;
    }
    .nav-links.open { right: 0; }
    .nav-toggle {
        display: block;
        position: relative; z-index: 102;
    }
    .gallery { grid-template-columns: 1fr; }
    .gallery-item.wide,
    .gallery-item.tall { grid-column: span 1; grid-row: span 1; }
    section { padding: 60px 0; }
    .series-nav { gap: 16px; }
    .page-top { padding-top: 100px; }
}
@media (max-width: 480px) {
    .container { padding: 0 16px; }
}
