@charset "utf-8";
/* ==========================================================
NOVA – scenes (animated illustrations)
Loaded from frontend_styles.css with @import, so these classes
stay out of Powermuffin's editor class lists.

1. Shared animations (use them in every scene)
2. Scenes: per scene the exported positions + its choreography
3. Infographics: earth / NL pictures and info boxes (not a scene)

How a scene animates:
- the block gets __inview when it's visible -> the animations start
- normal styles = the FINAL state; the keyframes animate from the start
state, so "reduce motion" (animations off) shows the finished picture
- --d is the delay of a part, so the choreography is just a list of delays
- after the entrance, parts idle (nv-idle): a gentle wander that only
moves the separate translate / rotate properties, so it never fights
with the entrance animations (those use transform)
========================================================== */


/* ----------------------------------------------------------
1. SHARED ANIMATIONS
---------------------------------------------------------- */

/* drops in from above with a small bounce (heavy objects) */
@keyframes nv-drop {
	0%   {
		transform: translateY(-120%);
		opacity: 0;
	}
	55%  {
		transform: translateY(4%);
		opacity: 1;
	}
	75%  {
		transform: translateY(-2%);
	}
	100% {
		transform: none;
	}
}

/* shadow grows as the object above it lands */
@keyframes nv-shadow-in {
	from {
		transform: scale(.3);
		opacity: 0;
	}
}

/* flies in spinning from the top right (lids, loose parts) */
@keyframes nv-spin-in {
	0%   {
		transform: translate(40%, -160%) rotate(-100deg);
		opacity: 0;
	}
	70%  {
		transform: translate(0, 5%) rotate(8deg);
		opacity: 1;
	}
	100% {
		transform: none;
	}
}

/* drifts in softly; direction per part with --fx / --fy / --fr */
@keyframes nv-drift-in {
	from {
		transform: translate(var(--fx, 0), var(--fy, 30%)) rotate(var(--fr, -15deg)) scale(.85);
		opacity: 0;
	}
}

/* pops up with an overshoot (small objects) */
@keyframes nv-pop {
	0%   {
		transform: scale(0) rotate(var(--fr, 0deg));
		opacity: 0;
	}
	65%  {
		transform: scale(1.25);
		opacity: 1;
	}
	100% {
		transform: none;
	}
}

/* swings in from its top (ribbons, hanging things) */
@keyframes nv-swing-in {
	0%   {
		transform: rotate(-35deg) scale(.5);
		opacity: 0;
	}
	55%  {
		transform: rotate(10deg) scale(1);
		opacity: 1;
	}
	80%  {
		transform: rotate(-4deg);
	}
	100% {
		transform: none;
	}
}

/* plain fade (static details) */
@keyframes nv-fade-in {
	from {
		opacity: 0;
	}
}

/* IDLE: endless gentle wander after the entrance, until the screen leaves.
Per part (numbers in design px of the scene, rotation in deg):
--ix    sideways distance      (default 4)
--iy    up/down distance       (default -8, negative = up first)
--irot  wobble                 (default 1deg)
Timing: animation: …, nv-idle calc(var(--idur, 7s) * var(--islow, 1)) ease-in-out var(--istart, 2s) infinite;
Different --idur per part keeps them from moving in step. */
@keyframes nv-idle {
	0%, 100% {
		translate: 0 0;
		rotate: 0deg;
	}
	25% {
		translate: calc(var(--ix, 4) * var(--u)) calc(var(--iy, -8) * var(--u));
		rotate: var(--irot, 1deg);
	}
	50% {
		translate: calc(var(--ix, 4) * var(--u) * .3) calc(var(--iy, -8) * var(--u) * -.4);
		rotate: 0deg;
	}
	75% {
		translate: calc(var(--ix, 4) * var(--u) * -1) calc(var(--iy, -8) * var(--u) * .6);
		rotate: calc(var(--irot, 1deg) * -1);
	}
}

/* shadows breathe along with the object above them (same --idur / --istart) */
@keyframes nv-breathe {
	0%, 100% {
		scale: 1;
	}
	25%      {
		scale: .9;
	}
	75%      {
		scale: 1.04;
	}
}


