/* A translated header should stop owning a backdrop surface after its exit.
   Keep its existing visible 420ms slide, including the blur throughout it.
   Re-entering, opening the menu or focusing a link restores the original
   blur immediately, before the return animation begins. Keep the translated
   links in the keyboard focus order, so focus can still reveal the header. */
body[data-motion=full] .site-header {
  will-change: auto;
  transition:
    transform .42s cubic-bezier(.22,.7,.25,1),
    background .3s,
    color .3s,
    padding .3s,
    backdrop-filter 0s;
}

body[data-motion=full] .site-header.is-scroll-hidden:not(.is-menu-open):not(:has(:focus-visible)),
body[data-motion=full] .site-header.is-journey-hidden:not(.is-menu-open):not(:has(:focus-visible)) {
  backdrop-filter: none;
  transition-delay: 0s, 0s, 0s, 0s, .42s;
}

/* These two fixed layers remain in the document long after their scene.
   V15 releases will-change but preserves their full-viewport masks. Release
   the hidden rendering surfaces as well, without changing layout dimensions
   or the inline pose cached by motion.js. Its preparation range restores the
   masks a viewport before the scene can become visible on the return trip. */
body[data-motion=full] .handoff-garden:not(.is-render-active) {
  visibility: hidden !important;
  mask-image: none;
  -webkit-mask-image: none;
  clip-path: none !important;
}

body[data-motion=full] .handoff-garden:not(.is-render-active) .handoff-leaves {
  mask-image: none;
  -webkit-mask-image: none;
}

body[data-motion=full] .offer-heading:not(.is-render-active) {
  visibility: hidden !important;
  clip-path: none !important;
}

/* Cull only large photographic subtrees, leaving both sticky frames, the H1,
   reading copy and links untouched. Hero planes fill an explicit-height stage;
   the approach plane has explicit measured dimensions. Full-mode measurement
   reads their stage boxes and image natural sizes, never child geometry.
   motion.js restores these surfaces before either native/eased camera enters
   the visible range. No offer-stage containment: its child copy is measured
   to calculate the introductory heading's clear point, even while distant. */
body[data-motion=full] .hero-stage:not(.is-render-active) .hero-background,
body[data-motion=full] .hero-stage:not(.is-render-active) .hero-rings,
body[data-motion=full] .approach-stage:not(.is-render-active) .approach-world,
body[data-motion=full] .approach-stage:not(.is-render-active) .approach-clouds {
  content-visibility: hidden;
}

/* The cloud is a replaced image itself, rather than a wrapper around an
   image. Explicit visibility also suppresses its own painted image box. */
body[data-motion=full] .approach-stage:not(.is-render-active) .approach-clouds {
  visibility: hidden;
}
