* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family: Arial, sans-serif;

    background: #fff;
    color: #111;

    overflow-x: hidden;
}


/* =========================
   HEADER
   ========================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100px;

    padding: 0 60px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #000;

    z-index: 40;
}

.site-title {
    color: #fff;

    font-size: 1.4rem;
    font-weight: 700;

    text-transform: uppercase;
}


/* =========================
   HAMBURGER
   ========================= */

.menu-toggle {
    width: 50px;
    height: 50px;

    padding: 0;
    border: 0;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: transparent;

    cursor: pointer;

    transition:
        transform 650ms cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle.open {
    transform: rotate(-45deg);
}

.line {
    display: block;

    width: 100%;
    height: 6px;

    border-radius: 5px;

    background: #fff;
}

.line.short {
    width: 50%;
}

.line.start {
    transform-origin: right center;

    transition:
        transform 650ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line.end {
    align-self: flex-end;

    transform-origin: left center;

    transition:
        transform 650ms cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle.open .line.start {
    transform: rotate(-90deg) translateX(3px);
}

.menu-toggle.open .line.end {
    transform: rotate(-90deg) translateX(-3px);
}


/* =========================
   SLIDE-OUT MENU
   ========================= */

.menu {
    position: fixed;
    top: 0;
    right: 0;

    width: 300px;
    height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            to left,
            rgba(70, 70, 70, 0.96),
            rgba(130, 130, 130, 0.78)
        );

    transform: translateX(100%);

    transition:
        transform 850ms cubic-bezier(0.22, 1, 0.36, 1);

    z-index: 30;
}

.menu.open {
    transform: translateX(0);
}

.menu ul {
    list-style: none;
}

.menu li {
    margin: 18px 0;
}

.menu a {
    color: #fff;

    font-size: 1.4rem;

    text-decoration: none;
}


/* =========================
   PAGE CONTENT
   ========================= */

.page-content {
    width: min(1200px, calc(100% - 80px));

    margin: 0 auto;

    padding-top: 150px;
    padding-bottom: 250px;
}


/* =========================
   SCROLLING SPACE
   ========================= */

.scroll-space {
    height: 120vh;
}


/* =========================
   PULL-UP FOOTER
   ========================= */

.site-footer {
    --footer-progress: 0;

    position: fixed;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 72vh;

    background: #000;

    transform:
        translateY(
            calc(
                100% -
                (var(--footer-progress) * 100%)
            )
        );

    z-index: 25;

    pointer-events: auto;
}

.footer-content {
    position: absolute;

    top: 50%;
    left: 50%;

    width: min(1100px, calc(100% - 80px));

    transform: translate(-50%, -50%);

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    color: #A5A5A5;
}


/* footer logos */

.footer-logos {
    width: 100%;

    display: grid;
    grid-template-columns: 1fr 1px 1fr;

    align-items: center;

    margin-bottom: 40px;
}

.footer-logos img:first-child {
    justify-self: end;

    margin-right: 45px;

    max-width: 42%;
    max-height: 230px;

    transform: scale(0.75);
}

.footer-logos img:last-child {
    justify-self: start;

    margin-left: 45px;

    max-width: 42%;
    max-height: 230px;

    transform: scale(1.25);
}

.logo-divider {
    width: 1px;
    height: 190px;

    background: #A5A5A5;
}


/* footer links */

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 25px;

    margin-bottom: 30px;
}

.footer-links a {
    color: #A5A5A5;

    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

.footer-content small {
    color: #A5A5A5;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 700px) {

    .site-header {
        height: 85px;

        padding: 0 25px;
    }

    .site-title {
        max-width: 220px;

        font-size: 1rem;
    }

    .menu-toggle {
        width: 42px;
        height: 34px;
    }

    .line {
        height: 5px;
    }

    .menu {
        width: 100vw;
    }

    .page-content {
        width: calc(100% - 40px);

        padding-top: 120px;
        padding-bottom: 200px;
    }

    .site-footer {
        height: 85vh;
    }

    .footer-content {
        width: calc(100% - 40px);
    }

    .footer-logos {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .footer-logos img:first-child,
    .footer-logos img:last-child {
        justify-self: center;

        margin: 0;

        max-width: 85%;
        max-height: 150px;
    }

    .logo-divider {
        width: 70%;
        height: 1px;

        justify-self: center;
    }

    .footer-links {
        flex-wrap: wrap;

        gap: 15px;
    }
}