/*
 * NetRhyme WP Theme: effects. Loaded after base.css, on every page and in the editor.
 *
 * 1. Section styles "tinted abstract", "dark abstract", "tinted gradient", "dark gradient"
 *    (chosen per section, like "tinted" and "dark"; base.css gives them the same colours).
 * 2. Motion: sections come into view with a short movement (Appearance, Design options).
 * 3. Glint: a thin line of light travels along card borders (Appearance, Design options).
 *
 * Which drawing the abstract styles show, on which side and how large, is set under
 * Appearance, Design options and arrives as one inline rule (inc/design.php), for example
 *   :root { --wprk-motif: var(--wprk-motif-pyramids); --wprk-motif-glow: 1; --wprk-motif-size: 40rem; }
 * Visitors who ask their device for reduced motion get the drawings and nothing that moves.
 */

@property --wprk-glint-turn {
	inherits: false;
	initial-value: 0deg;
	syntax: "<angle>";
}

/* ---------- 1a. Abstract sections ---------- */

/* The drawings (made by _kit/extras/motifs/gen.py). Only their shape is used, as a mask. */
:root {
	--wprk-motif-pyramids: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 380' width='640' height='380'%3E%3Cg fill='%23000' stroke='%23000' stroke-linejoin='round'%3E%3Cpolygon points='414.0,103.2 196.4,313.6 478.0,512.0 478.0,147.2' fill-opacity='0.42'/%3E%3Cpolygon points='478.0,147.2 478.0,512.0 748.4,325.6 540.4,105.6' fill-opacity='0.16'/%3E%3Cpolygon points='478.0,40.0 414.0,103.2 478.0,147.2' fill-opacity='0.62'/%3E%3Cpolygon points='478.0,40.0 478.0,147.2 540.4,105.6' fill-opacity='0.3'/%3E%3Cpath d='M478.0,40.0 L196.4,313.6 L478.0,512.0 L748.4,325.6 Z M478.0,40.0 L478.0,512.0 M414.0,103.2 L478.0,147.2 L540.4,105.6' fill='none' stroke-width='1.3' stroke-opacity='0.85'/%3E%3Cpath d='M40.0 380 L214 150.0 L388.0 380' fill='none' stroke-width='1.5' stroke-opacity='0.95'/%3E%3Cpath d='M66.1 380 L214 184.5 L361.9 380' fill='none' stroke-width='1.1' stroke-opacity='0.83'/%3E%3Cpath d='M92.2 380 L214 219.0 L335.8 380' fill='none' stroke-width='1.1' stroke-opacity='0.70'/%3E%3Cpath d='M118.3 380 L214 253.5 L309.7 380' fill='none' stroke-width='1.1' stroke-opacity='0.58'/%3E%3Cpath d='M144.4 380 L214 288.0 L283.6 380' fill='none' stroke-width='1.1' stroke-opacity='0.46'/%3E%3Cpath d='M170.5 380 L214 322.5 L257.5 380' fill='none' stroke-width='1.1' stroke-opacity='0.33'/%3E%3C/g%3E%3C/svg%3E");
	--wprk-motif-arcs: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 380' width='640' height='380'%3E%3Cg fill='%23000' stroke='%23000' stroke-linejoin='round'%3E%3Ccircle cx='640' cy='380' r='70' fill='none' stroke-width='1.5' stroke-opacity='1.00'/%3E%3Ccircle cx='640' cy='380' r='128' fill='none' stroke-width='1.5' stroke-opacity='0.92'/%3E%3Ccircle cx='640' cy='380' r='186' fill='none' stroke-width='1.5' stroke-opacity='0.84'/%3E%3Ccircle cx='640' cy='380' r='244' fill='none' stroke-width='1.5' stroke-opacity='0.76'/%3E%3Ccircle cx='640' cy='380' r='302' fill='none' stroke-width='1.5' stroke-opacity='0.68'/%3E%3Ccircle cx='640' cy='380' r='360' fill='none' stroke-width='1.5' stroke-opacity='0.60'/%3E%3Ccircle cx='640' cy='380' r='418' fill='none' stroke-width='1.5' stroke-opacity='0.52'/%3E%3Ccircle cx='640' cy='380' r='476' fill='none' stroke-width='1.5' stroke-opacity='0.44'/%3E%3Ccircle cx='640' cy='380' r='534' fill='none' stroke-width='1.5' stroke-opacity='0.36'/%3E%3Ccircle cx='640' cy='380' r='592' fill='none' stroke-width='1.5' stroke-opacity='0.28'/%3E%3C/g%3E%3C/svg%3E");
	--wprk-motif-dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 380' width='640' height='380'%3E%3Cg fill='%23000' stroke='%23000' stroke-linejoin='round'%3E%3Cdefs%3E%3Cpattern id='p' width='18' height='18' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3C/pattern%3E%3CradialGradient id='g' cx='1' cy='1' r='1'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='0.55' stop-color='%23fff' stop-opacity='0.55'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/radialGradient%3E%3Cmask id='m'%3E%3Crect width='640' height='380' fill='url(%23g)'/%3E%3C/mask%3E%3C/defs%3E%3Crect width='640' height='380' fill='url(%23p)' mask='url(%23m)'/%3E%3C/g%3E%3C/svg%3E");
	--wprk-motif-rings: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 380' width='640' height='380'%3E%3Cg fill='%23000' stroke='%23000' stroke-linejoin='round'%3E%3Ccircle cx='486' cy='232' r='48' fill='none' stroke-width='1.3' stroke-opacity='0.95'/%3E%3Ccircle cx='486' cy='232' r='90' fill='none' stroke-width='1.3' stroke-opacity='0.81'/%3E%3Ccircle cx='486' cy='232' r='132' fill='none' stroke-width='1.3' stroke-opacity='0.67'/%3E%3Ccircle cx='486' cy='232' r='174' fill='none' stroke-width='1.3' stroke-opacity='0.53'/%3E%3Ccircle cx='486' cy='232' r='216' fill='none' stroke-width='1.3' stroke-opacity='0.39'/%3E%3Ccircle cx='486' cy='232' r='258' fill='none' stroke-width='1.3' stroke-opacity='0.25'/%3E%3Ccircle cx='262' cy='338' r='30' fill='none' stroke-width='1.3' stroke-opacity='0.95'/%3E%3Ccircle cx='262' cy='338' r='64' fill='none' stroke-width='1.3' stroke-opacity='0.81'/%3E%3Ccircle cx='262' cy='338' r='98' fill='none' stroke-width='1.3' stroke-opacity='0.67'/%3E%3Ccircle cx='262' cy='338' r='132' fill='none' stroke-width='1.3' stroke-opacity='0.53'/%3E%3Ccircle cx='262' cy='338' r='166' fill='none' stroke-width='1.3' stroke-opacity='0.39'/%3E%3C/g%3E%3C/svg%3E");
	--wprk-motif-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 380' width='640' height='380'%3E%3Cg fill='%23000' stroke='%23000' stroke-linejoin='round'%3E%3Cdefs%3E%3Cpattern id='p' width='32' height='32' patternUnits='userSpaceOnUse'%3E%3Cpath d='M32 0.5 H0.5 V32' fill='none' stroke-width='1'/%3E%3C/pattern%3E%3CradialGradient id='g' cx='1' cy='1' r='1'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='0.55' stop-color='%23fff' stop-opacity='0.55'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/radialGradient%3E%3Cmask id='m'%3E%3Crect width='640' height='380' fill='url(%23g)'/%3E%3C/mask%3E%3C/defs%3E%3Crect width='640' height='380' fill='url(%23p)' mask='url(%23m)'/%3E%3C/g%3E%3C/svg%3E");
	--wprk-motif-stripes: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 380' width='640' height='380'%3E%3Cg fill='%23000' stroke='%23000' stroke-linejoin='round'%3E%3Cdefs%3E%3Cpattern id='p' width='28' height='28' patternUnits='userSpaceOnUse' patternTransform='rotate(-45)'%3E%3Crect width='28' height='10' stroke='none'/%3E%3C/pattern%3E%3CradialGradient id='g' cx='1' cy='1' r='1'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='0.55' stop-color='%23fff' stop-opacity='0.55'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/radialGradient%3E%3Cmask id='m'%3E%3Crect width='640' height='380' fill='url(%23g)'/%3E%3C/mask%3E%3C/defs%3E%3Crect width='640' height='380' fill='url(%23p)' mask='url(%23m)'/%3E%3C/g%3E%3C/svg%3E");
	--wprk-motif-ticks: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 380' width='640' height='380'%3E%3Cg fill='%23000' stroke='%23000' stroke-linejoin='round'%3E%3Cpath d='M628 380 v-64' fill='none' stroke-width='2' stroke-opacity='1.00'/%3E%3Cpath d='M616 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.98'/%3E%3Cpath d='M604 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.96'/%3E%3Cpath d='M592 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.94'/%3E%3Cpath d='M580 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.92'/%3E%3Cpath d='M568 380 v-38' fill='none' stroke-width='2' stroke-opacity='0.91'/%3E%3Cpath d='M556 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.89'/%3E%3Cpath d='M544 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.87'/%3E%3Cpath d='M532 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.85'/%3E%3Cpath d='M520 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.83'/%3E%3Cpath d='M508 380 v-64' fill='none' stroke-width='2' stroke-opacity='0.81'/%3E%3Cpath d='M496 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.79'/%3E%3Cpath d='M484 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.77'/%3E%3Cpath d='M472 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.75'/%3E%3Cpath d='M460 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.73'/%3E%3Cpath d='M448 380 v-38' fill='none' stroke-width='2' stroke-opacity='0.72'/%3E%3Cpath d='M436 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.70'/%3E%3Cpath d='M424 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.68'/%3E%3Cpath d='M412 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.66'/%3E%3Cpath d='M400 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.64'/%3E%3Cpath d='M388 380 v-64' fill='none' stroke-width='2' stroke-opacity='0.62'/%3E%3Cpath d='M376 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.60'/%3E%3Cpath d='M364 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.58'/%3E%3Cpath d='M352 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.56'/%3E%3Cpath d='M340 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.54'/%3E%3Cpath d='M328 380 v-38' fill='none' stroke-width='2' stroke-opacity='0.53'/%3E%3Cpath d='M316 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.51'/%3E%3Cpath d='M304 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.49'/%3E%3Cpath d='M292 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.47'/%3E%3Cpath d='M280 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.45'/%3E%3Cpath d='M268 380 v-64' fill='none' stroke-width='2' stroke-opacity='0.43'/%3E%3Cpath d='M256 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.41'/%3E%3Cpath d='M244 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.39'/%3E%3Cpath d='M232 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.37'/%3E%3Cpath d='M220 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.35'/%3E%3Cpath d='M208 380 v-38' fill='none' stroke-width='2' stroke-opacity='0.33'/%3E%3Cpath d='M196 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.32'/%3E%3Cpath d='M184 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.30'/%3E%3Cpath d='M172 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.28'/%3E%3Cpath d='M160 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.26'/%3E%3Cpath d='M148 380 v-64' fill='none' stroke-width='2' stroke-opacity='0.24'/%3E%3Cpath d='M136 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.22'/%3E%3Cpath d='M124 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.20'/%3E%3Cpath d='M112 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.18'/%3E%3Cpath d='M100 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.16'/%3E%3Cpath d='M88 380 v-38' fill='none' stroke-width='2' stroke-opacity='0.15'/%3E%3Cpath d='M76 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.14'/%3E%3Cpath d='M64 380 v-20' fill='none' stroke-width='1.5' stroke-opacity='0.14'/%3E%3Cpath d='M640 368 h-64' fill='none' stroke-width='2' stroke-opacity='1.00'/%3E%3Cpath d='M640 356 h-20' fill='none' stroke-width='1.5' stroke-opacity='0.97'/%3E%3Cpath d='M640 344 h-20' fill='none' stroke-width='1.5' stroke-opacity='0.94'/%3E%3Cpath d='M640 332 h-20' fill='none' stroke-width='1.5' stroke-opacity='0.91'/%3E%3Cpath d='M640 320 h-20' fill='none' stroke-width='1.5' stroke-opacity='0.88'/%3E%3Cpath d='M640 308 h-38' fill='none' stroke-width='2' stroke-opacity='0.85'/%3E%3Cpath d='M640 296 h-20' fill='none' stroke-width='1.5' stroke-opacity='0.82'/%3E%3Cpath d='M640 284 h-20' fill='none' stroke-width='1.5' stroke-opacity='0.79'/%3E%3Cpath d='M640 272 h-20' fill='none' stroke-width='1.5' stroke-opacity='0.76'/%3E%3Cpath d='M640 260 h-20' fill='none' stroke-width='1.5' stroke-opacity='0.73'/%3E%3Cpath d='M640 248 h-64' fill='none' stroke-width='2' stroke-opacity='0.70'/%3E%3Cpath d='M640 236 h-20' fill='none' stroke-width='1.5' stroke-opacity='0.67'/%3E%3Cpath d='M640 224 h-20' fill='none' stroke-width='1.5' stroke-opacity='0.64'/%3E%3Cpath d='M640 212 h-20' fill='none' stroke-width='1.5' stroke-opacity='0.61'/%3E%3Cpath d='M640 200 h-20' fill='none' stroke-width='1.5' stroke-opacity='0.58'/%3E%3Cpath d='M640 188 h-38' fill='none' stroke-width='2' stroke-opacity='0.55'/%3E%3Cpath d='M640 176 h-20' fill='none' stroke-width='1.5' stroke-opacity='0.52'/%3E%3Cpath d='M640 164 h-20' fill='none' stroke-width='1.5' stroke-opacity='0.49'/%3E%3Cpath d='M640 152 h-20' fill='none' stroke-width='1.5' stroke-opacity='0.46'/%3E%3Cpath d='M640 140 h-20' fill='none' stroke-width='1.5' stroke-opacity='0.43'/%3E%3Cpath d='M640 128 h-64' fill='none' stroke-width='2' stroke-opacity='0.40'/%3E%3Cpath d='M640 116 h-20' fill='none' stroke-width='1.5' stroke-opacity='0.37'/%3E%3Cpath d='M640 104 h-20' fill='none' stroke-width='1.5' stroke-opacity='0.34'/%3E%3Cpath d='M640 92 h-20' fill='none' stroke-width='1.5' stroke-opacity='0.31'/%3E%3Cpath d='M640 80 h-20' fill='none' stroke-width='1.5' stroke-opacity='0.28'/%3E%3Cpath d='M640 68 h-38' fill='none' stroke-width='2' stroke-opacity='0.25'/%3E%3Cpath d='M640 56 h-20' fill='none' stroke-width='1.5' stroke-opacity='0.22'/%3E%3Cpath d='M640 44 h-20' fill='none' stroke-width='1.5' stroke-opacity='0.19'/%3E%3Cpath d='M640 32 h-20' fill='none' stroke-width='1.5' stroke-opacity='0.16'/%3E%3Cpath d='M436 212 h104 M488 160 v104' fill='none' stroke-width='1.5' stroke-opacity='0.7'/%3E%3Ccircle cx='488' cy='212' r='26' fill='none' stroke-width='1.5' stroke-opacity='0.7'/%3E%3Ccircle cx='488' cy='212' r='70' fill='none' stroke-width='1.2' stroke-opacity='0.3' stroke-dasharray='3 7'/%3E%3C/g%3E%3C/svg%3E");
	--wprk-motif-waves: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 380' width='640' height='380'%3E%3Cg fill='%23000' stroke='%23000' stroke-linejoin='round'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='1' y1='0' x2='0' y2='0'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='0.65' stop-color='%23fff' stop-opacity='0.6'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cmask id='m'%3E%3Crect width='640' height='380' fill='url(%23g)'/%3E%3C/mask%3E%3C/defs%3E%3Cg mask='url(%23m)'%3E%3Cpath d='M-40 362 q45 -30 90 0 t90 0 q45 -30 90 0 t90 0 q45 -30 90 0 t90 0 q45 -30 90 0 t90 0' fill='none' stroke-width='2.2' stroke-opacity='1.00'/%3E%3Cpath d='M-40 326 q45 -30 90 0 t90 0 q45 -30 90 0 t90 0 q45 -30 90 0 t90 0 q45 -30 90 0 t90 0' fill='none' stroke-width='2.2' stroke-opacity='0.89'/%3E%3Cpath d='M-40 290 q45 -30 90 0 t90 0 q45 -30 90 0 t90 0 q45 -30 90 0 t90 0 q45 -30 90 0 t90 0' fill='none' stroke-width='2.2' stroke-opacity='0.78'/%3E%3Cpath d='M-40 254 q45 -30 90 0 t90 0 q45 -30 90 0 t90 0 q45 -30 90 0 t90 0 q45 -30 90 0 t90 0' fill='none' stroke-width='1.7' stroke-opacity='0.67'/%3E%3Cpath d='M-40 218 q45 -30 90 0 t90 0 q45 -30 90 0 t90 0 q45 -30 90 0 t90 0 q45 -30 90 0 t90 0' fill='none' stroke-width='1.7' stroke-opacity='0.56'/%3E%3Cpath d='M-40 182 q45 -30 90 0 t90 0 q45 -30 90 0 t90 0 q45 -30 90 0 t90 0 q45 -30 90 0 t90 0' fill='none' stroke-width='1.7' stroke-opacity='0.45'/%3E%3Cpath d='M-40 146 q45 -30 90 0 t90 0 q45 -30 90 0 t90 0 q45 -30 90 0 t90 0 q45 -30 90 0 t90 0' fill='none' stroke-width='1.7' stroke-opacity='0.34'/%3E%3Cpath d='M-40 110 q45 -30 90 0 t90 0 q45 -30 90 0 t90 0 q45 -30 90 0 t90 0 q45 -30 90 0 t90 0' fill='none' stroke-width='1.7' stroke-opacity='0.23'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	--wprk-motif-hexagons: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 380' width='640' height='380'%3E%3Cg fill='%23000' stroke='%23000' stroke-linejoin='round'%3E%3Cdefs%3E%3Cpattern id='p' width='34.64' height='60' patternUnits='userSpaceOnUse'%3E%3Cpath d='M17.32 0 L34.64 10 V30 L17.32 40 L0 30 V10 Z M17.32 40 V60' fill='none' stroke-width='1.2'/%3E%3C/pattern%3E%3CradialGradient id='g' cx='1' cy='1' r='1'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='0.55' stop-color='%23fff' stop-opacity='0.55'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/radialGradient%3E%3Cmask id='m'%3E%3Crect width='640' height='380' fill='url(%23g)'/%3E%3C/mask%3E%3C/defs%3E%3Crect width='640' height='380' fill='url(%23p)' stroke='none' mask='url(%23m)'/%3E%3C/g%3E%3C/svg%3E");
	--wprk-motif-weave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 380' width='640' height='380'%3E%3Cg fill='%23000' stroke='%23000' stroke-linejoin='round'%3E%3Cdefs%3E%3Cpattern id='p' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Cpath d='M2 7 h26 M2 15 h26 M2 23 h26 M32 37 h26 M32 45 h26 M32 53 h26 M37 2 v26 M45 2 v26 M53 2 v26 M7 32 v26 M15 32 v26 M23 32 v26' fill='none' stroke-width='1.4' stroke-linecap='round'/%3E%3C/pattern%3E%3CradialGradient id='g' cx='1' cy='1' r='1'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='0.55' stop-color='%23fff' stop-opacity='0.55'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/radialGradient%3E%3Cmask id='m'%3E%3Crect width='640' height='380' fill='url(%23g)'/%3E%3C/mask%3E%3C/defs%3E%3Crect width='640' height='380' fill='url(%23p)' stroke='none' mask='url(%23m)'/%3E%3C/g%3E%3C/svg%3E");
	--wprk-motif-bricks: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 380' width='640' height='380'%3E%3Cg fill='%23000' stroke='%23000' stroke-linejoin='round'%3E%3Cdefs%3E%3Cpattern id='p' width='64' height='52' patternUnits='userSpaceOnUse' y='16'%3E%3Cpath d='M0 0.6 H64 M0 26.6 H64 M0.6 0 V26 M32.6 26 V52' fill='none' stroke-width='1.3'/%3E%3C/pattern%3E%3CradialGradient id='g' cx='1' cy='1' r='1'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='0.55' stop-color='%23fff' stop-opacity='0.55'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/radialGradient%3E%3Cmask id='m'%3E%3Crect width='640' height='380' fill='url(%23g)'/%3E%3C/mask%3E%3C/defs%3E%3Crect width='640' height='380' fill='url(%23p)' stroke='none' mask='url(%23m)'/%3E%3C/g%3E%3C/svg%3E");
	--wprk-motif-circuit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 380' width='640' height='380'%3E%3Cg fill='%23000' stroke='%23000' stroke-linejoin='round'%3E%3Cpath d='M640 340 L520 340 L488 308 L360 308' fill='none' stroke-width='1.6' stroke-opacity='1.00'/%3E%3Cpath d='M640 296 L560 296 L520 256 L520 176' fill='none' stroke-width='1.6' stroke-opacity='0.94'/%3E%3Cpath d='M600 380 L600 352' fill='none' stroke-width='1.6' stroke-opacity='0.88'/%3E%3Cpath d='M640 236 L592 236 L560 204 L430 204 L398 172' fill='none' stroke-width='1.6' stroke-opacity='0.82'/%3E%3Cpath d='M470 380 L470 344 L438 312 L438 250' fill='none' stroke-width='1.6' stroke-opacity='0.76'/%3E%3Cpath d='M640 168 L608 168 L576 136 L576 70' fill='none' stroke-width='1.6' stroke-opacity='0.70'/%3E%3Cpath d='M400 380 L400 356 L368 324 L250 324' fill='none' stroke-width='1.6' stroke-opacity='0.64'/%3E%3Cpath d='M640 104 L616 104 L616 40' fill='none' stroke-width='1.6' stroke-opacity='0.58'/%3E%3Cpath d='M320 380 L320 362 L300 342 L180 342' fill='none' stroke-width='1.6' stroke-opacity='0.52'/%3E%3Cpath d='M520 380 L520 366' fill='none' stroke-width='1.6' stroke-opacity='0.46'/%3E%3Cpath d='M470 250 L470 150 L440 120 L330 120' fill='none' stroke-width='1.6' stroke-opacity='0.40'/%3E%3Cpath d='M350 264 L300 264 L276 240 L276 190' fill='none' stroke-width='1.6' stroke-opacity='0.34'/%3E%3Crect x='534' y='196' width='44' height='44' fill='none' stroke-width='1.6' stroke-opacity='0.9'/%3E%3Cpath d='M542 196 v-8 M556 196 v-8 M570 196 v-8 M542 240 v8 M556 240 v8 M570 240 v8' fill='none' stroke-width='1.6' stroke-opacity='0.9'/%3E%3Ccircle cx='360' cy='308' r='4.5' stroke='none' fill-opacity='1.00'/%3E%3Ccircle cx='520' cy='176' r='4.5' stroke='none' fill-opacity='0.94'/%3E%3Ccircle cx='600' cy='352' r='4.5' stroke='none' fill-opacity='0.88'/%3E%3Ccircle cx='398' cy='172' r='4.5' stroke='none' fill-opacity='0.82'/%3E%3Ccircle cx='438' cy='250' r='4.5' stroke='none' fill-opacity='0.76'/%3E%3Ccircle cx='576' cy='70' r='4.5' stroke='none' fill-opacity='0.70'/%3E%3Ccircle cx='250' cy='324' r='4.5' stroke='none' fill-opacity='0.64'/%3E%3Ccircle cx='616' cy='40' r='4.5' stroke='none' fill-opacity='0.58'/%3E%3Ccircle cx='180' cy='342' r='4.5' stroke='none' fill-opacity='0.52'/%3E%3Ccircle cx='520' cy='366' r='4.5' stroke='none' fill-opacity='0.46'/%3E%3Ccircle cx='330' cy='120' r='4.5' stroke='none' fill-opacity='0.40'/%3E%3Ccircle cx='276' cy='190' r='4.5' stroke='none' fill-opacity='0.34'/%3E%3C/g%3E%3C/svg%3E");
	--wprk-motif-contours: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 380' width='640' height='380'%3E%3Cg fill='%23000' stroke='%23000' stroke-linejoin='round'%3E%3Cpath d='M522 256 Q527 262 524 268 Q522 274 515 278 Q508 282 501 284 Q493 286 486 285 Q478 285 472 282 Q466 280 461 276 Q457 271 453 266 Q450 262 449 255 Q448 248 453 243 Q459 237 468 237 Q478 237 485 239 Q492 242 497 244 Q503 245 511 248 Q518 250 522 256Z' fill='none' stroke-width='1.8' stroke-opacity='0.95'/%3E%3Cpath d='M561 250 Q570 262 565 274 Q559 287 545 295 Q531 303 516 307 Q501 310 486 310 Q470 310 458 304 Q445 299 436 290 Q427 282 419 272 Q412 262 410 248 Q409 234 420 224 Q432 213 451 212 Q470 211 484 217 Q498 222 510 225 Q522 228 537 233 Q552 238 561 250Z' fill='none' stroke-width='1.1' stroke-opacity='0.87'/%3E%3Cpath d='M601 244 Q614 262 605 281 Q596 300 575 312 Q553 323 531 329 Q508 334 486 334 Q463 334 443 326 Q424 318 410 305 Q396 293 385 277 Q374 262 372 241 Q369 221 388 205 Q406 188 434 188 Q462 187 483 195 Q504 202 522 207 Q540 211 564 219 Q587 226 601 244Z' fill='none' stroke-width='1.1' stroke-opacity='0.79'/%3E%3Cpath d='M641 237 Q659 262 646 287 Q633 313 604 328 Q575 344 545 351 Q516 357 485 358 Q455 358 429 347 Q403 337 384 321 Q365 304 350 283 Q335 262 333 234 Q330 207 355 186 Q379 165 417 164 Q455 163 482 173 Q510 183 535 188 Q559 194 591 204 Q622 213 641 237Z' fill='none' stroke-width='1.1' stroke-opacity='0.71'/%3E%3Cpath d='M681 231 Q704 262 687 294 Q670 326 634 345 Q597 363 560 372 Q523 380 485 381 Q448 381 414 369 Q381 357 357 336 Q332 315 314 288 Q295 262 294 227 Q292 193 323 167 Q354 141 401 140 Q447 139 482 151 Q516 163 547 170 Q579 176 619 188 Q659 201 681 231Z' fill='none' stroke-width='1.8' stroke-opacity='0.63'/%3E%3Cpath d='M723 225 Q749 262 728 300 Q707 339 662 361 Q618 382 574 393 Q530 403 485 404 Q441 405 400 391 Q359 377 329 352 Q299 327 278 294 Q256 262 254 221 Q253 180 291 149 Q329 118 384 117 Q440 116 481 130 Q522 144 560 151 Q598 158 647 173 Q696 188 723 225Z' fill='none' stroke-width='1.1' stroke-opacity='0.55'/%3E%3Cpath d='M764 218 Q795 262 769 307 Q743 352 691 377 Q638 401 587 413 Q537 425 485 427 Q433 429 385 413 Q336 398 301 368 Q266 339 241 300 Q216 262 215 214 Q215 167 260 131 Q304 96 369 95 Q433 94 481 109 Q528 124 574 132 Q619 140 676 157 Q734 174 764 218Z' fill='none' stroke-width='1.1' stroke-opacity='0.47'/%3E%3Cpath d='M807 211 Q841 262 810 313 Q779 365 719 392 Q658 419 601 433 Q543 446 484 449 Q426 453 370 436 Q313 419 272 385 Q231 351 203 306 Q175 262 176 207 Q177 153 229 114 Q280 74 353 73 Q426 72 480 88 Q535 105 587 113 Q639 121 706 141 Q772 161 807 211Z' fill='none' stroke-width='1.1' stroke-opacity='0.39'/%3E%3Cpath d='M849 204 Q887 262 851 319 Q815 377 746 407 Q678 437 614 452 Q550 467 484 472 Q418 477 354 458 Q290 440 243 402 Q196 363 165 312 Q135 262 137 201 Q140 140 198 96 Q257 52 338 51 Q419 50 480 67 Q541 85 601 93 Q660 102 736 124 Q812 147 849 204Z' fill='none' stroke-width='1.8' stroke-opacity='0.31'/%3E%3Cpath d='M892 197 Q933 262 892 325 Q850 389 773 422 Q697 454 627 471 Q556 488 483 495 Q410 501 338 482 Q266 462 213 419 Q160 376 127 319 Q94 262 99 194 Q103 127 169 79 Q234 31 323 30 Q412 28 480 47 Q547 65 614 74 Q682 82 767 108 Q851 133 892 197Z' fill='none' stroke-width='1.1' stroke-opacity='0.23'/%3E%3Cpath d='M936 190 Q980 262 932 331 Q884 401 800 436 Q715 471 639 490 Q563 509 483 517 Q403 526 322 505 Q242 484 183 436 Q124 389 89 325 Q54 262 61 188 Q67 115 139 63 Q211 11 308 9 Q406 7 480 26 Q553 45 629 54 Q704 62 798 90 Q892 119 936 190Z' fill='none' stroke-width='1.1' stroke-opacity='0.22'/%3E%3Cpath d='M480 266 h12 M486 260 v12' fill='none' stroke-width='1.4' stroke-opacity='0.9'/%3E%3C/g%3E%3C/svg%3E");
	--wprk-motif-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 380' width='640' height='380'%3E%3Cg fill='%23000' stroke='%23000' stroke-linejoin='round'%3E%3Cdefs%3E%3Cpattern id='p' width='30' height='30' patternUnits='userSpaceOnUse'%3E%3Cpath d='M15 9.5 v11 M9.5 15 h11' fill='none' stroke-width='2.2' stroke-linecap='round'/%3E%3C/pattern%3E%3CradialGradient id='g' cx='1' cy='1' r='1'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='0.55' stop-color='%23fff' stop-opacity='0.55'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/radialGradient%3E%3Cmask id='m'%3E%3Crect width='640' height='380' fill='url(%23g)'/%3E%3C/mask%3E%3C/defs%3E%3Crect width='640' height='380' fill='url(%23p)' stroke='none' mask='url(%23m)'/%3E%3C/g%3E%3C/svg%3E");
}

