.chapter[data-reveal-waiting="true"] :is(h1, h2, h3, p, a, button) {
  opacity: 0 !important;
}
/* Arrival affects a separate layer, never the sculpture's scroll transforms. */
.sculpture-arrival {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
html.home-reveal-pending .sculpture-arrival,
html.home-reveal-pending .chapter,
html.home-reveal-pending main > :is(.catalog-hero, .showcase-hero),
html.home-reveal-pending
  main:not(:has(> :is(.catalog-hero, .showcase-hero)))
  :is(h1, h2, h3, p, a.button, a.primary, a.text-link, button),
html.home-reveal-pending .chapter :is(a, button),
html.home-reveal-pending .closing :is(a, button),
html.home-reveal-pending header .brand {
  opacity: 0 !important;
}
.home-reveal-word {
  display: inline-block;
  /* Filtered text needs ink room for descenders. Compensating margins keep
     the original line boxes and wrapping instead of shifting the scene. */
  padding-block: 0.2em;
  margin-block: -0.2em;
}
@media (prefers-reduced-motion: reduce) {
  .chapter[data-reveal-waiting="true"] :is(h1, h2, h3, p, a, button),
  html.home-reveal-pending .sculpture-arrival,
  html.home-reveal-pending .chapter,
  html.home-reveal-pending main > :is(.catalog-hero, .showcase-hero),
  html.home-reveal-pending
    main:not(:has(> :is(.catalog-hero, .showcase-hero)))
    :is(h1, h2, h3, p, a.button, a.primary, a.text-link, button),
  html.home-reveal-pending .chapter :is(a, button),
  html.home-reveal-pending .closing :is(a, button),
  html.home-reveal-pending header .brand {
    opacity: 1 !important;
  }
}
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
  /* Same-origin links still arrive softly when native transitions are skipped.
     Wait for the existing homepage font gate; never change scroll transforms. */
  html.page-arrival-fallback:not(.display-font-loading) main {
    animation: site-page-in 300ms ease-out both;
  }
  .theme-header {
    view-transition-name: site-header;
  }
  /* Keep the previous page opaque beneath the incoming snapshot. Fading
     both with different durations exposed the backdrop between documents. */
  ::view-transition-old(root) {
    animation: none;
    opacity: 1;
    mix-blend-mode: normal;
  }
  ::view-transition-new(root) {
    animation: site-page-in 300ms ease-out both;
    mix-blend-mode: normal;
  }
  ::view-transition-old(site-header),
  ::view-transition-new(site-header) {
    animation: none;
    opacity: 1;
    mix-blend-mode: normal;
  }
  ::view-transition-group(site-header) {
    animation-duration: 0s;
  }
}
@keyframes site-page-in {
  from {
    opacity: 0;
  }
}
