.team-page {
    min-height: calc(100vh - 220px);
    padding: 3rem 1.25rem 4rem;
    background: linear-gradient(165deg, #edf2f8 0%, #d6deea 100%);
}

.team-shell {
    width: min(1080px, 100%);
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #d7deeb;
    border-radius: 18px;
    padding: clamp(1.5rem, 3vw, 2.75rem);
    box-shadow: 0 22px 46px rgba(17, 30, 50, 0.14);
}

.team-shell .eyebrow {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #627596;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.team-shell h1 {
    font-size: clamp(2rem, 5vw, 3.1rem);
    color: #0f1b33;
    margin-bottom: 0.75rem;
}

.team-shell .lead {
    max-width: 72ch;
    color: #445671;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.team-card {
    border: 1px solid #dbe2ef;
    border-radius: 14px;
    padding: 1.15rem;
    background: #f9fbff;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.team-card h2 {
    font-size: 1.08rem;
    margin-bottom: 0;
    color: #1a2d4f;
}

.team-role {
    margin-bottom: 0;
    font-size: 0.86rem;
    letter-spacing: 0.02em;
    font-weight: 700;
    color: #5a6f91;
}

.team-card p {
    color: #4d617f;
    line-height: 1.65;
    margin-bottom: 0;
}

.team-image-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #d1dbeb;
    background: #e8eef7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
}

.team-image {
    width: min(180px, 100%);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 999px;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 18px rgba(17, 30, 50, 0.18);
}

.team-linkedin {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.86rem;
    color: #ffffff;
    background: #0a66c2;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.team-linkedin:hover {
    background: #07529b;
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}
