.about-page-hero {
    padding: 72px 0;
}

.about-page-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 56px;
    align-items: center;
}

.about-page-hero__grid--text-only {
    grid-template-columns: minmax(0, 850px);
}

.about-page-hero__content h1 {
    max-width: 760px;
}

.about-page-hero__content > p:not(.eyebrow) {
    max-width: 680px;
    margin: 18px 0 0;
    font-size: 18px;
    line-height: 1.7;
}

.about-trust-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 26px;
    margin-top: 24px;
}

.about-trust-highlights > span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #102342;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.about-trust-highlights__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 10px;
    background: #eaf5fd;
    color: #1687d9;
}

.about-trust-highlights__icon svg {
    display: block;
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.about-page-hero__media {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 18px;
    background: #eaf2fa;
    box-shadow: 0 12px 28px rgba(6, 39, 107, .1);
}

.about-page-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-value-card {
    min-height: 260px;
    height: auto;
    padding: 28px 28px 30px;
    border: 1px solid #dce6f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 45, 85, .04);
    transition: transform .25s ease, box-shadow .25s ease;
}

.about-value-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(15, 45, 85, .08);
}

.about-value-card__icon {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 12px;
    background: #eaf5ff;
    color: #1687d9;
}

.about-value-card__icon svg {
    width: 22px;
    height: 22px;
}

.about-value-card h3 {
    margin: 0 0 10px;
    color: #102342;
    font-size: 20px;
    line-height: 1.3;
}

.about-value-card p {
    width: 100%;
    max-width: none;
    margin: 0;
    color: #58677d;
    font-size: 16px;
    line-height: 1.65;
}

.about-story {
    max-width: none;
}

.about-story__description {
    width: 100%;
    max-width: 1250px;
    margin: 14px 0 0;
    color: #58677d;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
}

.about-value-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 20px;
    align-items: stretch;
}

.about-value-grid .about-value-card {
    height: 100%;
}

.about-value-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1100px) {
    .about-value-grid,
    .about-value-grid--three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .about-page-hero {
        padding: 56px 0;
    }

    .about-page-hero__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .about-page-hero__content > p:not(.eyebrow) {
        font-size: 16px;
    }

}

@media (max-width: 640px) {
    .about-value-grid,
    .about-value-grid--three {
        grid-template-columns: 1fr;
    }

    .about-value-card {
        min-height: 0;
        padding: 24px;
    }
}

@media (max-width: 520px) {
    .about-page-hero {
        padding: 46px 0;
    }

    .about-page-hero__media {
        border-radius: 14px;
    }
}

#team .team-card__photo img {
    transition: transform 650ms cubic-bezier(.22, 1, .36, 1);
}

#team .team-card:hover .team-card__photo img {
    transform: scale(1.025);
}

@media (max-width: 767px) {
    #team .team-card__photo {
        width: 100%;
        height: clamp(390px, 105vw, 430px);
        aspect-ratio: auto;
        overflow: hidden;
    }

    #team .team-card__photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

    #team .team-card__body {
        padding-top: 20px;
    }
}
