.header {
    position: relative;
    z-index: 9999;
}

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: flex-end;
    padding-top: 32px;
    padding-bottom: 24px;
}

.menu-btn {
    width: 120px;
    height: 40px;
    background-color: var(--clr-dark-grey);
    color: var(--clr-grey);
    border-radius: 50px;
}

.nav-menu {
    position: fixed;
    inset: 0;
    z-index: 1000;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear 0.45s;
}

.nav-menu.is-open {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

/* SCROLL LOCK */

body.menu-open {
    overflow: hidden;
}

.menu-overlay {
    position: absolute;
    inset: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    background-color: #16131033;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.nav-menu.is-open .menu-overlay {
    opacity: 1;
}

.menu-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1000;
    width: 834px;
    height: 100vh;
    height: 100dvh;
    padding-inline: 32px;
    padding-top: 40px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--clr-grey);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-menu.is-open .menu-wrapper {
    transform: translateX(0);
}

.menu-top {
    display: flex;
    justify-content: space-between;
}

.menu-logo {
    font-family: var(--ff-heading);
    font-weight: 800;
    font-size: 18px;
}

.close-btn {
    font-weight: 300;
    font-size: 18px;
}

.menu-links-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 72px;
    padding-bottom: 72px;
}

.nav-links-group {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
}

.label-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nav-label {
    font-family: var(--ff-heading);
    font-size: 18px;
}

.nav-line {
    width: 50px;
    height: 1px;
    background-color: var(--clr-black);
}

.nav-link {
    font-family: var(--ff-heading);
    font-size: 84px;
    line-height: 84px;
    color: var(--clr-black);
    font-weight: 200;
}

.menu-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-info-group {
    display: flex;
    flex-direction: column;
}

.info-label {
    color: #1613104D;
    font-weight: 800;
    font-size: 20px;
}

.info-text {
    font-weight: 800;
    font-size: 20px;
}

/* TABLET */

@media (max-width: 992px) {
    .menu-overlay {
        display: none;
    }

    .menu-wrapper {
        position: static;
        width: 100%;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .nav-link {
        font-size: 48px;
        line-height: 48px;
    }

    .info-label,
    .info-text {
        font-size: 16px;
    }
}

/* MOBILE PORTRAIT */

@media (max-width: 479px) {
    .nav-link {
        font-size: 40px;
        line-height: 40px;
    }
}


.footer {
    padding-top: 120px;
    padding-bottom: 48px;
}

.footer-link-main-wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 140px;
}

.footer-group {
    display: flex;
    flex-direction: column;
}

.footer-label {
    color: #1613104D;
    font-weight: 800;
    font-size: 20px;
}

.links {
    font-weight: 800;
    font-size: 20px;
}

/* FOOTER REVEAL */

.footer-heading-reveal {
    overflow: hidden;
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    transform: translateY(40px);
    transition:
        clip-path 1000ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 1000ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: clip-path, opacity, transform;
}

.footer-heading-reveal.is-visible {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: translateY(0);
}

.footer-info-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.footer-info-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* TABLET */

@media (max-width: 992px) {
    .footer-label,
    .links {
        font-size: 18px;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .footer {
        padding-top: 60px;
        padding-bottom: 24px;
    }

    .footer-link-main-wrapper {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 60px;
        gap: 12px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .footer-heading-reveal,
    .footer-info-reveal,
    .footer-heading-reveal.is-visible,
    .footer-info-reveal.is-visible {
        clip-path: none;
        opacity: 1;
        transform: none;
        transition: none;
    }
}