/*
 * iCake Homepage Motion 0.3.3
 * Transform/opacity only, scoped to the iCake Production front page.
 */

body.icake-homepage-motion-active {
  --icake-motion-charcoal: #3c342f;
  --icake-motion-gold: #c19e56;
  --icake-motion-blush: #f5e9e7;
  --icake-motion-sage: #e7ebe2;
  --icake-motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body.icake-homepage-motion-active .icake-motion-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

body.icake-homepage-motion-active .icake-motion-hero > * {
  position: relative;
  z-index: 1;
}

body.icake-homepage-motion-active .icake-motion-hero::before,
body.icake-homepage-motion-active .icake-motion-hero::after {
  position: absolute;
  z-index: 0;
  content: "";
  pointer-events: none;
}

body.icake-homepage-motion-active .icake-motion-hero::before {
  top: 14%;
  right: 7%;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(193, 158, 86, 0.34);
  border-radius: 54% 46% 58% 42%;
  background: rgba(245, 233, 231, 0.26);
  animation: icake-motion-orbit 7.5s ease-in-out infinite;
}

body.icake-homepage-motion-active .icake-motion-hero::after {
  bottom: 17%;
  left: 6%;
  width: 52px;
  height: 52px;
  background:
    radial-gradient(circle at 50% 8%, rgba(193, 158, 86, 0.88) 0 3px, transparent 4px),
    radial-gradient(circle at 88% 48%, rgba(245, 233, 231, 0.96) 0 4px, transparent 5px),
    radial-gradient(circle at 25% 76%, rgba(193, 158, 86, 0.62) 0 2px, transparent 3px);
  animation: icake-motion-sparkle 4.8s ease-in-out infinite;
}

body.icake-homepage-motion-active.icake-motion-ready [data-icake-motion="hero"] {
  animation: icake-motion-hero-in 720ms var(--icake-motion-ease) var(--icake-motion-delay, 0ms) both;
}

body.icake-homepage-motion-active.icake-motion-ready .icake-motion-float {
  animation: icake-motion-float 6.8s ease-in-out 850ms infinite;
  transform-origin: center center;
}

body.icake-homepage-motion-active.icake-motion-ready .icake-motion-float-secondary {
  animation: icake-motion-bob 5.6s ease-in-out 1.1s infinite;
  transform-origin: center center;
}

body.icake-homepage-motion-active.icake-motion-js [data-icake-motion="section"],
body.icake-homepage-motion-active.icake-motion-js [data-icake-motion="card"],
body.icake-homepage-motion-active.icake-motion-js [data-icake-motion="store"] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 680ms var(--icake-motion-ease) var(--icake-motion-delay, 0ms),
    transform 680ms var(--icake-motion-ease) var(--icake-motion-delay, 0ms);
  will-change: opacity, transform;
}

body.icake-homepage-motion-active.icake-motion-js [data-icake-motion="card"] {
  transform: translate3d(0, 18px, 0) scale(0.988);
}

body.icake-homepage-motion-active.icake-motion-js .icake-motion-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  will-change: auto;
}

body.icake-homepage-motion-active .icake-motion-button {
  transition:
    transform 220ms var(--icake-motion-ease),
    box-shadow 220ms ease,
    background-color 220ms ease,
    color 220ms ease;
}

body.icake-homepage-motion-active .icake-motion-stars {
  animation: icake-motion-stars 4.2s ease-in-out var(--icake-motion-delay, 0ms) infinite;
  transform-origin: center;
}

body.icake-homepage-motion-active .icake-runner-scene {
  position: fixed;
  z-index: 99990;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  contain: layout style;
}

body.icake-homepage-motion-active .icake-cake-runner {
  position: absolute;
  top: var(--icake-runner-lane);
  left: 0;
  width: var(--icake-runner-size);
  height: calc(var(--icake-runner-size) + 24px);
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #3c342f;
  cursor: pointer;
  opacity: 0.97;
  pointer-events: auto;
  filter: drop-shadow(0 9px 9px rgba(60, 52, 47, 0.14));
  animation: icake-run-across var(--icake-runner-duration) linear var(--icake-runner-delay) infinite;
  will-change: transform;
  appearance: none;
}

body.icake-homepage-motion-active .icake-cake-runner--reverse {
  animation-name: icake-run-across-reverse;
}