/* until the block is in view, parts are hidden, so they don't flash in
their final state before the entrance starts. Only with JS running
(html.pm-js, set in the <head>), so without JS the picture still shows. */
.pm-js .pblock:not(.__inview) .pm-scene .part {
	opacity: 0;
}

/* idle speed for ALL scenes: 1 = as set per part, 2 = half speed, .5 = double.
Can also be set per scene: .F1-A { --islow: 1.5; } */
.pm-scene {
	--islow: 2;
}


/* DEFAULT ENTRANCE (any scene without its own choreography, e.g. a freshly
imported one): parts drift in one after the other, then idle.
Zero specificity (:where), so every scene rule below wins over it, and
per-part --d / --fx / --fy / --fr / --i* still work.
A scene that must stay still: give it the class nv-static. */
:where(.__inview .pm-scene:not(.nv-static)) > .part {
	animation: nv-drift-in 1s cubic-bezier(.2, .8, .3, 1) var(--d, var(--d-auto, .2s)) both,
	nv-idle calc(var(--idur, var(--idur-auto, 8s)) * var(--islow, 1)) ease-in-out var(--istart, 1.6s) infinite;
}
/* variation per position, so they don't all come from the same side */
:where(.pm-scene > .part:nth-child(6n+1)) {
	--d-auto: .10s;
	--fx: -30%;
	--fy: 20%;
	--fr: -12deg;
	--idur-auto: 8.6s;
	--ix: 6;
	--iy: -9;
}
:where(.pm-scene > .part:nth-child(6n+2)) {
	--d-auto: .22s;
	--fx: 35%;
	--fy: 10%;
	--fr: 15deg;
	--idur-auto: 7.4s;
	--ix: -5;
	--iy: -11;
}
:where(.pm-scene > .part:nth-child(6n+3)) {
	--d-auto: .34s;
	--fx: -15%;
	--fy: -30%;
	--fr: -18deg;
	--idur-auto: 9.2s;
	--ix: 4;
	--iy: -8;
}
:where(.pm-scene > .part:nth-child(6n+4)) {
	--d-auto: .46s;
	--fx: 25%;
	--fy: 30%;
	--fr: 10deg;
	--idur-auto: 6.9s;
	--ix: -6;
	--iy: -12;
}
:where(.pm-scene > .part:nth-child(6n+5)) {
	--d-auto: .58s;
	--fx: -40%;
	--fy: 0%;
	--fr: 20deg;
	--idur-auto: 8.1s;
	--ix: 7;
	--iy: -7;
}
:where(.pm-scene > .part:nth-child(6n+6)) {
	--d-auto: .70s;
	--fx: 10%;
	--fy: -25%;
	--fr: -8deg;
	--idur-auto: 9.7s;
	--ix: -4;
	--iy: -10;
}


/* ----------------------------------------------------------
2. SCENES
---------------------------------------------------------- */

/* ===== F1-A: HIV medicine bottle ===== */

