/* ===== 变量 ===== */
:root {
    --bg: #FAFAFA;
    --bg-alt: #F5F2ED;
    --text: #2C2C2C;
    --text-muted: #6B6B6B;
    --accent: #8B6F47;
    --accent-light: #E8DFD3;
    --white: #FFFFFF;
    --border: #E0DCD5;
    --shadow: 0 4px 20px rgba(44, 44, 44, 0.08);
    --shadow-lg: 0 12px 40px rgba(44, 44, 44, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color 0.3s; }

/* ===== 导航栏 ===== */
#navbar {
    position: fixed; top: 0; width: 100%;
    background: rgba(250, 250, 250, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: box-shadow 0.3s;
}
#navbar.scrolled { box-shadow: var(--shadow); }

.nav-container {
    max-width: 1100px; margin: 0 auto; padding: 1rem 2rem;
    display: flex; justify-content: space-between; align-items: center;
}

.nav-logo { font-size: 1.3rem; font-weight: 600; color: var(--text); }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
    color: var(--text-muted); font-size: 0.9rem; font-weight: 500;
    position: relative; padding: 0.25rem 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a.active::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 100%; height: 2px; background: var(--accent);
}

.mobile-toggle {
    display: none; background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 0.5rem;
}
.mobile-toggle span { width: 24px; height: 2px; background: var(--text); }

/* ===== Hero ===== */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    justify-content: center; text-align: center; position: relative;
    overflow: hidden; padding: 6rem 2rem 3rem;
    animation: fadeUp 1.5s ease forwards; opacity: 0;
}
@keyframes fadeUp { to { opacity: 1; } }

.hero-content { max-width: 600px; }

.hero-greeting {
    font-size: 1.3rem; color: var(--accent);
    font-style: italic; margin-bottom: 0.5rem;
}
.hero-title {
    font-size: 4.5rem; font-weight: 600; margin-bottom: 1rem; line-height: 1.2;
}
.hero-title em { font-style: italic; color: var(--accent); }
.hero-desc { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.hero-desc-cn { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2.5rem; font-family: 'Noto Serif SC', serif; }

.btn-primary {
    display: inline-block; padding: 0.8rem 2rem; border-radius: 2px;
    background: var(--text); color: var(--bg); font-size: 1rem;
    font-family: inherit; cursor: pointer; border: none; transition: all 0.3s;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); }

.scroll-indicator {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    color: var(--text-muted); animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== Section ===== */
.section { max-width: 1100px; margin: 0 auto; padding: 6rem 2rem; }
.section-alt { max-width: 100%; background: var(--bg-alt); }
.section-alt > * { max-width: 1100px; margin-left: auto; margin-right: auto; }

.section-title {
    font-size: 2.5rem; font-weight: 600; text-align: center;
    margin-bottom: 0.5rem; color: var(--text);
}
.section-title::after {
    content: ''; display: block; width: 50px; height: 2px;
    background: var(--accent); margin: 1rem auto 0;
}
.section-subtitle {
    text-align: center; color: var(--text-muted);
    font-size: 1.1rem; margin-bottom: 3rem; font-style: italic;
}

/* ===== About ===== */
.about-grid { display: flex; gap: 4rem; align-items: center; }
.about-text { flex: 1; }
.about-text p { color: var(--text-muted); margin-bottom: 1.2rem; font-size: 1.1rem; }
.about-text strong { color: var(--text); font-weight: 600; }
.about-cn { font-family: 'Noto Serif SC', serif; }
.about-divider {
    border: none; border-top: 1px solid var(--border);
    margin: 2rem 0;
}

.about-info { flex: 0 0 280px; display: flex; flex-direction: column; gap: 1rem; }
.info-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 4px; padding: 1.25rem 1.5rem; box-shadow: var(--shadow);
    transition: transform 0.3s;
}
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.info-label {
    display: block; font-size: 0.8rem; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.3rem;
}
.info-value { display: block; font-size: 1rem; color: var(--text); }