.is-style-wprk-tinted-abstract {
	--wprk-motif-glow-color: color-mix(in srgb, var(--wp--preset--color--base) calc(var(--wprk-motif-glow, 0) * 88%), transparent);
}

.is-style-wprk-dark-abstract {
	--wprk-motif-glow-color: color-mix(in srgb, var(--wp--preset--color--primary) calc(var(--wprk-motif-glow, 0) * 24%), transparent);
}

/* A soft patch of light in the corner of the drawing: white on tinted, warm on dark. */
:is(.is-style-wprk-tinted-abstract, .is-style-wprk-dark-abstract):not(.wp-block-cover) {
	background-image: radial-gradient(ellipse 62rem 30rem at var(--wprk-motif-x, 100%) 100%, var(--wprk-motif-glow-color), transparent 72%);
	isolation: isolate;
	position: relative;
}

/* The drawing, in the heading colour of the section, behind the content. */
:is(.is-style-wprk-tinted-abstract, .is-style-wprk-dark-abstract):not(.wp-block-cover)::before {
	background-color: var(--wprk-heading);
	content: "";
	inset: 0;
	-webkit-mask-image: var(--wprk-motif, linear-gradient(transparent, transparent));
	mask-image: var(--wprk-motif, linear-gradient(transparent, transparent));
	-webkit-mask-position: right bottom;
	mask-position: right bottom;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: min(var(--wprk-motif-size, 40rem), 92%) auto;
	mask-size: min(var(--wprk-motif-size, 40rem), 92%) auto;
	opacity: 0.2;
	pointer-events: none;
	position: absolute;
	transform: scaleX(var(--wprk-motif-flip, 1));
	z-index: -1;
}