body.icake-homepage-motion-active .icake-cake-runner__flip,
body.icake-homepage-motion-active .icake-cake-runner__bounce,
body.icake-homepage-motion-active .icake-cake-runner__cake,
body.icake-homepage-motion-active .icake-cake-runner__face {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

body.icake-homepage-motion-active .icake-cake-runner--reverse .icake-cake-runner__flip {
  transform: scaleX(-1);
}

body.icake-homepage-motion-active .icake-cake-runner__bounce {
  animation: icake-runner-bounce 620ms ease-in-out infinite;
  transform-origin: center bottom;
}

body.icake-homepage-motion-active .icake-cake-runner__shadow {
  position: absolute;
  bottom: 2px;
  left: 18%;
  width: 64%;
  height: 10%;
  border-radius: 50%;
  background: rgba(60, 52, 47, 0.18);
  filter: blur(2px);
  animation: icake-runner-shadow 620ms ease-in-out infinite;
}

body.icake-homepage-motion-active .icake-cake-runner__cake {
  position: absolute;
  top: 20%;
  left: 9%;
  width: 82%;
  height: 62%;
  border: 2px solid rgba(60, 52, 47, 0.2);
  border-radius: 30% 30% 38% 38%;
  background:
    radial-gradient(circle at 30% 34%, rgba(255, 255, 255, 0.2) 0 3%, transparent 4%),
    var(--icake-runner-cake);
  box-shadow:
    inset 0 -8px 0 rgba(60, 52, 47, 0.05),
    inset 8px 0 12px rgba(255, 255, 255, 0.15);
  transition: transform 180ms ease, filter 180ms ease;
}

body.icake-homepage-motion-active .icake-cake-runner__icing {
  position: absolute;
  z-index: 2;
  top: -9%;
  left: -4%;
  width: 108%;
  height: 38%;
  border: 2px solid rgba(60, 52, 47, 0.16);
  border-radius: 50% 50% 38% 42%;
  background:
    radial-gradient(circle at 12% 100%, transparent 0 10%, var(--icake-runner-icing) 11% 21%, transparent 22%),
    radial-gradient(circle at 43% 100%, transparent 0 12%, var(--icake-runner-icing) 13% 24%, transparent 25%),
    radial-gradient(circle at 76% 100%, transparent 0 10%, var(--icake-runner-icing) 11% 23%, transparent 24%),
    var(--icake-runner-icing);
}

body.icake-homepage-motion-active .icake-cake-runner__topper {
  position: absolute;
  z-index: 3;
  top: -28%;
  left: 42%;
  width: 20%;
  height: 30%;
  border: 2px solid rgba(60, 52, 47, 0.2);
  border-radius: 58% 58% 48% 48%;
  background: var(--icake-runner-accent);
  transform: rotate(-7deg);
}

body.icake-homepage-motion-active .icake-cake-runner__topper::after {
  position: absolute;
  top: -20%;
  right: -48%;
  width: 75%;
  height: 42%;
  border-radius: 100% 0 100% 0;
  background: #70865b;
  content: "";
  transform: rotate(18deg);
}

body.icake-homepage-motion-active .icake-cake-runner__face {
  z-index: 4;
}

body.icake-homepage-motion-active .icake-cake-runner__eye {
  position: absolute;
  top: 42%;
  width: 8%;
  height: 12%;
  border-radius: 50%;
  background: #403631;
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.7);
}

body.icake-homepage-motion-active .icake-cake-runner__eye--left {
  left: 28%;
}

body.icake-homepage-motion-active .icake-cake-runner__eye--right {
  right: 28%;
}

body.icake-homepage-motion-active .icake-cake-runner__smile {
  position: absolute;
  top: 55%;
  left: 43%;
  width: 15%;
  height: 10%;
  border-right: 2px solid #403631;
  border-bottom: 2px solid #403631;
  border-radius: 0 0 100% 0;
  transform: rotate(42deg);
}

body.icake-homepage-motion-active .icake-cake-runner__cheek {
  position: absolute;
  top: 57%;
  width: 10%;
  height: 7%;
  border-radius: 50%;
  background: rgba(239, 111, 128, 0.5);
}

body.icake-homepage-motion-active .icake-cake-runner__cheek--left {
  left: 17%;
}

body.icake-homepage-motion-active .icake-cake-runner__cheek--right {
  right: 17%;
}

