/**
 * Site chrome with local asset urls — enqueued STANDALONE (not bundled via
 * postcss, which mis-rebases relative url()). Lives in assets/css/, so
 * url('../images/…') → assets/images/.
 *
 * Static film grain — replaces the per-frame <canvas> Math.random() loop
 * (~8fps full-viewport ImageData) with a single tiled noise PNG at opacity
 * 0.04. Zero main-thread cost, zero recomposition.
 * The 256×256 tile is pure uniform-grayscale noise (mean≈127 std≈73, matching
 * the old Math.random()*255), so it tiles seamlessly (no low-freq pattern; a
 * 512px tile would be ~260KB incompressible — defeats the perf goal, and at
 * 0.04 a 256px period is imperceptible). This is a STILL-FRAME parity of the
 * old grain: same noise distribution + same opacity; the only change is the
 * 8fps shimmer is gone — intentional, and imperceptible at opacity 0.04.
 */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url('../images/grain.png');
    background-repeat: repeat;
}

/* No prefers-reduced-motion guard needed: the grain is now fully static (the
   animated canvas was the motion). Hiding a static decorative texture would
   only create a needless visual difference for reduced-motion users, so the
   grain renders identically for everyone. */
