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

/* --- Make header overlay the banner on front page --- */

body.home .site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-radius: 0 0 20px 20px;
    background: linear-gradient(270deg, #FFF 3.79%, #F6F2EA 98.41%);
}

/* ---- Section wrapper ---- */

.hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 60px 20px;
}

/* ---- Background video ---- */

.hero-banner__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* ---- Gradient overlay on top of video ---- */

.hero-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(197deg, rgba(220, 233, 199, 0.80) 13.83%, #F6F2EA 69.02%);
    pointer-events: none;
}

/* ---- Inner layout ---- */

.hero-banner__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 50px;
}

/* ---- Left column: text content ---- */

.hero-banner__content {
    flex: 1 1 0%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ---- Eyebrow ---- */

.hero-banner__eyebrow {
    color: #566C31;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}

/* ---- Heading ---- */

.hero-banner__heading {
    color: var(--jns-text, #1f270f);
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 60px;
    font-weight: 600;
    line-height: 1.1;
    margin: 0;
}

/* ---- Paragraph ---- */

.hero-banner__paragraph {
    color: var(--jns-text, #1f270f);
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px; /* 162.5% */
    margin: 0;
    max-width: 480px;
}

/* ---- Right column: image ---- */

.hero-banner__image-wrapper {
    flex: 0 0  520px;
    max-width: 520px;
    border-radius: 20px;
    overflow: hidden;
}

.hero-banner__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1024px) {
    .hero-banner {
        padding: 60px 20px 40px 20px;
    }

    .hero-banner__inner {
        flex-direction: column;
        gap: 36px;
        align-items: center;
        text-align: center;
    }

    .hero-banner__content {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .hero-banner__eyebrow {
        text-align: center;
    }

    .hero-banner__heading {
        font-size: 44px;
        text-align: center;
    }

    .hero-banner__paragraph {
        text-align: center;
        margin: 0 auto;
        max-width: 600px;
    }

    .hero-banner__image-wrapper {
        flex: 0 0 auto;
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-banner__image {
        margin: 0 auto;
        display: block;
        object-fit: contain;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        padding: 50px 20px 30px 20px;
    }

    .hero-banner__inner {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }

    .hero-banner__content {
        align-items: center;
        text-align: center;
    }

    .hero-banner__eyebrow {
        text-align: center;
    }

    .hero-banner__heading {
        font-size: 36px;
        text-align: center;
    }

    .hero-banner__paragraph {
        text-align: center;
        margin: 0 auto;
        max-width: 100%;
    }

    .hero-banner__image-wrapper {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-banner__image {
        margin: 0 auto;
        display: block;
        object-fit: contain;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        padding: 40px 16px 20px 16px;
    }

    .hero-banner__heading {
        font-size: 28px;
        line-height: 1.15;
        text-align: center;
    }

    .hero-banner__eyebrow {
        font-size: 13px;
        text-align: center;
    }

    .hero-banner__paragraph {
        font-size: 14px;
        line-height: 22px;
        text-align: center;
        margin: 0 auto;
    }

    .hero-banner__image-wrapper {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        border-radius: 12px;
    }
}
