/* Step scenes and ingredient drawings: colours, labels and motion. Used by js/scenes.js and js/scenes-recipes.js. */
:root {
  --sc-bg: #fbf1ea; --sc-counter: #f1e0d4; --sc-line: #3a2219; --sc-shadow: rgba(42, 23, 17, .16); --sc-hi: #ffffff;
  --sc-bowl: #ffffff; --sc-bowl-2: #e6d9d1; --sc-bowl-in: #f4ece6; --sc-pot: #e3ddd8; --sc-pot-2: #c9c1ba; --sc-pot-in: #8e8781; --sc-pan-in: #b9bec5;
  --sc-metal: #e4e7eb; --sc-metal-2: #9aa1aa; --sc-handle: #2b2522; --sc-pink: #ff3d7f; --sc-accent: #2443a8; --sc-lid: #3fa9f5;
  --sc-yolk: #f5b324; --sc-yolk-hi: #ffd166; --sc-white: #fffdf7; --sc-white-2: #ece6dc; --sc-shell: #eed3b0;
  --sc-choc: #4a2517; --sc-choc-hi: #7c4631; --sc-choc-dk: #2c140c; --sc-choc-gloss: #5c3020; --sc-crust: #75493a; --sc-crumb: #3d1f14; --sc-cut: #2c140c;
  --sc-batter: #5d3220; --sc-batter-hi: #87563d; --sc-pale: #f0c870; --sc-pale-hi: #f8e2a6; --sc-mousse: #7b4a35; --sc-mousse-hi: #a2694c;
  --sc-butter: #f6d36b; --sc-butter-hi: #fde9a8; --sc-wrap: #ffffff; --sc-sugar: #ffffff; --sc-coffee: #3a2418; --sc-rum: #c27a2c; --sc-cork: #b9875a; --sc-label: #fff4e2;
  --sc-steam: #cdbfb6; --sc-glow: #ffcf70; --sc-glow-2: #ff8a3d; --sc-glass: #e8f3f8; --sc-glass-hi: #ffffff; --sc-fridge: #eef7fb; --sc-lcd: #2a1711; --sc-bag: #e9c46a; --sc-egg-hi: #fdf3e5; --sc-shell-sh: #cba277; --sc-bowl-in-sh: #ddd2ca; --sc-metal-3: #7d848d; --sc-wood: #c08a55; --sc-wood-2: #8f5e33; --sc-crust-hi: #a0705a; --sc-silicone: #d64541; --sc-bag-2: #b9893a; --sc-sprinkle: #3a1d12; --sc-sprinkle-hi: #7a4a35; --sc-marble: #f4ece6;
  /* light, shadow and surfaces (kit v2) */
  --sc-wall-hi: rgba(255, 251, 246, .95); --sc-wall-sh: rgba(120, 66, 44, .12); --sc-counter-2: #e6cebf; --sc-counter-hi: #f8ece3; --sc-counter-edge: #dbc0ae; --sc-counter-edge-2: #c5a28d; --sc-grain: #6d4535;
  --sc-shadow-core: rgba(58, 28, 16, .5); --sc-occ: #3a1d10; --sc-spec: #ffffff; --sc-rim: #fff6ee;
  --sc-bowl-mid: #f2e9e3; --sc-bowl-sh: #cbbab0; --sc-bowl-rl: #f6ede7; --sc-bowl-in-hi: #fffdfb;
  --sc-shell-rl: #e4c59d; --sc-shell-in: #fbf4e8; --sc-shell-in-sh: #c9ad89; --sc-shell-edge: #fffdf7; --sc-crack: #6b4630;
  --sc-yolk-dk: #e1820c; --sc-alb: rgba(255, 251, 236, .58); --sc-alb-hi: rgba(255, 255, 255, .92); --sc-alb-edge: rgba(214, 190, 140, .8); --sc-alb-pool: #f4ecdd;
  --sc-metal-hi: #f9fafb; --sc-oven-panel: #1e1916; --sc-oven-glass: #140d0a; --sc-oven-cavity: #55291a; --sc-oven-glow: #ff8f3a; --sc-oven-glow-2: #ffd890; --sc-oven-el: #ff6a2b; --sc-lcd-on: #ffa257;
  --sc-fridge-body: #f6f3ef; --sc-fridge-body-2: #d9d2cb; --sc-fridge-light: #ffffff; --sc-fridge-shelf: rgba(150, 196, 216, .9); --sc-fridge-wall: #d6e7ef;
  --sc-appl: #f5ede3; --sc-appl-hi: #ffffff; --sc-appl-2: #d4c5b6; --sc-appl-acc: #d9505a;
  --sc-milk: #fbf8f1; --sc-milk-hi: #ffffff; --sc-milk-sh: #e4dccd; --sc-glass-edge: rgba(96, 128, 144, .5); --sc-mark: #cf4038;
  --sc-flour: #f8f3ea; --sc-flour-sh: #e0d4c1; --sc-board: #d8a86e; --sc-board-2: #b8834a; --sc-board-edge: #976234; --sc-board-grain: rgba(110, 60, 24, .42);
  --sc-blade: #eef1f4; --sc-blade-2: #9ea8b2; --sc-tin: #56514e; --sc-tin-2: #33302e; --sc-tin-hi: #a29a95;
  --sc-dish: #f4e8da; --sc-dish-2: #d6c1ad; --sc-amber: #c27a2c; --sc-amber-hi: #ecb46e; --sc-amber-dk: #5a2c0c;
  --sc-mer-sh: #d6cfcd; --sc-top: #3d1a0d; --sc-top-hi: #84492f; --sc-top-dk: #220e07; --sc-crust-dk: #3e2216; --sc-spr-2: #2a140c; --sc-spr-3: #4d2819; --sc-spr-4: #613524;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sc-bg: #26180f; --sc-counter: #321f15; --sc-line: #f2e4da; --sc-shadow: rgba(0, 0, 0, .35); --sc-hi: #ffffff;
    --sc-bowl: #45332a; --sc-bowl-2: #2f221c; --sc-bowl-in: #3a2b23; --sc-pot: #4a3d36; --sc-pot-2: #2e2520; --sc-pot-in: #1c1612; --sc-pan-in: #6b7078;
    --sc-metal: #b4bac2; --sc-metal-2: #727982; --sc-handle: #1a1512; --sc-accent: #a9b9ff;
    --sc-white: #f3eee6; --sc-white-2: #cfc7bb; --sc-shell: #c9aa84;
    --sc-choc: #66362a; --sc-choc-hi: #9a5f47; --sc-choc-dk: #3e1f15; --sc-crust: #84523d; --sc-crumb: #4b281b; --sc-cut: #3e1f15;
    --sc-batter: #774430; --sc-batter-hi: #a06a50; --sc-mousse: #94603f; --sc-mousse-hi: #bb825f;
    --sc-glass: #6d7f88; --sc-glass-hi: #a8bcc6; --sc-fridge: #33434a; --sc-lcd: #0c0705; --sc-wrap: #d8d0c8; --sc-sugar: #efe9e2; --sc-label: #e9dcc8; --sc-egg-hi: #ecdcc6; --sc-shell-sh: #8e6f50; --sc-bowl-in-sh: #2a1f19; --sc-metal-3: #555b63; --sc-wood: #a87545; --sc-wood-2: #6e4524; --sc-crust-hi: #a06a50; --sc-silicone: #e0605c; --sc-bag-2: #8a6424; --sc-sprinkle: #2a140c; --sc-sprinkle-hi: #8a5a43; --sc-marble: #2a1c15;
    --sc-wall-hi: rgba(255, 196, 140, .10); --sc-wall-sh: rgba(0, 0, 0, .22); --sc-counter-2: #2a1911; --sc-counter-hi: #3c271c; --sc-counter-edge: #28180f; --sc-counter-edge-2: #1d110b; --sc-grain: #000000;
    --sc-shadow-core: rgba(0, 0, 0, .62); --sc-occ: #000000; --sc-spec: #fff1e6; --sc-rim: #8f6f5f;
    --sc-bowl-mid: #3c2c24; --sc-bowl-sh: #241913; --sc-bowl-rl: #5a4438; --sc-bowl-in-hi: #4f3b31;
    --sc-shell-rl: #ad8c66; --sc-shell-in: #e6dac8; --sc-shell-in-sh: #8a7258; --sc-shell-edge: #f3ebdf; --sc-crack: #3d281c;
    --sc-yolk-dk: #c96f0a; --sc-alb: rgba(240, 232, 214, .42); --sc-alb-hi: rgba(255, 248, 238, .78); --sc-alb-edge: rgba(190, 168, 124, .7); --sc-alb-pool: #8d8172;
    --sc-metal-hi: #d9dde2; --sc-oven-panel: #0f0c0a; --sc-oven-glass: #0a0605; --sc-oven-cavity: #4a2213; --sc-oven-glow: #ff8a36; --sc-oven-glow-2: #ffcc7a; --sc-oven-el: #ff6326; --sc-lcd-on: #ff9a4a;
    --sc-fridge-body: #5b524c; --sc-fridge-body-2: #3a332e; --sc-fridge-light: #dff1f8; --sc-fridge-shelf: rgba(130, 176, 196, .75); --sc-fridge-wall: #3c5560;
    --sc-appl: #8d8076; --sc-appl-hi: #b8aca1; --sc-appl-2: #5a4f47; --sc-appl-acc: #c4505a;
    --sc-milk: #e9e3d8; --sc-milk-hi: #f6f1e9; --sc-milk-sh: #b8ae9f; --sc-glass-edge: rgba(150, 180, 196, .45); --sc-mark: #e0605a;
    --sc-flour: #e6dfd2; --sc-flour-sh: #b5aa98; --sc-board: #a87a48; --sc-board-2: #84592e; --sc-board-edge: #5e3a1c; --sc-board-grain: rgba(40, 20, 6, .5);
    --sc-blade: #c9cfd6; --sc-blade-2: #6e7782; --sc-tin: #3d3936; --sc-tin-2: #221f1d; --sc-tin-hi: #75706b;
    --sc-dish: #8a7a6b; --sc-dish-2: #5a4c40; --sc-amber: #a8651f; --sc-amber-hi: #d79a52; --sc-amber-dk: #3e1d06; --sc-mer-sh: #a99e95; --sc-top: #4c2415; --sc-top-hi: #a0603f; --sc-top-dk: #2a1209; --sc-crust-dk: #3a2014; --sc-spr-2: #1f0d07; --sc-spr-3: #47251a; --sc-spr-4: #5c3324;
  }
}
:root[data-theme="dark"] {
  --sc-bg: #26180f; --sc-counter: #321f15; --sc-line: #f2e4da; --sc-shadow: rgba(0, 0, 0, .35); --sc-hi: #ffffff;
  --sc-bowl: #45332a; --sc-bowl-2: #2f221c; --sc-bowl-in: #3a2b23; --sc-pot: #4a3d36; --sc-pot-2: #2e2520; --sc-pot-in: #1c1612; --sc-pan-in: #6b7078;
  --sc-metal: #b4bac2; --sc-metal-2: #727982; --sc-handle: #1a1512; --sc-accent: #a9b9ff;
  --sc-white: #f3eee6; --sc-white-2: #cfc7bb; --sc-shell: #c9aa84;
  --sc-choc: #66362a; --sc-choc-hi: #9a5f47; --sc-choc-dk: #3e1f15; --sc-crust: #84523d; --sc-crumb: #4b281b; --sc-cut: #3e1f15;
  --sc-batter: #774430; --sc-batter-hi: #a06a50; --sc-mousse: #94603f; --sc-mousse-hi: #bb825f;
  --sc-glass: #6d7f88; --sc-glass-hi: #a8bcc6; --sc-fridge: #33434a; --sc-lcd: #0c0705; --sc-wrap: #d8d0c8; --sc-sugar: #efe9e2; --sc-label: #e9dcc8; --sc-egg-hi: #ecdcc6; --sc-shell-sh: #8e6f50; --sc-bowl-in-sh: #2a1f19; --sc-metal-3: #555b63; --sc-wood: #a87545; --sc-wood-2: #6e4524; --sc-crust-hi: #a06a50; --sc-silicone: #e0605c; --sc-bag-2: #8a6424; --sc-sprinkle: #2a140c; --sc-sprinkle-hi: #8a5a43; --sc-marble: #2a1c15;
  --sc-wall-hi: rgba(255, 196, 140, .10); --sc-wall-sh: rgba(0, 0, 0, .22); --sc-counter-2: #2a1911; --sc-counter-hi: #3c271c; --sc-counter-edge: #28180f; --sc-counter-edge-2: #1d110b; --sc-grain: #000000;
  --sc-shadow-core: rgba(0, 0, 0, .62); --sc-occ: #000000; --sc-spec: #fff1e6; --sc-rim: #8f6f5f;
  --sc-bowl-mid: #3c2c24; --sc-bowl-sh: #241913; --sc-bowl-rl: #5a4438; --sc-bowl-in-hi: #4f3b31;
  --sc-shell-rl: #ad8c66; --sc-shell-in: #e6dac8; --sc-shell-in-sh: #8a7258; --sc-shell-edge: #f3ebdf; --sc-crack: #3d281c;
  --sc-yolk-dk: #c96f0a; --sc-alb: rgba(240, 232, 214, .42); --sc-alb-hi: rgba(255, 248, 238, .78); --sc-alb-edge: rgba(190, 168, 124, .7); --sc-alb-pool: #8d8172;
  --sc-metal-hi: #d9dde2; --sc-oven-panel: #0f0c0a; --sc-oven-glass: #0a0605; --sc-oven-cavity: #4a2213; --sc-oven-glow: #ff8a36; --sc-oven-glow-2: #ffcc7a; --sc-oven-el: #ff6326; --sc-lcd-on: #ff9a4a;
  --sc-fridge-body: #5b524c; --sc-fridge-body-2: #3a332e; --sc-fridge-light: #dff1f8; --sc-fridge-shelf: rgba(130, 176, 196, .75); --sc-fridge-wall: #3c5560;
  --sc-appl: #8d8076; --sc-appl-hi: #b8aca1; --sc-appl-2: #5a4f47; --sc-appl-acc: #c4505a;
  --sc-milk: #e9e3d8; --sc-milk-hi: #f6f1e9; --sc-milk-sh: #b8ae9f; --sc-glass-edge: rgba(150, 180, 196, .45); --sc-mark: #e0605a;
  --sc-flour: #e6dfd2; --sc-flour-sh: #b5aa98; --sc-board: #a87a48; --sc-board-2: #84592e; --sc-board-edge: #5e3a1c; --sc-board-grain: rgba(40, 20, 6, .5);
  --sc-blade: #c9cfd6; --sc-blade-2: #6e7782; --sc-tin: #3d3936; --sc-tin-2: #221f1d; --sc-tin-hi: #75706b;
  --sc-dish: #8a7a6b; --sc-dish-2: #5a4c40; --sc-amber: #a8651f; --sc-amber-hi: #d79a52; --sc-amber-dk: #3e1d06; --sc-mer-sh: #a99e95; --sc-top: #4c2415; --sc-top-hi: #a0603f; --sc-top-dk: #2a1209; --sc-crust-dk: #3a2014; --sc-spr-2: #1f0d07; --sc-spr-3: #47251a; --sc-spr-4: #5c3324;
}

