:root {
    --page-nav: 0;
}

/*PAGE NAV*/
#page-nav {
    display: flex;
    align-items: center;
    height: 2.618rem;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 .09rem .09rem rgba(20, 10, 0, .03), 0 .146rem .146rem rgba(20, 10, 0, .03), 0 .236rem .236rem rgba(20, 10, 0, .03), 0 .382rem .382rem rgba(20, 10, 0, .03)
}

#page-nav div {
    width: 100%;
    display: flex;
    padding: 0 .618rem;
    overflow-x: auto
}

#page-nav ul {
    white-space: nowrap;
    margin: 0 auto
}

#page-nav li {
    display: inline-block
}

#page-nav li+li {
    margin-left: 1.618rem
}

#page-nav li a {
    font-weight: 500;
    letter-spacing: .3px;
    color: inherit;
    text-decoration: none
}

/**/

section {
    position: relative;
    margin-top: 0
}

header {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-top: 0;
}

header *+* {
    margin-top: 1em
}

#main-header {
    position: relative;
    justify-content: center;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: calc(100vh - var(--nav));
    height: calc(100dvh - var(--nav));
    padding-bottom: var(--nav);
}

#main-header figure,
footer figure {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    height: inherit
}

h1,
h2,
.stat {
    font-family: 'Roboto Flex';
    font-stretch: 50%;
    text-transform: uppercase;
}

h1 {
    font-weight: 650;
    letter-spacing: 1px;
    color: #fff;
}

h1 span {
    display: block;
    font-size: clamp(100%, 61.8% + 0.618vw, 161.8%);
    font-weight: 400
}

section>header,
.inner {
    position: relative;
    z-index: 5;
    width: 86vw;
    max-width: 100ch;
    margin-top: 0;
    margin-right: auto;
    margin-left: auto;
    padding: 1.618rem 0 4.236em;
}

section>header {
    padding: 4.236rem 0 2.618rem;
}

section>header>*,
.inner>* {
    width: 100%;
    max-width: 34.8rem;
    margin-right: auto;
    margin-left: auto
}

figure {
    width: 100%;
    margin-bottom: 2.618rem
}

.inner figure {
    max-width: 62ch;
}

@supports(object-fit: cover) {

    figure:not(.section-img) iframe,
    figure img {
        height: 100%;
        object-fit: cover;
    }
}

.inner figure img {
    aspect-ratio: 1.618/1
}

.inner figure>* {
    border-radius: .236rem;
    box-shadow: 0 0 1.618rem rgba(20, 10, 0, .08), 0 0 .618rem rgba(20, 10, 0, .08), 0 .056rem .056rem rgba(20, 10, 0, .08), 0 .09rem .09rem rgba(20, 10, 0, .08), 0 .146rem .146rem rgba(20, 10, 0, .08), 0 .236rem .236rem rgba(20, 10, 0, .08)
}

.section-img {
    width: 100%;
    max-width: none;
    height: 100vmin;
    margin: 0;
}

/*VIDEO*/
.video-container {
    max-width: none;
}

.section-img.video-container {
    height: auto;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
    border: none
}

@supports not (aspect-ratio:16/9) {
    .video-container {
        position: relative
    }

    .video-container div {
        padding-top: 56.25%
    }

    .video-container iframe {
        position: absolute;
        top: 0px;
        right: 0px;
        bottom: 0px;
        left: 0px;
        width: 100%;
        height: 100%
    }
}

.multiple.section-img div {
    height: 100%
}

/*VERTICLE STAT*/
@supports(writing-mode:vertical-rl) {
    .verticle-stat {
        width: auto;
        float: left;
        margin-right: 1rem;
        /*        margin-bottom: 1rem;*/
        margin-left: -1.382rem;
        writing-mode: vertical-rl;
        display: flex;
        flex-direction: column
    }

    .verticle-stat+* {
        margin-top: 0
    }

    .stat {
        font-size: 6.854rem;
        font-size: clamp(6.854rem, 4.236rem + 6.854vw, 11.089rem);
        line-height: .8;
        font-weight: 700;
        font-stretch: 50%;
        font-feature-settings: "tnum";
        letter-spacing: 1px;
    }

    .stat-comma {
        font-size: 4.236rem;
        font-size: clamp(4.236rem, 2.618rem + 4.236vw, 6.854rem);
        position: relative;
        left: -1rem
    }

    .stat-desc {
        font-size: 75%;
        line-height: 1;
        font-stretch: 30%;
        text-transform: uppercase;
        margin-top: .382em
    }
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin-top: 0;
    padding: 8vmin;
}