/* ===== Content Card Large (Stage & TEDx) ===== */
.content-card-large {
    max-width: 700px; margin: 0 auto;
}
.content-card-body {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 8px; padding: 3rem 2.5rem;
    box-shadow: var(--shadow); transition: transform 0.3s;
}
.content-card-body:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.content-card-body h3 {
    font-size: 1.6rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--text);
}
.content-card-body p { color: var(--text-muted); margin-bottom: 1rem; font-size: 1.1rem; }
.content-card-cn { font-family: 'Noto Serif SC', serif; }

/* ===== Recitation ===== */
.recitation-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.recitation-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 8px; padding: 2.5rem 2rem; box-shadow: var(--shadow);
    transition: transform 0.3s;
}
.recitation-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.recitation-number {
    font-size: 2rem; font-weight: 700; color: var(--accent);
    opacity: 0.3; margin-bottom: 1rem;
}
.recitation-card h3 {
    font-size: 1.3rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--text);
}
.recitation-card p { color: var(--text-muted); font-size: 1rem; margin-bottom: 0.75rem; }
.recitation-cn { font-family: 'Noto Serif SC', serif; }

/* ===== Field Research ===== */
.field-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem;
}
.field-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 8px; overflow: hidden; box-shadow: var(--shadow);
    cursor: pointer; transition: transform 0.3s;
}
.field-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.field-img { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-alt); }
.field-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.field-card:hover .field-img img { transform: scale(1.05); }
.field-info { padding: 1.5rem; }
.field-info h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.5rem; }
.field-info p { color: var(--text-muted); font-size: 1rem; margin-bottom: 0.5rem; }
.field-cn { font-family: 'Noto Serif SC', serif; }

/* ===== ICH ===== */
.ich-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem;
}
.ich-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 8px; overflow: hidden; box-shadow: var(--shadow);
    cursor: pointer; transition: transform 0.3s;
}
.ich-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ich-img { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-alt); }
.ich-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.ich-card:hover .ich-img img { transform: scale(1.05); }
.ich-info { padding: 1.5rem; }
.ich-info h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.5rem; }
.ich-info p { color: var(--text-muted); font-size: 1rem; margin-bottom: 0.5rem; }
.ich-cn { font-family: 'Noto Serif SC', serif; }

/* ===== Contact ===== */
.contact-wrapper { text-align: center; max-width: 400px; margin: 0 auto; padding: 2rem 0; }
.contact-intro { color: var(--text-muted); margin-bottom: 2rem; font-style: italic; }
.contact-email {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 1.1rem; color: var(--text);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.25rem; transition: all 0.3s;
}
.contact-email:hover { color: var(--accent); transform: translateY(-2px); }

footer {
    text-align: center; padding: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted); font-size: 0.9rem;
}

/* ===== 灯箱 ===== */
.lightbox {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 2000; align-items: center; justify-content: center;
    flex-direction: column; padding: 2rem;
}
.lightbox.active { display: flex; }
.lightbox-img { max-width: 85vw; max-height: 80vh; object-fit: contain; border-radius: 8px; }
.lightbox-caption {
    color: #fff; font-size: 1.1rem; margin-top: 1.5rem;
    font-style: italic; text-align: center;
}
.lightbox-close {
    position: absolute; top: 1.5rem; right: 2rem; font-size: 3rem;
    color: #fff; cursor: pointer; line-height: 1;
}
.lightbox-close:hover { color: var(--accent); }

/* ===== 滚动动画 ===== */
.reveal {
    opacity: 0; transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none; position: fixed; top: 0; left: 0;
        width: 100%; height: 100vh; background: var(--bg);
        flex-direction: column; justify-content: center;
        align-items: center; gap: 2rem; z-index: 900;
    }
    .nav-links.active { display: flex; }
    .nav-links a { font-size: 1.3rem; }
    .mobile-toggle { display: flex; z-index: 999; }

    .hero-title { font-size: 2.8rem; }

    .about-grid { flex-direction: column; }
    .about-info { flex: none; width: 100%; }

    .recitation-grid { grid-template-columns: 1fr; }
    .field-grid { grid-template-columns: 1fr; }
    .ich-grid { grid-template-columns: 1fr; }
}
/* ===== Section Video ===== */
.video-wrapper {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.section-video {
    width: 100%;
    display: block;
}
/* ===== Section Video ===== */
.video-wrapper {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    background: #000;
}
.section-video {
    width: 100%;
    display: block;
    outline: none;
}