/* ---------- labels and motion ---------- */
.sc-label { font-family: var(--f-body); font-size: 13px; font-weight: 700; fill: var(--sc-line); text-anchor: middle; paint-order: stroke; stroke: var(--sc-bg); stroke-opacity: .55; stroke-width: 3.5px; stroke-linejoin: round; letter-spacing: .01em; }
.sc-lcd { font-family: var(--f-body); font-size: 13px; font-weight: 700; fill: var(--sc-lcd-on); text-anchor: middle; paint-order: stroke; stroke: var(--sc-lcd-on); stroke-opacity: .28; stroke-width: 2px; letter-spacing: .02em; }
.sc-z { font-family: var(--f-display); font-size: 22px; fill: var(--sc-line); }
.scene [class^="a-"], .scene [class*=" a-"], .scene .sc-z, .ing-art [class^="a-"], .ing-art [class*=" a-"] { transform-box: fill-box; }
.sc-z { animation: zz 3s ease-in-out infinite; }
.sc-z2 { animation-delay: 1.5s; }
@keyframes zz { 0% { opacity: 0; transform: translate(0, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(14px, -30px); } }

/* ---------- kit motion: built into the shared components (js/scenes.js); { motion: false } leaves the class off ---------- */
.a-kglow { animation: kglow 3.2s ease-in-out infinite; }                          /* oven: the cavity light breathes */
@keyframes kglow { 0%, 100% { opacity: .78; } 50% { opacity: 1; } }
.a-kel { animation: kel 2.6s linear infinite; }                                   /* oven: the element flickers */
@keyframes kel { 0%, 100% { opacity: .72; } 18% { opacity: 1; } 34% { opacity: .82; } 55% { opacity: .98; } 72% { opacity: .78; } }
.a-kled { animation: kled 1.6s ease-in-out infinite; }                            /* oven: preheat light */
@keyframes kled { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.a-kswish { animation: kswish 1.1s cubic-bezier(.45, 0, .55, 1) infinite alternate; transform-origin: 50% 0; }   /* whisk */
@keyframes kswish { from { transform: rotate(-10deg); } to { transform: rotate(10deg); } }
.a-kflex { animation: kflex .55s ease-in-out infinite alternate; transform-origin: 50% 0; }                        /* whisk wires */
@keyframes kflex { from { transform: scaleX(.94); } to { transform: scaleX(1.05); } }
.a-kspin { animation: kspin .24s ease-in-out infinite; transform-origin: center; }  /* mixer beaters */
@keyframes kspin { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(-1); } }
.a-khumb { animation: khumb .14s linear infinite; }                               /* mixer body hum */
@keyframes khumb { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(.35px, -.25px); } 50% { transform: translate(-.25px, .2px); } 75% { transform: translate(.2px, .3px); } }
.a-ksteam { animation: ksteam 3.4s ease-in-out infinite; transform-origin: 50% 100%; filter: blur(2.2px); }   /* steam: soft vapour that curls up and thins */
@keyframes ksteam { 0% { opacity: 0; transform: translate(0, 5px) scale(.9, .8); } 35% { opacity: .9; } 100% { opacity: 0; transform: translate(-3px, -12px) scale(1.35, 1.12); } }
.a-kbub { animation: kbub 1.9s ease-out infinite; transform-origin: center; }      /* pot: simmer bubbles rise and pop */
@keyframes kbub { 0% { opacity: 0; transform: scale(.2); } 25% { opacity: .9; transform: scale(1); } 70% { opacity: .9; transform: scale(1.15); } 78%, 100% { opacity: 0; transform: scale(1.7); } }
.a-khum { animation: khum 5s linear infinite; }                                   /* fridge light hums */
@keyframes khum { 0%, 46%, 100% { opacity: .9; } 48% { opacity: .62; } 50% { opacity: 1; } 52% { opacity: .8; } 55% { opacity: .95; } }
.a-kmist { animation: kmist 4.2s ease-out infinite; transform-origin: center; }   /* fridge: cold mist spills out */
@keyframes kmist { 0% { opacity: 0; transform: translate(0, -2px) scale(.6); } 30% { opacity: .85; } 100% { opacity: 0; transform: translate(10px, 9px) scale(1.5, 1.2); } }
.a-ktick { animation: ktick 60s steps(60) infinite; transform-origin: center; }   /* timer hand: a tick a second */
@keyframes ktick { to { transform: rotate(360deg); } }

