:root {
    --black: #101317;
    --bg: #f4f5f6;
    --muted: #606873;
}

#team_page {
    color: var(--black);
    background: var(--bg);
}
.h-eyebrow {
    margin-bottom: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: .7rem;
    color: var(--orange);
    font-weight: 600;
}
.underline-lg {
    max-width: 1220px;
    width: calc(100% - 50px);
    margin: 0 auto;
    border-top: 1px solid #d4d6da;
}

#team_hero {
    padding: 66px 24px 56px;
    text-align: center;
    background: linear-gradient(110deg, #171d22, #101215);
    color: white;
    border-top: 5px solid var(--orange);
}
#team_hero p {
    color: #c8cbd0;
    line-height: 1.45;
    font-size: .95rem;
    margin-top: 20px;
}

.team-section {
    padding: 85px 5%;
}
.team-wrapper {
    max-width: 1220px;
    width: 100%;
    margin: 0 auto;
}

.team-wrapper-heading {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 35px;
}
.team-wrapper-heading h2 {
    font-size: 1.65rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: -.8px;
}
.team-wrapper-heading .team-count {
    font-size: .8rem;
    color: var(--muted);
    font-weight: 800;
    margin-left: 2px;
    text-transform: uppercase;
}
.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}
.team-card {
    width: calc(25% - (66px / 4));
    margin-block: 10px;
    background-color: white;
    border: 1px solid #e3e5e7;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 3px 18px #15151508;
}
.team-portrait {
    aspect-ratio: .87;
    overflow: hidden;
}
.team-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    display: block
}
.team-info {
    padding: 35px 25px;
    border-top: 4px solid var(--orange);
}
.team-info h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 7px;
    letter-spacing: -.3px;
}
.team-info p {
    margin: 0;
    color: #626a73;
    line-height: 1.4;
    font-size: .8rem;
}

.team-wrapper-founder .team-card {
    padding: 25px;
    margin-inline: auto;
    max-width: 570px;
    width: 100%;
    text-align: center;
}
.team-wrapper-founder .team-portrait {
    aspect-ratio: initial;
}
.team-wrapper-founder .team-portrait img {
    max-width: 430px;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
    margin-inline: auto;
}
.team-wrapper-founder .team-info {
    border-top: none;
}
.team-wrapper-founder .team-info .h-eyebrow {
    color: var(--light-blue);
}
.team-wrapper-founder .team-info h3 {
    font-size: 1.1rem;
}
.team-wrapper-founder .team-info p {
    font-size: .9rem;
}

@media (max-width: 1024px) {
    .team-card {
        width: calc(33.3333333333% - (44px / 3));
    }
}

@media (max-width: 768px) {
    .team-card {
        width: calc(50% - (22px / 2));
    }
}

@media (max-width: 480px) {
    .team-section {
        padding-inline: 25px;
    }
    .team-wrapper-heading {
        flex-direction: column;
    }
    .team-card {
        max-width: 380px;
        width: 100%;
        margin-inline: auto;
    }
}