body.icake-homepage-motion-active .icake-cake-runner__arm,
body.icake-homepage-motion-active .icake-cake-runner__leg {
  position: absolute;
  z-index: -1;
  width: 8%;
  border-radius: 999px;
  background: #4a3d37;
  transform-origin: top center;
}

body.icake-homepage-motion-active .icake-cake-runner__arm {
  top: 46%;
  height: 38%;
}

body.icake-homepage-motion-active .icake-cake-runner__arm--left {
  left: -6%;
  transform: rotate(38deg);
  animation: icake-runner-arm-left 620ms ease-in-out infinite;
}

body.icake-homepage-motion-active .icake-cake-runner__arm--right {
  right: -6%;
  transform: rotate(-38deg);
  animation: icake-runner-arm-right 620ms ease-in-out infinite;
}

body.icake-homepage-motion-active .icake-cake-runner__leg {
  top: 88%;
  height: 40%;
}

body.icake-homepage-motion-active .icake-cake-runner__leg--left {
  left: 24%;
  animation: icake-runner-leg-left 430ms ease-in-out infinite;
}

body.icake-homepage-motion-active .icake-cake-runner__leg--right {
  right: 24%;
  animation: icake-runner-leg-right 430ms ease-in-out infinite;
}

body.icake-homepage-motion-active .icake-cake-runner__gift {
  position: absolute;
  z-index: 6;
  top: -2px;
  right: -10px;
  display: grid;
  width: 30px;
  height: 30px;
  border: 2px solid #fffaf4;
  border-radius: 50%;
  background: #c19e56;
  box-shadow: 0 6px 14px rgba(60, 52, 47, 0.25);
  font-size: 17px;
  line-height: 1;
  place-items: center;
  animation: icake-runner-gift-pulse 1.5s ease-in-out infinite;
}

body.icake-homepage-motion-active .icake-cake-runner--berry {
  --icake-runner-cake: #ef9eae;
  --icake-runner-icing: #fff8f1;
  --icake-runner-accent: #d74d61;
}

body.icake-homepage-motion-active .icake-cake-runner--lemon {
  --icake-runner-cake: #efd36f;
  --icake-runner-icing: #fff7c8;
  --icake-runner-accent: #e1a943;
}

body.icake-homepage-motion-active .icake-cake-runner--lavender {
  --icake-runner-cake: #c9b3dc;
  --icake-runner-icing: #f7effc;
  --icake-runner-accent: #9a79b6;
}

body.icake-homepage-motion-active .icake-cake-runner--mint {
  --icake-runner-cake: #b9d2b6;
  --icake-runner-icing: #f4fbef;
  --icake-runner-accent: #739c70;
}

body.icake-homepage-motion-active .icake-cake-runner--peach {
  --icake-runner-cake: #efb48d;
  --icake-runner-icing: #fff2e8;
  --icake-runner-accent: #db795d;
}

body.icake-homepage-motion-active .icake-cake-runner--cocoa {
  --icake-runner-cake: #b88c72;
  --icake-runner-icing: #f7e4d1;
  --icake-runner-accent: #80543f;
}

body.icake-homepage-motion-active .icake-cake-runner:hover .icake-cake-runner__cake,
body.icake-homepage-motion-active .icake-cake-runner:focus-visible .icake-cake-runner__cake {
  filter: brightness(1.04) saturate(1.08);
  transform: scale(1.08) rotate(-2deg);
}

body.icake-homepage-motion-active .icake-cake-runner:focus-visible {
  outline: 3px solid rgba(193, 158, 86, 0.82);
  outline-offset: 4px;
  border-radius: 24px;
}

body.icake-homepage-motion-active.icake-surprise-open {
  overflow: hidden;
}

body.icake-homepage-motion-active .icake-surprise[hidden] {
  display: none !important;
}

body.icake-homepage-motion-active .icake-surprise {
  position: fixed;
  z-index: 1000000000;
  inset: 0;
  display: grid;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms ease, visibility 260ms ease;
  place-items: center;
}

body.icake-homepage-motion-active .icake-surprise--open {
  opacity: 1;
  visibility: visible;
}

body.icake-homepage-motion-active .icake-surprise__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(53, 43, 38, 0.58);
  backdrop-filter: blur(6px);
}

