/* The temporary sequence uses the exact artwork of each PPT. The accessible
   4K plate underneath takes over once the last part has landed. */
html:not(.reduce-motion) .deck-panel[data-deck-motion].in-view .deck-sheet { animation: none; }
.deck-sequence {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  background-size: 100% 100%; background-repeat: no-repeat;
}
.deck-part {
  display: block; position: absolute; opacity: 0;
  background-repeat: no-repeat; pointer-events: none;
}
.deck-part[data-role="line"], .deck-part[data-role="mark"] { background-image: var(--motion-ink); }
.deck-part[data-role="still"], .deck-part[data-role="portrait"], .deck-part[data-role="hero"] { background-image: var(--motion-sheet); }
.deck-panel[data-deck-motion="playing"] .deck-sequence {
  animation: deck-hand-off 210ms ease var(--sequence-end) both;
}
.deck-panel[data-deck-motion="playing"] .deck-part {
  animation: deck-type-arrive 820ms cubic-bezier(.16,.75,.22,1) var(--delay) both;
}
.deck-panel[data-deck-motion="playing"] .deck-part[data-role="mark"] {
  animation-name: deck-mark-arrive;
}
.deck-panel[data-deck-motion="playing"] .deck-part[data-role="still"] {
  animation-name: deck-still-arrive;
}
.deck-panel[data-deck-motion="playing"] .deck-part[data-role="portrait"] {
  animation-name: deck-portrait-arrive;
}
.deck-panel[data-deck-motion="playing"] .deck-part[data-role="hero"] {
  animation: deck-forest-arrive 1550ms cubic-bezier(.2,.7,.22,1) both;
}
@keyframes deck-type-arrive {
  from { opacity: 0; transform: translateY(clamp(9px, 1.6vw, 26px)); }
  to { opacity: 1; transform: none; }
}
@keyframes deck-mark-arrive {
  from { opacity: 0; transform: translateY(10px) scale(.91); }
  to { opacity: 1; transform: none; }
}
@keyframes deck-still-arrive {
  from { opacity: .08; clip-path: inset(0 100% 0 0); transform: translateY(12px) scale(.975); }
  66% { opacity: 1; clip-path: inset(0); }
  to { opacity: 1; clip-path: inset(0); transform: none; }
}
@keyframes deck-portrait-arrive {
  from { opacity: .08; clip-path: inset(100% 0 0 0); transform: translateY(18px); }
  68% { opacity: 1; clip-path: inset(0); }
  to { opacity: 1; clip-path: inset(0); transform: none; }
}
@keyframes deck-forest-arrive {
  from { opacity: .45; transform: scale(1.075); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes deck-hand-off { from { opacity: 1; } to { opacity: 0; } }
html.reduce-motion .deck-sequence { display: none; }
@media (hover: hover) and (pointer: fine) {
  html:not(.reduce-motion) .deck-panel[data-deck-motion="settled"] .deck-photo.crop-ready:hover img {
    transform: scale(1.06);
  }
}
/* Source mattes */
#partners { --motion-base: url("assets/revision/existing-09-base.webp"); --motion-ink: url("assets/revision/existing-09-ink.webp"); }
#shadow-watcher { --motion-base: url("assets/deck-motion/base-10.webp"); --motion-ink: url("assets/deck-motion/ink-10.webp"); }
#shadow-watcher-gallery { --motion-base: url("assets/deck-motion/base-11.webp"); --motion-ink: url("assets/deck-motion/ink-11.webp"); }
#divorcing-him { --motion-base: url("assets/deck-motion/base-12.webp"); --motion-ink: url("assets/deck-motion/ink-12.webp"); }
#insland-concert { --motion-base: url("assets/revision/existing-38-base.webp"); --motion-ink: url("assets/revision/existing-38-ink.webp"); }
#jd-618 { --motion-base: url("assets/deck-motion/base-15.webp"); --motion-ink: url("assets/deck-motion/ink-15.webp"); }
#space-probe { --motion-base: url("assets/deck-motion/base-16.webp"); --motion-ink: url("assets/deck-motion/ink-16.webp"); }
#bocom-worldskills { --motion-base: url("assets/deck-motion/base-18.webp"); --motion-ink: url("assets/deck-motion/ink-18.webp"); }
#mae { --motion-base: url("assets/deck-motion/base-19.webp"); --motion-ink: url("assets/deck-motion/ink-19.webp"); }
#paiwo { --motion-base: url("assets/deck-motion/base-20.webp"); --motion-ink: url("assets/deck-motion/ink-20.webp"); }
#agricultural-bank { --motion-base: url("assets/revision/existing-28-base.webp"); --motion-ink: url("assets/revision/existing-28-ink.webp"); }
#space-foundation-master-kong { --motion-base: url("assets/deck-motion/base-22.webp"); --motion-ink: url("assets/deck-motion/ink-22.webp"); }
#picc-life { --motion-base: url("assets/deck-motion/base-23.webp"); --motion-ink: url("assets/deck-motion/ink-23.webp"); }
#bionic-trace { --motion-base: url("assets/deck-motion/base-25.webp"); --motion-ink: url("assets/deck-motion/ink-25.webp"); }
#bionic-trace-gallery { --motion-base: url("assets/deck-motion/base-26.webp"); --motion-ink: url("assets/deck-motion/ink-26.webp"); }
#travel-products { --motion-base: url("assets/deck-motion/base-33.webp"); --motion-ink: url("assets/deck-motion/ink-33.webp"); }
#sichuan-observation { --motion-base: url("assets/revision/existing-39-base.webp"); --motion-ink: url("assets/revision/existing-39-ink.webp"); }
#be-friends { --motion-base: url("assets/deck-motion/base-35.webp"); --motion-ink: url("assets/deck-motion/ink-35.webp"); }
#insland-butterfly { --motion-base: url("assets/revision/existing-43-base.webp"); --motion-ink: url("assets/revision/existing-43-ink.webp"); }
