/* Shared custom cursor — ring inverts; hover keeps the filled label. */

#custom-cursor {
    width: 20px;
    height: 20px;
    border: 1.5px solid #fff;
    border-radius: 50%;
    position: fixed;
    left: 0;
    top: 0;
    pointer-events: none;
    z-index: 10050;
    transition: width 0.18s ease, height 0.18s ease, background 0.18s ease, border-color 0.18s ease;
    transform: translate(-50%, -50%);
    will-change: transform;
    display: none;
    align-items: center;
    justify-content: center;
    background: transparent;
    mix-blend-mode: difference;
}
#custom-cursor .cursor-text {
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: none;
    color: #fff;
    white-space: nowrap;
    transition: color 0.18s ease;
}

@media (min-width: 768px) {
    html.cs-has-cursor #custom-cursor { display: flex; }
    html.cs-has-cursor,
    html.cs-has-cursor * { cursor: none !important; }
    html.cs-has-cursor input,
    html.cs-has-cursor textarea,
    html.cs-has-cursor select { cursor: text !important; }

    /* Previous hover: filled 80px disc + label */
    html.cs-has-cursor body.cursor-hover #custom-cursor {
        mix-blend-mode: normal;
        width: 80px;
        height: 80px;
        background: rgba(0, 0, 0, 0.9);
        border-color: transparent;
    }
    html.cs-has-cursor body.cursor-hover #custom-cursor .cursor-text {
        display: block;
        color: #fff;
    }

    /* Hover on dark: light fill, dark label */
    html.cs-has-cursor body.cursor-on-dark.cursor-hover #custom-cursor {
        background: rgba(255, 255, 255, 0.95);
    }
    html.cs-has-cursor body.cursor-on-dark.cursor-hover #custom-cursor .cursor-text {
        color: #111;
    }
}

@media (max-width: 767px) {
    #custom-cursor { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    #custom-cursor { transition-duration: 0.01ms !important; }
}
