/* FitFur reference photographs crop into square story frames. */
.work-project[data-project=fitfur] .project-story-card-image[data-fitfur-story-photo]{padding:0;height:auto;aspect-ratio:1/1}
.work-project[data-project=fitfur] .project-story-card-image[data-fitfur-story-photo]>img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%;filter:none;border-radius:0}
/* Match the closer puppy and product framing in the supplied square crop examples. */
.work-project[data-project=fitfur] [data-fitfur-story-photo=built]>img{transform:scale(1.25);transform-origin:50% 73%}
.work-project[data-project=fitfur] [data-fitfur-story-photo=grow]>img{transform:scale(1.35);transform-origin:50% 82%}

/* A slightly larger, closer desktop composition fills the frame to its bottom. */
@layer mobile-composition{
 @media(min-width:801px){
  .work-project[data-project=fitfur] .project-case-wide-photo{container-type:size}
  .work-project[data-project=fitfur] .project-case-wide-photo::before{
   content:"";position:absolute;inset:-4px;display:block;pointer-events:none;
   background:url("work/fitfur-overview-v195.webp") left center / 450% 100% no-repeat;filter:blur(3px);
  }
  .work-project[data-project=fitfur] .project-case-wide-photo>img{
   --ff-photo-height:max(124cqh,56cqw);
   position:absolute!important;inset:auto!important;top:calc(2cqh - var(--ff-photo-height)*.09)!important;bottom:auto!important;right:auto!important;
   left:calc(85cqw - var(--ff-photo-height)*1.111)!important;
   width:auto!important;height:var(--ff-photo-height)!important;max-width:none!important;object-fit:contain!important;object-position:center top!important;
   mask-image:linear-gradient(90deg,transparent,#000 12%)!important;-webkit-mask-image:linear-gradient(90deg,transparent,#000 12%)!important;
   mask-composite:add!important;-webkit-mask-composite:source-over!important;
  }
 }
}
