/* =====================================================
   RESET
===================================================== */

* {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}


html {

    width: 100%;

    background: #000;

    scroll-behavior: auto;

}


body {

    width: 100%;

    min-height: 100vh;

    background: #000;

    color: #fff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    overflow-x: hidden;

}



/* =====================================================
   HEADER
===================================================== */

.site-header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    padding:
        35px 50px 80px;

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    z-index: 1000;

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.75),
            rgba(0,0,0,.3) 50%,
            transparent
        );

}


.site-header a,
.menu-toggle {

    pointer-events: auto;

}


.logo {

    color: #fff;

    text-decoration: none;

    font-size: 12px;

    font-weight: 400;

    letter-spacing: 3px;

}


.desktop-navigation {

    display: flex;

    gap: 45px;

}


.desktop-navigation a {

    color: #fff;

    text-decoration: none;

    font-size: 12px;

    letter-spacing: 2px;

    opacity: .7;

    transition:
        opacity .25s ease;

}


.desktop-navigation a:hover {

    opacity: 1;

}



/* =====================================================
   MOBILE MENU BUTTON
===================================================== */

.menu-toggle {

    display: none;

    position: relative;

    width: 30px;

    height: 22px;

    border: 0;

    padding: 0;

    background: transparent;

    cursor: pointer;

    z-index: 1100;

}


.menu-toggle span {

    position: absolute;

    left: 0;

    width: 100%;

    height: 1px;

    background: #fff;

    transition:
        top .3s ease,
        transform .3s ease;

}


.menu-toggle span:first-child {

    top: 6px;

}


.menu-toggle span:last-child {

    top: 16px;

}


.site-header.menu-open
.menu-toggle span:first-child {

    top: 11px;

    transform:
        rotate(45deg);

}


.site-header.menu-open
.menu-toggle span:last-child {

    top: 11px;

    transform:
        rotate(-45deg);

}



/* =====================================================
   MOBILE NAVIGATION
===================================================== */

.mobile-navigation {

    position: fixed;

    inset: 0;

    width: 100%;

    height: 100svh;

    padding:
        120px 10%;

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 25px;

    background: #000;

    transform:
        translateX(100%);

    transition:
        transform .5s
        cubic-bezier(.77,0,.18,1);

    pointer-events: none;

    z-index: 1050;

}


.mobile-navigation a {

    color: #fff;

    text-decoration: none;

    font-size:
        clamp(
            42px,
            10vw,
            80px
        );

    line-height: .9;

    letter-spacing: -3px;

    font-weight: 500;

}


.site-header.menu-open
.mobile-navigation {

    transform:
        translateX(0);

    pointer-events: auto;

}



/* =====================================================
   PROJECT INTRO
===================================================== */

.project-intro {

    position: relative;

    width: 100%;

    min-height: 100vh;

    padding:
        140px 10% 80px;

    display: grid;

    grid-template-columns:
        1fr
        .6fr
        1.5fr
        2.5fr;

    gap: 60px;

    align-content: center;

    background: #000;

    z-index: 1;

}


.intro-item {

    display: flex;

    flex-direction: column;

    gap: 12px;

}


.intro-label {

    font-size: 10px;

    line-height: 1;

    letter-spacing: 2px;

    text-transform: uppercase;

    opacity: .4;

}


.intro-value {

    font-size: 15px;

    line-height: 1.5;

}


.synopsis .intro-value {

    max-width: 550px;

}



/* =====================================================
   PROJECT LIST
===================================================== */

.project-list {

    position: relative;

    width: 100%;

    z-index: 5;

}



/* =====================================================
   PROJECT
===================================================== */

.project {

    position: relative;

    width: 100%;

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    justify-content: flex-start;

    background: #000;

    scroll-snap-align: start;

}



/* =====================================================
   IMAGE FRAME
===================================================== */