/* One section on the other side: Advanced, Additional CSS class "wprk-motif-left" or "wprk-motif-right". */
.wprk-motif-left {
	--wprk-motif-flip: -1;
	--wprk-motif-x: 0%;
}

.wprk-motif-right {
	--wprk-motif-flip: 1;
	--wprk-motif-x: 100%;
}

/* ---------- 1b. Gradient sections ---------- */

/* White into tinted, with a breath of the brand colour, drifting slowly. */
.is-style-wprk-tinted-gradient {
	background-image: linear-gradient(
		120deg,
		var(--wp--preset--color--base) 0%,
		var(--wp--preset--color--light) 26%,
		color-mix(in srgb, var(--wp--preset--color--primary) 7%, var(--wp--preset--color--light)) 50%,
		var(--wp--preset--color--light) 74%,
		var(--wp--preset--color--base) 100%
	);
	background-size: 250% 250%;
}

/* The dark colour with a deep glow of the brand colour moving through it. */
.is-style-wprk-dark-gradient {
	background-image: linear-gradient(
		120deg,
		var(--wp--preset--color--dark) 0%,
		color-mix(in srgb, var(--wp--preset--color--primary) 34%, var(--wp--preset--color--dark)) 32%,
		var(--wp--preset--color--dark) 58%,
		color-mix(in srgb, var(--wp--preset--color--base) 9%, var(--wp--preset--color--dark)) 80%,
		var(--wp--preset--color--dark) 100%
	);
	background-size: 250% 250%;
}

