/* =========================================================
   CORBETT ULTIMUS
   HERO SECTION
========================================================= */

.cu-hero {
    position: relative;
    min-height: 100svh;
    width: 100%;
    overflow: hidden;
    background: #062e29;
    color: #f5f1e7;
    isolation: isolate;
}


/* =========================================================
   BACKGROUND IMAGE
========================================================= */

.cu-hero__media {
    position: absolute;
    inset: 0;
    z-index: -3;

    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

    transform: scale(1.04);

    animation: cuHeroImageIn 1.8s cubic-bezier(.16, 1, .3, 1) forwards;
}


/* =========================================================
   CINEMATIC OVERLAY
========================================================= */

.cu-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -2;

    background:
        linear-gradient(
            90deg,
            rgba(1, 30, 26, .92) 0%,
            rgba(1, 30, 26, .72) 32%,
            rgba(1, 30, 26, .28) 68%,
            rgba(1, 30, 26, .18) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0, 20, 18, .38) 0%,
            rgba(0, 20, 18, .04) 45%,
            rgba(0, 20, 18, .70) 100%
        );
}


/* =========================================================
   CONTAINER
========================================================= */

.cu-hero__container {
    position: relative;
    min-height: 100svh;

    display: flex;
    align-items: center;

    padding-top: 120px;
    padding-bottom: 100px;
}


/* =========================================================
   CONTENT
========================================================= */

.cu-hero__content {
    width: min(720px, 70%);
}


/* =========================================================
   TOP META
========================================================= */

.cu-hero__meta {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 28px;

    font-size: 9px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;

    color: rgba(245, 241, 231, .78);
}

.cu-hero__meta-line {
    width: 30px;
    height: 1px;

    background: #c8aa55;
}

.cu-hero__meta-divider {
    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: #c8aa55;
}


/* =========================================================
   EYEBROW
========================================================= */

.cu-hero__eyebrow {
    margin: 0 0 18px;

    font-size: 10px;
    font-weight: 500;
    line-height: 1.4;

    letter-spacing: .22em;
    text-transform: uppercase;

    color: #c8aa55;
}


/* =========================================================
   TITLE
========================================================= */

.cu-hero__title {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;

    font-size: clamp(52px, 6vw, 92px);
    line-height: .91;
    letter-spacing: -.045em;

    color: #f5f1e7;
}

.cu-hero__title-line {
    display: block;
}

.cu-hero__title-line--accent {
    color: #c8aa55;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.cu-hero__description {
    max-width: 530px;

    margin: 30px 0 0;

    font-size: 13px;
    font-weight: 400;
    line-height: 1.8;

    letter-spacing: .015em;

    color: rgba(245, 241, 231, .72);
}


/* =========================================================
   ACTIONS
========================================================= */

.cu-hero__actions {
    display: flex;
    align-items: center;
    gap: 28px;

    margin-top: 34px;
}


/* =========================================================
   BUTTON
========================================================= */

.cu-hero .cu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    min-height: 45px;
    padding: 0 21px;

    border: 1px solid #c8aa55;

    font-size: 9px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;

    text-decoration: none;

    transition:
        transform .35s ease,
        background-color .35s ease,
        color .35s ease;
}

.cu-hero .cu-btn__arrow {
    font-size: 15px;
    line-height: 1;
    transition: transform .35s ease;
}

.cu-hero .cu-btn:hover .cu-btn__arrow {
    transform: translate(3px, -3px);
}


/* =========================================================
   TEXT LINK
========================================================= */

.cu-hero__text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: rgba(245, 241, 231, .78);

    font-size: 9px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;

    text-decoration: none;

    transition: color .3s ease;
}

.cu-hero__text-link-arrow {
    font-size: 13px;

    transition: transform .3s ease;
}

.cu-hero__text-link:hover {
    color: #c8aa55;
}

.cu-hero__text-link:hover .cu-hero__text-link-arrow {
    transform: translateY(4px);
}


/* =========================================================
   SIDE INFORMATION
========================================================= */

.cu-hero__side {
    position: absolute;
    right: 0;
    bottom: 115px;

    display: flex;
    flex-direction: column;
    gap: 7px;

    text-align: right;
}

