/* =========================================
REUSABLE INNER PAGE HERO
========================================= */

.inner-page-hero {
    --inner-hero-navy: #0A103A;
    --inner-hero-navy-light: #182154;
    --inner-hero-gold: #DAA028;
    --inner-hero-white: #FFFFFF;
    --inner-hero-image: none;

    position: relative;
    isolation: isolate;

    width: 100%;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: var(--inner-hero-white);
    background-color: var(--inner-hero-navy);

    font-family: "Montserrat", sans-serif;
}


/* =========================================
HEIGHT OPTIONS
Includes top room for overlapping header
========================================= */

.inner-page-hero--height-small {
    min-height: 360px;

    padding-top: 115px;
    padding-bottom: 65px;
}

.inner-page-hero--height-medium {
    min-height: 430px;

    padding-top: 180px;
    padding-bottom: 78px;
}

.inner-page-hero--height-large {
    min-height: 500px;

    padding-top: 145px;
    padding-bottom: 92px;
}


/* =========================================
BACKGROUND IMAGE
========================================= */

.inner-page-hero__background {
    position: absolute;
    inset: 0;
    z-index: -5;

    background-image: var(--inner-hero-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    transform: scale(1.025);

    transition:
        transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
        filter 1.2s ease;
}


/* Interactive image movement */

.inner-page-hero:hover
.inner-page-hero__background {
    transform: scale(1.065);

    filter:
        saturate(1.06)
        contrast(1.03);
}


/* =========================================
NAVY OVERLAY
========================================= */

.inner-page-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -4;

    pointer-events: none;
}


/* Dark overlay */

.inner-page-hero--overlay-dark
.inner-page-hero__overlay {
    background:
        linear-gradient(
            90deg,
            rgba(10, 16, 58, 0.98) 0%,
            rgba(10, 16, 58, 0.89) 42%,
            rgba(10, 16, 58, 0.60) 72%,
            rgba(10, 16, 58, 0.35) 100%
        );
}


/* Medium overlay */

.inner-page-hero--overlay-medium
.inner-page-hero__overlay {
    background:
        linear-gradient(
            90deg,
            rgba(10, 16, 58, 0.92) 0%,
            rgba(10, 16, 58, 0.77) 45%,
            rgba(10, 16, 58, 0.45) 100%
        );
}


/* Light overlay */

.inner-page-hero--overlay-light
.inner-page-hero__overlay {
    background:
        linear-gradient(
            90deg,
            rgba(10, 16, 58, 0.82) 0%,
            rgba(10, 16, 58, 0.64) 48%,
            rgba(10, 16, 58, 0.30) 100%
        );
}


/* =========================================
BACKGROUND TEXTURE
========================================= */

.inner-page-hero__pattern {
    position: absolute;
    inset: 0;
    z-index: -3;

    opacity: 0.25;

    background-image:
        linear-gradient(
            115deg,
            transparent 0%,
            transparent 54%,
            rgba(218, 160, 40, 0.24) 54.2%,
            rgba(218, 160, 40, 0.24) 54.45%,
            transparent 54.7%,
            transparent 100%
        );

    pointer-events: none;
}


/* Decorative glow */

.inner-page-hero__pattern::before {
    content: "";

    position: absolute;
    top: -170px;
    right: 8%;

    width: 370px;
    height: 370px;

    border: 55px solid rgba(255, 255, 255, 0.045);
    border-radius: 50%;
}


/* Gold glow */

.inner-page-hero__pattern::after {
    content: "";

    position: absolute;
    right: 18%;
    bottom: -140px;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(218, 160, 40, 0.18) 0%,
            rgba(218, 160, 40, 0.04) 45%,
            transparent 72%
        );
}


/* =========================================
CONTENT CONTAINER
========================================= */

.inner-page-hero__container {
    position: relative;
    z-index: 5;

    width: min(100% - 40px, 1280px);

    margin-inline: auto;
}


/* =========================================
CONTENT
========================================= */

.inner-page-hero__content {
    position: relative;

    width: min(100%, 760px);

    padding-left: 28px;

    transition:
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}


/* Gold vertical content line */

.inner-page-hero__content::before {
    content: "";

    position: absolute;
    top: 4px;
    left: 0;

    width: 4px;
    height: calc(100% - 8px);

    border-radius: 4px;

    background:
        linear-gradient(
            180deg,
            var(--inner-hero-gold) 0%,
            rgba(218, 160, 40, 0.16) 100%
        );

    transition:
        height 0.5s ease,
        background-color 0.5s ease;
}


.inner-page-hero:hover
.inner-page-hero__content {
    transform: translateX(6px);
}


/* =========================================
EYEBROW / SUBHEADLINE
========================================= */

.inner-page-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 18px;
}


.inner-page-hero__eyebrow-line {
    width: 42px;
    height: 2px;
    flex: 0 0 42px;

    background-color: var(--inner-hero-gold);

    transition: width 0.4s ease;
}


.inner-page-hero:hover
.inner-page-hero__eyebrow-line {
    width: 66px;
    flex-basis: 66px;
}


.inner-page-hero__eyebrow-text {
    color: var(--inner-hero-gold);

    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4em;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}


/* =========================================
TITLE
========================================= */

.inner-page-hero__title {
    max-width: 600px;

    margin: 0 0 18px;

    color: var(--inner-hero-white);

    font-family: "Montserrat", sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.12em;
    letter-spacing: -1.3px;

    text-wrap: balance;
}


