/* Offline animation support.
 *
 * Squarespace's own scroll animations are per-element CSS @keyframes ("detailed"
 * complexity) that pin opacity:0 and override even inline !important — fragile to
 * re-drive offline and easy to leave content stuck invisible. So instead:
 *
 *   1. Permanently neutralise Squarespace's per-element animation/lazy hiding so
 *      inner content is ALWAYS visible (can never get stuck).
 *   2. Fade whole <section>s in on scroll with our own .wl-fade/.wl-in classes,
 *      driven by js/wl-animate.js. Few large targets = reliable reveal.
 *
 * No-JS safety: html.wl-anim is only set once wl-animate.js runs, so if JS never
 * runs, the section-hiding rule below never applies and everything is visible.
 */

/* 1) Neutralise Squarespace per-element animation + lazy-load hiding (always on).
 *
 * The localizer already strips the .pre*/.fadeIn-style state classes out of the
 * HTML, so these selectors are a safety net: if any pre-state slips through (or a
 * page is viewed before a rebuild), it still renders visible. CRITICAL: .preClip
 * and .preFlex clip content to zero via clip-path on an ANCESTOR block, which hides
 * the entire subtree — so clip-path MUST be reset here, not just opacity. */
.preFade,
.preClip,
.preScale,
.preSlide,
.preFlex,
.preFlip,
.preRotate,
[class*="preFade"],
[class*="preClip"],
[class*="preScale"],
[class*="preSlide"],
[class*="preFlex"],
[data-animation-role],
.sqs-block,
.sqs-block-content,
.summary-item,
.summary-content,
.summary-title,
.summary-excerpt,
.summary-metadata,
.summary-thumbnail,
.summary-thumbnail-container,
.summary-thumbnail-container img,
.summary-v2-thumbnail-image,
.sqs-gallery-meta-container,
.sqs-gallery-block-grid img,
.accordion-item__dropdown .preFade {
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
  filter: none !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
}

/* 2) Animations are OFF (user request). The old section-level scroll fade is
 * removed — nothing hides sections, everything renders statically visible like
 * the homepage. Re-enable later by restoring wl-fade tagging + wl-animate.js. */
