:root {
    --color-primary: #0B1C2E;
    --color-secondary: #5E6369;
    --color-accent: #9E3A38;
    --color-background: #F8F5F0;
    --color-white: #FFFFFF;
    --color-text: #2C2C2C;
    --color-text-light: #666666;
    --font-cn: 'Noto Serif SC', serif;
    --font-en: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-cn);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(11, 28, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(11, 28, 46, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(11, 28, 46, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 20px;
}

.nav-brand {
    display: flex;
    align-items: baseline;
    gap: 10px;
    cursor: pointer;
}

.brand-primary {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 700;
    color: rgb(166, 64, 54);
    letter-spacing: 2px;
}

.brand-secondary {
    font-family: var(--font-cn);
    font-size: 1rem;
    color: white;
    font-weight: 300;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-size: 0.95rem;
    font-weight: 400;
    position: relative;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: rgb(166, 64, 54);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: var(--transition);
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

.language-toggle {
    display: flex;
    gap: 5px;
    margin-left: 2rem;
}

.lang-btn {
    padding: 5px 12px;
    background: transparent;
    border: 1px solid white;
    color: white;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-en);
    border-radius: 2px;
}

.lang-btn.active {
    background: rgb(166, 64, 54);
    color: white;
    border-color: rgb(166, 64, 54);
}

.lang-btn:hover:not(.active) {
    border-color: rgb(166, 64, 54);
    color: rgb(166, 64, 54);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    position: relative;
    background-image: url('imgs/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(248, 245, 240, 0.15) 0%, rgba(248, 245, 240, 0.05) 100%);
    z-index: 1;
}

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

.hero-title {
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.name-cn {
    display: block;
    font-size: 5rem;
    font-weight: 700;
    color: white;
    letter-spacing: 15px;
    margin-bottom: 0.5rem;
}

.name-en {
    display: none;
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    letter-spacing: 3px;
}

body[data-lang="en"] .name-cn {
    display: none;
}

body[data-lang="en"] .name-en {
    display: block;
    font-size: 4rem;
    color: white;
    letter-spacing: 8px;
    font-weight: 700;
}

.hero-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 1.3rem;
    color: white;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    flex-wrap: wrap;
}

.technique {
    font-family: var(--font-en);
    font-weight: 700;
    color: rgb(166, 64, 54);
    letter-spacing: 1px;
}

.divider {
    color: rgba(255, 255, 255, 0.7);
}

.hero-quote {
    font-family: var(--font-en);
    font-size: 1.4rem;
    font-weight: 300;
    font-style: italic;
    color: white;
    margin-bottom: 3rem;
    letter-spacing: 1px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn {
    padding: 12px 35px;
    text-decoration: none;
    border-radius: 2px;
    font-size: 1rem;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    letter-spacing: 0.5px;
    display: inline-block;
    text-transform: uppercase;
}

.btn-primary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-primary:hover {
    background: white;
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid white;
    border-radius: 2px;
    font-size: 0.9rem;
    padding: 8px 16px;
}

.btn-secondary:hover {
    background: rgb(166, 64, 54);
    color: white;
    border-color: rgb(166, 64, 54);
}

.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(158, 58, 56, 0.05) 0%, transparent 70%);
    animation: float 20s infinite ease-in-out;
    top: 20%;
    right: 10%;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--color-primary);
    margin-bottom: 3rem;
    text-align: center;
    letter-spacing: 3px;
}

.statement {
    padding: 100px 0;
    background-image: url('imgs/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.statement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: 1;
}

.statement-content {
    position: relative;
    z-index: 2;
}

.statement .section-title {
    color: #0B1C2E;
    font-weight: 700;
    position: relative;
    z-index: 3;
}

.statement .signature p {
    color: #0B1C2E;
}

.statement .signature .note {
    color: #2C3E50;
}

.statement-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 2;
    color: var(--color-text);
    text-align: center;
}

.statement-content p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.statement-content .lead {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--color-primary);
    margin-bottom: 3rem;
    line-height: 2;
}