.media-frame {

    position: relative;

    width: 100%;

    height: 62vh;

    min-height: 400px;

    max-height: 700px;

    display: flex;

    justify-content: center;

    align-items: center;

    overflow: hidden;

    background: #080808;

}



/*
    The image itself is NOT forced to cover
    the entire viewport.

    This is important for VFX screenshots.
*/

.media-frame img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: contain;

    object-position: center;

    transform:
        scale(1.01);

    will-change:
        transform;

}



/* =====================================================
   PROJECT INFORMATION
===================================================== */

.project-information {

    flex: 1;

    width: 100%;

    min-height: 38vh;

    padding:
        35px 10% 45px;

    display: grid;

    grid-template-columns:
        100px
        1fr;

    gap: 40px;

    background: #000;

}


.project-number {

    padding-top: 6px;

    font-size: 11px;

    line-height: 1;

    letter-spacing: 2px;

    opacity: .4;

}


.project-copy {

    display: flex;

    flex-direction: column;

    gap: 12px;

    max-width: 800px;

}


.project-copy h2 {

    font-size:
        clamp(
            32px,
            4vw,
            58px
        );

    line-height: .95;

    letter-spacing: -2px;

    font-weight: 500;

}


.project-category {

    font-size: 10px;

    letter-spacing: 2px;

    opacity: .5;

}


.project-copy p {

    margin-top: 8px;

    max-width: 600px;

    font-size: 14px;

    line-height: 1.6;

    opacity: .65;

}



/* =====================================================
   PROJECT SNAP
===================================================== */

.project-list {

    scroll-snap-type: y proximity;

}



/* =====================================================
   PROGRESS INDICATOR
===================================================== */

.project-progress {

    position: fixed;

    left: 45px;

    top: 50%;

    transform:
        translateY(-50%);

    display: flex;

    align-items: center;

    gap: 25px;

    z-index: 900;

    pointer-events: none;

}


.progress-track {

    width: 2px;

    height: 200px;

    background:
        rgba(255,255,255,.2);

    overflow: hidden;

}


.progress-bar {

    width: 100%;

    height: 25%;

    background: #fff;

}


.progress-numbers {

    display: flex;

    flex-direction: column;

    gap: 22px;

}


.progress-numbers span {

    font-size: 11px;

    letter-spacing: 2px;

    opacity: .3;

    transition:
        opacity .3s ease,
        transform .3s ease;

}


.progress-numbers span.active {

    opacity: 1;

    transform:
        translateX(7px);

}



/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {


    .site-header {

        padding:
            30px;

    }


    .project-intro {

        grid-template-columns:
            1fr 1fr;

        gap:
            40px 30px;

        padding:
            120px 10% 70px;

    }


    .synopsis {

        grid-column:
            1 / -1;

    }


    .media-frame {

    position: relative;

    width: 100%;

    height: 62vh;

    min-height: 400px;

    max-height: 700px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    background: #000;

}


    .project-information {

        min-height: 42vh;

        padding:
            30px 10% 40px;

        grid-template-columns:
            60px 1fr;

        gap: 25px;

    }


    .project-progress {

        left: 25px;

    }

}



/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {


    .site-header {

        padding:
            25px;

    }


    .desktop-navigation {

        display: none;

    }


    .menu-toggle {

        display: block;

    }


    .project-intro {

        grid-template-columns: 1fr;

        min-height: 100svh;

        gap: 28px;

        padding:
            110px 10% 50px;

    }


    .synopsis {

        grid-column: auto;

    }


    .media-frame {

        height: 55svh;

        min-height: 300px;

    }


    .project-information {

        min-height: 45svh;

        padding:
            28px 10% 40px;

        grid-template-columns:
            45px 1fr;

        gap: 20px;

    }


    .project-copy h2 {

        font-size: 36px;

        letter-spacing: -1.5px;

    }


    .project-copy p {

        font-size: 13px;

    }


    .project-progress {

        display: none;

    }

}