/* The five rebounds cross the service faces; lens text stays in front. */
.thread-bubble[data-phase="ink-melting"],.thread-bubble[data-phase="ink-merged"],.thread-bubble[data-phase="initial-fall"],.thread-bubble[data-phase^="rebound-"],.thread-bubble[data-phase="descending"],.thread-bubble[data-phase="boundary-rest"]{z-index:6}
/* Background paint lives on its own layer and grows from the blue ball. */
#connected-example.ink-spill-ready{position:relative;isolation:isolate;background:var(--paper,#f6f6f1)}
#connected-example.ink-spill-ready::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 65% 42%,#476585,#202e51 52%,#182443);clip-path:circle(var(--ink-radius,0px) at var(--ink-origin-x,35%) var(--ink-origin-y,0px));will-change:clip-path}
/* These headings remain readable on both the unpainted page and incoming ink. */
#connected-example.ink-spill-ready:not(.ink-fill-complete)>.section-label,
#connected-example.ink-spill-ready:not(.ink-fill-complete)>.b2b-demo-intro{mix-blend-mode:difference}
#connected-example.ink-fill-complete::before{clip-path:none;will-change:auto}
@media(prefers-reduced-motion:reduce){#connected-example.ink-spill-ready{background:radial-gradient(circle at 65% 42%,#476585,#202e51 52%,#182443)}#connected-example.ink-spill-ready::before{display:none}#connected-example.ink-spill-ready>.section-label,#connected-example.ink-spill-ready>.b2b-demo-intro{mix-blend-mode:normal!important}}
/* Reserve a resting place beneath the last option, so the blue ball never
   covers its label, including on narrow screens. */
.ink-drop-ready #expertise{padding-bottom:max(100px,calc(var(--bubble-size,180px)*.763 + 28px))}

/* Keep the whole liquid contour inside an unscaled, full-story SVG viewport.
   A small overlap joins it to the paint without relying on a shrinking box's overflow. */
.thread-extension path.thread-drain{fill:#202e51;stroke:none;filter:none}
.thread-story.is-ink-draining{overflow:visible}
.thread-story.is-ink-draining>.thread-layer{z-index:6;overflow:visible}
