  .navbar{
  position: absolute;
  top: 18px;
  left: 0;
  width: 100%;
  z-index: 120;
  background: transparent;
  border: none;
  pointer-events: none;
}

.navbar-inner{
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo,
.nav-right{
  pointer-events: auto;
}

.nav-logo{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  min-width:140px;
}

.nav-logo img{
  height: 78px;
  width: auto;
  display:block;
  object-fit: contain;
  transform: translateY(-2px);
  opacity: 1;
}

.nav-right{
  display:flex;
  align-items:center;
  justify-content:flex-end;
}

.nav-center{
  display:none;
}

/* ALWAYS visible menu button */
.menu-btn{
  background: transparent;
  border: none;
  padding: 0;
  width: 75px;
  height: 75px;
  overflow: hidden;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .18s ease;
  position: relative;
  z-index: 210;
}

.menu-btn-fixed{
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 260;
}

.menu-btn-fixed:hover{
  transform: translateX(-50%) translateY(-1px);
}

   .swap{
  position: relative;
  width: 75px;
  height: 75px;
  display: block;
  overflow: hidden; /* contain the scaled svg */
  --svg1OpacityDelay: 0ms;
  --svg2InDelay: 0ms;
}

.swap svg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  transform-origin:50% 50%;
  transform-box: fill-box;
  will-change: transform, opacity;
  pointer-events: none; /* don't let scaled svg create weird hit area */
}
    .swap .svg1{
      opacity: 1;
      transform: rotate(0deg);
      transition:
        transform 260ms ease,
        opacity 220ms ease var(--svg1OpacityDelay);
    }
    .swap .svg2{
      opacity: 0;
      transform: scale(4.8) rotate(6deg);
      transition:
        transform 360ms ease var(--svg2InDelay),
        opacity 220ms ease var(--svg2InDelay);
    }

    .swap.is-on{
      --svg1OpacityDelay: 40ms;
      --svg2InDelay: 20ms;
    }
    .swap.is-on .svg1{
      transform: rotate(-90deg);
      opacity: 0;
    }
    .swap.is-on .svg2{
      opacity: 1;
      transform: scale(6) rotate(-45deg);
    }

    .swap.is-off{
      --svg1OpacityDelay: 0ms;
      --svg2InDelay: 0ms;
    }

.menu-btn.is-open .swap{
  transform: rotate(45deg);
  transition: transform 320ms ease;
}

.menu-btn.is-closing .swap{
  transform: rotate(0deg);
  transition: transform 320ms ease;
}



    .nav-right{
      display:flex;
      align-items:center;
      justify-content: flex-end;
    }
.phone-link{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  height: 46px;
  padding: 0 14px 0 16px;
  border-radius: 14px;
  text-decoration:none;
  color: rgba(255,255,255,0.92);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.02em;
  border: none;
  background: transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
  opacity: 1;
}

    .phone-link:hover{
    color:red;
    }
.phone-arrow{
  width: 30px;
  height: auto;
  display: block;
   color: var(--red);
}
.social-top svg{
  width: 22px;
  height: auto;
  color: var(--red);
}
    /* ===================== MENU PANEL ===================== */
.menu-panel{
  position: fixed;
  inset: 0;
  background-image: url("images/Alltype Web BG.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 150;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 420ms ease, opacity 320ms ease;
  padding-top: 0px;
  overflow: auto;
}

.menu-panel-inner{
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  padding-top: 8.5rem; /* leaves room for fixed-positioned header row */
  padding-bottom: 4rem;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.menu-panel-top{
  position: absolute;
  top: 18px;
  left: 0;
  width: 100%;
  z-index: 2;
  margin: 0;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  pointer-events: none;
}

.menu-panel-brand,
.menu-phone-link{
  pointer-events: auto;
}

.menu-panel-brand{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 140px;
}

.menu-panel-brand img{
  height: 78px;
  width: auto;
  display: block;
  object-fit: contain;
  transform: translateY(-2px);
}

.menu-phone-link{
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
}

    .menu-panel.is-open{
      transform: translateY(0);
      opacity: 1;
      pointer-events: auto;
    }


.menu-panel::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.75);
  z-index:0;
}

.menu-panel-inner{
  position: relative;
  z-index: 1;
  padding-top: 10rem;
}
    .menu-left,
    .menu-right{
      display: flex;
      flex-direction: column;
      min-height: 100%;
    }
    @media (min-width: 1100px){
      .menu-right {
      margin-left: -4rem;
    }
    }
    
    .menu-list{
      display: grid;
      gap: 2px;
      margin-top: 0;
    }

