.team-page-shell {
    --team-page-border: rgba(15, 23, 42, 0.08);
    --team-page-copy: #3f3f46;
    --team-page-heading: #09090b;
    max-width: 1180px;
    margin: 0 auto;
    padding: 144px 8px 0px;
    position: relative;
    overflow: clip;
}

.team-page-footer .footer-bottom-container,
.team-page-footer .footer-container {
    margin: 0 !important;
}

.team-page-shell::before,
.team-page-shell::after {
    content: none;
}

.team-page-shell > * {
    position: relative;
    z-index: 1;
}

.team-motion-enabled [data-team-reveal] {
    opacity: 0;
    transform: translate3d(0, 36px, 0);
    filter: blur(6px);
    transition:
        opacity 0.78s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.78s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.78s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--team-reveal-delay, 0ms);
    will-change: transform, opacity, filter;
}

.team-motion-enabled [data-team-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
    padding-top: 30px;
}

.team-page-hero {
    position: relative;
    max-width: 760px;
    margin: 0 auto 52px;
    text-align: center;
    padding: 20px 0 8px;
}

.team-page-hero::before {
    content: none;
}

.team-page-kicker {
    margin: 0 0 14px;
    color: var(--theme-color);
    font-family: "SF Pro Display", "SF Pro Icons", "AOS Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.18em;
    line-height: 1.2;
}

.team-page-title {
    margin: 0;
    color: var(--team-page-heading);
    font-family: "SF Pro Display", "SF Pro Icons", "AOS Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 60px;
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 1;
}

.team-page-subtitle {
    max-width: 680px;
    margin: 18px auto 0;
    color: var(--team-page-copy);
    font-family: "SF Pro Text", "Myriad Set Pro", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
}

.team-page-subtitle-break {
    display: inline;
}

.team-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 220px;
    gap: 22px;
}

.team-card {
    --team-pointer-x: 50%;
    --team-pointer-y: 50%;
    position: relative;
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    height: 100%;
    min-height: 206px;
    padding: 22px 20px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 22px;
    background: #ffffff;
    overflow: hidden;
    transition:
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.28s ease;
    will-change: transform;
}

.team-card::before {
    content: none;
}

.team-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.24), rgba(255, 255, 255, 0));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.24s ease;
    pointer-events: none;
}

.team-card:hover,
.team-card:focus-within {
    transform: translateY(-4px);
    border-color: rgba(0, 113, 227, 0.2);
}

.team-card:hover::before,
.team-card:hover::after,
.team-card:focus-within::before,
.team-card:focus-within::after {
    opacity: 1;
}

.team-card.is-featured {
    /* border-color: rgba(0, 113, 227, 0.78); */
}

.team-card-avatar {
    position: relative;
    width: 124px;
    height: 124px;
    border-radius: 50%;
    overflow: hidden;
    background: #fbfbfb;
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.team-card-avatar-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card-content {
    min-width: 0;
}

.team-card-name {
    margin: 0;
    color: var(--team-page-heading);
    font-family: "SF Pro Display", "SF Pro Icons", "AOS Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.team-card-role {
    margin: 8px 0 12px;
    color: var(--theme-color);
    font-family: "SF Pro Text", "Myriad Set Pro", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
}

.team-card-flags {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 7px;
}

.team-card-flag {
    display: block;
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.team-page-cta {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    margin-top: 38px;
    padding: 22px 26px;
    border: 1px solid var(--team-page-border);
    border-radius: 28px;
    /* background: linear-gradient(135deg, rgba(246, 248, 252, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08); */
}

.team-page-cta-icon {
    width: 52px;
    height: 52px;
    color: var(--theme-color);
    flex-shrink: 0;
}

.team-page-cta-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.team-page-cta-title {
    margin: 0 0 6px;
    color: var(--team-page-heading);
    font-family: "SF Pro Display", "SF Pro Icons", "AOS Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.team-page-cta-text {
    max-width: 660px;
    margin: 0;
    color: var(--team-page-copy);
    font-family: "SF Pro Text", "Myriad Set Pro", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
}

.team-page-cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color-hover) 100%);
    color: #ffffff;
    font-family: "SF Pro Display", "SF Pro Icons", "AOS Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 18px 36px rgba(0, 113, 227, 0.22);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.team-page-cta-link:hover,
.team-page-cta-link:focus-visible {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(0, 113, 227, 0.26);
    filter: saturate(1.06);
    outline: none;
}

@media only screen and (max-width: 1230px) {
    .team-page-shell {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media only screen and (max-width: 1199.98px) {
    .team-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 206px;
    }
}

@media only screen and (max-width: 991.98px) {
    .team-page-shell {
        padding: 120px 20px 80px;
    }

    .team-page-grid {
        grid-auto-rows: 192px;
        gap: 18px;
    }

    .team-card {
        grid-template-columns: 108px minmax(0, 1fr);
        gap: 16px;
        min-height: 192px;
        padding: 18px;
    }

    .team-card-avatar {
        width: 108px;
        height: 108px;
    }

    .team-page-cta {
        grid-template-columns: 1fr;
        justify-items: start;
    }
}

@media only screen and (max-width: 767.98px) {
    .team-page-shell {
        padding: 104px 16px 64px;
    }

    .team-page-title {
        font-size: 44px;
        letter-spacing: -0.045em;
    }

    .team-page-subtitle {
        font-size: 15px;
    }

    .team-page-subtitle-break {
        display: none;
    }

    .team-page-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .team-card {
        grid-template-columns: 96px minmax(0, 1fr);
        min-height: auto;
        gap: 14px;
        padding: 16px 25px;
        border-radius: 20px;
    }

    .team-card-avatar {
        width: 96px;
        height: 96px;
    }

    .team-card-name {
        font-size: 18px;
    }

    .team-card-role {
        margin: 8px 0 12px;
    }

    .team-card-flag {
        width: 22px;
        height: 16px;
    }

    .team-page-cta {
        gap: 18px;
        padding: 20px 18px;
        border-radius: 24px;
    }

    .team-page-cta-icon {
        width: 48px;
        height: 48px;
    }

    .team-page-cta-link {
        min-width: 124px;
        min-height: 40px;
        padding: 10px 18px;
        border-radius: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .team-motion-enabled [data-team-reveal] {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }

    .team-page-hero::before,
    .team-card,
    .team-card::before,
    .team-card::after,
    .team-page-cta-link {
        transition: none;
    }
}
