/* ==================== HOME ==================== */

/* ---------- Home: parallax distances (0px = off; mobile = below 992px) ---------- */

.home-hero {
    --parallax-desktop: 500px;
    --parallax-mobile: 0px;
}

.home-impact {
    --parallax-desktop: 300px;
    --parallax-mobile: 0px;
}

/* ---------- Home: hero banner + About RAS ---------- */

.home-hero {
    position: relative;
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
    background-color: var(--ras-green-dark);
    color: #ffffff;
}

.home-hero .parallax-photo {
    background-image:
        linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.2) 55%, rgba(0, 0, 0, 0.1) 100%),
        url("../../images/home/0p1-HERO-w4096?v=2");
    background-position: center top;
}

.home-hero-intro {
    max-width: 700px;
    padding-top: clamp(5rem, 26vw, 22rem);
    /* padding-bottom: clamp(3rem, 8vw, 7.5rem); */
}

.home-hero-heading {
    /* font-weight: 700;
    font-size: var(--ras-hero-heading-font-size);
    line-height: 1.15; */
    margin-bottom: 1rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.home-hero-subheading {
    /* font-family: var(--ras-font-heading);
    font-size: clamp(1.05rem, 1.65vw, 1.4rem);
    line-height: 1.4; */
    /* font-style: italic; */
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.home-about-card {
    padding: 2rem 3rem;
    background-color: rgba(255, 255, 255, 0.86);
    color: var(--ras-text);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    border-radius: 50px;
}

.home-about-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.home-about-eyebrow {
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--ras-green-dark);
    /* padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid var(--ras-green-dark); */
}

.home-about-heading {
    font-weight: 600;
    font-size: clamp(1.3rem, 1.6vw, 1.45rem);
    line-height: 1.35;
    color: var(--ras-green-dark);
    margin-bottom: 1.25rem;
}

/* .home-about-card p:not(.home-about-eyebrow) {
    font-size: 0.95rem;
    line-height: 1.5;
} */

.home-about-buttons {
    --home-about-buttons-inset: 1.25rem;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 2.75rem;
    margin-top: 1.75rem;
    padding-left: calc(var(--bs-gutter-x) * 0.5 + var(--home-about-buttons-inset));
    padding-right: calc(var(--bs-gutter-x) * 0.5 + var(--home-about-buttons-inset));
}

@media (max-width: 3000px) {
    .home-hero .parallax-photo {
        background-image:
            linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.1) 100%),
            url("../../images/home/0p1-HERO-w3000.jpg?v=2");
    }
}

@media (max-width: 2000px) {
    .home-hero .parallax-photo {
        background-image:
            linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.1) 100%),
            url("../../images/home/0p1-HERO-w2000.jpg?v=2");
    }
}

@media (max-width: 991.98px) {
    .home-hero .parallax-photo {
        background-image:
            linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.1) 100%),
            url("../../images/home/0p1-HERO-w1000.jpg?v=2");
    }
}

@media (max-width: 767.98px) {
    .home-hero .parallax-photo {
        background-image:
            linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.1) 100%),
            url("../../images/home/0p1-HERO-w0600.jpg?v=2");
    }

    .home-hero-intro {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .home-about-buttons {
        --home-about-buttons-inset: 0px;

        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 575.98px) {
    .home-hero-intro {
        padding-top: 4rem;
        /* padding-bottom: 3rem; */
    }

    .home-hero-intro .btn-ras {
        width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .home-about-heading br {
        display: none;
    }
}

/* ---------- Home: Beyond Sustainability ---------- */

.home-regeneration {
    position: relative;
    overflow: hidden;
    padding: clamp(2.5rem, 4vw, 3.25rem) 0 clamp(3rem, 7vw, 6rem);
    background-image: linear-gradient(115deg, #a5e25b 0%, #5fa95f 28%, #3a7a5a 55%, #1d4f55 80%, #0c2a4a 100%);
    color: #ffffff;
}

.home-regeneration-ornament-left {
    width: 260px;
    left: -110px;
    top: 30%;
    transform: rotate(20deg);
}

.home-regeneration-ornament-right {
    width: 220px;
    right: -90px;
    top: 52%;
    opacity: 0.25;
    transform: rotate(-15deg);
}

.home-gallery-wrap {
    position: relative;
}

.home-gallery-ornament-left {
    width: 72px;
    left: -36px;
    top: -30px;
    transform: rotate(-20deg);
}

.home-gallery-ornament-right {
    width: 64px;
    right: -30px;
    top: 38%;
    transform: rotate(15deg);
}

.home-regeneration-text {
    margin-top: clamp(1.75rem, 3vw, 2.25rem);
}

.home-regeneration-heading {
    font-weight: 700;
    font-size: clamp(1.4rem, 2vw, 1.6rem);
    margin-bottom: 1.5rem;
}

/* .home-regeneration-text p {
    font-size: 1rem;
    line-height: 1.5;
} */

.home-regeneration-quote {
    margin: 0;
    padding-top: 0.25rem;
}

.home-regeneration-quote-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.home-regeneration-quote blockquote p {
    font-size: clamp(1.15rem, 1.6vw, 1.35rem);
    line-height: 1.45;
    margin-bottom: 0;
}

.home-auspices {
    position: relative;
    margin-top: clamp(2.5rem, 5vw, 4.5rem);
    padding: 1.5rem clamp(1.25rem, 7vw, 6rem);
    border: 2px solid #ffffff;
    border-radius: 6px;
    background-image: linear-gradient(90deg, #1d4991 0%, #0b2447 100%);
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.5;
}

.home-auspices-ornament-left {
    width: 72px;
    left: -12px;
    top: -34px;
    transform: rotate(-10deg);
}

.home-auspices-ornament-right {
    width: 64px;
    right: -24px;
    bottom: -32px;
    transform: rotate(25deg);
}

@media (max-width: 575.98px) {
    .home-gallery-ornament-left,
    .home-gallery-ornament-right {
        display: none;
    }

    .home-auspices {
        font-size: 1rem;
    }

    .home-auspices-ornament-left {
        width: 52px;
        top: -26px;
    }

    .home-auspices-ornament-right {
        width: 48px;
        right: -12px;
        bottom: -24px;
    }
}

/* ---------- Home: Empower yourself (impact numbers) ---------- */

.home-impact {
    padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(3rem, 4vw, 3.5rem);
    background-color: var(--ras-navy);
    color: #ffffff;
    text-align: center;
}

.home-impact .parallax-photo {
    background-image:
        linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.45) 100%),
        url("../../images/home/impact-participants.jpg");
    background-position: center;
}

.home-impact-heading {
    /* font-weight: 700;
    font-size: clamp(2rem, 4.4vw, 3.7rem);
    line-height: 1.15; */
    margin-bottom: 1rem;
}

.home-impact-intro {
    /* max-width: 1030px;
    margin: 0 auto;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.4; */

    font-family: var(--ras-font-body);
    font-style: normal;
}

.home-impact-stats {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    margin: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3.5rem);
}

.home-impact-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-impact-number {
    font-family: var(--ras-font-heading);
    font-weight: 600;
    font-size: clamp(2.75rem, 4.4vw, 3.75rem);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.home-impact-label {
    margin-top: 0.5rem;
    font-weight: 500;
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    line-height: 1.3;
}

@media (max-width: 767.98px) {
    .home-impact .parallax-photo {
        background-image:
            linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.5) 100%),
            url("../../images/home/impact-participants-900.jpg");
    }

    .home-impact-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 1rem;
    }
}

@media (max-width: 575.98px) {
    .home-impact-label br {
        display: none;
    }
}
