/**
* Fuel Theme
* Version 6.0.6
**/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Hero
# Welcome
# CTA's
# Locations
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
.header-logo .ont-svg {
    color: var(--accent-color);
}

.home .header {
    background-color: unset;
}

.home .entry-content {
    margin-top: -10rem;
}

#hero_section {
    margin-top: -1.3rem;
    padding-top: 14em;
    padding-bottom: 3.6rem;
    margin-bottom: 0 !important;
}

#hero_section p.hero-tagline {
    font-size: 2.4rem;
    line-height: 2.4rem;
    width: unset;
    position: relative;
}

.hero-tagline::before {
    content: '';
    width: 1.6rem;
    height: 1rem;
    background-image: url('../images/btn-arrow.svg');
    background-size: cover;
    position: absolute;
    top: 1.8rem;
    left: -2rem;
}

#hero_section p {
    font-size: 1.2em;
    margin-top: 0.6rem;
    width: clamp(14rem, 33%, 31rem);
}

#hero_section .wp-block-cover__inner-container {
    padding: 0 2em;
    padding-right: 1em;
    z-index: 1;
}

@media (max-width: 68.49em) {
    #hero_section {
        min-height: unset !important;
        margin-top: 12.7rem;
        padding-top: 10rem;
    }

    .hero-wrap>svg {
        display: none;
    }
}

.hero-tagline {
    font-family: var(--title-font);
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    font-size: clamp(1.7rem, 7vw, 3.6rem);
    --time: 800ms;
    --easing: ease-out;
    --x: -2rem;
}

#hero_section::before {
    content: '';
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-lattice-mobile.svg');
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

@media (min-width: 37.5em) {
    #hero_section::before {
        background-image: url('../images/hero-lattice.svg');
    }

}

@media (min-width: 68.5em) {
    .hero-wrap {
        position: relative;
    }

    .hero-wrap>svg {
        position: absolute;
        width: 100%;
        margin-top: -13em;
        z-index: -1;
    }

    .hero-grad {
        position: absolute;
        width: 100%;
        top: -10em;
    }

    #hero_section .wp-block-cover__image-background {
        object-position: 50% 2em !important;
    }

    .home:has(.js-intersected) .wp-site-blocks::before {
        display: none;
    }

    #hero_section {
        font-size: clamp(0.8em, 1.1vw, 1em);
        padding-top: 15em;
        padding-bottom: 12em;
        margin-top: 0.9em;
        min-height: 52rem !important;
    }

    #hero_section .fadein {
        animation-play-state: running;
        --y1: 3rem;
        --y2: 0rem;
    }

    #hero_section .fadein:last-of-type {
        animation-delay: 300ms;
    }

    #hero_section .fadein::before {
        --y1: 0;
        --x1: -2rem;
        --x2: 0rem;
    }

    #hero_section p {
        font-size: 1.6em;
        width: 21em;
    }

    #hero_section .fadein::before {
        opacity: 0;
    }

    #hero_section p.hero-tagline {
        font-size: 5em;
        line-height: 90px;
    }

    .hero-tagline::before {
        width: 2.4rem;
        height: 1.7rem;
        left: -3rem;
        top: 2.3rem;
    }

    #hero_section .wp-block-cover__inner-container {
        padding: unset;
        max-width: 31em;
        width: 100%;
        margin-left: calc(50% - 27em);
        margin-top: 6em;
    }
}

/*--------------------------------------------------------------
# Welcome
--------------------------------------------------------------*/
#welcome_section {
    position: relative;
    z-index: 1;
}

#welcome_section .wp-block-fuel-wrapper-block {
    background: linear-gradient(180deg, #F0EDE3 0%, #FFF 100%);
    width: calc(100% - 1.6em);
    max-width: 50.5em;
    margin: auto;
    margin-top: -3em;
    padding: 2em 1em 1.2em;
    z-index: 1;
    position: relative;
}

