/* v2 first-visit intro (see intro.js). Everything is scoped to .ab-intro and html.ab-intro-on, which only intro.js adds,
   so if the script never runs the page is exactly as it would be without this file. */
.ab-intro {
  position: fixed; inset: 0; z-index: 100;
  background: #f5f5f1; contain: strict; will-change: opacity;
  -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none;
}
.ab-intro-sheet { position: absolute; inset: 0; overflow: hidden; }
.ab-intro svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ab-intro-paper { position: absolute; inset: 0; background: #f5f5f1; will-change: opacity; }
.ab-intro-petal { position: absolute; overflow: visible; will-change: transform, opacity; }
.ab-intro.ab-intro-fade { transition: opacity .35s ease-out; opacity: 0; }

/* hold the hero sprig's own bloom until the page is revealed, so it still plays for the guest */
html.ab-intro-on .sprig.bloom svg > g.fl,
html.ab-intro-on .sprig.bloom svg > path { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) { .ab-intro { display: none; } }
