/* ===== Accessibility - Skip Link ===== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--text);
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.8rem;
    z-index: 10001;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Screen Reader Only Content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .slideshow-img {
        transition: opacity 0.3s ease !important;
        transform: none !important;
        animation: none !important;
    }
    
    .scroll-arrow {
        animation: none !important;
    }
    
    .loading-screen {
        display: none !important;
    }
}

/* Focus Indicators */
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Remove focus outline for mouse users */
*:focus:not(:focus-visible) {
    outline: none;
}

/* ===== Reset ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #faf9f7;
    --bg-warm: #f5f3f0;
    --text: #1a1a1a;
    --text-light: #666;
    --text-muted: #999;
    --accent: #c4a77d;
    --accent-dark: #a0825d;
    --border: rgba(0,0,0,0.08);
    
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Subtle film grain overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 9999;
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 60px;
    z-index: 100;
    transition: all 0.4s var(--transition);
}

.nav-scrolled {
    background: rgba(250, 249, 247, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px 60px;
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.02em;
    text-shadow:
        -1px -1px 0 rgba(255,255,255,0.4),
        1px -1px 0 rgba(255,255,255,0.4),
        -1px 1px 0 rgba(255,255,255,0.4),
        1px 1px 0 rgba(255,255,255,0.4),
        0 2px 10px rgba(255,255,255,0.05);
    position: absolute;
    left: 60px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text);
    transition: opacity 0.3s;
    position: relative;
    text-shadow:
        -1px -1px 0 rgba(255,255,255,0.4),
        1px -1px 0 rgba(255,255,255,0.4),
        -1px 1px 0 rgba(255,255,255,0.4),
        1px 1px 0 rgba(255,255,255,0.4),
        0 2px 10px rgba(255,255,255,0.05);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-link:hover {
    opacity: 0.8;
}

.link-num {
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-shadow: none;
}

.link-text {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--text);
}

.nav-location {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 0.02em;
    text-shadow:
        -1px -1px 0 rgba(255,255,255,0.4),
        1px -1px 0 rgba(255,255,255,0.4),
        -1px 1px 0 rgba(255,255,255,0.4),
        1px 1px 0 rgba(255,255,255,0.4),
        0 2px 10px rgba(255,255,255,0.05);
}

.location-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 40px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196, 167, 125, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero-title {
    font-family: var(--font-display);
    margin-bottom: 30px;
}

.title-line {
    display: block;
    font-size: clamp(3.5rem, 12vw, 9rem);
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: -0.04em;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s var(--transition);
}

.title-line.revealed {
    opacity: 1;
    transform: translateY(0);
    animation: titleFloat 6s ease-in-out infinite;
    animation-delay: 1s;
}

.title-line:nth-child(2) {
    transition-delay: 0.15s;
}

.title-accent {
    font-style: italic;
    color: var(--accent-dark);
}

.hero-subtitle {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s 0.3s var(--transition);
}

.hero-subtitle.revealed {
    opacity: 1;
    transform: translateY(0);
}

.hero-meta {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    opacity: 0;
    transition: opacity 1s 0.5s var(--transition);
}

.hero-meta.revealed {
    opacity: 1;
}

.meta-sep {
    margin: 0 10px;
    color: var(--accent);
}

.scroll-indicator {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: scaleY(0.5); opacity: 0.3; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* ===== Landing Hero ===== */
.landing-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.landing-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.landing-slideshow {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #1a1a1a;
}

.slideshow-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: grayscale(20%) brightness(0.75);
    opacity: 0;
    transform: scale(1.15);
    transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1), transform 10s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.slideshow-img.active {
    opacity: 1;
    transform: scale(1);
}

