.vdms-team {
    background: #f5f6f8;
    color: #151b2b;
}

.team-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #151b2b;
    color: #fff;
}

.team-hero__media,
.team-hero__media img,
.team-hero__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.team-hero__media img {
    object-fit: cover;
    object-position: center 54%;
    filter: saturate(.82) contrast(1.04) brightness(.82);
    transform: scale(1.035);
    animation: teamHeroDrift 14s ease-in-out infinite alternate;
}

.team-hero__overlay {
    background:
        linear-gradient(180deg, rgba(18, 24, 39, .2) 0%, rgba(18, 24, 39, .46) 52%, rgba(18, 24, 39, .94) 100%),
        linear-gradient(90deg, rgba(18, 24, 39, .48) 0%, rgba(18, 24, 39, .05) 62%);
}

.team-hero__content {
    position: relative;
    z-index: 1;
    padding-top: 160px;
    padding-bottom: 64px;
}

.team-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, .68);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.team-eyebrow::before {
    content: "";
    width: 30px;
    height: 1px;
    background: currentColor;
}

.team-eyebrow--dark {
    color: #687087;
}

.team-hero h1 {
    max-width: 780px;
    margin: 0;
    color: #fff;
    font-size: clamp(46px, 7vw, 86px);
    line-height: .94;
    letter-spacing: -.055em;
}

.team-hero__content > p:last-child {
    max-width: 650px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .76);
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.75;
}

.team-directory {
    padding: 98px 0 110px;
}

.team-directory__intro {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: 80px;
    align-items: end;
}

.team-directory__intro h2 {
    max-width: 720px;
    margin: 0;
    color: #151b2b;
    font-size: clamp(34px, 4.6vw, 58px);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.team-directory__intro > p {
    margin: 0;
    color: #626a7c;
    font-size: 15px;
    line-height: 1.8;
}

.team-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 38px;
    margin-bottom: 30px;
}

.team-filter {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid #dce1e8;
    border-radius: 3px;
    background: #fff;
    color: #5a6272;
    cursor: pointer;
    font-size: 12px;
    font-weight: 650;
    transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease;
}

.team-filter:hover {
    transform: translateY(-1px);
    border-color: #aeb6c4;
    color: #151b2b;
}

.team-filter.is-active {
    background: #1f263a;
    border-color: #1f263a;
    color: #fff;
}

.team-filter__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--pole-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--pole-color) 16%, transparent);
}

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

.team-card {
    min-width: 0;
    opacity: 1;
    transform: translateY(0);
    transition: opacity .28s ease, transform .28s ease;
}

.team-card.is-filtering-out {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
}

.team-card[hidden] {
    display: none;
}

.team-card__button {
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e0e4ea;
    border-radius: 3px;
    background: #fff;
    color: inherit;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 12px 28px rgba(24, 31, 48, .055);
    transition: transform .28s cubic-bezier(.2, .75, .2, 1), border-color .28s ease, box-shadow .28s ease;
}

.team-card__button:hover,
.team-card__button:focus-visible {
    transform: translateY(-6px);
    border-color: color-mix(in srgb, var(--pole-color) 70%, #d4d8df);
    box-shadow: 0 22px 48px rgba(24, 31, 48, .11);
    outline: none;
}

.team-card__visual {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #20283d;
}

.team-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.2, .75, .2, 1), filter .5s ease;
}

.team-card__button:hover .team-card__visual img {
    transform: scale(1.035);
    filter: saturate(1.04) contrast(1.02);
}

.team-card__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .06), transparent 45%),
        #20283d;
}

.team-card__placeholder span {
    color: rgba(255, 255, 255, .82);
    font-size: clamp(42px, 6vw, 68px);
    font-weight: 700;
    letter-spacing: -.06em;
}

.team-card__accent {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--pole-color);
}

.team-card__content {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    padding: 24px 25px 22px;
}

.team-card__pole {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #7a8190;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.team-card__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--pole-color);
}

.team-card h3 {
    margin: 0;
    color: #171d2d;
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.team-card__content > p {
    margin: 8px 0 22px;
    color: #686f7f;
    font-size: 13px;
    line-height: 1.65;
}

.team-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: #394156;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.team-card__more i {
    font-size: 10px;
    transition: transform .2s ease;
}

.team-card__button:hover .team-card__more i {
    transform: translate(2px, -2px);
}

