/* ==========================================================================
   FOCUS CURSOR (2026-11-19) — all public pages (not briefing / review / payment)
   Autofocus reticle: the dot IS the pointer (no lag), the bracket frame eases
   after it, locks green onto links/buttons and names gestures over media.
   Only with a real mouse (hover + fine pointer), never with reduced motion.
   Form fields and the scrollbar keep the normal system cursor.
   Revert: remove css/cursor.css + js/cursor.js from the pages
   (backup without it: _backup/pre-cursor-20261119/).
   ========================================================================== */

/* hide the system cursor only on the page content — not on <html>, so the
   window scrollbar keeps its normal arrow */
html.has-af body, html.has-af body * { cursor: none !important; }
html.has-af body input, html.has-af body textarea, html.has-af body select,
html.has-af body [contenteditable="true"] { cursor: text !important; }
html.has-af body input[type="checkbox"], html.has-af body input[type="radio"],
html.has-af body input[type="submit"], html.has-af body select { cursor: pointer !important; }

/* the arriving aperture veil sits on <html> (outside body) — no arrow there either */
html.has-af .ap-veil { cursor: none !important; }

.af {
  visibility: visible; /* stays visible while aperture.js holds the body hidden */
  position: fixed; left: 0; top: 0; z-index: 2147483000; pointer-events: none;
  width: 0; height: 0; opacity: 0; transition: opacity 0.25s ease;
}
.af.is-on { opacity: 1; }
.af-dot {
  position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%;
  background: #fff; mix-blend-mode: difference; will-change: transform;
}
.af-box { position: absolute; left: 0; top: 0; width: 34px; height: 34px; will-change: transform; }
.af-box i { position: absolute; width: 9px; height: 9px; border: 0 solid rgba(242, 238, 250, 0.85); transition: border-color 0.2s ease; }
.af-box i:nth-child(1) { left: 0; top: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.af-box i:nth-child(2) { right: 0; top: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.af-box i:nth-child(3) { left: 0; bottom: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.af-box i:nth-child(4) { right: 0; bottom: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.af.is-lock .af-box i { border-color: #4ADE80; }
.af-label {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: #4ADE80; opacity: 0; transition: opacity 0.2s ease;
}
.af.has-label .af-label { opacity: 1; }

/* light magnet: only the button's LABEL drifts a few px (the button itself
   never moves → no conflict with pinned / animated sections) */
.mag-in { display: inline-block; transition: translate 0.45s cubic-bezier(0.2, 0.8, 0.3, 1); }
.mag-in.is-mag { transition: translate 0.15s ease-out; }
