@media (prefers-reduced-motion: no-preference) {
  .dl-motion-enter {
    animation: dl-motion-rise var(--dl-duration, 670ms) cubic-bezier(.19,1,.22,1) var(--dl-delay,0ms) backwards;
  }
  .dl-motion-enter[data-dl-effect="heading"] {
    animation-name: dl-motion-heading;
    --dl-duration: 820ms;
  }
  .dl-motion-enter[data-dl-effect="image"] {
    animation-name: dl-motion-image;
    --dl-duration: 880ms;
  }
  .dl-motion-enter[data-dl-effect="card"] {
    animation-name: dl-motion-card;
    --dl-duration: 740ms;
  }
  @keyframes dl-motion-rise {
    from { opacity: .32; translate: 0 19px; }
    to { opacity: 1; translate: 0 0; }
  }
  @keyframes dl-motion-heading {
    from { opacity: .28; translate: 0 25px; clip-path: inset(2% 0 24%); }
    to { opacity: 1; translate: 0 0; clip-path: inset(0); }
  }
  @keyframes dl-motion-image {
    from { opacity: .35; scale: .96; clip-path: inset(7% 7% 7% 7% round 12px); }
    to { opacity: 1; scale: 1; clip-path: inset(0); }
  }
  @keyframes dl-motion-card {
    from { opacity: .35; translate: 0 22px; scale: .975; }
    to { opacity: 1; translate: 0 0; scale: 1; }
  }
  .dlp.motion .hero-scene { rotate: var(--hero-tilt,0deg); }
  .dlp.motion .hero-scene .orbit { border-style: dashed; scale: var(--hero-orbit,1); }
  .dlp.motion .strip>div.visible { animation: dl-motion-card 760ms cubic-bezier(.19,1,.22,1) both; animation-delay: var(--dl-delay,0ms); }
  .dlp.motion .cta.visible { animation: dl-motion-card 800ms cubic-bezier(.19,1,.22,1) both; }
  .dlp.motion details[open] > p { animation: dl-motion-rise 430ms cubic-bezier(.19,1,.22,1) both; }
}

