/* BeyondVisit motion layer: scroll reveals, page transitions, hover lifts, progress bar. All of it switches off for reduced-motion. */
@view-transition{navigation:auto}
@keyframes bvVtOut{to{opacity:0}}
@keyframes bvVtIn{from{opacity:0;transform:translateY(8px)}}
::view-transition-old(root){animation:bvVtOut .18s ease-in both}
::view-transition-new(root){animation:bvVtIn .32s cubic-bezier(.2,.7,.2,1) both}
.bv-header{view-transition-name:bvhead}
::view-transition-group(bvhead),::view-transition-old(bvhead),::view-transition-new(bvhead){animation:none;mix-blend-mode:normal}

html{scroll-behavior:smooth}

/* scroll progress */
.bv-prog{position:fixed;left:0;top:0;height:3px;width:100%;z-index:2147483000;transform-origin:0 50%;transform:scaleX(0);background:#1d6b52;pointer-events:none;will-change:transform}

/* reveal on scroll (only armed by JS, only for content below the fold) */
html.bv-fx .bv-rv{opacity:0;transform:translateY(18px);transition:opacity .55s ease-out,transform .6s cubic-bezier(.2,.7,.2,1);transition-delay:var(--rv-d,0ms);will-change:opacity,transform}
html.bv-fx .bv-rv.bv-in{opacity:1;transform:none;will-change:auto}

/* hero entrance */
@keyframes bvUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
html.bv-fx .bv-hero-title{animation:bvUp .7s cubic-bezier(.2,.7,.2,1) both}
html.bv-fx .bv-hero-text{animation:bvUp .7s .1s cubic-bezier(.2,.7,.2,1) both}
html.bv-fx .bv-hero-tools{animation:bvUp .7s .35s cubic-bezier(.2,.7,.2,1) both}

/* hover: cards step up and a solid offset shadow appears, like a sticker lifting off the page */
.bv-do-card,.bv-guide,.bv-rcard,.bv-lcard,.bv-feat,.bv-post-card{transition:transform .22s cubic-bezier(.2,.7,.2,1),box-shadow .22s cubic-bezier(.2,.7,.2,1)}
.bv-do-card:hover,.bv-rcard:hover,.bv-lcard:hover,.bv-feat:hover,.bv-post-card:hover{transform:translateY(-4px);box-shadow:0 14px 28px -12px rgba(14,26,43,.22)}
.bv-guide:hover{transform:translateY(-2px)}
.bv-btn,.bv-b,.bv-fd-go,.bv-fd-types span{-webkit-tap-highlight-color:transparent}
.bv-btn:active{transform:translate(1px,1px)}
a{transition:color .15s}



/* links in the footer and menus slide a hair on hover */
.bv-footer a{transition:color .2s,transform .25s}

@media(prefers-reduced-motion:reduce){
	html{scroll-behavior:auto}
	@view-transition{navigation:none}
	html.bv-fx .bv-rv,html.bv-fx .bv-hero-title,html.bv-fx .bv-hero-text,html.bv-fx .bv-hero-tools,html.bv-fx .bv-state{opacity:1!important;transform:none!important;filter:none!important;animation:none!important;transition:none!important}
	.bv-prog{display:none}
}
