/* CouchWand background textures. Pure CSS (data: SVG used as mask only; CSP allows img-src data:).
   Theme: follows the site (html[data-theme]) or prefers-color-scheme; force a section with .theme-light / .theme-dark. */
:root, .theme-light {
  --tex-base: #f6f1fd;
  --tex-mark: #4b2596;
  --tex-alpha: .17;
  --tex-glow1: rgba(220, 188, 244, .38);
  --tex-glow2: rgba(220, 188, 244, .85);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --tex-base: #3a1468; --tex-mark: #dcbcf4; --tex-alpha: .15;
    --tex-glow1: rgba(75, 37, 150, .55); --tex-glow2: rgba(42, 15, 77, .95);
  }
}
:root[data-theme="dark"], .theme-dark {
  --tex-base: #3a1468; --tex-mark: #dcbcf4; --tex-alpha: .15;
  --tex-glow1: rgba(75, 37, 150, .55); --tex-glow2: rgba(42, 15, 77, .95);
}
/* Section backgrounds: content sits above the texture marks. */
.sec-tex { position: relative; }
.sec-tex > * { position: relative; z-index: 1; }
.page-tex { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

.tex-01, .tex-02, .tex-03, .tex-04, .tex-05, .tex-06, .tex-07, .tex-08, .tex-09, .tex-10, .tex-11, .tex-12 {
  background-color: var(--tex-base);
  background-image:
    radial-gradient(ellipse 85% 65% at var(--g1, 12% 0%), var(--tex-glow1), transparent 70%),
    radial-gradient(ellipse 75% 65% at var(--g2, 92% 100%), var(--tex-glow2), transparent 70%);
  overflow: hidden;
  isolation: isolate;
}
.tex-01::before, .tex-02::before, .tex-03::before, .tex-04::before, .tex-05::before,
.tex-05::after, .tex-06::before, .tex-07::before, .tex-08::before, .tex-09::before,
.tex-10::before, .tex-11::before, .tex-12::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--tex-mark);
  opacity: calc(var(--tex-alpha) * var(--k, 1));
}

