/* =========================================
   HERO
========================================= */

/* Mobile - 0rem+ */
.hero {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 52rem;
    background: var(--black);
    color: var(--white);
    overflow: hidden;
    z-index: 1;
}

/* =========================================
   HERO IMAGE
========================================= */

/* Mobile - 0rem+ */
.hero__image {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 29rem;
    background-image: url("/assets/images/hero.webp");
    background-repeat: no-repeat;
    /* Deliberately zoom mobile image */
    background-size: auto 28rem;
    /* Move the important subject into frame */
    background-position: 28% top;
}


/* Tablet - 48rem+ */

@media (min-width: 48rem) {

    .hero__image {
        top: 0;
        right: 0;
        left: 0;

        width: 100%;
        max-width: none;
        height: 100%;

        /* Reset mobile crop */
        background-size: auto 60rem;
        background-position: 10% center;
    }

}


/* Desktop - 64rem+ */

@media (min-width: 64rem) {
    .hero__image {
        left: 25%;
        width: 75%;
        height: 100%;
        background-position: center;
        /* Desktop-specific crop */
        background-size: cover;
        background-position: 58% center;
    }
}

/* =========================================
   HERO SHADE
========================================= */

/* Mobile - 0rem+ */

.hero__shade {
    position: absolute;
    z-index: 1;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(4, 6, 5, 0.62) 0%,
            rgba(4, 6, 5, 0.48) 18%,
            rgba(4, 6, 5, 0.58) 32%,
            rgba(4, 6, 5, 0.9) 50%,
            #050706 60%,
            #050706 100%
        );
}


/* Tablet - 48rem+ */

@media (min-width: 48rem) {

    .hero__shade {
        background:
            linear-gradient(
                90deg,
                #050706 0%,
                rgba(5, 7, 6, 0.98) 35%,
                rgba(5, 7, 6, 0.72) 57%,
                rgba(5, 7, 6, 0.25) 100%
            ),
            linear-gradient(
                to bottom,
                rgba(5, 7, 6, 0.25),
                rgba(5, 7, 6, 0.6)
            );
    }

}


/* Desktop - 64rem+ */

@media (min-width: 64rem) {

    @media (min-width: 64rem) {

        .hero__shade {
            background:
                linear-gradient(
                    90deg,
                    #050706 0%,
                    #050706 24%,
                    rgba(5, 7, 6, 0.98) 30%,
                    rgba(5, 7, 6, 0.92) 36%,
                    rgba(5, 7, 6, 0.72) 43%,
                    rgba(5, 7, 6, 0.42) 51%,
                    rgba(5, 7, 6, 0.15) 61%,
                    rgba(5, 7, 6, 0) 72%
                ),
                linear-gradient(
                    to bottom,
                    rgba(5, 7, 6, 0.2) 0%,
                    rgba(5, 7, 6, 0.05) 55%,
                    rgba(5, 7, 6, 0.5) 100%
                );
        }

    }

}

/* =========================================
   MOBILE NAV BACKDROP
========================================= */

/* Mobile - 0rem+ */

#navigation::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: 0;
    right: 0;
    left: 0;

    height: 7rem;

    background: linear-gradient(
        to bottom,
        rgba(3, 5, 4, 0.9) 0%,
        rgba(3, 5, 4, 0.65) 55%,
        rgba(3, 5, 4, 0) 100%
    );

    pointer-events: none;
}


/* Tablet - 48rem+ */

@media (min-width: 48rem) {

    #navigation::before {
        display: none;
    }

}


/* =========================================
   DIAGONAL DIVIDER
========================================= */

/* Mobile - 0rem+ */

.hero__diagonal {
    display: none;
}


/* Tablet - 48rem+ */

@media (min-width: 48rem) {

    .hero__diagonal {
        display: none;
    }

}


/* Desktop - 64rem+ */

@media (min-width: 64rem) {

    .hero__diagonal {
        position: absolute;
        z-index: 2;

        top: -5%;
        left: 47%;

        display: block;

        width: 4.5rem;
        height: 112%;

        background: var(--black);

        border-right: 0.2rem solid var(--yellow);

        transform: skewX(-18deg);
        transform-origin: bottom;
    }

}


/* =========================================
   HERO INNER
========================================= */

/* Mobile - 0rem+ */

.hero__inner {
    position: relative;
    z-index: 5;

    padding-top: 8rem;
    padding-bottom: 11rem;
}

.hero__content {
    width: 100%;
}


/* Tablet - 48rem+ */

@media (min-width: 48rem) {

    .hero__inner {
        display: flex;
        align-items: center;

        min-height: 50rem;

        padding-top: 8rem;
        padding-bottom: 10rem;
    }

    .hero__content {
        width: 68%;
    }

}


/* Desktop - 64rem+ */

@media (min-width: 64rem) {

    .hero__inner {
        min-height: 54rem;

        padding-top: 9rem;
        padding-bottom: 11rem;
    }

    .hero__content {
        width: 48%;
    }

}


/* =========================================
   HERO EYEBROW
========================================= */

/* Mobile - 0rem+ */

.hero .eyebrow {
    margin-bottom: 1.4rem;
    
    font-size: 0.78rem;
}


/* Tablet - 48rem+ */

