/* Public navigation: fade through the brand navy, then reveal the first viewport. */
@view-transition{navigation:auto;}
html.avb-motion-enabled{background:#152947}
::view-transition{background:#152947;pointer-events:none}
/* Management also references this file directly: retain its existing 240ms rules.
   Only the public script adds avb-motion-enabled and opts into the new sequence. */
::view-transition-group(root){animation-duration:240ms}
::view-transition-image-pair(root){isolation:isolate}
::view-transition-old(root){mix-blend-mode:normal;animation:avb-page-out 110ms ease-out both}
::view-transition-new(root){mix-blend-mode:normal;animation:avb-legacy-page-in 240ms cubic-bezier(.2,.7,.2,1) both}
html.avb-motion-enabled::view-transition-group(root){animation-duration:760ms}
html.avb-motion-enabled::view-transition-old(root){animation:avb-page-out 280ms ease-in both}
html.avb-motion-enabled::view-transition-new(root){animation:avb-page-in 460ms cubic-bezier(.2,.65,.3,1) 300ms both}
@keyframes avb-page-out{from{opacity:1}to{opacity:0}}
@keyframes avb-page-in{from{opacity:0}to{opacity:1}}
@keyframes avb-legacy-page-in{0%,32%{opacity:0}100%{opacity:1}}

/* No permanent overlay or content hiding when JavaScript is absent. */
html.avb-transition-fallback::before{content:'';position:fixed;inset:0;z-index:2147483646;background:#152947;pointer-events:none}
html.avb-transition-fallback::before{opacity:1}
html.avb-transition-fallback.avb-background-entering::before{animation:avb-background-in 620ms cubic-bezier(.2,.65,.3,1) both}
@keyframes avb-background-in{from{opacity:1}to{opacity:0}}

@media(prefers-reduced-motion:no-preference){
 /* Applied in the head to prevent a flash of headings before the initial frame.
    DOM-ready narrows this to visible groups; everything below the fold is released. */
 html.avb-entry-pending :where(
  .vp-nav__inner,
  .vpabh7__kicker,.vpabh7__headline,.vpabh7__caption,.vpabh7__searchWrap,
  .avb-collection-eyebrow,.avb-collection-main h1,.avb-collection-intro,.avb-collection-bottom,.avb-collection-title-only,
  .avb-scene-copy>*,.avb-scene-price,.avb-scene-controls,.avb-scene-thumbs,
  .vpabsell__hero .vpabsell__kicker,.vpabsell__heroTitle,.vpabsell__heroText,.vpabsell__hero .vpabsell__actions,
  .avb-contact-hero__inner>h1,.avb-contact-hero__inner>p,.avb-contact-hero__inner>a,
  .avb-privacy__hero>*,.avb-search-heading>*,.vpab34-search-shell,.vpab34-mobile-layout,
  #half-map-listing-area>.advanced-search,#half-map-listing-area>.page-title-wrap,.half-map-wrap .listing-view
 ),html:not(.avb-entry-running) .avb-entry-item{opacity:0!important}
 html.avb-entry-running .avb-entry-item{animation:avb-sequence-in 560ms cubic-bezier(.2,.65,.3,1) var(--avb-entry-delay,0ms) backwards}
}
/* Opacity only: retain each component's transforms, positions and typography. */
@keyframes avb-sequence-in{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){
 @view-transition{navigation:none;}
 ::view-transition-old(root),::view-transition-new(root){animation:none!important}
 html.avb-transition-fallback::before{content:none}
 .avb-entry-item{animation:none!important}
}
