.service-composite .art-canvas > .coffee-contact,
.service-composite .coffee-mug {
  position: absolute;
  inset: var(--coffee-top) auto auto var(--coffee-left);
  width: var(--coffee-width);
  height: var(--coffee-height);
}

.service-composite .coffee-mug {
  z-index: 5;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 25%;
  background: transparent;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.service-composite[data-coffee-lifted] .coffee-mug {
  cursor: grabbing;
}

.coffee-contact {
  z-index: 1;
  pointer-events: none;
}

.coffee-floating {
  position: fixed;
  z-index: 2;
  display: block;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

.coffee-floating[data-coffee-lifted] {
  z-index: 10000;
}

.service-composite .coffee-mug:focus-visible {
  outline: 2px solid #a8e1e2;
  outline-offset: 2px;
}

.coffee-hint {
  position: absolute;
  bottom: calc(100% + 7px);
  right: 0;
  padding: 4px 7px;
  border-radius: 5px;
  background: #11272c;
  color: #effafa;
  font: 500 0.8125rem/1.3 system-ui, sans-serif;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
}

.service-composite:not([data-coffee-lifted]) .coffee-mug:focus-visible .coffee-hint {
  opacity: 1;
}

@media (hover: hover) {
  .service-composite:not([data-coffee-lifted]) .coffee-mug:hover .coffee-hint {
    opacity: 1;
  }
}

/* The photo already contains an editor. Wait for the clean display image
   before showing the replacement canvas and its controls over the photo. */
.hero .service-composite:not([data-ready]) .screen-surface,
.hero .service-composite:not([data-ready]) .screen-hotspots {
  visibility: hidden;
}
