/* ── Team page styles ─────────────────────────────────── */

.team-hero {
    padding: 160px 0 60px;
    text-align: center;
    background: var(--bg-white);
}

.team-hero .section-label {
    margin-bottom: 12px;
}

.team-hero .section-title {
    margin-bottom: 16px;
}

.team-tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.65;
}

.team-section {
    padding-top: 40px;
    padding-bottom: 48px;
}

/* ── Team grid ────────────────────────────────────────── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 1060px;
    margin: 0 auto;
    justify-items: center;
}

a.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    gap: 16px;
}

a.team-member .team-photo-placeholder {
    width: 320px;
    height: 320px;
    max-width: 100%;
    border-radius: 26px;
    background: var(--bg-elevated);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.2s, box-shadow 0.2s;
    aspect-ratio: 1;
}

a.team-member:hover .team-photo-placeholder {
    opacity: 0.85;
    box-shadow: var(--shadow-md);
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

a.team-member h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
    margin: 0;
}

.team-role-label {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* ── Backed-by strip ──────────────────────────────────── */
.backed-strip {
    padding: 32px 0 48px;
    background: var(--bg-white);
}

.backed-strip .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.backed-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.backed-logos {
    display: flex;
    align-items: center;
    gap: 12px;
}

.backed-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--border-hover);
}

a.backed-logo {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

a.backed-logo:hover {
    color: var(--text);
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 768px) {
    .team-hero {
        padding: 130px 0 40px;
    }

    .team-section .container {
        display: flex;
        justify-content: center;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        max-width: 100%;
        justify-items: center;
    }

    a.team-member .team-photo-placeholder {
        width: 75vw;
        height: 75vw;
        max-width: 320px;
        max-height: 320px;
    }

    .backed-strip .container {
        flex-direction: column;
        gap: 8px;
    }
}