/* exported positions (nova-scene-export) */
.F1-A .glass6 {
	left: calc(var(--u) * 315.42);
	top: calc(var(--u) * 159.2);
	width: calc(var(--u) * 162.77);
}
.F1-A .bottle-shadow {
	left: calc(var(--u) * 264.35);
	top: calc(var(--u) * 818.99);
	width: calc(var(--u) * 261.96);
}
.F1-A .glass5 {
	left: calc(var(--u) * 152.47);
	top: calc(var(--u) * 448.47);
	width: calc(var(--u) * 255.36);
}
.F1-A .glass4 {
	left: calc(var(--u) * 545.91);
	top: calc(var(--u) * 295.39);
	width: calc(var(--u) * 201.57);
}
.F1-A .pill11 {
	left: calc(var(--u) * 529.01);
	top: calc(var(--u) * 318.67);
	width: calc(var(--u) * 42.92);
}
.F1-A .pill10 {
	left: calc(var(--u) * 274.55);
	top: calc(var(--u) * 575.01);
	width: calc(var(--u) * 44.85);
}
.F1-A .bottle {
	left: calc(var(--u) * 282.33);
	top: calc(var(--u) * 339.78);
	width: calc(var(--u) * 360.56);
}
.F1-A .cap {
	left: calc(var(--u) * 408.99);
	top: calc(var(--u) * 165.55);
	width: calc(var(--u) * 185.24);
}
.F1-A .pill9 {
	left: calc(var(--u) * 666.9);
	top: calc(var(--u) * 358);
	width: calc(var(--u) * 60.09);
}
.F1-A .pill8 {
	left: calc(var(--u) * 195.27);
	top: calc(var(--u) * 535.9);
	width: calc(var(--u) * 79.46);
}
.F1-A .pill7 {
	left: calc(var(--u) * 604.9);
	top: calc(var(--u) * 147.12);
	width: calc(var(--u) * 26.12);
}
.F1-A .pill6 {
	left: calc(var(--u) * 600.53);
	top: calc(var(--u) * 324.52);
	width: calc(var(--u) * 44.85);
}
.F1-A .pill5 {
	left: calc(var(--u) * 760.49);
	top: calc(var(--u) * 270.14);
	width: calc(var(--u) * 29.49);
}
.F1-A .pill4 {
	left: calc(var(--u) * 656.58);
	top: calc(var(--u) * 210.2);
	width: calc(var(--u) * 34.11);
}
.F1-A .pill3 {
	left: calc(var(--u) * 683.25);
	top: calc(var(--u) * 438.92);
	width: calc(var(--u) * 57.49);
}
.F1-A .pill2 {
	left: calc(var(--u) * 728.89);
	top: calc(var(--u) * 167.59);
	width: calc(var(--u) * 49.28);
}
.F1-A .glass3 {
	left: calc(var(--u) * 237.4);
	top: calc(var(--u) * 516.72);
	width: calc(var(--u) * 147.31);
}
.F1-A .glass2 {
	left: calc(var(--u) * 640.05);
	top: calc(var(--u) * 420.94);
	width: calc(var(--u) * 99.91);
}
.F1-A .glass1 {
	left: calc(var(--u) * 436.42);
	top: calc(var(--u) * 506.34);
	width: calc(var(--u) * 193.15);
}
.F1-A .pill1 {
	left: calc(var(--u) * 514.03);
	top: calc(var(--u) * 607.42);
	width: calc(var(--u) * 51.81);
}
.F1-A .ribbon-shadow {
	left: calc(var(--u) * 287.26);
	top: calc(var(--u) * 490.16);
	width: calc(var(--u) * 90);
}
.F1-A .ribbon {
	left: calc(var(--u) * 266.97);
	top: calc(var(--u) * 473.27);
	width: calc(var(--u) * 94.2);
}
.F1-A .line6 {
	left: calc(var(--u) * 473.17);
	top: calc(var(--u) * 264.63);
	width: calc(var(--u) * 106.99);
}
.F1-A .line5 {
	left: calc(var(--u) * 507.25);
	top: calc(var(--u) * 282.82);
	width: calc(var(--u) * 67.22);
}
.F1-A .line4 {
	left: calc(var(--u) * 348.01);
	top: calc(var(--u) * 727.32);
	width: calc(var(--u) * 91.08);
}
.F1-A .line3 {
	left: calc(var(--u) * 354.84);
	top: calc(var(--u) * 748.92);
	width: calc(var(--u) * 44.47);
}
.F1-A .line2 {
	left: calc(var(--u) * 750.5);
	top: calc(var(--u) * 185.12);
	width: calc(var(--u) * 34.35);
}
.F1-A .line1 {
	left: calc(var(--u) * 176.45);
	top: calc(var(--u) * 547.7);
	width: calc(var(--u) * 29.67);
}

/* choreography, about 2 seconds:
0.0  bottle drops, its shadow grows
0.3  cap spins in
0.5  glass shards drift in (staggered)
0.7  pills pop (staggered)
0.9  ribbon swings in
1.6  lines fade in (static, no idle)
2.0  everything except the lines idles until the screen leaves */