/* Lazy loading for gallery images */
.gallery-img {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-img.loaded,
.gallery-img[src] {
    opacity: 1;
}

/* Auto-advance slideshow - 16 images, 5 seconds each = 80s total cycle */
.landing-slideshow .slideshow-img:nth-child(1) { animation: slideshow 80s infinite; animation-delay: 0s; }
.landing-slideshow .slideshow-img:nth-child(2) { animation: slideshow 80s infinite; animation-delay: 5s; }
.landing-slideshow .slideshow-img:nth-child(3) { animation: slideshow 80s infinite; animation-delay: 10s; }
.landing-slideshow .slideshow-img:nth-child(4) { animation: slideshow 80s infinite; animation-delay: 15s; }
.landing-slideshow .slideshow-img:nth-child(5) { animation: slideshow 80s infinite; animation-delay: 20s; }
.landing-slideshow .slideshow-img:nth-child(6) { animation: slideshow 80s infinite; animation-delay: 25s; }
.landing-slideshow .slideshow-img:nth-child(7) { animation: slideshow 80s infinite; animation-delay: 30s; }
.landing-slideshow .slideshow-img:nth-child(8) { animation: slideshow 80s infinite; animation-delay: 35s; }
.landing-slideshow .slideshow-img:nth-child(9) { animation: slideshow 80s infinite; animation-delay: 40s; }
.landing-slideshow .slideshow-img:nth-child(10) { animation: slideshow 80s infinite; animation-delay: 45s; }
.landing-slideshow .slideshow-img:nth-child(11) { animation: slideshow 80s infinite; animation-delay: 50s; }
.landing-slideshow .slideshow-img:nth-child(12) { animation: slideshow 80s infinite; animation-delay: 55s; }
.landing-slideshow .slideshow-img:nth-child(13) { animation: slideshow 80s infinite; animation-delay: 60s; }
.landing-slideshow .slideshow-img:nth-child(14) { animation: slideshow 80s infinite; animation-delay: 65s; }
.landing-slideshow .slideshow-img:nth-child(15) { animation: slideshow 80s infinite; animation-delay: 70s; }
.landing-slideshow .slideshow-img:nth-child(16) { animation: slideshow 80s infinite; animation-delay: 75s; }

@keyframes slideshow {
    0% { opacity: 0; transform: scale(1.15); }
    0.5% { opacity: 1; transform: scale(1.05); }
    6% { opacity: 1; transform: scale(1); }
    6.25% { opacity: 0; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.15); }
}
        opacity: 0;
        transform: scale(1.05);
    }
}

.landing-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(250, 249, 247, 0.3) 0%, rgba(250, 249, 247, 0.6) 50%, rgba(250, 249, 247, 0.9) 100%);
    z-index: 1;
}

.landing-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px;
    animation: landingFloat 6s ease-in-out infinite;
}

@keyframes landingFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.landing-title {
    margin-bottom: 40px;
}

.landing-name {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 15px;
    animation: titleReveal 1.2s var(--transition) forwards;
    opacity: 0;
    transform: translateY(40px);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

@keyframes titleReveal {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.landing-tagline {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    animation: taglineReveal 1.2s 0.3s var(--transition) forwards;
    opacity: 0;
    transform: translateY(20px);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

@keyframes taglineReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.landing-cta {
    display: inline-block;
    padding: 18px 40px;
    border: 1px solid #fff;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    transition: all 0.4s var(--transition);
    position: relative;
    overflow: hidden;
    animation: ctaReveal 1.2s 0.6s var(--transition) forwards;
    opacity: 0;
    transform: translateY(20px);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

@keyframes ctaReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.landing-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--transition);
    z-index: -1;
}

.landing-cta:hover {
    color: var(--text);
    text-shadow: none;
}

.landing-cta:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Scroll Hint (Text + Animated Arrow) */
.scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 60px;
    opacity: 0;
    animation: scrollHintReveal 1.2s 0.8s var(--transition) forwards;
}

@keyframes scrollHintReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-text {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.scroll-arrow {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
    animation: scrollBounce 1.5s ease-in-out infinite;
    line-height: 1;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}
    animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(4px);
    }
}

/* ===== Reveal Animations ===== */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--transition);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Section Header ===== */
.section-header {
    margin-bottom: 60px;
    padding-top: 120px;
    position: relative;
}

.section-header::before {
    content: attr(data-section);
    position: absolute;
    top: 60px;
    left: -20px;
    font-family: var(--font-display);
    font-size: clamp(8rem, 20vw, 15rem);
    font-weight: 300;
    color: var(--text);
    opacity: 0.03;
    z-index: -1;
    line-height: 1;
    pointer-events: none;
}

.section-num {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--accent-dark);
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: -0.02em;
}

