/* =========================================================
   SITE HEADER
========================================================= */

.site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 9502;
    width: 100%;
    margin-inline: auto;
    pointer-events: none;
    /* display: flex;
    justify-content: space-between;
    align-items: center; */
}
.site-logo {
    position: absolute;
    top: 0;
    left: 1.5rem;
    z-index: 9499;
    display: block;
    width: 72px;
    pointer-events: auto;
}
@media (min-width: 1480px) {
  .site-logo {
    left: 2rem !important;
  }
  .menu-toggle {
    right: 2rem !important;
  }
}

.site-logo img {
    display: block;
    width: 100%;
    height: auto;
}
  
.menu-toggle {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 9200;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 37px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--color-sand-50);
    color: var(--color-text);
    cursor: pointer;
    pointer-events: auto;
}
.menu-toggle__icon {
    position: relative;
    width: 14px;
    height: 14px;
    display: block;
}
.menu-toggle__icon span {
    position: absolute;
    left: 0;
    width: 14px;
    height: 2px;
    background: currentColor;
    transition:
        transform .25s ease,
        opacity .2s ease,
        top .25s ease;
    transform-origin: center;
}
.menu-toggle__icon span:nth-child(1) {
    top: 0px;
}
.menu-toggle__icon span:nth-child(2) {
    top: 6px;
}
.menu-toggle__icon span:nth-child(3) {
    top: 12px;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(1) {
    top: 6px;
    transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(2) {
    opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(3) {
    top: 6px;
    transform: rotate(-45deg);
}
  
  
.site-menu-overlay[hidden] {
    display: none !important;
}
.site-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 9501;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
}
.site-menu-overlay::before {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    content: "";
    transition: background 0.4s ease;
}
.site-menu-overlay.is-open {
    visibility: visible;
    pointer-events: auto;
}
.site-menu-overlay.is-open::before {
    background: rgba(0, 0, 0, 0.05);
}
.site-menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    width: 50%;
    min-width: 600px;
    height: 100%;
    padding: 1.5rem;
    background: var(--color-olive-800);
    color: var(--color-sand-50);
    transform: translateX(100%);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 1480px) {
  .site-menu-panel {
    padding: 1.5rem 2rem 1.5rem 1.5rem !important;
  }
}
.site-menu-overlay.is-open .site-menu-panel {
    transform: translateX(0);
}
  
  
/* =========================================================
    PRIMARY MENU
========================================================= */
  
.site-menu-nav {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
}
.menu-primary,
.menu-children {
    margin: 0;
    padding: 0;
    list-style: none;
}
.menu-primary {
    width: 100%;
    text-align: center;
}
.menu-item {
    margin: 0;
}
.menu-item__link {
    display: inline-block;
    color: var(--color-sand-50) !important;
    opacity: 0.5;
    font-family: var(--font-heading); 
    font-size: 64px;
    font-weight: 500;
    letter-spacing: -0.5px;
    line-height: 1.15;
    text-decoration: none;
    transition: opacity 0.3s ease;
}
.menu-item__link:hover,
.menu-item__link:focus-visible,
.menu-item.current-menu-item > .menu-item__link {
    color: var(--color-sand-50);
    opacity: 1;
}
.menu-children {
    display: none;
}
  
  
  /* =========================================================
     MENU FOOTER
  ========================================================= */
  
  .site-menu-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: auto;
  }
  .site-menu-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body-bold);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    border-radius: 0;
    width: inherit;
    text-align: center;
    min-width: 100px;
    padding: 14px 28px 14px;
    transition: opacity ease .3s;
    cursor: pointer;
    text-decoration: none !important;
  }
  .site-menu-linkedin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: var(--color-sand-50);
    opacity: 1;
    transition: opacity 0.25s ease;
  }
  .site-menu-linkedin:hover {
    opacity: 0.5;
  }
  .site-menu-linkedin svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
  }
  
  
  /* Prevent body scrolling while open */
  body.menu-open {
    overflow: hidden;
  }
  
  
/* =========================================================
    MOBILE
========================================================= */
  
@media (max-width: 767px) {
  .site-logo {
      left: 72px;
      width: 72px;
      left: 1.5rem !important;
  }
  .menu-toggle {
      right: 1.5rem !important;
      top: 1.5rem !important;
  }
  .site-menu-panel {
      width: 100%;
      min-width: 0;
      padding: 1.5rem;
  }
  .site-menu-nav {
      align-items: center;
      justify-content: flex-start;
  }
  .menu-primary {
      text-align: left;
  }
  .menu-item__link {
      font-size: 40px;
      line-height: 1.1;
  }
  .site-menu-footer {
      align-items: center;
  }
  .site-menu-linkedin {
      width: 24px;
      height: 24px;
  }
}