.signature {
    margin-top: 4rem;
    text-align: right;
    font-style: italic;
}

.signature p {
    margin-bottom: 0.5rem;
    color: var(--color-secondary);
}

.signature .note {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.portfolio {
    padding: 100px 0;
    background: rgba(11, 28, 46, 0.95);
}

.portfolio .section-title {
    color: white;
}

.work-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid white;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    border-radius: 2px;
    font-family: inherit;
    font-weight: 700;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgb(166, 64, 54);
    color: white;
    border-color: rgb(166, 64, 54);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.work-item {
    background: white;
    overflow: hidden;
    transition: var(--transition);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.work-image {
    height: 300px;
    overflow: hidden;
    position: relative;
    background: var(--color-background);
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
}

.work-item:hover .work-image img {
    transform: scale(1.05);
}

/* Image Enlarge Button - matches modal close button style */
.image-enlarge-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    font-size: 1.5rem;
    font-weight: 300;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
    -webkit-transition: var(--transition);
    color: var(--color-text);
    line-height: 1;
    opacity: 0;
    -webkit-tap-highlight-color: transparent;
}

.work-image:hover .image-enlarge-btn {
    opacity: 1;
}

.image-enlarge-btn:hover {
    background: var(--color-white);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.image-enlarge-btn svg {
    width: 18px;
    height: 18px;
}

.placeholder-art {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(11, 28, 46, 0.1) 0%, 
        rgba(158, 58, 56, 0.1) 50%, 
        rgba(94, 99, 105, 0.1) 100%);
    position: relative;
}

.placeholder-art::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    border: 1px solid rgba(11, 28, 46, 0.2);
    border-radius: 50%;
}

.work-info {
    padding: 1.5rem;
    background: transparent;
}

.work-info h3 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.work-medium {
    font-size: 0.9rem;
    color: var(--color-secondary);
    margin-bottom: 0.3rem;
}

.work-year {
    font-family: var(--font-en);
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.work-size {
    color: var(--color-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    font-family: var(--font-en);
}

.work-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text);
    margin: 1rem 0;
    opacity: 0.8;
}

.story-btn {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 20px;
    background: rgba(158, 58, 56, 0.1);
    color: var(--color-accent);
    border: 1px solid rgba(158, 58, 56, 0.2);
    transition: var(--transition);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.story-btn:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(158, 58, 56, 0.2);
}