.section-note {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 10px;
    letter-spacing: 0.05em;
}

/* ===== Works ===== */
.works {
    padding: 0 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.work-block {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.work-block:last-child {
    border-bottom: none;
}

.work-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.work-info {
    max-width: 500px;
}

.work-cat {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 15px;
}

.work-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 1.2;
}

.work-desc {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 400px;
}

.scroll-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.scroll-hint svg {
    animation: pulseRight 1.5s ease-in-out infinite;
}

@keyframes pulseRight {
    0%, 100% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(5px); opacity: 1; }
}

/* Horizontal Gallery */
.gallery-scroll {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 20px;
}

.gallery-scroll::-webkit-scrollbar {
    display: none;
}

.gallery-track {
    display: flex;
    gap: 20px;
    padding-right: 60px;
}

.gallery-item {
    flex-shrink: 0;
    scroll-snap-align: start;
    transition: transform 0.4s var(--transition);
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item::before {
    content: 'View';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 2;
    pointer-events: none;
}

.gallery-item:hover::before {
    opacity: 1;
}

/* ===== YOUR IMAGES CSS ===== */
/* Gallery images - these make your photos display correctly! */
.gallery-img {
    display: block;
    object-fit: cover;
    transition: transform 0.4s var(--transition);
}

.gallery-img:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(196, 167, 125, 0.35);
    filter: grayscale(0%) saturate(1.1);
}

.gallery-img.wide {
    width: 400px;
    height: 300px;
}

.gallery-img.tall {
    width: 300px;
    height: 400px;
}

.gallery-img.square {
    width: 320px;
    height: 320px;
}

/* Artist portrait image */
.artist-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Placeholders (shown when no image added yet) */
.image-placeholder {
    background: linear-gradient(135deg, var(--bg-warm), #ebe8e3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px dashed var(--border);
    transition: all 0.3s;
}

.image-placeholder.wide {
    width: 400px;
    height: 300px;
}

.image-placeholder.tall {
    width: 300px;
    height: 400px;
}

.image-placeholder.square {
    width: 320px;
    height: 320px;
}

.image-placeholder.portrait-large {
    width: 100%;
    height: 500px;
}

/* ===== Artist Section ===== */
.artist-section {
    padding: 60px 60px 120px;
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid var(--border);
}

.artist-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.artist-portrait {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portrait-gallery {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.portrait-frame {
    width: 100%;
    max-width: 320px;
    overflow: hidden;
    flex: 1;
}

.portrait-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.4s var(--transition);
}

.portrait-img:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(196, 167, 125, 0.35);
    filter: saturate(1.1);
}

.portrait-frame .image-placeholder {
    width: 100%;
    height: 400px;
}

.portrait-caption {
    margin-top: 25px;
    text-align: center;
}

.caption-name {
    display: block;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 5px;
}

.caption-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.artist-details {
    padding: 40px 0;
}

.artist-bio {
    margin-bottom: 50px;
}

.artist-facts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fact {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.fact-icon {
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
}

.fact-text {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
}

.text-large {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 25px;
    color: var(--text);
}

.artist-bio p {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 20px;
}

/* ===== Warm Background Section ===== */
.section-warm {
    background: var(--bg-warm);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* ===== About Section Full ===== */
.about-section {
    padding: 60px 60px 120px;
    background: var(--bg-warm);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-content-wide {
    max-width: 800px;
    margin: 0 auto;
}

.about-section .section-header {
    padding-top: 60px;
    margin-bottom: 50px;
}

.about-text-full p {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 25px;
}

.about-quote-large {
    padding: 50px 0;
    margin-top: 40px;
    border-top: 1px solid var(--border);
}

.about-quote-large blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text);
    text-align: center;
}

/* ===== Timeline (Resume) ===== */
.timeline {
    max-width: 700px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 40px;
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
}

.timeline-year {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--accent);
    min-width: 100px;
}

.timeline-content h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 5px;
}

.timeline-content p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.timeline-content .resume-link {
    margin-top: 8px;
}

.timeline-content .resume-link a {
    font-size: 0.8rem;
    color: var(--accent-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--accent);
    transition: all 0.3s var(--transition);
}

.timeline-content .resume-link a:hover {
    color: var(--text);
    border-bottom-color: var(--text);
}

