/* Custom cursor (see assets/js/fx/cursor.js) */
.cursor { position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.is-visible { opacity: 1; }
.cursor__ring, .cursor__dot { position: absolute; left: 0; top: 0; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--accent); transition: opacity .2s; }
.cursor__ring::before { content: ""; position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--accent); opacity: .5; transition: transform .35s var(--ease), background-color .35s, opacity .35s, border-color .35s; }
.cursor__label { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(.6); font-family: var(--font-head); font-weight: 900; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .25s, transform .35s var(--ease); white-space: nowrap; }

.cursor.is-link .cursor__ring::before { transform: scale(1.5); opacity: .35; background: rgba(244, 98, 78, .08); }
.cursor.is-card .cursor__ring::before { transform: scale(2.6); opacity: 1; background: var(--accent); border-color: var(--accent); }
.cursor.is-card .cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cursor.is-card .cursor__dot, .cursor.is-field .cursor__dot { opacity: 0; }
.cursor.is-field .cursor__ring::before { transform: scale(.4); opacity: 0; }
.cursor.is-pressed .cursor__ring::before { transform: scale(.8); }
.cursor.is-card.is-pressed .cursor__ring::before { transform: scale(2.3); }

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) { .cursor { display: none; } }