/* Gold word-emphasis effect */

.inner-page-hero__title::after {
    content: "";

    display: block;

    width: 74px;
    height: 4px;

    margin-top: 19px;

    border-radius: 4px;

    background-color: var(--inner-hero-gold);

    transition: width 0.45s ease;
}


.inner-page-hero:hover
.inner-page-hero__title::after {
    width: 125px;
}


/* =========================================
DESCRIPTION
========================================= */

.inner-page-hero__description {
    max-width: 670px;

    color: rgba(255, 255, 255, 0.79);

    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75em;
}


.inner-page-hero__description p {
    margin: 0;
}


/* =========================================
ALIGNMENT
========================================= */

.inner-page-hero--center
.inner-page-hero__content {
    margin-inline: auto;
    padding-left: 0;

    text-align: center;
}


.inner-page-hero--center
.inner-page-hero__content::before {
    display: none;
}


.inner-page-hero--center
.inner-page-hero__eyebrow {
    justify-content: center;
}


.inner-page-hero--center
.inner-page-hero__title,
.inner-page-hero--center
.inner-page-hero__description {
    margin-left: auto;
    margin-right: auto;
}


.inner-page-hero--center
.inner-page-hero__title::after {
    margin-left: auto;
    margin-right: auto;
}


/* =========================================
TOP-RIGHT GOLD CORNER
========================================= */

.inner-page-hero__corner {
    position: absolute;
    top: 105px;
    right: clamp(25px, 6vw, 95px);
    z-index: 4;

    width: 94px;
    height: 94px;

    border-top: 4px solid rgba(218, 160, 40, 0.90);
    border-right: 4px solid rgba(218, 160, 40, 0.90);

    pointer-events: none;

    transition:
        width 0.55s ease,
        height 0.55s ease,
        transform 0.55s ease;
}


.inner-page-hero:hover
.inner-page-hero__corner {
    width: 124px;
    height: 124px;

    transform: translate(-7px, 7px);
}


/* =========================================
BOTTOM GOLD LINE
========================================= */

.inner-page-hero__bottom-line {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 6;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--inner-hero-gold) 0%,
            var(--inner-hero-gold) 24%,
            rgba(218, 160, 40, 0.15) 24%,
            rgba(218, 160, 40, 0.15) 100%
        );
}


/* =========================================
TABLET
========================================= */

@media screen and (max-width: 1024px) {

    .inner-page-hero--height-small {
        min-height: 330px;

        padding-top: 105px;
        padding-bottom: 58px;
    }

    .inner-page-hero--height-medium {
        min-height: 390px;

        padding-top: 115px;
        padding-bottom: 66px;
    }

    .inner-page-hero--height-large {
        min-height: 445px;

        padding-top: 125px;
        padding-bottom: 75px;
    }

    .inner-page-hero__content {
        width: min(100%, 680px);
    }

    .inner-page-hero__corner {
        top: 92px;
        right: 35px;

        width: 72px;
        height: 72px;
    }
}


/* =========================================
MOBILE
========================================= */

@media screen and (max-width: 767px) {

    .inner-page-hero {
        align-items: flex-end;
    }

    .inner-page-hero--height-small,
    .inner-page-hero--height-medium,
    .inner-page-hero--height-large {
        min-height: 390px;

        padding-top: 105px;
        padding-bottom: 54px;
    }

    .inner-page-hero__container {
        width: min(100% - 30px, 1280px);
    }

    .inner-page-hero__content {
        padding-left: 20px;
    }

    .inner-page-hero__content::before {
        width: 3px;
    }

    .inner-page-hero__eyebrow {
        gap: 10px;

        margin-bottom: 14px;
    }

    .inner-page-hero__eyebrow-line {
        width: 30px;
        flex-basis: 30px;
    }

    .inner-page-hero__eyebrow-text {
        font-size: 10px;
        letter-spacing: 1.25px;
    }

    .inner-page-hero__title {
        margin-bottom: 15px;

        font-size: clamp(31px, 9vw, 43px);
        letter-spacing: -0.8px;
    }

    .inner-page-hero__title::after {
        width: 55px;
        height: 3px;

        margin-top: 15px;
    }

    .inner-page-hero__description {
        font-size: 14px;
        line-height: 1.7em;
    }

    .inner-page-hero__corner {
        top: 92px;
        right: 20px;

        width: 53px;
        height: 53px;

        border-top-width: 3px;
        border-right-width: 3px;
    }

    .inner-page-hero__pattern::before {
        top: -120px;
        right: -80px;

        width: 260px;
        height: 260px;

        border-width: 40px;
    }
}


/* =========================================
SMALL MOBILE
========================================= */

@media screen and (max-width: 420px) {

    .inner-page-hero__container {
        width: min(100% - 24px, 1280px);
    }

    .inner-page-hero__content {
        padding-left: 17px;
    }

    .inner-page-hero__title {
        font-size: 31px;
    }

    .inner-page-hero__description {
        font-size: 13px;
    }
}


/* =========================================
REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .inner-page-hero__background,
    .inner-page-hero__content,
    .inner-page-hero__eyebrow-line,
    .inner-page-hero__title::after,
    .inner-page-hero__corner {
        transition: none;
    }

    .inner-page-hero:hover
    .inner-page-hero__background {
        transform: scale(1.025);
    }

    .inner-page-hero:hover
    .inner-page-hero__content {
        transform: none;
    }
}