/* Independent translate preserves the existing rotated/perspective compositions. */
@keyframes ambient-sway { 0%,100% { translate: calc(-1 * var(--sway-distance,8px)) 0; } 50% { translate: var(--sway-distance,8px) -4px; } }
@media (prefers-reduced-motion: no-preference) {
  .ambient-sway { animation: ambient-sway var(--sway-duration,25s) ease-in-out infinite var(--sway-direction,normal); animation-play-state: paused; }
  .ambient-sway.motion-in-view { animation-play-state: running; }
  .motion-paused .ambient-sway, .page-hidden .ambient-sway { animation-play-state: paused; }
  .brand .automation-wordmark { transition: transform .4s cubic-bezier(.16,1,.3,1); }
  .brand:hover .automation-wordmark { transform: rotate(-1.5deg) scale(1.035); }
}
.site-header .brand img.automation-wordmark { width: 208px; height: auto; padding: 0; border-radius: 0; background: transparent; }
.site-footer .brand img.automation-wordmark { width: 235px; height: auto; padding: 10px 12px; border-radius: 18px; background: #f5f5ed; }
.automation-questionnaire .q-top img { width: 34px; height: 34px; }
@media (min-width: 621px) and (max-width: 760px) {
  .site-header .brand img.automation-wordmark { width: 156px; }
  .site-header .header-inner { gap: 10px; }
  .site-header .main-nav { gap: 12px; font-size: 12px; }
  .site-header .header-cta { font-size: 10px; gap: 6px; padding: 8px 10px; min-height: 40px; }
  .site-header .header-cta > .icon { width: 24px; height: 24px; padding: 5px; }
}
@media (max-width: 620px) {
  .ambient-sway { --sway-distance: 3px; }
  .site-header .brand img.automation-wordmark { width: 156px; height: auto; }
  .site-footer .brand img.automation-wordmark { width: 230px; height: auto; }
}
@media (prefers-reduced-motion: reduce) { .ambient-sway { animation: none !important; translate: none; } .brand .automation-wordmark { transition: none; } }