.F1-A {
	--istart: 2s;
}

/* bottle + ribbon (+ shadows) move as one object: same idle values */
.F1-A :is(.bottle, .bottle-shadow, .ribbon, .ribbon-shadow) {
	--ix: 3;
	--iy: -10;
	--irot: 0deg;
	--idur: 7s;
}

.__inview .F1-A .bottle {
	transform-origin: 50% 100%;
	animation: nv-drop .8s cubic-bezier(.3, .7, .4, 1) both,
	nv-idle calc(var(--idur) * var(--islow, 1)) ease-in-out var(--istart) infinite;
}
.__inview .F1-A .bottle-shadow {
	animation: nv-shadow-in .7s ease-out .15s both,
	nv-breathe calc(var(--idur) * var(--islow, 1)) ease-in-out var(--istart) infinite;
}

.__inview .F1-A .cap {
	--ix: -4;
	--iy: -14;
	--irot: 4deg;
	--idur: 6s;
	animation: nv-spin-in .8s cubic-bezier(.2, .8, .3, 1) .3s both,
	nv-idle calc(var(--idur) * var(--islow, 1)) ease-in-out var(--istart) infinite;
}

/* glass: drift in from different directions */
.__inview .F1-A :is(.glass1, .glass2, .glass3, .glass4, .glass5, .glass6) {
	animation: nv-drift-in .9s cubic-bezier(.2, .8, .3, 1) var(--d, .5s) both,
	nv-idle calc(var(--idur, 8s) * var(--islow, 1)) ease-in-out var(--istart) infinite;
}
.F1-A .glass1 {
	--d: .50s;
	--fx: 10%;
	--fy: 40%;
	--fr: 12deg;
	--ix: 6;
	--iy: -9;
	--irot: -2deg;
	--idur: 8.5s;
}
.F1-A .glass2 {
	--d: .58s;
	--fx: 40%;
	--fy: 10%;
	--fr: 20deg;
	--ix: -5;
	--iy: -12;
	--irot: 3deg;
	--idur: 7.2s;
}
.F1-A .glass3 {
	--d: .66s;
	--fx: -30%;
	--fy: 25%;
	--fr: -18deg;
	--ix: 7;
	--iy: -7;
	--irot: 2deg;
	--idur: 9.1s;
}
.F1-A .glass4 {
	--d: .74s;
	--fx: 35%;
	--fy: -20%;
	--fr: 15deg;
	--ix: -6;
	--iy: -11;
	--irot: -3deg;
	--idur: 7.8s;
}
.F1-A .glass5 {
	--d: .82s;
	--fx: -40%;
	--fy: 5%;
	--fr: -10deg;
	--ix: 8;
	--iy: -8;
	--irot: 2deg;
	--idur: 8.8s;
}
.F1-A .glass6 {
	--d: .90s;
	--fx: -10%;
	--fy: -35%;
	--fr: -20deg;
	--ix: -5;
	--iy: -13;
	--irot: -2deg;
	--idur: 6.9s;
}

