/* =========================
   PND Creative Team Page
   ========================= */

.team-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}


/* Logo */

.team-logo {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.team-logo img {
    width: min(320px, 75vw);
    height: auto;
}


/* Team grid */

.team {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 1rem;
}


/* Individual artists */

.member {
    text-align: center;
}


.member a {
    display: block;
    overflow: hidden;
}


.member img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;

    transition: transform 0.5s ease, filter 0.5s ease;
}


/* subtle artistic hover */

.member:hover img {
    transform: scale(1.03);
    filter: brightness(0.92);
}


.member h3 {
    margin-top: 1.5rem;
    margin-bottom: 0;

    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.03em;
}


/* Activity section */

.activity {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;

    padding-top: 1rem;
}


.activity h2 {
    text-align: center;

    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    margin-bottom: 3rem;
}


.activity p {
    font-size: 1.15rem;
    line-height: 2;
    font-weight: 300;
}


/* A subtle divider */

.activity::before {
    content: "";
    display: block;

    width: 80px;
    height: 1px;

    margin: 0 auto 4rem;
}


/* Responsive */

@media (max-width: 900px) {

    .team {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

}


@media (max-width: 550px) {

    .team-page {
        padding: 2rem 1rem;
    }

    .team {
        grid-template-columns: 1fr;
    }

    .activity h2 {
        font-size: 1.6rem;
    }

}

/* ---------- Modal ---------- */

.member-modal {

    position: fixed;
    inset: 0;

    display: none;

    justify-content: center;
    align-items: center;

    background: rgba(0, 0, 0, .8);
    backdrop-filter: blur(8px);

    z-index: 9999;

    padding: 2rem;

}


.member-modal.open {

    display: flex;

}


.member-modal-content {

    background: rgb(63, 49, 49);

    max-width: 900px;
    width: 100%;

    display: grid;
    grid-template-columns: 350px 1fr;

    gap: 2rem;

    padding: 2rem;

    position: relative;

    border-radius: 6px;

}


#modal-image {

    width: 100%;
    display: block;

}


#modal-name {

    margin-top: 0;

    font-size: 2rem;

}


#modal-bio {

    line-height: 1.8;

}


#modal-close {

    position: absolute;

    right: 20px;
    top: 20px;

    background: none;
    border: none;

    font-size: 2rem;

    cursor: pointer;

}

.statute-content {
    display: block;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;

    /* background: rgb(52, 49, 63); */
    padding: 2rem;
    position: relative;
    border-radius: 6px;
}

.statute-content h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 2rem;
}

.statute-text {
    line-height: 1.8;
}

.statute-text p {
    margin: 0 0 1rem;
}

.statute-text h3 {
    text-align: center;
    margin: 2rem 0 1rem;
}

#statute-close {
    position: absolute;
    top: 15px;
    right: 20px;

    background: none;
    border: none;

    font-size: 2rem;
    cursor: pointer;
}

.statute-text ol {
    list-style: decimal;
    margin: 1rem 0 1rem 2rem;
    padding-left: 1.5rem;
}

.statute-text li {
    display: list-item;
    margin-bottom: 0.2rem;
}