/* PE hero visual "cfo-ribbons", see assets/js/pe/visual-cfo-ribbons.js.
   As in the export: hidden on phones, the right 58% of the hero (to its edge) from md up,
   faded out toward the lower left where the copy sits, drifting 14px. */

.pe-visual--cfo-ribbons { display: none; color: var(--rv-green); }
@media (min-width: 768px) {
	.pe-visual--cfo-ribbons {
		display: block;
		inset: 0 0 0 auto;
		width: 58%;
		-webkit-mask-image: linear-gradient(45deg, transparent 0%, #000 30%);
		mask-image: linear-gradient(45deg, transparent 0%, #000 30%);
	}
}
.pe-cfo-ribbon--light { color: color-mix(in srgb, var(--rv-green) 72%, var(--rv-white)); }
.pe-cfo-drift { animation: pe-cfo-drift 9s ease-in-out infinite; }
@keyframes pe-cfo-drift {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) {
	.pe-cfo-drift { animation: none; }
}

/* The export's copy column is 720px with a 580px lede; the ribbons run
   from the hero's right edge and fade out under its lower left. */
.pe-hero--cfo-ribbons .pe-hero-copy { max-width: 45rem; }
.pe-hero--cfo-ribbons .pe-hero-lede { max-width: 36.25rem; }
.pe-hero--cfo-ribbons .pe-hero-points { max-width: 40rem; }
