/* Well-Tea character theater: independent, reversible site-wide cameo scenes. */
.wt-theater{position:fixed;inset:0;z-index:69;pointer-events:none;overflow:hidden;contain:layout style}
.wt-actor{position:absolute;display:block;width:94px;height:104px;transform-origin:50% 85%;will-change:transform,opacity}
.wt-actor img{width:100%;height:100%;object-fit:contain;display:block;filter:drop-shadow(0 3px 2px #21381b27)}
.wt-actor .wt-expression{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.wt-expression .wt-eye{transform-box:fill-box;transform-origin:center;animation:wt-blink 4.2s ease-in-out infinite}
.wt-expression .wt-arm{transform-box:fill-box;transform-origin:top center;animation:wt-wave .48s ease-in-out infinite alternate}
.wt-actor.wt-whisk{width:100px;height:140px}
.wt-actor.wt-mason{width:94px;height:110px}
.wt-actor.wt-takeaway{width:92px;height:105px}
.wt-theater .wt-cup-peek{right:-100px;bottom:clamp(45px,13vh,130px);animation:wt-peek 6s ease-in-out both}
.wt-theater .wt-cup-peek img{animation:wt-peek-bob 1s ease-in-out 2 alternate}
.wt-theater .wt-mason-peek{left:-105px;bottom:clamp(38px,12vh,115px);animation:wt-mason-peek-in 7s ease-in-out both}
.wt-theater .wt-mason-peek img{animation:wt-mason-wiggle .8s ease-in-out 1.4s 4 alternate}
.wt-theater .wt-mason-face{animation:wt-mason-wiggle .8s ease-in-out 1.4s 4 alternate}
.wt-theater .wt-mason-wink{animation:wt-mason-wink 7s both}
.wt-theater .wt-mason-eye-open{animation:wt-mason-open-eye 7s both}
.wt-theater .wt-mason-wave{transform-box:fill-box;transform-origin:20% 85%;animation:wt-mason-wave 7s both}
@keyframes wt-mason-wink{0%,27%,40%,100%{opacity:0}28%,39%{opacity:1}}
@keyframes wt-mason-open-eye{0%,27%,40%,100%{opacity:1}28%,39%{opacity:0}}
@keyframes wt-mason-wave{0%,20%,65%,100%{opacity:0;transform:rotate(0deg)}25%,60%{opacity:1}30%,45%,57%{transform:rotate(-18deg)}37%,51%{transform:rotate(16deg)}}
@keyframes wt-mason-face-bob{from{transform:rotate(-4deg)}to{transform:rotate(4deg)}}
@keyframes wt-mason-peek-in{0%,100%{transform:translateX(0);opacity:0}15%,70%{transform:translateX(132px);opacity:1}84%{transform:translateX(115px);opacity:1}}
@keyframes wt-mason-wiggle{from{transform:rotate(-11deg) translateY(0)}to{transform:rotate(11deg) translateY(-7px)}}
.wt-theater .wt-kettle-rest{right:9%;bottom:clamp(32px,10vh,95px);animation:wt-rest 7s ease-in-out both}
.wt-theater .wt-kettle-rest img{animation:wt-rest-breath 1.05s ease-in-out 4 alternate}
.wt-theater .wt-steam{position:absolute;right:calc(9% + 28px);bottom:clamp(118px,24vh,205px);font-size:27px;color:#78986b;opacity:0;animation:wt-steam 3.4s ease-out 1.7s both}
.wt-theater .wt-whisk-party{left:calc(50% - 50px);bottom:clamp(35px,11vh,105px);animation:wt-whisk-dance 6.8s ease-in-out both}
.wt-theater .wt-music{position:absolute;left:calc(50% + 55px);bottom:clamp(170px,32vh,260px);color:#73904f;font-size:25px;opacity:0;animation:wt-music 4s ease-out 1.1s both}
.wt-theater .wt-parade{bottom:clamp(20px,7vh,80px);left:0;animation:wt-parade-walk 10s linear both}
.wt-theater .wt-parade:nth-child(1){animation-delay:0s}
.wt-theater .wt-parade:nth-child(2){animation-delay:1.15s}
.wt-theater .wt-parade:nth-child(3){animation-delay:2.3s}
.wt-theater .wt-parade:nth-child(4){animation-delay:3.45s}
.wt-theater .wt-parade img{animation:wt-parade-step .38s ease-in-out infinite alternate}
.wt-theater .wt-parade:nth-child(5){animation-delay:4.6s}
.wt-theater .wt-takeaway-catchup{left:0;bottom:clamp(22px,8vh,85px);animation:wt-takeaway-dash 7.5s ease-in-out both}
.wt-theater .wt-takeaway-catchup img{animation:wt-takeaway-hop .5s ease-in-out infinite alternate}
@keyframes wt-takeaway-dash{0%{opacity:0;transform:translateX(-120px) rotate(-12deg)}12%{opacity:1}28%{transform:translateX(22vw) rotate(8deg)}38%{transform:translateX(28vw) translateY(-25px) rotate(-8deg)}48%{transform:translateX(32vw) translateY(0) rotate(8deg)}57%{transform:translateX(37vw) translateY(-32px) rotate(-10deg)}66%{transform:translateX(43vw) translateY(0) rotate(6deg)}90%{opacity:1}100%{opacity:0;transform:translateX(calc(100vw + 120px)) rotate(12deg)}}
@keyframes wt-takeaway-hop{from{transform:translateY(0) rotate(-7deg)}to{transform:translateY(-10px) rotate(8deg)}}
@keyframes wt-blink{0%,43%,46%,100%{transform:scaleY(1)}44%,45%{transform:scaleY(.12)}}
@keyframes wt-wave{from{transform:rotate(-18deg)}to{transform:rotate(25deg)}}
@keyframes wt-peek{0%,100%{transform:translateX(0)}20%,70%{transform:translateX(-125px)}83%{transform:translateX(-110px)}}
@keyframes wt-peek-mobile{0%,100%{transform:translateX(0)}20%,70%{transform:translateX(-102px)}83%{transform:translateX(-95px)}}
@keyframes wt-peek-bob{from{transform:rotate(-7deg)}to{transform:rotate(7deg)}}
@keyframes wt-rest{0%,100%{opacity:0;transform:translateY(40px) rotate(-13deg)}16%,77%{opacity:1;transform:translateY(0) rotate(9deg)}45%{transform:translateY(9px) rotate(15deg)}}
@keyframes wt-rest-breath{from{transform:scaleY(.97)}to{transform:scaleY(1.03)}}
@keyframes wt-steam{0%,100%{opacity:0;transform:translateY(10px) scale(.4)}35%,70%{opacity:.9}100%{transform:translateY(-65px) scale(1.1)}}
@keyframes wt-whisk-dance{0%,100%{opacity:0;transform:translateY(50px) rotate(0)}12%{opacity:1;transform:translateY(0)}22%{transform:translate(-22px,-8px) rotate(-16deg)}32%{transform:translate(22px,0) rotate(16deg)}42%{transform:translate(-15px,-22px) rotate(-13deg)}54%{transform:translate(16px,0) rotate(18deg)}66%{transform:translateY(-42px) rotate(185deg)}78%{transform:translateY(0) rotate(360deg)}88%{opacity:1;transform:translateY(-10px) rotate(370deg)}}
@keyframes wt-music{0%,100%{opacity:0;transform:translateY(15px)}25%,70%{opacity:1}100%{transform:translateY(-55px)}}
@keyframes wt-parade-walk{from{transform:translateX(-150px)}to{transform:translateX(calc(100vw + 180px))}}
@keyframes wt-parade-step{from{transform:translateY(0) rotate(-5deg)}to{transform:translateY(-10px) rotate(5deg)}}
@media(max-width:600px){.wt-actor{width:68px;height:76px}.wt-actor.wt-whisk{width:75px;height:105px}.wt-actor.wt-mason{width:70px;height:84px}.wt-theater .wt-cup-peek{right:-75px;animation-name:wt-peek-mobile}.wt-theater .wt-kettle-rest{right:7%}.wt-theater .wt-steam{right:calc(7% + 16px)}}
.wt-mascot-test-panel{position:fixed;z-index:1000;top:110px;right:14px;width:min(260px,calc(100vw - 28px));padding:13px;background:#f9f7ec;border:1px solid #8ba078;border-radius:12px;box-shadow:0 6px 22px #1a2e2240;display:flex;flex-wrap:wrap;gap:7px;font:13px/1.4 system-ui,sans-serif;color:#26432d}.wt-mascot-test-panel strong{width:100%;font-size:14px}.wt-mascot-test-panel button{cursor:pointer;border:1px solid #647e50;border-radius:6px;background:#31563c;color:white;padding:8px 10px;font:inherit}.wt-mascot-test-panel button:hover{background:#567b48}.wt-mascot-test-panel small{font-size:11px;line-height:1.4}@media(prefers-reduced-motion:reduce){.wt-theater{display:none!important}.wt-mascot-test-panel{display:none!important}}
/* Takeaway cup begins behind the group, calls out, then runs faster to catch up. */
.wt-theater .wt-parade.wt-parade-late:nth-child(5){animation-name:wt-parade-catchup;animation-duration:11s;animation-delay:2.7s}
.wt-theater .wt-parade-callout{position:absolute;left:25%;bottom:96%;white-space:nowrap;background:#fffdf3;color:#34583c;border:1px solid #78916a;border-radius:14px;padding:5px 9px;font:600 12px/1.2 system-ui,sans-serif;box-shadow:0 2px 6px #17351b22;animation:wt-parade-callout 11s both}
@keyframes wt-parade-catchup{0%{transform:translateX(-150px)}24%{transform:translateX(7vw)}50%{transform:translateX(43vw)}76%{transform:translateX(78vw)}100%{transform:translateX(calc(100vw + 180px))}}
@keyframes wt-parade-callout{0%,8%,32%,100%{opacity:0;transform:scale(.85)}12%,26%{opacity:1;transform:scale(1)}}
@media(max-width:600px){.wt-theater .wt-parade-callout{font-size:10px;padding:4px 6px}}
/* v248: one synchronized procession. Positions, not animation delays, set the lineup. */
.wt-theater .wt-parade{animation:wt-parade-unison 12s linear both;left:0}
.wt-theater .wt-parade:nth-child(1){left:-120px;animation-delay:0s}
.wt-theater .wt-parade:nth-child(2){left:-230px;animation-delay:0s}
.wt-theater .wt-parade:nth-child(3){left:-340px;animation-delay:0s}
.wt-theater .wt-parade:nth-child(4){left:-450px;animation-delay:0s}
.wt-theater .wt-parade.wt-parade-late:nth-child(5){left:-590px;animation:wt-parade-cup-catch 12s linear both;animation-delay:0s}
@keyframes wt-parade-unison{from{transform:translateX(0)}to{transform:translateX(calc(100vw + 650px))}}
@keyframes wt-parade-cup-catch{
0%{transform:translateX(0)}
29%,44%{transform:translateX(calc((100vw + 650px)*.29 + 10px))}
70%{transform:translateX(calc((100vw + 650px)*.70 + 30px))}
100%{transform:translateX(calc(100vw + 680px))}
}
.wt-theater .wt-parade-callout{left:4px;bottom:calc(100% + 8px);z-index:2;animation:wt-parade-cup-say 12s both}
@keyframes wt-parade-cup-say{0%,29%,46%,100%{opacity:0;transform:scale(.85)}32%,43%{opacity:1;transform:scale(1)}}
/* Landscape tablets: bring the late cup fully into view before its speech bubble. */
@media (orientation: landscape) and (min-width: 700px) and (max-width: 1366px) {
 .wt-theater .wt-parade.wt-parade-late:nth-child(5){animation-name:wt-parade-cup-catch-tablet}
}
@keyframes wt-parade-cup-catch-tablet{
 0%{transform:translateX(0)}
 29%,44%{transform:translateX(calc((100vw + 650px)*.29 + 55px))}
 70%{transform:translateX(calc((100vw + 650px)*.70 + 30px))}
 100%{transform:translateX(calc(100vw + 680px))}
}
/* Portrait phones: tighter parade spacing and a fully visible late-cup pause. */
@media (max-width: 600px) and (orientation: portrait) {
 .wt-theater .wt-parade:nth-child(1){left:-75px}
 .wt-theater .wt-parade:nth-child(2){left:-145px}
 .wt-theater .wt-parade:nth-child(3){left:-215px}
 .wt-theater .wt-parade:nth-child(4){left:-285px}
 .wt-theater .wt-parade.wt-parade-late:nth-child(5){left:-355px;animation-name:wt-parade-cup-catch-phone}
 .wt-theater .wt-parade-callout{left:0;bottom:calc(100% + 5px);animation-name:wt-parade-cup-say-phone}
}
@keyframes wt-parade-cup-catch-phone {
 0%{transform:translateX(0)}
 38%,48%{transform:translateX(calc((100vw + 650px)*.38))}
 70%{transform:translateX(calc((100vw + 650px)*.70 + 30px))}
 100%{transform:translateX(calc(100vw + 680px))}
}
@keyframes wt-parade-cup-say-phone {
 0%,38%,50%,100%{opacity:0;transform:scale(.85)}
 40%,47%{opacity:1;transform:scale(1)}
}
/* Touchscreen-only responsive parade: same story, visible pause, then catch-up.
   Desktop choreography remains untouched. */
@media (pointer:coarse) and (max-width:900px) and (orientation:portrait) {
 .wt-theater .wt-parade.wt-parade-late:nth-child(5) {
   /* Fourth mascot starts at -450px on tablets; cup must begin BEHIND it. */
   left:-590px;
   animation-name:wt-touch-cup-catch;
 }
 .wt-theater .wt-parade-callout {
   animation-name:wt-touch-cup-say;
   left:0;
   bottom:calc(100% + 7px);
   font-size:clamp(10px,2.6vw,13px);
   max-width:calc(100vw - 24px);
 }
}
/* Valid viewport-length arithmetic; never overtake fourth mascot.
   Pause occurs only after the trailing mascot is visibly on screen. */
@keyframes wt-touch-cup-catch {
  0%{transform:translateX(0)}
  /* Deliberately lose ground; 4th mascot is at -450px. */
  58%,68%{transform:translateX(calc(58vw + 205px))}
  /* Run to catch up, but stay 100px behind the 4th mascot. */
  85%{transform:translateX(calc(85vw + 310px))}
  100%{transform:translateX(calc(100vw + 410px))}
}
@keyframes wt-touch-cup-say {
  0%,58%,70%,100%{opacity:0;transform:scale(.88)}
  60%,67%{opacity:1;transform:scale(1)}
}
/* Portrait cup shares the fourth mascot's coordinate system.
   Its own animation only changes trailing distance, never the group's position. */
@media (pointer:coarse) and (max-width:900px) and ((orientation:portrait) or (max-height:500px)) {
 .wt-theater .wt-parade .wt-parade-relative-cup {
   position:absolute;
   left:-150px;
   bottom:0;
   animation:wt-cup-relative-trail 12s linear both;
 }
 .wt-theater .wt-parade .wt-parade-relative-cup .wt-parade-callout {
   animation:wt-touch-cup-say 12s both;
 }
}
@keyframes wt-cup-relative-trail {
  0%,25%{transform:translateX(0)}
  58%,68%{transform:translateX(-85px)}
  85%,100%{transform:translateX(0)}
}
/* Phone landscape: speech remains visible while cup trails the fourth mascot. */
@media (pointer:coarse) and (orientation:landscape) and (max-width:900px) and (max-height:500px) {
 .wt-theater .wt-parade .wt-parade-relative-cup {left:-125px}
 .wt-theater .wt-parade .wt-parade-relative-cup .wt-parade-callout {
   left:0;
   bottom:calc(100% + 4px);
   font-size:11px;
   animation:wt-landscape-cup-say 12s both;
 }
}
@keyframes wt-landscape-cup-say {
  0%,48%,67%,100%{opacity:0;transform:scale(.88)}
  52%,63%{opacity:1;transform:scale(1)}
}
/* Tablets in landscape: pull botanical foliage behind the right-side mascot,
   rather than modifying the approved desktop footer. */
@media (pointer:coarse) and (orientation:landscape) and (min-width:701px) and (max-width:1400px) {
 .site-footer-illustrated .footer-botanical-right {height:72%;opacity:.85}
 .site-footer-illustrated .footer-approved-mason {right:29%;bottom:7%;z-index:3}
 .site-footer-illustrated .footer-cup-right {right:32%;z-index:3}
}
/* Gentle Costa Rican sloth cameo after the parade. */
.wt-theater .wt-sloth-drop{top:-155px;right:clamp(170px,21vw,360px);width:118px;height:130px;animation:wt-sloth-descend 12s ease-in-out both}
.wt-theater .wt-sloth-drop img{animation:wt-sloth-sway 3.2s ease-in-out infinite alternate}
.wt-theater .wt-sloth-quote{position:absolute;right:76%;top:95%;white-space:nowrap;background:#fffdf4;color:#31543a;border:1px solid #819575;border-radius:15px;padding:8px 13px;font:600 13px/1.3 system-ui,sans-serif;box-shadow:0 3px 8px #15331d22;animation:wt-sloth-quote-in 12s both}
@keyframes wt-sloth-descend{0%,100%{transform:translateY(0);opacity:0}20%,75%{transform:translateY(305px);opacity:1}92%{transform:translateY(0);opacity:1}}
@keyframes wt-sloth-sway{from{transform:rotate(-4deg)}to{transform:rotate(4deg)}}
@keyframes wt-sloth-quote-in{0%,30%,75%,100%{opacity:0;transform:scale(.9)}37%,68%{opacity:1;transform:scale(1)}}
@media(max-width:600px){.wt-theater .wt-sloth-drop{right:clamp(115px,25vw,180px);width:100px;height:112px}.wt-theater .wt-sloth-quote{right:50%;top:100%;font-size:11px;padding:7px 9px}}