/* 01 Beacon Rings: radiating signal rings from two corners (repeating radial gradients) */
.tex-01 { --g1: 100% 0%; --g2: 0% 100%; }
.tex-01::before {
  --k: 1.25;
  background:
    repeating-radial-gradient(circle at 96% -6%, var(--tex-mark) 0 1px, transparent 1px 30px),
    repeating-radial-gradient(circle at 4% 106%, var(--tex-mark) 0 1px, transparent 1px 42px);
  -webkit-mask-image:
    radial-gradient(circle 48vmax at 96% -6%, #000, transparent),
    radial-gradient(circle 48vmax at 4% 106%, #000, transparent);
  mask-image:
    radial-gradient(circle 48vmax at 96% -6%, #000, transparent),
    radial-gradient(circle 48vmax at 4% 106%, #000, transparent);
}

/* 02 Constellations: four-point sparkles joined by dotted lines into small figures, like steps chained into a macro */
.tex-02 { --g1: 80% 0%; --g2: 10% 100%; }
.tex-02::before {
  --k: 1.6;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 380' width='400' height='380'%3E%3Cdefs%3E%3Cpath id='s' d='M0 -10Q1.2 -1.2 10 0Q1.2 1.2 0 10Q-1.2 1.2 -10 0Q-1.2 -1.2 0 -10Z'/%3E%3C/defs%3E%3Cg fill='none' stroke='black' stroke-width='.8' stroke-dasharray='1 4' stroke-linecap='round'%3E%3Cpolyline points='40,60 90,40 130,75 110,120'/%3E%3Cpolyline points='230,30 280,70 330,50 360,95'/%3E%3Cpolyline points='60,250 120,230 150,290 210,270'/%3E%3Cpolyline points='270,200 320,240 300,310 360,330'/%3E%3C/g%3E%3Cuse href='%23s' transform='translate(40 60) scale(0.55)'/%3E%3Cuse href='%23s' transform='translate(90 40) scale(0.35)'/%3E%3Cuse href='%23s' transform='translate(130 75) scale(0.45)'/%3E%3Cuse href='%23s' transform='translate(110 120) scale(0.3)'/%3E%3Cuse href='%23s' transform='translate(230 30) scale(0.55)'/%3E%3Cuse href='%23s' transform='translate(280 70) scale(0.35)'/%3E%3Cuse href='%23s' transform='translate(330 50) scale(0.45)'/%3E%3Cuse href='%23s' transform='translate(360 95) scale(0.3)'/%3E%3Cuse href='%23s' transform='translate(60 250) scale(0.55)'/%3E%3Cuse href='%23s' transform='translate(120 230) scale(0.35)'/%3E%3Cuse href='%23s' transform='translate(150 290) scale(0.45)'/%3E%3Cuse href='%23s' transform='translate(210 270) scale(0.3)'/%3E%3Cuse href='%23s' transform='translate(270 200) scale(0.55)'/%3E%3Cuse href='%23s' transform='translate(320 240) scale(0.35)'/%3E%3Cuse href='%23s' transform='translate(300 310) scale(0.45)'/%3E%3Cuse href='%23s' transform='translate(360 330) scale(0.3)'/%3E%3Cg opacity='.6'%3E%3Ccircle cx='318' cy='130' r='1.2'/%3E%3Ccircle cx='183' cy='353' r='1.2'/%3E%3Ccircle cx='333' cy='271' r='0.7'/%3E%3Ccircle cx='238' cy='127' r='1.2'/%3E%3Ccircle cx='26' cy='80' r='0.7'/%3E%3Ccircle cx='190' cy='240' r='0.7'/%3E%3Ccircle cx='194' cy='278' r='0.7'/%3E%3Ccircle cx='293' cy='127' r='0.7'/%3E%3Ccircle cx='374' cy='110' r='1'/%3E%3Ccircle cx='143' cy='93' r='1'/%3E%3Ccircle cx='81' cy='36' r='0.7'/%3E%3Ccircle cx='316' cy='316' r='1'/%3E%3Ccircle cx='64' cy='67' r='0.7'/%3E%3Ccircle cx='2' cy='107' r='0.7'/%3E%3Ccircle cx='84' cy='85' r='1'/%3E%3Ccircle cx='160' cy='101' r='1.2'/%3E%3Ccircle cx='347' cy='320' r='0.7'/%3E%3Ccircle cx='93' cy='353' r='0.7'/%3E%3Ccircle cx='196' cy='152' r='0.7'/%3E%3Ccircle cx='184' cy='212' r='0.7'/%3E%3Ccircle cx='74' cy='135' r='0.7'/%3E%3Ccircle cx='169' cy='154' r='1.2'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 380' width='400' height='380'%3E%3Cdefs%3E%3Cpath id='s' d='M0 -10Q1.2 -1.2 10 0Q1.2 1.2 0 10Q-1.2 1.2 -10 0Q-1.2 -1.2 0 -10Z'/%3E%3C/defs%3E%3Cg fill='none' stroke='black' stroke-width='.8' stroke-dasharray='1 4' stroke-linecap='round'%3E%3Cpolyline points='40,60 90,40 130,75 110,120'/%3E%3Cpolyline points='230,30 280,70 330,50 360,95'/%3E%3Cpolyline points='60,250 120,230 150,290 210,270'/%3E%3Cpolyline points='270,200 320,240 300,310 360,330'/%3E%3C/g%3E%3Cuse href='%23s' transform='translate(40 60) scale(0.55)'/%3E%3Cuse href='%23s' transform='translate(90 40) scale(0.35)'/%3E%3Cuse href='%23s' transform='translate(130 75) scale(0.45)'/%3E%3Cuse href='%23s' transform='translate(110 120) scale(0.3)'/%3E%3Cuse href='%23s' transform='translate(230 30) scale(0.55)'/%3E%3Cuse href='%23s' transform='translate(280 70) scale(0.35)'/%3E%3Cuse href='%23s' transform='translate(330 50) scale(0.45)'/%3E%3Cuse href='%23s' transform='translate(360 95) scale(0.3)'/%3E%3Cuse href='%23s' transform='translate(60 250) scale(0.55)'/%3E%3Cuse href='%23s' transform='translate(120 230) scale(0.35)'/%3E%3Cuse href='%23s' transform='translate(150 290) scale(0.45)'/%3E%3Cuse href='%23s' transform='translate(210 270) scale(0.3)'/%3E%3Cuse href='%23s' transform='translate(270 200) scale(0.55)'/%3E%3Cuse href='%23s' transform='translate(320 240) scale(0.35)'/%3E%3Cuse href='%23s' transform='translate(300 310) scale(0.45)'/%3E%3Cuse href='%23s' transform='translate(360 330) scale(0.3)'/%3E%3Cg opacity='.6'%3E%3Ccircle cx='318' cy='130' r='1.2'/%3E%3Ccircle cx='183' cy='353' r='1.2'/%3E%3Ccircle cx='333' cy='271' r='0.7'/%3E%3Ccircle cx='238' cy='127' r='1.2'/%3E%3Ccircle cx='26' cy='80' r='0.7'/%3E%3Ccircle cx='190' cy='240' r='0.7'/%3E%3Ccircle cx='194' cy='278' r='0.7'/%3E%3Ccircle cx='293' cy='127' r='0.7'/%3E%3Ccircle cx='374' cy='110' r='1'/%3E%3Ccircle cx='143' cy='93' r='1'/%3E%3Ccircle cx='81' cy='36' r='0.7'/%3E%3Ccircle cx='316' cy='316' r='1'/%3E%3Ccircle cx='64' cy='67' r='0.7'/%3E%3Ccircle cx='2' cy='107' r='0.7'/%3E%3Ccircle cx='84' cy='85' r='1'/%3E%3Ccircle cx='160' cy='101' r='1.2'/%3E%3Ccircle cx='347' cy='320' r='0.7'/%3E%3Ccircle cx='93' cy='353' r='0.7'/%3E%3Ccircle cx='196' cy='152' r='0.7'/%3E%3Ccircle cx='184' cy='212' r='0.7'/%3E%3Ccircle cx='74' cy='135' r='0.7'/%3E%3Ccircle cx='169' cy='154' r='1.2'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-size: 400px 380px;
  mask-size: 400px 380px;
}

/* 03 Honeycomb: thin hex cells (a cousin of the 04 sigil lattice), strongest at the edges and clear behind the text */
.tex-03 { --g1: 0% 0%; --g2: 100% 100%; }
.tex-03::before {
  --k: 1.3;
  background: none;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24.25 42' width='24.25' height='42'%3E%3Cpath d='M12.1 7.0 L0.0 14.0 L-12.1 7.0 L-12.1 -7.0 L-0.0 -14.0 L12.1 -7.0Z M36.4 7.0 L24.2 14.0 L12.1 7.0 L12.1 -7.0 L24.2 -14.0 L36.4 -7.0Z M24.2 28.0 L12.1 35.0 L-0.0 28.0 L0.0 14.0 L12.1 7.0 L24.2 14.0Z M12.1 49.0 L0.0 56.0 L-12.1 49.0 L-12.1 35.0 L-0.0 28.0 L12.1 35.0Z M36.4 49.0 L24.2 56.0 L12.1 49.0 L12.1 35.0 L24.2 28.0 L36.4 35.0Z' fill='none' stroke='black' stroke-width='.8'/%3E%3C/svg%3E"), radial-gradient(ellipse 70% 80% at 45% 50%, transparent 25%, #000 90%);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24.25 42' width='24.25' height='42'%3E%3Cpath d='M12.1 7.0 L0.0 14.0 L-12.1 7.0 L-12.1 -7.0 L-0.0 -14.0 L12.1 -7.0Z M36.4 7.0 L24.2 14.0 L12.1 7.0 L12.1 -7.0 L24.2 -14.0 L36.4 -7.0Z M24.2 28.0 L12.1 35.0 L-0.0 28.0 L0.0 14.0 L12.1 7.0 L24.2 14.0Z M12.1 49.0 L0.0 56.0 L-12.1 49.0 L-12.1 35.0 L-0.0 28.0 L12.1 35.0Z M36.4 49.0 L24.2 56.0 L12.1 49.0 L12.1 35.0 L24.2 28.0 L36.4 35.0Z' fill='none' stroke='black' stroke-width='.8'/%3E%3C/svg%3E"), radial-gradient(ellipse 70% 80% at 45% 50%, transparent 25%, #000 90%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  -webkit-mask-size: 24.25px 42px, 100% 100%;
  mask-size: 24.25px 42px, 100% 100%;
  -webkit-mask-repeat: repeat, no-repeat;
  mask-repeat: repeat, no-repeat;
  background-color: var(--tex-mark);
}

/* 04 Sigil Lattice: flower-of-life overlapping circles (arcane geometry) */
.tex-04 { --g1: 50% 0%; --g2: 50% 100%; }
.tex-04::before {
  --k: 1.4;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 69' width='40' height='69'%3E%3Cg fill='none' stroke='black' stroke-width='.7'%3E%3Ccircle cx='-20' cy='-34.5' r='40'/%3E%3Ccircle cx='20' cy='-34.5' r='40'/%3E%3Ccircle cx='60' cy='-34.5' r='40'/%3E%3Ccircle cx='-40' cy='0.0' r='40'/%3E%3Ccircle cx='0' cy='0.0' r='40'/%3E%3Ccircle cx='40' cy='0.0' r='40'/%3E%3Ccircle cx='80' cy='0.0' r='40'/%3E%3Ccircle cx='-20' cy='34.5' r='40'/%3E%3Ccircle cx='20' cy='34.5' r='40'/%3E%3Ccircle cx='60' cy='34.5' r='40'/%3E%3Ccircle cx='-40' cy='69.0' r='40'/%3E%3Ccircle cx='0' cy='69.0' r='40'/%3E%3Ccircle cx='40' cy='69.0' r='40'/%3E%3Ccircle cx='80' cy='69.0' r='40'/%3E%3Ccircle cx='-20' cy='103.5' r='40'/%3E%3Ccircle cx='20' cy='103.5' r='40'/%3E%3Ccircle cx='60' cy='103.5' r='40'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 69' width='40' height='69'%3E%3Cg fill='none' stroke='black' stroke-width='.7'%3E%3Ccircle cx='-20' cy='-34.5' r='40'/%3E%3Ccircle cx='20' cy='-34.5' r='40'/%3E%3Ccircle cx='60' cy='-34.5' r='40'/%3E%3Ccircle cx='-40' cy='0.0' r='40'/%3E%3Ccircle cx='0' cy='0.0' r='40'/%3E%3Ccircle cx='40' cy='0.0' r='40'/%3E%3Ccircle cx='80' cy='0.0' r='40'/%3E%3Ccircle cx='-20' cy='34.5' r='40'/%3E%3Ccircle cx='20' cy='34.5' r='40'/%3E%3Ccircle cx='60' cy='34.5' r='40'/%3E%3Ccircle cx='-40' cy='69.0' r='40'/%3E%3Ccircle cx='0' cy='69.0' r='40'/%3E%3Ccircle cx='40' cy='69.0' r='40'/%3E%3Ccircle cx='80' cy='69.0' r='40'/%3E%3Ccircle cx='-20' cy='103.5' r='40'/%3E%3Ccircle cx='20' cy='103.5' r='40'/%3E%3Ccircle cx='60' cy='103.5' r='40'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-size: 40px 69px;
  mask-size: 40px 69px;
}

/* 05 Stardust: four-point sparkles at two scales plus fine dust */
.tex-05 { --g1: 90% 10%; --g2: 10% 90%; }
.tex-05::before {
  --k: 1.7;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' width='400' height='400'%3E%3Cdefs%3E%3Cpath id='s' d='M0 -10Q1.2 -1.2 10 0Q1.2 1.2 0 10Q-1.2 1.2 -10 0Q-1.2 -1.2 0 -10Z'/%3E%3C/defs%3E%3Cuse href='%23s' transform='translate(243 285) scale(1.5)'/%3E%3Cuse href='%23s' transform='translate(34 188) scale(0.5)'/%3E%3Cuse href='%23s' transform='translate(155 330) scale(1)'/%3E%3Cuse href='%23s' transform='translate(281 168) scale(0.5)'/%3E%3Cuse href='%23s' transform='translate(347 294) scale(0.5)'/%3E%3Cuse href='%23s' transform='translate(292 49) scale(1.5)'/%3E%3Cuse href='%23s' transform='translate(366 26) scale(0.5)'/%3E%3Cuse href='%23s' transform='translate(129 151) scale(0.5)'/%3E%3Cuse href='%23s' transform='translate(353 117) scale(0.7)'/%3E%3Cuse href='%23s' transform='translate(130 236) scale(0.35)'/%3E%3Cuse href='%23s' transform='translate(30 301) scale(0.7)'/%3E%3Cuse href='%23s' transform='translate(40 88) scale(0.5)'/%3E%3Cuse href='%23s' transform='translate(368 361) scale(1.5)'/%3E%3Cuse href='%23s' transform='translate(74 369) scale(0.5)'/%3E%3Cuse href='%23s' transform='translate(124 52) scale(1)'/%3E%3Cg opacity='.6'%3E%3Ccircle cx='73' cy='309' r='1.3'/%3E%3Ccircle cx='206' cy='369' r='1'/%3E%3Ccircle cx='17' cy='68' r='1'/%3E%3Ccircle cx='248' cy='76' r='1.3'/%3E%3Ccircle cx='76' cy='285' r='1'/%3E%3Ccircle cx='386' cy='70' r='0.7'/%3E%3Ccircle cx='193' cy='219' r='1'/%3E%3Ccircle cx='187' cy='154' r='1.3'/%3E%3Ccircle cx='142' cy='375' r='1'/%3E%3Ccircle cx='218' cy='380' r='1.3'/%3E%3Ccircle cx='244' cy='43' r='1.3'/%3E%3Ccircle cx='205' cy='375' r='1'/%3E%3Ccircle cx='378' cy='324' r='1'/%3E%3Ccircle cx='165' cy='225' r='1.3'/%3E%3Ccircle cx='237' cy='225' r='0.7'/%3E%3Ccircle cx='382' cy='242' r='1'/%3E%3Ccircle cx='325' cy='263' r='1'/%3E%3Ccircle cx='48' cy='226' r='1.3'/%3E%3Ccircle cx='215' cy='132' r='1.3'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' width='400' height='400'%3E%3Cdefs%3E%3Cpath id='s' d='M0 -10Q1.2 -1.2 10 0Q1.2 1.2 0 10Q-1.2 1.2 -10 0Q-1.2 -1.2 0 -10Z'/%3E%3C/defs%3E%3Cuse href='%23s' transform='translate(243 285) scale(1.5)'/%3E%3Cuse href='%23s' transform='translate(34 188) scale(0.5)'/%3E%3Cuse href='%23s' transform='translate(155 330) scale(1)'/%3E%3Cuse href='%23s' transform='translate(281 168) scale(0.5)'/%3E%3Cuse href='%23s' transform='translate(347 294) scale(0.5)'/%3E%3Cuse href='%23s' transform='translate(292 49) scale(1.5)'/%3E%3Cuse href='%23s' transform='translate(366 26) scale(0.5)'/%3E%3Cuse href='%23s' transform='translate(129 151) scale(0.5)'/%3E%3Cuse href='%23s' transform='translate(353 117) scale(0.7)'/%3E%3Cuse href='%23s' transform='translate(130 236) scale(0.35)'/%3E%3Cuse href='%23s' transform='translate(30 301) scale(0.7)'/%3E%3Cuse href='%23s' transform='translate(40 88) scale(0.5)'/%3E%3Cuse href='%23s' transform='translate(368 361) scale(1.5)'/%3E%3Cuse href='%23s' transform='translate(74 369) scale(0.5)'/%3E%3Cuse href='%23s' transform='translate(124 52) scale(1)'/%3E%3Cg opacity='.6'%3E%3Ccircle cx='73' cy='309' r='1.3'/%3E%3Ccircle cx='206' cy='369' r='1'/%3E%3Ccircle cx='17' cy='68' r='1'/%3E%3Ccircle cx='248' cy='76' r='1.3'/%3E%3Ccircle cx='76' cy='285' r='1'/%3E%3Ccircle cx='386' cy='70' r='0.7'/%3E%3Ccircle cx='193' cy='219' r='1'/%3E%3Ccircle cx='187' cy='154' r='1.3'/%3E%3Ccircle cx='142' cy='375' r='1'/%3E%3Ccircle cx='218' cy='380' r='1.3'/%3E%3Ccircle cx='244' cy='43' r='1.3'/%3E%3Ccircle cx='205' cy='375' r='1'/%3E%3Ccircle cx='378' cy='324' r='1'/%3E%3Ccircle cx='165' cy='225' r='1.3'/%3E%3Ccircle cx='237' cy='225' r='0.7'/%3E%3Ccircle cx='382' cy='242' r='1'/%3E%3Ccircle cx='325' cy='263' r='1'/%3E%3Ccircle cx='48' cy='226' r='1.3'/%3E%3Ccircle cx='215' cy='132' r='1.3'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-size: 400px 400px;
  mask-size: 400px 400px;
}
.tex-05::after {
  --k: 1.3;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' width='400' height='400'%3E%3Cdefs%3E%3Cpath id='s' d='M0 -10Q1.2 -1.2 10 0Q1.2 1.2 0 10Q-1.2 1.2 -10 0Q-1.2 -1.2 0 -10Z'/%3E%3C/defs%3E%3Cuse href='%23s' transform='translate(243 285) scale(1.5)'/%3E%3Cuse href='%23s' transform='translate(34 188) scale(0.5)'/%3E%3Cuse href='%23s' transform='translate(155 330) scale(1)'/%3E%3Cuse href='%23s' transform='translate(281 168) scale(0.5)'/%3E%3Cuse href='%23s' transform='translate(347 294) scale(0.5)'/%3E%3Cuse href='%23s' transform='translate(292 49) scale(1.5)'/%3E%3Cuse href='%23s' transform='translate(366 26) scale(0.5)'/%3E%3Cuse href='%23s' transform='translate(129 151) scale(0.5)'/%3E%3Cuse href='%23s' transform='translate(353 117) scale(0.7)'/%3E%3Cuse href='%23s' transform='translate(130 236) scale(0.35)'/%3E%3Cuse href='%23s' transform='translate(30 301) scale(0.7)'/%3E%3Cuse href='%23s' transform='translate(40 88) scale(0.5)'/%3E%3Cuse href='%23s' transform='translate(368 361) scale(1.5)'/%3E%3Cuse href='%23s' transform='translate(74 369) scale(0.5)'/%3E%3Cuse href='%23s' transform='translate(124 52) scale(1)'/%3E%3Cg opacity='.6'%3E%3Ccircle cx='73' cy='309' r='1.3'/%3E%3Ccircle cx='206' cy='369' r='1'/%3E%3Ccircle cx='17' cy='68' r='1'/%3E%3Ccircle cx='248' cy='76' r='1.3'/%3E%3Ccircle cx='76' cy='285' r='1'/%3E%3Ccircle cx='386' cy='70' r='0.7'/%3E%3Ccircle cx='193' cy='219' r='1'/%3E%3Ccircle cx='187' cy='154' r='1.3'/%3E%3Ccircle cx='142' cy='375' r='1'/%3E%3Ccircle cx='218' cy='380' r='1.3'/%3E%3Ccircle cx='244' cy='43' r='1.3'/%3E%3Ccircle cx='205' cy='375' r='1'/%3E%3Ccircle cx='378' cy='324' r='1'/%3E%3Ccircle cx='165' cy='225' r='1.3'/%3E%3Ccircle cx='237' cy='225' r='0.7'/%3E%3Ccircle cx='382' cy='242' r='1'/%3E%3Ccircle cx='325' cy='263' r='1'/%3E%3Ccircle cx='48' cy='226' r='1.3'/%3E%3Ccircle cx='215' cy='132' r='1.3'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' width='400' height='400'%3E%3Cdefs%3E%3Cpath id='s' d='M0 -10Q1.2 -1.2 10 0Q1.2 1.2 0 10Q-1.2 1.2 -10 0Q-1.2 -1.2 0 -10Z'/%3E%3C/defs%3E%3Cuse href='%23s' transform='translate(243 285) scale(1.5)'/%3E%3Cuse href='%23s' transform='translate(34 188) scale(0.5)'/%3E%3Cuse href='%23s' transform='translate(155 330) scale(1)'/%3E%3Cuse href='%23s' transform='translate(281 168) scale(0.5)'/%3E%3Cuse href='%23s' transform='translate(347 294) scale(0.5)'/%3E%3Cuse href='%23s' transform='translate(292 49) scale(1.5)'/%3E%3Cuse href='%23s' transform='translate(366 26) scale(0.5)'/%3E%3Cuse href='%23s' transform='translate(129 151) scale(0.5)'/%3E%3Cuse href='%23s' transform='translate(353 117) scale(0.7)'/%3E%3Cuse href='%23s' transform='translate(130 236) scale(0.35)'/%3E%3Cuse href='%23s' transform='translate(30 301) scale(0.7)'/%3E%3Cuse href='%23s' transform='translate(40 88) scale(0.5)'/%3E%3Cuse href='%23s' transform='translate(368 361) scale(1.5)'/%3E%3Cuse href='%23s' transform='translate(74 369) scale(0.5)'/%3E%3Cuse href='%23s' transform='translate(124 52) scale(1)'/%3E%3Cg opacity='.6'%3E%3Ccircle cx='73' cy='309' r='1.3'/%3E%3Ccircle cx='206' cy='369' r='1'/%3E%3Ccircle cx='17' cy='68' r='1'/%3E%3Ccircle cx='248' cy='76' r='1.3'/%3E%3Ccircle cx='76' cy='285' r='1'/%3E%3Ccircle cx='386' cy='70' r='0.7'/%3E%3Ccircle cx='193' cy='219' r='1'/%3E%3Ccircle cx='187' cy='154' r='1.3'/%3E%3Ccircle cx='142' cy='375' r='1'/%3E%3Ccircle cx='218' cy='380' r='1.3'/%3E%3Ccircle cx='244' cy='43' r='1.3'/%3E%3Ccircle cx='205' cy='375' r='1'/%3E%3Ccircle cx='378' cy='324' r='1'/%3E%3Ccircle cx='165' cy='225' r='1.3'/%3E%3Ccircle cx='237' cy='225' r='0.7'/%3E%3Ccircle cx='382' cy='242' r='1'/%3E%3Ccircle cx='325' cy='263' r='1'/%3E%3Ccircle cx='48' cy='226' r='1.3'/%3E%3Ccircle cx='215' cy='132' r='1.3'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-size: 260px 260px;
  mask-size: 260px 260px;
  -webkit-mask-position: 90px 130px;
  mask-position: 90px 130px;
}

/* 06 Spell Trails: tilted wand-stroke waves, dotted and dashed, with stars */
.tex-06 { --g1: 0% 50%; --g2: 100% 50%; }
.tex-06::before {
  --k: 1.5;
  inset: -35%;
  transform: rotate(-14deg);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 240' width='400' height='240'%3E%3Cdefs%3E%3Cpath id='w' d='M0 60C100 0 100 120 200 60S300 120 400 60' pathLength='420' fill='none'/%3E%3Cpath id='s' d='M0 -9Q1 -1 9 0Q1 1 0 9Q-1 1 -9 0Q-1 -1 0 -9Z'/%3E%3C/defs%3E%3Cg fill='none' stroke='black' stroke-linecap='round'%3E%3Cuse href='%23w' y='10' stroke-width='.9'/%3E%3Cuse href='%23w' y='95' stroke-width='2.2' stroke-dasharray='0 6'/%3E%3Cuse href='%23w' y='170' stroke-width='1.3' stroke-dasharray='18 6 1 6'/%3E%3Cuse href='%23w' y='45' stroke-width='1.2' stroke-dasharray='0 10' opacity='.7'/%3E%3C/g%3E%3Cuse href='%23s' transform='translate(300 110) scale(.9)'/%3E%3Cuse href='%23s' transform='translate(105 40) scale(.6)'/%3E%3Cuse href='%23s' transform='translate(30 150) scale(.45)'/%3E%3Cuse href='%23s' transform='translate(250 235) scale(.55)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 240' width='400' height='240'%3E%3Cdefs%3E%3Cpath id='w' d='M0 60C100 0 100 120 200 60S300 120 400 60' pathLength='420' fill='none'/%3E%3Cpath id='s' d='M0 -9Q1 -1 9 0Q1 1 0 9Q-1 1 -9 0Q-1 -1 0 -9Z'/%3E%3C/defs%3E%3Cg fill='none' stroke='black' stroke-linecap='round'%3E%3Cuse href='%23w' y='10' stroke-width='.9'/%3E%3Cuse href='%23w' y='95' stroke-width='2.2' stroke-dasharray='0 6'/%3E%3Cuse href='%23w' y='170' stroke-width='1.3' stroke-dasharray='18 6 1 6'/%3E%3Cuse href='%23w' y='45' stroke-width='1.2' stroke-dasharray='0 10' opacity='.7'/%3E%3C/g%3E%3Cuse href='%23s' transform='translate(300 110) scale(.9)'/%3E%3Cuse href='%23s' transform='translate(105 40) scale(.6)'/%3E%3Cuse href='%23s' transform='translate(30 150) scale(.45)'/%3E%3Cuse href='%23s' transform='translate(250 235) scale(.55)'/%3E%3C/svg%3E");
  -webkit-mask-size: 400px 240px;
  mask-size: 400px 240px;
}

/* 07 Pointer Field: cursors, click ripples, d-pads and button clusters */
.tex-07::before {
  --k: 1.4;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300' width='300' height='300'%3E%3Cdefs%3E%3Cpath id='c' d='M0 0V17L4.5 13L7.5 20L10 19L7 12H13Z' fill='none' stroke='black' stroke-width='1' stroke-linejoin='round'/%3E%3Cpath id='d' d='M-3 -9H3V-3H9V3H3V9H-3V3H-9V-3H-3Z' fill='none' stroke='black' stroke-width='1' stroke-linejoin='round'/%3E%3Cg id='r' fill='none' stroke='black' stroke-width='.9'%3E%3Ccircle r='4'/%3E%3Ccircle r='10' opacity='.6'/%3E%3Ccircle r='18' opacity='.3'/%3E%3C/g%3E%3Cg id='b' fill='none' stroke='black' stroke-width='1'%3E%3Ccircle cy='-8' r='3.2'/%3E%3Ccircle cy='8' r='3.2'/%3E%3Ccircle cx='-8' r='3.2'/%3E%3Ccircle cx='8' r='3.2'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23c' transform='translate(30 40) rotate(-10) scale(1)'/%3E%3Cuse href='%23c' transform='translate(140 30) rotate(12) scale(0.8)'/%3E%3Cuse href='%23c' transform='translate(230 90) rotate(-25) scale(1.15)'/%3E%3Cuse href='%23c' transform='translate(70 150) rotate(8) scale(0.9)'/%3E%3Cuse href='%23r' transform='translate(190 170) rotate(0) scale(1)'/%3E%3Cuse href='%23d' transform='translate(270 250) rotate(0) scale(1)'/%3E%3Cuse href='%23c' transform='translate(120 240) rotate(18) scale(1)'/%3E%3Cuse href='%23b' transform='translate(40 260) rotate(0) scale(1)'/%3E%3Cuse href='%23c' transform='translate(250 190) rotate(-5) scale(0.7)'/%3E%3Cuse href='%23r' transform='translate(60 95) rotate(0) scale(0.6)'/%3E%3Cuse href='%23d' transform='translate(210 25) rotate(0) scale(0.7)'/%3E%3Cuse href='%23c' transform='translate(285 20) rotate(25) scale(0.6)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300' width='300' height='300'%3E%3Cdefs%3E%3Cpath id='c' d='M0 0V17L4.5 13L7.5 20L10 19L7 12H13Z' fill='none' stroke='black' stroke-width='1' stroke-linejoin='round'/%3E%3Cpath id='d' d='M-3 -9H3V-3H9V3H3V9H-3V3H-9V-3H-3Z' fill='none' stroke='black' stroke-width='1' stroke-linejoin='round'/%3E%3Cg id='r' fill='none' stroke='black' stroke-width='.9'%3E%3Ccircle r='4'/%3E%3Ccircle r='10' opacity='.6'/%3E%3Ccircle r='18' opacity='.3'/%3E%3C/g%3E%3Cg id='b' fill='none' stroke='black' stroke-width='1'%3E%3Ccircle cy='-8' r='3.2'/%3E%3Ccircle cy='8' r='3.2'/%3E%3Ccircle cx='-8' r='3.2'/%3E%3Ccircle cx='8' r='3.2'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23c' transform='translate(30 40) rotate(-10) scale(1)'/%3E%3Cuse href='%23c' transform='translate(140 30) rotate(12) scale(0.8)'/%3E%3Cuse href='%23c' transform='translate(230 90) rotate(-25) scale(1.15)'/%3E%3Cuse href='%23c' transform='translate(70 150) rotate(8) scale(0.9)'/%3E%3Cuse href='%23r' transform='translate(190 170) rotate(0) scale(1)'/%3E%3Cuse href='%23d' transform='translate(270 250) rotate(0) scale(1)'/%3E%3Cuse href='%23c' transform='translate(120 240) rotate(18) scale(1)'/%3E%3Cuse href='%23b' transform='translate(40 260) rotate(0) scale(1)'/%3E%3Cuse href='%23c' transform='translate(250 190) rotate(-5) scale(0.7)'/%3E%3Cuse href='%23r' transform='translate(60 95) rotate(0) scale(0.6)'/%3E%3Cuse href='%23d' transform='translate(210 25) rotate(0) scale(0.7)'/%3E%3Cuse href='%23c' transform='translate(285 20) rotate(25) scale(0.6)'/%3E%3C/svg%3E");
  -webkit-mask-size: 300px 300px;
  mask-size: 300px 300px;
}

/* 08 Keycap Rows: staggered keyboard rows, two keys lit */
.tex-08 { --g1: 50% 0%; --g2: 50% 100%; }
.tex-08::before {
  --k: 1;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 120' width='240' height='120'%3E%3Cg fill='none' stroke='black' stroke-width='.9'%3E%3Crect x='1' y='2' width='18' height='16' rx='3'/%3E%3Crect x='21' y='2' width='18' height='16' rx='3'/%3E%3Crect x='41' y='2' width='18' height='16' rx='3'/%3E%3Crect x='61' y='2' width='18' height='16' rx='3'/%3E%3Crect x='81' y='2' width='18' height='16' rx='3'/%3E%3Crect x='101' y='2' width='18' height='16' rx='3'/%3E%3Crect x='121' y='2' width='18' height='16' rx='3'/%3E%3Crect x='141' y='2' width='18' height='16' rx='3'/%3E%3Crect x='161' y='2' width='18' height='16' rx='3'/%3E%3Crect x='181' y='2' width='18' height='16' rx='3'/%3E%3Crect x='201' y='2' width='18' height='16' rx='3'/%3E%3Crect x='221' y='2' width='18' height='16' rx='3'/%3E%3Crect x='11' y='22' width='18' height='16' rx='3'/%3E%3Crect x='31' y='22' width='18' height='16' rx='3'/%3E%3Crect x='51' y='22' width='18' height='16' rx='3'/%3E%3Crect x='71' y='22' width='18' height='16' rx='3'/%3E%3Crect x='91' y='22' width='18' height='16' rx='3'/%3E%3Crect x='111' y='22' width='18' height='16' rx='3'/%3E%3Crect x='131' y='22' width='18' height='16' rx='3'/%3E%3Crect x='151' y='22' width='18' height='16' rx='3'/%3E%3Crect x='171' y='22' width='18' height='16' rx='3'/%3E%3Crect x='191' y='22' width='18' height='16' rx='3'/%3E%3Crect x='211' y='22' width='18' height='16' rx='3'/%3E%3Crect x='231' y='22' width='18' height='16' rx='3'/%3E%3Crect x='-9' y='22' width='18' height='16' rx='3'/%3E%3Crect x='1' y='42' width='58' height='16' rx='3'/%3E%3Crect x='61' y='42' width='18' height='16' rx='3'/%3E%3Crect x='81' y='42' width='18' height='16' rx='3'/%3E%3Crect x='101' y='42' width='18' height='16' rx='3'/%3E%3Crect x='121' y='42' width='18' height='16' rx='3'/%3E%3Crect x='141' y='42' width='18' height='16' rx='3'/%3E%3Crect x='161' y='42' width='18' height='16' rx='3'/%3E%3Crect x='181' y='42' width='18' height='16' rx='3'/%3E%3Crect x='201' y='42' width='18' height='16' rx='3'/%3E%3Crect x='221' y='42' width='18' height='16' rx='3'/%3E%3Crect x='1' y='62' width='18' height='16' rx='3'/%3E%3Crect x='21' y='62' width='18' height='16' rx='3'/%3E%3Crect x='41' y='62' width='18' height='16' rx='3'/%3E%3Crect x='61' y='62' width='118' height='16' rx='3'/%3E%3Crect x='181' y='62' width='18' height='16' rx='3'/%3E%3Crect x='201' y='62' width='18' height='16' rx='3'/%3E%3Crect x='221' y='62' width='18' height='16' rx='3'/%3E%3Crect x='11' y='82' width='18' height='16' rx='3'/%3E%3Crect x='31' y='82' width='18' height='16' rx='3'/%3E%3Crect x='51' y='82' width='18' height='16' rx='3'/%3E%3Crect x='71' y='82' width='18' height='16' rx='3'/%3E%3Crect x='91' y='82' width='18' height='16' rx='3'/%3E%3Crect x='111' y='82' width='18' height='16' rx='3'/%3E%3Crect x='131' y='82' width='18' height='16' rx='3'/%3E%3Crect x='151' y='82' width='18' height='16' rx='3'/%3E%3Crect x='171' y='82' width='18' height='16' rx='3'/%3E%3Crect x='191' y='82' width='18' height='16' rx='3'/%3E%3Crect x='211' y='82' width='18' height='16' rx='3'/%3E%3Crect x='231' y='82' width='18' height='16' rx='3'/%3E%3Crect x='-9' y='82' width='18' height='16' rx='3'/%3E%3Crect x='1' y='102' width='38' height='16' rx='3'/%3E%3Crect x='41' y='102' width='18' height='16' rx='3'/%3E%3Crect x='61' y='102' width='18' height='16' rx='3'/%3E%3Crect x='81' y='102' width='18' height='16' rx='3'/%3E%3Crect x='101' y='102' width='18' height='16' rx='3'/%3E%3Crect x='121' y='102' width='18' height='16' rx='3'/%3E%3Crect x='141' y='102' width='18' height='16' rx='3'/%3E%3Crect x='161' y='102' width='18' height='16' rx='3'/%3E%3Crect x='181' y='102' width='18' height='16' rx='3'/%3E%3Crect x='201' y='102' width='18' height='16' rx='3'/%3E%3Crect x='221' y='102' width='18' height='16' rx='3'/%3E%3C/g%3E%3Crect x='51' y='42' width='18' height='16' rx='3' opacity='.5'/%3E%3Crect x='171' y='102' width='18' height='16' rx='3' opacity='.5'/%3E%3Cpath d='M120 30V36M117 33H123' stroke='black' stroke-width='.9' fill='none'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 120' width='240' height='120'%3E%3Cg fill='none' stroke='black' stroke-width='.9'%3E%3Crect x='1' y='2' width='18' height='16' rx='3'/%3E%3Crect x='21' y='2' width='18' height='16' rx='3'/%3E%3Crect x='41' y='2' width='18' height='16' rx='3'/%3E%3Crect x='61' y='2' width='18' height='16' rx='3'/%3E%3Crect x='81' y='2' width='18' height='16' rx='3'/%3E%3Crect x='101' y='2' width='18' height='16' rx='3'/%3E%3Crect x='121' y='2' width='18' height='16' rx='3'/%3E%3Crect x='141' y='2' width='18' height='16' rx='3'/%3E%3Crect x='161' y='2' width='18' height='16' rx='3'/%3E%3Crect x='181' y='2' width='18' height='16' rx='3'/%3E%3Crect x='201' y='2' width='18' height='16' rx='3'/%3E%3Crect x='221' y='2' width='18' height='16' rx='3'/%3E%3Crect x='11' y='22' width='18' height='16' rx='3'/%3E%3Crect x='31' y='22' width='18' height='16' rx='3'/%3E%3Crect x='51' y='22' width='18' height='16' rx='3'/%3E%3Crect x='71' y='22' width='18' height='16' rx='3'/%3E%3Crect x='91' y='22' width='18' height='16' rx='3'/%3E%3Crect x='111' y='22' width='18' height='16' rx='3'/%3E%3Crect x='131' y='22' width='18' height='16' rx='3'/%3E%3Crect x='151' y='22' width='18' height='16' rx='3'/%3E%3Crect x='171' y='22' width='18' height='16' rx='3'/%3E%3Crect x='191' y='22' width='18' height='16' rx='3'/%3E%3Crect x='211' y='22' width='18' height='16' rx='3'/%3E%3Crect x='231' y='22' width='18' height='16' rx='3'/%3E%3Crect x='-9' y='22' width='18' height='16' rx='3'/%3E%3Crect x='1' y='42' width='58' height='16' rx='3'/%3E%3Crect x='61' y='42' width='18' height='16' rx='3'/%3E%3Crect x='81' y='42' width='18' height='16' rx='3'/%3E%3Crect x='101' y='42' width='18' height='16' rx='3'/%3E%3Crect x='121' y='42' width='18' height='16' rx='3'/%3E%3Crect x='141' y='42' width='18' height='16' rx='3'/%3E%3Crect x='161' y='42' width='18' height='16' rx='3'/%3E%3Crect x='181' y='42' width='18' height='16' rx='3'/%3E%3Crect x='201' y='42' width='18' height='16' rx='3'/%3E%3Crect x='221' y='42' width='18' height='16' rx='3'/%3E%3Crect x='1' y='62' width='18' height='16' rx='3'/%3E%3Crect x='21' y='62' width='18' height='16' rx='3'/%3E%3Crect x='41' y='62' width='18' height='16' rx='3'/%3E%3Crect x='61' y='62' width='118' height='16' rx='3'/%3E%3Crect x='181' y='62' width='18' height='16' rx='3'/%3E%3Crect x='201' y='62' width='18' height='16' rx='3'/%3E%3Crect x='221' y='62' width='18' height='16' rx='3'/%3E%3Crect x='11' y='82' width='18' height='16' rx='3'/%3E%3Crect x='31' y='82' width='18' height='16' rx='3'/%3E%3Crect x='51' y='82' width='18' height='16' rx='3'/%3E%3Crect x='71' y='82' width='18' height='16' rx='3'/%3E%3Crect x='91' y='82' width='18' height='16' rx='3'/%3E%3Crect x='111' y='82' width='18' height='16' rx='3'/%3E%3Crect x='131' y='82' width='18' height='16' rx='3'/%3E%3Crect x='151' y='82' width='18' height='16' rx='3'/%3E%3Crect x='171' y='82' width='18' height='16' rx='3'/%3E%3Crect x='191' y='82' width='18' height='16' rx='3'/%3E%3Crect x='211' y='82' width='18' height='16' rx='3'/%3E%3Crect x='231' y='82' width='18' height='16' rx='3'/%3E%3Crect x='-9' y='82' width='18' height='16' rx='3'/%3E%3Crect x='1' y='102' width='38' height='16' rx='3'/%3E%3Crect x='41' y='102' width='18' height='16' rx='3'/%3E%3Crect x='61' y='102' width='18' height='16' rx='3'/%3E%3Crect x='81' y='102' width='18' height='16' rx='3'/%3E%3Crect x='101' y='102' width='18' height='16' rx='3'/%3E%3Crect x='121' y='102' width='18' height='16' rx='3'/%3E%3Crect x='141' y='102' width='18' height='16' rx='3'/%3E%3Crect x='161' y='102' width='18' height='16' rx='3'/%3E%3Crect x='181' y='102' width='18' height='16' rx='3'/%3E%3Crect x='201' y='102' width='18' height='16' rx='3'/%3E%3Crect x='221' y='102' width='18' height='16' rx='3'/%3E%3C/g%3E%3Crect x='51' y='42' width='18' height='16' rx='3' opacity='.5'/%3E%3Crect x='171' y='102' width='18' height='16' rx='3' opacity='.5'/%3E%3Cpath d='M120 30V36M117 33H123' stroke='black' stroke-width='.9' fill='none'/%3E%3C/svg%3E");
  -webkit-mask-size: 300px 150px;
  mask-size: 300px 150px;
}

/* 09 Button Confetti: triangle, circle, square and cross face-button glyphs among small sparkles, drifting slowly */
.tex-09 { --g1: 50% 0%; --g2: 50% 100%; }
.tex-09::before {
  --k: 1.3;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240' width='240' height='240'%3E%3Cdefs%3E%3Cpath id='t' d='M0 -6L5.6 4H-5.6Z' fill='none' stroke='black' stroke-width='1.1' stroke-linejoin='round'/%3E%3Ccircle id='c' r='5' fill='none' stroke='black' stroke-width='1.1'/%3E%3Crect id='s' x='-4.5' y='-4.5' width='9' height='9' rx='1' fill='none' stroke='black' stroke-width='1.1'/%3E%3Cpath id='x' d='M-4.5 -4.5L4.5 4.5M4.5 -4.5L-4.5 4.5' fill='none' stroke='black' stroke-width='1.1' stroke-linecap='round'/%3E%3Cpath id='p' d='M0 -10Q1.2 -1.2 10 0Q1.2 1.2 0 10Q-1.2 1.2 -10 0Q-1.2 -1.2 0 -10Z'/%3E%3C/defs%3E%3Cuse href='%23p' transform='translate(62 50) scale(.45)'/%3E%3Cuse href='%23p' transform='translate(176 72) scale(.3)'/%3E%3Cuse href='%23p' transform='translate(58 128) scale(.35)'/%3E%3Cuse href='%23p' transform='translate(200 136) scale(.5)'/%3E%3Cuse href='%23p' transform='translate(84 192) scale(.3)'/%3E%3Cuse href='%23p' transform='translate(150 180) scale(.4)'/%3E%3Cuse href='%23t' transform='translate(28 30) rotate(10) scale(1.15)'/%3E%3Cuse href='%23c' transform='translate(92 18) rotate(18) scale(0.85)' opacity='.55'/%3E%3Cuse href='%23s' transform='translate(160 44) rotate(18) scale(1.15)'/%3E%3Cuse href='%23x' transform='translate(214 22) rotate(-12) scale(0.7)'/%3E%3Cuse href='%23c' transform='translate(56 88) rotate(-12) scale(0.7)'/%3E%3Cuse href='%23x' transform='translate(128 100) rotate(30) scale(0.7)'/%3E%3Cuse href='%23t' transform='translate(196 96) rotate(10) scale(1.15)'/%3E%3Cuse href='%23s' transform='translate(20 150) rotate(18) scale(0.85)'/%3E%3Cuse href='%23t' transform='translate(90 160) rotate(18) scale(0.7)' opacity='.55'/%3E%3Cuse href='%23s' transform='translate(150 138) rotate(-12) scale(0.85)'/%3E%3Cuse href='%23x' transform='translate(222 170) rotate(10) scale(1)'/%3E%3Cuse href='%23c' transform='translate(46 214) rotate(-12) scale(0.85)'/%3E%3Cuse href='%23t' transform='translate(118 222) rotate(10) scale(0.7)'/%3E%3Cuse href='%23c' transform='translate(184 210) rotate(10) scale(1)'/%3E%3C/svg%3E"), radial-gradient(ellipse 80% 75% at 50% 50%, rgb(0 0 0 / .25) 20%, #000 85%);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240' width='240' height='240'%3E%3Cdefs%3E%3Cpath id='t' d='M0 -6L5.6 4H-5.6Z' fill='none' stroke='black' stroke-width='1.1' stroke-linejoin='round'/%3E%3Ccircle id='c' r='5' fill='none' stroke='black' stroke-width='1.1'/%3E%3Crect id='s' x='-4.5' y='-4.5' width='9' height='9' rx='1' fill='none' stroke='black' stroke-width='1.1'/%3E%3Cpath id='x' d='M-4.5 -4.5L4.5 4.5M4.5 -4.5L-4.5 4.5' fill='none' stroke='black' stroke-width='1.1' stroke-linecap='round'/%3E%3Cpath id='p' d='M0 -10Q1.2 -1.2 10 0Q1.2 1.2 0 10Q-1.2 1.2 -10 0Q-1.2 -1.2 0 -10Z'/%3E%3C/defs%3E%3Cuse href='%23p' transform='translate(62 50) scale(.45)'/%3E%3Cuse href='%23p' transform='translate(176 72) scale(.3)'/%3E%3Cuse href='%23p' transform='translate(58 128) scale(.35)'/%3E%3Cuse href='%23p' transform='translate(200 136) scale(.5)'/%3E%3Cuse href='%23p' transform='translate(84 192) scale(.3)'/%3E%3Cuse href='%23p' transform='translate(150 180) scale(.4)'/%3E%3Cuse href='%23t' transform='translate(28 30) rotate(10) scale(1.15)'/%3E%3Cuse href='%23c' transform='translate(92 18) rotate(18) scale(0.85)' opacity='.55'/%3E%3Cuse href='%23s' transform='translate(160 44) rotate(18) scale(1.15)'/%3E%3Cuse href='%23x' transform='translate(214 22) rotate(-12) scale(0.7)'/%3E%3Cuse href='%23c' transform='translate(56 88) rotate(-12) scale(0.7)'/%3E%3Cuse href='%23x' transform='translate(128 100) rotate(30) scale(0.7)'/%3E%3Cuse href='%23t' transform='translate(196 96) rotate(10) scale(1.15)'/%3E%3Cuse href='%23s' transform='translate(20 150) rotate(18) scale(0.85)'/%3E%3Cuse href='%23t' transform='translate(90 160) rotate(18) scale(0.7)' opacity='.55'/%3E%3Cuse href='%23s' transform='translate(150 138) rotate(-12) scale(0.85)'/%3E%3Cuse href='%23x' transform='translate(222 170) rotate(10) scale(1)'/%3E%3Cuse href='%23c' transform='translate(46 214) rotate(-12) scale(0.85)'/%3E%3Cuse href='%23t' transform='translate(118 222) rotate(10) scale(0.7)'/%3E%3Cuse href='%23c' transform='translate(184 210) rotate(10) scale(1)'/%3E%3C/svg%3E"), radial-gradient(ellipse 80% 75% at 50% 50%, rgb(0 0 0 / .25) 20%, #000 85%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  -webkit-mask-size: 240px 240px, 100% 100%;
  mask-size: 240px 240px, 100% 100%;
  -webkit-mask-repeat: repeat, no-repeat;
  mask-repeat: repeat, no-repeat;
}

/* 10 Arcane Haze: fractal-noise mist plus fine stardust grain (feTurbulence masks) */
.tex-10 { --g1: 30% 20%; --g2: 75% 85%; }
.tex-10::before {
  --k: .8;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0045 .006' numOctaves='4' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  1.5 0 0 0 -.42'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160' width='160' height='160'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='1' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  9 0 0 0 -5.6'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0045 .006' numOctaves='4' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  1.5 0 0 0 -.42'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160' width='160' height='160'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='1' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  9 0 0 0 -5.6'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-mask-size: 512px 512px, 160px 160px;
  mask-size: 512px 512px, 160px 160px;
}

/* 11 Swipe Paths: faint gesture diagrams (one-finger arc, two-finger slide, pinch), for the trackpad section */
.tex-11 { --g1: 10% 0%; --g2: 90% 100%; }
.tex-11::before {
  --k: 0.9;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 380' width='560' height='380'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M40 300C110 250 150 170 250 160'/%3E%3Ccircle cx='40' cy='300' r='8'/%3E%3Cpath d='M330 70c40 30 110 34 170 6' stroke-dasharray='2 7'/%3E%3Ccircle cx='330' cy='70' r='8'/%3E%3Cpath d='M360 250c30-40 30-90 0-130'/%3E%3Cpath d='M384 250c30-40 30-90 0-130'/%3E%3Ccircle cx='360' cy='250' r='7'/%3E%3Ccircle cx='384' cy='250' r='7'/%3E%3Cpath d='M120 60l-34 34M150 90l34-34' /%3E%3Ccircle cx='135' cy='75' r='26' stroke-dasharray='3 6'/%3E%3C/g%3E%3Cg fill='%23000'%3E%3Ccircle cx='250' cy='160' r='5'/%3E%3Ccircle cx='500' cy='76' r='5'/%3E%3Ccircle cx='360' cy='120' r='4.5'/%3E%3Ccircle cx='384' cy='120' r='4.5'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 380' width='560' height='380'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M40 300C110 250 150 170 250 160'/%3E%3Ccircle cx='40' cy='300' r='8'/%3E%3Cpath d='M330 70c40 30 110 34 170 6' stroke-dasharray='2 7'/%3E%3Ccircle cx='330' cy='70' r='8'/%3E%3Cpath d='M360 250c30-40 30-90 0-130'/%3E%3Cpath d='M384 250c30-40 30-90 0-130'/%3E%3Ccircle cx='360' cy='250' r='7'/%3E%3Ccircle cx='384' cy='250' r='7'/%3E%3Cpath d='M120 60l-34 34M150 90l34-34' /%3E%3Ccircle cx='135' cy='75' r='26' stroke-dasharray='3 6'/%3E%3C/g%3E%3Cg fill='%23000'%3E%3Ccircle cx='250' cy='160' r='5'/%3E%3Ccircle cx='500' cy='76' r='5'/%3E%3Ccircle cx='360' cy='120' r='4.5'/%3E%3Ccircle cx='384' cy='120' r='4.5'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-size: 560px 380px;
  mask-size: 560px 380px;
}

/* 12 Studio Light: a soft overhead spotlight on a fine dot grid that fades out, like a product-photo backdrop */
.tex-12 { --g1: 50% -10%; --g2: 50% 120%; }
.tex-12::before {
  --k: 1.6;
  background: radial-gradient(circle, var(--tex-mark) 0 1px, transparent 1.3px) 0 0 / 20px 20px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%);
}

/* Motion: only 01, 05 and 09, and only when the user has no reduced-motion preference */
@media (prefers-reduced-motion: no-preference) {
  .tex-01::before { animation: tex-breathe 48s ease-in-out infinite alternate; }
  .tex-05::before { animation: tex-twinkle 9s ease-in-out infinite alternate; }
  .tex-05::after  { animation: tex-twinkle 13s ease-in-out -5s infinite alternate; }
  .tex-09::before { animation: tex-fall 70s linear infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .tex-01::before, .tex-05::before, .tex-05::after, .tex-09::before { animation: none; }
}
@keyframes tex-breathe { from { transform: scale(1); } to { transform: scale(1.1); } }
@keyframes tex-twinkle { from { opacity: calc(var(--tex-alpha) * var(--k, 1) * .35); } to { opacity: calc(var(--tex-alpha) * var(--k, 1)); } }
@keyframes tex-fall {
  from { -webkit-mask-position: 0 0, 0 0; mask-position: 0 0, 0 0; }
  to   { -webkit-mask-position: 0 240px, 0 0; mask-position: 0 240px, 0 0; }
}