/* ===== Resume Detailed Categories ===== */
.resume-detailed {
    max-width: 900px;
}

.resume-category {
    margin-bottom: 40px;
}

.resume-category:last-child {
    margin-bottom: 0;
}

.resume-category-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.resume-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.resume-list li {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.resume-list li:last-child {
    margin-bottom: 0;
}

.resume-list .resume-year {
    color: var(--accent);
    font-weight: 500;
    min-width: 70px;
    flex-shrink: 0;
}

.resume-section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    color: var(--text);
    padding-bottom: 15px;
    border-bottom: 1px solid var(--accent);
}

.timeline-section {
    margin-bottom: 50px;
}

.timeline-section:last-child {
    margin-bottom: 0;
}

/* Two-column layout for longer lists */
@media (min-width: 768px) {
    .resume-list-two-col {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px 40px;
    }
    
    .resume-list-two-col li {
        margin-bottom: 6px;
    }
}

/* ===== Community ===== */
.community-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 40px;
    text-align: center;
}

.community-intro p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.community-category {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 40px;
}

.community-category:last-child {
    margin-bottom: 0;
}

.community-section-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

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

@media (max-width: 900px) {
    .community-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .community-grid {
        grid-template-columns: 1fr;
    }
    
    .community-category {
        padding: 0 20px;
    }
    
    .community-intro {
        padding: 0 20px;
    }
}

.community-card {
    padding: 30px 30px 30px 26px;
    background: var(--bg-warm);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    transition: transform 0.3s var(--transition), box-shadow 0.3s var(--transition);
}

.community-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.community-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 4px 10px;
    background: rgba(196, 167, 125, 0.1);
    border: 1px solid var(--accent);
    margin-bottom: 12px;
}

.community-card h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--text);
}

.community-role {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 8px;
}

.community-location {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: normal;
}

/* Simple cards for collapsed section */
.community-simple {
    gap: 20px;
}

.community-card-simple {
    padding: 25px;
}

.community-card-simple p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* ===== Press & Testimonials ===== */
.press-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.press-subtitle {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.press-item {
    padding: 25px 0;
    border-bottom: 1px solid var(--border);
}

.press-date {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.press-item h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 5px;
}

.press-item p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.press-link {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s;
}

.press-link:hover {
    color: var(--text);
}

.testimonial-item {
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
}

.testimonial-item blockquote {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 15px;
}

.testimonial-item cite {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-style: normal;
}

/* ===== Press Section ===== */
.press-section-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    margin: 60px 0 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.press-featured {
    max-width: 1000px;
    margin: 0 auto 60px;
}

.press-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 900px) {
    .press-featured-grid {
        grid-template-columns: 1fr;
    }
}

.press-featured-item {
    padding: 25px;
    background: var(--bg-warm);
    border: 1px solid var(--border);
    transition: transform 0.3s var(--transition), box-shadow 0.3s var(--transition);
}

.press-featured-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.press-source {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--accent-dark);
    margin-bottom: 12px;
}

.press-excerpt {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.press-category {
    max-width: 1000px;
    margin: 0 auto 40px;
}

.press-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 40px;
}

@media (max-width: 768px) {
    .press-list {
        grid-template-columns: 1fr;
    }
}

.press-testimonials {
    max-width: 800px;
    margin: 80px auto 0;
    padding-top: 60px;
    border-top: 1px solid var(--border);
}

/* ===== Testimonials Section ===== */
.testimonials-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

