.page-animation {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  overflow: hidden;
}

.page-animation * { animation-play-state: paused !important; }
.page-animation.is-playing * { animation-play-state: running !important; }

.squirrel-chase-video {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.squirrel-chase-section {
  position: fixed;
  z-index: 60;
  right: 0;
  bottom: 0;
  left: 0;
  height: 190px;
  overflow: hidden;
  background: transparent;
  line-height: 0;
  pointer-events: none;
}

.squirrel-chase-source {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2px;
  height: auto;
  opacity: .001;
  pointer-events: none;
}

.squirrel-chase-canvas {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: min(62vw, 300px);
  height: auto;
  opacity: 0;
  will-change: transform;
}

.squirrel-chase-section.is-running .squirrel-chase-canvas {
  opacity: 1;
}

.squirrel-chase-mobile { display: none; }

@keyframes squirrel-video-run {
  from { transform: translate3d(-105%, 0, 0); opacity: 1; }
  to { transform: translate3d(calc(100vw + 5%), 0, 0); opacity: 1; }
}

.rolling-nut {
  position: absolute;
  left: 0;
  bottom: 26px;
  width: 52px;
  height: auto;
  filter: drop-shadow(0 8px 6px rgba(50, 33, 20, .2));
  transform-origin: 48% 55%;
  will-change: transform, opacity;
  opacity: 0;
  animation: none;
}

.rolling-nut::before { content: ""; position: absolute; left: -2px; top: -5px; width: 29px; height: 12px; border-radius: 60% 60% 42% 42%; background: repeating-linear-gradient(35deg, #4b2a16 0 2px, #69401f 2px 5px); box-shadow: inset 0 -2px 0 rgba(35, 18, 8, .25); }
.rolling-nut::after { content: ""; position: absolute; left: 12px; top: -10px; width: 4px; height: 8px; border-radius: 4px; background: #3f2414; transform: rotate(18deg); }

.nut-two { bottom: 48px; width: 22px; height: 27px; animation-delay: .24s; animation-duration: 2.45s; }
.nut-three { bottom: 17px; width: 19px; height: 24px; animation-delay: .44s; animation-duration: 2.2s; }

.squirrel-runner {
  position: absolute;
  left: 0;
  bottom: 28px;
  width: 270px;
  height: 180px;
  transform-origin: 55% 100%;
  will-change: transform, opacity;
  opacity: 0;
  animation: none;
}

.squirrel-runner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 9px 7px rgba(48, 35, 25, .2));
  transition: opacity .28s ease-in-out;
  will-change: opacity;
}

.squirrel-runner > img.is-active { opacity: 1; }

.chase-caught {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 58px);
  padding: 24px;
  background: rgba(250, 247, 239, .9);
  opacity: 0;
  transform: scale(.94);
  transition: opacity .32s ease, transform .5s cubic-bezier(.18, .9, .3, 1.12);
}

.chase-caught > img { width: min(38vw, 390px); height: auto; filter: drop-shadow(0 14px 10px rgba(62, 38, 20, .16)); }
.page-animation.is-thanking .chase-caught { opacity: 1; transform: scale(1); }
.page-animation.is-thanking > .rolling-nut,
.page-animation.is-thanking > .squirrel-runner { opacity: 0 !important; }

.squirrel-runner::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 24px;
  bottom: 3px;
  width: 54px;
  height: 7px;
  border-radius: 50%;
  background: rgba(48, 35, 25, .18);
  filter: blur(2px);
  animation: runner-shadow .34s ease-in-out infinite;
}

.squirrel-body, .squirrel-head, .squirrel-tail, .squirrel-leg, .squirrel-arm, .squirrel-belly, .squirrel-muzzle {
  position: absolute;
  display: block;
  background: #c95213;
}