footer::after {
    background: linear-gradient(to bottom, rgba(0, 0, 0, .08), rgba(0, 0, 0, 0)3%), linear-gradient(to bottom, rgba(0, 0, 0, .08), rgba(0, 0, 0, 0)5%), linear-gradient(to bottom, rgba(0, 0, 0, .08), rgba(0, 0, 0, 0)8%), linear-gradient(to top, rgba(0, 0, 0, .03), rgba(0, 0, 0, 0)2%), linear-gradient(to top, rgba(0, 0, 0, .03), rgba(0, 0, 0, 0)3%), linear-gradient(to top, rgba(0, 0, 0, .03), rgba(0, 0, 0, 0)5%), linear-gradient(to top, rgba(255, 255, 255, .6), rgba(255, 255, 255, .6));
    z-index: -1
}

@media(min-aspect-ratio:1/1) {
    .section-img {
        width: 50%;
        height: calc(100vh - 2.618rem);
        margin-left: auto;
        position: sticky;
        top: 0
    }

    section>header {
        margin-top: calc(-100vmin + 2.618rem);
        margin-bottom: 0;
        padding-top: calc(50vh - 4.236rem);
        padding-bottom: 1.618rem
    }


    /*SECTION IMAGE CONTAINER WITH VIDEO*/
    .section-img.video-container {
        top: calc((100% - 1.618rem)*.5625/2);
        background: none !important
    }

    .section-img.video-container iframe {
        width: calc(100% - 1.618rem);
    }

    .section-img.video-container+header {
        margin-top: calc((100% - 1.618rem)*.5625/-2);
    }

    /**/

    /*SECTION IMAGE CONTAINER WITH MULTIPLE IMAGES*/
    @supports (height: var(--nav)) {
        .multiple.section-img {
            height: 100%;
            margin-top: 0;
            position: absolute;
            top: 0;
            left: 0;
            background: none !important
        }

        .multiple.section-img div {
            display: block;
            height: calc(100% / var(--image-count));
            margin-top: 0;
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        }

        .multiple.section-img div:first-of-type {
            position: sticky;
            top: 0
        }

        .multiple.section-img img {
            border-radius: 0;
            width: 50%;
            height: calc(100vh - 2.618rem);
            position: fixed;
            bottom: 0;
        }

        .multiple.section-img div:first-of-type img {
            width: 100%;
            height: calc(100vh - 2.618rem);
            position: initial
        }

        section:nth-of-type(even) .multiple.section-img img {
            left: 0
        }

        section:nth-of-type(odd) .multiple.section-img img {
            right: 0
        }

        .multiple.section-img+header {
            margin-top: 0 !important
        }
    }

    /**/

    section:first-of-type .section-img {
        display: block
    }

    section>header,
    .inner {
        width: 50%;
        margin-right: 0;
        margin-left: 0;
        padding-left: 3vw;
        padding-right: 3vw;
    }

    section:nth-of-type(even) .section-img {
        margin-right: auto;
        margin-left: 0
    }

    section:nth-of-type(even)>header,
    section:nth-of-type(even) .inner {
        margin-left: auto
    }

    .fullscreen-img {
        display: block;
        width: 100%;
        max-width: none;
        height: 100vh;
        margin: 0;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }

    .fullscreen-img.pseudo::after {
        background: linear-gradient(to bottom, rgba(0, 0, 0, .13), rgba(0, 0, 0, 0)3%), linear-gradient(to bottom, rgba(0, 0, 0, .13), rgba(0, 0, 0, 0)5%), linear-gradient(to bottom, rgba(0, 0, 0, .13), rgba(0, 0, 0, 0)8%), linear-gradient(to top, rgba(0, 0, 0, .05), rgba(0, 0, 0, 0)2%), linear-gradient(to top, rgba(0, 0, 0, .05), rgba(0, 0, 0, 0)3%), linear-gradient(to top, rgba(0, 0, 0, .05), rgba(0, 0, 0, 0)5%);
        z-index: 99
    }

    .fullscreen-img>* {
        width: 100%;
        max-width: none;
        height: 100%;
        object-fit: cover;
        position: fixed;
        bottom: 0;
        left: 0;
        /*        z-index: -1;*/
    }

    @supports(writing-mode:vertical-rl) {
        .verticle-stat {
            margin-left: 0
        }
    }
}