/* EMILION / Company Profile cinematic scroll reveal / v1.1.0.
   The selectors intentionally target only the home page's photo element.
   Do not move the text panel, header slider, or Regent Emilion section. */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  body.emq-home #company-profile figure.emq-difc-photo[data-emq-motion="active"] {
    overflow: hidden !important;
    clip-path: inset(var(--emq-reveal-top, 0%) 0 0 0);
  }
  body.emq-home #company-profile figure.emq-difc-photo[data-emq-motion="active"] > img {
    animation: none !important;
    transition: none !important;
    transform: translate3d(0, var(--emq-scroll-y, 0px), 0) scale(1.12) !important;
    transform-origin: 78% 48%;
    will-change: transform;
    backface-visibility: hidden;
  }
}

/* Debug HUD: only appears if ?emilion-motion-debug=1 is supplied. */
#emq-motion-debug {
  position: fixed !important;
  z-index: 2147483000 !important;
  left: 16px !important;
  bottom: 16px !important;
  padding: 10px 14px !important;
  background: #46394d !important;
  color: #fff !important;
  border: 1px solid #b8adb9 !important;
  font: 12px/1.5 sans-serif !important;
  letter-spacing: 0 !important;
  box-shadow: 0 6px 22px #2224 !important;
  max-width: min(350px, 90vw) !important;
  pointer-events: none !important;
}