@media (min-width: 48rem) {

    .hero .eyebrow {
        font-size: 0.9rem;
    }

}


/* Desktop - 64rem+ */

@media (min-width: 64rem) {

    .hero .eyebrow {
        margin-bottom: 1.75rem;

        font-size: 1rem;
    }

}


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

/* Mobile - 0rem+ */

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 16vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 0.82;
    text-transform: uppercase;
}

.hero__title span {
    display: block;
}

.hero__title span:last-child {
    margin-top: 0.16em;

    color: var(--yellow);
}


/* Tablet - 48rem+ */

@media (min-width: 48rem) {

    .hero__title {
        font-size: clamp(5rem, 9vw, 7rem);
    }

}


/* Desktop - 64rem+ */

@media (min-width: 64rem) {

    .hero__title {
        font-size: clamp(5rem, 6.4vw, 7.2rem);
        line-height: 0.84;
    }

}


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

/* Mobile - 0rem+ */

.hero__description {
    max-width: 32rem;

    margin-top: 1.75rem;

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

    font-size: 0.95rem;
    line-height: 1.7;
}


/* Tablet - 48rem+ */

@media (min-width: 48rem) {

    .hero__description {
        font-size: 1rem;
    }

}


/* Desktop - 64rem+ */

@media (min-width: 64rem) {

    .hero__description {
        margin-top: 2rem;

        font-size: 1.05rem;
    }

}


/* =========================================
   HERO ACTIONS
========================================= */

/* Mobile - 0rem+ */

.hero__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;

    width: min(100%, 20rem);

    margin-top: 2rem;
}

.hero__actions .btn {
    width: 100%;
}

.btn--outline {
    border: 1px solid rgba(255, 255, 255, 0.65);

    background: transparent;
    color: var(--white);
}

.hero__call-icon {
    color: var(--yellow);

    font-size: 1.15rem;
}

.hero__mobile-cta {
    display: inline-flex;
}

.hero__services-cta {
    display: none;
}


/* Tablet - 48rem+ */

@media (min-width: 48rem) {

    .hero__actions {
        flex-direction: row;
        align-items: center;

        width: auto;
    }

    .hero__actions .btn {
        width: auto;
    }

    .hero__mobile-cta {
        display: none;
    }

    .hero__services-cta {
        display: inline-flex;
    }

}


/* Desktop - 64rem+ */

@media (min-width: 64rem) {

    .hero__actions {
        gap: 1.5rem;

        margin-top: 2.25rem;
    }

    .hero__mobile-cta {
        display: none;
    }

    .hero__services-cta {
        display: inline-flex;
    }

}


/* =========================================
   HERO STATS
========================================= */

/* Mobile - 0rem+ */

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-top: 3rem;
}

.hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 0 0.5rem;

    text-align: center;

    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.hero__stat:last-child {
    border-right: 0;
}

.hero__stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 2.6rem;
    height: 2.6rem;

    margin-bottom: 0.7rem;

    color: var(--yellow);
}

.hero__stat-icon svg {
    display: block;

    width: 100%;
    height: 100%;
}

.hero__stat strong {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.hero__stat > span:last-child {
    margin-top: 0.45rem;

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

    font-family: var(--font-display);
    font-size: 0.63rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    line-height: 1.25;
    text-transform: uppercase;
}


/* Tablet - 48rem+ */

@media (min-width: 48rem) {

    .hero__stats {
        max-width: 34rem;

        margin-top: 3.25rem;
    }

    .hero__stat strong {
        font-size: 2.2rem;
    }

    .hero__stat > span:last-child {
        font-size: 0.68rem;
    }

}


/* Desktop - 64rem+ */

@media (min-width: 64rem) {

    .hero__stats {
        max-width: 31rem;

        margin-top: 3rem;
    }

    .hero__stat {
        min-height: 7.5rem;
    }

    .hero__stat-icon {
        font-size: 1.8rem;
    }

    .hero__stat strong {
        font-size: 2.4rem;
    }

}

/* =========================================
   HERO ROAD TRANSITION
========================================= */

/* Mobile - 0rem+ */

.hero__road {
    position: absolute;
    z-index: 20;

    bottom: -2.5rem;
    left: 0;

    width: 100%;
    height: 5.5rem;

    background:
        linear-gradient(
            180deg,
            #242522 0%,
            #111310 55%,
            #080a08 100%
        );

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    overflow: hidden;

    transform: skewY(-2deg);
    transform-origin: left center;
}

.hero__road-line {
    position: absolute;

    top: 50%;
    left: 0;

    width: 100%;
    height: 0.25rem;

    background:
        repeating-linear-gradient(
            90deg,
            var(--yellow) 0,
            var(--yellow) 3.5rem,
            transparent 3.5rem,
            transparent 6rem
        );

    transform: translateY(-50%);
}


/* Tablet - 48rem+ */

@media (min-width: 48rem) {

    .hero__road {
        bottom: -3rem;

        height: 6.5rem;

        transform: skewY(-1.5deg);
    }

}


/* Desktop - 64rem+ */

@media (min-width: 64rem) {

    .hero__road {
        bottom: -3.5rem;

        height: 7.5rem;

        transform: skewY(-1deg);
    }

}