.squirrel-body { left: 29px; bottom: 14px; width: 45px; height: 25px; border-radius: 52% 48% 45% 55%; transform-origin: 55% 75%; animation: body-gallop .48s ease-in-out infinite; }
.squirrel-belly { z-index: 1; left: 45px; bottom: 12px; width: 31px; height: 14px; border-radius: 50%; background: #f3d4a6; transform: rotate(-5deg); }
.squirrel-head { z-index: 3; left: 65px; bottom: 27px; width: 23px; height: 22px; border-radius: 48% 52% 46% 54%; transform-origin: 10% 80%; animation: head-bob .48s ease-in-out infinite; }
.squirrel-head::before { content: ""; position: absolute; z-index: 2; right: 3px; top: 6px; width: 6px; height: 7px; border: 2px solid white; border-radius: 50%; background: #201a14; }
.squirrel-head::after { content: ""; position: absolute; left: 3px; top: -10px; width: 8px; height: 14px; border-radius: 80% 20% 55% 45%; background: #71310f; transform: rotate(-12deg); box-shadow: 8px -1px 0 #71310f; }
.squirrel-muzzle { z-index: 4; left: 80px; bottom: 27px; width: 13px; height: 10px; border-radius: 50% 65% 58% 50%; background: #f2cf9f; }
.squirrel-muzzle::after { content: ""; position: absolute; right: -2px; top: 2px; width: 4px; height: 4px; border-radius: 50%; background: #28160d; }

.squirrel-tail {
  left: -2px;
  bottom: 17px;
  width: 45px;
  height: 43px;
  border: 12px solid #d75b16;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  background: transparent;
  transform-origin: 78% 80%;
  box-shadow: inset 4px 4px 0 #ee7b28;
  animation: tail-bounce .48s cubic-bezier(.45, 0, .55, 1) infinite;
}

.squirrel-arm { z-index: 2; bottom: 18px; width: 22px; height: 5px; border-radius: 999px; transform-origin: left center; animation: arm-reach .48s cubic-bezier(.45, 0, .55, 1) infinite; }
.squirrel-arm::after { content: ""; position: absolute; right: -3px; width: 6px; height: 4px; border-radius: 50%; background: #71310f; }
.arm-one { left: 65px; }
.arm-two { left: 59px; bottom: 15px; animation-delay: -.24s; }
.squirrel-leg { bottom: 8px; width: 20px; height: 6px; border-radius: 999px; transform-origin: right center; animation: leg-dash .48s cubic-bezier(.45, 0, .55, 1) infinite; }
.squirrel-leg::after { content: ""; position: absolute; left: -5px; bottom: -1px; width: 9px; height: 4px; border-radius: 999px; background: #5d3b27; }
.leg-one { left: 35px; }
.leg-two { left: 55px; animation-delay: -.24s; }

@keyframes roll-nut {
  0% { transform: translate3d(0, -2px, 0) rotate(0deg); opacity: 0; }
  5% { opacity: 1; }
  18% { transform: translate3d(calc(18vw + 20px), -24px, 0) rotate(165deg); }
  34% { transform: translate3d(calc(35vw + 38px), 0, 0) rotate(315deg); }
  56% { transform: translate3d(calc(57vw + 62px), -38px, 0) rotate(515deg); }
  74% { transform: translate3d(calc(76vw + 84px), 0, 0) rotate(690deg); }
  91% { opacity: 1; }
  100% { transform: translate3d(calc(100vw + 110px), 0, 0) rotate(1190deg); opacity: 0; }
}

@keyframes squirrel-run {
  0% { transform: translate3d(0, 2px, 0) rotate(-3deg) scale(1.45, 1.39); opacity: 0; }
  7% { opacity: 1; }
  18% { transform: translate3d(calc(17vw + 28px), -10px, 0) rotate(2deg) scale(1.52, 1.38); }
  35% { transform: translate3d(calc(36vw + 52px), 1px, 0) rotate(-3deg) scale(1.4, 1.48); }
  58% { transform: translate3d(calc(60vw + 87px), -13px, 0) rotate(2deg) scale(1.53, 1.38); }
  76% { transform: translate3d(calc(79vw + 116px), 0, 0) rotate(-3deg) scale(1.41, 1.47); }
  86% { opacity: 1; }
  100% { transform: translate3d(calc(100vw + 150px), 1px, 0) rotate(-2deg) scale(1.42, 1.46); opacity: 0; }
}

@keyframes body-gallop { 0%, 100% { transform: translateY(2px) rotate(-3deg) scaleX(.94) scaleY(1.04); } 22% { transform: translateY(-4px) rotate(1deg) scaleX(1.1) scaleY(.94); } 55% { transform: translateY(-2px) rotate(2deg) scaleX(1.06) scaleY(.96); } 78% { transform: translateY(2px) rotate(-2deg) scaleX(.96) scaleY(1.03); } }
@keyframes head-bob { 0%, 100% { transform: translateY(2px) rotate(-5deg); } 24%, 58% { transform: translateY(-3px) rotate(3deg); } }
@keyframes tail-bounce { 0%, 100% { transform: rotate(-28deg) scale(.96); } 28% { transform: rotate(-8deg) scaleX(1.09) scaleY(.96); } 62% { transform: rotate(-16deg) scale(1.03); } }
@keyframes arm-reach { 0%, 100% { transform: translateX(-2px) rotate(28deg) scaleX(.72); } 25%, 60% { transform: translateX(2px) rotate(-8deg) scaleX(1.12); } 78% { transform: rotate(14deg) scaleX(.9); } }
@keyframes leg-dash { 0%, 100% { transform: translateX(3px) rotate(32deg) scaleX(.78); } 24% { transform: translateX(-7px) rotate(-24deg) scaleX(1.2); } 52% { transform: translateX(3px) rotate(18deg) scaleX(.82); } 76% { transform: translateX(-5px) rotate(-30deg) scaleX(1.12); } }
@keyframes runner-shadow { 0%, 100% { transform: scaleX(1.05); opacity: .85; } 50% { transform: scaleX(.78); opacity: .5; } }

@media (max-width: 640px) {
  .rolling-nut { bottom: 16px; }
  .nut-two { bottom: 36px; }
  .squirrel-runner { bottom: 18px; }
  .chase-caught { gap: 10px; padding: 12px; }
  .chase-caught > img { width: 39vw; }
  .squirrel-chase-section { height: 125px; }
  .squirrel-chase-canvas {
    width: min(58vw, 220px);
    animation-timing-function: linear;
  }
  .squirrel-chase-mobile { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .page-animation, .squirrel-chase-section { display: none; }
}

.quality-celebration {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.quality-celebration-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(27, 35, 24, .68);
  backdrop-filter: blur(7px);
}

.quality-celebration-card {
  position: relative;
  width: min(100%, 470px);
  overflow: hidden;
  border: 1px solid rgba(94, 101, 84, .18);
  border-radius: 32px;
  background: #fdfcf9;
  padding: 28px 28px 30px;
  text-align: center;
  box-shadow: 0 32px 90px rgba(24, 32, 21, .3);
  animation: celebration-pop .52s cubic-bezier(.18, .9, .3, 1.18) both;
}

.quality-celebration-close {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: #5e6554;
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 4px 16px rgba(38, 45, 33, .1);
}

.paid-celebration-video-wrap {
  position: relative;
  width: calc(100% + 56px);
  margin: 24px -28px -30px;
  overflow: hidden;
  border-radius: 0 0 31px 31px;
  background: #f5e6c5;
}

.paid-celebration-video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.nut-party {
  position: relative;
  height: 205px;
  margin: -28px -28px 20px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 110%, #e8d8bd 0 28%, transparent 29%), linear-gradient(145deg, #e5e7e1, #f8f5ee 68%);
}

.happy-squirrel { position: absolute; left: 50%; bottom: 11px; width: 150px; height: 155px; transform: translateX(-50%); transform-origin: 50% 100%; animation: squirrel-celebrate 1.08s cubic-bezier(.45, 0, .55, 1) infinite; }
.happy-body { position: absolute; left: 49px; bottom: 8px; width: 70px; height: 88px; border-radius: 48% 52% 42% 45%; background: #9a663b; transform: rotate(-5deg); }
.happy-belly { position: absolute; z-index: 1; left: 67px; bottom: 14px; width: 42px; height: 58px; border-radius: 50%; background: #d9a66d; transform: rotate(-5deg); }
.happy-head { position: absolute; z-index: 2; left: 67px; top: 15px; width: 67px; height: 66px; border-radius: 48% 52% 46% 54%; background: #9a663b; transform: rotate(7deg); }
.happy-head::before { content: ""; position: absolute; right: -9px; top: 31px; width: 22px; height: 17px; border-radius: 45% 60% 60% 45%; background: #c58a52; }
.happy-ear { position: absolute; z-index: 1; left: 79px; top: 3px; width: 27px; height: 32px; border-radius: 80% 20% 55% 45%; background: #7a4d2d; transform: rotate(-14deg); }
.happy-eye { position: absolute; z-index: 4; left: 112px; top: 39px; width: 8px; height: 9px; border-radius: 50%; background: #241810; box-shadow: 2px -2px 0 1px #fff; transform-origin: center; animation: happy-blink 4.6s ease-in-out infinite; }
.happy-smile { position: absolute; z-index: 4; left: 113px; top: 55px; width: 13px; height: 8px; border-bottom: 2px solid #4d2e1b; border-radius: 50%; transform: rotate(-8deg); }
.happy-tail { position: absolute; left: 5px; bottom: 14px; width: 78px; height: 112px; border: 24px solid #8a5733; border-right-color: transparent; border-bottom-color: transparent; border-radius: 52%; transform: rotate(-18deg); transform-origin: 78% 88%; box-shadow: inset 7px 7px 0 #bd8150; animation: happy-tail-sway 1.08s cubic-bezier(.45, 0, .55, 1) infinite; }
.happy-arm { position: absolute; z-index: 3; top: 81px; width: 48px; height: 14px; border-radius: 999px; background: #8a5733; transform-origin: 8px 7px; }
.happy-arm-left { left: 55px; transform: rotate(-125deg); animation: toss-arm-left 1.08s cubic-bezier(.45, 0, .55, 1) infinite; }
.happy-arm-right { left: 99px; transform: rotate(-52deg); animation: toss-arm-right 1.08s cubic-bezier(.45, 0, .55, 1) infinite; }

.party-nut { position: absolute; z-index: 5; width: 19px; height: 24px; border-radius: 48% 52% 45% 55%; background: linear-gradient(135deg, #7d4c2b, #c48b50 55%, #694022); box-shadow: inset -4px -3px 0 rgba(61, 35, 19, .18); }
.party-nut::after { content: ""; position: absolute; left: 7px; top: -5px; width: 5px; height: 7px; border-radius: 3px; background: #694022; }
.party-nut-one { left: 22%; animation: nut-toss-one 1.5s ease-in-out infinite; }
.party-nut-two { left: 40%; animation: nut-toss-two 1.35s .2s ease-in-out infinite; }
.party-nut-three { right: 28%; animation: nut-toss-three 1.6s .08s ease-in-out infinite; }
.party-nut-four { right: 12%; animation: nut-toss-four 1.45s .35s ease-in-out infinite; }

.quality-celebration-kicker { color: #78806c; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.quality-celebration-card h2 { margin-top: 9px; color: #394032; font-size: clamp(25px, 6vw, 34px); font-weight: 800; line-height: 1.12; letter-spacing: -.035em; }
.quality-celebration-copy { margin-top: 12px; color: #78716c; font-size: 15px; }
.quality-celebration-action { margin-top: 22px; min-width: 138px; border-radius: 999px; background: #5e6554; padding: 12px 24px; color: white; font-size: 14px; font-weight: 800; transition: transform .2s ease, background .2s ease; }
.quality-celebration-action:hover { background: #454c3d; transform: translateY(-2px); }

@keyframes celebration-pop { from { opacity: 0; transform: translateY(26px) scale(.88); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes squirrel-celebrate { 0%, 100% { transform: translateX(-50%) translateY(1px) rotate(-1deg) scaleY(.98); } 12% { transform: translateX(-50%) translateY(4px) rotate(-1deg) scaleY(.95); } 38% { transform: translateX(-50%) translateY(-7px) rotate(1deg) scaleY(1.02); } 64% { transform: translateX(-50%) translateY(-2px) rotate(0) scaleY(1); } }
@keyframes toss-arm-left { 0%, 100% { transform: rotate(-116deg); } 14% { transform: rotate(-108deg); } 38%, 58% { transform: rotate(-146deg); } 75% { transform: rotate(-128deg); } }
@keyframes toss-arm-right { 0%, 100% { transform: rotate(-43deg); } 14% { transform: rotate(-35deg); } 38%, 58% { transform: rotate(-70deg); } 75% { transform: rotate(-55deg); } }
@keyframes happy-tail-sway { 0%, 100% { transform: rotate(-22deg) scaleX(.98); } 38% { transform: rotate(-13deg) scaleX(1.03); } 68% { transform: rotate(-18deg); } }
@keyframes happy-blink { 0%, 46%, 50%, 100% { transform: scaleY(1); } 48% { transform: scaleY(.08); } }
@keyframes nut-toss-one { 0% { transform: translate(35px, 170px) rotate(0); opacity: 0; } 8% { opacity: 1; } 50% { transform: translate(-18px, 22px) rotate(260deg); opacity: 1; } 92% { opacity: 1; } 100% { transform: translate(-52px, 180px) rotate(560deg); opacity: 0; } }
@keyframes nut-toss-two { 0% { transform: translate(18px, 170px) rotate(0); opacity: 0; } 8% { opacity: 1; } 50% { transform: translate(-8px, 6px) rotate(-290deg); opacity: 1; } 92% { opacity: 1; } 100% { transform: translate(42px, 175px) rotate(-610deg); opacity: 0; } }
@keyframes nut-toss-three { 0% { transform: translate(-25px, 175px) rotate(0); opacity: 0; } 8% { opacity: 1; } 50% { transform: translate(12px, 20px) rotate(300deg); opacity: 1; } 92% { opacity: 1; } 100% { transform: translate(58px, 180px) rotate(590deg); opacity: 0; } }
@keyframes nut-toss-four { 0% { transform: translate(-55px, 180px) rotate(0); opacity: 0; } 8% { opacity: 1; } 50% { transform: translate(5px, 38px) rotate(-270deg); opacity: 1; } 92% { opacity: 1; } 100% { transform: translate(36px, 185px) rotate(-570deg); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .quality-celebration-card, .happy-squirrel, .happy-arm, .happy-tail, .happy-eye, .party-nut { animation: none !important; }
  .party-nut-one { transform: translate(0, 32px) rotate(-18deg); opacity: 1; }
  .party-nut-two { transform: translate(0, 12px) rotate(20deg); opacity: 1; }
  .party-nut-three { transform: translate(0, 24px) rotate(-12deg); opacity: 1; }
  .party-nut-four { transform: translate(0, 46px) rotate(17deg); opacity: 1; }
}
