/* ACOTA V64 — shared, restrained motion across home, interiors and contact footer.
   Single source; no extra copy, cards, rules, layout changes or network calls. */
:root{--ac64-ease:cubic-bezier(.22,.76,.24,1)}
@media (prefers-reduced-motion:no-preference){
  html.ac64-motion-on .ac64-reveal{
    opacity:0;
    transform:translate3d(0,17px,0);
    transition:opacity .58s var(--ac64-ease),transform .58s var(--ac64-ease);
    transition-delay:var(--ac64-delay,0ms);
  }
  html.ac64-motion-on .ac64-reveal.ac64-inview{
    opacity:1;
    transform:translate3d(0,0,0);
  }
  /* The first view is never concealed. Subtle editorial reveal of the hero image. */
  html.ac64-motion-on #ac-main .ac50-hero-media img{
    animation:ac64-hero-arrive 1.45s var(--ac64-ease) both;
  }
  @keyframes ac64-hero-arrive{
    from{transform:scale(1.038);opacity:.9}
    to{transform:scale(1);opacity:1}
  }
}
/* Consistent hover feedback throughout all pages; never move the homepage's slider. */
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .ac64-media{overflow:hidden}
  .ac64-media > img{
    transition:transform .85s var(--ac64-ease),filter .6s ease;
    transform-origin:center;
  }
  .ac64-media:hover > img,
  .ac64-media:focus-within > img{transform:scale(1.028);filter:saturate(1.025)}
  .ac64-action{transition:translate .24s var(--ac64-ease),filter .24s ease,box-shadow .24s ease}
  .ac64-action:hover{translate:0 -2px;filter:brightness(1.065)}
}
/* One clear focus treatment, also available with reduced motion. */
.ac64-action:focus-visible,.ac64-media a:focus-visible{
  outline:3px solid #1b96c6;
  outline-offset:4px;
}
/* Don't export hidden paragraphs to PDFs or printed pages. */
@media print{
 html.ac64-motion-on .ac64-reveal{opacity:1!important;transform:none!important;transition:none!important}
 html.ac64-motion-on #ac-main .ac50-hero-media img{animation:none!important;opacity:1!important;transform:none!important}
}
@media (prefers-reduced-motion:reduce){
 html.ac64-motion-on .ac64-reveal{opacity:1!important;transform:none!important;transition:none!important}
 #ac-main .ac50-hero-media img{animation:none!important}
 .ac64-action{translate:none!important;transition:none!important}
 .ac64-media > img{transform:none!important;filter:none!important;transition:none!important}
}
