/* ==========================================================
   G-Pop's home page motion (motion only, no look changes)
   Scoped to gpm- classes. Adds no colors, borders, shadows,
   fonts, sizes or spacing to existing elements. Every effect
   ends with the element in exactly its normal resting state.
   Motion only runs when gpops-motion.js adds .gpm-js to <html>,
   which it skips for visitors who turn off motion.
   ========================================================== */

@media (prefers-reduced-motion:no-preference){
  /* 1. How It Works: steps rise into place one after another */
  .gpm-js .gpm-step:not(.gpm-on){opacity:.4;translate:0 10px}
  .gpm-js .gpm-step.gpm-on{animation:gpm-rise .55s ease backwards}

  /* 3. Feature strip: pause on hover (works with an existing ticker) */
  .gpm-ticker:hover .gpm-ticker-track,
  .gpm-ticker:focus-within .gpm-ticker-track{animation-play-state:paused}
  /* only used when the strip has no animation of its own */
  .gpm-ticker-clip{overflow:hidden}
  .gpm-ticker--new{white-space:nowrap;width:max-content;animation:gpm-ticker 40s linear infinite}

  /* 4. Deluxe Bundle: a brief lift that settles back */
  .gpm-js .gpm-featured.gpm-on{animation:gpm-lift 1.4s ease}
}
@keyframes gpm-rise{from{opacity:.4;translate:0 10px}to{opacity:1;translate:0 0}}
@keyframes gpm-lift{0%{translate:0 0}35%{translate:0 -8px}100%{translate:0 0}}
@keyframes gpm-ticker{to{translate:-50% 0}}

@media (prefers-reduced-motion:reduce){
  .gpm-ticker-track{animation:none!important}
}

/* 5. OPTIONAL laser trace (only if you add the SVG in the last fix) */
/* left-aligned to match the left-aligned "Two Divisions" heading */
.gpm-laser{display:block;width:96px;height:128px;margin:14px 0 0;overflow:visible}
.gpm-laser-body{fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round;opacity:.45}
.gpm-laser-cut{fill:none;stroke:#DB2777;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.gpm-laser-dot{opacity:0;transition:opacity .3s ease}
.gpm-laser-dot circle:first-child{fill:#F59E0B;opacity:.35}
.gpm-laser-dot circle:last-child{fill:#fff}
.gpm-laser.gpm-on .gpm-laser-dot{opacity:1}
@media (prefers-reduced-motion:reduce){.gpm-laser-dot{display:none}}
