* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; width: 100%; min-height: 100%; }
html { overflow-x: hidden; }
body { overflow-x: hidden; overflow-y: auto; background: #ff8d80; }
.contact-artwork { position: relative; width: 100%; margin: 0; }
.contact-mockup { display: block; width: 100%; height: auto; max-width: none; max-height: none; }
/* Percentage coordinates are relative to the full image. */
.back-hotspot { position: absolute; left: 6%; top: 8%; width: 13%; height: 8%; z-index: 2; cursor: pointer; }
/* Folder in Contact Me mockup: positioned over the pink folder, not its label. */
.archive-hotspot {
  display: block;
  position: absolute;
  left: 22.5%;
  top: 48.5%;
  width: 14%;
  height: 16%;
  z-index: 10;
  cursor: pointer;
  background: transparent;
  pointer-events: auto;
}
.back-hotspot:focus-visible, .archive-hotspot:focus-visible { outline: 3px solid #780569; outline-offset: 2px; }

/* Mobile-only artwork */
.mobile-artwork { display: none; }
@media (max-width: 600px) {
 .contact-artwork { display: none; }
 .mobile-artwork { display: block; position: relative; width: 100%; line-height: 0; }
 .mobile-artwork img { display: block; width: 100%; height: auto; }
 .mobile-hotspot { position: absolute; z-index: 5; display: block; cursor: pointer; }
 .mobile-hotspot:focus-visible { outline: 3px solid #780569; outline-offset: 2px; }
}

/* Hide mobile artwork on desktop */
.mobile-contact-page {
  display: none;
}

@media (max-width: 600px) {
  .contact-artwork {
    display: none;
  }

  .mobile-contact-page {
    display: block;
    position: relative;
    width: 100%;
  }

  .mobile-contact-image {
    display: block;
    width: 100%;
    height: auto;
  }

  .mobile-contact-back,
  .mobile-contact-folder {
    position: absolute;
    display: block;
    z-index: 10;
    background: transparent;
    cursor: pointer;
  }

  .mobile-contact-back {
    left: 3%;
    top: 1%;
    width: 20%;
    height: 6%;
  }

  .mobile-contact-folder {
    left: 10%;
    top: 72%;
    width: 28%;
    height: 12%;
  }
}
