/* Reveal animations: split blocks, first screen, heading gold line.
   Loaded in number order by templates/site.php (order matters: later files win). */
/* split blocks: their parts come from both sides */
#branchPanel[data-r],#branchTabs[data-r]{opacity:1;transform:none !important}
#branchPanel .bvis,#branchPanel .binfo,#branchTabs .tab{transition:opacity .8s ease,transform 1s cubic-bezier(.16,1,.3,1)}
#branchPanel:not(.in) .bvis{opacity:0;transform:translate3d(-80px,0,0)}
#branchPanel:not(.in) .binfo{opacity:0;transform:translate3d(80px,0,0)}
#branchPanel .binfo{transition-delay:.12s}
#branchTabs:not(.in) .tab:nth-child(1){opacity:0;transform:translate3d(-60px,0,0)}
#branchTabs:not(.in) .tab:nth-child(2){opacity:0;transform:translate3d(0,30px,0)}
#branchTabs:not(.in) .tab:nth-child(3){opacity:0;transform:translate3d(60px,0,0)}
#branchTabs .tab:nth-child(2){transition-delay:.08s}#branchTabs .tab:nth-child(3){transition-delay:.16s}
@media (max-width:820px){
  #branchPanel:not(.in) .bvis,#branchPanel:not(.in) .binfo{transform:translate3d(0,28px,0)}
  #branchTabs:not(.in) .tab:nth-child(n){transform:translate3d(0,20px,0)}
}
/* first screen: a short rise only (the 3D rate card cannot be masked) */
.c-home [data-r]{opacity:0;transform:translate3d(0,18px,0);transition:opacity .7s ease,transform .8s cubic-bezier(.2,.8,.2,1);transition-delay:calc(var(--i,0) * 80ms)}
.c-home [data-r].in{opacity:1;transform:none}
/* gold line under each section heading draws across after the heading lifts in */
.ch-head h2{position:relative}
.ch-head h2::after{content:"";position:absolute;left:0;bottom:-12px;width:72px;height:2px;border-radius:2px;background:linear-gradient(90deg,var(--gold),transparent);transform-origin:0 50%;transform:scaleX(0);transition:transform .9s cubic-bezier(.2,.8,.2,1) .45s}
.ch-head h2.in::after{transform:scaleX(1)}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}
  [data-r]{opacity:1;transform:none}
  .ww > i{transform:none !important}
}