.about {
    padding: 100px 0;
    background-image: url('imgs/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1;
}

.about > .container {
    position: relative;
    z-index: 2;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.about-text.highlight {
    color: var(--color-accent);
    font-style: italic;
}

.artist-photo {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.artist-photo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.teaching {
    padding: 100px 0;
    background: rgba(11, 28, 46, 0.95);
}

.teaching .section-title {
    color: white;
}

.teaching-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.teaching-intro p {
    font-size: 1.2rem;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.course-card {
    background: var(--color-white);
    padding: 2rem;
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.course-card h3 {
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-weight: 400;
}

.course-card p {
    color: var(--color-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.course-card ul {
    list-style: none;
    padding-left: 0;
}

.course-card li {
    padding: 0.5rem 0;
    color: var(--color-secondary);
    border-bottom: 1px solid rgba(94, 99, 105, 0.1);
    font-size: 0.95rem;
}

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

.teaching-cta {
    text-align: center;
    padding: 3rem;
    background: var(--color-white);
}

.teaching-cta h3 {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.teaching-cta p {
    color: var(--color-secondary);
    margin-bottom: 2rem;
}

.teaching-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.teaching-buttons .btn {
    background: transparent;
    color: rgb(166, 64, 54);
    border: 1px solid rgb(166, 64, 54);
    border-radius: 2px;
    font-size: 0.9rem;
    padding: 8px 16px;
    font-weight: 700;
}

.teaching-buttons .btn:hover {
    background: rgb(166, 64, 54);
    color: white;
    border-color: rgb(166, 64, 54);
}

.contact {
    padding: 100px 0;
    background-image: url('imgs/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1;
}

.contact > .container {
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.contact-item p {
    color: var(--color-text);
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 12px;
    border: 1px solid rgba(94, 99, 105, 0.2);
    background: var(--color-background);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-white);
}

.contact-form textarea {
    resize: vertical;
}

.footer {
    padding: 3rem 0;
    background: var(--color-primary);
    color: var(--color-white);
    text-align: center;
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-brand .brand-primary {
    color: rgb(166, 64, 54);
    font-size: 1.3rem;
    margin-right: 10px;
    font-weight: 700;
}

.footer-brand .brand-secondary {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.footer-quote {
    font-style: italic;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-en);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
    -webkit-transition: opacity 0.3s ease;
}

.modal.active {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    opacity: 1;
}

/* Simple image-only modal */
.modal-content {
    background: transparent;
    margin: 1rem;
    padding: 0;
    border-radius: 8px;
    max-width: 95vw;
    max-height: 95vh;
    width: auto;
    height: auto;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal.active .modal-content {
    -webkit-transform: scale(1);
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    font-size: 1.5rem;
    font-weight: 300;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
    -webkit-transition: var(--transition);
    color: var(--color-text);
    line-height: 1;
}

.modal-close:hover {
    background: var(--color-white);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

/* Simple modal image styling */
.modal-content img {
    max-width: 95vw;
    max-height: 95vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

/* Story Popup Styles */
.story-popup {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
    -webkit-transition: opacity 0.3s ease;
}

.story-popup.active {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    opacity: 1;
}

.story-popup-content {
    background: var(--color-white);
    margin: 2rem;
    padding: 0;
    border-radius: 16px;
    max-width: 800px;
    max-height: 85vh;
    width: 95vw;
    position: relative;
    overflow: hidden;
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.story-popup.active .story-popup-content {
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.story-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(11, 28, 46, 0.1);
    border: none;
    font-size: 1.5rem;
    font-weight: 300;
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
    color: var(--color-text);
    line-height: 1;
}

.story-popup-close:hover {
    background: rgba(158, 58, 56, 0.1);
    color: var(--color-accent);
    transform: scale(1.1);
}

.story-popup-body {
    padding: 2.5rem 2rem 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: calc(85vh - 1rem);
}

.story-popup-body::-webkit-scrollbar {
    width: 8px;
}

.story-popup-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.story-popup-body::-webkit-scrollbar-thumb {
    background: rgba(158, 58, 56, 0.4);
    border-radius: 4px;
}

.story-popup-body::-webkit-scrollbar-thumb:hover {
    background: rgba(158, 58, 56, 0.6);
}

.story-popup-body h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-accent);
}

.story-popup-body p {
    line-height: 1.8;
    margin-bottom: 1.2rem;
    color: var(--color-text);
}

.story-popup-body ul {
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
}

.story-popup-body ul li {
    line-height: 1.8;
    margin-bottom: 0.8rem;
    color: var(--color-text);
}

.modal-image {
    background: var(--color-background);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    width: 100%;
    height: 100%;
}

.modal-image img {
    max-width: 100%;
    max-height: 400px;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.modal-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Basic modal header - single line layout */
.modal-header {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.modal-info h2 {
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-primary);
    margin: 0;
    font-family: var(--font-cn);
    flex-shrink: 0;
}

.modal-medium {
    margin: 0;
    font-size: 1.2rem;
    flex-shrink: 0;
    color: #666;
}

.modal-year {
    margin: 0;
    font-size: 1.2rem;
    flex-shrink: 0;
    color: #666;
}

.modal-info h2::after {
    content: " | ";
    margin: 0 0.5rem;
    color: #999;
    font-weight: normal;
}

.modal-medium::after {
    content: " | ";
    margin: 0 0.5rem;
    color: #999;
}



.modal-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
    font-family: var(--font-cn);
}

/* Remove old horizontal layout - now using jingyu-series specific styling */

/* Learn More button styling */
.modal-learn-more {
    margin-top: 1.5rem;
    padding: 0.8rem 2rem;
    font-size: 1rem;
}

/* Full description styling */
.modal-full-description {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--color-background);
    border-radius: 8px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text);
    font-family: var(--font-cn);
}

/* Larger modal for detailed view */
.modal-content.expanded {
    max-width: 1400px;
    max-height: 98vh;
    width: 95%;
}

/* Ensure non-Jingyu artworks keep side-by-side layout when expanded */
.modal-content.expanded:not(.jingyu-series) .modal-body {
    display: grid;
    grid-template-columns: 3fr 7fr;
    height: 100%;
    min-height: 500px;
}

/* Compact header when expanded - force single line */
.modal-content.expanded .modal-header {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.modal-content.expanded .modal-info h2 {
    font-size: 1.5rem;
    margin: 0;
    flex-shrink: 0;
}

.modal-content.expanded .modal-medium {
    margin: 0;
    font-size: 1rem;
    flex-shrink: 0;
    color: #666;
}

.modal-content.expanded .modal-year {
    margin: 0;
    font-size: 1rem;
    flex-shrink: 0;
    color: #666;
}

.modal-content.expanded .modal-info h2::after {
    content: " | ";
    margin: 0 0.5rem;
    color: #999;
    font-weight: normal;
}

.modal-content.expanded .modal-medium::after {
    content: " | ";
    margin: 0 0.5rem;
    color: #999;
}

.modal-content.expanded .modal-description {
    display: none;
}

/* Full description with scrolling */
.modal-content.expanded .modal-full-description {
    margin-top: 1rem;
    max-height: 500px;
    overflow-y: auto;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.modal-content.expanded .modal-full-description::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Jingyu series vertical layout */
.modal-content.expanded.jingyu-series {
    max-width: 700px;
    width: 50%;
    max-height: 95vh;
    height: 90vh;
}

.modal-content.expanded.jingyu-series .modal-body {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1.8fr 8.2fr;
    height: 100%;
    min-height: 600px;
}

.modal-content.expanded.jingyu-series .modal-image {
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.modal-content.expanded.jingyu-series .modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.modal-content.expanded.jingyu-series .modal-info {
    padding: 0.8rem 2rem;
    overflow-y: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.modal-content.expanded.jingyu-series .modal-full-description {
    max-height: none;
    flex-grow: 1;
    height: calc(100% - 100px);
}

/* For other artworks when expanded - keep side by side */
.modal-content.expanded:not(.jingyu-series) .modal-image {
    padding: 1rem;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content.expanded:not(.jingyu-series) .modal-info {
    justify-content: flex-start;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 600px;
}


.modal-content.expanded:not(.jingyu-series) .modal-image img {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.modal-content.expanded:not(.jingyu-series) .modal-description {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 400px;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    margin: 1rem 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.modal-content.expanded:not(.jingyu-series) .modal-description::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.modal-content.expanded:not(.jingyu-series) .modal-full-description {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 400px;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    margin-top: 1rem;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.modal-content.expanded:not(.jingyu-series) .modal-full-description::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Make Wild Geese (non-Jingyu) modal even larger */
.modal-content.expanded:not(.jingyu-series) {
    max-width: 1600px;
    max-height: 99vh;
    width: 98%;
}

/* Increase full description area for Wild Geese */
.modal-content.expanded:not(.jingyu-series) .modal-full-description {
    max-height: 600px;
}

/* Scrollbar styling removed - now hidden */

.work-item {
    cursor: pointer;
}

.work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .modal-image {
        order: 1;
        padding: 1rem;
    }
    
    .modal-info {
        order: 2;
        padding: 1.5rem;
    }
    
    /* Mobile adjustments for expanded modal */
    .modal-content.expanded {
        margin: 0.5rem;
        max-height: 98vh;
        width: calc(100% - 1rem);
    }
    
    /* Mobile: Jingyu series - vertical layout */
    .modal-content.expanded.jingyu-series {
        max-width: 95vw;
        width: 95vw;
        max-height: 85vh;
        height: 85vh;
        min-height: 60vh;
    }
    
    .modal-content.expanded.jingyu-series .modal-body {
        grid-template-columns: 1fr;
        grid-template-rows: 25vh 1fr;
        height: 100%;
        max-height: 85vh;
    }
    
    .modal-content.expanded.jingyu-series .modal-image {
        padding: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: stretch;
        justify-content: stretch;
    }
    
    .modal-content.expanded.jingyu-series .modal-image img {
        width: 90%;
        height: 90%;
        object-fit: contain;
        border-radius: 4px;
    }
    
    .modal-content.expanded.jingyu-series .modal-info {
        padding: 0.5rem 1rem 1rem;
        overflow-y: auto;
        height: 100%;
        max-height: 60vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .modal-content.expanded.jingyu-series .modal-full-description {
        max-height: 45vh;
        flex-grow: 1;
        overflow-y: auto;
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Mobile: Maintain ratio but stack vertically - description gets more space */
    .modal-content.expanded:not(.jingyu-series) .modal-body {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
        height: 100%;
    }
    
    /* Mobile: Wild Geese modal - make responsive */
    .modal-content.expanded:not(.jingyu-series) {
        margin: 0.25rem;
        max-height: 85vh;
        width: calc(100vw - 0.5rem);
        height: 85vh;
        min-height: 60vh;
    }
    
    /* Mobile: Other artworks */
    .modal-content.expanded:not(.jingyu-series) .modal-image {
        padding: 0.2rem;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .modal-content.expanded:not(.jingyu-series) .modal-info {
        padding: 0.5rem 1rem 1rem;
        display: flex;
        flex-direction: column;
        height: 100%;
        overflow-y: auto;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    .modal-content.expanded:not(.jingyu-series) .modal-info::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .modal-content.expanded:not(.jingyu-series) .modal-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 4px;
    }
    
    /* Mobile: Responsive full description for Wild Geese */
    .modal-content.expanded:not(.jingyu-series) .modal-full-description {
        max-height: 35vh;
        overflow-y: auto;
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Mobile: Compact header */
    .modal-content.expanded .modal-header {
        gap: 0.5rem;
        margin-bottom: 0.5rem;
        flex-shrink: 0;
    }
    
    .modal-content.expanded .modal-info h2 {
        font-size: 1rem;
    }
    
    .modal-content.expanded .modal-medium,
    .modal-content.expanded .modal-year {
        font-size: 0.8rem;
    }
    
    /* Mobile: Description area - make it scrollable */
    .modal-content.expanded .modal-description {
        font-size: 0.75rem;
        line-height: 1.3;
        overflow-y: auto;
        flex-grow: 1;
        max-height: 200px;
        padding: 0.8rem;
        background: white;
        border-radius: 8px;
        margin: 0.5rem 0;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
        min-height: 100px;
    }
    
    .modal-content.expanded .modal-description::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    /* Mobile: Learn More button - ensure it's always visible */
    .modal-content.expanded .modal-learn-more {
        flex-shrink: 0;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    /* Mobile: Full description */
    .modal-content.expanded .modal-full-description {
        max-height: 400px;
        padding: 1rem;
        font-size: 0.75rem;
        line-height: 1.3;
        margin-top: 0.5rem;
        background: white;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .modal-content.expanded .modal-full-description::-webkit-scrollbar {
        display: none;
    }
    
    .modal-content {
        margin: 1rem;
        width: calc(100% - 2rem);
    }
    
    .modal-info h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--color-background);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .language-toggle {
        margin-left: auto;
        margin-right: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .name-cn {
        font-size: 2.5rem;
        letter-spacing: 8px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .course-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Story Popup Mobile Styles */
    .story-popup-content {
        margin: 1rem;
        max-width: calc(100vw - 2rem);
        max-height: 90vh;
    }

    .story-popup-body {
        padding: 2rem 1.5rem 1.5rem;
        max-height: calc(90vh - 1rem);
    }

    .story-popup-body h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .story-popup-close {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }
    
    /* Ensure touch targets are large enough on mobile */
    .work-image {
        min-height: 250px;
    }
    
    .story-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    /* Always show enlarge button on mobile with larger touch target */
    .image-enlarge-btn {
        opacity: 1;
        width: 40px;
        height: 40px;
    }
    
    .image-enlarge-btn svg {
        width: 22px;
        height: 22px;
    }
}

/* Student Gallery Styles */
.students-main {
    min-height: 100vh;
    padding-top: 80px;
}

.students-hero {
    padding: 60px 0;
    background: var(--color-background);
    color: var(--color-primary);
    text-align: center;
}

.students-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.students-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

.students-gallery {
    padding: 80px 0;
    background: var(--color-background);
}

.students-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid rgb(166, 64, 54);
    color: rgb(166, 64, 54);
    border-radius: 2px;
    cursor: pointer;
    font-weight: 400;
    transition: var(--transition);
    font-family: var(--font-cn);
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgb(166, 64, 54);
    color: white;
}

.students-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.students-grid .work-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.students-grid .work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.student-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.student-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
    background: var(--color-background);
}

.students-grid .work-item:hover .student-image-container img {
    transform: scale(1.05);
}


.student-info {
    padding: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.student-name {
    font-size: 1rem;
    color: var(--color-primary);
    margin: 0;
    font-weight: 600;
}

.student-medium {
    color: var(--color-secondary);
    font-size: 0.85rem;
    font-weight: 400;
    margin: 0;
}

.student-medium::before {
    content: "•";
    margin-right: 0.5rem;
    color: var(--color-secondary);
}


/* Responsive design for student gallery */
@media (max-width: 768px) {
    .students-title {
        font-size: 2.5rem;
    }
    
    .students-subtitle {
        font-size: 1rem;
    }
    
    .students-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .student-image-container {
        height: 200px;
    }
    
    .student-info {
        padding: 1rem;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .students-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .students-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* Enhanced About Section Styles */
.about-bio, .about-journey, .about-philosophy, .about-positions {
    margin-bottom: 2rem;
}

.about-subtitle {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.journey-list {
    list-style: none;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.journey-list li {
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--color-secondary);
    font-style: italic;
}

.journey-list li::before {
    content: "→";
    position: absolute;
    left: -1.5rem;
    color: var(--color-accent);
    font-weight: bold;
}

.positions-list {
    list-style: none;
    padding: 0;
}

.positions-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(94, 99, 105, 0.1);
    color: var(--color-secondary);
}

.positions-list li:last-child {
    border-bottom: none;
}

.about-exhibitions {
    background: rgba(248, 245, 240, 0.5);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.exhibitions-list {
    margin-top: 1rem;
}

.exhibition-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(94, 99, 105, 0.1);
}

.exhibition-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.exhibition-item .year {
    font-weight: 600;
    color: var(--color-accent);
    min-width: 60px;
    margin-right: 1rem;
    font-size: 0.9rem;
}

.exhibition-item .event {
    color: var(--color-text);
    line-height: 1.4;
    font-size: 0.9rem;
}

/* About section layout adjustments */
.about-grid {
    grid-template-columns: 60% 40%;
    gap: 3rem;
    align-items: start;
}

.artist-photo {
    width: 100%;
    max-width: 280px;
    margin: 0 auto 2rem auto;
}

.artist-photo img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for about section */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .artist-photo {
        max-width: 200px;
    }
    
    .about-exhibitions {
        padding: 1.5rem;
    }
    
    .exhibition-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .exhibition-item .year {
        margin-right: 0;
        margin-bottom: 0.25rem;
        min-width: auto;
    }
}

