/* Sigma Tactix -- Motion System (Signal Dark). Restrained, purposeful, reduced-motion safe. */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Nav: floating glass pill, orange border/active state, firms up on scroll */
#masthead.site-header { transition: background-color .35s ease; }
#masthead .main-header-bar {
  background: rgba(5,5,5,0.35) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255,72,27,0.28) !important;
  border-radius: 9999px !important;
  transition: background-color .35s ease, border-color .35s ease;
}
#masthead.sx-scrolled .main-header-bar {
  background: rgba(5,5,5,0.72) !important;
  border-color: rgba(255,72,27,0.4) !important;
}
#masthead .menu-item > .menu-link { transition: color .2s ease; }
#masthead .menu-item.current-menu-item > .menu-link,
#masthead .menu-item > .menu-link:hover { color: #FF7A45 !important; }
#masthead .sub-menu {
  background: rgba(8,8,8,0.94);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  overflow: hidden;
}

/* CTA: refined hover, magnetic pull applied via inline transform from JS */
.elementor-widget-button .elementor-button {
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
}
.elementor-widget-button .elementor-button:hover {
  box-shadow: 0 8px 24px rgba(255,72,27,0.22);
}
@media (prefers-reduced-motion: reduce) {
  .elementor-widget-button .elementor-button { transform: none !important; }
}

/* Mobile: keep essential transitions only, drop magnetic feel (JS also gates this) */
@media (max-width: 768px) {
  .elementor-widget-button .elementor-button { transition: box-shadow .2s ease; }
}
