/* 7S Sourcing controlled global button microinteraction — register v1.16 */
:where(a, button)[style*="border-radius:6px"][style*="font-weight:600"] {
  transition: transform 180ms ease, box-shadow 180ms ease !important;
}

@media (hover: hover) and (pointer: fine) {
  :where(a, button)[style*="border-radius:6px"][style*="font-weight:600"]:not([style-hover]):hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 7px 16px rgba(11, 61, 42, 0.14) !important;
  }

  /* Controlled v1.5 exception: these two legacy footer CTAs did not
     receive the runtime style-hover state on Services and Contact. */
  .footer-cta-hover-fix:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 7px 16px rgba(11, 61, 42, 0.14) !important;
  }
}

:where(a, button)[style*="border-radius:6px"][style*="font-weight:600"]:focus-visible {
  transform: translateY(-2px) !important;
  box-shadow: 0 0 0 3px rgba(169, 116, 52, 0.32), 0 7px 16px rgba(11, 61, 42, 0.14) !important;
  outline: 2px solid #A97434;
  outline-offset: 3px;
}

:where(a, button)[style*="border-radius:6px"][style*="font-weight:600"]:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 6px rgba(11, 61, 42, 0.12) !important;
}

button:disabled[style*="border-radius:6px"][style*="font-weight:600"] {
  transform: none !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
}

@media (prefers-reduced-motion: reduce) {
  :where(a, button)[style*="border-radius:6px"][style*="font-weight:600"] {
    transition: box-shadow 180ms ease !important;
  }

  :where(a, button)[style*="border-radius:6px"][style*="font-weight:600"]:hover,
  :where(a, button)[style*="border-radius:6px"][style*="font-weight:600"]:focus-visible,
  :where(a, button)[style*="border-radius:6px"][style*="font-weight:600"]:active {
    transform: none !important;
  }
}