/* pills: pop up in a scattered order, each with a little spin */
.__inview .F1-A :is(.pill1, .pill2, .pill3, .pill4, .pill5, .pill6, .pill7, .pill8, .pill9, .pill10, .pill11) {
	animation: nv-pop .5s cubic-bezier(.3, 1.4, .5, 1) var(--d, .7s) both,
	nv-idle calc(var(--idur, 6s) * var(--islow, 1)) ease-in-out var(--istart) infinite;
}
.F1-A .pill1  {
	--d: .70s;
	--fr: 40deg;
	--ix: 4;
	--iy: -6;
	--irot: 12deg;
	--idur: 5.6s;
}
.F1-A .pill6  {
	--d: .76s;
	--fr: -60deg;
	--ix: -3;
	--iy: -8;
	--irot: -10deg;
	--idur: 6.4s;
}
.F1-A .pill11 {
	--d: .82s;
	--fr: 90deg;
	--ix: 5;
	--iy: -5;
	--irot: 15deg;
	--idur: 5.1s;
}
.F1-A .pill3  {
	--d: .88s;
	--fr: -30deg;
	--ix: -4;
	--iy: -7;
	--irot: 8deg;
	--idur: 6.9s;
}
.F1-A .pill9  {
	--d: .94s;
	--fr: 70deg;
	--ix: 3;
	--iy: -9;
	--irot: -14deg;
	--idur: 5.9s;
}
.F1-A .pill4  {
	--d: 1.00s;
	--fr: -80deg;
	--ix: -5;
	--iy: -6;
	--irot: 10deg;
	--idur: 6.2s;
}
.F1-A .pill8  {
	--d: 1.06s;
	--fr: 50deg;
	--ix: 4;
	--iy: -10;
	--irot: -9deg;
	--idur: 7.3s;
}
.F1-A .pill2  {
	--d: 1.12s;
	--fr: -45deg;
	--ix: -3;
	--iy: -7;
	--irot: 13deg;
	--idur: 5.4s;
}
.F1-A .pill10 {
	--d: 1.18s;
	--fr: 30deg;
	--ix: 5;
	--iy: -6;
	--irot: -11deg;
	--idur: 6.7s;
}
.F1-A .pill5  {
	--d: 1.24s;
	--fr: -70deg;
	--ix: -4;
	--iy: -9;
	--irot: 16deg;
	--idur: 5.8s;
}
.F1-A .pill7  {
	--d: 1.30s;
	--fr: 60deg;
	--ix: 3;
	--iy: -5;
	--irot: -12deg;
	--idur: 6.1s;
}

/* ribbon: swings in from its top, shadow fades in under it */
.__inview .F1-A .ribbon {
	transform-origin: 50% 10%;
	animation: nv-swing-in 1s cubic-bezier(.3, .7, .4, 1) .9s both,
	nv-idle calc(var(--idur) * var(--islow, 1)) ease-in-out var(--istart) infinite;
}
.__inview .F1-A .ribbon-shadow {
	animation: nv-fade-in .6s ease-out 1.2s both,
	nv-idle calc(var(--idur) * var(--islow, 1)) ease-in-out var(--istart) infinite;
}

/* lines: static, fade in once the rest has arrived */
.__inview .F1-A :is(.line1, .line2, .line3, .line4, .line5, .line6) {
	animation: nv-fade-in .5s ease-out var(--d, 1.6s) both;
}
.F1-A .line5 {
	--d: 1.60s;
}
.F1-A .line6 {
	--d: 1.65s;
}
.F1-A .line2 {
	--d: 1.70s;
}
.F1-A .line1 {
	--d: 1.75s;
}
.F1-A .line4 {
	--d: 1.80s;
}
.F1-A .line3 {
	--d: 1.85s;
}


/* ===== GLASS (every scene) + F1-B positions =====
Any part named glass1, glass2 … in ANY scene drifts in and idles with
these settings, so new scenes (F2-…, imported) need no CSS for glass.
Low specificity (:where), so a scene with its own glass choreography
(F1-A) keeps it. Positions: imported scenes have them inline; the
hand-made card scenes (class F1-B or vragen, files in scenes/vragen/)
have them below. */

:is(.F1-B, .vragen) > .glass6 {
	left: calc(var(--u) * 430);
	top: calc(var(--u) * 30);
	width: calc(var(--u) * 240);
}   /* back layer, peeks out above the card (left of the top arrow) */
:is(.F1-B, .vragen) > .glass4 {
	left: calc(var(--u) * 1740);
	top: calc(var(--u) * 380);
	width: calc(var(--u) * 150);
}
:is(.F1-B, .vragen) > .glass2 {
	left: calc(var(--u) * 1730);
	top: calc(var(--u) * 560);
	width: calc(var(--u) * 130);
}
:is(.F1-B, .vragen) > .glass3 {
	left: calc(var(--u) * 150);
	top: calc(var(--u) * 420);
	width: calc(var(--u) * 210);
}
:is(.F1-B, .vragen) > .glass1 {
	left: calc(var(--u) * 1807);
	top: calc(var(--u) * 487);
	width: calc(var(--u) * 90);
}   /* front layer, small, right of the card */
:is(.F1-B, .vragen) > .glass5 {
	left: calc(var(--u) * 150);
	top: calc(var(--u) * 640);
	width: calc(var(--u) * 270);
}   /* front layer */

