.services-hero {
    position: relative;
}

.services-hero__photo {
    position: relative;
    height: 320px;
    border-bottom-left-radius: 80px;
    border-bottom-right-radius: 80px;
    overflow: hidden;
}

/* For tablet landscape up */
@media (min-width: 900px) {
    .services-hero__photo {
        height: 480px;
        border-bottom-left-radius: 200px;
        border-bottom-right-radius: 200px;
    }
}

/* For desktop up */
@media (min-width: 1200px) {
    .services-hero__photo {
        height: 620px;
    }
}

.services-hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* White fade behind the navigation for legibility */
.services-hero__photo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 280px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0));
    z-index: 1;
}

.services-hero__wrapper {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 3rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
}

.services-hero__content {
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
}

/* For tablet landscape up */
@media (min-width: 900px) {
    .services-hero__content {
        display: grid;
        grid-template-columns: 45% 1fr;
        column-gap: 4rem;
    }
}

/* For tablet landscape up */
@media (min-width: 900px) {
    .services-hero__heading {
        text-align: right;
    }
}

.services-hero__eyebrow {
    color: var(--black);
    font-size: 15px;
    font-family: var(--body-font-family);
    font-variation-settings: "MONO" 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

/* For desktop up */
@media (min-width: 1200px) {
    .services-hero__eyebrow {
        font-size: 18px;
    }
}

.services-hero__heading h1 {
    color: var(--primary-color);
    font-size: 40px;
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

/* For desktop up */
@media (min-width: 1200px) {
    .services-hero__heading h1 {
        font-size: 64px;
    }
}

.services-hero__heading footer {
    margin-top: 1.5rem;
}

/* For tablet landscape up */
@media (min-width: 900px) {
    .services-hero__heading footer {
        display: flex;
        justify-content: flex-end;
    }
}

.services-hero__description p {
    color: var(--black);
    font-size: 16px;
    line-height: 1.6;
}

/* For desktop up */
@media (min-width: 1200px) {
    .services-hero__description p {
        font-size: 18px;
    }
}

.services-hero__description p:not(:last-of-type) {
    margin-bottom: 1rem;
}
