/* =====================================================
   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;

}




/* SCROLL INDICATOR */


.scroll-indicator{

    position:fixed;

    left:45px;

    top:50%;

    transform:translateY(-50%);

    z-index:900;

    display:flex;

    align-items:center;

    gap:25px;

}



.progress-line{

    width:2px;

    height:220px;

    background:rgba(255,255,255,.25);

    overflow:hidden;

}



.progress{

    width:100%;

    height:0%;

    background:#fff;

}



.numbers{

    display:flex;

    flex-direction:column;

    gap:25px;

}



.numbers span{

    font-size:12px;

    letter-spacing:2px;

    opacity:.35;

    transition:.4s ease;

}



.numbers span.active{

    opacity:1;

    transform:translateX(8px);

}





/* =====================================================
   CAROUSEL
===================================================== */

.carousel {
    position: relative;

    width: 100%;
}



/* =====================================================
   PANELS
===================================================== */

.panel {
    position: relative;

    top: 0;

    width: 100%;

    height: 50vh;

    overflow: hidden;

    display: flex;

    align-items: flex-end;

    color: #fff;

    text-decoration: none;
}


a.panel {
    text-decoration: none;
}



/* =====================================================
   PANEL IMAGE
===================================================== */

.image {
    position: absolute;

    inset: -10%;

    background-size: cover;

    background-position: center;

    will-change: transform;

    transform:
        scale(1.05);

    z-index: 1;
}



/* =====================================================
   PANEL OVERLAY
===================================================== */

.overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.15),
            rgba(0,0,0,0.9)
        );

    z-index: 2;
}



/* =====================================================
   PANEL CONTENT
===================================================== */

.content {
    position: relative;

    z-index: 5;

    margin-left: 110px;

    margin-bottom: 100px;
}


.content h1 {
    font-size:
        clamp(
            55px,
            7vw,
            100px
        );

    line-height: .9;

    letter-spacing: -3px;

    font-weight: 700;
}


.content p {
    margin-top: 25px;

    font-size: 17px;

    letter-spacing: 3px;

    opacity: .8;

    max-width: 700px;
}



/* =====================================================
   DESKTOP
===================================================== */

@media (min-width: 901px) {

    .panel {
        height: 50vh;
    }

}



/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .site-header {
        padding: 30px;
    }


    .desktop-navigation {
        display: none;
    }


    .scroll-indicator {
        display: none;
    }


    .content {
        margin-left: 60px;

        margin-bottom: 80px;
    }

}



/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .site-header {
        padding: 25px;
    }


    .desktop-navigation {
        display: none;
    }


    .menu-toggle {
        display: block;
    }


    .panel {
        height: 100svh;
    }


    .content {
        margin-left: 30px;

        margin-right: 30px;

        margin-bottom: 70px;
    }


    .content h1 {
        font-size:
            clamp(
                48px,
                13vw,
                80px
            );

        letter-spacing: -2px;
    }


    .content p {
        font-size: 13px;

        letter-spacing: 2px;
    }

}