/* Approval row 79 (briefs/handoff-home79-design-2026-11-30.md; prototype design/phase-1/canvas-3/source/home79/):
   light motion on the home page's "Where were they found?", with dn-home-motion.js. Each part arrives once, when it is
   35 % in view, then sits still. Only transform and opacity are animated (the globe card is a canvas redraw); nothing
   loops, nothing flashes, text and links never move. The start state comes only from the script (.h79-arm on the
   section), so without JavaScript, with reduced motion and in print the final still frame shows.
   Easing: the drops cubic-bezier(.2, .8, .25, 1.15) (a 4 % settle); the stops' pop cubic-bezier(.34, 1.56, .64, 1). */
.dn-home-map { --h79-drop: cubic-bezier(.2, .8, .25, 1.15); --h79-pop: cubic-bezier(.34, 1.56, .64, 1); }

/* 1. the big map: each group's three sub-groups drop 16 units with a fade, in the key's order (200 ms apart, 60 ms ripple) */
.h79-arm .dn-home-map-fig .h79-drop { opacity: 0; }
.h79-arm .dn-home-map-fig.is-play .h79-drop { animation: h79-drop .48s var(--h79-drop) var(--d, 0ms) both; }
@keyframes h79-drop { from { opacity: 0; transform: translateY(-16px); } 55% { opacity: 1; } to { opacity: 1; transform: none; } }
/* the key shows a group: the others fade, its own lift 3 units (0.25 s ease-out) */
.dn-home-map-svg g[data-g] { transition: opacity .25s ease-out, transform .25s ease-out; }
.dn-home-map-svg.is-focus g[data-g].is-dim { opacity: .16; }
.dn-home-map-svg.is-focus g[data-g].is-lift { transform: translateY(-3px); }

/* 2. the globe card: the canvas takes the picture's place and size (.dn-tz-globe) */
canvas.dn-tz-globe { display: block; }

/* 3. the flat card: six bands of points fall onto the tilted plane in depth, west to east (90 ms apart) */
.h79-arm .is-flat .h79-fb { opacity: 0; }
.h79-arm .is-flat.is-play .h79-fb { animation: h79-fall .42s var(--h79-drop) var(--d, 0ms) both; }
@keyframes h79-fall { from { opacity: 0; transform: translateZ(70px); } 50% { opacity: 1; } to { opacity: 1; transform: none; } }

/* 4. the tour card: the route's dots over 2.6 s, each stop popping in as the dots reach it, then one pulse of the play
   button (its ring is ::after, so the button's text and the clips label never move) */
.h79-tour .h79-dots circle, .h79-tour .h79-pin { transform-box: fill-box; transform-origin: center; }
.h79-arm .is-tour .h79-dots circle, .h79-arm .is-tour .h79-pin { opacity: 0; }
.h79-arm .is-tour.is-play .h79-dots circle { animation: h79-dot .2s ease-out var(--d, 0ms) both; }
.h79-arm .is-tour.is-play .h79-pin { animation: h79-pop .36s var(--h79-pop) var(--d, 0ms) both; }
@keyframes h79-dot { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }
@keyframes h79-pop { from { opacity: 0; transform: scale(.3); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
.h79-arm .is-tour .dn-tz-play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 3px #F58A1F; opacity: 0; pointer-events: none; }
.h79-arm .is-tour.is-play .dn-tz-play { animation: h79-pulse .9s ease-in-out 2.9s both; }
.h79-arm .is-tour.is-play .dn-tz-play::after { animation: h79-ring .9s ease-out 2.9s forwards; }   /* forwards: no ring while it waits */
@keyframes h79-pulse { 0%, 100% { transform: none; } 45% { transform: scale(1.12); } }
@keyframes h79-ring { from { opacity: .7; transform: none; } to { opacity: 0; transform: scale(1.7); } }

/* Reduced motion and print: the final still frame. The key's dim and lift stay with reduced motion, with no transition
   (a change of state, not motion). */
@media (prefers-reduced-motion: reduce) {
  .h79-arm .h79-drop, .h79-arm .h79-fb, .h79-arm .h79-dots circle, .h79-arm .h79-pin, .h79-arm .dn-tz-play { animation: none !important; opacity: 1 !important; transform: none !important; }
  .h79-arm .dn-tz-play::after { animation: none !important; opacity: 0 !important; }
  .dn-home-map-svg g[data-g] { transition: none; }
}
@media print {
  .h79-drop, .h79-fb, .h79-dots circle, .h79-pin, .dn-tz-play { animation: none !important; opacity: 1 !important; transform: none !important; }
  .dn-tz-play::after { animation: none !important; opacity: 0 !important; }
  .dn-home-map-svg g[data-g] { opacity: 1 !important; transform: none !important; transition: none; }
}
