.team {
    padding: var(--section-pad) 0;
}

.team__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--grid-gap);
}

.team-card {
    text-align: center;
}

.team-card__avatar {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--off-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1.25rem;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--gray-300);
    position: relative;
}
.team-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.team-card__name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 0.2rem;
}

.team-card__role {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.team-card__bio {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .team__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .team__grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
}
