/* Statistics: premium hover effect */
.stats .stat{
  position:relative;
  overflow:hidden;
  transition:transform .24s ease, box-shadow .24s ease, border-color .24s ease, background .24s ease;
}

.stats .stat::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:3px;
  background:#f5a000;
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform .24s ease;
}

.stats .stat:hover{
  transform:translateY(-4px);
  background:#ffffff;
  border-color:#d8e0ed;
  box-shadow:0 12px 28px rgba(15,30,74,.11);
}

.stats .stat:hover::before{
  transform:scaleX(1);
}

.stats .stat strong{
  font-variant-numeric:tabular-nums;
}

/* Library staff card hover */
.central-staff-album .staff-card{
  transition:transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.central-staff-album .staff-card:hover{
  transform:translateY(-4px);
  border-color:#d9e1ec;
  box-shadow:0 12px 28px rgba(15,30,74,.11);
}

.central-staff-album .staff-photo-wrap img{
  transition:transform .35s ease;
}

.central-staff-album .staff-card:hover .staff-photo-wrap img{
  transform:scale(1.035);
}

/* Designation: smaller, normal Title Case */
.central-staff-album .staff-info p{
  font-size:11.5px !important;
  line-height:1.35 !important;
  text-transform:none !important;
  letter-spacing:.01em !important;
  color:#6f7c91 !important;
  font-weight:500 !important;
}

@media(prefers-reduced-motion:reduce){
  .stats .stat,
  .stats .stat::before,
  .central-staff-album .staff-card,
  .central-staff-album .staff-photo-wrap img{
    transition:none !important;
  }

  .stats .stat:hover,
  .central-staff-album .staff-card:hover,
  .central-staff-album .staff-card:hover .staff-photo-wrap img{
    transform:none !important;
  }
}
