/* Keep the preference with the menu rather than the contact details. */
.bk-motion-preference { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); color: #fff; }
.bk-motion-preference h4 { margin: 0 0 12px; color: inherit; font-size: 13px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
footer .bk-motion-preference { max-width: none; margin: 24px 0 0; padding-top: 20px; }
footer .bk-motion-preference h4 { text-align: left; }
.bk-motion-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 24px; min-height: 44px; padding: 4px 0; border: 0; background: transparent; color: inherit; font: inherit; font-size: 15px; line-height: 1.5; text-align: left; cursor: pointer; }
.bk-motion-switch { display: inline-flex; align-items: center; gap: 10px; }
.bk-motion-toggle [data-bk-motion-state] { min-width: 24px; font-size: 13px; }
.bk-motion-track { position: relative; display: block; width: 40px; height: 24px; border: 1px solid rgba(255,255,255,.5); border-radius: 20px; background: rgba(255,255,255,.08); }
.bk-motion-track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .18s ease; }
.bk-motion-toggle[aria-checked="true"] .bk-motion-track { background: var(--primary-color, #805330); border-color: rgba(255,255,255,.8); }
.bk-motion-toggle[aria-checked="true"] .bk-motion-track::after { transform: translateX(16px); }
.bk-motion-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
#mainmenu > li.bk-motion-menu-item { display: none; }
html:not(.bk-motion-controlled) .bk-motion-preference { display: none; }
@media (max-width: 992px) {
  header #mainmenu > li.bk-motion-menu-item { display: block; width: 100%; float: none; clear: both; padding: 0 0 20px; border: 0; line-height: 1.5; }
  #mainmenu .bk-motion-preference { margin-top: 20px; padding-top: 20px; }
  #mainmenu .bk-motion-preference h4 { height: auto; line-height: 1.5; }
}

/* Tiny finite animations still emit the completion events needed by carousels. */
html.bk-reduce-motion,
html.bk-reduce-motion *,
html.bk-reduce-motion *::before,
html.bk-reduce-motion *::after {
  scroll-behavior: auto !important;
  animation-duration: .01ms !important;
  animation-delay: 0s !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0s !important;
  transition-delay: 0s !important;
}
html.bk-reduce-motion .wow,
html.bk-reduce-motion .char {
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  animation-name: none !important;
}
html.bk-reduce-motion #de-loader { display: none !important; }
html.bk-reduce-motion [class*="hover-scale"],
html.bk-reduce-motion .bk-business-tile img,
html.bk-reduce-motion .bk-work-card img,
html.bk-reduce-motion .bk-photo img,
html.bk-reduce-motion .bk-card-photo,
html.bk-reduce-motion [data-0],
html.bk-reduce-motion [data-bottom-top] { transform: none !important; }
/* Jarallax normally moves these images into a generated fixed container. */
html.bk-reduce-motion .jarallax { position: relative; isolation: isolate; }
html.bk-reduce-motion .jarallax > .jarallax-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }

/* Preserve the device preference even if JavaScript cannot run. */
@media (prefers-reduced-motion: reduce) {
  html:not(.bk-motion-controlled),
  html:not(.bk-motion-controlled) *,
  html:not(.bk-motion-controlled) *::before,
  html:not(.bk-motion-controlled) *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}