@keyframes wprk-gradient-drift {
	from {
		background-position: 0% 50%;
	}

	to {
		background-position: 100% 50%;
	}
}

@media (prefers-reduced-motion: no-preference) {
	:is(.is-style-wprk-tinted-gradient, .is-style-wprk-dark-gradient) {
		animation: wprk-gradient-drift 14s ease-in-out infinite alternate;
	}
}

/* ---------- 2. Motion ---------- */

@keyframes wprk-rise {
	from {
		opacity: 0;
		translate: 0 1.25rem;
	}

	to {
		opacity: 1;
		translate: 0 0;
	}
}

@media (prefers-reduced-motion: no-preference) {
	/*
	 * The first section arrives with the page. Pure CSS: nothing waits for a
	 * script, so nothing flickers. Its parts follow each other closely.
	 */
	body.wprk-motion .wprk-main .wp-block-post-content > .wprk-section:first-child:not(.wp-block-cover) > *,
	body.wprk-motion .wprk-main .wp-block-post-content > .wprk-section.wp-block-cover:first-child > .wp-block-cover__inner-container > * > *,
	body.wprk-motion .wprk-main > .wprk-titlebar .wprk-titlebar__inner > * {
		animation: wprk-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}

	body.wprk-motion .wprk-main .wp-block-post-content > .wprk-section:first-child:not(.wp-block-cover) > :nth-child(2),
	body.wprk-motion .wprk-main .wp-block-post-content > .wprk-section.wp-block-cover:first-child > .wp-block-cover__inner-container > * > :nth-child(2),
	body.wprk-motion .wprk-main > .wprk-titlebar .wprk-titlebar__inner > :nth-child(2) {
		animation-delay: 0.09s;
	}

	body.wprk-motion .wprk-main .wp-block-post-content > .wprk-section:first-child:not(.wp-block-cover) > :nth-child(3),
	body.wprk-motion .wprk-main .wp-block-post-content > .wprk-section.wp-block-cover:first-child > .wp-block-cover__inner-container > * > :nth-child(3),
	body.wprk-motion .wprk-main > .wprk-titlebar .wprk-titlebar__inner > :nth-child(3) {
		animation-delay: 0.18s;
	}

	body.wprk-motion .wprk-main .wp-block-post-content > .wprk-section:first-child:not(.wp-block-cover) > :nth-child(n + 4),
	body.wprk-motion .wprk-main .wp-block-post-content > .wprk-section.wp-block-cover:first-child > .wp-block-cover__inner-container > * > :nth-child(n + 4) {
		animation-delay: 0.27s;
	}

	/*
	 * Everything further down waits below the fold and rises as it is scrolled
	 * into view. effects.js gives the two classes and takes them away again.
	 */
	.wprk-reveal {
		opacity: 0;
		translate: 0 1.5rem;
	}

	.wprk-reveal.is-in {
		opacity: 1;
		transition: opacity 0.7s ease var(--wprk-reveal-delay, 0ms), translate 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--wprk-reveal-delay, 0ms);
		translate: 0 0;
	}
}