/* ---------- prep: tap, crack, open, yolk left and white right, splash, a fresh egg (6 s) ----------
   The scene is drawn in its hero pose, which is the 2.2 s still (36.7 %), the reduced-motion frame and the base
   state; transforms here are offsets from that pose. No animation-delay: all timing lives in the percentages. */
.a-egg { animation: pEgg 6s infinite; transform-origin: center; }
@keyframes pEgg {
  0%, 5% { transform: translate(0, 0) rotate(0); animation-timing-function: cubic-bezier(.3, 0, .4, 1); }
  8.5% { transform: translate(-2px, -9px) rotate(5deg); animation-timing-function: cubic-bezier(.6, 0, .9, .45); }
  12% { transform: translate(9px, 43px) rotate(-10deg); animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  14% { transform: translate(7px, 35px) rotate(-7deg); animation-timing-function: cubic-bezier(.45, 0, .25, 1); }
  22%, 100% { transform: translate(0, 0) rotate(0); }
}
.a-eggW { opacity: 0; animation: pEggW 6s infinite; }
@keyframes pEggW {
  0%, 21.5% { opacity: 1; transform: translateY(0); }
  23.5% { opacity: 0; transform: translateY(0); }
  24%, 74% { opacity: 0; transform: translateY(-28px); animation-timing-function: cubic-bezier(.3, .6, .4, 1); }
  80% { opacity: 1; transform: translateY(2.5px); animation-timing-function: ease-in-out; }
  83.5% { opacity: 1; transform: translateY(-1.2px); animation-timing-function: ease-in-out; }
  87%, 100% { opacity: 1; transform: translateY(0); }
}
.a-crk { opacity: 0; stroke-dasharray: 100 120; stroke-dashoffset: 0; animation: pCrk 6s infinite; }
@keyframes pCrk {
  0%, 11.9% { opacity: 0; stroke-dashoffset: 101; }
  12% { opacity: 1; stroke-dashoffset: 62; animation-timing-function: cubic-bezier(.2, .6, .4, 1); }
  19%, 23% { opacity: 1; stroke-dashoffset: 0; }
  25%, 100% { opacity: 0; stroke-dashoffset: 0; }
}
.a-chip1, .a-chip2 { opacity: 0; animation: pChip1 6s infinite; transform-origin: center; }
.a-chip2 { animation-name: pChip2; }
@keyframes pChip1 { 0%, 11.9% { opacity: 0; transform: translate(0, 0) rotate(0); } 12% { opacity: 1; transform: translate(0, 0) rotate(0); animation-timing-function: cubic-bezier(.2, .7, .5, 1); } 15% { opacity: 1; transform: translate(-8px, -9px) rotate(-150deg); animation-timing-function: cubic-bezier(.5, 0, .9, .5); } 18.5%, 100% { opacity: 0; transform: translate(-14px, 5px) rotate(-260deg); } }
@keyframes pChip2 { 0%, 11.9% { opacity: 0; transform: translate(0, 0) rotate(0); } 12% { opacity: 1; transform: translate(0, 0) rotate(0); animation-timing-function: cubic-bezier(.2, .7, .5, 1); } 14.6% { opacity: 1; transform: translate(-3px, -13px) rotate(140deg); animation-timing-function: cubic-bezier(.5, 0, .9, .5); } 18%, 100% { opacity: 0; transform: translate(-7px, -2px) rotate(240deg); } }
.a-rock { animation: pRock 6s infinite; transform-origin: 50% 100%; }
@keyframes pRock {
  0%, 12% { transform: rotate(0); animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  13.4% { transform: rotate(-1.6deg); animation-timing-function: ease-in-out; }
  15.6% { transform: rotate(.8deg); animation-timing-function: ease-in-out; }
  17.6% { transform: rotate(-.3deg); animation-timing-function: ease-in-out; }
  19.5%, 100% { transform: rotate(0); }
}
.a-shL { animation: pShL 6s infinite; transform-origin: center; }
.a-shR { animation: pShR 6s infinite; transform-origin: center; }
@keyframes pShL {
  0%, 21.5% { opacity: 0; transform: translate(31px, -10px) rotate(-100deg); }
  23% { opacity: 1; transform: translate(31px, -10px) rotate(-100deg); animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  27.5% { opacity: 1; transform: translate(-1px, 1.5px) rotate(7deg); animation-timing-function: ease-in-out; }
  31% { opacity: 1; transform: translate(0, 0) rotate(-2deg); animation-timing-function: ease-in-out; }
  34%, 58% { opacity: 1; transform: translate(0, 0) rotate(0); animation-timing-function: cubic-bezier(.5, 0, .9, .5); }
  66% { opacity: 0; transform: translate(-16px, -36px) rotate(-38deg); }
  66.1%, 100% { opacity: 0; transform: translate(31px, -10px) rotate(-100deg); }
}
@keyframes pShR {
  0%, 21.5% { opacity: 0; transform: translate(-31px, -6px) rotate(100deg); }
  23% { opacity: 1; transform: translate(-31px, -6px) rotate(100deg); animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  27.5% { opacity: 1; transform: translate(1px, 1.5px) rotate(-7deg); animation-timing-function: ease-in-out; }
  31% { opacity: 1; transform: translate(0, 0) rotate(2deg); animation-timing-function: ease-in-out; }
  34%, 49% { opacity: 1; transform: translate(0, 0) rotate(0); animation-timing-function: ease-in-out; }
  51.5% { opacity: 1; transform: translate(0, 1.5px) rotate(-7deg); animation-timing-function: ease-in-out; }
  54% { opacity: 1; transform: translate(0, 0) rotate(2.5deg); animation-timing-function: ease-in-out; }
  56.5%, 58% { opacity: 1; transform: translate(0, 0) rotate(0); animation-timing-function: cubic-bezier(.5, 0, .9, .5); }
  66% { opacity: 0; transform: translate(16px, -36px) rotate(38deg); }
  66.1%, 100% { opacity: 0; transform: translate(-31px, -6px) rotate(100deg); }
}
.a-shin { animation: pShin 6s infinite; transform-origin: center; }
@keyframes pShin { 0%, 23% { transform: scaleY(0); animation-timing-function: cubic-bezier(.3, 0, .2, 1); } 27.5% { transform: scaleY(1.08); animation-timing-function: ease-in-out; } 31%, 100% { transform: scaleY(1); } }
.a-yolk { animation: pYolk 6s infinite; transform-origin: 50% 100%; }
@keyframes pYolk {
  0%, 27.9% { opacity: 0; transform: translate(1.8px, -25px) scale(.85); }
  28% { opacity: 1; transform: translate(1.8px, -25px) scale(.85); animation-timing-function: ease-out; }
  29.5% { opacity: 1; transform: translate(1.8px, -24.4px) scale(.95, .98); animation-timing-function: ease-in-out; }
  31% { opacity: 1; transform: translate(1.8px, -23.4px) scale(.96, 1.06); animation-timing-function: cubic-bezier(.333, 0, .667, .333); }
  36.7% { opacity: 1; transform: translate(0, 0) scale(1); animation-timing-function: cubic-bezier(.33, .26, .67, .59); }
  40% { opacity: 1; transform: translate(-1.1px, 35px) scale(1.26, .7); animation-timing-function: cubic-bezier(.2, .6, .4, 1); }
  41.6% { opacity: 1; transform: translate(-1.1px, 35px) scale(1.07, .9); animation-timing-function: ease-in-out; }
  43.6% { opacity: 1; transform: translate(-1.1px, 35px) scale(1.2, .78); animation-timing-function: ease-in-out; }
  46%, 74% { opacity: 1; transform: translate(-1.1px, 35px) scale(1.163, .808); }
  86%, 100% { opacity: 0; transform: translate(-1.1px, 35px) scale(1.163, .808); }
}
.a-strand { animation: pStrand 6s infinite; transform-origin: 50% 0; }
@keyframes pStrand {
  0%, 30.9% { opacity: 0; transform: scaleY(.1); }
  31% { opacity: .95; transform: scaleY(.12); animation-timing-function: cubic-bezier(.333, 0, .667, .333); }
  36.7% { opacity: .95; transform: scaleY(1); }
  37.6% { opacity: .9; transform: scaleY(1.1); animation-timing-function: ease-out; }
  39%, 100% { opacity: 0; transform: scaleY(.3); }
}
.a-ripY { opacity: 0; animation: pRipY 6s infinite; transform-origin: center; }
@keyframes pRipY { 0%, 39.9% { opacity: 0; transform: scale(.4); } 40% { opacity: .9; transform: scale(.4); animation-timing-function: cubic-bezier(.2, .6, .4, 1); } 52%, 100% { opacity: 0; transform: scale(2.1); } }
.a-jig { animation: pJig 6s infinite; transform-origin: 50% 100%; }
@keyframes pJig { 0%, 40% { transform: scale(1); animation-timing-function: cubic-bezier(.2, .6, .4, 1); } 41.6% { transform: scale(1.035, .955); animation-timing-function: ease-in-out; } 43.8% { transform: scale(.985, 1.02); animation-timing-function: ease-in-out; } 46.5%, 100% { transform: scale(1); } }
.a-alb { stroke-dasharray: 100 120; stroke-dashoffset: 0; animation: pAlb 6s infinite; }
@keyframes pAlb {
  0%, 25.5% { stroke-dashoffset: 101; animation-timing-function: cubic-bezier(.5, 0, .8, .6); }
  31% { stroke-dashoffset: 0; }
  46% { stroke-dashoffset: 0; animation-timing-function: cubic-bezier(.5, 0, .9, .6); }
  54%, 100% { stroke-dashoffset: -101; }
}
.a-bulge { animation: pBulge 6s infinite; transform-origin: 50% 100%; }
@keyframes pBulge { 0%, 30.5% { opacity: 0; transform: scale(.3); } 32% { opacity: .85; transform: scale(1.1); animation-timing-function: ease-in-out; } 46% { opacity: .85; transform: scale(1); } 53%, 100% { opacity: 0; transform: scale(.4); } }
.a-rip1, .a-rip2 { animation: pRip1 6s infinite; transform-origin: center; }
.a-rip2 { opacity: 0; animation-name: pRip2; }
@keyframes pRip1 { 0%, 30.9% { opacity: 0; transform: scale(.3); } 31% { opacity: .9; transform: scale(.3); animation-timing-function: cubic-bezier(.2, .6, .4, 1); } 46%, 100% { opacity: 0; transform: scale(2.6); } }
@keyframes pRip2 { 0%, 35.9% { opacity: 0; transform: scale(.3); } 36% { opacity: .8; transform: scale(.3); animation-timing-function: cubic-bezier(.2, .6, .4, 1); } 51%, 100% { opacity: 0; transform: scale(2.4); } }
.a-drip { opacity: 0; animation: pDrip 6s infinite; transform-origin: 50% 0; }
@keyframes pDrip {
  0%, 51.9% { opacity: 0; transform: translate(0, 0) scale(.5); }
  52% { opacity: 1; transform: translate(0, 0) scale(.5); animation-timing-function: ease-in-out; }
  54.5% { opacity: 1; transform: translate(0, 1.5px) scale(.9, 1.25); animation-timing-function: cubic-bezier(.4, 0, .9, .5); }
  58% { opacity: 1; transform: translate(11px, 53px) scale(.8, 1.3); }
  58.4%, 100% { opacity: 0; transform: translate(11px, 53px) scale(.8, 1.3); }
}

/* ---------- melt (5 s): chips drop in and melt, the spatula stirs, the swirl and the butter follow it ---------- */
.a-mStir { animation: mStir 2.5s infinite; transform-origin: center; }
@keyframes mStir {
  0%, 100% { transform: translate(0, 0) rotate(0); animation-timing-function: ease-in-out; }
  25% { transform: translate(14px, 2.5px) rotate(3deg); animation-timing-function: ease-in-out; }
  50% { transform: translate(1px, 4.5px) rotate(0); animation-timing-function: ease-in-out; }
  75% { transform: translate(-15px, 2px) rotate(-4deg); animation-timing-function: ease-in-out; }
}
.a-mSwirl { animation: spin 2.5s linear infinite; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }
.a-mChip { animation: mChip 5s infinite; transform-origin: 50% 100%; }
@keyframes mChip {
  0% { opacity: 0; transform: translate(0, -34px) scale(1); }
  6% { opacity: 1; transform: translate(0, -34px) scale(1); animation-timing-function: cubic-bezier(.5, 0, .9, .5); }
  13% { opacity: 1; transform: translate(0, 0) scale(1.16, .8); animation-timing-function: ease-out; }
  17% { opacity: 1; transform: translate(0, -2px) scale(.95, 1.06); animation-timing-function: ease-in-out; }
  21%, 48% { opacity: 1; transform: translate(0, 0) scale(1); animation-timing-function: cubic-bezier(.4, 0, .6, 1); }
  82% { opacity: .85; transform: translate(0, 3px) scale(.55, .18); }
  90%, 100% { opacity: 0; transform: translate(0, 3px) scale(.4, .1); }
}
.a-mButter { animation: mButter 2.5s ease-in-out infinite alternate; transform-origin: center; }
@keyframes mButter { from { transform: translate(-3px, .5px) rotate(-6deg); } to { transform: translate(3px, -.5px) rotate(5deg); } }

/* ---------- beat (5 s): the mixer orbits the bowl, a chocolate ribbon pours and swirls through the pale batter ---------- */
.a-bOrbit { animation: bOrbit 2.5s infinite; }
@keyframes bOrbit {
  0%, 100% { transform: translate(0, 0); animation-timing-function: ease-in-out; }
  25% { transform: translate(12px, 1.5px); animation-timing-function: ease-in-out; }
  50% { transform: translate(0, 3px); animation-timing-function: ease-in-out; }
  75% { transform: translate(-12px, 1.5px); animation-timing-function: ease-in-out; }
}
.a-bSwirl { animation: spinBack 2.5s linear infinite; transform-origin: center; }
@keyframes spinBack { to { transform: rotate(-360deg); } }
.a-bFlow { animation: bFlow .5s linear infinite; }
@keyframes bFlow { to { stroke-dashoffset: -16; } }
.a-bTip { animation: bTip 2.2s ease-in-out infinite alternate; transform-origin: 90% 20%; }
@keyframes bTip { from { transform: rotate(-2deg); } to { transform: rotate(2.5deg); } }
.a-bLand { animation: bLand .9s ease-out infinite; transform-origin: center; }
@keyframes bLand { from { opacity: .9; transform: scale(.6); } to { opacity: 0; transform: scale(1.9); } }

/* ---------- flavor (5 s): two spoons tip in turn, drops fall and ripple, the pool turns ---------- */
.a-fSpoonL, .a-fSpoonR { animation: fSpoonL 5s infinite; transform-origin: center; }
.a-fSpoonR { animation-name: fSpoonR; }
@keyframes fSpoonL {
  0%, 18% { transform: rotate(-18deg); animation-timing-function: cubic-bezier(.45, 0, .3, 1); }
  34% { transform: rotate(2.5deg); animation-timing-function: ease-in-out; }
  40%, 52% { transform: rotate(0); animation-timing-function: cubic-bezier(.45, 0, .3, 1); }
  66%, 100% { transform: rotate(-18deg); }
}
@keyframes fSpoonR {
  0%, 22% { transform: rotate(18deg); animation-timing-function: cubic-bezier(.45, 0, .3, 1); }
  37% { transform: rotate(-2.5deg); animation-timing-function: ease-in-out; }
  42%, 56% { transform: rotate(0); animation-timing-function: cubic-bezier(.45, 0, .3, 1); }
  71%, 100% { transform: rotate(18deg); }
}
.a-fDropL, .a-fDropR { animation: fDropL 5s infinite; }
.a-fDropR { animation-name: fDropR; }
@keyframes fDropL {
  0%, 40% { opacity: 0; transform: translate(0, -6px); }
  40.5% { opacity: 1; transform: translate(0, -6px); animation-timing-function: cubic-bezier(.5, 0, .9, .5); }
  44% { opacity: 1; transform: translate(0, 0); animation-timing-function: cubic-bezier(.4, .3, .9, .7); }
  49% { opacity: 1; transform: translate(0, 15px); }
  49.5%, 100% { opacity: 0; transform: translate(0, 15px); }
}
@keyframes fDropR {
  0%, 42.6% { opacity: 0; transform: translate(0, -7px); }
  43% { opacity: 1; transform: translate(0, -7px); animation-timing-function: cubic-bezier(.5, 0, .9, .5); }
  44% { opacity: 1; transform: translate(0, 0); animation-timing-function: cubic-bezier(.4, .3, .9, .7); }
  50% { opacity: 1; transform: translate(0, 16px); }
  50.5%, 100% { opacity: 0; transform: translate(0, 16px); }
}
.a-fRipL, .a-fRipR { opacity: 0; animation: fRipL 5s infinite; transform-origin: center; }
.a-fRipR { animation-name: fRipR; }
@keyframes fRipL { 0%, 49% { opacity: 0; transform: scale(.3); } 49.3% { opacity: .9; transform: scale(.3); animation-timing-function: cubic-bezier(.2, .6, .4, 1); } 64%, 100% { opacity: 0; transform: scale(2.6); } }
@keyframes fRipR { 0%, 50.3% { opacity: 0; transform: scale(.3); } 50.6% { opacity: .9; transform: scale(.3); animation-timing-function: cubic-bezier(.2, .6, .4, 1); } 66%, 100% { opacity: 0; transform: scale(2.6); } }
.a-fSwirl { animation: spin 5s linear infinite; transform-origin: center; }
.a-fGlint { animation: fGlint 5s ease-in-out infinite; }
@keyframes fGlint { 0%, 8% { opacity: 0; transform: translateX(-2px); } 18% { opacity: .75; } 30%, 100% { opacity: 0; transform: translateX(20px); } }

/* ---------- whites (5 s): whip in the bowl, lift out, the pulled-up peak stands, back in ---------- */
.a-wLift { animation: wLift 5s infinite; }
@keyframes wLift {
  0% { transform: translate(-60px, 30px); animation-timing-function: ease-in-out; }
  9% { transform: translate(-48px, 31px); animation-timing-function: ease-in-out; }
  18% { transform: translate(-58px, 30px); animation-timing-function: ease-in-out; }
  25% { transform: translate(-54px, 29px); animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  37% { transform: translate(2px, -3px); animation-timing-function: ease-in-out; }
  41%, 72% { transform: translate(0, 0); animation-timing-function: cubic-bezier(.5, 0, .7, .4); }
  84% { transform: translate(-54px, 30px); animation-timing-function: ease-in-out; }
  92% { transform: translate(-48px, 31px); animation-timing-function: ease-in-out; }
  100% { transform: translate(-60px, 30px); }
}
.a-wPeak { animation: wPeak 5s infinite; transform-origin: 50% 100%; }
@keyframes wPeak {
  0%, 25% { transform: scaleY(.2); animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  36% { transform: scaleY(1.12); animation-timing-function: ease-in-out; }
  40% { transform: scaleY(.96); animation-timing-function: ease-in-out; }
  44% { transform: scaleY(1); animation-timing-function: ease-in-out; }
  48% { transform: scaleY(1.015) rotate(1deg); animation-timing-function: ease-in-out; }
  54%, 72% { transform: scaleY(1) rotate(0); animation-timing-function: ease-in; }
  84%, 100% { transform: scaleY(.2); }
}

/* ---------- fold (5 s): cut down the middle, sweep under, lift a fold up the side and over; the bowl turns ---------- */
.a-oSpat { animation: oSpat 5s infinite; transform-origin: center; }
@keyframes oSpat {
  0%, 8% { transform: translate(46px, -30px) rotate(-26deg); animation-timing-function: cubic-bezier(.5, 0, .7, .4); }
  20% { transform: translate(48px, 6px) rotate(-30deg); animation-timing-function: ease-in-out; }
  32% { transform: translate(6px, 14px) rotate(-8deg); animation-timing-function: ease-in-out; }
  44% { transform: translate(0, 0) rotate(0); animation-timing-function: ease-in-out; }
  52% { transform: translate(16px, -10px) rotate(-16deg); animation-timing-function: ease-in-out; }
  62% { transform: translate(40px, -34px) rotate(-30deg); animation-timing-function: ease-in-out; }
  74%, 100% { transform: translate(46px, -30px) rotate(-26deg); }
}
.a-oFlap { animation: oFlap 5s infinite; transform-origin: 85% 100%; }
@keyframes oFlap {
  0%, 35% { opacity: 0; transform: scale(.2) rotate(-30deg); }
  39% { opacity: 1; transform: scale(.75) rotate(-18deg); animation-timing-function: ease-out; }
  44% { opacity: 1; transform: scale(1) rotate(0); animation-timing-function: ease-in-out; }
  52% { opacity: 1; transform: translate(8px, 2px) rotate(38deg); animation-timing-function: ease-in; }
  57% { opacity: .9; transform: translate(14px, 6px) rotate(52deg) scale(1, .4); }
  64%, 100% { opacity: 0; transform: translate(14px, 6px) rotate(52deg) scale(1, .3); }
}
.a-oTurn { animation: spin 10s linear infinite; transform-origin: center; }   /* the bowl turns once every two folds */
.a-oDash { animation: oDash 1.1s linear infinite; }
@keyframes oDash { to { stroke-dashoffset: -22; } }

/* ---------- divide (5 s): the bowl tips a thick ribbon into the pan, the lid goes on the third ---------- */
.a-dTip { animation: dTip 5s infinite; transform-origin: center; }
@keyframes dTip {
  0%, 12% { transform: rotate(26deg); animation-timing-function: cubic-bezier(.45, 0, .3, 1); }
  30% { transform: rotate(-2deg); animation-timing-function: ease-in-out; }
  36%, 66% { transform: rotate(0); animation-timing-function: cubic-bezier(.45, 0, .3, 1); }
  82%, 100% { transform: rotate(26deg); }
}
.a-dPour { stroke-dasharray: 100 120; stroke-dashoffset: 0; animation: dPour 5s infinite; }
@keyframes dPour {
  0%, 30% { stroke-dashoffset: 101; animation-timing-function: cubic-bezier(.5, 0, .8, .6); }
  38% { stroke-dashoffset: 0; }
  64% { stroke-dashoffset: 0; animation-timing-function: cubic-bezier(.5, 0, .9, .6); }
  74%, 100% { stroke-dashoffset: -101; }
}
.a-dRip { opacity: 0; animation: dRip 5s infinite; transform-origin: center; }
.a-dRip2 { animation-name: dRip2; }
@keyframes dRip { 0%, 37.9% { opacity: 0; transform: scale(.4); } 38% { opacity: .9; transform: scale(.4); } 50% { opacity: 0; transform: scale(2.2); } 50.1% { opacity: .9; transform: scale(.4); } 62% { opacity: 0; transform: scale(2.2); } 62.1%, 100% { opacity: 0; transform: scale(.4); } }
@keyframes dRip2 { 0%, 43.9% { opacity: 0; transform: scale(.4); } 44% { opacity: .8; transform: scale(.4); } 56% { opacity: 0; transform: scale(2.2); } 56.1% { opacity: .8; transform: scale(.4); } 68% { opacity: 0; transform: scale(2.2); } 68.1%, 100% { opacity: 0; transform: scale(.4); } }
.a-dLid { animation: dLid 5s infinite; transform-origin: center; }
@keyframes dLid {
  0%, 8% { transform: translate(7px, -18px) rotate(9deg); animation-timing-function: cubic-bezier(.45, 0, .3, 1); }
  20% { transform: translate(0, -1px) rotate(0); animation-timing-function: ease-in; }
  22.5% { transform: translate(0, 1.2px) scale(1.01, .9); animation-timing-function: ease-out; }
  26%, 82% { transform: translate(0, 0) scale(1); animation-timing-function: cubic-bezier(.45, 0, .3, 1); }
  93%, 100% { transform: translate(7px, -18px) rotate(9deg); }
}

/* ---------- bake (6 s): the cake puffs up and browns, heat shimmers; the still is fully risen ---------- */
.a-kRise { animation: kRise 6s infinite; transform-origin: 50% 100%; }
@keyframes kRise {
  0% { transform: scaleY(.3); animation-timing-function: cubic-bezier(.25, .6, .35, 1); }
  42% { transform: scaleY(1.04); animation-timing-function: ease-in-out; }
  50%, 80% { transform: scaleY(1); animation-timing-function: cubic-bezier(.5, 0, .5, 1); }
  100% { transform: scaleY(.3); }
}
.a-heat { animation: heat 1.8s ease-in-out infinite; }
@keyframes heat { 0% { opacity: 0; transform: translateY(6px); } 40% { opacity: .55; } 100% { opacity: 0; transform: translateY(-8px); } }

/* ---------- chill (6 s): the night outside: moon, stars, a racing clock, zzz ---------- */
.a-cMoon { animation: cMoon 6s ease-in-out infinite; transform-origin: center; }
@keyframes cMoon { 0%, 100% { transform: rotate(-6deg) translateY(1px); } 50% { transform: rotate(8deg) translateY(-2px); } }
.a-cStar { animation: cStar 2.4s ease-in-out infinite; transform-origin: center; }
@keyframes cStar { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .25; transform: scale(.6); } }
.a-cMin { animation: spin 1.5s linear infinite; transform-origin: center; }
.a-cHour { animation: spin 18s linear infinite; transform-origin: center; }
.sc-z3 { animation-delay: 2s; }

/* ---------- spread (6 s): a dollop drops into the hollow, the spatula spreads it level inside the rim ---------- */
.a-pDol { opacity: 0; animation: pDol 6s infinite; transform-origin: 50% 100%; }
@keyframes pDol {
  0% { opacity: 0; transform: translateY(-70px) scale(1); }
  2% { opacity: 1; transform: translateY(-70px) scale(1); animation-timing-function: cubic-bezier(.5, 0, .9, .5); }
  8% { opacity: 1; transform: translateY(0) scale(1.22, .78); animation-timing-function: ease-out; }
  11% { opacity: 1; transform: translateY(0) scale(.94, 1.06); animation-timing-function: ease-in-out; }
  14%, 20% { opacity: 1; transform: translateY(0) scale(1); animation-timing-function: ease-in; }
  42%, 100% { opacity: 0; transform: translateY(1px) scale(1.7, .2); }
}
.a-pTop { animation: pTop 6s infinite; transform-origin: center; }
@keyframes pTop {
  0%, 7.9% { opacity: 0; transform: scale(.2); }
  8% { opacity: 1; transform: scale(.24); animation-timing-function: cubic-bezier(.3, .5, .4, 1); }
  46% { opacity: 1; transform: scale(1); }
  88% { opacity: 1; transform: scale(1); animation-timing-function: ease-in; }
  95%, 100% { opacity: 0; transform: scale(1); }
}
.a-pSpat { animation: pSpat 6s infinite; transform-origin: center; }
@keyframes pSpat {
  0%, 12% { transform: translate(70px, -56px) rotate(-14deg); animation-timing-function: cubic-bezier(.45, 0, .3, 1); }
  20% { transform: translate(18px, 0) rotate(0); animation-timing-function: ease-in-out; }
  28% { transform: translate(-24px, 1px) rotate(3deg); animation-timing-function: ease-in-out; }
  36.7% { transform: translate(0, 0) rotate(0); animation-timing-function: ease-in-out; }
  46% { transform: translate(22px, -1px) rotate(-2deg); animation-timing-function: ease-in-out; }
  56% { transform: translate(-18px, 1px) rotate(2deg); animation-timing-function: ease-in-out; }
  65% { transform: translate(8px, 0) rotate(0); animation-timing-function: cubic-bezier(.45, 0, .3, 1); }
  74%, 100% { transform: translate(70px, -56px) rotate(-14deg); }
}
.a-pSun { animation: spin 30s linear infinite; transform-origin: center; }

/* ---------- sprinkle (6 s): the shaker sweeps and shakes; sprinkles tumble, bounce and settle ----------
   Each falling sprinkle is drawn where it lands; the outer group carries it sideways (linear), the path drops it
   (gravity), spins it, bounces it and finally fades it onto its identical twin in the bed. */
.a-sprX { animation: sprX 6s infinite; }
@keyframes sprX { 0% { transform: translateX(var(--sx)); animation-timing-function: cubic-bezier(.3, .4, .6, 1); } 15%, 100% { transform: translateX(0); } }
.a-sprY { animation: sprY 6s infinite; transform-origin: center; }
@keyframes sprY {
  0% { opacity: 0; transform: translateY(var(--sy)) rotate(var(--r0)) scale(1.35); }
  1% { opacity: 1; transform: translateY(calc(var(--sy) * .99)) rotate(calc(var(--r0) * .97)) scale(1.35); animation-timing-function: cubic-bezier(.4, 0, 1, .55); }
  15% { opacity: 1; transform: translateY(0) rotate(0deg) scale(1); animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  16.7% { opacity: 1; transform: translateY(-3.8px) rotate(22deg); animation-timing-function: cubic-bezier(.6, 0, .8, .4); }
  18.4% { opacity: 1; transform: translateY(0) rotate(8deg); animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  19.6% { opacity: 1; transform: translateY(-1.3px) rotate(-3deg); animation-timing-function: cubic-bezier(.6, 0, .8, .4); }
  20.8%, 84% { opacity: 1; transform: translateY(0) rotate(0deg); }
  93%, 100% { opacity: 0; transform: translateY(0) rotate(0deg); }
}
.a-sSweep { animation: sSweep 6s ease-in-out infinite; }
@keyframes sSweep { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-80px); } }
.a-sShake { animation: sShake .32s ease-in-out infinite alternate; transform-origin: 50% 20%; }
@keyframes sShake { from { transform: rotate(-7deg) translateY(-1.5px); } to { transform: rotate(6deg) translateY(1.5px); } }
.a-sJar { animation: sJar .32s ease-in-out infinite alternate; }
@keyframes sJar { from { transform: translate(-1px, 1.5px); } to { transform: translate(1px, -1.5px); } }
.sc-rm { display: none; }

/* ---------- serve (6 s): the warm knife slices down, lifts and steams; the slice's gloss catches the light ---------- */
.a-vKnife { animation: vKnife 6s infinite; }
@keyframes vKnife {
  0%, 12% { transform: translate(0, -34px); animation-timing-function: cubic-bezier(.45, 0, .3, 1); }
  30% { transform: translate(0, -5px); animation-timing-function: ease-in-out; }
  36.7% { transform: translate(0, 0); animation-timing-function: ease-in-out; }
  46%, 52% { transform: translate(0, 9px); animation-timing-function: cubic-bezier(.45, 0, .3, 1); }
  66% { transform: translate(0, -34px); animation-timing-function: ease-in-out; }
  78% { transform: translate(7px, -34px); animation-timing-function: ease-in-out; }
  90%, 100% { transform: translate(0, -34px); }
}
.a-vSheen { animation: vSheen 6s ease-in-out infinite; }
@keyframes vSheen { 0%, 100% { opacity: .2; transform: translateX(0); } 50% { opacity: .85; transform: translateX(14px); } }

/* ---------- ingredients (idle loops, gentle) ---------- */
.a-iGlint { opacity: 0; animation: iGlint 3.4s ease-in-out infinite; transform-origin: center; }
@keyframes iGlint { 0%, 55%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 70% { opacity: 1; transform: scale(1) rotate(45deg); } 85% { opacity: 0; transform: scale(.4) rotate(90deg); } }
.a-iRock { animation: iRock 3.6s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes iRock { 0%, 40%, 100% { transform: rotate(0); } 52% { transform: rotate(-5deg); } 64% { transform: rotate(3.5deg); } 74% { transform: rotate(-1.5deg); } 84% { transform: rotate(.5deg); } }
.a-iSoft { animation: iSoft 5s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes iSoft { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.012, .975); } }
.a-iGlis { animation: iGlis 5s ease-in-out infinite; }
@keyframes iGlis { 0%, 18% { opacity: 0; transform: translate(-14px, 3.8px); } 40% { opacity: .85; } 70%, 100% { opacity: 0; transform: translate(26px, -7px); } }
.a-iSweep { opacity: 0; animation: iSweep 4.4s ease-in-out infinite; }
@keyframes iSweep { 0%, 30% { opacity: 0; transform: translateX(-2px); } 45% { opacity: .65; } 65%, 100% { opacity: 0; transform: translateX(26px); } }
.a-iShake { animation: iShake 3.2s infinite; transform-origin: 50% 100%; }
@keyframes iShake {
  0%, 52%, 100% { transform: rotate(0); }
  58% { transform: rotate(-6deg) translateY(-1px); animation-timing-function: ease-in-out; }
  64% { transform: rotate(5deg) translateY(-1px); animation-timing-function: ease-in-out; }
  70% { transform: rotate(-4deg); animation-timing-function: ease-in-out; }
  76% { transform: rotate(2deg); animation-timing-function: ease-in-out; }
  82% { transform: rotate(0); }
}
.a-iSettle { animation: iSettle 3.2s infinite; }
@keyframes iSettle { 0%, 54%, 100% { transform: translate(0, 0); } 60% { transform: translate(1.5px, -2px); } 66% { transform: translate(-1.5px, -1px); } 74% { transform: translate(1px, .5px); } 84% { transform: translate(0, 0); } }

/* ---------- ingredient drawings: a gentle idle loop each; paused in the "What you need" list unless hovered or
   focused, running in the cook-along's "Before you start" spread ---------- */
.ings .ing-art *, .sprinkle-band .ing-art * { animation-play-state: paused; }
.ing:hover .ing-art *, .ing:focus-within .ing-art *, .sprinkle-band:hover .ing-art *, .sprinkle-band:focus-within .ing-art *, .ings .ing-art:hover * { animation-play-state: running; }

@media (prefers-reduced-motion: reduce) {
  .sc-rm { display: inline; }
  .ing-art * { animation: none !important; }
}
