/* One desktop navigation grid, anchored to the viewport on every page.
   Viewport anchoring also avoids a sideways jump when a scrollbar appears. */
@media (min-width: 0px) {
  html body .site-header,
  html body .error-header {
    height: 96px;
    min-height: 96px;
    box-sizing: border-box;
    padding: 0 4.5vw;
    align-items: center;
  }
  html body #Nav .nav {
    position: static;
    height: 96px;
    margin: 0 4.5vw;
  }
  html body #Nav .nav-inner {
    position: static;
    width: 91vw;
    max-width: 91vw;
    height: 96px;
    padding: 0;
    margin: 0;
  }
  html body #Nav .nav-menu-wrap { position: static; }
  html body .site-header > .primary-navigation,
  html body .error-header > nav,
  html body #Nav .nav-menu-3 {
    position: absolute;
    top: 26px;
    left: calc(95.5vw - 402px);
    right: auto;
    display: grid !important;
    grid-template-columns: 48px 128px 51px 79px;
    align-items: start;
    gap: 32px;
    width: 402px;
    min-width: 0;
    max-width: none;
    height: 44px;
    margin: 0;
    padding: 0;
    font: 500 20px/28px Oswald, sans-serif;
    letter-spacing: 1px;
  }
  html body .site-header > .primary-navigation > a,
  html body .error-header > nav > a,
  html body #Nav .nav-menu-3 > .w-nav-link,
  html body #Nav .nav-link-current-type-2,
  html body #Nav .w-dropdown-toggle,
  html body .site-header .work-menu-toggle,
  html body .error-header .work-menu-toggle {
    position: relative;
    box-sizing: border-box;
    width: auto;
    height: 44px;
    margin: 0;
    padding: 8px 0;
    border: 0;
    font: 500 20px/28px Oswald, sans-serif;
    letter-spacing: 1px;
    white-space: nowrap;
  }
  html body #Nav .nav-link-text-current-type2 {
    font: 500 20px/28px Oswald, sans-serif;
    letter-spacing: 1px;
  }
  html body #Nav .nav-link-current-type-2 { display: block; }
  html body #Nav .nav-current-indicator-type-5 {
    position: absolute;
    bottom: -4px;
    left: 50%;
    margin: 0;
    transform: translateX(-50%);
  }
  html body #Nav .dropdown--type2 {
    display: block !important;
    width: 128px;
    margin: 0;
  }
  html body #Nav .w-dropdown-toggle,
  html body .site-header .work-menu-toggle,
  html body .error-header .work-menu-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
  }
  html body #Nav .w-dropdown-toggle .icon {
    position: static;
    order: 2;
    flex: 0 0 10px;
    width: 10px;
    height: 6px;
    margin: 0;
    font-size: 10px;
    line-height: 6px;
  }
  html body .site-header .work-menu-toggle svg,
  html body .error-header .work-menu-toggle svg { flex: 0 0 10px; width: 10px; height: 6px; }
  html body #Nav .menu-button-2,
  html body #Nav .nav-menu-3 > .nav-link--active,
  html body #Nav .nav-menu-3 > .nav-link--sub-3 { display: none !important; }
  html body .site-header > .brand img,
  html body .error-header > a img,
  html body #Nav .nav-logo-wrap img { width: 56px; height: auto; max-width: none; }
  html body #Nav .nav-logo-wrap .brand { width: auto; margin: 0; padding: 0; }
  html body #Nav .w-dropdown-list:not(.w--open) { display: none !important; }
  html body #Nav .w-dropdown-list.w--open { display: block !important; }
}

@media (max-width: 991px) {
  html body #Nav .w-dropdown-list {
    position: absolute;
    top: 100%;
    left: -20px;
    width: 240px;
    max-width: calc(100vw - 32px);
  }
}

@media (max-width: 767px) {
  html body .site-header,
  html body:is(.orbit-home, .contact-page) .site-header,
  html body .error-header { height: 78px; min-height: 78px; padding: 0 16px; }
  html body #Nav .nav { height: 78px; width: calc(100vw - 32px); margin: 0 16px; }
  html body #Nav .nav-inner { height: 78px; width: calc(100vw - 32px); max-width: none; }
  html body .site-header > .primary-navigation,
  html body .error-header > nav,
  html body #Nav .nav-menu-3 {
    top: 19px;
    left: 78px;
    width: calc(100vw - 94px);
    height: 40px;
    grid-template-columns: repeat(4, max-content);
    justify-content: space-between;
    gap: 8px;
    background: transparent;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: .3px;
  }
  html body .site-header > .primary-navigation > a,
  html body .error-header > nav > a,
  html body #Nav .nav-menu-3 > .w-nav-link,
  html body #Nav .nav-link-current-type-2,
  html body #Nav .w-dropdown-toggle,
  html body .site-header .work-menu-toggle,
  html body .error-header .work-menu-toggle,
  html body #Nav .nav-link-text-current-type2 {
    height: 40px;
    font: 500 14px/24px Oswald, sans-serif;
    letter-spacing: .3px;
  }
  html body #Nav .nav-link-text-current-type2 { height: auto; }
  html body #Nav .dropdown--type2 { width: auto; }
  html body #Nav .w-dropdown-toggle,
  html body .site-header .work-menu-toggle,
  html body .error-header .work-menu-toggle { gap: 5px; }
  html body .site-header > .brand,
  html body .error-header > a:first-child,
  html body #Nav .nav-logo-wrap .brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 44px;
    width: 44px;
    min-width: 44px;
    height: 40px;
    min-height: 40px;
    margin: 0;
    padding: 0;
    line-height: 0;
  }
  html body #Nav .nav-logo-wrap { width: 44px; }
  html body:is(.orbit-home, .contact-page) .site-header > .brand img,
  html body .error-header > a img,
  html body #Nav .nav-logo-wrap img {
    display: block;
    width: 34px;
    height: auto;
    margin: 0;
  }
  html body #Nav .w-dropdown-list {
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    width: auto;
    min-width: 0;
    max-width: none;
  }
}

@media (max-width: 360px) {
  html body .site-header > .primary-navigation > a,
  html body .error-header > nav > a,
  html body #Nav .nav-menu-3 > .w-nav-link,
  html body #Nav .nav-link-current-type-2,
  html body #Nav .w-dropdown-toggle,
  html body .site-header .work-menu-toggle,
  html body .error-header .work-menu-toggle,
  html body #Nav .nav-link-text-current-type2 { font-size: 12px; letter-spacing: .2px; }
}
