/* Creator journey: animated opening postcard, one reusable 3D product and compact progress. */

#wizard.is-intro .wizard-progress,
#wizard.is-intro .brand-wave,
#wizard.is-intro .brand-footer {
  display: none;
}

.creator-intro-step {
  min-height: 0;
  padding: 8px 10px !important;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 8%, #d8edf9, #edf7fd 56%, #dceefa);
}

.creator-intro-card {
  width: min(100%, 430px, calc(56.25dvh - 9px));
  height: auto;
  max-height: none;
  flex: none;
}

.creator-intro-card .portrait-curtain {
  z-index: 20;
  transition-duration: .24s;
}

.creator-intro-card .portrait-curtain-heart {
  font-size: clamp(68px, 18dvh, 94px);
}

.creator-intro-copy {
  position: absolute;
  z-index: 11;
  right: 5%;
  bottom: 2.2%;
  left: 5%;
  color: #fff;
  text-align: right;
  text-shadow: 0 2px 13px rgba(0, 23, 50, .45);
}

.creator-intro-copy > p,
.creator-intro-copy > h1,
.creator-intro-copy > span,
.creator-intro-copy > button {
  opacity: 0;
}

.creator-intro-copy > p {
  color: #ffe5a0;
  font-size: clamp(11px, 2.9vw, 14px);
  font-weight: 900;
}

.creator-intro-copy > h1 {
  max-width: 350px;
  margin: 1px 0 0;
  color: #fff;
  font-size: clamp(21px, 5.7vw, 29px);
  font-weight: 950;
  line-height: 1.42;
  letter-spacing: -.025em;
}

.creator-intro-copy > span {
  display: block;
  margin-top: 2px;
  color: rgba(255,255,255,.9);
  font-size: clamp(10px, 2.7vw, 13px);
  font-weight: 650;
  line-height: 1.55;
}

.creator-start-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  margin-top: 9px;
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 17px;
  background: linear-gradient(135deg, #ffe7a4, #f5be35 58%, #e7a323);
  color: #123b71;
  box-shadow: 0 12px 28px rgba(1,26,57,.34), inset 0 1px rgba(255,255,255,.8);
  font-size: 14px;
  font-weight: 900;
}

.creator-start-button b {
  font-size: 22px;
  line-height: 1;
}

.creator-start-button:disabled {
  cursor: wait;
  filter: saturate(.65);
}

.creator-start-button:not(:disabled):active {
  transform: scale(.97);
}

.product-model-slot {
  display: block;
  overflow: visible;
}

.wizard-product-3d {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  --poster-color: transparent;
  filter: drop-shadow(0 10px 8px rgba(41,35,28,.26));
  opacity: 0;
  pointer-events: none;
  transform-origin: 50% 100%;
}

.wizard-product-3d.is-ready {
  opacity: 1;
}

.product-model-slot--intro {
  position: absolute;
  z-index: 5;
  left: 32%;
  bottom: 22%;
  width: 36%;
  height: 21%;
}

.creator-intro-card.is-in-view.is-product-reveal .product-model-slot--intro .wizard-product-3d.is-ready {
  animation: creator-product-rise .48s .18s cubic-bezier(.16,1.16,.32,1) both;
}

.product-model-slot--compact {
  position: absolute;
  z-index: 2;
  top: 48px;
  left: 14px;
  width: 72px;
  height: 62px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(255,255,255,.88), rgba(218,239,251,.7));
  box-shadow: 0 8px 24px rgba(13,63,112,.11), inset 0 1px #fff;
}

.product-model-slot--compact .wizard-product-3d {
  animation: creator-product-pop .34s cubic-bezier(.18,.9,.28,1.18) both;
}

.product-model-slot--compact + .step-title {
  padding-left: 76px;
}

.product-model-slot--loading {
  width: 132px;
  height: 105px;
  margin: -6px auto -8px;
}

.product-model-slot--loading .wizard-product-3d {
  animation: creator-product-float 2.4s ease-in-out infinite;
}

.product-model-slot--success {
  position: absolute;
  z-index: 4;
  right: 2%;
  bottom: -2%;
  width: 34%;
  height: 45%;
}

