/* Scroll reveal motion. Only active when html has .bh-anim (set by an inline script that skips
   reduced-motion visitors and the Elementor editor). Uses the individual `translate` and `scale`
   properties so it never fights the transforms and hover effects the widgets already have. */
@keyframes bhRise{from{opacity:0;translate:0 28px}to{opacity:1;translate:0 0}}
@keyframes bhFade{from{opacity:0}to{opacity:1}}
@keyframes bhLeft{from{opacity:0;translate:-40px 0}to{opacity:1;translate:0 0}}
@keyframes bhRight{from{opacity:0;translate:40px 0}to{opacity:1;translate:0 0}}
@keyframes bhPhoto{from{opacity:0;translate:0 26px;scale:.97}to{opacity:1;translate:0 0;scale:1}}
@keyframes bhRule{from{scale:0 1}to{scale:1 1}}

.bh-anim [data-bh]{opacity:0}
.bh-anim [data-bh=rule]{opacity:1;transform-origin:left center;scale:0 1}
.bh-anim [data-bh].is-in{animation:bhRise .85s cubic-bezier(.2,.7,.2,1) var(--bh-d,0s) both}
.bh-anim [data-bh=fade].is-in{animation-name:bhFade}
.bh-anim [data-bh=left].is-in{animation-name:bhLeft}
.bh-anim [data-bh=right].is-in{animation-name:bhRight}
.bh-anim [data-bh=photo].is-in{animation-name:bhPhoto;animation-duration:1.1s}
.bh-anim [data-bh=rule].is-in{animation-name:bhRule;animation-duration:.7s}

/* Small, calm hover lift on the cards (transform is free: reveal uses `translate`) */
.bhw-practice__card,.bhw-insights__post{transition:transform .25s,box-shadow .25s}
@media (hover:hover){
  .bhw-practice__card:hover,.bhw-insights__post:hover{transform:translateY(-4px);box-shadow:0 18px 36px -22px rgba(1,11,64,.45)}
}

/* Safety net: if the script never starts, show everything. */
.bh-anim-off [data-bh]{opacity:1!important;animation:none!important;scale:none!important}
@media (prefers-reduced-motion:reduce){[data-bh]{opacity:1!important;animation:none!important;scale:none!important}}
