/* Motion is opt-in and independent of the page's layout and art timelines. */
.photophy-theme [data-motion-surface] {
  position: relative;
  isolation: isolate;
}
.photophy-theme [data-motion-surface] > .motion-surface-light {
  --motion-light-x: 50%;
  --motion-light-y: 30%;
  --motion-light-alpha: 0;
  position: absolute;
  z-index: 3;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  contain: paint;
  opacity: var(--motion-light-alpha, 0);
  background:
    radial-gradient(ellipse 320px 190px at var(--motion-light-x) var(--motion-light-y), #ffffffa6, #f8edf72e 46%, transparent 76%),
    radial-gradient(ellipse 430px 210px at calc(100% - var(--motion-light-x)) calc(100% - var(--motion-light-y)), #b8c9ed0d, transparent 80%);
  mix-blend-mode: soft-light;
}
.photophy-theme [data-motion-surface]:is(.home-action,.plan-card,.hero-journey) > .motion-surface-light {
  background:
    radial-gradient(ellipse 260px 170px at var(--motion-light-x) var(--motion-light-y), #ffffffc7, #ecd4ee35 46%, transparent 78%),
    linear-gradient(125deg, #dfc2ed0a, transparent 45%, #b9d1ee12);
}
.photophy-theme [data-motion-photos] {
  --motion-tilt-x: 0deg;
  --motion-tilt-y: 0deg;
  transform: perspective(1100px) rotateX(var(--motion-tilt-x)) rotateY(var(--motion-tilt-y));
  transform-style: preserve-3d;
}
.photophy-theme [data-motion-print] {
  animation: photophy-paper-float 10s cubic-bezier(.45,0,.55,1) infinite;
  animation-play-state: paused;
}
.photophy-theme [data-motion-print='1'] {
  animation-name: photophy-paper-float-back;
  animation-duration: 12s;
  animation-delay: -4s;
}
.photophy-theme[data-site-motion='active'] [data-motion-photos][data-motion-visible='true'] [data-motion-print] {
  animation-play-state: running;
}
.photophy-theme[data-site-motion='active'] [data-motion-arrival] {
  animation: photophy-content-arrive .8s cubic-bezier(.22,1,.36,1) var(--motion-arrival-delay, 0ms) both;
}
.photophy-theme [data-motion-button] {
  transition-property: transform, box-shadow, border-color, background, scale;
  transition-duration: .42s;
  transition-timing-function: cubic-bezier(.22,1,.36,1);
}
.photophy-theme[data-site-motion='active'] [data-motion-button]:active:not(:disabled) {
  scale: .983;
  transition-duration: .12s;
}
.photophy-theme [data-motion-button]:focus-visible {
  outline: 2px solid #8c67a9;
  outline-offset: 5px;
}
@keyframes photophy-paper-float {
  0%, 100% { translate: 0 0; }
  45% { translate: -2px -6px; }
  75% { translate: 1px -2px; }
}
@keyframes photophy-paper-float-back {
  0%, 100% { translate: 0 -1px; }
  45% { translate: 2px 5px; }
  75% { translate: -1px 1px; }
}
@keyframes photophy-content-arrive {
  from { opacity: .78; translate: 0 15px; }
  to { opacity: 1; translate: 0 0; }
}
.photophy-theme[data-site-motion='paused'] [data-motion-photos] { transform: none; }
.photophy-theme[data-site-motion='paused'] [data-motion-print] { animation: none; }
.photophy-theme[data-site-motion='paused'] .motion-surface-light { opacity: 0; }
@media (hover: none), (pointer: coarse) {
  .photophy-theme [data-motion-photos] { transform: none; }
  .photophy-theme [data-motion-print] { animation-duration: 14s; }
}
@media (prefers-reduced-motion: reduce) {
  .photophy-theme [data-motion-photos] { transform: none !important; }
  .photophy-theme :is([data-motion-print],[data-motion-arrival]) { animation: none !important; translate: none !important; }
  .photophy-theme [data-motion-button] { scale: none !important; transition: none !important; }
  .photophy-theme .motion-surface-light { display: none; }
}
@media (forced-colors: active) {
  .photophy-theme .motion-surface-light { display: none; }
  .photophy-theme [data-motion-button]:focus-visible { outline-color: Highlight; }
}
