/* ── Builds canvas / mask — hide at first paint to prevent Safari FOUC flash ── */
.builds_svg,
.builds_logo-parent,
.builds_canvas,
.builds_mask-parent {
  display: none !important;
  visibility: hidden !important;
}

/* ── TestimonialsSplide — hide at first paint to prevent Safari FOUC flash ── */
[data-module="TestimonialsSplide"] {
  display: none !important;
  visibility: hidden !important;
}

body.burger-open .burger {
  position: fixed !important;
  inset: 0 !important;
  z-index: 90 !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

body.burger-open nav {
  z-index: 100 !important;
  pointer-events: none !important;
}

body.burger-open nav .nav_body,
body.burger-open nav .nav_burger {
  pointer-events: auto !important;
}

body.burger-open main {
  pointer-events: none;
}

/* Remove hover glow from popup close button */
.popup_close::before {
  display: none !important;
}

/* Hide nav entirely when contact popup is open so it can't overlap the close button */
body:has(.popup.active) nav {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Keep the longer contact email centred when SplitText wraps it on small screens. */
.popup .popup_btn .btn,
.popup .popup_btn .btn_text,
.popup .popup_btn .f-14,
.popup .popup_btn .f-14 > div {
  text-align: center !important;
}

.popup .popup_btn .btn_text {
  transform: none !important;
}

.nav_burger {
  cursor: pointer;
  pointer-events: auto !important;
}

.nav_burger .btn_text > .f-14:not(.btn_text-close),
.nav_burger .btn_text > .f-14:not(.btn_text-close) * {
  opacity: 1;
  visibility: visible;
}

.nav_burger .btn_text-close,
.nav_burger .btn_text-close * {
  opacity: 0;
  visibility: hidden;
}

body.burger-open .nav_burger .btn_text > .f-14:not(.btn_text-close),
body.burger-open .nav_burger .btn_text > .f-14:not(.btn_text-close) * {
  opacity: 0;
  visibility: hidden;
}

body.burger-open .nav_burger .btn_text-close,
body.burger-open .nav_burger .btn_text-close * {
  opacity: 1 !important;
  visibility: visible !important;
}
