/* =========================================================
   CORBETT ULTIMUS
   JOURNEY / THE ROAD TO OWNERSHIP
========================================================= */

.cu-journey {
    position: relative;

    width: 100%;

    overflow: hidden;

    background: #f3f0e7;

    color: #073c34;
}


/* =========================================================
   CONTAINER
========================================================= */

.cu-journey__container {
    padding-top: 125px;
    padding-bottom: 125px;
}


/* =========================================================
   HEADER
========================================================= */

.cu-journey__header {
    margin-bottom: 110px;
}


/* =========================================================
   EYEBROW
========================================================= */

.cu-journey__eyebrow {
    display: flex;

    align-items: center;

    margin-bottom: 28px;

    font-family: "Space Grotesk", sans-serif;

    font-size: 10px;

    font-weight: 700;

    line-height: 1;

    letter-spacing: .05em;

    text-transform: uppercase;

    color: #073c34;
}


.cu-journey__eyebrow::before {
    content: "";

    width: 31px;
    height: 1px;

    margin-right: 12px;

    background: #073c34;
}


/* =========================================================
   TITLE
========================================================= */

.cu-journey__title {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(52px, 5.6vw, 78px);

    font-weight: 400;

    line-height: .92;

    letter-spacing: -.045em;

    color: #073c34;
}


/* =========================================================
   STEPS GRID
========================================================= */

.cu-journey__steps {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 0;
}


/* =========================================================
   STEP
========================================================= */

.cu-journey__step {
    min-width: 0;

    padding-right: 30px;
}


/* =========================================================
   STEP TOP
========================================================= */

.cu-journey__step-top {
    display: flex;

    align-items: center;

    width: 100%;

    margin-bottom: 31px;
}


/* =========================================================
   NUMBER
========================================================= */

.cu-journey__number {
    position: relative;

    z-index: 2;

    flex: 0 0 64px;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;

    border-radius: 50%;

    background: #073c34;

    color: #d8b354;

    font-family: "Space Grotesk", sans-serif;

    font-size: 16px;

    font-weight: 700;

    line-height: 1;

    transition:
        transform .45s cubic-bezier(.16, 1, .3, 1),
        background-color .35s ease;
}


.cu-journey__step:hover
.cu-journey__number {
    transform: scale(1.08);

    background: #0b4b41;
}


/* =========================================================
   CONNECTING LINE
========================================================= */

.cu-journey__line {
    flex: 1;

    height: 2px;

    margin-left: 16px;

    background: rgba(7, 60, 52, .25);
}


/* =========================================================
   CONTENT
========================================================= */

.cu-journey__content {
    padding-right: 4px;
}


.cu-journey__content h3 {
    margin: 0 0 17px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(23px, 2vw, 28px);

    font-weight: 400;

    line-height: 1;

    letter-spacing: -.025em;

    color: #073c34;
}


.cu-journey__content p {
    max-width: 270px;

    margin: 0;

    font-family: "Space Grotesk", sans-serif;

    font-size: 11px;

    font-weight: 400;

    line-height: 1.65;

    color: rgba(7, 60, 52, .72);
}


/* =========================================================
   REVEAL
========================================================= */

.cu-journey-reveal {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity .85s cubic-bezier(.16, 1, .3, 1),
        transform .85s cubic-bezier(.16, 1, .3, 1);
}


.cu-journey-reveal.is-visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   STAGGER
========================================================= */

.cu-journey__step:nth-child(1) {
    transition-delay: .05s;
}

.cu-journey__step:nth-child(2) {
    transition-delay: .12s;
}

.cu-journey__step:nth-child(3) {
    transition-delay: .19s;
}

.cu-journey__step:nth-child(4) {
    transition-delay: .26s;
}

.cu-journey__step:nth-child(5) {
    transition-delay: .33s;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .cu-journey__container {
        padding-top: 95px;
        padding-bottom: 95px;
    }


    .cu-journey__header {
        margin-bottom: 80px;
    }


    .cu-journey__step {
        padding-right: 18px;
    }


    .cu-journey__number {
        flex-basis: 55px;

        width: 55px;
        height: 55px;

        font-size: 14px;
    }


    .cu-journey__line {
        margin-left: 10px;
    }


    .cu-journey__content h3 {
        font-size: 21px;
    }


    .cu-journey__content p {
        font-size: 9px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .cu-journey__container {
        padding-top: 72px;
        padding-bottom: 75px;
    }


    .cu-journey__header {
        margin-bottom: 55px;
    }


    .cu-journey__eyebrow {
        margin-bottom: 20px;
    }


    .cu-journey__title {
        font-size: clamp(44px, 11vw, 60px);

        line-height: .94;
    }


    /* -----------------------------------------
       VERTICAL JOURNEY
    ----------------------------------------- */

    .cu-journey__steps {
        display: block;
    }


    .cu-journey__step {
        position: relative;

        display: grid;

        grid-template-columns: 58px minmax(0, 1fr);

        gap: 24px;

        padding: 0 0 48px;
    }


    .cu-journey__step:last-child {
        padding-bottom: 0;
    }


    .cu-journey__step-top {
        display: block;

        width: 58px;

        margin: 0;
    }


    .cu-journey__number {
        width: 58px;
        height: 58px;

        font-size: 13px;
    }


    .cu-journey__line {
        position: absolute;

        top: 58px;
        left: 28px;

        width: 1px;
        height: calc(100% - 58px);

        margin: 0;

        background: rgba(7, 60, 52, .25);
    }


    .cu-journey__content {
        padding-top: 4px;
    }


    .cu-journey__content h3 {
        margin-bottom: 12px;

        font-size: 24px;
    }


    .cu-journey__content p {
        max-width: 430px;

        font-size: 9px;

        line-height: 1.7;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .cu-journey__container {
        padding-top: 62px;
        padding-bottom: 65px;
    }


    .cu-journey__step {
        grid-template-columns: 52px minmax(0, 1fr);

        gap: 19px;

        padding-bottom: 42px;
    }


    .cu-journey__number {
        width: 52px;
        height: 52px;

        font-size: 12px;
    }


    .cu-journey__line {
        top: 52px;

        left: 25px;

        height: calc(100% - 52px);
    }


    .cu-journey__content h3 {
        font-size: 22px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .cu-journey-reveal {
        opacity: 1;

        transform: none;

        transition: none;
    }


    .cu-journey__number {
        transition: none;
    }

}