.mobile-menu-toggle,
.mobile-menu {
    display: none;
}

@media (max-width: 700px) {
    /* NAVIGAZIONE MOBILE */

    .home-corners,
    .corners {
        z-index: 300;
        mix-blend-mode: normal;
    }

    .home-work,
    .home-info,
    .home-year,
    .corner-work,
    .corner-info,
    .corner-year {
        display: none;
    }

    .corners::before {
        display: none;
    }

    .home-name,
    .corner-name {
        top: 20px;
        left: 16px;
    }

    /* HAMBURGER */

    .mobile-menu-toggle {
        position: fixed;
        top: 4px;
        right: 4px;
        z-index: 310;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;

        width: 44px;
        height: 44px;
        padding: 0;

        border: 0;
        background: transparent;
        color: inherit;
        cursor: pointer;
        touch-action: manipulation;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 22px;
        height: 1px;
        background: currentColor;

        transition: transform 0.3s ease;
    }

    .mobile-menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(3.5px) rotate(45deg);
    }

    .mobile-menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-3.5px) rotate(-45deg);
    }

    /* PANNELLO GLASS */

    .mobile-menu {
        position: fixed;
        inset: 0;
        z-index: 200;

        display: block;
        overflow-y: auto;

        background: rgb(255 255 255 / 35%);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);

        color: #000;
        visibility: hidden;
        transform: translateX(-100%);

        transition:
            transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0s linear 0.55s;
    }

    body.mobile-menu-open .mobile-menu {
        visibility: visible;
        transform: translateX(0);
        transition-delay: 0s;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    body.mobile-menu-open .home-name,
    body.mobile-menu-open .corner-name,
    body.mobile-menu-open .mobile-menu-toggle {
        color: #000;
        text-shadow: none;
    }

    .mobile-menu-content {
        padding: 120px 16px 40px;
    }

    .mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

    .mobile-menu-links a {
    color: inherit;
    font-family: "Inter", sans-serif;
    font-size: 25px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-decoration: none;
}

    .mobile-menu-footer {
    position: absolute;
    bottom: 20px;
    left: 16px;
    right: 16px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.3px;
}

    .mobile-menu-toggle:focus-visible,
    .mobile-menu-links a:focus-visible {
        outline: 1px solid currentColor;
        outline-offset: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-menu,
    .mobile-menu-toggle span {
        transition: none;
    }
}