#welcome_section .wp-block-fuel-wrapper-block::before {
    content: '';
    width: 100%;
    height: 100%;
    background-color: linear-gradient(180deg, #F0EDE3 0%, #FFF 100%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

#welcome_section h1 {
    font-size: 1.6em;
    padding: 0 0.5rem 1.2rem;
    max-width: 25rem;
    margin: auto;
    position: relative;
}

#welcome_section h1::before {
    content: '';
    width: 12.6rem;
    height: 0.05rem;
    background-color: var(--black);
    position: absolute;
    bottom: 0;
    left: calc(50% - 6.3rem);
}

.watermark {
    width: 14em;
    position: absolute;
    top: 2em;
    left: calc(50% - 7em);
    z-index: -1;
}

#welcome_section p {
    line-height: 1.35;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 68.5em) {
    #welcome_section .wp-block-fuel-wrapper-block {
        font-size: clamp(0.8rem, 1.1vw, 1rem);
        border-radius: 0.5rem;
        padding-left: 7.5em;
        padding-right: 7.5em;
        margin-top: -7.5em;
        --y1: 3rem;
        --y2: 0rem;
        --time: 500ms;
    }

    #welcome_section h1 {
        font-size: 2em;
        max-width: 15em;
        margin-bottom: 1.8em;
        padding-bottom: 1em;
    }

    #welcome_section h1::before {
        width: 21rem;
        left: calc(50% - 10.5rem);
    }

    .watermark {
        width: 17.5em;
        top: 1em;
        left: 1.5em;
    }

    #welcome_section p {
        line-height: 1.6;
    }
}

/*--------------------------------------------------------------
# CTA's
--------------------------------------------------------------*/
#ctas {
    font-size: 1rem;
    padding-top: 4.8rem;
}

#ctas .wp-block-cover {
    padding: 3.5em 1.5em 1.5em;
    min-height: 18rem;
    position: relative;
    overflow: hidden;
}

#ctas .wp-block-cover::before {
    content: '';
    width: 4em;
    aspect-ratio: 77/91;
    background: linear-gradient(to bottom right, var(--accent-color) 50%, transparent 50%);
    size: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

#ctas .wp-block-cover::after {
    content: '';
    width: 100%;
    height: 100%;
    background-image: url('../images/lattice-small.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top left;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

#ctas h2.wp-block-heading {
    font-size: 2em;
    padding-bottom: 1em;
    position: relative;
    margin-bottom: 3rem;
}

#ctas h2.wp-block-heading::before {
    content: '';
    width: 9rem;
    height: 0.05rem;
    background-color: var(--content-color);
    position: absolute;
    bottom: 0;
    left: calc(50% - 4.5rem);
}

#ctas a p {
    max-width: 21rem;
    margin-top: unset;
    width: 100%;
}

#ctas p:not(.has-large-font-size, .has-medium-font-size) {
    font-size: 0.9em;
    margin-top: unset;
}

#ctas .has-large-font-size {
    font-size: 1.6em !important;
    font-family: var(--title-font);
    line-height: 40px;
}

.cta-arrow {
    color: var(--highlight);
    margin-right: 0.3rem;
}

#ctas .wp-block-cover__inner-container {
    margin-top: 0rem;
    min-height: 100%;
    min-height: 13rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
}


