/* Ingrid's Art: page-entry intro overlay (homepage + filtered category pages). */
.page-entry-intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #17191a;
  overflow: hidden;
  pointer-events: auto;
  opacity: 1;
}

.page-entry-intro__art {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: var(--intro-focus, 50% 50%);
  background-size: cover;
  transform-origin: var(--intro-focus, 50% 50%);
  animation: page-entry-reveal 3.15s cubic-bezier(.22,.62,.2,1) both;
  will-change: transform, opacity;
}

.page-entry-intro.is-ending {
  transition: opacity .8s ease;
  opacity: 0;
}

@keyframes page-entry-reveal {
  0%   { transform: translate(12vw, 0) scale(4.5); }
  100% { transform: translate(0, 0) scale(1); }
}

@media (max-width: 700px) {
  .page-entry-intro__art {
    background-size: contain;
    animation: page-entry-reveal-mobile 3.15s cubic-bezier(.22,.62,.2,1) both;
  }

  @keyframes page-entry-reveal-mobile {
    0%   { transform: translate(8vw, 0) scale(4.8); }
    100% { transform: translate(0, 0) scale(1); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-entry-intro {
    display: none !important;
  }
}
