#main > .container {
    position: relative;
}

#main > .container:first-child {
    max-width: 920px;
    padding-top: 7rem;
    padding-bottom: 4rem;
}

#main > .container:first-child h1 {
    max-width: 780px;
    margin-bottom: 1.5rem;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: .98;
    color: var(--color-text);
}

#main > .container:first-child h1::after {
    content: "";
    display: block;
    width: 5rem;
    height: 4px;
    margin-top: 1.5rem;
    background: var(--color-accent);
}

#main > .container:first-child h2 {
    margin-bottom: 1rem;
    color: var(--color-accent);
    font-size: clamp(1.4rem, 3vw, 2rem);
}

#main > .container:first-child p {
    max-width: 68ch;
    color: var(--color-text-muted);
    white-space: pre-line;
}

#main > .container:nth-child(n + 2):not(.about-members) {
    padding-top: 4rem;
    padding-bottom: 4rem;
    border-top: 1px solid rgba(148, 163, 184, .2);
}

#main > .container:nth-child(n + 2):not(.about-members) h2 {
    margin-bottom: 1.4rem;
    color: var(--color-text);
}

#main > .container:nth-child(n + 2):not(.about-members) > p {
    color: var(--color-text-muted);
}

.part {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .82fr);
    gap: clamp(2rem, 7vw, 6rem);
    align-items: center;
    margin-top: 1.5rem;
}

.part > img {
    width: 100%;
    height: min(420px, 42vw);
    min-height: 260px;
    object-fit: cover;
    border: 1px solid rgba(103, 232, 249, .3);
    border-radius: 4px 28px 4px 28px;
    box-shadow: 18px 18px 0 rgba(6, 182, 212, .1), 0 22px 45px rgba(0, 0, 0, .18);
    filter: saturate(1.08) contrast(1.03);
}

.part:nth-child(even) > img {
    border-radius: 28px 4px 28px 4px;
}

.part ul {
    list-style: none;
}

.part li {
    position: relative;
    margin-bottom: 1rem;
    padding: .8rem 1rem .8rem 2.5rem;
    color: var(--color-text-muted);
    border-left: 2px solid rgba(103, 232, 249, .3);
}

.part li::before {
    content: "";
    position: absolute;
    left: .95rem;
    top: 1.15rem;
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: var(--color-accent);
}

.part li strong {
    color: var(--color-text);
}

.about-members {
    padding-top: 5rem;
    padding-bottom: var(--section-padding);
}

.about-members > h2 {
    margin-bottom: .6rem;
    color: var(--color-text);
}

.about-members > h2::after {
    content: " / THE PEOPLE BEHIND THE WORK";
    color: var(--color-accent);
    font: 600 .75rem var(--font-body);
    letter-spacing: .14em;
}

.gen-tabs {
    margin-top: 1.5rem;
}

.gen-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.member-card {
    padding: 0 0 1.25rem;
    text-align: left;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 4px 20px 4px 4px;
    background: var(--color-surface);
}

.member-card__photo {
    width: 100%;
    height: 235px;
    aspect-ratio: 4 / 5;
    border-radius: 4px 20px 0 0;
    object-fit: cover;
    object-position: center top;
    cursor: zoom-in;
    background: var(--color-primary-dark);
    filter: saturate(.88);
    transition: transform .45s ease, filter .45s ease;
}

.member-card:hover .member-card__photo {
    transform: scale(1.025);
    filter: saturate(1.12) contrast(1.04);
}

.member-card h3,
.member-card .badge {
    margin-left: 1rem;
    margin-right: 1rem;
}

.member-card h3 {
    margin-top: 1rem;
    margin-bottom: .4rem;
    color: var(--color-text);
    font-size: 1.05rem;
}

.member-card .badge {
    background: transparent;
    color: var(--color-accent);
    padding: 0;
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

@media (max-width: 700px) {
    #main > .container:first-child {
        padding-top: 5rem;
    }

    .part {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .part > img {
        grid-row: 1;
        height: 60vw;
        max-height: 360px;
    }

    .part ul {
        grid-row: 2;
    }

    .gen-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .member-card__photo {
        height: 48vw;
        min-height: 165px;
    }
}

@media (max-width: 420px) {
    .gen-grid {
        grid-template-columns: 1fr;
    }

    .member-card__photo {
        height: 68vw;
    }
}