/* Profile split: portrait left, copy right (50/50).
    New component — move into gp-foundation.css when this becomes a widget. */
.profile-split {
    display: flex;
    min-height: 100vh;
    background-image: linear-gradient(160deg, var(--orange) 0%, var(--orange) 15%, var(--moccasin) 100%);
}

.profile-split__media {
    flex: 0 0 50%;
    position: relative;
}

.profile-split__media-inner {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.profile-split__image {
    object-fit: cover;
    object-position: 50% 15%;
    width: 100%;
    height: 100%;
    display: block;
}

/* keeps the white logo legible over the light photo background */
.profile-split__media-inner::after {
    content: "";
    background-image: linear-gradient(180deg, #14141459, #14141400);
    height: 200px;
    position: absolute;
    inset: 0 0 auto;
    pointer-events: none;
}

.profile-split__content {
    flex: 0 0 50%;
    flex-direction: column;
    justify-content: center;
    padding: 160px 60px 120px;
    display: flex;
}

.profile-split__inner {
    border-left: 1px solid #ffffff99;
    max-width: 590px;
    padding-left: 40px;
}

.profile-split__heading {
    color: #fff;
    font-family: Gt super display, sans-serif;
    font-size: 50px;
    font-weight: 300;
    line-height: 55px;
    margin: 0;
}

.profile-split__role {
    color: var(--purple);
    font-style: italic;
}

.profile-split__intro {
    font-family: Gt super display, sans-serif;
    font-size: 24px;
    font-weight: 300;
    line-height: 32px;
    margin: 0;
}

.profile-split__body p {
    font-size: 16px;
    line-height: 26px;
    margin: 0 0 20px;
}

.profile-split__body p:last-child {
    margin-bottom: 0;
}

.profile-split__quote {
    border-top: 1px solid #6f0d3733;
    margin: 0;
    padding-top: 30px;
}

.profile-split__quote-label {
    letter-spacing: 2px;
    text-transform: uppercase;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    display: flex;
}

.profile-split__quote-label::before {
    content: "";
    background-color: var(--purple);
    width: 30px;
    height: 1px;
    margin-right: 15px;
}

.profile-split__quote blockquote {
    border-left: 0;
    margin: 20px 0 0;
    padding: 0;
    font-family: Gt super display, sans-serif;
    font-size: 28px;
    font-style: italic;
    font-weight: 300;
    line-height: 36px;
}

/* external link, styled like the motto label */
.profile-split__link {
    color: inherit;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    display: inline-flex;
}

.profile-split__link::before {
    content: "";
    background-color: var(--purple);
    width: 30px;
    height: 1px;
    margin-right: 15px;
    transition: width .2s;
}

.profile-split__link:hover::before {
    width: 45px;
}

.profile-split__link svg {
    width: 9px;
    height: 9px;
    margin-left: 8px;
    transition: transform .2s;
}

.profile-split__link:hover svg {
    transform: translate(2px, -2px);
}

@media screen and (max-width: 991px) {
    .profile-split {
    flex-direction: column;
    min-height: 0;
    }

    /* portrait drops below the nav so the logo sits on the orange, as on the home hero */
    .profile-split__media {
    padding: 140px 60px 0;
    }

    .profile-split__media-inner {
    position: relative;
    aspect-ratio: 4 / 5;
    max-height: 80vh;
    margin-left: auto;
    margin-right: auto;
    }

    .profile-split__media-inner::after {
    display: none;
    }

    .profile-split__content {
    padding: 60px 60px 90px;
    }

    .profile-split__inner {
    border-left-style: none;
    max-width: none;
    padding-left: 0;
    }

    .profile-split__heading {
    font-size: 45px;
    line-height: 50px;
    }
}

@media screen and (max-width: 767px) {
    .profile-split__media {
    padding-left: 30px;
    padding-right: 30px;
    }

    .profile-split__content {
    padding-left: 30px;
    padding-right: 30px;
    }

    .profile-split__heading {
    font-size: 38px;
    line-height: 44px;
    }

    .profile-split__intro {
    font-size: 21px;
    line-height: 28px;
    }

    .profile-split__quote blockquote {
    font-size: 23px;
    line-height: 30px;
    }
}