body.icake-homepage-motion-active .icake-surprise__panel {
  position: relative;
  width: min(440px, calc(100vw - 34px));
  padding: 32px 34px 34px;
  overflow: hidden;
  border: 1px solid rgba(193, 158, 86, 0.44);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(245, 233, 231, 0.96), transparent 38%),
    #fffdf9;
  box-shadow: 0 26px 80px rgba(44, 34, 30, 0.28);
  color: #3c342f;
  text-align: center;
  transform: translate3d(0, 18px, 0) scale(0.96);
  transition: transform 360ms var(--icake-motion-ease);
}

body.icake-homepage-motion-active .icake-surprise--open .icake-surprise__panel {
  transform: translate3d(0, 0, 0) scale(1);
}

body.icake-homepage-motion-active .icake-surprise__close {
  position: absolute;
  z-index: 8;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(60, 52, 47, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  color: #3c342f;
  cursor: pointer;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  place-items: center;
}

body.icake-homepage-motion-active .icake-surprise__visual {
  position: relative;
  width: 180px;
  height: 158px;
  margin: 0 auto 8px;
}

body.icake-homepage-motion-active .icake-surprise__gift {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 8px;
  left: 24px;
  height: 118px;
}

body.icake-homepage-motion-active .icake-surprise__box,
body.icake-homepage-motion-active .icake-surprise__lid {
  position: absolute;
  display: block;
  border: 2px solid rgba(60, 52, 47, 0.2);
  background:
    linear-gradient(90deg, transparent 43%, #f6e2a3 44% 57%, transparent 58%),
    #c19e56;
  box-shadow: inset 0 -7px 0 rgba(60, 52, 47, 0.08);
}

body.icake-homepage-motion-active .icake-surprise__box {
  right: 8px;
  bottom: 0;
  left: 8px;
  height: 78px;
  border-radius: 8px 8px 14px 14px;
}

body.icake-homepage-motion-active .icake-surprise__lid {
  z-index: 3;
  top: 18px;
  right: 0;
  left: 0;
  height: 36px;
  border-radius: 9px;
  transform-origin: 20% 100%;
}

body.icake-homepage-motion-active .icake-surprise--open .icake-surprise__lid {
  animation: icake-surprise-lid 720ms var(--icake-motion-ease) 240ms both;
}

body.icake-homepage-motion-active .icake-surprise--open .icake-surprise__box {
  animation: icake-surprise-box 520ms var(--icake-motion-ease) 120ms both;
}

body.icake-homepage-motion-active .icake-surprise__glow {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 50%;
  color: #f2cf61;
  font-size: 58px;
  opacity: 0;
  text-shadow: 0 0 28px rgba(242, 207, 97, 0.78);
  transform: translateX(-50%) scale(0.3);
}

body.icake-homepage-motion-active .icake-surprise--open .icake-surprise__glow {
  animation: icake-surprise-glow 900ms ease 420ms both;
}

body.icake-homepage-motion-active .icake-surprise__confetti {
  position: absolute;
  z-index: 6;
  inset: 0;
  pointer-events: none;
}

body.icake-homepage-motion-active .icake-surprise__confetti-piece {
  position: absolute;
  top: 82px;
  left: 50%;
  width: 8px;
  height: 14px;
  border-radius: 3px;
  background: var(--icake-confetti-color);
  opacity: 0;
}

body.icake-homepage-motion-active .icake-surprise--open .icake-surprise__confetti-piece {
  animation: icake-surprise-confetti 960ms ease-out var(--icake-confetti-delay) both;
}

body.icake-homepage-motion-active .icake-surprise__title {
  margin: 4px 0 10px;
  color: #3c342f;
  font-family: inherit;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

body.icake-homepage-motion-active .icake-surprise__message {
  max-width: 340px;
  margin: 0 auto 22px;
  color: #6b5d55;
  font-size: 15px;
  line-height: 1.65;
}

body.icake-homepage-motion-active .icake-surprise__action {
  display: inline-flex;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  background: #3c342f;
  color: #fffaf4;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, background-color 180ms ease;
}

body.icake-homepage-motion-active .icake-surprise__action:hover,
body.icake-homepage-motion-active .icake-surprise__action:focus-visible {
  background: #c19e56;
  color: #fff;
  transform: translateY(-2px);
}

body.icake-homepage-motion-active.icake-motion-paused .icake-motion-hero::before,
body.icake-homepage-motion-active.icake-motion-paused .icake-motion-hero::after,
body.icake-homepage-motion-active.icake-motion-paused .icake-motion-float,
body.icake-homepage-motion-active.icake-motion-paused .icake-motion-float-secondary,
body.icake-homepage-motion-active.icake-motion-paused .icake-motion-stars,
body.icake-homepage-motion-active.icake-motion-paused .icake-cake-runner,
body.icake-homepage-motion-active.icake-motion-paused .icake-cake-runner__bounce,
body.icake-homepage-motion-active .icake-runner-scene--paused .icake-cake-runner,
body.icake-homepage-motion-active .icake-runner-scene--paused .icake-cake-runner__bounce {
  animation-play-state: paused;
}

@media (hover: hover) and (pointer: fine) {
  body.icake-homepage-motion-active .icake-motion-card.icake-motion-inview:hover {
    transform: translate3d(0, -5px, 0) scale(1.006);
    box-shadow: 0 18px 38px rgba(60, 52, 47, 0.1);
  }

  body.icake-homepage-motion-active .icake-motion-button:hover {
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 10px 24px rgba(60, 52, 47, 0.13);
  }

  body.icake-homepage-motion-active .icake-motion-button:active {
    transform: translate3d(0, 0, 0) scale(0.985);
  }
}

@keyframes icake-motion-hero-in {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes icake-motion-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0.001deg);
  }

  50% {
    transform: translate3d(0, -6px, 0) rotate(0.001deg);
  }
}

@keyframes icake-motion-orbit {
  0%,
  100% {
    opacity: 0.62;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    opacity: 0.95;
    transform: translate3d(0, -8px, 0) rotate(7deg);
  }
}

@keyframes icake-motion-bob {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-3deg);
  }

  50% {
    transform: translate3d(0, -5px, 0) rotate(2deg);
  }
}

