/* Illuminate only the amber marks in the artwork; never animate an idle card. */
.catalog-cover-motion { position:relative; overflow:hidden; isolation:isolate; flex:none; aspect-ratio:16/9; margin:calc(var(--s-4)*-1) calc(var(--s-4)*-1) 0; border-bottom:var(--border); }
.card .catalog-cover-motion .card__pic { margin:0; border:0; max-width:none; width:100%; height:100%; }
/* The exact overlay must also work when the existing page uses older Astro scopes. */
.catalog-cover-motion > .card__pic > img { display:block; width:100%; height:100%; object-fit:cover; filter:saturate(.92); transition:transform var(--dur) var(--ease); }
.catalog-cover-defs { position:absolute; pointer-events:none; }
.catalog-cover-light { position:absolute; inset:0; pointer-events:none; opacity:0; }
.catalog-cover-light img { display:block; width:100%; height:100%; max-width:none; object-fit:cover; visibility:hidden; transition:transform var(--dur) var(--ease); }
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
 .card:hover .catalog-cover-light { opacity:.7; }
 .card:hover .catalog-cover-light img { visibility:visible; transform:scale(1.02); }
 .card:hover .catalog-cover-pulse { animation:hack-cover-breathe 1.8s ease-in-out infinite; }
}
@media (prefers-reduced-motion:no-preference) {
 .card:focus-within .catalog-cover-motion > .card__pic > img { transform:scale(1.02); }
 .card:focus-within .catalog-cover-light { opacity:.7; }
 .card:focus-within .catalog-cover-light img { visibility:visible; transform:scale(1.02); }
 .card:focus-within .catalog-cover-pulse { animation:hack-cover-breathe 1.8s ease-in-out infinite; }
}
@keyframes hack-cover-breathe { 0%,65%,100% {opacity:0} 14%,32% {opacity:.9} 23% {opacity:.23} }
@media (prefers-reduced-motion:reduce) {
 .catalog-cover-light {display:none!important;animation:none!important;}
 .card .catalog-cover-motion img {transform:none!important;transition:none!important;}
}
