* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --cream: #f6e8d4;
  --teal: #087c86;
  --coral: #e85b69;
  --ink: #111111;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background:
    radial-gradient(circle at top, #fff8ef 0, var(--cream) 70%);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(10px, 2vw, 28px);
}

.splash {
  width: min(100%, 1536px);
}

.artwork {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--cream);
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(40, 25, 10, 0.18);
}

.artwork img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/*
  These transparent links sit over the Instagram and email buttons
  already printed in the supplied artwork.
*/
.hotspot {
  position: absolute;
  display: block;
  border-radius: 12px;
  outline: 0 solid transparent;
  transition: outline 160ms ease, background 160ms ease;
}

.hotspot:hover,
.hotspot:focus-visible {
  background: rgba(255, 255, 255, 0.10);
  outline: 4px solid rgba(255, 255, 255, 0.92);
  outline-offset: 2px;
}

.instagram-hotspot {
  left: 6.25%;
  top: 74.8%;
  width: 33%;
  height: 10.3%;
}

.email-hotspot {
  left: 6.25%;
  top: 86.2%;
  width: 33%;
  height: 5.3%;
}

.mobile-actions {
  display: none;
  gap: 12px;
  margin-top: 14px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  flex: 1.4;
  border-color: var(--coral);
  background: var(--coral);
  color: white;
}

.button-secondary {
  flex: 1;
  background: white;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.15);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 700px) {
  .page {
    align-content: start;
    padding: 0;
  }

  .artwork {
    border-radius: 0;
    box-shadow: none;
  }

  .mobile-actions {
    display: flex;
    padding: 0 14px 18px;
  }
}

@media (max-width: 450px) {
  .mobile-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