@media (prefers-reduced-motion: no-preference) {
  .dl-motion-enter[data-dl-effect="side"] {
    animation-name: dl-motion-side;
    --dl-duration: 870ms;
  }
  .dl-motion-enter[data-dl-effect="button"] {
    animation-name: dl-motion-button;
    --dl-duration: 820ms;
  }
  .dl-motion-enter[data-dl-effect="heading"] {
    animation-name: dl-motion-heading-deep;
    --dl-duration: 960ms;
  }
  .dl-motion-enter[data-dl-effect="image"] {
    animation-name: dl-motion-image-deep;
    --dl-duration: 1050ms;
  }
  .dl-motion-enter[data-dl-effect="card"] {
    animation-name: dl-motion-card-deep;
    --dl-duration: 880ms;
  }
  .dl-motion-scene { translate: 0 var(--dl-scene-y, 0px); }
  .dlp.motion .hero-copy .line>span { translate: var(--dl-title-x, 0px) 0; }
  .dlp.motion .hero-copy .line:nth-child(2)>span { translate: calc(-1 * var(--dl-title-x, 0px)) 0; }
  .dlp.motion .hero .diamond { translate: var(--dl-shape-x,0px) calc(-1 * var(--hero-y)); scale: var(--hero-orbit,1); }
  .dlp.motion .hero .spark { translate: calc(-.55 * var(--dl-shape-x,0px)) var(--dl-shape-y,0px); }
  .dlp.motion .hero .ring { scale: var(--dl-ring-scale,1); }
  .dlp.motion .hero-art img { scale: var(--dl-hero-zoom,1); transform-origin: 56% 45%; }
  .dlp.motion .hero-art { overflow: hidden; }
  .dlp.motion .journey-meter i { background: linear-gradient(90deg, #ffda69, var(--accent) 62%); }
  .dlp.motion .path-art img { scale: var(--dl-path-zoom,1); rotate: var(--dl-path-roll,0deg); }
  .dlp.motion .path-copy { translate: 0 var(--dl-copy-y,0px); }
  .dlp.motion .intro.visible :is(h2,p) { animation: dl-motion-heading-deep 920ms cubic-bezier(.19,1,.22,1) backwards; }
  .dlp.motion .intro.visible h2 { animation-delay: 90ms; }
  .dlp.motion .intro.visible p:last-child { animation-delay: 180ms; }
  .dlp.motion .family-steps li.visible i { animation: dl-motion-pop 780ms 160ms cubic-bezier(.2,.8,.3,1) both; }
  .dlp.motion .result-card.visible .result-copy,
  .dlp.motion .event.visible .event-body { animation: dl-motion-side 820ms 130ms cubic-bezier(.19,1,.22,1) backwards; }
  .dlp.motion .voice.visible span { animation: dl-motion-rise 720ms calc(var(--delay,0ms) + 130ms) backwards; }
  .dlp.motion .voice.visible small { animation: dl-motion-rise 720ms calc(var(--delay,0ms) + 210ms) backwards; }
  .dlp.motion .cta.visible .btn { animation: dl-motion-button 820ms 230ms cubic-bezier(.19,1,.22,1) backwards; }
  .dlp.motion .cta.visible .btn:nth-child(2) { animation-delay: 345ms; }
  @keyframes dl-motion-heading-deep {
    from { opacity: .24; translate: 0 32px; clip-path: inset(0 0 56%); }
    to { opacity: 1; translate: 0 0; clip-path: inset(0); }
  }
  @keyframes dl-motion-image-deep {
    from { opacity: .44; scale: .94; clip-path: inset(7% 22% 7% 4% round 20px); }
    to { opacity: 1; scale: 1; clip-path: inset(0); }
  }
  @keyframes dl-motion-card-deep {
    from { opacity: .38; translate: 0 35px; scale: .955; }
    70% { scale: 1.008; }
    to { opacity: 1; translate: 0 0; scale: 1; }
  }
  @keyframes dl-motion-side {
    from { opacity: .3; translate: var(--dl-entry-x,14px) 16px; }
    to { opacity: 1; translate: 0 0; }
  }
  @keyframes dl-motion-button {
    from { opacity: .32; translate: 0 23px; scale: .9; }
    64% { scale: 1.045; }
    to { opacity: 1; translate: 0 0; scale: 1; }
  }
  @keyframes dl-motion-pop {
    from { scale: .25; opacity: .4; }
    62% { scale: 1.55; }
    to { scale: 1; opacity: 1; }
  }
}

@media (prefers-reduced-motion: no-preference) {
  .dl-scroll-progress {
    position: fixed;
    z-index: 9990;
    inset: auto 0 0;
    height: 3px;
    background: linear-gradient(to left,#aa73ec,#ffda69 83%);
    transform-origin: right;
    scale: 0 1;
    pointer-events: none;
  }
  .dlp.motion .hero-copy { translate: 0 var(--dl-hero-copy,0px); }
  .dlp.motion .dlp-scroll-chapter { position: relative; }
  .dlp.motion .dlp-scroll-chapter h2 { translate: var(--dl-chapter-x,0px) 0; }
  .dlp.motion .dlp-scroll-chapter::after {
    content: '';
    display: block;
    max-width: 152px;
    height: 3px;
    border-radius: 8px;
    margin-top: 13px;
    background: linear-gradient(to left,var(--accent),var(--gold));
    scale: var(--dl-chapter-line,0) 1;
    transform-origin: right;
    pointer-events: none;
  }
  .dlp.motion [data-event-motion] article { translate: 0 var(--dl-event-rise,0px); }
  .dlp.motion [data-event-motion] article:nth-child(2) { translate: 0 calc(-1 * var(--dl-event-rise,0px)); }
  .dlp.motion .journey-meter { box-shadow: 0 0 14px color-mix(in srgb,var(--accent),transparent 75%); }
}
