:root {
    --bg: #FDFBF7;
    --bg-soft: #F5F0EA;
    --text: #2D2A26;
    --text-light: #6B6560;
    --accent: #9C7A5C;
    --accent-dark: #7A5E44;
    --accent-2: #6B7C6A;
    --border: #E5DDD4;
    --shadow: rgba(45, 42, 38, 0.06);
    --max-width: 1140px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

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

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
    font-size: 34px;
    font-weight: 500;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-light);
    font-size: 16px;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 251, 247, 0.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    font-family: "Noto Serif SC", serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.1em;
}

.main-nav {
    display: flex;
    gap: 28px;
}

.main-nav a {
    font-size: 14px;
    color: var(--text-light);
    position: relative;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--text);
}

.main-nav a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.25s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-toggle {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-light);
    font-size: 12px;
    width: 40px;
    height: 30px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s;
}

.lang-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--text);
    transition: transform 0.3s, opacity 0.3s;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(156, 122, 92, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(107, 124, 106, 0.10) 0%, transparent 45%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-label {
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--accent);
    text-transform: lowercase;
    margin-bottom: 20px;
}

.hero-title {
    font-family: "Noto Serif SC", serif;
    font-size: 76px;
    font-weight: 500;
    letter-spacing: 0.2em;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.hero-desc {
    font-size: 15px;
    color: var(--accent);
    letter-spacing: 0.08em;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 2px;
    font-size: 14px;
    letter-spacing: 0.05em;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(156, 122, 92, 0.25);
}

.btn-primary:hover {
    background: var(--accent-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-soft);
}

/* About */
.about {
    background: var(--bg-soft);
}

.about-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 64px;
    align-items: start;
}

.about-portrait {
    position: relative;
}

.about-portrait::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 18px;
    right: -18px;
    bottom: -18px;
    border: 1px solid var(--border);
    z-index: 0;
}

.about-portrait img {
    position: relative;
    z-index: 1;
    width: 100%;
    object-fit: cover;
    box-shadow: 0 12px 40px var(--shadow);
}

.about-text h2 {
    font-family: "Noto Serif SC", serif;
    font-size: 38px;
    font-weight: 500;
    margin-bottom: 8px;
}

.about-role {
    color: var(--accent);
    font-size: 15px;
    letter-spacing: 0.05em;
    margin-bottom: 28px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 18px;
    font-size: 16px;
}

.artist-statement {
    margin-top: 32px;
    padding: 24px;
    border-left: 3px solid var(--accent);
    background: var(--bg);
    font-style: italic;
    color: var(--text-light);
}

.artist-statement p:empty::before {
    content: attr(data-zh);
}

