/* English homepage only. Load after discover-section.css. */
.home-page .navbar button.nav-link.dropdown-toggle.show::after {
    transform: rotate(223deg);
    vertical-align: 0;
}

.home-page .home-hero {
    display: grid;
    place-items: center;
    position: relative;
    isolation: isolate;
    min-height: clamp(340px, 48vw, 720px);
    padding: 32px 5%;
    text-align: center;
    background: #293725;
}

.home-page .home-hero img,
.home-page .home-hero::after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-page .home-hero img {
    object-fit: cover;
    z-index: -2;
}

.home-page .home-hero::after {
    content: "";
    background: rgb(0 0 0 / 20%);
    z-index: -1;
}

.home-page .home-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 5.35vw, 82px);
    font-weight: 400;
    line-height: 1.1;
}

.home-page .home-stats h5 {
    padding-inline: 32px;
    font-size: 20px;
}

@media (max-width: 1440px) {
    .home-page .home-stats h5 {
        padding-inline: 20px;
    }
}

@media (max-width: 768px) {
    .home-page .home-stats h5 {
        padding-inline: 0;
        font-size: 16px;
    }
}

.home-page .subscribe-box {
    margin-top: clamp(36px, 7vw, 90px);
}

.home-page #discover-section {
    isolation: isolate;
}

.home-page #discover-section .text-vector h5,
.home-page .journey-section .story-content p {
    line-height: 1.55;
}

.home-page #discover-section .text-vector a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.home-page #discover-section .box3 .parallax-img {
    object-position: 28% center;
}

.home-page #discover-section .box4 .parallax-img {
    object-position: center;
}

.home-page .journey-section .story-content {
    max-width: 90%;
}

.home-page .journey-section .story-content p {
    font-size: 16px;
}

.home-page .journey-item p {
    line-height: 1.35;
}

@media (min-width: 992px) {
    .home-page #discover-section {
        --divider-width: max(279px, 19.375vw);
        --learn-photo-extension: 64px;
        padding-bottom: var(--learn-photo-extension);
    }

        .home-page #discover-section img.discovervector {
            /* The fifth band in the original ribbon belongs to Sustain. */
            clip-path: inset(0 0 18.96% 0);
            /*mask-image: linear-gradient(to right, transparent, #000 18px, #000 calc(100% - 45px), transparent);*/
            z-index: 3;
        }

    .home-page #discover-section .vector-side {
        z-index: auto;
    }

    .home-page #discover-section .box1 .vector-side {
        width: calc(50% - var(--divider-width) / 2 + 20px);
        z-index: 2;
    }

    .home-page #discover-section .box1 .img-side.withvector {
        flex: 1;
    }

    .home-page #discover-section .box2 .img-side {
        width: 56%;
    }

    .home-page #discover-section .box2 .vector-side {
        width: 44%;
    }

    .home-page #discover-section .box4 .img-side {
        width: 56%;
        margin-bottom: calc(-1 * var(--learn-photo-extension));
        clip-path: url(#learn-photo-edge);
    }

    .home-page #discover-section .box4 .vector-side {
        width: 44%;
    }

    .home-page #discover-section :is(.box2, .box3) .parallax-img {
        top: -4%;
        height: 110%;
    }

    .home-page #discover-section .box4 .parallax-img {
        top: -1%;
        height: 102%;
        object-position: 86% center;
    }

        .home-page #discover-section img.box-arc3 {
            width: 100%;
            /*height: clamp(122px, 11vw, 196px);*/
            height: 185px;
        }

        .home-page #discover-section img.box-arc4 {
            left: auto;
            right: 0;
            /*height: clamp(105px, 10.5vw, 175px);*/
            height: 225px;
        }
}

@media (max-width: 767.98px) {
    .home-page #discover-section img.arcs {
        width: 100%;
        height: auto;
    }
}

@media (min-width: 1600px) {
    .home-page #discover-section img.box-arc4 {
        height: 208px;
    }
}