@media print {
	.wprk-reveal {
		opacity: 1 !important;
		translate: none !important;
	}
}

/* ---------- 3. Glint ---------- */

@keyframes wprk-glint-turn {
	to {
		--wprk-glint-turn: 360deg;
	}
}

/* One pass around the border: fades in, goes round once, fades out. */
@keyframes wprk-glint-pass {
	0% {
		--wprk-glint-turn: 0deg;
		opacity: 0;
	}

	12%,
	86% {
		opacity: 1;
	}

	100% {
		--wprk-glint-turn: 360deg;
		opacity: 0;
	}
}

@keyframes wprk-glint-slide {
	from {
		background-position: -14rem 0;
	}

	to {
		background-position: calc(100% + 14rem) 0;
	}
}

@media (prefers-reduced-motion: no-preference) {
	body.wprk-glint .wprk-card {
		position: relative;
	}

	/*
	 * A ring exactly on the border of a card, one pixel wide, transparent except
	 * for a short line of light. It goes round once when the card comes into view
	 * (effects.js adds is-lit) and keeps going while the card is hovered.
	 */
	body.wprk-glint .wprk-card::after {
		background: conic-gradient(from var(--wprk-glint-turn), transparent 0 86%, color-mix(in srgb, var(--wprk-link) 45%, transparent) 95%, var(--wprk-link) 99%, transparent 100%);
		border-radius: inherit;
		content: "";
		inset: -1px;
		-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
		-webkit-mask-composite: xor;
		mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
		opacity: 0;
		padding: 1px;
		pointer-events: none;
		position: absolute;
		transition: opacity 0.3s ease;
	}

	body.wprk-glint .wprk-card.is-lit::after {
		animation: wprk-glint-pass 2.1s linear var(--wprk-glint-delay, 0ms) 1 both;
	}

	body.wprk-glint .wprk-card:is(:hover, :focus-within)::after {
		animation: wprk-glint-turn 2.8s linear infinite;
		opacity: 1;
	}

	/* A light that runs along the line above the last row of the footer. */
	body.wprk-glint .wprk-footer__bottom {
		position: relative;
	}

	body.wprk-glint .wprk-footer__bottom::before {
		animation: wprk-glint-slide 9s linear infinite;
		background: linear-gradient(90deg, transparent, var(--wprk-link), transparent) no-repeat;
		background-size: 14rem 100%;
		content: "";
		height: 1px;
		inset-inline: 0;
		opacity: 0.7;
		pointer-events: none;
		position: absolute;
		top: -1px;
	}

	/* A sheen crosses a button when the pointer comes over it. */
	body.wprk-glint .wp-block-button:not(.is-style-wprk-text) > .wp-block-button__link {
		overflow: hidden;
		position: relative;
	}

	body.wprk-glint .wp-block-button:not(.is-style-wprk-text) > .wp-block-button__link::before {
		background: linear-gradient(105deg, transparent 35%, color-mix(in srgb, currentColor 28%, transparent) 50%, transparent 65%);
		content: "";
		inset: 0;
		pointer-events: none;
		position: absolute;
		translate: -110% 0;
	}

	body.wprk-glint .wp-block-button:not(.is-style-wprk-text) > .wp-block-button__link:hover::before {
		transition: translate 0.7s ease;
		translate: 110% 0;
	}
}