/* Works */
.works-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 1px solid var(--border);
    padding: 8px 20px;
    font-size: 13px;
    color: var(--text-light);
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.2s;
    font-family: inherit;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.work-card {
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.work-card.hidden {
    display: none;
}

.work-card:hover {
    transform: translateY(-6px);
}

.work-image {
    overflow: hidden;
    background: var(--bg-soft);
    aspect-ratio: 4 / 3;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.work-card:hover .work-image img {
    transform: scale(1.03);
}

.work-info {
    padding: 18px 4px;
}

.work-info h3 {
    font-family: "Noto Serif SC", serif;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 6px;
}

.work-meta {
    font-size: 12px;
    color: var(--text-light);
}

.works-note {
    text-align: center;
    margin-top: 40px;
    color: var(--text-light);
    font-size: 14px;
}

/* Teaching */
.teaching {
    background: var(--bg-soft);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.course-card {
    padding: 36px 32px;
    background: var(--bg);
    border: 1px solid var(--border);
    transition: box-shadow 0.25s ease;
}

.course-card:hover {
    box-shadow: 0 12px 32px var(--shadow);
}

.course-card h3 {
    font-family: "Noto Serif SC", serif;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 14px;
    color: var(--accent);
}

.course-card > p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.course-meta {
    list-style: none;
    font-size: 14px;
    color: var(--text-light);
}

.course-meta li {
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
}

.course-meta li:last-child {
    border-bottom: none;
}

.workshops h3 {
    font-family: "Noto Serif SC", serif;
    font-size: 22px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 24px;
}

.workshop-list {
    max-width: 720px;
    margin: 0 auto;
}

.workshop-item {
    display: flex;
    justify-content: space-between;
    padding: 18px 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    margin-bottom: 12px;
    font-size: 15px;
}

.workshop-date {
    color: var(--accent);
    font-weight: 500;
}

/* Students */
.students-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 56px;
}

.student-photo {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--bg-soft);
}

.student-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.student-photo:hover img {
    transform: scale(1.04);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial {
    padding: 28px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
}

.testimonial p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial span {
    font-size: 13px;
    color: var(--accent);
}

/* Commissions */
.commission-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.step {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
}

.step-num {
    display: block;
    font-size: 32px;
    font-family: "Noto Serif SC", serif;
    color: var(--accent);
    margin-bottom: 12px;
    opacity: 0.5;
}

.step h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.step p {
    font-size: 14px;
    color: var(--text-light);
}

.commission-note {
    text-align: center;
    color: var(--text-light);
    font-size: 15px;
}

/* Journal */
.journal {
    background: var(--bg-soft);
}

.journal-list {
    display: flex;
    flex-direction: column;
    gap: 36px;
    max-width: 820px;
    margin: 0 auto;
}

.journal-article {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 42px 46px;
    box-shadow: 0 10px 34px var(--shadow);
}

.journal-article__head {
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
}

.journal-article__title {
    font-family: "Noto Serif SC", serif;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--accent);
    margin-bottom: 12px;
}

.journal-article__meta {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.journal-article__meta .dot {
    opacity: 0.45;
}

.journal-article__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    background: var(--accent);
    padding: 9px 18px;
    border-radius: 999px;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.journal-article__link:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.journal-prose {
    font-size: 15.5px;
    line-height: 1.95;
    color: var(--text);
}

.journal-prose p {
    margin: 0 0 18px;
}

.journal-prose p:last-child {
    margin-bottom: 0;
}

.journal-figure {
    margin: 26px 0;
    text-align: center;
}

.journal-figure__ph {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    aspect-ratio: 3 / 2;
    border-radius: 10px;
    background: repeating-linear-gradient(45deg, #f7f2ea, #f7f2ea 12px, #f1e9dc 12px, #f1e9dc 24px);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 0.18em;
}

.journal-figure img {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: block;
}

.journal-figure figcaption {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    margin-bottom: 12px;
    border-radius: 2px;
}

.faq-item summary {
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 20px;
    color: var(--accent);
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    padding: 0 24px 20px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.75;
}

/* Contact */
.contact {
    background: var(--bg-soft);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.contact-form {
    padding: 40px;
    background: var(--bg);
    border: 1px solid var(--border);
}

.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--text-light);
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    border-radius: 2px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-light);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.qr-wrap {
    text-align: center;
    padding: 32px;
    background: var(--bg);
    border: 1px solid var(--border);
}

.qr-wrap img {
    max-width: 200px;
    margin: 0 auto 16px;
}

.qr-wrap p {
    font-size: 14px;
    color: var(--text-light);
}

.contact-card {
    padding: 32px;
    background: var(--bg);
    border: 1px solid var(--border);
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-label {
    font-size: 12px;
    color: var(--text-light);
    letter-spacing: 0.1em;
}

.contact-value {
    font-size: 17px;
    font-weight: 500;
}

.contact-value[href^="tel"] {
    color: var(--accent);
}

/* Footer */
.site-footer {
    padding: 40px 0;
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    border-top: 1px solid var(--border);
}

.site-footer .icp {
    margin-top: 8px;
    font-size: 12px;
    opacity: 0.7;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(253, 251, 247, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    padding: 60px 80px;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    text-align: center;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox img {
    max-height: 80vh;
    max-width: 100%;
    object-fit: contain;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
}

.lightbox-caption {
    margin-top: 16px;
    font-size: 15px;
    color: var(--text-light);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    font-size: 40px;
    color: var(--text);
    cursor: pointer;
    line-height: 1;
    padding: 16px;
}

.lightbox-close {
    top: 16px;
    right: 24px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
}

/* WeChat float */
.wechat-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(156, 122, 92, 0.35);
    z-index: 90;
    transition: transform 0.2s, background 0.2s;
}

.wechat-float:hover {
    transform: translateY(-3px);
    background: var(--accent-dark);
}

/* Responsive */
@media (max-width: 1024px) {
    .works-grid,
    .students-grid,
    .commission-steps,
    .testimonials {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-portrait {
        max-width: 360px;
        margin: 0 auto;
    }

    .courses-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .hero-title {
        font-size: 52px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .section {
        padding: 72px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .works-grid,
    .students-grid,
    .commission-steps,
    .testimonials {
        grid-template-columns: 1fr;
    }

    .journal-article {
        padding: 28px 22px;
    }

    .journal-article__title {
        font-size: 21px;
    }

    .contact-form,
    .qr-wrap,
    .contact-card {
        padding: 24px;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.35s ease, opacity 0.25s ease, visibility 0.35s;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -5px);
    }

    .lightbox {
        padding: 60px 20px;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 24px;
        padding: 8px;
    }

    .lightbox-prev {
        left: 4px;
    }

    .lightbox-next {
        right: 4px;
    }
}
