/* ===== MSA PAGE STYLES ===== */

body.project-page {
    font-family: "Inter", sans-serif;
    background-color: #ffffff;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

/* ----- Navigation ----- */


/* ----- Page container ----- */
.msa-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 120px;
}

/* ----- Artist Note + Hero video side-by-side ----- */
.msa-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 100px;
    flex-wrap: wrap;
}

.msa-hero h1 {
    width: 100%;
    text-align: center;
    font-weight: 400;
    margin-bottom: 30px;
    color: #ffffff;
}

.msa-description {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.msa-description h2 {
    font-weight: 400;
    margin-bottom: 15px;
    color: #ffffff;
}

.msa-description p {
    line-height: 1.8;
    font-size: 1.05rem;
    color: #ffffff;
}

.video-wrapper {
    flex: 1;
    min-width: 320px;
    max-width: 600px;
    box-shadow: 0 20px 40px rgba(248, 247, 247, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.video-wrapper video {
    width: 100%;
    display: block;
}

/* ----- Generic section styling ----- */
.msa-gallery {
    margin-bottom: 100px;
}

.msa-gallery h3 {
    font-weight: 400;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

/* ----- 2x2 Image Grid (Characters & Backgrounds) ----- */
.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.image-grid img:hover {
    transform: scale(1.03);
}

/* ----- Animatic + Final Video Side-by-side ----- */
.msa-duo-videos {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 120px;
}

.msa-duo-videos .video-block {
    flex: 1;
    min-width: 300px;
    max-width: 550px;
    text-align: center;
}

.video-block h1 {
    font-weight: 400;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .msa-hero,
    .msa-duo-videos {
        flex-direction: column;
        align-items: center;
    }

    .msa-description {
        max-width: 90%;
    }
}
.msa-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 200px 20px 120px;
}
/* clickable images */
.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.image-grid img:hover {
    transform: scale(1.02);
}

/* Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.image-modal.active {
    display: flex;
}

.image-modal-content {
    max-width: 80vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    line-height: 1;
}