/* entrance: drift in, then idle */
:where(.__inview .pm-scene) > .part[class*=" glass"] {
	animation: nv-drift-in 1.1s cubic-bezier(.2, .8, .3, 1) var(--d, .2s) both,
	nv-idle calc(var(--idur, 9s) * var(--islow, 1)) ease-in-out var(--istart, 1.6s) infinite;
}
:where(.pm-scene) > .glass6 {
	--d: .10s;
	--fx: -20%;
	--fy: -30%;
	--fr: -12deg;
	--ix: 6;
	--iy: -10;
	--irot: -2deg;
	--idur: 9.4s;
}
:where(.pm-scene) > .glass4 {
	--d: .25s;
	--fx: 40%;
	--fy: 10%;
	--fr: 15deg;
	--ix: -5;
	--iy: -12;
	--irot: 2deg;
	--idur: 8.1s;
}
:where(.pm-scene) > .glass2 {
	--d: .35s;
	--fx: 35%;
	--fy: 30%;
	--fr: 20deg;
	--ix: -4;
	--iy: -9;
	--irot: -3deg;
	--idur: 7.6s;
}
:where(.pm-scene) > .glass3 {
	--d: .30s;
	--fx: -40%;
	--fy: 0%;
	--fr: -15deg;
	--ix: 7;
	--iy: -8;
	--irot: 2deg;
	--idur: 8.7s;
}
:where(.pm-scene) > .glass5 {
	--d: .45s;
	--fx: -30%;
	--fy: 35%;
	--fr: 10deg;
	--ix: 5;
	--iy: -11;
	--irot: -2deg;
	--idur: 9.9s;
}
:where(.pm-scene) > .glass1 {
	--d: .15s;
	--fx: -35%;
	--fy: -20%;
	--fr: -14deg;
	--ix: 5;
	--iy: -9;
	--irot: 2deg;
	--idur: 8.4s;
}


/* ===== VIRUS PARTS (every scene) =====
Any part named virus1, virus2 … pops in after the bottle and then floats:
a slow, mostly upward drift with a little sway, small enough to stay inside
the bottle. Like glass: no CSS per scene needed; :where keeps it overridable.
Per part (design px): --vx sway, --vy rise (negative = up), --vr tilt,
--idur loop time. Stack the bottle's front (ribbon, glass shine) ABOVE the
viruses in Illustrator so they look inside. */
@keyframes nv-float-up {
	0%, 100% {
		translate: 0 0;
		rotate: 0deg;
	}
	30% {
		translate: calc(var(--vx, 3) * var(--u)) calc(var(--vy, -12) * var(--u) * .55);
		rotate: var(--vr, 6deg);
	}
	55% {
		translate: calc(var(--vx, 3) * var(--u) * -.4) calc(var(--vy, -12) * var(--u));
		rotate: calc(var(--vr, 6deg) * .3);
	}
	80% {
		translate: calc(var(--vx, 3) * var(--u) * -1) calc(var(--vy, -12) * var(--u) * .4);
		rotate: calc(var(--vr, 6deg) * -1);
	}
}

:where(.__inview .pm-scene) > .part[class*=" virus"] {
	animation: nv-pop .7s cubic-bezier(.2, .8, .3, 1) var(--d, .9s) both,
	nv-float-up calc(var(--idur, 8s) * var(--islow, 1)) ease-in-out var(--istart, 1.8s) infinite;
}
:where(.pm-scene) > .virus1 {
	--d: .90s;
	--vx: 3;
	--vy: -12;
	--vr: 8deg;
	--idur: 7.8s;
	--istart: 1.7s;
}
:where(.pm-scene) > .virus2 {
	--d: 1.05s;
	--vx: -4;
	--vy: -10;
	--vr: -6deg;
	--idur: 9.1s;
	--istart: 1.9s;
}
:where(.pm-scene) > .virus3 {
	--d: 1.20s;
	--vx: 2;
	--vy: -14;
	--vr: 5deg;
	--idur: 8.4s;
	--istart: 2.1s;
}
:where(.pm-scene) > .virus4 {
	--d: 1.35s;
	--vx: -3;
	--vy: -11;
	--vr: -8deg;
	--idur: 10.2s;
	--istart: 2.3s;
}
:where(.pm-scene) > .virus5 {
	--d: 1.50s;
	--vx: 4;
	--vy: -9;
	--vr: 7deg;
	--idur: 7.2s;
	--istart: 2.5s;
}


