/* Animated section art (3.90). Colours come from currentColor (tile sets it); --sa-hi is the light fill. */
.sa { display: block; width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; --sa-hi: #FFFDF8; }
.sa * { transform-box: fill-box; transform-origin: center; }
.sa .f { fill: var(--sa-hi); }
.sa .s { fill: currentColor; fill-opacity: .22; }
.sa .k { fill: currentColor; stroke: none; }
.sa .t { fill: currentColor; stroke: none; font: 900 14px/1 Cairo, system-ui, sans-serif; }
.sa .sa-soft { opacity: .4; }

/* Where the art sits: home cards and section header. */
.bento-ico.has-sa { width: 84px; height: 72px; padding: 5px; }
.bento--xl .bento-ico.has-sa, .bento-lead .bento-ico.has-sa, .bento-card--lead .bento-ico.has-sa { width: 128px; height: 100px; padding: 8px; }
.bento-ico.has-sa .sa { width: auto; height: 100%; max-width: 100%; margin: 0 auto; }
.bento--w .bento-ico.has-sa .sa, .bento-card--lead .bento-ico.has-sa .sa { --sa-hi: #FFFDF8; }
@media (max-width: 640px) {
	.bento-ico.has-sa { width: 72px; height: 62px; }
	.bento--xl .bento-ico.has-sa, .bento-lead .bento-ico.has-sa, .bento-card--lead .bento-ico.has-sa { width: 104px; height: 84px; }
}
.dlsh-ico-big.dlsh-has-art { color: #0D0D0D; }
.dlsh-ico-big.dlsh-has-art svg.sa { width: 86%; height: 86%; }

/* Keyframes. Everything is off until the art is on screen (.is-vis from motion.js, or always in the header). */
@keyframes saDraw { 0% { stroke-dashoffset: 100; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -100; } }
@keyframes saFlow { to { stroke-dashoffset: -16; } }
@keyframes saPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
@keyframes saFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes saHop { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-5px); } }
@keyframes saPop { 0%, 55%, 100% { transform: scale(1); } 25% { transform: scale(1.18); } }
@keyframes saBlink { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
@keyframes saSpin { to { transform: rotate(360deg); } }
@keyframes saTurn { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.15); } }
@keyframes saType { 0% { transform: scaleX(0); } 40%, 85% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes saRise { 0% { transform: translateY(6px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-20px); opacity: 0; } }
@keyframes saDrop { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 70%, 100% { transform: translateY(16px); opacity: 0; } }
@keyframes saFlip { 0%, 30% { transform: scaleX(1); } 55% { transform: scaleX(-1); opacity: .4; } 56%, 100% { transform: scaleX(1); opacity: 1; } }
@keyframes saSwing { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(10deg); } }
@keyframes saTravel { 0% { offset-distance: 0%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes saRip { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes saFire { 0%, 100% { transform: scale(.85); opacity: .5; } 40% { transform: scale(1.1); opacity: 1; } }
@keyframes saBar { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
@keyframes saSlide { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(8px, -8px); } }
@keyframes saStamp { 0%, 50%, 100% { transform: translateY(-4px) scale(1.15); opacity: .5; } 65% { transform: translateY(0) scale(1); opacity: 1; } }
@keyframes saKey { 0%, 70%, 100% { fill: transparent; } 30% { fill: currentColor; } }
@keyframes saTwinkle { 0%, 100% { transform: scale(.5) rotate(0); opacity: .4; } 50% { transform: scale(1.1) rotate(45deg); opacity: 1; } }
@keyframes saGlow { 0%, 100% { fill-opacity: .5; } 50% { fill-opacity: 1; } }
@keyframes saBolt { 0%, 40%, 100% { opacity: .35; transform: scale(.92); } 55%, 80% { opacity: 1; transform: scale(1.08); } }
@keyframes saLook { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(-5px); } 70% { transform: translateX(5px); } }
@keyframes saLock { 0%, 100% { transform: scale(1.12); opacity: .5; } 50% { transform: scale(.9); opacity: 1; } }
@keyframes saScan { 0% { transform: translateY(0); } 50% { transform: translateY(40px); } 100% { transform: translateY(0); } }
@keyframes saSeg { 0%, 35% { opacity: 0; } 60%, 100% { opacity: 1; } }
@keyframes saScanner { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-22px, -16px); } }
@keyframes saPen { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-8px, 6px); } }
@keyframes saFlag { 0%, 100% { transform: skewY(0); } 50% { transform: skewY(-10deg); } }
@keyframes saBlip { 0% { transform: scale(.2); opacity: 0; } 15% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
@keyframes saPull { 0%, 100% { transform: translateY(0); } 40%, 60% { transform: translateY(-9px); } }
@keyframes saRung { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.3); } }
@keyframes saWave { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes saTilt { 0%, 100% { transform: rotate(-9deg); } 50% { transform: rotate(9deg); } }
@keyframes saEdge { 0%, 100% { opacity: .3; } 50% { opacity: .9; } }

.sa .sa-draw { stroke-dasharray: 100; stroke-dashoffset: 0; }
.sa .sa-flow { stroke-dasharray: 3 4; }
.sa .sa-tick { stroke-dasharray: 20; stroke-dashoffset: 0; }
.sa .sa-trav { offset-rotate: 0deg; opacity: 0; }
.sa .sa-ripple, .sa .sa-edge { opacity: .5; }
.sa .sa-type, .sa .sa-bar { transform-origin: left center; }
.sa .sa-bar { transform-origin: center; }
.sa .sa-pull, .sa .sa-rise, .sa .sa-drop { }
.sa .sa-rays { opacity: .8; }
.sa .sa-spin { transform-origin: 32px 32px; transform-box: view-box; }
.sa .sa-orbit { transform-box: view-box; }
.sa .sa-flip { transform-box: view-box; transform-origin: 32px 32px; }
.sa .sa-lock { transform-origin: center; }

@media (prefers-reduced-motion: no-preference) {
	.sa.is-vis .sa-draw, .dlsh-ico .sa .sa-draw { animation: saDraw 3.6s ease-in-out var(--d, 0s) infinite; }
	.sa.is-vis .sa-tick, .dlsh-ico .sa .sa-tick { animation: saDraw 3.6s ease-in-out var(--d, 0s) infinite; }
	.sa.is-vis .sa-flow, .dlsh-ico .sa .sa-flow { animation: saFlow 1s linear infinite; }
	.sa.is-vis .sa-pulse, .dlsh-ico .sa .sa-pulse { animation: saPulse 2.4s ease-in-out var(--d, 0s) infinite; }
	.sa.is-vis .sa-float, .dlsh-ico .sa .sa-float { animation: saFloat 2.8s ease-in-out var(--d, 0s) infinite; }
	.sa.is-vis .sa-hop, .dlsh-ico .sa .sa-hop { animation: saHop 2s ease-in-out var(--d, 0s) infinite; }
	.sa.is-vis .sa-pop, .dlsh-ico .sa .sa-pop { animation: saPop 2.8s ease-in-out var(--d, 0s) infinite; }
	.sa.is-vis .sa-blink, .dlsh-ico .sa .sa-blink { animation: saBlink 1.6s ease-in-out var(--d, 0s) infinite; }
	.sa.is-vis .sa-spin, .dlsh-ico .sa .sa-spin { animation: saSpin 4s linear infinite; }
	.sa.is-vis .sa-orbit, .dlsh-ico .sa .sa-orbit { animation: saSpin 6s linear var(--d, 0s) infinite; }
	.sa.is-vis .sa-turn, .dlsh-ico .sa .sa-turn { animation: saTurn 4s ease-in-out infinite; }
	.sa.is-vis .sa-type, .dlsh-ico .sa .sa-type { animation: saType 3.2s ease-in-out var(--d, 0s) infinite; }
	.sa.is-vis .sa-rise, .dlsh-ico .sa .sa-rise { animation: saRise 2.6s ease-in infinite; animation-delay: var(--d, 0s); }
	.sa.is-vis .sa-drop, .dlsh-ico .sa .sa-drop { animation: saDrop 2.4s ease-in infinite; }
	.sa.is-vis .sa-flip, .dlsh-ico .sa .sa-flip { animation: saFlip 3.6s ease-in-out infinite; }
	.sa.is-vis .sa-swing, .dlsh-ico .sa .sa-swing { transform-origin: 56px 26px; animation: saSwing 2.2s ease-in-out infinite; }
	.sa.is-vis .sa-trav, .dlsh-ico .sa .sa-trav { animation: saTravel 2.4s ease-in-out var(--d, 0s) infinite; }
	.sa.is-vis .sa-ripple, .dlsh-ico .sa .sa-ripple { animation: saRip 1.8s ease-in-out infinite; }
	.sa.is-vis .sa-fire circle, .dlsh-ico .sa .sa-fire circle { animation: saFire 2.4s ease-in-out var(--d, 0s) infinite; }
	.sa.is-vis .sa-bar, .dlsh-ico .sa .sa-bar { animation: saBar 1.2s ease-in-out var(--d, 0s) infinite; }
	.sa.is-vis .sa-slide, .dlsh-ico .sa .sa-slide { animation: saSlide 3s ease-in-out infinite; }
	.sa.is-vis .sa-stamp, .dlsh-ico .sa .sa-stamp { animation: saStamp 3.2s ease-in-out infinite; }
	.sa.is-vis .sa-key, .dlsh-ico .sa .sa-key { animation: saKey 2.4s ease-in-out var(--d, 0s) infinite; }
	.sa.is-vis .sa-twinkle, .dlsh-ico .sa .sa-twinkle { animation: saTwinkle 2.2s ease-in-out var(--d, 0s) infinite; }
	.sa.is-vis .sa-glow, .dlsh-ico .sa .sa-glow { animation: saGlow 2s ease-in-out infinite; }
	.sa.is-vis .sa-rays, .dlsh-ico .sa .sa-rays { animation: saRip 1.6s ease-in-out infinite; }
	.sa.is-vis .sa-bolt, .dlsh-ico .sa .sa-bolt { animation: saBolt 2.4s ease-in-out infinite; }
	.sa.is-vis .sa-look, .dlsh-ico .sa .sa-look { animation: saLook 3.6s ease-in-out infinite; }
	.sa.is-vis .sa-lock, .dlsh-ico .sa .sa-lock { animation: saLock 2.4s ease-in-out infinite; }
	.sa.is-vis .sa-scan, .dlsh-ico .sa .sa-scan { animation: saScan 3.2s ease-in-out infinite; }
	.sa.is-vis .sa-seg, .dlsh-ico .sa .sa-seg { animation: saSeg 3.2s ease-in-out infinite; }
	.sa.is-vis .sa-scanner, .dlsh-ico .sa .sa-scanner { animation: saScanner 3.4s ease-in-out infinite; }
	.sa.is-vis .sa-pen, .dlsh-ico .sa .sa-pen { animation: saPen 3s ease-in-out infinite; }
	.sa.is-vis .sa-flag, .dlsh-ico .sa .sa-flag { animation: saFlag 1.6s ease-in-out infinite; }
	.sa.is-vis .sa-blip, .dlsh-ico .sa .sa-blip { animation: saBlip 3s ease-out var(--d, 0s) infinite; }
	.sa.is-vis .sa-pull, .dlsh-ico .sa .sa-pull { animation: saPull 3.2s ease-in-out infinite; }
	.sa.is-vis .sa-rung, .dlsh-ico .sa .sa-rung { animation: saRung 2.4s ease-in-out var(--d, 0s) infinite; }
	.sa.is-vis .sa-wave, .dlsh-ico .sa .sa-wave { animation: saWave 1.2s ease-in-out var(--d, 0s) infinite; }
	.sa.is-vis .sa-tilt, .dlsh-ico .sa .sa-tilt { transform-origin: 32px 18px; transform-box: view-box; animation: saTilt 3s ease-in-out infinite; }
	.sa.is-vis .sa-edge, .dlsh-ico .sa .sa-edge { animation: saEdge 2.4s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
	.sa .sa-trav { opacity: 0; }
	.sa .sa-seg { opacity: 1; } .sa .sa-scan { opacity: 0; }
}
