/* Team page */
.team-hero {
    padding: 8rem 0 3rem;
    text-align: center;
}

.team-hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.team-hero__subtitle {
    max-width: 60ch;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--gray-dark);
}

.team-intro {
    padding: 1rem 0 3rem;
}

.team-intro__text {
    max-width: 64ch;
    margin: 0 auto;
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray-dark);
}

.team-intro__text strong {
    color: var(--black);
    font-weight: 600;
}

.team-members {
    padding: 3rem 0 6rem;
    border-top: 1px solid var(--gray-medium);
}

.team-member {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2.5rem;
    max-width: 880px;
    margin: 0 auto;
    align-items: start;
}

.team-member + .team-member {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--gray-medium);
}

.team-member__photo {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    object-fit: cover;
}

.team-member__photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    border-radius: 12px;
    background-color: var(--orange);
    color: var(--white);
    font-size: 3.5rem;
    font-weight: 600;
}

.team-member__name {
    font-size: 1.625rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.team-member__role {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--orange);
    margin-bottom: 1.25rem;
}

.team-member__bio p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-dark);
    margin-bottom: 1rem;
}

.team-member__bio p:last-child {
    margin-bottom: 0;
}

.team-member__linkedin {
    display: inline-block;
    margin-top: 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--orange);
    transition: var(--transition);
}

.team-member__linkedin:hover {
    color: var(--orange-hover);
}

@media (max-width: 640px) {
    .team-member {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        justify-items: center;
        text-align: center;
    }

    .team-member__bio {
        text-align: left;
    }
}