.product-model-slot--success .wizard-product-3d {
  animation: creator-product-pop .48s .08s cubic-bezier(.18,.9,.28,1.18) both;
}

.product-model-slot--error {
  width: 112px;
  height: 88px;
  margin: 0 auto -10px;
}

.auto-mix-copy {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.auto-mix-copy b {
  min-width: 38px;
  color: var(--ana-blue);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-align: left;
}

.process-progress-ring {
  --process-progress: 0deg;
  position: relative;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin: 6px auto 15px;
  border-radius: 50%;
  background: conic-gradient(var(--ana-gold) var(--process-progress), rgba(18,59,113,.1) 0);
  box-shadow: 0 12px 30px rgba(18,59,113,.12);
}

.process-progress-ring::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: inherit;
  background: rgba(255,255,255,.96);
}

.process-progress-ring strong {
  position: relative;
  z-index: 1;
  color: var(--ana-blue-deep);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.creator-intro-card.is-in-view .portrait-family-image { animation-duration: .48s; animation-delay: .02s; }
.creator-intro-card.is-in-view .portrait-food-bread { animation-duration: .3s; animation-delay: .02s; }
.creator-intro-card.is-in-view .portrait-food-tea { animation-duration: .3s; animation-delay: .08s; }
.creator-intro-card.is-in-view .portrait-food-produce { animation-duration: .3s; animation-delay: .14s; }
.creator-intro-card.is-in-view .portrait-heart-glow { animation-duration: .4s; animation-delay: .32s; }
.creator-intro-card.is-in-view .portrait-heart { animation-duration: .32s; animation-delay: .36s; }
.creator-intro-card.is-in-view .portrait-heart path { animation-duration: .38s; animation-delay: .36s; }
.creator-intro-card.is-in-view .portrait-spark { animation-delay: .56s; }
.creator-intro-card.is-in-view .creator-intro-copy > p { animation: portrait-copy-rise .28s .44s ease-out both; }
.creator-intro-card.is-in-view .creator-intro-copy > h1 { animation: portrait-copy-rise .3s .5s ease-out both; }
.creator-intro-card.is-in-view .creator-intro-copy > span { animation: portrait-copy-rise .3s .56s ease-out both; }
.creator-intro-card.is-in-view .creator-intro-copy > button { animation: portrait-copy-rise .32s .62s ease-out both; }

@keyframes creator-product-rise {
  from { opacity: 0; transform: translateY(28px) scale(.76) rotate(-4deg); }
  75% { opacity: 1; transform: translateY(-2px) scale(1.02); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes creator-product-pop {
  from { opacity: 0; transform: translateY(12px) scale(.8); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes creator-product-float {
  0%,100% { opacity: 1; transform: translateY(0) rotate(-1deg); }
  50% { opacity: 1; transform: translateY(-7px) rotate(1deg); }
}

@media (max-width: 380px) {
  .creator-intro-step { padding: 5px !important; }
  .creator-intro-card { width: min(100%, 430px, calc(56.25dvh - 6px)); }
  .creator-intro-copy { right: 4%; bottom: 1.7%; left: 4%; }
  .creator-intro-copy > h1 { font-size: clamp(19px, 5.5vw, 23px); }
  .creator-start-button { min-height: 46px; margin-top: 6px; }
  .product-model-slot--compact { top: 42px; width: 62px; height: 54px; }
  .product-model-slot--compact + .step-title { padding-left: 64px; }
}

@media (max-height: 700px) and (max-width: 759px) {
  .creator-intro-copy > span { display: none; }
  .creator-intro-copy > h1 { font-size: 20px; line-height: 1.35; }
  .creator-start-button { min-height: 43px; margin-top: 5px; }
  .product-model-slot--compact { top: 37px; width: 58px; height: 50px; }
  .product-model-slot--loading { width: 105px; height: 78px; }
  .process-progress-ring { width: 68px; height: 68px; margin-bottom: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-model-slot--loading .wizard-product-3d { animation: none; opacity: 1; }
}