.testimonial-card {
    padding: 40px 30px;
    background: var(--bg-warm);
    border: 1px solid var(--border);
    transition: transform 0.3s var(--transition), box-shadow 0.3s var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.testimonial-card.short {
    padding: 30px 24px;
}

.testimonial-card.short .testimonial-quote blockquote {
    font-size: 1.1rem;
    line-height: 1.5;
}

.testimonial-quote {
    position: relative;
    margin-bottom: 20px;
}

.quote-mark {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 300;
    color: var(--accent);
    line-height: 1;
    display: block;
    margin-bottom: -20px;
}

.testimonial-quote blockquote {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
    padding: 0;
}

.testimonial-card cite {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-style: normal;
}

/* Expandable Testimonials */
.testimonial-text {
    position: relative;
}

.testimonial-text.collapsed .testimonial-excerpt {
    display: block;
}

.testimonial-text.collapsed .testimonial-full {
    display: none;
}

.testimonial-text.expanded .testimonial-excerpt {
    display: none;
}

.testimonial-text.expanded .testimonial-full {
    display: block;
    animation: fadeInText 0.4s ease;
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.read-more-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 0;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.read-more-btn:hover {
    color: var(--text);
}

.read-more-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Screenshot Testimonials */
.screenshot-testimonials {
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 0 40px;
}

.screenshot-heading {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 40px;
}

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

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

.screenshot-card {
    background: var(--bg-warm);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    padding: 15px;
    transition: transform 0.3s var(--transition), box-shadow 0.3s var(--transition);
    cursor: pointer;
}

.screenshot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.screenshot-frame {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.screenshot-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.screenshot-caption {
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    text-align: center;
    margin-top: 15px;
    font-style: italic;
}

/* ===== Student Gallery Card ===== */
.student-gallery-card {
    max-width: 800px;
    margin: 80px auto 0;
    padding: 40px;
    background: var(--bg-warm);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
}

.student-gallery-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

.student-gallery-link {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s var(--transition);
    box-shadow: 0 4px 15px rgba(196, 167, 125, 0.3);
}

.student-gallery-link:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(196, 167, 125, 0.4);
}

/* ===== Awards Section ===== */
.awards-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Awards Stats Banner */
.awards-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 40px 0 60px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.awards-stat {
    text-align: center;
}

.awards-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 400;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.awards-stat-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 600px) {
    .awards-stats {
        gap: 40px;
        padding: 30px 0 40px;
    }
    
    .awards-stat-number {
        font-size: 2rem;
    }
}

.awards-year {
    margin-bottom: 80px;
}

.awards-year:last-child {
    margin-bottom: 0;
}

.awards-year-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--accent);
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--accent);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 30px;
}

@media (max-width: 900px) {
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .awards-grid {
        grid-template-columns: 1fr;
    }
    
    .awards-container {
        padding: 0 20px;
    }
}

.award-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
    opacity: 0;
    transform: translateY(20px);
    animation: awardFadeIn 0.6s var(--transition) forwards;
    transition: transform 0.3s var(--transition), box-shadow 0.3s var(--transition), background 0.3s var(--transition);
}

/* Staggered animation delays for awards within each year */
.awards-grid .award-item:nth-child(1) { animation-delay: 0.05s; }
.awards-grid .award-item:nth-child(2) { animation-delay: 0.1s; }
.awards-grid .award-item:nth-child(3) { animation-delay: 0.15s; }
.awards-grid .award-item:nth-child(4) { animation-delay: 0.2s; }
.awards-grid .award-item:nth-child(5) { animation-delay: 0.25s; }
.awards-grid .award-item:nth-child(6) { animation-delay: 0.3s; }
.awards-grid .award-item:nth-child(7) { animation-delay: 0.35s; }
.awards-grid .award-item:nth-child(8) { animation-delay: 0.4s; }
.awards-grid .award-item:nth-child(9) { animation-delay: 0.45s; }
.awards-grid .award-item:nth-child(10) { animation-delay: 0.5s; }
.awards-grid .award-item:nth-child(11) { animation-delay: 0.55s; }
.awards-grid .award-item:nth-child(12) { animation-delay: 0.6s; }
.awards-grid .award-item:nth-child(13) { animation-delay: 0.65s; }
.awards-grid .award-item:nth-child(14) { animation-delay: 0.7s; }
.awards-grid .award-item:nth-child(15) { animation-delay: 0.75s; }

@keyframes awardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover lift + glow effect */
.award-item:hover {
    transform: translateY(-3px);
    background: var(--bg-warm);
    box-shadow: 0 8px 25px rgba(196, 167, 125, 0.15);
    padding: 12px 16px;
    margin: 0 -16px;
    border-radius: 4px;
}

.award-title {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text);
    line-height: 1.4;
}

.award-event {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ===== Stats ===== */
.stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 100px 60px;
    background: var(--bg);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1;
    color: var(--text);
    display: inline;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--text);
}

.stat-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 15px;
}

