/* =============================================================================
   Blackrock Drill & Blast · css/sections/blast-anim.css · Process A step 03: the looping blast (svg.blast)
   A dark plate (--plate: --ink-0, one step below the --ink-1 band so it reads as an inset screen, and the same tone as
   the frame's top/bottom overlay so that overlay does not band) carrying the site's line drawing: bone hairlines, amber
   only for the primers, their pulses and the delays. The svg fills its box like the photos (absolute, preserveAspectRatio slice): the 4:5 desktop frame
   crops the sides, the 4:3 phone figure crops top and bottom. js/sections/blast-anim.js sets --u (1 / slice scale) and
   --k (1 on phones, up to 1.2 on the large desktop plate), so strokes, dashes and labels keep one pixel size in both
   boxes; without JS both stay 1 and the plate still reads.
   Nothing is hidden here: the markup's resting state is the loaded bench, the JS hides and reveals.
   ============================================================================= */

/* the sticky frame's third slide, cross-faded like the photos by js/sections/process.js (setStep) */
.process-a__anim { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .8s ease, transform 1.6s cubic-bezier(.16, .84, .24, 1); }
.process-a__anim.is-active { opacity: 1; transform: none; }

.blast { --u: 1; --k: 1; --px: calc(var(--u) * var(--k) * 1px); --plate: var(--ink-0);
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; color: var(--bone); background: var(--plate); }
.blast path, .blast rect, .blast polygon, .blast circle { fill: none; stroke: currentColor; stroke-width: calc(var(--px) * 1.2); stroke-linecap: butt; stroke-linejoin: miter; }

/* ground and bench */
.blast .ba-line, .blast .ba-intact path { stroke-opacity: .9; }
.blast .ba-grade { stroke-width: var(--px); stroke-opacity: .4; stroke-dasharray: 12 4 2 4;
  stroke-dasharray: calc(var(--px) * 12) calc(var(--px) * 4) calc(var(--px) * 2) calc(var(--px) * 4); }
.blast .ba-ghost { stroke-width: var(--px); stroke-opacity: .5; stroke-dasharray: 3 4;
  stroke-dasharray: calc(var(--px) * 3) calc(var(--px) * 4); }

/* holes: slot, charge column, primer + its pulse */
.blast .ba-slot { stroke-width: var(--px); stroke-opacity: .8; }
.blast .ba-charge { fill: currentColor; fill-opacity: .2; stroke: none; }
.blast .ba-primer { fill: var(--accent); stroke: none; }
.blast .ba-pulse { stroke: var(--accent); }

/* the blast: rock pieces (filled with the plate so they hide what they cross), muck pile, new face, dust */
.blast .ba-frag { fill: var(--plate); stroke-opacity: .85; stroke-width: calc(var(--px) * 1.1); }
.blast .ba-muck { stroke-width: calc(var(--px) * 1.4); stroke-linejoin: round; }
.blast .ba-dust path { stroke-width: calc(var(--px) * 2); stroke-linecap: round; stroke-dasharray: .1 5;
  stroke-dasharray: .1 calc(var(--px) * 5.5); }

/* the PPV strip: a faint dotted axis, the trace revealed left to right in step with the shots */
.blast .ba-seis-base { stroke-width: calc(var(--px) * 1.5); stroke-linecap: round; stroke-opacity: .28; stroke-dasharray: .1 4;
  stroke-dasharray: .1 calc(var(--px) * 4); }
.blast .ba-seis { stroke-width: var(--px); stroke-opacity: .75; stroke-linejoin: round; }

/* labels: mono, the delays in amber; a plate-coloured halo keeps them clear of the lines */
.blast text { font-family: var(--mono); font-weight: 500; font-size: calc(var(--px) * 11); letter-spacing: .08em; font-variant-numeric: tabular-nums;
  fill: var(--muted); stroke: var(--plate); stroke-width: calc(var(--px) * 4); stroke-linejoin: round; paint-order: stroke fill; }
.blast .ba-delay { fill: var(--accent); font-size: calc(var(--px) * 11.5); letter-spacing: .02em; }
