
/* =========================================
   URBAN SLICE - SERVICES HERO
========================================= */

.us-services-hero {
    position: relative;
    display: flex;
    align-items: center;

    width: 100%;
    min-height: 640px;

    overflow: hidden;
    isolation: isolate;

    background: var(--us-green);
}


/* =========================================
   BACKGROUND IMAGE
========================================= */

.us-services-hero__background {
    position: absolute;
    inset: 0;
    z-index: -2;

    width: 100%;
    height: 100%;
}

.us-services-hero__background img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;
}


/* =========================================
   LEFT GREEN OVERLAY
========================================= */

.us-services-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;

    background: linear-gradient(
        90deg,
        rgba(20, 43, 23, 0.98) 0%,
        rgba(20, 43, 23, 0.94) 27%,
        rgba(20, 43, 23, 0.78) 39%,
        rgba(20, 43, 23, 0.38) 54%,
        rgba(20, 43, 23, 0.08) 70%,
        rgba(20, 43, 23, 0) 100%
    );
}


/* =========================================
   CONTENT
========================================= */

.us-services-hero__content {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 760px;

    padding: 90px 64px;
    margin-left: 0;
}


/* =========================================
   EYEBROW
========================================= */

.us-services-hero__eyebrow {
    display: block;

    margin-bottom: 22px;

    color: var(--us-cream);

    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.19em;
    line-height: 1.4;
}


/* =========================================
   HEADING
========================================= */

.us-services-hero__heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    margin: 0;

    color: var(--us-cream);

    font-size: clamp(72px, 8vw, 108px);
    font-weight: 700;
    line-height: 0.91;
    letter-spacing: -0.055em;
    text-transform: uppercase;
}

.us-services-hero__heading span {
    display: block;
}

.us-services-hero__heading .us-services-hero__italic {
    font-weight: 300;
    font-style: italic;
    letter-spacing: -0.065em;
}


/* =========================================
   DESCRIPTION
========================================= */

.us-services-hero__description {
    margin: 26px 0 0;

    color: var(--us-cream);

    font-size: 20px;
    font-weight: 400;
    line-height: 1.45;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {

    .us-services-hero {
        min-height: 560px;
    }

    .us-services-hero__content {
        max-width: 640px;
        padding: 75px 48px;
    }

    .us-services-hero__heading {
        font-size: clamp(60px, 9vw, 88px);
    }

    .us-services-hero__description {
        font-size: 18px;
    }

    .us-services-hero__overlay {
        background: linear-gradient(
            90deg,
            rgba(20, 43, 23, 0.97) 0%,
            rgba(20, 43, 23, 0.88) 40%,
            rgba(20, 43, 23, 0.35) 72%,
            rgba(20, 43, 23, 0.08) 100%
        );
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .us-services-hero {
        min-height: 640px;
        align-items: flex-end;
    }

    .us-services-hero__background img {
        object-position: center center;
    }

    .us-services-hero__overlay {
        background: linear-gradient(
            0deg,
            rgba(20, 43, 23, 0.98) 0%,
            rgba(20, 43, 23, 0.91) 40%,
            rgba(20, 43, 23, 0.48) 72%,
            rgba(20, 43, 23, 0.15) 100%
        );
    }

    .us-services-hero__content {
        max-width: 100%;
        padding: 55px 24px;
    }

    .us-services-hero__eyebrow {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .us-services-hero__heading {
        font-size: clamp(52px, 13vw, 72px);
        line-height: 0.94;
    }

    .us-services-hero__description {
        margin-top: 20px;
        font-size: 17px;
        line-height: 1.5;
    }

    .us-services-hero__desktop-break {
        display: none;
    }

}
