/* Motion is additive: the original V1 styles and layout stay authoritative. */
.motion-ready .motion-reveal {
  opacity: 0;
  translate: 0 24px;
  clip-path: inset(0 0 4% 0);
  transition: opacity .75s ease, translate .9s cubic-bezier(.2,.7,.2,1), clip-path .9s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--motion-delay, 0ms);
}
.motion-ready .motion-reveal.is-revealed,
.motion-paused .motion-reveal {
  opacity: 1;
  translate: none;
  clip-path: none;
}
.motion-ready .motion-reveal:focus-within {
  opacity: 1;
  translate: none;
  clip-path: none;
  transition: none;
}
.motion-ready .motion-reveal:not(.is-revealed) {
  will-change: opacity, translate;
}
[data-motion-parallax] {
  translate: 0 var(--motion-y, 0px);
}
.axis-image img[data-motion-parallax] {
  /* The original crop is retained; a five-pixel drift is intentionally restrained. */
  transition: transform .8s, translate .18s linear;
}
.hero-art[data-motion-parallax] {
  transition: translate .18s linear;
}
[data-motion-loop] {
  animation-play-state: paused;
}
[data-motion-loop].is-motion-active {
  animation-play-state: running;
}
[data-motion-loop="swatch"] {
  transform-origin: 50% 85%;
  animation: onhair-swatch-sway 8s ease-in-out var(--loop-phase, 0s) infinite paused;
}
[data-motion-loop="chat"] {
  animation: onhair-chat-float 7.5s ease-in-out var(--loop-phase, 0s) infinite paused;
}
[data-motion-loop="dot"] {
  animation: onhair-dot-breathe 5.4s ease-in-out var(--loop-phase, 0s) infinite paused;
}
[data-motion-loop="contact"] {
  animation: onhair-contact-orbit 28s ease-in-out var(--loop-phase, 0s) infinite paused;
}
.motion-paused [data-motion-loop] {
  animation-play-state: paused !important;
}
.motion-paused [data-motion-parallax] {
  translate: none !important;
}
.motion-paused .motion-reveal {
  transition: none !important;
}
@keyframes onhair-swatch-sway {
  0%, 100% { rotate: -3deg; translate: 0 0; }
  50% { rotate: 3deg; translate: 0 -3px; }
}
@keyframes onhair-chat-float {
  0%, 100% { translate: 0 0; rotate: -.35deg; }
  50% { translate: 0 -5px; rotate: .35deg; }
}
@keyframes onhair-dot-breathe {
  0%, 100% { scale: .96; box-shadow: 0 0 0 0 #b5440a00; }
  50% { scale: 1.08; box-shadow: 0 0 0 7px #b5440a10; }
}
@keyframes onhair-contact-orbit {
  0%, 100% { rotate: -2deg; translate: 0 0; scale: 1; }
  50% { rotate: 3deg; translate: -7px 4px; scale: 1.015; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-ready .motion-reveal {
    opacity: 1 !important;
    translate: none !important;
    clip-path: none !important;
    transition: none !important;
  }
  [data-motion-loop] { animation: none !important; }
  [data-motion-parallax] { translate: none !important; transition: none !important; }
}
@media print {
  .motion-ready .motion-reveal {
    opacity: 1 !important;
    translate: none !important;
    clip-path: none !important;
  }
  [data-motion-loop] { animation: none !important; }
  [data-motion-parallax] { translate: none !important; }
}