.cu-hero__side-label {
    font-size: 8px;
    letter-spacing: .2em;
    text-transform: uppercase;

    color: rgba(245, 241, 231, .5);
}

.cu-hero__side-value {
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;

    color: #c8aa55;
}


/* =========================================================
   SCROLL INDICATOR
========================================================= */

.cu-hero__scroll {
    position: absolute;

    left: 0;
    bottom: 38px;

    display: flex;
    align-items: center;
    gap: 14px;

    color: rgba(245, 241, 231, .58);

    text-decoration: none;
}

.cu-hero__scroll-text {
    font-size: 8px;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.cu-hero__scroll-line {
    position: relative;

    width: 55px;
    height: 1px;

    overflow: hidden;

    background: rgba(245, 241, 231, .25);
}

.cu-hero__scroll-line::after {
    content: "";

    position: absolute;
    inset: 0;

    background: #c8aa55;

    transform: translateX(-100%);

    animation: cuScrollLine 2s ease-in-out infinite;
}


/* =========================================================
   REVEAL ANIMATION
========================================================= */

.cu-reveal {
    opacity: 0;
    transform: translateY(34px);

    animation:
        cuHeroReveal .9s cubic-bezier(.16, 1, .3, 1)
        forwards;
}

.cu-hero__meta {
    animation-delay: .35s;
}

.cu-hero__eyebrow {
    animation-delay: .48s;
}

.cu-hero__title-line:nth-child(1) {
    animation-delay: .60s;
}

.cu-hero__title-line:nth-child(2) {
    animation-delay: .70s;
}

.cu-hero__title-line:nth-child(3) {
    animation-delay: .80s;
}

.cu-hero__description {
    animation-delay: .95s;
}

.cu-hero__actions {
    animation-delay: 1.08s;
}

.cu-hero__side {
    animation-delay: 1.15s;
}


/* =========================================================
   KEYFRAMES
========================================================= */

@keyframes cuHeroReveal {

    from {
        opacity: 0;
        transform: translateY(34px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes cuHeroImageIn {

    from {
        opacity: 0;
        transform: scale(1.10);
    }

    to {
        opacity: 1;
        transform: scale(1.04);
    }

}

@keyframes cuScrollLine {

    0% {
        transform: translateX(-100%);
    }

    45%,
    100% {
        transform: translateX(100%);
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .cu-hero__content {
        width: min(700px, 78%);
    }

    .cu-hero__title {
        font-size: clamp(52px, 7vw, 78px);
    }

    .cu-hero__side {
        right: 30px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .cu-hero {
        min-height: 760px;
    }

    .cu-hero__media {
        background-position: 58% center;
    }

    .cu-hero__overlay {
        background:
            linear-gradient(
                90deg,
                rgba(1, 30, 26, .90) 0%,
                rgba(1, 30, 26, .58) 100%
            ),
            linear-gradient(
                180deg,
                rgba(0, 20, 18, .34) 0%,
                rgba(0, 20, 18, .08) 42%,
                rgba(0, 20, 18, .78) 100%
            );
    }

    .cu-hero__container {
        min-height: 760px;

        align-items: flex-end;

        padding-top: 130px;
        padding-bottom: 115px;
    }

    .cu-hero__content {
        width: 100%;
    }

    .cu-hero__meta {
        margin-bottom: 20px;

        font-size: 8px;
        gap: 8px;
    }

    .cu-hero__eyebrow {
        font-size: 8px;
        margin-bottom: 15px;
    }

    .cu-hero__title {
        font-size: clamp(45px, 13vw, 68px);
        line-height: .92;
    }

    .cu-hero__description {
        max-width: 100%;

        margin-top: 22px;

        font-size: 12px;
        line-height: 1.7;
    }

    .cu-hero__actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;

        margin-top: 28px;
    }

    .cu-hero__side {
        display: none;
    }

    .cu-hero__scroll {
        bottom: 30px;
    }

    .cu-hero__scroll-text {
        font-size: 7px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .cu-hero__title {
        font-size: 43px;
    }

    .cu-hero__description {
        font-size: 11px;
    }

    .cu-hero__scroll {
        left: 20px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .cu-reveal,
    .cu-hero__media {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .cu-hero__scroll-line::after {
        animation: none;
    }

}