.set-discovery {
  background: #332c26;
  color: #fff8ec;
}
.set-discovery-inner {
  --stack-stage-limit: clamp(450px, calc(100svh - 145px), 720px);
  max-width: calc(var(--stack-stage-limit) + 550px);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 60px) clamp(24px, 4.5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
  grid-template-areas: "photo title" "photo copy";
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(26px, 4vw, 62px);
}
.set-discovery-title { grid-area: title; align-self: end; padding-top: 16px; }
.set-discovery-label {
  margin: 0 0 9px;
  color: #f4b58d;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.set-discovery-title h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.15rem, 3.8vw, 3.8rem);
  letter-spacing: -.035em;
  line-height: 1.04;
  color: inherit;
}
.set-discovery-copy { grid-area: copy; align-self: start; }
.set-discovery-copy p {
  max-width: 42ch;
  margin: 14px 0 21px;
  color: #efe4d7;
  line-height: 1.55;
}
.set-discovery-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 45px;
  padding: 10px 14px;
  background: #f5bd93;
  color: #292219;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.3;
}
.set-discovery-link:hover { background: #ffd3b0; }
.set-discovery-link:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.set-discovery-photo {
  grid-area: photo;
  align-self: center;
  justify-self: center;
  width: min(100%, var(--stack-stage-limit));
}
.set-discovery-photo img { display: block; width: 100%; height: auto; }
@media (max-width: 780px) {
  .set-discovery-inner {
    grid-template-areas: "title" "photo" "copy";
    grid-template-rows: auto auto auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px 0;
    padding: 27px 0 32px;
  }
  .set-discovery-title, .set-discovery-copy { padding: 0 max(6%, 20px); }
  .set-discovery-title h2 { max-width: 100%; font-size: clamp(2rem, 7vw, 2.85rem); }
  .set-discovery-label { font-size: .68rem; letter-spacing: .09em; }
  .set-discovery-photo { width: min(100%, 720px); }
  .set-discovery-copy p { margin: 0 0 18px; }
}

.set-collection-card { min-width: 0; }
.set-card-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  margin-bottom: 12px;
  filter: drop-shadow(0 5px 5px rgb(35 31 27 / 16%));
}
.set-collection-card .set-card-photo img {
  display: block;
  width: 66.6667%;
  height: auto;
  aspect-ratio: 1;
  margin: 0;
  background: transparent;
}


.set-stack-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  scroll-margin-top: 60px;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 42% 34%, #f8f1e6, #e8dece 66%, #dacbb7);
}
.set-stack-stage .set-stack-final,
.set-stack-stage .set-stack-finished,
.set-stack-scene { position: absolute; inset: 3%; width: 94%; height: 94%; }
.set-stack-stage .set-stack-final, .set-stack-stage .set-stack-finished { object-fit: contain; }
.set-stack-stage .set-stack-scene[hidden] { display: none; }
.set-stack-stage .set-stack-scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.set-discovery-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.set-stack-replay { border: 1px solid #fff8ec59; background: transparent; color: #fff8ec; padding: 9px 13px; min-height: 45px; font: inherit; font-size: .9rem; cursor: pointer; }
.set-stack-replay:hover { background: #fff8ec14; }
.set-stack-replay:focus-visible { outline: 2px solid #f5bd93; outline-offset: 3px; }
.set-stack-replay svg { margin-right: 5px; vertical-align: -.15em; }

.set-stack-stage .set-stack-finished { opacity: 0; }
[data-stack-playing] .set-stack-final, [data-stack-finished] .set-stack-final { opacity: 0; }
[data-stack-finished] .set-stack-finished { opacity: 1; }

.set-stack-caption {
  color: #fd7902;
  font-weight: 750;
  font-size: clamp(.9rem, 1.8vw, 1.15rem);
  line-height: 1.3;
  letter-spacing: .015em;
  text-align: center;
}
.set-stack-caption--top { margin: 0 0 10px; }
.set-stack-caption--bottom { margin: 10px 0 0; }