@keyframes icake-motion-sparkle {
  0%,
  100% {
    opacity: 0.44;
    transform: translate3d(0, 0, 0) scale(0.94);
  }

  50% {
    opacity: 0.96;
    transform: translate3d(0, -5px, 0) scale(1.06);
  }
}

@keyframes icake-motion-stars {
  0%,
  100% {
    opacity: 0.82;
  }

  50% {
    opacity: 1;
  }
}

@keyframes icake-run-across {
  from {
    transform: translate3d(-150px, 0, 0);
  }

  to {
    transform: translate3d(calc(100vw + 150px), 0, 0);
  }
}

@keyframes icake-run-across-reverse {
  from {
    transform: translate3d(calc(100vw + 150px), 0, 0);
  }

  to {
    transform: translate3d(-150px, 0, 0);
  }
}

@keyframes icake-runner-bounce {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-1deg);
  }

  50% {
    transform: translate3d(0, -8px, 0) rotate(1deg);
  }
}

@keyframes icake-runner-shadow {
  0%,
  100% {
    opacity: 0.42;
    transform: scaleX(1);
  }

  50% {
    opacity: 0.24;
    transform: scaleX(0.78);
  }
}

@keyframes icake-runner-arm-left {
  0%,
  100% {
    transform: rotate(38deg);
  }

  50% {
    transform: rotate(74deg);
  }
}

@keyframes icake-runner-arm-right {
  0%,
  100% {
    transform: rotate(-38deg);
  }

  50% {
    transform: rotate(-74deg);
  }
}

@keyframes icake-runner-leg-left {
  0%,
  100% {
    transform: rotate(30deg);
  }

  50% {
    transform: rotate(-28deg);
  }
}

@keyframes icake-runner-leg-right {
  0%,
  100% {
    transform: rotate(-30deg);
  }

  50% {
    transform: rotate(28deg);
  }
}

@keyframes icake-runner-gift-pulse {
  0%,
  100% {
    transform: scale(1) rotate(-7deg);
  }

  50% {
    transform: scale(1.13) rotate(6deg);
  }
}

@keyframes icake-surprise-lid {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  58% {
    transform: translate3d(18px, -56px, 0) rotate(18deg);
  }

  100% {
    transform: translate3d(26px, -50px, 0) rotate(13deg);
  }
}

@keyframes icake-surprise-box {
  0% {
    transform: scale(0.82);
  }

  70% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes icake-surprise-glow {
  0% {
    opacity: 0;
    transform: translateX(-50%) scale(0.3) rotate(-18deg);
  }

  55% {
    opacity: 1;
    transform: translateX(-50%) scale(1.18) rotate(8deg);
  }

  100% {
    opacity: 0.88;
    transform: translateX(-50%) scale(1) rotate(0deg);
  }
}

@keyframes icake-surprise-confetti {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(0.5);
  }

  20% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--icake-confetti-x), var(--icake-confetti-y), 0) rotate(var(--icake-confetti-rotate)) scale(1);
  }
}