.team-empty {
    margin-top: 28px;
    padding: 48px 24px;
    border: 1px dashed #cfd4dc;
    color: #747c8c;
    text-align: center;
}

.team-empty i {
    margin-bottom: 12px;
    font-size: 24px;
}

.team-empty p {
    margin: 0;
}

.team-cta {
    padding: 82px 0;
    background: #171d2d;
    color: #fff;
}

.team-cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 70px;
    align-items: end;
}

.team-cta h2 {
    max-width: 650px;
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 4.5vw, 56px);
    line-height: 1.03;
    letter-spacing: -.045em;
}

.team-cta__inner > div:first-child > p:last-child {
    max-width: 690px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, .66);
    line-height: 1.75;
}

.team-cta__actions {
    display: flex;
    gap: 10px;
}

.team-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 2px;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .04em;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.team-button:hover {
    transform: translateY(-2px);
}

.team-button--light {
    background: #fff;
    border-color: #fff;
    color: #1f263a;
}

.team-button--outline {
    color: #fff;
}

.team-button--outline:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .5);
}

.team-modal {
    position: fixed;
    inset: 0;
    z-index: 1600;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .24s ease, visibility .24s ease;
}

.team-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.team-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 24, .78);
    backdrop-filter: blur(7px);
}

.team-modal__dialog {
    position: relative;
    width: min(880px, 100%);
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 34px 100px rgba(0, 0, 0, .32);
    transform: translateY(18px) scale(.985);
    transition: transform .28s cubic-bezier(.2, .75, .2, 1);
}

.team-modal.is-open .team-modal__dialog {
    transform: translateY(0) scale(1);
}

.team-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 50%;
    background: rgba(18, 24, 39, .62);
    color: #fff;
    cursor: pointer;
}

.team-modal__visual {
    min-height: 460px;
    display: grid;
    place-items: center;
    background: #20283d;
}

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

.team-modal__visual span {
    color: rgba(255, 255, 255, .86);
    font-size: 74px;
    font-weight: 700;
    letter-spacing: -.07em;
}

.team-modal__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 58px 52px;
}

.team-modal__pole {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: #6e7585;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.team-modal__pole::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--modal-pole-color, #295bff);
}

.team-modal h2 {
    margin: 0;
    color: #171d2d;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1;
    letter-spacing: -.05em;
}

.team-modal__role {
    margin: 14px 0 0;
    color: #424b60;
    font-size: 15px;
    font-weight: 650;
}

.team-modal__description {
    margin: 28px 0 0;
    padding-top: 26px;
    border-top: 1px solid #e2e5ea;
    color: #697080;
    line-height: 1.78;
}

.team-modal__socials {
    display: flex;
    gap: 9px;
    margin-top: 26px;
}

.team-modal__socials a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid #dfe3e9;
    border-radius: 2px;
    color: #3c4558;
    transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.team-modal__socials a:hover {
    transform: translateY(-2px);
    border-color: var(--modal-pole-color, #295bff);
    color: var(--modal-pole-color, #295bff);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s cubic-bezier(.2, .75, .2, 1), transform .7s cubic-bezier(.2, .75, .2, 1);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes teamHeroDrift {
    from { transform: scale(1.035) translate3d(0, 0, 0); }
    to { transform: scale(1.075) translate3d(0, -1.5%, 0); }
}

@media (max-width: 980px) {
    .team-hero {
        min-height: 470px;
    }

    .team-directory__intro {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-cta__inner {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .team-cta__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 700px) {
    .team-hero {
        min-height: 430px;
    }

    .team-hero__content {
        padding-top: 130px;
        padding-bottom: 44px;
    }

    .team-directory {
        padding: 72px 0 82px;
    }

    .team-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-right: -20px;
        padding-right: 20px;
        scrollbar-width: none;
    }

    .team-filters::-webkit-scrollbar {
        display: none;
    }

    .team-filter {
        flex: 0 0 auto;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .team-card__visual {
        aspect-ratio: 16 / 11;
    }

    .team-card__content {
        min-height: 170px;
    }

    .team-cta {
        padding: 66px 0;
    }

    .team-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .team-modal {
        padding: 14px;
        align-items: end;
    }

    .team-modal__dialog {
        max-height: 92vh;
        grid-template-columns: 1fr;
        overflow-y: auto;
    }

    .team-modal__visual {
        min-height: 290px;
        max-height: 42vh;
    }

    .team-modal__content {
        padding: 34px 26px 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .team-hero__media img {
        animation: none;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
