/* The float: elements rise into place as you scroll, and lead photos ease forward
   on hover. Pair with /assets/float.js. Kept short on purpose: a modest rise, fairly quick,
   enough to notice, gone before it distracts. The curve is the part doing the work.

   Uses the individual translate and scale properties, not transform, because
   .tier.feature already carries transform:translateY(-10px) and transform would
   replace it. brand.css switches every transition and animation off under
   prefers-reduced-motion, and float.js leaves the page alone there too. */
:root{
  --float:cubic-bezier(.22,1,.36,1);
  --float-d:.6s;
}

/* Reveal. These classes only ever arrive by script, so a page whose script never
   ran shows everything. */
.fl{
  opacity:0;
  translate:0 var(--rise,24px);
  transition:opacity var(--float-d) var(--float),translate var(--float-d) var(--float);
}
.fl.fl-head{--rise:14px}
.fl.in{opacity:1;translate:0 0}

/* The tree rises once on load. The headline and the buttons are already there:
   what the visitor came for never waits on an animation. */
@keyframes float-rise{from{opacity:0;translate:0 24px}to{opacity:1;translate:0 0}}
.hero-art{animation:float-rise .7s var(--float) both}

/* Hover: the lead photo grows inside a clipped frame. */
.frame{display:block;overflow:hidden;position:relative}
.frame img{transition:scale .6s var(--float)}
.frame .zoomable:hover{opacity:1}
@media (hover:hover){
  .frame img:hover{scale:1.04}
}

/* The Now / Previously label is a solid bar across the top of each column, off the
   screenshot, so it never competes with the client's own buttons and banners
   (feedback P-010, 2026-11-12: the glass tag over the photo got lost).
   position + z-index keep it above the photo while the photo grows on hover. */
.ba-side .frame{display:flex;flex-direction:column}
.ba-side .ba-tag{order:-1;position:relative;z-index:1}

/* Buttons and small links stop snapping. */
.btn{transition:background-color .25s var(--float),color .25s var(--float),border-color .25s var(--float)}
.case-link .arw{transition:transform .3s var(--float)}
.case-link,.case-src{transition:color .25s var(--float),border-color .25s var(--float)}

@media print{.fl{opacity:1;translate:none}}
