/* Motion rules live here. Every rule that moves is gated on html[data-motion="on"]. */
html:not([data-motion="on"]) *,
html:not([data-motion="on"]) *::before,
html:not([data-motion="on"]) *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

html:not([data-motion="on"]) {
  scroll-behavior: auto !important;
}

/* Mural: three rough copies of the headline (added by mural.js) start apart and land on the real
   one. Screen blending turns their overlap white. The clean headline fades in over the last fifth
   by plain CSS, so it still appears if the script never runs; then the red full stops pop in.
   Full run 2.6s on Home, 1.2s for .mural--quick. Runs once; nothing loops.
   Sideways offsets are capped by --hs-mural-room (the page padding less the filter's reach), and
   copies pivot on their top-left corner, so no copy starts outside the page and gets cropped. */
html[data-motion="on"] .mural__ch {
  --hs-mural-room: calc(var(--hs-pad) - 0.5rem);
  display: block;
  transform-origin: 0 0;
  mix-blend-mode: screen;
  filter: url(#hs-rough);
  animation: 2.6s cubic-bezier(0.2, 0.7, 0.1, 1) both;
}

html[data-motion="on"] .mural__ch--r {
  color: #ff0000;
  animation-name: hs-mural-r;
}

html[data-motion="on"] .mural__ch--g {
  color: #00ff00;
  animation-name: hs-mural-g;
}

html[data-motion="on"] .mural__ch--b {
  color: #0000ff;
  animation-name: hs-mural-b;
}

/* Light theme: cyan, magenta and yellow multiply down to black, as red, green and blue add up
   to white on the dark theme. */
html[data-motion="on"][data-theme="light"] .mural__ch {
  mix-blend-mode: multiply;
}

html[data-motion="on"][data-theme="light"] .mural__ch--r {
  color: #00ffff;
}

html[data-motion="on"][data-theme="light"] .mural__ch--g {
  color: #ff00ff;
}

html[data-motion="on"][data-theme="light"] .mural__ch--b {
  color: #ffff00;
}

/* Home hero: the stage stays dark on the light theme, so its headline copies keep the dark
   theme's red, green and blue, added up to white. */
html[data-motion="on"][data-theme="light"] .hero__stage .mural__ch {
  mix-blend-mode: screen;
}

html[data-motion="on"][data-theme="light"] .hero__stage .mural__ch--r {
  color: #ff0000;
}

html[data-motion="on"][data-theme="light"] .hero__stage .mural__ch--g {
  color: #00ff00;
}

html[data-motion="on"][data-theme="light"] .hero__stage .mural__ch--b {
  color: #0000ff;
}

html[data-motion="on"] .mural__text {
  animation: hs-mural-solid 2.6s linear both;
}

html[data-motion="on"] .mural .stop {
  animation: hs-mural-pop 2.6s cubic-bezier(0.3, 1.6, 0.5, 1) both;
}

html[data-motion="on"] .mural--quick .mural__ch,
html[data-motion="on"] .mural--quick .mural__text,
html[data-motion="on"] .mural--quick .stop {
  animation-duration: 1.2s;
}

@keyframes hs-mural-r {
  0% { opacity: 0; transform: translate(calc(-1 * min(5vw, var(--hs-mural-room))), 2vw) rotate(-2.2deg); }
  12% { opacity: 1; }
  30% { transform: translate(calc(-1 * min(3.2vw, var(--hs-mural-room))), 1.2vw) rotate(-1.4deg); }
  72% { transform: none; }
  86% { opacity: 1; }
  100% { opacity: 0; transform: none; }
}

@keyframes hs-mural-g {
  0%, 10% { opacity: 0; transform: translate(min(0.6vw, var(--hs-mural-room)), -3vw) rotate(1.2deg); }
  24% { opacity: 1; }
  40% { transform: translate(min(0.4vw, var(--hs-mural-room)), -1.8vw) rotate(0.8deg); }
  72% { transform: none; }
  86% { opacity: 1; }
  100% { opacity: 0; transform: none; }
}

@keyframes hs-mural-b {
  0%, 20% { opacity: 0; transform: translate(min(4.4vw, var(--hs-mural-room)), 2.6vw) rotate(2deg); }
  34% { opacity: 1; }
  50% { transform: translate(min(2.6vw, var(--hs-mural-room)), 1.6vw) rotate(1.1deg); }
  72% { transform: none; }
  86% { opacity: 1; }
  100% { opacity: 0; transform: none; }
}

@keyframes hs-mural-solid {
  0%, 80% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes hs-mural-pop {
  0%, 88% { transform: scale(0); }
  100% { transform: scale(1); }
}

/* Sketch to finished: sketch.js lays two hidden copies over a heading. The pencil copy is a
   wobbly outline; the ink copy fills in from left to right, like a pen going over the sketch.
   The real heading stays in the page, only its fill is made clear while the copies show. */
html[data-motion="on"] .sketch {
  position: relative;
  -webkit-text-fill-color: transparent;
}

html[data-motion="on"] .sketch__pencil,
html[data-motion="on"] .sketch__ink {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

html[data-motion="on"] .sketch__pencil {
  -webkit-text-stroke: 1px currentColor;
  filter: url(#hs-pencil);
}

html[data-motion="on"] .sketch__ink,
html[data-motion="on"] .sketch__ink * {
  -webkit-text-fill-color: currentColor;
  -webkit-text-stroke: 0;
}

html[data-motion="on"] .sketch__ink {
  clip-path: inset(0 100% 0 0);
}

html[data-motion="on"] .sketch--draw .sketch__ink {
  animation: hs-ink 1.8s cubic-bezier(0.55, 0, 0.35, 1) forwards;
}

html[data-motion="on"] .sketch--draw .sketch__pencil {
  animation: hs-pencil-out 1.8s ease-in forwards;
}

@keyframes hs-ink {
  to { clip-path: inset(0 0 0 0); }
}

@keyframes hs-pencil-out {
  0%, 75% { opacity: 1; }
  100% { opacity: 0; }
}

/* Starting grid on Home: the six slots light up one after another, like start lights. */
html[data-motion="on"] .grid-nav--home .grid-nav__slots > li {
  animation: hs-slot 0.5s ease-out both;
}

html[data-motion="on"] .grid-nav--home .grid-nav__slots > li:nth-child(1) { animation-delay: 0.3s; }
html[data-motion="on"] .grid-nav--home .grid-nav__slots > li:nth-child(2) { animation-delay: 0.5s; }
html[data-motion="on"] .grid-nav--home .grid-nav__slots > li:nth-child(3) { animation-delay: 0.7s; }
html[data-motion="on"] .grid-nav--home .grid-nav__slots > li:nth-child(4) { animation-delay: 0.9s; }
html[data-motion="on"] .grid-nav--home .grid-nav__slots > li:nth-child(5) { animation-delay: 1.1s; }
html[data-motion="on"] .grid-nav--home .grid-nav__slots > li:nth-child(6) { animation-delay: 1.3s; }

@keyframes hs-slot {
  from { opacity: 0; transform: translateY(0.75rem); }
  to { opacity: 1; transform: none; }
}

/* Send button. Hover or focus: the paper plane takes off from the bottom left and climbs out
   of the top, inside its own lane. Sending: it hovers and shakes while the dots pulse.
   Delivered: it flies off the top. Every loop has an end, so nothing runs forever. */
html[data-motion="on"] .form__send:not([data-state]):hover .form__plane,
html[data-motion="on"] .form__send:not([data-state]):focus-visible .form__plane {
  animation: hs-plane 0.9s cubic-bezier(0.4, 0, 0.7, 0.2) forwards;
}

html[data-motion="on"] .form__send[data-state="sending"] .form__plane {
  animation: hs-plane-wait 0.35s ease-in-out 60 alternate;
}

html[data-motion="on"] .form__send[data-state="sent"] .form__plane {
  animation: hs-plane-away 0.7s cubic-bezier(0.5, 0, 0.8, 0.3) forwards;
}

html[data-motion="on"] .form__send[data-state="sending"] .form__dots > span {
  animation: hs-dot 1.2s ease-in-out 20 both;
}

html[data-motion="on"] .form__send[data-state="sending"] .form__dots > span:nth-child(2) { animation-delay: 0.2s; }
html[data-motion="on"] .form__send[data-state="sending"] .form__dots > span:nth-child(3) { animation-delay: 0.4s; }

@keyframes hs-plane {
  0% { opacity: 1; transform: none; }
  100% { opacity: 1; transform: translate(0.5rem, -2.6rem) rotate(-10deg); }
}

@keyframes hs-plane-wait {
  from { transform: translateY(0) rotate(-5deg); }
  to { transform: translateY(-0.2rem) rotate(5deg); }
}

@keyframes hs-plane-away {
  from { opacity: 1; transform: none; }
  to { opacity: 1; transform: translate(0.6rem, -2.8rem) rotate(-12deg); }
}

@keyframes hs-dot {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

/* Race track: the car waits off the left edge, then runs the track each time it comes into view. */
html[data-motion="on"] .track__car {
  left: -8rem;
}

html[data-motion="on"] .track.is-racing .track__car {
  animation: hs-race 2.6s cubic-bezier(0.5, 0, 0.6, 1) forwards;
}

@keyframes hs-race {
  from { left: -8rem; }
  to { left: calc(100% + 1rem); }
}



/* Greeting: one word at a time, like a phone's welcome screen.
   Six words, three seconds each, round and round for as long as the page is open (Hemal,
   2026-11-17: it never stops or pauses). The Motion switch stops it (WCAG 2.2.2); with motion
   off it is the static list in site.css. */
html[data-motion="on"] .greet {
  display: grid;
  max-width: none;
}

html[data-motion="on"] .greet > li {
  grid-area: 1 / 1;
  opacity: 0;
  animation: hs-greet 18s linear infinite;
}

html[data-motion="on"] .greet > li:nth-child(2) { animation-delay: 3s; }
html[data-motion="on"] .greet > li:nth-child(3) { animation-delay: 6s; }
html[data-motion="on"] .greet > li:nth-child(4) { animation-delay: 9s; }
html[data-motion="on"] .greet > li:nth-child(5) { animation-delay: 12s; }
html[data-motion="on"] .greet > li:nth-child(6) { animation-delay: 15s; }

html[data-motion="on"] .greet__word {
  display: block;
  color: var(--hs-text);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.3;
}


@media (min-width: 48rem) {
  html[data-motion="on"] .greet {
    justify-items: end;
    text-align: right;
  }
}

@keyframes hs-greet {
  0% { opacity: 0; transform: translateY(0.5rem); }
  2.5% { opacity: 1; transform: none; }
  14% { opacity: 1; transform: none; }
  16.6% { opacity: 0; transform: translateY(-0.5rem); }
  100% { opacity: 0; }
}

/* Abbreviation tip (abbr.js): a short fade as it opens. Closing is instant. */
html[data-motion="on"] .abbr-tip:not([hidden]) {
  animation: hs-tip-in 0.12s ease-out both;
}

@keyframes hs-tip-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Phone menu (nav.js): the panel drops in a little as it opens, once. Closing is instant. */
@media (max-width: 47.98rem) {
  html[data-motion="on"] .site-menu.is-open {
    animation: hs-menu-in 0.18s ease-out both;
  }
}

@keyframes hs-menu-in {
  from { opacity: 0; transform: translateY(-0.5rem); }
  to { opacity: 1; transform: none; }
}

/* Proof numbers (proof.js): the number counts up once, then a red line draws itself under it,
   once. The real number is see-through only while the aria-hidden count shows on top of it.
   With motion off the count stops, the real number shows and the line stays hidden. */
html[data-motion="on"] .sheet__num.is-counting .proof-val {
  opacity: 0;
}

html[data-motion="on"] .sheet__num.is-counting .proof-run {
  display: block;
}

html[data-motion="on"] .proof-line.is-drawn {
  visibility: visible;
}

html[data-motion="on"] .proof-line path {
  stroke-dasharray: var(--len);
}

html[data-motion="on"] .proof-line.is-drawn path {
  animation: hs-proof-line 0.7s ease-out both;
}

@keyframes hs-proof-line {
  from { stroke-dashoffset: var(--len); }
  to { stroke-dashoffset: 0; }
}

/* Scribble to design (reveal.js, the Creative Studio story on /stories/work/). Hemal approved the
   sequence in mockups/scribble-poster/; built 2026-11-17. Plays once, about 8.9s, when half the
   picture is in view; never loops. Timeline in seconds:
   0.1 to 0.5   the pencil comes in from the lower right
   0.5 to 4.4   it draws thirteen rough lines: the frame, the logo and tagline, the figure, the
                laptop, the panel edge, the heading, the list and the footer
   4.4 to 5.0   it lifts and slides out
   4.9 to 5.85  a wand comes in and taps the sheet once; a few small sparks spread and fade
   6.0 to 6.7   the finished poster opens from the left edge to the right (Hemal: from the left)
   6.0 to 8.25  its parts settle in one by one, and each rough line fades as its part arrives
   8.2 to 8.85  the wand leaves
   Then reveal.js removes .is-armed and .is-playing, and the resting state in site.css is left,
   the same as Motion off. .is-armed holds the blank sheet until the picture is in view.
   Only opacity, transform, stroke-dashoffset and the poster's clip change. */
html[data-motion="on"] .reveal.is-armed .reveal__sketch {
  display: block;
}

html[data-motion="on"] .reveal.is-armed .reveal__poster {
  clip-path: inset(0 100% 0 0);
}

html[data-motion="on"] .reveal.is-armed .reveal__piece {
  opacity: 0;
}

html[data-motion="on"] .reveal.is-armed .reveal__ln {
  stroke-dasharray: 1 2;
  stroke-dashoffset: 1;
}

html[data-motion="on"] .reveal.is-playing .reveal__tools {
  display: block;
}

html[data-motion="on"] .reveal.is-playing .reveal__poster {
  animation: hs-reveal-wipe 0.7s cubic-bezier(0.33, 1, 0.68, 1) 6s both;
}

html[data-motion="on"] .reveal.is-playing .reveal__piece {
  animation: hs-reveal-piece 0.5s cubic-bezier(0.33, 1, 0.68, 1) both;
}

html[data-motion="on"] .reveal.is-playing .reveal__piece:nth-child(1) {
  transform-origin: 210px 120px;
  animation-delay: 6s;
}

html[data-motion="on"] .reveal.is-playing .reveal__piece:nth-child(2) {
  transform-origin: 210px 400px;
  animation-delay: 6.35s;
}

html[data-motion="on"] .reveal.is-playing .reveal__piece:nth-child(3) {
  transform-origin: 307px 186px;
  animation-delay: 6.7s;
}

html[data-motion="on"] .reveal.is-playing .reveal__piece:nth-child(4) {
  transform-origin: 170px 330px;
  animation-delay: 7.05s;
}

html[data-motion="on"] .reveal.is-playing .reveal__piece:nth-child(5) {
  transform-origin: 210px 472px;
  animation-delay: 7.4s;
}

html[data-motion="on"] .reveal.is-playing .reveal__piece:nth-child(6) {
  transform-origin: 210px 569px;
  animation-delay: 7.75s;
}

html[data-motion="on"] .reveal.is-playing .reveal__sparks {
  animation: hs-reveal-sparks 0.7s linear 5.7s both;
}

html[data-motion="on"] .reveal.is-playing .reveal__pencil {
  animation: hs-reveal-pencil 4.9s linear 0.1s both;
}

html[data-motion="on"] .reveal.is-playing .reveal__wand {
  animation: hs-reveal-wand 4s linear 4.85s both;
}

@keyframes hs-reveal-draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@keyframes hs-reveal-ink-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes hs-reveal-wipe {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes hs-reveal-piece {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: none; }
}

/* One burst, once, at the tap: eight short strokes and three small stars. No full-area change. */
@keyframes hs-reveal-sparks {
  0% { transform: translate(210px, 300px) scale(0.4); opacity: 0; }
  4% { opacity: 1; }
  25% { transform: translate(210px, 300px) scale(1.56); opacity: 0.94; }
  50% { transform: translate(210px, 300px) scale(2.15); opacity: 0.75; }
  75% { transform: translate(210px, 300px) scale(2.37); opacity: 0.44; }
  100% { transform: translate(210px, 300px) scale(2.4); opacity: 0; }
}

/* From here to the end of the block: tools/reveal/make_motion.py. Run it again after changing a
   sketch line in the page. */
/* Generated by tools/reveal/make_motion.py: 13 lines. */
html[data-motion="on"] .reveal.is-playing .reveal__ln:nth-child(1) {
  animation: hs-reveal-draw 0.816s linear 0.5s both, hs-reveal-ink-out 0.4s linear 6s both;
}

html[data-motion="on"] .reveal.is-playing .reveal__ln:nth-child(2) {
  animation: hs-reveal-draw 0.168s linear 1.396s both, hs-reveal-ink-out 0.4s linear 6s both;
}

html[data-motion="on"] .reveal.is-playing .reveal__ln:nth-child(3) {
  animation: hs-reveal-draw 0.164s linear 1.644s both, hs-reveal-ink-out 0.4s linear 6s both;
}

html[data-motion="on"] .reveal.is-playing .reveal__ln:nth-child(4) {
  animation: hs-reveal-draw 0.141s linear 1.888s both, hs-reveal-ink-out 0.4s linear 6.7s both;
}

html[data-motion="on"] .reveal.is-playing .reveal__ln:nth-child(5) {
  animation: hs-reveal-draw 0.088s linear 2.109s both, hs-reveal-ink-out 0.4s linear 6.7s both;
}

html[data-motion="on"] .reveal.is-playing .reveal__ln:nth-child(6) {
  animation: hs-reveal-draw 0.166s linear 2.277s both, hs-reveal-ink-out 0.4s linear 6.35s both;
}

html[data-motion="on"] .reveal.is-playing .reveal__ln:nth-child(7) {
  animation: hs-reveal-draw 0.164s linear 2.523s both, hs-reveal-ink-out 0.4s linear 7.05s both;
}

html[data-motion="on"] .reveal.is-playing .reveal__ln:nth-child(8) {
  animation: hs-reveal-draw 0.174s linear 2.766s both, hs-reveal-ink-out 0.4s linear 7.05s both;
}

html[data-motion="on"] .reveal.is-playing .reveal__ln:nth-child(9) {
  animation: hs-reveal-draw 0.113s linear 3.021s both, hs-reveal-ink-out 0.4s linear 7.05s both;
}

html[data-motion="on"] .reveal.is-playing .reveal__ln:nth-child(10) {
  animation: hs-reveal-draw 0.078s linear 3.213s both, hs-reveal-ink-out 0.4s linear 7.05s both;
}

html[data-motion="on"] .reveal.is-playing .reveal__ln:nth-child(11) {
  animation: hs-reveal-draw 0.277s linear 3.372s both, hs-reveal-ink-out 0.4s linear 7.4s both;
}

html[data-motion="on"] .reveal.is-playing .reveal__ln:nth-child(12) {
  animation: hs-reveal-draw 0.269s linear 3.729s both, hs-reveal-ink-out 0.4s linear 7.4s both;
}

html[data-motion="on"] .reveal.is-playing .reveal__ln:nth-child(13) {
  animation: hs-reveal-draw 0.322s linear 4.078s both, hs-reveal-ink-out 0.4s linear 7.75s both;
}

/* The pencil: delay 0.1s, duration 4.9s. Its tip is at 0,0 of its group. */
@keyframes hs-reveal-pencil {
  0% { transform: translate(483px, 641px) scale(1.05); opacity: 0; }
  0.82% { transform: translate(483px, 641px) scale(1.05); opacity: 0; }
  1.64% { transform: translate(369.9px, 490.5px) scale(1.04); opacity: 0.2; }
  2.46% { transform: translate(249.9px, 330.9px) scale(1.03); opacity: 0.47; }
  3.28% { transform: translate(159.9px, 211.1px) scale(1.02); opacity: 0.74; }
  4.1% { transform: translate(95.5px, 125.5px) scale(1.01); opacity: 1; }
  4.92% { transform: translate(52.5px, 68.3px) scale(1); opacity: 1; }
  5.74% { transform: translate(26.6px, 33.7px) scale(1); opacity: 1; }
  6.56% { transform: translate(13.4px, 16.2px) scale(1); opacity: 1; }
  7.38% { transform: translate(8.6px, 9.8px) scale(1); opacity: 1; }
  8.2% { transform: translate(11.9px, 8.9px) scale(1); opacity: 1; }
  9.02% { transform: translate(108.7px, 7.6px) scale(1); opacity: 1; }
  9.84% { transform: translate(205.6px, 7.9px) scale(1); opacity: 1; }
  10.66% { transform: translate(302.4px, 8.4px) scale(1); opacity: 1; }
  11.48% { transform: translate(399.2px, 7.3px) scale(1); opacity: 1; }
  12.3% { transform: translate(411.9px, 92px) scale(1); opacity: 1; }
  13.11% { transform: translate(411.9px, 188.8px) scale(1); opacity: 1; }
  13.93% { transform: translate(411.6px, 285.6px) scale(1); opacity: 1; }
  14.75% { transform: translate(411.1px, 382.4px) scale(1); opacity: 1; }
  15.57% { transform: translate(411px, 479.2px) scale(1); opacity: 1; }
  16.39% { transform: translate(411.8px, 576px) scale(1); opacity: 1; }
  17.21% { transform: translate(326.2px, 588px) scale(1); opacity: 1; }
  18.03% { transform: translate(229.4px, 587.6px) scale(1); opacity: 1; }
  18.85% { transform: translate(132.6px, 587.1px) scale(1); opacity: 1; }
  19.67% { transform: translate(35.8px, 587.5px) scale(1); opacity: 1; }
  20.49% { transform: translate(7.8px, 520px) scale(1); opacity: 1; }
  21.31% { transform: translate(8px, 423.2px) scale(1); opacity: 1; }
  22.13% { transform: translate(7.6px, 326.4px) scale(1); opacity: 1; }
  22.95% { transform: translate(7.1px, 229.6px) scale(1); opacity: 1; }
  23.77% { transform: translate(7px, 132.7px) scale(1); opacity: 1; }
  24.59% { transform: translate(7.6px, 35.9px) scale(1); opacity: 1; }
  25.41% { transform: translate(20.2px, 11.7px) scale(1.03); opacity: 1; }
  26.23% { transform: translate(62.5px, 49.3px) scale(1); opacity: 1; }
  27.05% { transform: translate(48px, 64.1px) scale(1); opacity: 1; }
  27.87% { transform: translate(137.1px, 51.9px) scale(1); opacity: 1; }
  28.69% { transform: translate(179.3px, 56.3px) scale(1); opacity: 1; }
  29.51% { transform: translate(104.3px, 68px) scale(1); opacity: 1; }
  30.33% { transform: translate(131.3px, 73.3px) scale(1.01); opacity: 1; }
  31.15% { transform: translate(52.4px, 144.2px) scale(1.01); opacity: 1; }
  31.97% { transform: translate(101.7px, 147.4px) scale(1); opacity: 1; }
  32.79% { transform: translate(158.9px, 150.1px) scale(1); opacity: 1; }
  33.61% { transform: translate(63.4px, 165.8px) scale(1); opacity: 1; }
  34.43% { transform: translate(132.6px, 171.7px) scale(1); opacity: 1; }
  35.25% { transform: translate(188.5px, 169.4px) scale(1.01); opacity: 1; }
  36.07% { transform: translate(279.7px, 246.3px) scale(1.01); opacity: 1; }
  36.89% { transform: translate(288.8px, 206.6px) scale(1); opacity: 1; }
  37.7% { transform: translate(308.1px, 123px) scale(1); opacity: 1; }
  38.52% { transform: translate(334.1px, 172.6px) scale(1); opacity: 1; }
  39.34% { transform: translate(377.8px, 251.6px) scale(1); opacity: 1; }
  40.16% { transform: translate(315.2px, 238.9px) scale(1.05); opacity: 1; }
  40.98% { transform: translate(238px, 241px) scale(1); opacity: 1; }
  41.8% { transform: translate(302.2px, 229.6px) scale(1); opacity: 1; }
  42.62% { transform: translate(236.4px, 221.7px) scale(1); opacity: 1; }
  43.44% { transform: translate(181.2px, 233.4px) scale(1.04); opacity: 1; }
  44.26% { transform: translate(10.9px, 236.9px) scale(1); opacity: 1; }
  45.08% { transform: translate(88.2px, 235.7px) scale(1); opacity: 1; }
  45.9% { transform: translate(185px, 236.2px) scale(1); opacity: 1; }
  46.72% { transform: translate(281.8px, 236.9px) scale(1); opacity: 1; }
  47.54% { transform: translate(378.6px, 236.1px) scale(1); opacity: 1; }
  48.36% { transform: translate(355px, 237.2px) scale(1.02); opacity: 1; }
  49.18% { transform: translate(54px, 274.9px) scale(1); opacity: 1; }
  50% { transform: translate(82.8px, 290.3px) scale(1); opacity: 1; }
  50.82% { transform: translate(133.8px, 288.6px) scale(1); opacity: 1; }
  51.64% { transform: translate(184.7px, 286.9px) scale(1); opacity: 1; }
  52.46% { transform: translate(235.7px, 285.2px) scale(1); opacity: 1; }
  53.28% { transform: translate(234.1px, 276.4px) scale(1.02); opacity: 1; }
  54.1% { transform: translate(54.5px, 305.2px) scale(1); opacity: 1; }
  54.92% { transform: translate(79.1px, 315.2px) scale(1); opacity: 1; }
  55.74% { transform: translate(130px, 313.5px) scale(1); opacity: 1; }
  56.56% { transform: translate(181px, 311.8px) scale(1); opacity: 1; }
  57.38% { transform: translate(231.9px, 310.1px) scale(1); opacity: 1; }
  58.2% { transform: translate(266.8px, 327.8px) scale(1); opacity: 1; }
  59.02% { transform: translate(91.3px, 331.1px) scale(1.03); opacity: 1; }
  59.84% { transform: translate(62.3px, 356.9px) scale(1); opacity: 1; }
  60.66% { transform: translate(113.3px, 358.6px) scale(1); opacity: 1; }
  61.48% { transform: translate(164.2px, 357.7px) scale(1); opacity: 1; }
  62.3% { transform: translate(183.8px, 358.8px) scale(1.01); opacity: 1; }
  63.11% { transform: translate(58.7px, 379.4px) scale(1.01); opacity: 1; }
  63.93% { transform: translate(94.6px, 380.7px) scale(1); opacity: 1; }
  64.75% { transform: translate(191.2px, 386.6px) scale(1); opacity: 1; }
  65.57% { transform: translate(222.2px, 385.2px) scale(1.01); opacity: 1; }
  66.39% { transform: translate(57.6px, 446.3px) scale(1.01); opacity: 1; }
  67.21% { transform: translate(70.3px, 440.8px) scale(1); opacity: 1; }
  68.03% { transform: translate(124.8px, 442.2px) scale(1); opacity: 1; }
  68.85% { transform: translate(116.3px, 452.9px) scale(1); opacity: 1; }
  69.67% { transform: translate(212px, 453.1px) scale(1); opacity: 1; }
  70.49% { transform: translate(280.2px, 437.9px) scale(1); opacity: 1; }
  71.31% { transform: translate(291.6px, 448.5px) scale(1); opacity: 1; }
  72.13% { transform: translate(334.1px, 455.9px) scale(1); opacity: 1; }
  72.95% { transform: translate(325.9px, 456.5px) scale(1.02); opacity: 1; }
  73.77% { transform: translate(55.5px, 499.3px) scale(1); opacity: 1; }
  74.59% { transform: translate(79.8px, 488.8px) scale(1); opacity: 1; }
  75.41% { transform: translate(141.9px, 492px) scale(1); opacity: 1; }
  76.23% { transform: translate(99.6px, 502.8px) scale(1); opacity: 1; }
  77.05% { transform: translate(195.3px, 503.5px) scale(1); opacity: 1; }
  77.87% { transform: translate(263.7px, 490.1px) scale(1); opacity: 1; }
  78.69% { transform: translate(267.3px, 504.2px) scale(1); opacity: 1; }
  79.51% { transform: translate(358.7px, 507.4px) scale(1); opacity: 1; }
  80.33% { transform: translate(385.7px, 511.7px) scale(1.05); opacity: 1; }
  81.15% { transform: translate(410px, 542px) scale(1); opacity: 1; }
  81.97% { transform: translate(317.3px, 543.3px) scale(1); opacity: 1; }
  82.79% { transform: translate(220.5px, 542.6px) scale(1); opacity: 1; }
  83.61% { transform: translate(123.7px, 541.8px) scale(1); opacity: 1; }
  84.43% { transform: translate(26.9px, 542.5px) scale(1); opacity: 1; }
  85.25% { transform: translate(81.8px, 567.2px) scale(1); opacity: 1; }
  86.07% { transform: translate(172.6px, 569.1px) scale(1); opacity: 1; }
  86.89% { transform: translate(269.4px, 569.7px) scale(1); opacity: 1; }
  87.7% { transform: translate(366.1px, 569.5px) scale(1); opacity: 1; }
  88.52% { transform: translate(372px, 570px) scale(1); opacity: 1; }
  90.16% { transform: translate(372px, 570px) scale(1); opacity: 1; }
  90.98% { transform: translate(372.9px, 570.4px) scale(1); opacity: 1; }
  91.8% { transform: translate(376.2px, 571.9px) scale(1); opacity: 1; }
  92.62% { transform: translate(383.7px, 575.4px) scale(1.01); opacity: 1; }
  93.44% { transform: translate(397px, 581.5px) scale(1.03); opacity: 1; }
  94.26% { transform: translate(417.9px, 591.2px) scale(1.05); opacity: 1; }
  95.08% { transform: translate(445.7px, 610.7px) scale(1.05); opacity: 0.96; }
  95.9% { transform: translate(469.8px, 627.7px) scale(1.05); opacity: 0.8; }
  96.72% { transform: translate(486px, 639.1px) scale(1.05); opacity: 0.64; }
  97.54% { transform: translate(495.8px, 646px) scale(1.05); opacity: 0.48; }
  98.36% { transform: translate(500.9px, 649.5px) scale(1.05); opacity: 0.32; }
  99.18% { transform: translate(502.7px, 650.8px) scale(1.05); opacity: 0.16; }
  100% { transform: translate(503px, 651px) scale(1.05); opacity: 0; }
}

/* The wand: delay 4.85s, duration 4s. One tap at 210,300, a rest, then out. */
@keyframes hs-reveal-wand {
  0% { transform: translate(500px, 150px) scale(1.35); opacity: 0; }
  2.5% { transform: translate(438.1px, 182px) scale(1.35); opacity: 0.25; }
  5% { transform: translate(342px, 231.7px) scale(1.35); opacity: 0.75; }
  7.5% { transform: translate(277.6px, 265px) scale(1.35); opacity: 1; }
  10% { transform: translate(238.5px, 285.3px) scale(1.35); opacity: 1; }
  12.5% { transform: translate(218.4px, 295.6px) scale(1.35); opacity: 1; }
  15% { transform: translate(211.1px, 299.5px) scale(1.35); opacity: 1; }
  17.5% { transform: translate(210px, 300px) scale(1.35); opacity: 1; }
  20% { transform: translate(208.3px, 306.1px) scale(1.35); opacity: 1; }
  22.5% { transform: translate(208.3px, 306.1px) scale(1.35); opacity: 1; }
  25% { transform: translate(210px, 300px) scale(1.35); opacity: 1; }
  27.5% { transform: translate(210.4px, 300.4px) scale(1.35); opacity: 1; }
  30% { transform: translate(221.4px, 310.6px) scale(1.35); opacity: 1; }
  32.5% { transform: translate(262.7px, 349.2px) scale(1.35); opacity: 1; }
  35% { transform: translate(339.3px, 420.8px) scale(1.35); opacity: 1; }
  37.5% { transform: translate(380.6px, 459.4px) scale(1.35); opacity: 1; }
  40% { transform: translate(391.6px, 469.6px) scale(1.35); opacity: 1; }
  42.5% { transform: translate(392px, 470px) scale(1.35); opacity: 1; }
  82.5% { transform: translate(392px, 470px) scale(1.35); opacity: 1; }
  85% { transform: translate(392.3px, 469.7px) scale(1.35); opacity: 1; }
  87.5% { transform: translate(400px, 463.1px) scale(1.35); opacity: 1; }
  90% { transform: translate(429px, 438.2px) scale(1.35); opacity: 1; }
  92.5% { transform: translate(483px, 391.8px) scale(1.35); opacity: 0.83; }
  95% { transform: translate(512px, 366.9px) scale(1.35); opacity: 0.5; }
  97.5% { transform: translate(519.7px, 360.3px) scale(1.35); opacity: 0.17; }
  100% { transform: translate(520px, 360px) scale(1.35); opacity: 0; }
}
