:root { color-scheme: dark; }
* { box-sizing: border-box; }
html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  background: #000;
}
body {
  display: grid;
  place-items: center;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}
.poster {
  position: relative;
  width: min(100vw, 860px);
  width: min(100vw, 860px, calc(70.947vh - 6px));
  width: min(100vw, 860px, calc(70.947dvh - 6px));
  aspect-ratio: 297.6378 / 419.52756;
  overflow: hidden;
}
.artwork-frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mask-image:
    linear-gradient(to right, transparent, #000 5%, #000 95%, transparent),
    linear-gradient(to bottom, transparent, #000 3%, #000 97.5%, transparent);
  mask-composite: intersect;
}
.artwork { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: fill; }

@media (prefers-reduced-motion: no-preference) {
  .poster {
    animation: poster-drift 4.8s ease-in-out both;
  }

  @keyframes poster-drift {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-4px); }
    75% { transform: translateY(4px); }
  }
}

.hit-area {
  position: absolute;
  display: block;
  z-index: 1;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
}
.hit-area:focus-visible { outline: 2px solid rgba(255,255,255,.85); outline-offset: 2px; }
.hit-area[href]:hover { background: rgba(255,255,255,.07); }
/* Music icon centres, measured against the supplied PDF page. */
.music { top: 41.2%; width: 7.6%; height: 6.3%; }
.spotify { left: 33.13%; }
.apple { left: 43.33%; }
.youtube { left: 54.31%; }
.tidal { left: 65.38%; }
/* Social icon centres. */
.social { top: 60.34%; width: 8%; height: 6.6%; }
.instagram { left: 37.71%; }
.facebook { left: 50%; }
.tiktok { left: 61.77%; }
/* Explore links cover each original icon and its caption. */
.explore { top: 82.2%; width: 10.1%; height: 10.3%; }
.lyrics { left: 27.61%; }
.contact { left: 39.48%; }
.presskit { left: 50.67%; }
.whatsapp { left: 61.98%; }
.telegram { left: 74.23%; }
@media (max-width: 480px) {
  .music { width: 8%; height: 6.3%; }
  .social { width: 8.5%; height: 6.6%; }
  .explore { width: 10.8%; height: 10.3%; }
}

/* Enlarge only the original illustration behind the SVG poster. */
body::before {
  content: "";
  position: fixed;
  inset: -18px;
  pointer-events: none;
  background: url("assets/fondo.png") center / cover no-repeat;
  filter: grayscale(1) blur(10px);
  opacity: .55;
  mask-image: radial-gradient(ellipse 48% 78% at center,
    transparent 22%, #000 82%, transparent 155%);
}

.poster {
  background: #000;
  mask-image:
    linear-gradient(to right, transparent, #000 8%, #000 92%, transparent),
    linear-gradient(to bottom, transparent, #000 3%, #000 97%, transparent);
  mask-composite: intersect;
}

.artwork-frame {
  mask-image: none;
}
