.team-profile-page {
    background: #f5f7f9;
    color: #182033;
}

.team-profile__container {
    max-width: 1320px;
}

.team-profile__hero {
    position: relative;
    overflow: hidden;
    padding: 34px 0 62px;
    background:
        radial-gradient(circle at 82% 20%, rgba(32, 187, 115, 0.2), transparent 28%),
        linear-gradient(135deg, #10182c 0%, #17213a 60%, #123b31 100%);
    border-bottom: 0;
}

.team-profile__hero::after {
    position: absolute;
    right: -90px;
    bottom: -170px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    content: "";
}

.team-profile__back {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: #bfc7d5;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}

.team-profile__back:hover {
    color: #64dda4;
}

.team-profile__hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 300px minmax(0, 720px);
    align-items: center;
    gap: 64px;
}

.team-profile__portrait {
    width: 300px;
    height: 300px;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    background: #eef1f4;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.team-profile__portrait img {
    display: block;
    width: 100%;
    height: 100% !important;
    aspect-ratio: auto;
    object-fit: cover;
}

.team-profile__intro > span,
.team-profile__cta span {
    color: #64dda4;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.team-profile__intro h1 {
    margin: 8px 0 5px;
    color: #fff;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.team-profile__role {
    margin: 0;
    color: #56d99a;
    font-size: 20px;
    font-weight: 700;
}

.team-profile__lead {
    max-width: 610px;
    margin: 22px 0;
    color: #c3cad6;
    font-size: 17px;
    line-height: 1.75;
}

.team-profile__areas {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.team-profile__areas span {
    padding: 8px 12px;
    border: 1px solid rgba(100, 221, 164, 0.2);
    border-radius: 999px;
    background: rgba(32, 187, 115, 0.12);
    color: #82e7b6;
    font-size: 12px;
    font-weight: 700;
}

.team-profile__content {
    padding: 68px 0 76px;
}

.team-profile__questions {
    display: grid;
    gap: 18px;
    max-width: 1040px;
    margin: 0 auto;
}

.team-profile__questions article {
    padding: 32px 36px;
    border: 1px solid #e0e5eb;
    border-radius: 15px;
    background: #fff;
}

.team-profile__questions h2 {
    margin: 0 0 13px;
    color: #182033;
    font-size: 22px;
    font-weight: 750;
    letter-spacing: -0.02em;
}

.team-profile__questions p {
    margin: 0;
    color: #657185;
    font-size: 16px;
    line-height: 1.75;
}

.team-profile__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 30px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1040px;
    padding: 32px 36px;
    border-radius: 15px;
    background: #182033;
}

.team-profile__cta h2 {
    margin: 6px 0 0;
    color: #fff;
    font-size: 24px;
}

.team-profile__cta a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    padding: 13px 19px;
    border-radius: 9px;
    background: #20bb73;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.team-profile__cta a:hover {
    background: #159c5e;
}

@media (max-width: 991.98px) {
    .team-profile__hero-grid {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 38px;
    }

    .team-profile__portrait {
        width: 260px;
        height: 260px;
    }
}

@media (max-width: 767.98px) {
    .team-profile__hero {
        padding: 24px 0 45px;
    }

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

    .team-profile__portrait {
        width: min(100%, 300px);
        height: min(82vw, 300px);
    }

    .team-profile__intro h1 {
        font-size: 40px;
    }

    .team-profile__content {
        padding: 38px 0 52px;
    }

    .team-profile__questions article {
        padding: 24px 20px;
    }

    .team-profile__questions h2 {
        font-size: 19px;
    }

    .team-profile__cta {
        align-items: flex-start;
        flex-direction: column;
        padding: 26px 22px;
    }
}
