/* MULI HOUSE — Global Motion V3 (all pages except the existing homepage V2)
   Keeps original layout and photography; restrained light-background transitions.
   Mobile uses native scrolling. JS failure leaves all content visible. */
html { scroll-behavior: auto !important; }
body.muli-motion-global {
  --muli-motion-duration: .8s;
  --muli-tone-duration: 1.2s;
  background-color: #faf8f5;
  transition: background-color var(--muli-tone-duration) cubic-bezier(.22,1,.36,1);
}
body.muli-motion-global[data-muli-tone="ivory"] { background-color: #faf8f5; }
body.muli-motion-global[data-muli-tone="cream"] { background-color: #f6f2ed; }
body.muli-motion-global[data-muli-tone="warm"] { background-color: #eee7df; }
body.muli-motion-global[data-muli-tone="paper"] { background-color: #f7f3ee; }
body.muli-motion-global section[data-muli-motion-tone] {
  transition: background-color var(--muli-tone-duration) cubic-bezier(.22,1,.36,1);
}
/* Only the light-toned, image-free sections selected in JS receive this color. */
body.muli-motion-global section[data-muli-motion-tone].muli-tone-active {
  background-color: var(--muli-active-bg) !important;
}
body.muli-motion-global .top,
body.muli-motion-global .nav { transition: box-shadow .45s ease, border-color .45s ease; }
body.muli-motion-global .top.muli-is-scrolled,
body.muli-motion-global .nav.muli-is-scrolled { box-shadow: 0 7px 25px #19171413; }
body.muli-motion-global.muli-motion-ready .muli-reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity var(--muli-motion-duration) cubic-bezier(.22,1,.36,1),
              transform var(--muli-motion-duration) cubic-bezier(.22,1,.36,1);
  transition-delay: var(--muli-reveal-delay, 0ms);
}
body.muli-motion-global.muli-motion-ready .muli-reveal.muli-is-visible {
  opacity: 1;
  transform: none;
}
@media (max-width:899px), (pointer:coarse) {
  body.muli-motion-global.muli-motion-ready .muli-reveal { transform: translate3d(0, 14px, 0); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  body.muli-motion-global,
  body.muli-motion-global section[data-muli-motion-tone],
  body.muli-motion-global .top,body.muli-motion-global .nav { transition: none !important; }
  body.muli-motion-global .muli-reveal,
  body.muli-motion-global.muli-motion-ready .muli-reveal {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}