@media (min-width: 68.5em) {
    #ctas {
        font-size: clamp(0.8rem, 1.1vw, 1rem);
        max-width: 96rem;
    }

    #ctas p:not(.has-large-font-size, .has-medium-font-size) {
        font-size: 1.2em;
    }

    #ctas a p {
        max-width: 32rem;
        margin-left: auto !important;
    }

    #ctas .has-medium-font-size {
        font-size: 1em;
        margin-top: clamp(2em, 3.2vw, 3em);
    }

    #ctas .wp-block-cover {
        min-height: 15em;
        padding: 2em;
    }

    #ctas .wp-block-cover__inner-container {
        min-height: 15em;
        display: block;
        padding-top: 4em;
        z-index: 2;
    }

    #ctas p {
        opacity: 0;
        transition: all 350ms;
    }

    #ctas .has-text-align-center {
        opacity: 1;
    }

    #ctas p.has-large-font-size {
        opacity: 1;
        font-size: 3.2em !important;
        margin-top: 0rem;
        font-weight: 600;
        transition: all 350ms;
        position: absolute;
        top: 5rem;
        left: calc(50% - 16rem);
        max-width: 37rem;
    }

    #ctas a:hover .has-large-font-size {
        font-size: 1.6em !important;
        top: 1rem;
    }

    #ctas a:hover p {
        opacity: 1;
    }

    #ctas h2.wp-block-heading {
        margin-bottom: 4rem;
    }

    #ctas h2.wp-block-heading::before {
        width: 21rem;
        left: calc(50% - 10.5rem);
    }

    #ctas .wp-block-cover::before {
        content: '';
        width: 13em;
        aspect-ratio: 1/1;
        background: var(--accent-color);
        position: absolute;
        top: -10em;
        left: 6%;
        z-index: 2;
        transform-origin: center;
        transform: rotate(45deg);
        transition: all 500ms;
    }

    #ctas a:hover .wp-block-cover::before {
        transform: scale(13);
        opacity: .75;
    }

    #ctas .wp-block-cover::after {
        display: none;
    }

    #ctas a:first-of-type .wp-block-cover::after {
        display: block;
        background-image: url('../images/cta-lattice.svg');
    }

    #ctas .js-intersect.fadein {
        display: block;
        margin-top: 0;
        --y1: 3rem;
    }
}

/*--------------------------------------------------------------
# Reviews
--------------------------------------------------------------*/
@media (max-width: 600px) {
    #reviews .wp-block-media-text {
        display: flex;
        flex-wrap: wrap;
        padding: 0 0.4em;
    }

    #reviews .wp-block-media-text__content {
        padding: 0px 8.5rem;
    }
}

#reviews {
    margin-top: 5em;
    padding-bottom: 4em;
    z-index: 2;
    position: relative;
}

#live-life {
    max-width: 60em;
    margin: auto;
    margin-top: 1.8rem;
    border-radius: 10px;
    position: relative;
    min-height: 17.5em;
    padding-top: 5.5em;
    padding-bottom: 5em;
}

#live-life::before {
    content: '';
    width: calc(100% - 2rem);
    height: calc(100% - 2rem);
    border: 0.05rem solid var(--white);
    position: absolute;
    top: 1rem;
    left: 1rem;
    border-radius: 10px;
    z-index: 1;
}

#live-life h2 {
    font-size: 2.4em !important;
    max-width: 14rem;
    font-weight: 700;
}

#reviews .wp-block-media-text {
    grid-template-columns: 50% 1fr !important;
    column-gap: 2em;
}

#reviews .wp-block-media-text__media::before {
    display: none;
}

@media (min-width: 68.5em) {
    #reviews {
        font-size: clamp(0.8rem, 1.1vw, 1rem);
    }

    #live-life {
        font-size: clamp(0.8rem, 1.1vw, 1rem);
        padding-top: 6em;
        padding-bottom: 5em;
        margin-top: -5.5em;
        margin-bottom: 6em;
    }

    #live-life h2 {
        font-size: 4em !important;
        max-width: unset;
    }

    #reviews .wp-block-media-text__media {
        max-width: 46em;
        padding-top: 0;
    }

    #reviews .wp-block-media-text__content {
        max-width: unset;
        align-self: start;
        padding-top: 3.5em;
        padding-left: 0;
    }

    #reviews .wp-block-buttons {
        margin-top: 2.5em;
    }

    #reviews .wp-block-quote::after {
        transform: scale(0);
        transform-origin: left;
        transition: transform 500ms;
        transition-delay: 300ms;
    }

    #reviews.js-intersected .wp-block-quote::after {
        transform: scale(1);
    }
}