.menu{
    position: fixed;
    inset: 0;
    z-index: 1100;
    pointer-events: none;
}

.menu { z-index: 1300; }

.menu[aria-hidden="true"]{
    display: none;
}

.menu-backdrop{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.0);
    pointer-events: auto;
}

.menu-panel{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;

    width: 50vw;          /* desktop default */
    max-width: 720px;     /* optional: prevents too wide on ultrawide */
    min-width: 420px;     /* optional: prevents too narrow */

    height: 100vh;
    border-radius: 0;

    background: rgba(20,20,20,.92);

    padding: 48px 32px 24px 32px;

    transform: translateX(100%);
    transition: transform .55s cubic-bezier(.2,.9,.2,1);
    pointer-events: auto;

    display: grid;
    grid-template-rows: 1fr auto;
    gap: 22px;
}


.menu.is-open .menu-panel{
    transform: translateX(0);
}

.menu-close{
    position: absolute;
    top: 20px;
    right: 22px;

    background: transparent;
    border: 0;
    color: rgba(255,255,255,.85);
    font-weight: 600;
    letter-spacing: .14em;
    cursor: pointer;
}

.menu-nav{
    display: grid;
    gap: 14px;
    padding-top: 10px;
}

.menu-link{
    font-family: 'Aeroport', system-ui, -apple-system, Segoe UI, Roboto, Arial;
    font-weight: 500;
    font-size: 32px;
    line-height: 1;           /* IMPORTANT */
    letter-spacing: 0;
    text-decoration: none;

    color: #e8e5e5;           /* base color */

    display: inline-block;
    overflow: hidden;

    /* IMPORTANT: lock the visible window to exactly 1 line */
    height: 1em;
}

.menu-link .roll{
    display: block;

    /* IMPORTANT: ensure the two lines stack correctly */
    line-height: 1;
    transform: translate3d(0, 0, 0);
    will-change: transform;

    transition: transform .55s cubic-bezier(.2,.9,.2,1);
}

/* Hover: brighter text */
.menu-link:hover{
    color: #A4A4A4;
}

.menu-link .roll-item{
    display: block;
    height: 1em;
    line-height: 1;

    /* IMPORTANT: force color to inherit (prevents weird overrides) */
    color: inherit;
    opacity: 1;
}

/* Hover: full “reel” cycle */
.menu-link:hover .roll{
    transform: translate3d(0, -1em, 0);  /* IMPORTANT: -1em not -100% */
}





.menu-bottom{
    display: grid;
    gap: 18px;
}

.menu-socials{
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.social{
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.85);
    text-decoration: none;
}

.menu-card{
    position: relative;
    height: 190px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
}

.menu-card-label{
    position: absolute;
    top: 0;
    left: 0;
    padding: 16px 18px;
    font-size: 13px;
    letter-spacing: .08em;
    opacity: .85;
    z-index: 2;
}

.menu-card-media{
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.55));
    filter: grayscale(1);
}

/* No selection/highlight */
.menu, .menu *{
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/* Social icons hover */
.menu-socials .social{
    background: rgba(255,255,255,.14);   /* brighter */
    color: rgb(209, 205, 205, 0.4);
    transition:
            background .25s ease,
            color .70s ease;
}

.menu-socials .social:hover{
    background: rgba(255,255,255,.06);
    color: rgba(255, 255, 255, 0.8);
}


.social .icon{
    width: 36px;
    height: 36px;
    display: block;
}

.menu-card{
    border-radius: 16px;
    overflow: hidden;
    border: none;
    background: rgba(255,255,255,.05);
    height: 220px; /* adjust if needed */
    position: relative;
}

.menu-card-link{
    position: absolute;
    inset: 0;
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Background image */
.menu-card-link::before{
    content: "";
    position: absolute;
    inset: 0;
    background:
            linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.55)),
            url("../media/img/menu-contact.png") center/cover no-repeat;
    filter: grayscale(1);
    transform: scale(1.02);
}

.menu-card-label{
    position: absolute;
    top: 8px;
    left: 10px;
    font-size: 13px;
    letter-spacing: .06em;
    color: rgba(255,255,255,.85);
    z-index: 2;
}

.menu-card-cta{
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: rgba(0,0,0,.9);
    z-index: 2;
    transition: transform .25s ease, background .25s ease;
}

.menu-card-cta-icon{
    width: 48px;
    height: 48px;
    display: block;
}

.menu-card-cta-icon:hover{
 }

.menu-card-link:hover .menu-card-cta{
    transform: translateX(2px);
    opacity: .55;
}

.topbar{
    position: fixed;
    top: 24px;
    left: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1100;
    pointer-events: none;
}

.topbar .brand,
.topbar .menu-btn{
    pointer-events: auto;
}

.brand{
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.brand-logo{
    width: 22px;
    height: 22px;
    display: block;
    object-fit: contain;
}

.menu-btn{
    background: transparent;
    border: 0;
    font-weight: 600;
    letter-spacing: .14em;
    cursor: pointer;
    opacity: .9;
}

.p-dark{color: #FBFBFB;}
.p-not-dark {color: #454545;}