@media (max-width: 849px) {
  body.icake-homepage-motion-active .icake-motion-hero::before {
    top: 12%;
    right: 4%;
    width: 48px;
    height: 48px;
  }

  body.icake-homepage-motion-active .icake-motion-hero::after {
    bottom: 12%;
    left: 3%;
    transform: scale(0.76);
  }

  body.icake-homepage-motion-active.icake-motion-js [data-icake-motion="section"],
  body.icake-homepage-motion-active.icake-motion-js [data-icake-motion="card"],
  body.icake-homepage-motion-active.icake-motion-js [data-icake-motion="store"] {
    transform: translate3d(0, 14px, 0);
  }

  body.icake-homepage-motion-active .icake-cake-runner:nth-child(n + 4) {
    display: none;
  }

  body.icake-homepage-motion-active .icake-cake-runner {
    width: min(var(--icake-runner-size), 62px);
    height: 82px;
  }

  body.icake-homepage-motion-active .icake-cake-runner:nth-child(1) {
    top: 22%;
  }

  body.icake-homepage-motion-active .icake-cake-runner:nth-child(2) {
    top: 48%;
  }

  body.icake-homepage-motion-active .icake-cake-runner:nth-child(3) {
    top: 72%;
  }

  body.icake-homepage-motion-active .icake-surprise {
    padding: 12px;
  }

  body.icake-homepage-motion-active .icake-surprise__panel {
    padding: 26px 22px 28px;
    border-radius: 23px;
  }

  body.icake-homepage-motion-active .icake-surprise__visual {
    transform: scale(0.9);
    transform-origin: center bottom;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.icake-homepage-motion-active .icake-motion-hero::before,
  body.icake-homepage-motion-active .icake-motion-hero::after {
    display: none;
  }

  body.icake-homepage-motion-active *,
  body.icake-homepage-motion-active *::before,
  body.icake-homepage-motion-active *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  body.icake-homepage-motion-active [data-icake-motion] {
    opacity: 1 !important;
    transform: none !important;
  }

  body.icake-homepage-motion-active .icake-cake-runner:not(.icake-cake-runner--special) {
    display: none !important;
  }

  body.icake-homepage-motion-active .icake-cake-runner--special {
    top: auto;
    bottom: 92px;
    left: 18px;
    transform: none !important;
  }

  body.icake-homepage-motion-active .icake-surprise__confetti {
    display: none;
  }

  body.icake-homepage-motion-active .icake-surprise--open .icake-surprise__lid {
    transform: translate3d(20px, -46px, 0) rotate(12deg);
  }
}

body.icake-homepage-motion-active.icake-motion-reduced [data-icake-motion] {
  opacity: 1 !important;
  transform: none !important;
}

body.icake-homepage-motion-active.icake-motion-reduced .icake-cake-runner:not(.icake-cake-runner--special) {
  display: none !important;
}

body.icake-homepage-motion-active.icake-motion-reduced .icake-cake-runner--special {
  top: auto;
  bottom: 92px;
  left: 18px;
  transform: none !important;
}

body.icake-homepage-motion-active.icake-motion-reduced .icake-surprise__confetti {
  display: none;
}

/* 0.3.3: larger plush friends cross the full viewport in paired, weaving chase routes. */
body.icake-homepage-motion-active .icake-plush-friend {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--icake-friend-size, 86px);
  height: var(--icake-friend-size, 86px);
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  will-change: transform;
  transition: opacity 180ms linear;
  appearance: none;
}

body.icake-homepage-motion-active .icake-plush-friend__bob {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 9px 8px rgba(60, 52, 47, 0.2));
  transform-origin: center bottom;
  animation: icake-plush-friend-bob 680ms ease-in-out infinite;
}

body.icake-homepage-motion-active .icake-plush-friend__sprite {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter 180ms ease, transform 180ms ease;
  user-select: none;
}

body.icake-homepage-motion-active .icake-plush-friend--left .icake-plush-friend__sprite {
  transform: scaleX(-1);
}

body.icake-homepage-motion-active .icake-plush-friend__shadow {
  position: absolute;
  right: 19%;
  bottom: -2px;
  left: 19%;
  height: 10px;
  border-radius: 50%;
  background: rgba(60, 52, 47, 0.16);
  filter: blur(3px);
  animation: icake-plush-friend-shadow 680ms ease-in-out infinite;
}

