/* Muli House — Homepage Motion V2
   This stylesheet is scoped to the homepage. Original layout, assets, colors,
   navigation, content, and all non-homepage pages remain unchanged. */
html { scroll-behavior: auto; }
body.home-motion-v2 {
  --motion-duration: .8s;
  --tone-duration: 1.2s;
  background-color: #faf8f5;
  transition: background-color var(--tone-duration) cubic-bezier(.22,1,.36,1);
}
body.home-motion-v2[data-tone="ivory"] { background-color: #faf8f5; }
body.home-motion-v2[data-tone="cream"] { background-color: #f0eae3; }
body.home-motion-v2[data-tone="charcoal"] { background-color: #292b2a; }
body.home-motion-v2[data-tone="warm"] { background-color: #eee7df; }
/* Original page sections have hard-coded backgrounds; make these transparent
   so the global page-color transition is actually visible during scrolling. */
.home-motion-v2 .section,
.home-motion-v2 .section.alt { background: transparent; }
.home-motion-v2 .section { position: relative; isolation: isolate; }
.home-motion-v2 .section--dark { color: #f6f1eb; }
.home-motion-v2 .section--dark .lead { color: #d6cfc9; }
.home-motion-v2 .section--dark .eyebrow { color: #e4a9bb; }
.home-motion-v2 .section--dark .btn { box-shadow: 0 8px 24px #00000024; }
/* Keep the original opaque footer for legible contact details. */
.home-motion-v2 .footer { background: #f7f3ef; }
/* Refined sticky navigation without changing its original geometry. */
.home-motion-v2 .top { transition: box-shadow .45s ease, border-color .45s ease; }
.home-motion-v2 .top.is-scrolled { box-shadow: 0 7px 25px #19171413; border-bottom-color: #e5ddd59c; }
/* Image movement stays restrained. No crop, recolor, or image replacement. */
.home-motion-v2 .videohero video { transform-origin: center center; will-change: transform; }
.home-motion-v2 .video-inner { will-change: transform; }
/* Reveal only after JS successfully sets motion-ready. Content is visible
   by default if scripts fail or accessibility settings request less motion. */
.home-motion-v2.motion-ready .reveal {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition: opacity var(--motion-duration) cubic-bezier(.22,1,.36,1),
              transform var(--motion-duration) cubic-bezier(.22,1,.36,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.home-motion-v2.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.home-motion-v2.motion-ready .video-inner .reveal { transform: translate3d(0, 23px, 0); }
.home-motion-v2.motion-ready .video-inner .reveal.is-visible { transform: translate3d(0, 0, 0); }
/* Existing card hover zoom remains unchanged; only the whole card reveals. */
.home-motion-v2 .card:focus-visible,
.home-motion-v2 .btn:focus-visible,
.home-motion-v2 .sound:focus-visible { outline: 3px solid #a43b5b; outline-offset: 4px; }
/* Native touch scrolling: no JS smoothing, no video parallax. */
@media (max-width: 899px), (pointer: coarse) {
  .home-motion-v2 .videohero video { will-change: auto; }
  .home-motion-v2.motion-ready .reveal { transform: translate3d(0, 19px, 0); }
  .home-motion-v2.motion-ready .reveal.is-visible { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  body.home-motion-v2 { transition: none !important; }
  .home-motion-v2 .reveal, .home-motion-v2.motion-ready .reveal {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .home-motion-v2 .videohero video { transform: none !important; }
  .home-motion-v2 .top { transition: none !important; }
}