/* ===== Contact ===== */
.contact {
    padding: 120px 60px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-content {
    margin-bottom: 80px;
}

.contact-lead {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    font-weight: 400;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-link {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.3s;
}

.contact-link:hover {
    border-color: var(--accent);
}

.link-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.link-value {
    font-size: 0.95rem;
    font-weight: 300;
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.social-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.social-icons {
    display: flex;
    gap: 40px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s var(--transition);
}

.social-link:hover {
    color: var(--accent-dark);
    transform: translateY(-3px);
}

.social-link svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.2;
    transition: transform 0.3s;
}

.social-link:hover svg {
    transform: scale(1.1);
}

.social-link span {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ===== Lightbox ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    transition: transform 0.3s;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

.lightbox-img {
    position: relative;
    z-index: 1001;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Make gallery images clickable */
.gallery-img {
    cursor: pointer;
}

/* ===== Footer ===== */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 60px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    gap: 30px;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.footer-name {
    color: var(--text);
}

.scroll-top {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
}

.scroll-top:hover {
    color: var(--text);
}

.scroll-top svg {
    transition: transform 0.3s;
}

.scroll-top:hover svg {
    transform: translateY(-3px);
}

/* ===== Custom Cursor ===== */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 3px solid #000;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

.custom-cursor.expanded {
    width: 80px;
    height: 80px;
    border-color: #fff;
}

.custom-cursor::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.custom-cursor.view-mode::after {
    content: 'View';
    opacity: 1;
}

.custom-cursor.link-mode {
    width: 50px;
    height: 50px;
    background: rgba(196, 167, 125, 0.2);
    border-color: var(--accent);
}

/* Hide default cursor on desktop */
@media (pointer: fine) {
    body {
        cursor: none;
    }
    
    a, button, .gallery-item, .gallery-img, .portrait-img {
        cursor: none !important;
    }
}

@media (pointer: coarse) {
    .custom-cursor {
        display: none;
    }
}

/* ===== Word Split Animation ===== */
.split-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.split-word.revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes titleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ===== Gallery Navigation Buttons ===== */
.gallery-nav {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

.gallery-btn {
    width: 50px;
    height: 50px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--transition);
}

.gallery-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(1.1);
}

.gallery-btn:active {
    transform: scale(0.95);
}

.gallery-btn svg {
    width: 20px;
    height: 20px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .nav {
        padding: 20px 30px;
    }
    
    .nav-links {
        gap: 25px;
    }
    
    .gallery-img.wide, .image-placeholder.wide {
        width: 350px;
        height: 260px;
    }
    
    .gallery-img.tall, .image-placeholder.tall {
        width: 260px;
        height: 350px;
    }
    
    .gallery-img.square, .image-placeholder.square {
        width: 280px;
        height: 280px;
    }
    
    .artist-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .artist-portrait {
        order: -1;
    }
    
    .portrait-gallery {
        flex-direction: column;
        align-items: center;
    }
    
    .portrait-frame {
        max-width: 100%;
    }
    
    .stats {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-location {
        display: none;
    }
    
    .link-num {
        display: none;
    }
    
    .hero {
        padding: 100px 30px;
    }
    
    .works,
    .artist-section,
    .about-section,
    .contact {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .work-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .gallery-img.wide,
    .gallery-img.tall,
    .gallery-img.square,
    .image-placeholder.wide,
    .image-placeholder.tall,
    .image-placeholder.square {
        width: 280px;
        height: 280px;
    }
    
    .portrait-frame .image-placeholder {
        height: 400px;
    }
    
    .footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 10px;
    }
    
    /* New Sections Responsive */
    .landing-collage {
        gap: 5px;
        padding: 5px;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .community-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .press-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .title-line {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .gallery-img.wide,
    .gallery-img.tall,
    .gallery-img.square,
    .image-placeholder.wide,
    .image-placeholder.tall,
    .image-placeholder.square {
        width: 260px;
        height: 260px;
    }
    
    .contact-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .social-icons {
        gap: 30px;
    }
    
    .social-link svg {
        width: 24px;
        height: 24px;
    }
}

/* ===== Loading Screen ===== */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s var(--transition), visibility 0.5s;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

.loading-logo {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--text);
    margin-bottom: 30px;
    animation: logoPulse 1.5s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.loading-bar {
    width: 120px;
    height: 2px;
    background: var(--border);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 1px;
}

.loading-progress {
    width: 100%;
    height: 100%;
    background: var(--accent);
    transform: translateX(-100%);
    animation: loadingProgress 1.5s ease-in-out forwards;
}

@keyframes loadingProgress {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}

/* ===== Scroll Progress Bar ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(to right, var(--accent), var(--accent-dark));
    z-index: 9999;
    width: 0%;
    transition: width 0.1s linear;
}

/* ===== Mobile Menu ===== */
/* ===== Mobile Menu ===== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background: transparent;
    border: 1px solid rgba(196, 167, 125, 0.3);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    gap: 5px;
    position: absolute;
    right: 30px;
    transition: all 0.3s var(--transition);
}

.mobile-menu-toggle:hover {
    border-color: var(--accent);
    background: rgba(196, 167, 125, 0.1);
}

.hamburger-line {
    width: 20px;
    height: 1.5px;
    background: var(--text);
    transition: all 0.4s var(--transition);
}

.mobile-menu-toggle.active {
    border-color: var(--accent);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(4.5px, 4.5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* Mobile Menu Overlay - Slide in from right */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    min-height: 100vh;
    background: var(--bg);
    z-index: 1002;
    display: flex;
    flex-direction: column;
    padding: 100px 40px 40px;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-menu-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.5;
}

.mobile-menu-overlay.active {
    transform: translateY(0);
}

/* Close button */
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--transition);
    z-index: 1003;
}

.mobile-menu-close:hover {
    border-color: var(--accent);
    background: rgba(196, 167, 125, 0.1);
    transform: rotate(90deg);
}

.close-line {
    position: absolute;
    width: 18px;
    height: 1.5px;
    background: var(--text);
    transition: all 0.3s var(--transition);
}

.close-line:nth-child(1) {
    transform: rotate(45deg);
}

.close-line:nth-child(2) {
    transform: rotate(-45deg);
}

/* Menu content */
.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    max-width: 300px;
    margin: 0 auto;
    width: 100%;
}

.mobile-nav-link {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text);
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: baseline;
    gap: 15px;
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.4s var(--transition);
}

.mobile-nav-link:hover {
    color: var(--accent);
}

.mobile-menu-overlay.active .mobile-nav-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-link::before {
    content: attr(data-section);
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--accent);
}