/* ===== F2-B: bottle with ribbon, viruses floating inside =====
The bottle (figure + ribbon) and its shadow only make an entrance and then
stay still, so the viruses (VIRUS PARTS above) can float inside it without
drifting out through the glass. The glass shards around it do the idling.
Timing: bottle drops in (0.1s), shadow grows as it lands, viruses pop in
from 0.9s, scribbles fade in last. */
.__inview .F2-B > .figure,
.__inview .F2-B > .ribbon {
	animation: nv-drop .9s cubic-bezier(.3, .7, .4, 1) .1s both;
}
.__inview .F2-B > .shadow {
	animation: nv-shadow-in .6s ease-out .45s both;
}
.__inview .F2-B > .part[class*=" scribble"] {
	animation: nv-fade-in .6s ease-out var(--d, 1.6s) both;
}
.F2-B > .scribble1 {
	--d: 1.55s;
}
.F2-B > .scribble2 {
	--d: 1.70s;
}
.F2-B > .scribble3 {
	--d: 1.85s;
}
.F2-B > .scribble4 {
	--d: 1.95s;
}
.F2-B > .scribble5 {
	--d: 2.10s;
}


/* ===== F2-D: shield breaking apart (afweerreactie) =====
The shield (figure) drops in and its shadow grows; the loose pieces
(shield-part1-3) fly in one by one and keep drifting a little, as if they
just broke off. The ribbon swings in on the shield, the motion lines
(sharpline1-3) fade in last. Glass shards: generic (GLASS above). */
.__inview .F2-D > .figure {
	animation: nv-drop .9s cubic-bezier(.3, .7, .4, 1) .1s both;
}
.__inview .F2-D > .shadow {
	animation: nv-shadow-in .6s ease-out .45s both;
}
.__inview .F2-D > .part[class*=" shield-part"] {
	animation: nv-spin-in .9s cubic-bezier(.2, .8, .3, 1) var(--d, .8s) both,
	nv-idle calc(var(--idur, 8s) * var(--islow, 1)) ease-in-out var(--istart, 2s) infinite;
}
.F2-D > .shield-part1 {
	--d: .70s;
	--ix: -4;
	--iy: -7;
	--irot: -3deg;
	--idur: 7.9s;
}
.F2-D > .shield-part2 {
	--d: .85s;
	--ix: 5;
	--iy: -9;
	--irot: 3deg;
	--idur: 8.8s;
}
.F2-D > .shield-part3 {
	--d: 1.00s;
	--ix: -3;
	--iy: -6;
	--irot: 2deg;
	--idur: 9.6s;
}
.__inview .F2-D > .ribbon {
	transform-origin: 50% 0;
	animation: nv-swing-in .9s cubic-bezier(.3, .7, .4, 1) 1.15s both;
}
.__inview .F2-D > .part[class*=" sharpline"] {
	animation: nv-fade-in .6s ease-out var(--d, 1.5s) both;
}
.F2-D > .sharpline1 {
	--d: 1.40s;
}
.F2-D > .sharpline2 {
	--d: 1.55s;
}
.F2-D > .sharpline3 {
	--d: 1.70s;
}


