/* Card hover: fill over the picture only + ring cursor */
.cover{position:relative;overflow:hidden}
.hfl{position:absolute;z-index:2;inset:0;border-radius:inherit;overflow:hidden;pointer-events:none}
.hfl svg{position:absolute;left:0;top:0;width:0;height:0;fill:var(--hf);scale:0;rotate:-24deg;opacity:0;
  transition:scale .6s cubic-bezier(.5,0,.75,0),rotate .6s ease,opacity .35s ease .25s}
.hov-fill .hf8.hf-on .hfl svg{scale:1;rotate:0deg;opacity:1;transition:scale 1.25s cubic-bezier(.2,.65,.3,1),rotate 1.25s cubic-bezier(.2,.65,.3,1),opacity .2s ease}
/* the text and the card stay still */
.hov-fill .case:has(.hf-on),.hov-fill .card:has(.hf-on){translate:0 0}
@media (hover:hover) and (pointer:fine){.hov-fill .hf8,.hov-fill .hf8 *{cursor:none}}
/* ring cursor */
.hring{position:fixed;left:0;top:0;z-index:95;pointer-events:none;width:132px;height:132px;margin:-66px 0 0 -66px;border-radius:50%;
  border:1.5px solid var(--rc,#2f7bf5);color:var(--rc,#2f7bf5);display:grid;place-items:center;text-align:center;
  scale:.2;opacity:0;transition:translate .12s linear,scale .3s ease,opacity .2s ease}
.hring span{font:500 13px/1.25 var(--mono);letter-spacing:.06em;text-transform:uppercase;max-width:96px}
.hring.on{scale:1;opacity:1;transition:translate .12s linear,scale .5s var(--spring) .15s,opacity .25s ease .15s}
@media (hover:none){.hring{display:none}}
@media (prefers-reduced-motion:reduce){.hfl svg,.hov-fill .hf8.hf-on .hfl svg{scale:1;rotate:0deg;transition:opacity .4s ease}.hring,.hring.on{transition:opacity .2s ease;scale:1}}
/* ring size switch (lab): 120 default; label 12px Geist Mono */
.hring{--rs:120px;width:var(--rs);height:var(--rs);margin:calc(var(--rs) / -2) 0 0 calc(var(--rs) / -2)}
.hring span{font-size:12px;line-height:1.2;max-width:calc(var(--rs) * .74)}
