/* ───────── Team / "Who we are" ───────── */

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.team-person {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s var(--ease);
}

.team-person:hover {
    border-color: rgba(180, 124, 253, 0.25);
    transform: translateY(-2px);
}

.team-portrait,
.team-face {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #3B1D6E 0%, #0A0118 100%);
}

.team-portrait {
    aspect-ratio: 4 / 5;
    max-height: 520px;
}

.team-portrait img,
.team-face img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

/* Per-photo crop tuning: the default keeps the face in the top third; add
   a modifier here (and set Person.Focus) when a portrait needs it elsewhere. */
.team-portrait--focus-low img {
    object-position: center 68%;
}

.team-portrait--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-portrait--placeholder span {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: var(--gradient-cta);
    color: #1A0530;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
}

.team-person-body {
    padding: 24px 28px 28px;
}

.team-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.35rem;
    letter-spacing: -0.01em;
    color: #fff;
    margin: 0 0 4px;
}

.team-role {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-purple);
    margin-bottom: 12px;
}

.team-bio {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.team-network {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 32px;
    align-items: center;
    margin-top: 24px;
    padding: 28px 32px;
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
    background: var(--glass-bg);
}

.team-network h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem;
    color: #fff;
    margin: 0 0 8px;
}

.team-network p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.team-pills {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.team-pill {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 7px 13px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    color: #fff;
}

/* Home page teaser */
.team-teaser {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 36px;
    align-items: center;
    padding: 28px 32px;
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
    background: var(--glass-bg);
}

.team-teaser-faces {
    display: flex;
}

.team-face {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #0F0520;
    flex: 0 0 auto;
}

.team-face + .team-face {
    margin-left: -28px;
}

.team-face.team-portrait--placeholder span {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    font-size: 1.6rem;
    box-shadow: none;
}

.team-teaser .section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 10px 0 12px;
}

.team-teaser .section-sub {
    margin-bottom: 18px;
}

@media (max-width: 980px) {
    .team-network {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

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

    .team-portrait {
        max-height: 420px;
    }

    .team-teaser {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px;
    }

    .team-face {
        width: 88px;
        height: 88px;
    }

    .team-face + .team-face {
        margin-left: -20px;
    }
}
