@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");

:root {
    --bg-color: #262626;
    --text-color: #ffffff;
    --font-main: 'SUIT Variable', sans-serif;
}

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

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

.section {
    padding: 60px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #fff;
}

.section-desc {
    font-size: 16px;
    margin-bottom: 16px;
    color: #eee;
}

/* Intro Section */
.intro-section {
    text-align: center;
    padding-top: 100px;
}

.project-main-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin-bottom: 40px;
    border-radius: 12px;
}

.project-title {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 10px;
}

.project-year {
    font-size: 20px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.project-desc {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Draft Section */
.draft-section .grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.draft-section img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Character Section (Keung & Pong) */
.character-section .content-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.character-section .content-row.reverse {
    flex-direction: row-reverse;
}

.character-section .image-col {
    flex: 1;
}

.character-section .image-col img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.character-section .text-col {
    flex: 1;
}

.character-section .text-col p {
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.8;
}

/* Merch Section */
.merch-section .full-width-image {
    width: 100%;
    height: auto;
    margin-top: 40px;
    border-radius: 8px;
}

/* Mockup Section */
.mockup-grid {
    display: flex;
    /* Using flex instead of grid for complex nested layout */
    gap: 20px;
    width: 100%;
    height: auto;
    /* Let content dictate height, or fix aspect ratio if critical */
}

/* Left side: Poster */
.mockup-left {
    flex: 1;
    /* Takes roughly half width */
}

.mockup-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Right side: Business Card (top) + Sign (bottom) */
.mockup-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Distribute space to match poster height if possible */
    gap: 20px;
}

.mockup-right img {
    width: 100%;
    height: calc(50% - 10px);
    /* Split height minus gap */
    object-fit: cover;
    border-radius: 8px;
}


/* Other Painting Section */
.painting-grid {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.painting-grid img {
    /* flex: 1; Removed to allow natural sizing based on matched height assets */
    flex: 0 1 auto;
    /* Allow shrinking if container is too small */
    width: auto;
    height: auto;
    /* Use natural height from matched assets */
    max-width: 100%;
    /* Prevent single image from overflowing */
    border-radius: 8px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
    }

    .project-title {
        font-size: 28px;
    }

    /* Stack Grids */
    .draft-section .grid-3-col {
        grid-template-columns: 1fr;
    }

    .character-section .content-row,
    .character-section .content-row.reverse {
        flex-direction: column;
    }

    .painting-grid {
        flex-direction: column;
    }

    /* Mockup Grid Mobile - Stack vertically */
    .mockup-grid {
        flex-direction: column;
    }

    .mockup-left img,
    .mockup-right img {
        height: auto;
        /* Allow natural height on mobile */
    }
}