.homepage-about {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 16px;
}

.homepage-about h2 {
    margin: 0;
    color: #0F263B;
    font-family: "Nunito Sans", "Segoe UI", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
}

.homepage-about-card {
    position: relative;
    display: grid;
    grid-template-columns: 500px minmax(0, 1fr);
    align-items: center;
    justify-content: start;
    gap: 16px;
    min-height: 512px;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.homepage-about-card--text-only {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
}

.homepage-about-card__media {
    min-height: 320px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    align-self: end;
    overflow: visible;
}

@media (min-width: 821px) {
    .homepage-about-card__media {
        transform: scale(.90);
        transform-origin: right center;
    }
}

.homepage-about-card__media-stage {
    position: relative;
    width: 507px;
    height: 553px;
    flex: 0 0 auto;
    margin-bottom: -108px;
    clip-path: inset(0 -10% 108px 0);
    z-index: 1;
}

.homepage-about-card__orb {
    position: absolute;
    left: -14%;
    top: -10%;
    width: 68%;
    height: auto;
    display: block;
    pointer-events: none;
    z-index: 0;
}

.homepage-about-card__orb--secondary {
    left: -11%;
    top: 15%;
    width: 74.1%;
    z-index: 2;
}

.homepage-about-card__orb--tertiary {
    left: 75%;
    bottom: 0;
    top: auto;
    width: 38.8%;
    z-index: 0;
}

.homepage-about-card__image-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 50%;
    z-index: 1;
}

.homepage-about-card__image {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: 50% 42%;
    display: block;
}

.homepage-about-card__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding: 0 40px;
    width: 100%;
    max-width: none;
    z-index: 3;
}

.homepage-about-card--text-only .homepage-about-card__content {
    padding: 0;
}

.homepage-about-card__copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.homepage-about-card__copy p {
    margin: 0;
    color: #0F263B;
    font-size: 16px;
    line-height: 150%;
}

.homepage-about-card__copy-lead {
    color: #0F263B;
    font-weight: 600;
}

.homepage-about-card__button {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 6px 24px;
    border-radius: 32px;
    background: #004488;
    color: #FBFBFB;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
}

.homepage-about-card__button:hover {
    background: #0F263B;
    color: #FBFBFB;
    text-decoration: none;
}

.homepage-about-card__button:focus-visible {
    outline: 3px solid #F5E188;
    outline-offset: 3px;
}

.homepage-about-card__button img {
    width: 13.5px;
    height: 13.5px;
    flex: 0 0 13.5px;
}

@media (max-width: 1200px) {
    .homepage-about-card {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .homepage-about-card__media {
        min-height: 0;
    }

    .homepage-about-card__media-stage {
        width: 100%;
        height: auto;
        aspect-ratio: 507.755 / 553.039;
        margin-bottom: -108px;
    }
}

@media (max-width: 900px) {
    .homepage-about-card__content {
        padding: 0;
    }
}