body.icake-homepage-motion-active .icake-plush-friend__gift {
  position: absolute;
  z-index: 4;
  top: -3px;
  right: -5px;
  display: grid;
  width: 32px;
  height: 32px;
  border: 2px solid #fffaf4;
  border-radius: 50%;
  background: #c19e56;
  box-shadow: 0 7px 16px rgba(60, 52, 47, 0.24);
  font-size: 17px;
  line-height: 1;
  place-items: center;
  animation: icake-runner-gift-pulse 1.5s ease-in-out infinite;
}

body.icake-homepage-motion-active .icake-plush-friend:hover .icake-plush-friend__sprite,
body.icake-homepage-motion-active .icake-plush-friend:focus-visible .icake-plush-friend__sprite {
  filter: brightness(1.04) saturate(1.08);
}

body.icake-homepage-motion-active .icake-plush-friend:focus-visible {
  border-radius: 28px;
  outline: 3px solid rgba(193, 158, 86, 0.88);
  outline-offset: 4px;
}

body.icake-homepage-motion-active .icake-surprise__timer {
  display: inline-block;
  min-width: 92px;
  margin: 0 auto 14px;
  padding: 7px 15px;
  border-radius: 999px;
  background: #3c342f;
  color: #fffaf4;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.05em;
}

body.icake-homepage-motion-active .icake-surprise__choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 0 auto 13px;
}

body.icake-homepage-motion-active .icake-surprise__choice {
  min-height: 44px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(60, 52, 47, 0.2);
  border-radius: 999px;
  background: #fff;
  color: #3c342f;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
}

body.icake-homepage-motion-active .icake-surprise__choice:hover,
body.icake-homepage-motion-active .icake-surprise__choice:focus-visible,
body.icake-homepage-motion-active .icake-surprise__choice.is-selected {
  border-color: #c19e56;
  background: #f7edda;
}

body.icake-homepage-motion-active .icake-surprise__choice:disabled {
  cursor: wait;
  opacity: 0.58;
}

body.icake-homepage-motion-active .icake-surprise__status {
  min-height: 38px;
  margin: 0 auto 15px;
  color: #6b5d55;
  font-size: 12px;
  line-height: 1.5;
}

body.icake-homepage-motion-active.icake-motion-paused .icake-plush-friend__bob,
body.icake-homepage-motion-active.icake-motion-paused .icake-plush-friend__shadow,
body.icake-homepage-motion-active .icake-runner-scene--paused .icake-plush-friend__bob,
body.icake-homepage-motion-active .icake-runner-scene--paused .icake-plush-friend__shadow,
body.icake-homepage-motion-active .icake-runner-scene--paused .icake-plush-friend__gift {
  animation-play-state: paused;
}

@keyframes icake-plush-friend-bob {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-1deg);
  }

  50% {
    transform: translate3d(0, -8px, 0) rotate(1.5deg);
  }
}

@keyframes icake-plush-friend-shadow {
  0%,
  100% {
    opacity: 0.48;
    transform: scaleX(1);
  }

  50% {
    opacity: 0.23;
    transform: scaleX(0.72);
  }
}

@media (max-width: 849px) {
  body.icake-homepage-motion-active .icake-plush-friend:nth-child(n + 4) {
    display: none;
  }

  body.icake-homepage-motion-active .icake-surprise__choices {
    grid-template-columns: 1fr;
  }

  body.icake-homepage-motion-active .icake-surprise__status {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.icake-homepage-motion-active .icake-plush-friend:not(.icake-plush-friend--special) {
    display: none !important;
  }

  body.icake-homepage-motion-active .icake-plush-friend--special {
    top: auto !important;
    right: auto !important;
    bottom: 104px !important;
    left: 18px !important;
    width: 88px !important;
    height: 88px !important;
    transform: none !important;
  }
}

body.icake-homepage-motion-active.icake-motion-reduced .icake-plush-friend:not(.icake-plush-friend--special) {
  display: none !important;
}

body.icake-homepage-motion-active.icake-motion-reduced .icake-plush-friend--special {
  top: auto !important;
  right: auto !important;
  bottom: 104px !important;
  left: 18px !important;
  width: 88px !important;
  height: 88px !important;
  transform: none !important;
}
