/* Blush cursor: an ink dot with a soft blush that trails behind it (mouse and trackpad only) */
body.has-blush-cursor,
body.has-blush-cursor a,
body.has-blush-cursor button,
body.has-blush-cursor .work-item {
  cursor: none;
}

body.has-blush-cursor input,
body.has-blush-cursor textarea {
  cursor: text;
}

.cursor-dot,
.cursor-blush,
.blush-speck {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
}

.cursor-dot {
  z-index: 2002;
  width: 7px;
  height: 7px;
  background-color: var(--ink);
  transform: translate(-100px, -100px);
  opacity: 0;
}

.cursor-blush {
  z-index: 2001;
  width: 46px;
  height: 46px;
  background: radial-gradient(circle,
    rgba(var(--blush-strong-rgb), 0.55) 0%,
    rgba(var(--blush-strong-rgb), 0.25) 45%,
    transparent 70%);
  transform: translate(-100px, -100px);
  opacity: 0;
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

.cursor-blush.is-hovering {
  width: 72px;
  height: 72px;
}

body.has-blush-cursor .cursor-dot,
body.has-blush-cursor .cursor-blush {
  opacity: 1;
}

body.cursor-away .cursor-dot,
body.cursor-away .cursor-blush {
  opacity: 0;
}

body.lightbox-open .cursor-dot {
  background-color: #F4F1EC;
}

.blush-speck {
  z-index: 2000;
  background: radial-gradient(circle, rgba(var(--blush-strong-rgb), 0.45) 0%, transparent 70%);
}