/* ==========================================================
3. INFOGRAPHICS (e.g. De-Diagnose / D-Infographic)
Not a scene: normal blocks with a background picture (earth, NL) and
info boxes placed on top of it by the importer.

0.0  earth turns in and grows (img alt="bg-aarde")
0.3  NL drops in with a bounce (img alt="bg-nederland")
0.6  title rises in
0.8  the info boxes rise in one after the other, 0.15s apart, in page
order (--nv-i, numbered per screen by site_functions.js);
the ribbon on a ribbon box swings in just after its box,
an arrow image (alt="info-blok-arrow…") pops in at its turn
2.0  earth and NL idle slowly

Works on every page with these classes/names. If the importer ever puts
the layer name in a class as well (like scene parts), .bg-aarde /
.bg-nederland match too.
========================================================== */

@keyframes nv-earth-in {
	0%   {
		transform: scale(.55) rotate(-30deg);
		opacity: 0;
	}
	60%  {
		transform: scale(1.04) rotate(3deg);
		opacity: 1;
	}
	100% {
		transform: none;
	}
}

@keyframes nv-land-in {
	0%   {
		transform: translateY(-25%) scale(1.08);
		opacity: 0;
	}
	50%  {
		transform: translateY(2%) scale(.98);
		opacity: 1;
	}
	72%  {
		transform: translateY(-1%);
	}
	100% {
		transform: none;
	}
}

@keyframes nv-rise-in {
	from {
		opacity: 0;
		transform: translateY(calc(var(--u) * 40)) scale(.96);
	}
}

/* hidden until their block is in view (only with JS, like the scene parts) */
.pm-js .pblock:not(.__inview) :is(
	img[alt="bg-aarde"], .bg-aarde, img[alt="bg-nederland"], .bg-nederland,
	.info-blok, .info-blok-ribbon, img[alt^="info-blok-arrow"]
) {
	opacity: 0;
}

/* earth / NL: entrance, then a slow drift (different speeds) */
.__inview :is(img[alt="bg-aarde"], .bg-aarde) {
	--ix: 3;
	--iy: -7;
	--irot: .6deg;
	animation: nv-earth-in 1.1s cubic-bezier(.3, .7, .4, 1) both,
	nv-idle calc(11s * var(--islow, 1)) ease-in-out 2s infinite;
}
.__inview :is(img[alt="bg-nederland"], .bg-nederland) {
	--ix: -3;
	--iy: -6;
	--irot: -.5deg;
	transform-origin: 50% 100%;
	animation: nv-land-in .9s cubic-bezier(.3, .7, .4, 1) .3s both,
	nv-idle calc(9.5s * var(--islow, 1)) ease-in-out 2.2s infinite;
}
/* same idle speed setting as the scenes */
.pblock:has(:is(img[alt^="bg-"], .bg-aarde, .bg-nederland)) {
	--islow: 2;
}

/* the title in an infographic block */
.__inview :is(img[alt="bg-aarde"], .bg-aarde) ~ h2 {
	animation: nv-rise-in .7s cubic-bezier(.2, .8, .3, 1) .6s both;
}

/* info boxes, in page order */
.__inview :is(.info-blok, .info-blok-ribbon) {
	animation: nv-rise-in .7s cubic-bezier(.2, .8, .3, 1) calc(var(--nv-info-start, .8s) + var(--nv-i, 0) * .15s) both;
}
/* the ribbon on a ribbon box swings in just after the box (--nv-i is inherited) */
.__inview .info-blok-ribbon > img {
	transform-origin: 50% 10%;
	animation: nv-swing-in .9s cubic-bezier(.3, .7, .4, 1) calc(var(--nv-info-start, .8s) + var(--nv-i, 0) * .15s + .35s) both;
}
/* arrows between the boxes */
.__inview img[alt^="info-blok-arrow"] {
	animation: nv-pop .5s cubic-bezier(.3, 1.4, .5, 1) calc(var(--nv-info-start, .8s) + var(--nv-i, 0) * .15s) both;
}

@media (prefers-reduced-motion: reduce) {
	:is(img[alt^="bg-"], .bg-aarde, .bg-nederland, .info-blok, .info-blok-ribbon, .info-blok-ribbon > img, img[alt^="info-blok-arrow"]),
	.pblock h2 {
		animation: none !important;
		opacity: 1 !important;
	}
}