/* Site header (rebuild stage 1c). Replaces Elementor's sticky, menu (smartmenus) and
   off-canvas scripts for the header only. Every value copies what those scripts did on the
   WordPress site (measured 2026-11-18, see docs/LEARNINGS.md). Elementor's own CSS for the
   header widgets still applies; this file only adds what the scripts used to set. */

/* Sticky bar: fixed over the page from the start (Elementor fixed it after load and kept an
   invisible copy of the whole header as a spacer; the page already starts under it). */
.elementor-32 .elementor-element.elementor-element-84769f4 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%; /* site-header.js sets the body width */
  margin-top: 0;
  margin-bottom: 0;
}

/* Phone panel: slides in from the right (Elementor: slideInRight, 1s at <=1024px, 1.5s above) */
.elementor-widget-off-canvas .e-off-canvas.nc-panel-open,
.elementor-widget-off-canvas .e-off-canvas.nc-panel-closing {
  opacity: 1;
  visibility: visible;
}
.elementor-widget-off-canvas .e-off-canvas .e-off-canvas__main {
  transform: translate3d(100%, 0, 0);
  transition: transform var(--e-off-canvas-animation-duration, 1s) ease;
}
.elementor-widget-off-canvas .e-off-canvas.nc-panel-open .e-off-canvas__main {
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .elementor-widget-off-canvas .e-off-canvas .e-off-canvas__main { transition: none; }
}
