/* =========================================================
   Centrix Cursor Trail
   Premium cursor-following curved line — global, desktop only.
   Behaviour: assets/js/cursor-trail.js
   ========================================================= */

/* Fixed, full-viewport, out of normal flow entirely — cannot shift layout
   or affect scroll performance. z-index sits above ordinary background
   content but below the fixed nav (z-50) and mobile menu (z-60), and the
   line itself is drawn thin/low-alpha so an incidental overlap with body
   text elsewhere in the page never reads as an obstruction.
   pointer-events: none is the actual guarantee against blocking clicks,
   links, buttons or carousel controls — every element below still gets
   every pointer event as if this canvas were not here. */
#cx-cursor-trail {
    position: fixed;
    inset: 0;
    z-index: 6;
    pointer-events: none;
}

/* Belt-and-braces alongside the same checks in cursor-trail.js: the canvas
   element is only ever created when JS confirms a fine-pointer desktop
   input and no reduced-motion preference, but if either changes after
   load (e.g. a device switches input mode) this keeps it hidden too. */
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
    #cx-cursor-trail {
        display: none !important;
    }
}
