/* The chosen mix: peach, blue and apricot on cream, at lively intensity. */
body.home-navigation[data-home-motion-ready="true"]:not(.in-room) {
  background: #fff9ef;
  isolation: isolate;
}
.home-motion {
  --home-motion-strength: 1.5;
  --home-motion-speed: .65;
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  z-index: -1;
  isolation: isolate;
  visibility: hidden;
}
.home-motion * { pointer-events: none; }
body.home-navigation:not(.in-room) > .home-motion { visibility: visible; }
.home-motion-wash {
  position: absolute;
  width: 49vmax;
  height: 44vmax;
  border-radius: 42% 58% 65% 35%;
  opacity: .62;
  filter: blur(38px);
  animation: home-color-current calc(16s * var(--home-motion-speed)) ease-in-out infinite paused;
}
.home-motion-wash-one { background: #ffd1b3; left: -16%; top: -16%; }
.home-motion-wash-two { background: #c5eaff; right: -20%; top: 4%; animation-delay: -5.3s; }
.home-motion-wash-three { background: #ffe9ad; left: 5%; bottom: -36%; animation-delay: -10.6s; }
.home-motion-dots {
  position: absolute;
  inset: -70px;
  background-image: radial-gradient(#96865e40 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .12;
  animation: home-grid-drift 50s linear infinite paused;
}
.home-motion-piece {
  position: absolute;
  left: var(--home-motion-x);
  top: var(--home-motion-y);
  width: var(--home-motion-size);
  height: var(--home-motion-size);
  opacity: calc(var(--home-motion-alpha) * 1.35);
}
.home-motion-piece svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: home-party-float calc(var(--home-motion-duration) * var(--home-motion-speed)) ease-in-out infinite alternate paused;
  animation-delay: var(--home-motion-delay);
}
body[data-home-motion-ready="true"] .hero .art-card {
  --home-card-tilt: -14deg;
  animation: home-card-bob 7s ease-in-out infinite paused;
}
body[data-home-motion-ready="true"] .hero .art-card.card-two {
  --home-card-tilt: 12deg;
  animation-delay: -3s;
}
body.home-navigation:not(.in-room):not([data-home-motion-hidden="true"]) .home-motion *,
body.home-navigation:not(.in-room):not([data-home-motion-hidden="true"])[data-home-motion-ready="true"] .hero .art-card {
  animation-play-state: running;
}
body.home-navigation:not(.in-room):not([data-home-motion-hidden="true"]) .home-motion-wash { will-change: transform; }
body.in-room > .home-motion { visibility: hidden; }
@keyframes home-party-float {
  from { transform: translate(0, -25px) rotate(var(--home-motion-rotate)); }
  to { transform: translate(calc(var(--home-motion-dx) * var(--home-motion-strength)), calc(72px * var(--home-motion-strength))) rotate(calc(var(--home-motion-rotate) + 150deg)); }
}
@keyframes home-color-current {
  0%, 100% { transform: translate(-10vw, -8vh) rotate(-20deg) scale(.92); }
  33% { transform: translate(22vw, 16vh) rotate(35deg) scale(1.12); }
  66% { transform: translate(-3vw, 32vh) rotate(-40deg) scale(.98); }
}
@keyframes home-grid-drift { to { transform: translate(28px, 28px); } }
@keyframes home-card-bob {
  0%, 100% { transform: translateY(0) rotate(var(--home-card-tilt)); }
  50% { transform: translate(3px, -11px) rotate(calc(var(--home-card-tilt) + 7deg)); }
}
@media (max-width: 760px) {
  .home-motion-wash { width: 72vmin; height: 88vmin; filter: blur(30px); }
  .home-motion-wash-three { bottom: 0; }
  .home-motion-piece { opacity: var(--home-motion-alpha); }
}
@media (prefers-reduced-motion: reduce) {
  .home-motion *,
  body[data-home-motion-ready="true"] .hero .art-card { animation: none !important; will-change: auto !important; }
  .home-motion-piece svg { transform: rotate(var(--home-motion-rotate)); }
  body[data-home-motion-ready="true"] .hero .art-card { transform: rotate(var(--home-card-tilt)); }
}
/* Keep the lively movement at the edges, with quieter space behind the copy. */
.home-motion-paper{position:absolute;inset:0;mask-image:linear-gradient(90deg,#000,#0004 22%,#0004 78%,#000)}
