/* Approved artist layout: selectable artist details sit over the lower portion of the film. */
@media(max-width:700px){
 body[data-layout] #artist-grid.compact-gallery{touch-action:pan-y pinch-zoom;position:relative}
 body[data-layout] #artist-grid.compact-gallery.is-swiping{overflow:hidden;user-select:none;-webkit-user-select:none}
 body[data-layout] #artist-grid.compact-gallery .artist-card.swipe-neighbor{position:absolute;inset:0 auto auto 0;width:100%;pointer-events:none}
 body[data-layout] #artist-grid.compact-gallery .swipe-current,
 body[data-layout] #artist-grid.compact-gallery .swipe-neighbor{will-change:transform;transition:none}
 body[data-layout] #artist-grid.compact-gallery.is-swiping a{pointer-events:none}
 body[data-layout] #artist-grid.compact-gallery .artist-card{
  --artist-film-height:clamp(480px,138vw,560px);
  grid-template-rows:var(--artist-film-height);isolation:isolate;
 }
 body[data-layout] #artist-grid.compact-gallery .artist-film,
 body[data-layout] #artist-grid.compact-gallery .artist-media{grid-area:1/1;border-radius:54px 54px 0 0}
 body[data-layout] #artist-grid.compact-gallery .artist-film::after,
 body[data-layout] #artist-grid.compact-gallery .artist-media::after{
  inset:25% 0 -1px;background:linear-gradient(180deg,transparent 0%,#090a090d 20%,#090a098a 52%,#090a09de 78%,#090a09f7 100%);
 }
 body[data-layout] #artist-grid.compact-gallery .artist-card-content{
  position:relative;grid-area:1/1;align-self:end;z-index:2;padding:48px 22px 25px;
  gap:12px 20px;background:none;text-shadow:0 1px 8px #000a;pointer-events:none;
 }
 body[data-layout] #artist-grid.compact-gallery .artist-card-content a{pointer-events:auto}
 body[data-layout] #artist-grid.compact-gallery .artist-card-heading{
  position:static;transform:none;grid-column:1/-1;grid-row:1;padding:0;min-height:0;
 }
 body[data-layout] #artist-grid.compact-gallery .artist-card-heading h3{margin:0 0 4px}
 body[data-layout] #artist-grid.compact-gallery .artist-card .role{color:#d2c5a5}
 body[data-layout] #artist-grid.compact-gallery .portfolio-text{grid-row:2;min-height:44px;display:flex;align-items:center}
 body[data-layout] #artist-grid.compact-gallery .artist-booking{grid-row:2;min-height:44px}
 body[data-layout] #artist-grid.compact-gallery .social-links{grid-row:3;gap:2px 22px}
 body[data-layout] #artist-grid.compact-gallery .social-links>a{padding:4px 0 9px}
 body[data-layout] #artist-grid.compact-gallery .social-links small,
 body[data-layout] #artist-grid.compact-gallery .artist-booking small{color:#dbd1bc}
 body[data-layout] #artist-grid.compact-gallery .artist-card-phone{grid-row:4;margin:0}
 body[data-layout] #artist-thumbnails{margin-top:0;border-top:0;padding-top:8px}
 body[data-layout] #artist-grid.compact-gallery a:focus-visible{outline:2px solid #e7cb8c;outline-offset:4px;border-radius:2px}
}

/* Desktop and tablet retain the portrait composition of the studio footage. */
@media(min-width:701px){
 body[data-layout] #artist-grid.compact-gallery .artist-card{
  --artist-film-height:clamp(560px,76vh,720px);
  position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:var(--artist-film-height);
  width:min(100%,calc(var(--artist-film-height)*.78));margin-inline:auto;
  border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;isolation:isolate;
 }
 body[data-layout] #artist-grid.compact-gallery .artist-film,
 body[data-layout] #artist-grid.compact-gallery .artist-media{
  grid-area:1/1;width:100%;height:var(--artist-film-height);min-height:0;
  border:0;border-radius:64px 64px 0 0;background:transparent;overflow:hidden;isolation:isolate;
  -webkit-mask-image:linear-gradient(#000 94%,transparent);mask-image:linear-gradient(#000 94%,transparent);
 }
 body[data-layout] #artist-grid.compact-gallery .artist-film video{object-fit:cover;object-position:center}
 body[data-layout] #artist-grid.compact-gallery .artist-film::after,
 body[data-layout] #artist-grid.compact-gallery .artist-media::after{
  content:'';position:absolute;inset:28% 0 -1px;pointer-events:none;z-index:1;
  background:linear-gradient(transparent 0%,#090a090d 20%,#090a098a 52%,#090a09de 78%,#090a09f7);
 }
 body[data-layout] #artist-grid.compact-gallery .artist-card-content{
  position:relative;grid-area:1/1;align-self:end;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);
  z-index:2;padding:48px 30px 30px;gap:15px 24px;align-items:center;justify-content:initial;
  background:none;text-shadow:0 1px 8px #000a;pointer-events:none;
 }
 body[data-layout] #artist-grid.compact-gallery .artist-card-content a{pointer-events:auto}
 body[data-layout] #artist-grid.compact-gallery .artist-card-heading{
  position:static;transform:none;grid-column:1/-1;grid-row:1;padding:0;min-height:0;
 }
 body[data-layout] #artist-grid.compact-gallery .artist-card-heading h3{margin:0 0 4px}
 body[data-layout] #artist-grid.compact-gallery .artist-card .role{color:#d2c5a5}
 body[data-layout] #artist-grid.compact-gallery .artist-booking-area{display:contents}
 body[data-layout] #artist-grid.compact-gallery .portfolio-text{grid-column:1;grid-row:2;width:fit-content;min-height:44px;display:flex;align-items:center}
 body[data-layout] #artist-grid.compact-gallery .artist-booking{grid-column:2;grid-row:2;width:fit-content;min-width:0;min-height:44px;margin:0}
 body[data-layout] #artist-grid.compact-gallery .social-links{grid-column:1/-1;grid-row:3;display:flex;flex-wrap:wrap;gap:5px 24px;margin:0}
 body[data-layout] #artist-grid.compact-gallery .social-links>a{width:auto;max-width:100%;gap:3px;padding:5px 0 9px;min-height:44px}
 body[data-layout] #artist-grid.compact-gallery .social-links small,
 body[data-layout] #artist-grid.compact-gallery .artist-booking small{color:#dbd1bc}
 body[data-layout] #artist-grid.compact-gallery .artist-card-phone{grid-column:1/-1;grid-row:4;width:fit-content;margin:0}
 body[data-layout] #artist-grid.compact-gallery .film-name{display:none}
 body[data-layout] #artist-grid.compact-gallery .film-toggle{top:18px;right:18px;bottom:auto;left:auto;z-index:3}
 body[data-layout] #artist-grid.compact-gallery .slide-controls{top:18px;right:18px;bottom:auto;left:auto;z-index:3}
 body[data-layout] #artist-thumbnails{width:min(100%,1060px);margin:8px auto 0;border-top:0}
 body[data-layout] #artist-grid.compact-gallery a:focus-visible{outline:2px solid #e7cb8c;outline-offset:4px;border-radius:2px}
}
