/* The full-size packshot stays fixed in size as its fan opens into the freed space. */
#join-the-waitlist .release-product {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
#join-the-waitlist .release-product-stage {
  --packet-fan: 0;
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 854 / 1002;
  isolation: isolate;
}
#join-the-waitlist .release-product-stage img {
  position: absolute;
  display: block;
  height: auto;
  max-width: none;
  object-fit: contain;
}
#join-the-waitlist .release-product-bag {
  left: 0;
  bottom: 0;
  width: 90%;
  z-index: 4;
}
#join-the-waitlist .release-product-packet {
  left: 82.3%;
  bottom: 0;
  width: 20.2%;
  z-index: 5;
  transform-origin: 15% 87%;
}
#join-the-waitlist .release-product-packet--back-1 {
  z-index: 3;
  transform: translate(calc(var(--packet-fan) * 17%), calc(var(--packet-fan) * -4.2%)) rotate(calc(var(--packet-fan) * 16deg)) scale(.96);
}
#join-the-waitlist .release-product-packet--back-2 {
  z-index: 2;
  transform: translate(calc(var(--packet-fan) * 30.5%), calc(var(--packet-fan) * -6.4%)) rotate(calc(var(--packet-fan) * 33deg)) scale(.96);
}
#join-the-waitlist .release-product-packet--back-3 {
  z-index: 1;
  transform: translate(calc(var(--packet-fan) * 48%), calc(var(--packet-fan) * -8.9%)) rotate(calc(var(--packet-fan) * 51deg)) scale(.93);
}
@media (max-width: 1023px) {
  #join-the-waitlist .release-product-stage { width: min(56vw, 350px); flex-shrink: 0; }
  #join-the-waitlist .release-product { padding-block: 8px 20px; }
}
/* Let the release backdrop continue behind the plan content. */
#join-the-waitlist [data-slot="card"] {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
@media (prefers-reduced-motion: reduce) {
  #join-the-waitlist .release-product-stage { --packet-fan: 1 !important; }
}

/* A normal entrance, followed by a pinned text-to-fan transition. */
#join-the-waitlist { overflow: clip; }
#join-the-waitlist .release-scroll-track { margin-top: 48px; position: relative; }
#join-the-waitlist .release-scroll-content {
  position: sticky;
  top: var(--release-sticky-top, 80px);
  margin-top: 0;
  align-items: center;
}
#join-the-waitlist .release-scroll-content > [data-slot="card"] {
  opacity: var(--release-plan-opacity, 1);
}
#join-the-waitlist [data-slot="card"][inert] { pointer-events: none; }
#join-the-waitlist .release-mobile-fan { display: none; }
@media (max-width: 1023px) {
  #join-the-waitlist .release-scroll-track { margin-top: 32px; }
  #join-the-waitlist .release-scroll-content { position: relative; top: auto; }
  #join-the-waitlist .release-mobile-fan {
    display: flex;
    position: sticky;
    top: var(--release-sticky-top, 24px);
    padding-block: 32px;
  }
  #join-the-waitlist .release-mobile-fan .release-product {
    width: 100%;
    justify-content: flex-start;
    padding-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  #join-the-waitlist .release-scroll-content { position: relative; top: auto; }
  #join-the-waitlist .release-scroll-content .release-product-stage { --packet-fan: 0 !important; }
}

/* One rear packet carries the release packshot into the live pouring scene. */
#join-the-waitlist .release-product-bag,
#join-the-waitlist .release-product-packet:not(.release-product-packet--back-3) {
  opacity: var(--release-pack-opacity, 1);
}
#join-the-waitlist .is-handing-off .release-product-packet--back-3 { opacity: 0; }
.release-flying-packet {
  position: fixed;
  z-index: 40;
  max-width: none;
  pointer-events: none;
  object-fit: contain;
  transform-origin: center;
}
.release-flying-packet[hidden] { display: none; }
.daka-story--pour.is-release-handoff .daka-story__stage {
  position: fixed;
  inset: 0;
  height: 100vh;
  background: transparent;
}
.daka-story--pour.is-release-handoff .daka-story__stage::before,
.daka-story--pour.is-release-handoff .daka-story__stage::after { opacity: 0 !important; }
.daka-story--pour.is-release-handoff .daka-story__copy { opacity: 0; }
.daka-story--pour.is-release-handoff .daka-story__section-four-background { opacity: 0; }

/* Let the remaining packshot scroll away while the detached packet falls. */
#join-the-waitlist .release-product-stage {
  translate: 0 var(--release-pack-rise, 0px);
}

/* The detached rear packet stays behind the outgoing bag and front packets. */
#join-the-waitlist.is-release-detaching { z-index: 41; }
