/* VAULT slide — the VAULT card's own styles (index-vault.css from PD-Webpage-Final-2026),
   keyed to the rotator instead of scroll-reveal: on every arrival the four streams draw,
   the beam reaches the watch point and the claim sweeps; the slide stays drawn while it
   travels out. Before the slider scrolls into view, everything waits. */
.product-rotator-slide--vault .product-showcase-compact-inner {
	position: relative;
	z-index: 1;
	grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
}

.product-rotator-slide--vault .product-showcase-logo {
	display: block;
	width: clamp(250px, 30vw, 340px);
	max-width: 100%;
	height: auto;
}

/* VAULT's three slow lights, at a fraction of their strength on the site */
.vault-glow {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	border-radius: inherit;
	pointer-events: none;
}
.vault-glow i {
	position: absolute;
	width: 72%;
	aspect-ratio: 1;
	border-radius: 50%;
	will-change: transform;
}
.vault-glow i:nth-child(1) {
	left: -24%;
	top: -60%;
	background: radial-gradient(closest-side, rgba(77, 163, 255, 0.20), rgba(77, 163, 255, 0.07) 45%, transparent);
	animation: vault-amb1 46s ease-in-out infinite alternate;
}
.vault-glow i:nth-child(2) {
	right: -30%;
	top: -36%;
	background: radial-gradient(closest-side, rgba(255, 159, 10, 0.16), rgba(255, 159, 10, 0.06) 45%, transparent);
	animation: vault-amb2 58s ease-in-out infinite alternate;
}
.vault-glow i:nth-child(3) {
	left: 18%;
	bottom: -76%;
	background: radial-gradient(closest-side, rgba(48, 209, 88, 0.14), rgba(48, 209, 88, 0.05) 45%, transparent);
	animation: vault-amb3 52s ease-in-out infinite alternate;
}
.product-rotator-slide--vault:not(.is-active):not(.is-leaving) .vault-glow i { animation-play-state: paused; }
@keyframes vault-amb1 { to { transform: translate(10%, 8%) scale(1.08); } }
@keyframes vault-amb2 { to { transform: translate(-9%, 10%) scale(0.94); } }
@keyframes vault-amb3 { to { transform: translate(8%, -8%) scale(1.06); } }

/* the claim, with the site's own four-colour gradient; it sweeps across on each arrival */
.vault-claim {
	margin: -2px 0 14px;
	font-size: clamp(24px, 2.6vw, 34px);
	line-height: 1.05;
	font-weight: 600;
	letter-spacing: -0.045em;
	background: linear-gradient(90deg, #F5F5F7 0%, #F5F5F7 30%, #ff9f0a 38%, #ffd60a 44%, #4da3ff 50%, #30d158 56%, rgba(245, 245, 247, 0.16) 66%, rgba(245, 245, 247, 0.16) 100%);
	background-size: 300% 100%;
	background-position: 10% 0;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.product-rotator-slide--vault.is-active .vault-claim { animation: vault-claim-sweep 2.6s var(--ease-out) 0.9s both; }
@keyframes vault-claim-sweep {
	from { background-position: 100% 0; }
	to { background-position: 10% 0; }
}

/* the lede in VAULT's weight and grey */
.product-rotator-slide--vault .product-showcase-lede {
	font-weight: 400;
	letter-spacing: -0.01em;
	color: rgba(245, 245, 247, 0.66);
}

/* the right column: the braid above the three points */
.vault-visual {
	display: grid;
	gap: 6px;
	align-content: center;
	min-width: 0;
}
.vault-braid {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}
.vault-braid use,
.vault-braid path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.vb-st { stroke-width: 2.8; opacity: 0.92; stroke-dasharray: 1000 1040; }
.vb-beam { stroke-width: 2.2; stroke-dasharray: 1000 1040; }
.vb-cm { stroke-width: 3; stroke-dasharray: 10 990; opacity: 0; }
.vb-halo { transform-box: fill-box; transform-origin: center; animation: vault-breathe 4s ease-in-out infinite; }

/* off stage: nothing drawn */
.product-rotator-slide--vault .vb-st,
.product-rotator-slide--vault .vb-beam { stroke-dashoffset: 1000; }
.product-rotator-slide--vault .vb-watch { opacity: 0; }

/* on arrival: the strands draw, then the beam, then the watch point lights and light flows along the strands */
.product-rotator-slide--vault.is-active .vb-st,
.product-rotator-slide--vault.is-leaving .vb-st { animation: vault-draw 1.7s var(--ease-out) 0.5s forwards; }
.product-rotator-slide--vault.is-active .vb-beam,
.product-rotator-slide--vault.is-leaving .vb-beam { animation: vault-draw 1s var(--ease-out) 1.8s forwards; }
.product-rotator-slide--vault.is-active .vb-watch,
.product-rotator-slide--vault.is-leaving .vb-watch { animation: vault-appear 0.8s ease 1.85s forwards; }
.product-rotator-slide--vault.is-active .vb-cm,
.product-rotator-slide--vault.is-leaving .vb-cm { animation: vault-flow 5.6s linear calc(2.4s + var(--d, 0s)) infinite; }

/* until the slider scrolls into view, hold every VAULT animation at its start */
.product-rotator.sr-init:not(.sr-in) .product-rotator-slide--vault * { animation-name: none !important; }

@keyframes vault-draw { to { stroke-dashoffset: 0; } }
@keyframes vault-appear { to { opacity: 1; } }
@keyframes vault-breathe { 50% { transform: scale(1.12); } }
@keyframes vault-flow {
	0% { stroke-dashoffset: 1000; opacity: 0; }
	6% { opacity: 1; }
	90% { opacity: 1; }
	100% { stroke-dashoffset: 0; opacity: 0; }
}

/* each point carries its stream's colour */
.product-rotator-slide--vault .product-showcase-compact-points li { grid-template-columns: 10px 34px 1fr; }
.product-rotator-slide--vault .product-showcase-compact-points li::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	justify-self: center;
	background: var(--c, #F5F5F7);
	box-shadow: 0 0 10px var(--c, transparent);
}

@media (max-width: 768px) {
	.product-rotator-slide--vault .product-showcase-compact-inner { grid-template-columns: minmax(0, 1fr); }
	.vault-claim { margin-bottom: 12px; }
	.vault-visual { gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
	.vault-glow i,
	.vault-claim,
	.vb-halo { animation: none !important; }
	.vb-cm { display: none; }
	.product-rotator-slide--vault .vb-st,
	.product-rotator-slide--vault .vb-beam { stroke-dashoffset: 0 !important; animation: none !important; }
	.product-rotator-slide--vault .vb-watch { opacity: 1 !important; animation: none !important; }
	.vault-claim { background-position: 10% 0 !important; }
}
