/* ==========================================================================
   Custom cursor — punto + anillo ámbar (solo desktop con puntero fino)
   ========================================================================== */

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 300;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--luz);
  transition: opacity var(--dur-fast) var(--ease-out);
}

.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1px solid var(--luz);
  transition: width var(--dur-fast) var(--ease-out), height var(--dur-fast) var(--ease-out),
    opacity var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cursor-ring__label {
  opacity: 0;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--luz);
  transition: opacity var(--dur-fast) var(--ease-out);
}

body.has-custom-cursor,
body.has-custom-cursor a,
body.has-custom-cursor button {
  cursor: none;
}

.cursor-ring.is-project {
  width: 64px;
  height: 64px;
  background: rgba(232, 162, 61, 0.08);
}

.cursor-ring.is-project .cursor-ring__label {
  opacity: 1;
}

.cursor-dot.is-hidden,
.cursor-ring.is-hidden {
  opacity: 0;
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}
