/**
 * Budgeted /team/ — founder + staff cards.
 */
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.team-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: var(--shadow);
}

.team-card-featured {
    max-width: 48rem;
    margin: 0 auto;
    gap: 1.25rem;
    padding: 1.4rem;
}

.team-avatar {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.team-card-featured .team-avatar {
    width: 80px;
    height: 80px;
    font-size: 1.4rem;
}

.team-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
}

.team-role {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.team-card h3 {
    margin: 0 0 0.2rem;
    font-size: 1.25rem;
}

.team-title {
    margin: 0 0 0.65rem;
    color: var(--text-muted);
    font-weight: 650;
}

.team-card p {
    color: var(--text-soft);
    margin: 0 0 0.65rem;
}

.team-card .muted {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .team-card-featured {
        grid-template-columns: auto 1fr;
        padding: 1.75rem;
    }
}
