/* Title-to-logo morph (morph.js). Usage: m-morph on the hero Heading widget; the header needs m-header and
   a Site Logo widget. Without JS (or with reduced motion) nothing changes: title and logo both show. */
.m-morph-ghost {
  position: fixed !important;
  left: 0; top: 0;
  margin: 0 !important; padding: 0 !important;
  display: inline-block !important;
  white-space: nowrap;
  transform-origin: 0 0;
  pointer-events: none;
  z-index: 1001;              /* above the fixed header (999) */
  opacity: 0;
  will-change: transform;
}
/* phone/tablet menu open: the copies go under the header (999), whose full-screen menu then covers them */
html:has(.m-header .elementor-menu-toggle.elementor-active) .m-morph-ghost { z-index: 998; }
.m-morph-away { opacity: 0 !important; }   /* beats the inline opacity the hero fade-in leaves behind */
.m-morph-logo { transition: none !important; }