.mobile-nav-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-nav-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav-link:nth-child(4) { transition-delay: 0.2s; }
.mobile-nav-link:nth-child(5) { transition-delay: 0.25s; }
.mobile-nav-link:nth-child(6) { transition-delay: 0.3s; }
.mobile-nav-link:nth-child(7) { transition-delay: 0.35s; }

/* Menu footer */
.mobile-menu-footer {
    margin-top: auto;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 5px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s var(--transition);
    transition-delay: 0.4s;
}

.mobile-menu-overlay.active .mobile-menu-footer {
    opacity: 1;
    transform: translateY(0);
}

.menu-footer-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text);
    letter-spacing: -0.02em;
}

.menu-footer-accent {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
}

body.menu-open {
    overflow: hidden;
}

/* Mobile backdrop */
.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--transition);
}

.mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* ===== Gallery Filters ===== */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px auto 60px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.filter-btn {
    padding: 10px 25px;
    border: 1px solid var(--border);
    background: transparent;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s var(--transition);
    font-family: var(--font-body);
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--text);
}

.filter-btn.active {
    background: var(--text);
    border-color: var(--text);
    color: var(--bg);
}

.work-block[data-category] {
    transition: opacity 0.3s var(--transition), transform 0.3s var(--transition);
}

/* ===== Mobile Responsive Updates ===== */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex;
        right: 40px;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-location {
        display: none;
    }
    
    .gallery-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 18px;
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        right: 20px;
        width: 44px;
        height: 44px;
    }
    
    .mobile-menu-overlay {
        max-width: 100%;
        padding: 70px 30px 30px;
    }
    
    .mobile-nav-link {
        font-size: 1.6rem;
        padding: 10px 0;
    }
    
    .mobile-menu-close {
        width: 44px;
        height: 44px;
        top: 15px;
        right: 15px;
    }
}
