/* SX Agency | Desktop design-system parity | 2026-11-02
   Applies one identical navigation shell, wordmark, menu font and footer box
   across all seven pages. Intentional differences in hero composition remain.
   No rules below apply to the mobile or tablet navigation (<=1180px). */
@media (min-width: 1181px) {
  :root { --sx-desktop-header-height: 86px; --sx-desktop-header-max: 1540px; }

  html body > header.site-header {
    box-sizing: border-box !important;
    width: min(var(--sx-desktop-header-max), calc(100% - 44px)) !important;
    max-width: var(--sx-desktop-header-max) !important;
    height: var(--sx-desktop-header-height) !important;
    min-height: var(--sx-desktop-header-height) !important;
    margin: 14px auto 0 !important;
    padding: 0 18px 0 16px !important;
    inset: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) !important;
    align-items: center !important;
    justify-content: normal !important;
    gap: 12px !important;
    border: 1px solid rgba(225,231,245,.22) !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg,rgba(29,32,39,.86),rgba(9,11,15,.93) 68%,rgba(5,6,9,.95)) !important;
    box-shadow: 0 14px 45px rgba(0,0,0,.36),inset 0 1px 0 rgba(255,255,255,.13) !important;
    overflow: visible !important;
    transform: none !important;
    z-index: 100 !important;
    font-family: 'DM Sans', Arial, sans-serif !important;
  }
  /* Full-scene pages draw artwork underneath the floating header.
     Other pages retain an in-flow header to preserve the approved content offset. */
  html body.page-solutions > header.site-header,
  html body.page-services > header.site-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
  }
  html body.page-home > header.site-header,
  html body.page-crm > header.site-header,
  html body.page-work > header.site-header,
  html body.page-about > header.site-header,
  html body.page-contact > header.site-header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
  }
  html body > header.site-header > .brand {
    position: relative !important;
    z-index: 3 !important;
    justify-self: start !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 18px !important;
    min-width: 0 !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 0 0 0 10px !important;
    white-space: nowrap !important;
    overflow: visible !important;
    line-height: 1.2 !important;
  }
  html body > header.site-header > .brand .brand-mark {
    display: inline-block !important;
    font: 800 36px/1.1 'Manrope',Arial,sans-serif !important;
    letter-spacing: -4.8px !important;
    transform: skew(-8deg) !important;
    padding-right: 4px !important;
    text-shadow: 0 1px 10px rgba(255,255,255,.13) !important;
  }
  html body > header.site-header > .brand .brand-name {
    font: 500 12px/1.3 'DM Sans',Arial,sans-serif !important;
    letter-spacing: 5px !important;
    white-space: nowrap !important;
  }
  html body > header.site-header > .brand .brand-rule {
    display: block !important;
    width: 54px !important;
    min-width: 54px !important;
    height: 1px !important;
    margin-left: 2px !important;
    opacity: .7 !important;
  }
  html body > header.site-header > .nav,
  html body > header.site-header > .nav.sx-nav-single-bubble {
    display: flex !important;
    position: relative !important;
    inset: auto !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: center !important;
    flex-direction: row !important;
    width: auto !important;
    height: 54px !important;
    max-width: none !important;
    min-width: 0 !important;
    gap: 3px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
  }
  html body > header.site-header > .nav > a:not(.button) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: none !important;
    min-height: 54px !important;
    padding: 0 clamp(11px,1.10vw,20px) !important;
    margin: 0 !important;
    font: 500 13px/1.2 'DM Sans',Arial,sans-serif !important;
    letter-spacing: .1px !important;
    white-space: nowrap !important;
  }
  html body > header.site-header > .nav.sx-nav-single-bubble > .sx-nav-indicator {
    height: 54px !important;
  }
  html body > header.site-header > .header-cta {
    justify-self: end !important;
    min-width: 198px !important;
    width: 198px !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 5px 6px 5px 17px !important;
    font: 500 12px/1.2 'DM Sans',Arial,sans-serif !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }
  html body > header.site-header > .header-cta .sx-cta-arrow {
    width: 29px !important; height: 29px !important;
    min-width: 29px !important; min-height: 29px !important;
  }
  /* Override Services legacy footer padding which made it 12px taller. */
  html body footer.footer.sx-uf {padding: 0 !important; margin: 0 !important;}
  html body footer.footer.sx-uf .sx-uf-top {min-height: 78px !important;}
  html body footer.footer.sx-uf .sx-uf-social-row {min-height: 64px !important;}
  html body footer.footer.sx-uf .sx-uf-legal {min-height: 41px !important;}
  html body footer.footer.sx-uf .sx-uf-bottom {min-height: 48px !important;}
}
@media (min-width: 1181px) and (max-width: 1300px) {
  html body > header.site-header > .brand {gap: 11px !important;}
  html body > header.site-header > .brand .brand-rule {width: 24px !important;min-width: 24px !important;}
  html body > header.site-header > .nav > a:not(.button) {padding-inline: 10px !important; font-size: 12.5px !important;}
}
/* Services formerly had higher-specificity 20px padding on each menu link. */
@media (min-width: 1181px) {
  html body.sx-services-reimagined > header.site-header .nav.sx-cosmic-menu > a.sx-nav-card:not(.button) {
    padding: 0 clamp(11px,1.10vw,20px) !important;
    font: 500 13px/1.2 'DM Sans',Arial,sans-serif !important;
    letter-spacing:.1px !important;
    min-height:54px !important;
  }
}
@media (min-width: 1181px) and (max-width: 1300px) {
  html body.sx-services-reimagined > header.site-header .nav.sx-cosmic-menu > a.sx-nav-card:not(.button) {
    padding-inline:10px !important;font-size:12.5px !important;
  }
}
@media (min-width: 1181px) {
  html body.sx-services-reimagined > header.site-header .nav.sx-nav-single-bubble {gap:3px !important;}
  html body.sx-services-reimagined > header.site-header .nav.sx-nav-single-bubble > a.sx-nav-card {
    border:0 !important; box-shadow:none !important;
  }
}
@media (min-width: 1181px) and (max-width: 1300px) {
  html body.sx-services-reimagined > header.site-header .brand .brand-rule {width:24px !important;min-width:24px !important;}
  html body.sx-services-reimagined > header.site-header .brand {gap:11px !important;}
}
@media (min-width:1181px) {
  html body.sx-services-reimagined > header.site-header nav.nav.sx-cosmic-menu {gap:3px !important;}
  html body.sx-services-reimagined > header.site-header nav.nav.sx-cosmic-menu > a.sx-nav-card {border:0 !important; box-shadow:none !important;}
}
@media (min-width:1181px) {
  html body.sx-services-reimagined > header.site-header {
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) !important;
    gap:12px !important;
  }
}
