/* Polaris One motion layer styles, reference implementation
   (adopted 2026-10-22). EDC Plumbing build copy (2026-10-22), retargeted from the kit:
   card, review card, button and submit selectors set to this build's classes. the card, review card, button and
   submit selectors to that build's own classes. The build's own
   stylesheet is never edited. Content is fully visible if this
   file or the Motion script fails to load. */

/* No scroll progress bar: removed from the recipe at Richard's
   direction on the Colton build, 2026-10-22. */

/* Card hover lift. Set the shadow colour from the build's palette
   (Colton used its deep green, MR One Source its navy). */
.card,.area-card{transition:transform .3s ease,box-shadow .3s ease}
.card:hover,.card:focus-visible,.area-card:hover{transform:translateY(-10px);box-shadow:0 18px 36px rgba(10,47,87,.28)}

/* Buttons get a gentle press feel. Include the build's sticky bar
   links and submit button selectors here. */
.btn{transition:transform .15s ease}
.btn:active{transform:scale(.97)}

/* Sticky bar cell boxes: ONLY when that build's sticky cell colours
   clash (Colton precedent, Richard 2026-10-22). One line, using the
   build's own sticky bar class:
   .stickybar a{border:1px solid #000} */

/* Respect reduced motion at the CSS level as well as in JS */
@media (prefers-reduced-motion: reduce){
  .card,.area-card,.btn{transition:none}
  .card:hover,.card:focus-visible,.area-card:hover{transform:none}
}
