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

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0a;
    color: #f5f5f5;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}


/* Film grain texture for premium feel */
.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    z-index: 1000;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Hero section */
.hero {
    text-align: center;
    padding: 120px 40px 100px;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.artist-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: #ffffff;
}

.hero-divider {
    width: 60px;
    height: 1px;
    background: #ffffff;
    margin: 0 auto 20px;
    opacity: 0.3;
}

.artist-statement {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 300;
    line-height: 1.8;
    color: #888;
    letter-spacing: 0.02em;
}

/* Gallery */
.gallery {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 140px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 60px;
    position: relative;
    z-index: 1;
}

.video-frame {
    position: relative;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
    animation-delay: calc(var(--index) * 0.05s);
}

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

.video-content {
    position: relative;
}

.artwork-number {
    display: none;
}

.video-wrapper {
    position: relative;
    width: 100%;
    background: transparent;
    overflow: visible;
}

.video-wrapper iframe {
    display: block;
}

/* Skeleton loader */
.skeleton-loader {
    width: 100%;
    height: 700px;
    background: linear-gradient(90deg, #1a1a1a 25%, #222 50%, #1a1a1a 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.loading {
    grid-column: 1 / -1;
    text-align: center;
    color: #999;
    font-size: 0.85rem;
    padding: 100px 20px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 300;
}

/* Footer */
.footer {
    text-align: center;
    padding: 80px 40px 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 12px;
}

.contact-link {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: #f5f5f5;
    text-decoration: none;
    border-bottom: 1px solid rgba(245, 245, 245, 0.3);
    transition: border-color 0.3s ease;
    padding-bottom: 2px;
}

.contact-link:hover {
    border-bottom-color: #f5f5f5;
}

/* Responsive */
@media (max-width: 1200px) {
    .gallery {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 0 30px 100px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 20px 60px;
    }

    .gallery {
        gap: 50px;
        padding: 0 20px 80px;
    }

    .artist-name {
        font-size: 2.5rem;
    }

    .artist-statement {
        font-size: 0.95rem;
    }

    .contact-link {
        font-size: 1.25rem;
    }
}
