/* This stylesheet is loaded only by About the Artist. */
.artist-page .artist-curtain { display: none; }
.artist-page .portrait-frame { height: auto; aspect-ratio: 1088 / 1445; overflow: hidden; }
.artist-page .portrait-frame img { width: 100%; height: 100%; object-fit: contain; display: block; }

@media (prefers-reduced-motion: no-preference) {
  .artist-page .artist-curtain {
    position: fixed;
    inset: -2px 0;
    z-index: 1000;
    display: grid;
    place-content: center;
    gap: 22px;
    overflow: hidden;
    background: #193e36;
    color: #f7f2e8;
    text-align: center;
    pointer-events: none;
    box-shadow: 0 25px 70px #102f2a24;
    animation: artist-curtain-lift 1450ms cubic-bezier(.76,0,.24,1) 100ms both;
  }
  .artist-page .artist-curtain::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 20%, #f7f2e809 48%, transparent 70%);
  }
  .artist-page .artist-curtain-label {
    font-size: 10px;
    letter-spacing: .26em;
  }
  .artist-page .artist-curtain-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(48px, 7vw, 100px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -.055em;
  }
  .artist-page .artist-curtain-title em { color: #d9ba96; font-weight: 400; }
  .artist-page:has(:focus-visible) .artist-curtain { display: none; }
}

@keyframes artist-curtain-lift {
  0%, 17% { transform: translateY(0); border-radius: 0; visibility: visible; }
  62% { border-radius: 0 0 45% 45% / 0 0 9% 9%; }
  100% { transform: translateY(-110%); border-radius: 0; visibility: hidden; }
}

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