/* Wonder Mosaic — Clean rebuild */

:root {
    --color-bg: #fafafa;
    --color-text: #1a1a1a;
    --color-muted: #666;
    --color-accent: #e85d04;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #eee;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
}

.main-nav a {
    margin-left: 24px;
    color: var(--color-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

/* Hero */
.hero {
    padding: 80px 0 60px;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.tagline {
    color: var(--color-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Piece Details */
.piece-details {
    padding: 60px 0;
    background: #fff;
}

.piece-details h2 {
    font-size: 2rem;
    margin-bottom: 32px;
}

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

.stat {
    text-align: center;
    padding: 16px 12px;
    background: #f5f5f5;
    border-radius: 8px;
}

.stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-muted);
}

.piece-description {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    color: var(--color-muted);
}

/* Credits */
.credits {
    padding: 40px 0;
    background: #f9f9f9;
}

.credits h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.credit-list {
    list-style: none;
    max-width: 600px;
}

.credit-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    color: var(--color-muted);
}

/* Video */
.video-section {
    padding: 60px 0;
    background: #fff;
}

.video-section h2 {
    font-size: 2rem;
    margin-bottom: 32px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 56.25%; /* 16:9 */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* About */
.about-section {
    padding: 60px 0;
    background: #f9f9f9;
}

.about-inner {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

/* Footer */
.site-footer {
    padding: 32px 0;
    background: #fff;
    text-align: center;
    border-top: 1px solid #eee;
}

.footer-inner p {
    color: var(--color-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .about-inner {
        grid-template-columns: 1fr;
    }
}

/* Process & Gallery Sections */
.process-section,
.gallery-section {
    padding: 60px 0;
}

.process-section {
    background: #f9f9f9;
}

.gallery-section {
    background: #fff;
}

.gallery-section h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.gallery-intro {
    color: var(--color-muted);
    margin-bottom: 32px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.caption-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 12px;
    font-size: 0.85rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .caption-overlay {
    transform: translateY(0);
}