.detail-art .product-art--ident {
  min-height: 0;
  aspect-ratio: 3 / 2;
  background: #121015;
}
.pa-ident-frame {
  position: absolute;
  inset-inline: 0;
  width: 100%;
  top: 50%;
  translate: 0 -50%;
  aspect-ratio: 3 / 2;
  pointer-events: none;
}
.pa-ident-frame .pa-scene {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pa-ident-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
@media (max-width: 760px) {
  .detail-art .product-art--ident {aspect-ratio: 16 / 9}
}
@media (prefers-reduced-motion: no-preference) {
  .ident-ready .pa-ident-frame {
    animation: ident-camera 2.5s cubic-bezier(.18,.74,.21,1) both;
  }
}
@keyframes ident-camera {
  from {transform: scale(1.035)}
  to {transform: scale(1)}
}

/* Reflections for the featured artwork. */
/* Coordinates follow the artwork's 3:2 master, including when the viewport crops it. */
@media (prefers-reduced-motion: no-preference) {
  .ident-spotify .pa-ident-fx {
    clip-path: ellipse(11.2% 17.2% at 49.52% 46.83%);
    mix-blend-mode: screen;
  }
  .ident-spotify .pa-ident-fx::before {
    content: "";
    position: absolute;
    left: 36.52%;
    top: 27.33%;
    width: 26%;
    height: 39%;
    background: conic-gradient(from -82deg,
      transparent 0deg 22deg, #a9ffb64d 34deg, #dfffbfbb 40deg,
      #89ff9a45 48deg, transparent 62deg 210deg, #4dffb23d 225deg, transparent 247deg);
    animation: spotify-label-reflection 2.85s .12s cubic-bezier(.24,.53,.25,1) both;
  }
  @keyframes spotify-label-reflection {
    0% { transform:rotate(-86deg);opacity:0 }
    18% { opacity:.82 }
    74% { opacity:.8 }
    100% { transform:rotate(125deg);opacity:0 }
  }

  .ident-youtube .pa-ident-fx {
    clip-path: polygon(25.15% 40%,25.9% 35.5%,27.1% 32.1%,29.5% 28.8%,32.3% 27.1%,
      36% 26.6%,63% 26.7%,67.7% 28.5%,70% 31.5%,71.5% 36%,72.1% 41%,
      72.1% 54.8%,71.55% 62.8%,70.5% 66.3%,68.1% 70.4%,65.7% 72%,
      32.3% 72.1%,29.7% 71.6%,27.4% 69%,25.75% 65%,25.1% 60%);
    background: linear-gradient(113deg,transparent 39%,#ffc3aa24 44.6%,#ffe3c399 48.3%,
      #fff0d7ab 49.5%,#fca16742 51.5%,transparent 57%);
    background-size: 240% 100%;
    mix-blend-mode: screen;
    animation: youtube-projector-refraction 2.65s .18s cubic-bezier(.24,.55,.36,1) both;
  }
  @keyframes youtube-projector-refraction {
    0% {background-position:80% center;opacity:0}
    17% {opacity:.76}
    77% {opacity:.8}
    100% {background-position:21% center;opacity:0}
  }

  .ident-disney .pa-ident-fx::before {
    content: "";
    position: absolute;
    inset: 0;
    clip-path: polygon(34.79% 40.73%,36.32% 37.71%,37.92% 35.31%,39.51% 33.33%,41.04% 31.88%,
      42.64% 30.52%,44.24% 29.48%,45.76% 28.75%,47.36% 28.23%,48.96% 27.81%,50.49% 27.71%,
      52.08% 27.71%,53.68% 27.92%,55.21% 28.23%,56.81% 28.85%,58.40% 29.69%,59.93% 30.73%,
      61.53% 31.98%,63.12% 33.65%,64.65% 35.52%,66.25% 38.02%,67.85% 41.25%,69.44% 45.83%,
      69.44% 46.35%,67.85% 44.06%,66.25% 40.31%,64.65% 37.50%,63.12% 35.42%,61.53% 33.65%,
      59.93% 32.19%,58.40% 31.15%,56.81% 30.31%,55.21% 29.58%,53.68% 29.27%,52.08% 29.06%,
      50.49% 29.06%,48.96% 29.17%,47.36% 29.58%,45.76% 30.21%,44.24% 31.04%,42.64% 32.08%,
      41.04% 33.44%,39.51% 35.10%,37.92% 37.19%,36.32% 39.90%,34.79% 41.25%);
    background: linear-gradient(90deg,transparent 43%,#c9efffa6 47.5%,white 50%,#d9faffdd 51%,transparent 54%);
    background-size: 240% 100%;
    animation: disney-arc-illumination 2.45s .28s ease-in-out both;
  }
  .ident-disney .pa-ident-fx::after {
    content: "";
    position: absolute;
    left: 69.3%;
    top: 45.9%;
    width: 4.2%;
    aspect-ratio: 1;
    clip-path: polygon(50% 0,55% 43%,86% 22%,60% 47%,100% 50%,58% 55%,
      78% 82%,54% 60%,50% 100%,46% 59%,21% 81%,41% 53%,0 50%,42% 46%,19% 21%,46% 40%);
    background: radial-gradient(circle,#fff 8%,#e8faff 25%,#96d9ff88 72%,transparent);
    animation: disney-comet-glint .87s 2.03s ease-out both;
  }
  @keyframes disney-arc-illumination {
    0% {background-position:66% center;opacity:0}
    15%,87% {opacity:1}
    100% {background-position:31% center;opacity:0}
  }
  @keyframes disney-comet-glint {
    0% {transform:translate(-50%,-50%) scale(.12);opacity:0}
    38% {transform:translate(-50%,-50%) scale(1);opacity:.96}
    100% {transform:translate(-50%,-50%) scale(.18);opacity:0}
  }
}

@media (prefers-reduced-motion: no-preference) {
  .product-art--ident[data-ident="canva"] .pa-ident-fx {
    mask: url("/assets/idents/canva-light.png") center / 100% 100% no-repeat;
  }
  .ident-ready.ident-canva .pa-ident-fx {
    background-image: linear-gradient(106deg, transparent 34%, rgb(175 252 255 / .28) 42%, rgb(255 252 226 / .86) 47%, rgb(236 194 253 / .46) 50%, transparent 56%);
    background-size: 240% 100%;
    mix-blend-mode: screen;
    animation: ident-canva-pearl 2.1s .22s ease-in-out both;
  }

  .product-art--ident[data-ident="adobe"] .pa-ident-fx {
    mask: url("/assets/idents/adobe-light.png") center / 100% 100% no-repeat;
  }
  .ident-ready.ident-adobe .pa-ident-fx {
    background-image: linear-gradient(126deg, transparent 36%, rgb(255 126 46 / .24) 42%, rgb(255 222 159 / .89) 46%, rgb(255 150 95 / .26) 49%, transparent 54%);
    background-size: 205% 175%;
    mix-blend-mode: screen;
    animation: ident-adobe-bevel 2.35s .18s cubic-bezier(.31,.07,.24,1) both;
  }
}

@keyframes ident-canva-pearl {
  0% {background-position: 114% 50%; opacity: 0}
  15% {opacity: .86}
  83% {opacity: .86}
  100% {background-position: -16% 50%; opacity: 0}
}

@keyframes ident-adobe-bevel {
  0% {background-position: 108% 100%; opacity: 0}
  17% {opacity: .91}
  78% {opacity: .78}
  100% {background-position: -12% 0%; opacity: 0}
}

/* Both masks are traced in the 3:2 photograph's coordinates and share the image frame. */
@media (prefers-reduced-motion: no-preference) {
  .ident-xbox .pa-ident-fx,
  .ident-music .pa-ident-fx {
    position: absolute;
    inset: 0;
    pointer-events: none;
    mix-blend-mode: screen;
  }
  .ident-xbox .pa-ident-fx::before,
  .ident-xbox .pa-ident-fx::after,
  .ident-music .pa-ident-fx::before,
  .ident-music .pa-ident-fx::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  /* A line of energy splits at the intersection and moves down both carved channels. */
  .ident-xbox .pa-ident-fx {
    clip-path: polygon(
      38.78% 32.17%, 39.89% 30.82%, 41.24% 30.14%, 42.89% 30.15%, 44.87% 30.86%,
      47.22% 32.30%, 50.00% 34.50%, 52.67% 32.28%, 54.88% 30.78%, 56.72% 30.02%,
      58.30% 29.99%, 59.73% 30.71%, 61.11% 32.17%, 59.62% 32.38%, 58.18% 33.18%,
      56.73% 34.53%, 55.21% 36.37%, 53.56% 38.67%, 55.66% 42.48%, 57.62% 46.52%,
      59.34% 50.64%, 60.70% 54.69%, 61.61% 58.51%, 61.97% 61.94%, 61.67% 64.83%,
      61.24% 61.87%, 60.28% 58.64%, 58.86% 55.26%, 57.05% 51.83%, 54.93% 48.49%,
      52.55% 45.34%, 50.00% 42.50%, 47.44% 45.50%, 45.05% 48.73%, 42.90% 52.08%,
      41.05% 55.45%, 39.59% 58.74%, 38.59% 61.85%, 38.11% 64.67%, 37.63% 62.48%,
      37.72% 59.74%, 38.32% 56.57%, 39.35% 53.10%, 40.73% 49.46%, 42.41% 45.75%,
      44.30% 42.11%, 46.33% 38.67%, 44.67% 36.47%, 43.13% 34.70%, 41.66% 33.37%,
      40.22% 32.52%, 38.78% 32.17%
    );
  }
  .ident-xbox .pa-ident-fx::before {
    background: linear-gradient(178deg, transparent 33%, rgb(55 250 51 / 18%) 36%,
      rgb(178 255 125 / 77%) 40%, rgb(220 255 189 / 90%) 42%,
      rgb(64 248 65 / 57%) 45%, transparent 51%);
    animation: subzy-xbox-channel 2.18s .16s cubic-bezier(.32,.08,.25,.97) both;
  }
  .ident-xbox .pa-ident-fx::after {
    background: radial-gradient(ellipse 8% 10% at 50% 41%, #e8ffd2 0%, #88ff72aa 35%, transparent 83%);
    animation: subzy-xbox-arc 1.35s .42s ease-out both;
  }
  @keyframes subzy-xbox-channel {
    0% {opacity: 0; transform: translateY(-18%)}
    15% {opacity: 1}
    78% {opacity: .95}
    100% {opacity: 0; transform: translateY(33%)}
  }
  @keyframes subzy-xbox-arc {
    0%, 100% {opacity: 0}
    32% {opacity: .72}
  }

  /* A softbox travels over the ruby bevel and releases a final glow in the right notehead. */
  .ident-music .pa-ident-fx {
    clip-path: polygon(
      41.78% 32.17%, 42.03% 30.99%, 42.47% 30.15%, 43.12% 29.52%, 44.00% 29.00%,
      50.40% 26.85%, 57.05% 24.65%, 62.78% 22.83%, 63.47% 22.77%, 64.05% 22.98%,
      64.50% 23.46%, 64.79% 24.19%, 64.89% 25.17%, 64.89% 41.25%, 64.89% 58.83%,
      64.71% 61.79%, 64.07% 64.33%, 63.03% 66.38%, 61.67% 67.83%, 60.00% 68.81%,
      58.24% 69.29%, 56.49% 69.33%, 54.89% 69.00%, 53.30% 68.12%, 52.12% 66.91%,
      51.34% 65.39%, 50.93% 63.58%, 50.89% 61.50%, 51.24% 59.13%, 51.99% 57.05%,
      53.09% 55.33%, 54.48% 54.02%, 56.11% 53.17%, 58.01% 52.70%, 59.88% 52.52%,
      61.33% 52.50%, 61.73% 52.38%, 62.01% 52.01%, 62.11% 51.33%, 62.06% 43.52%,
      62.00% 36.83%, 61.84% 35.93%, 61.56% 35.51%, 61.11% 35.50%, 55.54% 37.25%,
      49.98% 39.19%, 45.44% 40.83%, 44.84% 41.25%, 44.53% 41.97%, 44.44% 43.17%,
      44.44% 54.48%, 44.44% 64.67%, 44.21% 67.41%, 43.67% 69.66%, 42.85% 71.43%,
      41.80% 72.76%, 40.56% 73.67%, 38.83% 74.48%, 37.05% 74.74%, 35.34% 74.52%,
      33.80% 73.86%, 32.56% 72.83%, 31.43% 71.37%, 30.71% 69.63%, 30.38% 67.71%,
      30.41% 65.69%, 30.78% 63.67%, 31.64% 61.49%, 32.83% 59.75%, 34.28% 58.51%,
      35.89% 57.83%, 37.51% 57.52%, 39.04% 57.48%, 40.44% 57.50%, 41.05% 57.29%,
      41.36% 56.71%, 41.44% 55.83%, 41.50% 47.86%, 41.50% 39.25%, 41.56% 33.50%,
      41.62% 32.71%, 41.78% 32.17%
    );
  }
  .ident-music .pa-ident-fx::before {
    background: linear-gradient(117deg, transparent 39%, rgb(255 54 103 / 18%) 43%,
      rgb(255 158 164 / 56%) 47%, rgb(255 223 211 / 87%) 49%,
      rgb(255 105 138 / 44%) 51%, transparent 55%);
    animation: subzy-applemusic-refraction 2.45s .22s cubic-bezier(.3,.06,.22,.98) both;
  }
  .ident-music .pa-ident-fx::after {
    background: radial-gradient(ellipse 7.6% 7% at 60.8% 64.8%,
      rgb(255 209 179 / 89%), rgb(255 75 125 / 52%) 40%, transparent 92%);
    animation: subzy-applemusic-notehead 1.24s 1.26s ease-out both;
  }
  @keyframes subzy-applemusic-refraction {
    0% {opacity: 0; transform: translateX(-36%)}
    20% {opacity: .96}
    75% {opacity: .82}
    100% {opacity: 0; transform: translateX(34%)}
  }
  @keyframes subzy-applemusic-notehead {
    0%, 100% {opacity: 0}
    39% {opacity: .84}
  }
}