.menu-link{
  display: inline-block;
  text-decoration: none;
  font-size: clamp(64px, 6vw, 108px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.03em;
  padding: 5px 0;

  color: #fff;
  background-image: linear-gradient(to right, var(--red), var(--red));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-position: left center;
  -webkit-background-clip: text;
  background-clip: text;

  transition:
    background-size 420ms cubic-bezier(.22,.61,.36,1),
    color 420ms cubic-bezier(.22,.61,.36,1),
    transform .18s ease;
}

.menu-link:hover{
  color: transparent;
  background-size: 100% 100%;
  transform: translateX(6px);
}
    .menu-left-bottom{
      margin-top: auto;
      display: grid;
      gap: 2.5rem;
      padding-top: 3rem;
    }

    .social-row{
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      max-width: 520px;
    }

    .social-card{
      text-decoration: none;
      color: #fff;
      display: grid;
      gap: 8px;
      align-content: start;
    }

    .social-top{
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 24px;
      font-weight: 700;
      line-height: 1;
    }

 

    .social-sub{
      font-size: 24px;
      color: rgba(255, 255, 255, 0.899);
      letter-spacing: .02em;
     
    }

    .office-block{
      max-width: 520px;
    }

    .office-title{
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 14px;
    }

    .office-block p{
      margin: 0;
      font-size: 27px;
      line-height: 1.2;
      color: rgba(255,255,255,.85);
    }

    .menu-right-top{
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: start;
    }

    .menu-section-title{
      font-size: clamp(16px, 3vw, 26px);
      font-weight: 700;
      color: var(--red);
      letter-spacing: .06em;
      text-transform: none;
      margin-bottom: 3rem;
    }

    .menu-sublist{
      display: grid;
      gap: 12px;
    }

    .menu-subitem{
      color: #fff;
      text-decoration: none;
      font-size: clamp(24px, 3.5vw, 32px);
      line-height: 0.72;
      padding-bottom: 0.22em; /* space for descenders */
      font-weight: 600;
      opacity: .92;
        background-image: linear-gradient(to right, var(--red), var(--red));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-position: left center;
  -webkit-background-clip: text;
  background-clip: text;

      transition:
    background-size 420ms cubic-bezier(.22,.61,.36,1),
    color 420ms cubic-bezier(.22,.61,.36,1),
    transform .18s ease;
    }

    .menu-subitem:hover{
      color: transparent;
  background-size: 100% 100%;
  transform: translateX(6px);
    }


    /* ===================== MOBILE OPTIMIZATION ===================== */
@media (max-width: 991px){

  .navbar{
    top: 12px;
  }

  .navbar-inner{
    height: auto;
    min-height: 64px;
    align-items: center;
    gap: .75rem;
  }

  .nav-logo{
    min-width: 0;
    max-width: 150px;
  }

  .nav-logo img{
    height: 52px;
    transform: none;
  }

  .nav-right{
    margin-left: auto;
  }

  .phone-link{
    font-size: 16px;
    height: 40px;
    padding: 0 10px 0 12px;
    gap: 8px;
    border-radius: 12px;
  }

  .phone-arrow{
    width: 20px;
  }

  .menu-btn{
    width: 58px;
    height: 58px;
  }

  .menu-btn-fixed{
    top: 14px;
  }

  .swap{
    width: 58px;
    height: 58px;
  }

  .menu-panel{
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .menu-panel-top{
    top: 12px;
    align-items: center;
    gap: .75rem;
    padding: 0 var(--gutter);
  }

  .menu-panel-brand{
    min-width: 0;
    max-width: 150px;
  }

  .menu-panel-brand img{
    height: 52px;
    transform: none;
  }

  .menu-phone-link{
    font-size: 15px;
    height: 38px;
    padding: 0 10px 0 12px;
    gap: 8px;
  }

  .menu-panel-inner{
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 6.5rem;
    padding-bottom: 2rem;
  }

  .menu-left,
  .menu-right{
    min-height: auto;
  }

  .menu-list{
    gap: 4px;
  }

  .menu-link{
    font-size: clamp(38px, 12vw, 64px);
    line-height: .95;
    padding: 6px 0;
  }

  .menu-right{
    margin-left: 0 !important;
  }

  .menu-right-top{
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .menu-section-title{
    font-size: 15px;
    margin-bottom: 1rem;
    letter-spacing: .08em;
  }

  .menu-sublist{
    gap: 10px;
  }

  .menu-subitem{
    font-size: clamp(20px, 6vw, 28px);
    line-height: 1.05;
    padding-bottom: 0;
  }

  .menu-left-bottom{
    margin-top: 0;
    padding-top: 1.5rem;
    gap: 1.25rem;
  }

  .social-row{
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 100%;
  }

  .social-top{
    font-size: 18px;
  }

  .social-sub{
    font-size: 16px;
  }

  .office-block{
    max-width: 100%;
  }

  .office-block p{
    font-size: 18px;
    line-height: 1.45;
    word-break: break-word;
  }
}


/* ===================== SMALL MOBILE ===================== */
@media (max-width: 640px){

  .navbar{
    top: 10px;
  }

  .navbar-inner{
    gap: .5rem;
  }

  .nav-logo{
    max-width: 120px;
  }

  .nav-logo img{
    height: 44px;
  }

  .phone-link{
    font-size: 0;
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
    border-radius: 999px;
  }

  .phone-link span{
    display: none;
  }

  .phone-arrow{
    width: 18px;
  }

  .menu-btn{
    width: 52px;
    height: 52px;
  }

  .menu-btn-fixed{
    top: 10px;
  }

  .swap{
    width: 52px;
    height: 52px;
  }

  .menu-panel-top{
    top: 10px;
  }

  .menu-panel-brand{
    max-width: 120px;
  }

  .menu-panel-brand img{
    height: 44px;
  }

  .menu-phone-link{
    font-size: 0;
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
    border-radius: 999px;
  }

  .menu-phone-link span{
    display: none;
  }

  .menu-panel-inner{
    padding-top: 5.8rem;
    gap: 2rem;
  }

  .menu-link{
    font-size: clamp(30px, 11vw, 46px);
  }

  .menu-subitem{
    font-size: 20px;
  }

  .office-block{
    margin-top: 1.5rem !important;
  }

  .office-block p{
    font-size: 16px;
    line-height: 1.5;
  }
}
.swap .svg2{
  opacity: 0;
  transform: scale(1) rotate(6deg);
  transition:
    transform 360ms ease var(--svg2InDelay),
    opacity 220ms ease var(--svg2InDelay);
}

.swap.is-on .svg2{
  opacity: 1;
  transform: scale(1) rotate(-45deg);
}