/* MTM Christmas: styles (served from assets/xmas, cached by the browser) */
/* ---------- 1. Snow ---------- */
.xfx-snow{position:fixed;left:0;top:0;width:100vw;height:100vh;z-index:9990;pointer-events:none;display:block}

/* ---------- 2. MTM Christmas wordmark ---------- */
.xfx-hb{position:absolute;z-index:6;display:flex;align-items:center;width:200px;height:40px;margin:0;
  overflow:hidden;text-decoration:none!important;-webkit-tap-highlight-color:transparent}
.xfx-s{position:absolute;left:0;top:0;right:0;bottom:0;display:flex;flex-direction:column;justify-content:center;
  opacity:0;transform:translateY(70%);transition:transform .5s cubic-bezier(.2,.8,.2,1),opacity .4s}
.xfx-s.is-on{opacity:1;transform:none}
.xfx-s.is-off{opacity:0;transform:translateY(-70%)}
.xfx-gd{display:flex;flex-direction:row;align-items:center;gap:6px;line-height:1;white-space:nowrap}
.xfx-gd b{display:flex;font-weight:800}
.xfx-gd b.m{font-family:'Poppins','Montserrat',system-ui,sans-serif;font-size:19px;letter-spacing:.04em}
.xfx-gd b.c{font-family:'Playfair Display','Bodoni 72','Didot',Georgia,'Times New Roman',serif;font-style:italic;font-weight:700;font-size:23px;letter-spacing:.005em;margin-left:1px}
.xfx-gd i{font-style:normal;display:inline-block;background-size:260% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;
  animation:xfxShine 3.2s linear 2}
.xfx-gd b.m i{background-image:linear-gradient(100deg,#a8740f 0%,#f2c75a 30%,#fff4cf 44%,#e9b94a 58%,#a8740f 80%,#f2c75a 100%)}
.xfx-gd b.c i{background-image:linear-gradient(100deg,#9e0d20 0%,#d81e34 30%,#f6c344 44%,#d81e34 58%,#9e0d20 80%,#d81e34 100%)}
.xfx-s.is-on .xfx-gd i{animation:xfxPop .6s cubic-bezier(.3,1.5,.5,1) both,xfxShine 3.2s linear 2}
.xfx-holly{flex:0 0 20px;width:20px;height:20px;margin-right:1px;animation:xfxSway 4s ease-in-out 2;transform-origin:50% 70%}
.xfx-l1{font:500 10.5px/1.25 'Inter',system-ui,sans-serif;color:#6b7383;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.xfx-l2{display:flex;align-items:center;gap:5px;min-width:0}
.xfx-l2 span{font:600 12.5px/1.3 'Inter',system-ui,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  background:linear-gradient(100deg,#011e4a 0 36%,#1f7a52 43%,#cfe9dc 50%,#1f7a52 57%,#011e4a 64% 100%);
  background-size:320% 100%;background-position:100% 0;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.xfx-s.is-on .xfx-l2 span{animation:xfxSweep 2.6s ease-in-out .35s 1}
.xfx-l2 em{flex:0 0 14px;width:14px;height:14px;border-radius:50%;background:#c8102e;display:grid;place-items:center}
.xfx-l2 em svg{width:7px;height:7px;fill:none;stroke:#fff;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
@keyframes xfxShine{to{background-position:-160% 0}}
@keyframes xfxSweep{0%{background-position:100% 0}60%,100%{background-position:0 0}}
@keyframes xfxPop{0%{opacity:0;transform:translateY(8px) scale(.6)}100%{opacity:1;transform:none}}
@keyframes xfxSway{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(5deg)}}
.xfx-hb.xfx-sm{height:38px}.xfx-hb.xfx-sm .xfx-gd b.m{font-size:15px}.xfx-hb.xfx-sm .xfx-gd b.c{font-size:18px}.xfx-hb.xfx-sm .xfx-holly{width:16px;height:16px;flex-basis:16px}
.xfx-hb.xfx-xs{overflow:visible}.xfx-hb.xfx-xs .xfx-gd{flex-direction:column;align-items:flex-start;gap:0;line-height:1}
.xfx-hb.xfx-xs .xfx-gd b.m{font-size:12px;letter-spacing:.12em}.xfx-hb.xfx-xs .xfx-gd b.c{font-size:15px}.xfx-hb.xfx-xs .xfx-holly{display:none}
.xfx-hb.xfx-sm .xfx-l1{font-size:10px}.xfx-hb.xfx-sm .xfx-l2 span{font-size:11.5px}

/* ---------- 3. Hanging ornaments in the background of the home banner (menu bar left clean) ---------- */
.xfx-hang{position:absolute;left:0;right:0;top:0;height:190px;z-index:0;pointer-events:none;opacity:.75;overflow:hidden}
.xfx-hang i{position:absolute;top:-2px;display:block;transform-origin:50% 0;animation:xfxSwing 6s ease-in-out infinite}
.xfx-hang i:before{content:"";position:absolute;left:50%;top:0;width:1px;height:var(--l);margin-left:-.5px;background:linear-gradient(#c9a24a00,#c9a24a 30%,#c9a24a)}
.xfx-hang svg{position:absolute;left:50%;top:var(--l);display:block;overflow:visible}
.xfx-hang .tw{animation:xfxTw 3.2s ease-in-out infinite;transform-origin:center;transform-box:fill-box}
@keyframes xfxSwing{0%,100%{transform:rotate(-3.5deg)}50%{transform:rotate(3.5deg)}}
@keyframes xfxTw{0%,100%{opacity:.2;transform:scale(.6)}50%{opacity:1;transform:scale(1)}}
.xfx-paused .xfx-hang i,.xfx-paused .xfx-hang .tw{animation-play-state:paused}

/* ---------- 4. Home banner: frost, bokeh, snow drift ---------- */
.xfx-bokeh{position:absolute;border-radius:50%;pointer-events:none;opacity:.55;animation:xfxFloat 9s ease-in-out infinite;will-change:transform}
@keyframes xfxFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
.xfx-drift{position:absolute;left:0;right:0;bottom:-1px;height:38px;z-index:1;pointer-events:none;display:block}

body.xfx-on section.mh.xfx-words .mh-rot span{background-image:linear-gradient(90deg,#d81e34 0%,#b3122b 55%,#c8902a 100%)}

/* ---------- 5. MTM Club banner: snow on the top edge ---------- */
.xfx-cap{position:absolute;left:-2px;right:-2px;top:-3px;height:26px;z-index:3;pointer-events:none;display:block}

.xfx-hb[style*="visibility: hidden"] *{animation:none!important}

/* ---------- 6. Trees, gifts and Santa caps in the side margins, banner to footer ---------- */
.xfx-gut{position:absolute;left:0;top:0;width:100%;height:0;z-index:4;pointer-events:none;overflow:visible}
.xfx-gp{position:absolute;display:block;will-change:transform}
.xfx-gp svg{display:block;width:100%;height:100%}
.xfx-gp.tree{animation:xfxSwayT 6s ease-in-out infinite;transform-origin:50% 100%}
.xfx-gp.gift{animation:xfxGift 5.2s ease-in-out infinite;transform-origin:50% 90%}
.xfx-gp.cap{animation:xfxCap 4.6s ease-in-out infinite;transform-origin:30% 85%}
.xfx-gp.off{animation-play-state:paused}
@keyframes xfxSwayT{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}
@keyframes xfxGift{0%,100%{transform:translateY(0) rotate(-6deg)}50%{transform:translateY(-8px) rotate(6deg)}}
@keyframes xfxCap{0%,100%{transform:rotate(-10deg)}50%{transform:rotate(8deg) translateY(-4px)}}
/* ---------- 8. Christmas pattern in the page background (behind every section) ---------- */
.xfx-bg{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;opacity:0;transition:opacity 1.2s}
.xfx-bg.on{opacity:1}
.xfx-bgm{position:absolute;display:block;will-change:transform;animation:xfxTurn 160s linear infinite}
.xfx-bgm.b{animation-duration:210s;animation-direction:reverse}
.xfx-bgm svg{display:block;width:100%;height:100%}
@keyframes xfxTurn{to{transform:rotate(360deg)}}
@media (max-width:767.98px){.xfx-bgm.c{display:none}}
.xfx-cf{display:inline-block;width:12px;height:12px;margin-right:6px;vertical-align:-1px;flex:none}
.xfx-trees{position:absolute;bottom:2px;z-index:1;pointer-events:none;display:flex;align-items:flex-end;gap:2px}
.xfx-trees.l{left:max(12px,calc(50% - 700px))}.xfx-trees.r{right:max(12px,calc(50% - 700px))}
.xfx-trees i{display:block;width:34px;height:46px;animation:xfxSwayT 6s ease-in-out infinite;transform-origin:50% 100%}
.xfx-trees i.s{width:24px;height:32px;animation-delay:-2s}
.xfx-trees svg{display:block;width:100%;height:100%}
@media (max-width:1279.98px){.xfx-prop{width:76px;height:76px}.xfx-prop.l{left:8px;top:18px}.xfx-prop.r{right:8px;bottom:18px}}
@media (max-width:767.98px){.xfx-prop{width:46px;height:46px;opacity:.9}.xfx-prop.l{left:4px;top:6px}.xfx-prop.r{right:4px;bottom:auto;top:6px}
  .xfx-trees i{width:24px;height:32px}.xfx-trees i.s{width:17px;height:23px}}
@media (prefers-reduced-motion:reduce){.xfx-prop,.xfx-trees i{animation:none!important}}

/* ---------- 7. Peeking Santa (right edge of the screen) ---------- */
.xfx-santa{position:fixed;right:0;top:38vh;width:112px;z-index:9980;pointer-events:none;transform:translateX(108%);transform-origin:100% 60%;will-change:transform;
  filter:drop-shadow(-4px 8px 10px rgba(60,10,10,.25))}
.xfx-santa img{display:block;width:100%!important;max-width:none!important;height:auto!important;transform:scaleX(-1);border:0!important;padding:0!important;margin:0!important;background:none!important;box-shadow:none!important;border-radius:0!important;outline:0!important} /* 19 Nov: the website theme adds a 1px white border to every picture; removed here */
.xfx-santa.is-in{animation:xfxPeek 5.8s cubic-bezier(.4,0,.2,1) both}
.xfx-lid{position:absolute;width:13.2%;height:6.4%;border-radius:50%;background:#f0c2a5;box-shadow:inset 0 -2px 0 rgba(170,100,70,.35);transform:scaleY(0);transform-origin:50% 0}
.xfx-lid.a{left:55.7%;top:24.3%;transform:scaleY(0) rotate(20deg)}
.xfx-lid.b{left:41.4%;top:29.8%;transform:scaleY(0) rotate(20deg)}
.xfx-santa.is-in .xfx-lid{animation:xfxBlink .22s ease-in-out 1.3s 1,xfxBlink .22s ease-in-out 3.1s 1,xfxBlink .22s ease-in-out 3.5s 1}
/* v5: Santa stays 18% behind the screen edge and only leans 2 degrees, so his cut side never shows */
@keyframes xfxPeek{0%{transform:translateX(108%) rotate(0)}16%{transform:translateX(16%) rotate(0)}22%{transform:translateX(18%) rotate(0)}
  32%{transform:translateX(18%) rotate(-2deg)}44%{transform:translateX(18%) rotate(1.5deg)}56%{transform:translateX(18%) rotate(-1deg)}66%{transform:translateX(18%) rotate(0)}
  84%{transform:translateX(18%) rotate(0)}100%{transform:translateX(108%) rotate(0)}}
@keyframes xfxBlink{0%,100%{transform:scaleY(0) rotate(20deg)}50%{transform:scaleY(1) rotate(20deg)}}
@media (max-width:767.98px){.xfx-santa{width:76px;top:30vh}}
@media (prefers-reduced-motion:reduce){.xfx-santa{display:none}}
@media (prefers-reduced-motion:reduce){.xfx-gd i,.xfx-l2 span,.xfx-holly,.xfx-hang i,.xfx-hang .tw,.xfx-bokeh,.xfx-bgm,.xfx-gp{animation:none!important}}

/* ---------- v7: Christmas around the world ---------- */
.xfx-drift,.xfx-trees{display:none!important}
.xfx-land{position:absolute;left:0;right:0;bottom:-1px;height:100px;z-index:0;pointer-events:none}
.xfx-land svg{display:block;width:100%;height:100%}
.xfx-sleigh{position:absolute;left:0;top:10px;width:260px;height:60px;z-index:8;pointer-events:none;opacity:0;will-change:transform,opacity;filter:drop-shadow(0 0 6px rgba(255,255,255,.95)) drop-shadow(0 6px 10px rgba(19,48,94,.18))}
.xfx-sleigh svg{display:block;overflow:visible}
.xfx-sleigh.go{animation:xfxFly 12s cubic-bezier(.42,.05,.58,.95) forwards}
.xfx-sleigh.go svg{animation:xfxBob .7s ease-in-out infinite alternate}
.xfx-sleigh .xfx-trail circle{animation:xfxSpark 1s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
.xfx-sleigh .xfx-trail circle:nth-child(2n){animation-delay:-.5s}
.xfx-nose{animation:xfxNose 1.2s ease-in-out infinite}
@keyframes xfxFly{0%{opacity:0;transform:translate(-300px,46px) rotate(-5deg)}6%{opacity:1}50%{transform:translate(calc(50vw - 130px),6px) rotate(-2deg)}92%{opacity:1}100%{opacity:0;transform:translate(calc(100vw + 60px),0) rotate(-4deg)}}
@keyframes xfxBob{to{transform:translateY(-4px)}}
@keyframes xfxSpark{0%,100%{opacity:.15;transform:scale(.5)}50%{opacity:1;transform:scale(1.3)}}
@keyframes xfxNose{0%,100%{opacity:.55}50%{opacity:1}}
.xfx-vil{position:relative;height:214px;margin-top:6px;pointer-events:none;overflow:hidden}
.xfx-vil svg{position:absolute;left:0;bottom:0;width:100%;height:170px;display:block}
.xfx-vil-t{position:absolute;left:0;right:0;top:2px;text-align:center;line-height:1.3}
.xfx-vil-t b{display:block;font:italic 700 27px/1.2 'Playfair Display','Bodoni 72',Georgia,serif;color:#a50d26;letter-spacing:.005em}
.xfx-vil-t span{display:block;margin-top:3px;font:700 11.5px/1.5 Poppins,system-ui,sans-serif;color:#1e6b4b;letter-spacing:.16em;text-transform:uppercase}
.xfx-vil .tw{animation:xfxTw 3.2s ease-in-out infinite;transform-origin:center;transform-box:fill-box}
.xfx-vil .xfx-star{animation:xfxStarG 2.6s ease-in-out infinite;transform-origin:center;transform-box:fill-box}
@keyframes xfxStarG{0%,100%{opacity:.8;transform:scale(.92)}50%{opacity:1;transform:scale(1.14)}}
.xfx-paused .tw,.xfx-paused .xfx-star{animation-play-state:paused}
.xfx-sc{position:absolute;left:8px;right:8px;top:-5px;height:15px;z-index:6;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M0 7C12 1 30 3 52 3S92 0 122 2 172 1 200 6V9C192 11 187 9 183 10 179 15 175 15 173 10 151 12 131 9 111 11 107 16 102 16 100 11 81 13 61 10 41 12 37 14 34 14 32 11 21 12 11 10 0 10Z' fill='%23fff' stroke='%23d9e3f0' stroke-width='.8'/%3E%3Cpath d='M8 6C40 3 80 4 120 3' stroke='%23eef3fa' stroke-width='1.4' fill='none'/%3E%3C/svg%3E") center top/100% 100% no-repeat}
.xfx-sc.b{transform:scaleX(-1)}.xfx-sc.c{left:14px;right:22px}
.xfx-bow{position:absolute;top:-6px;right:20px;width:64px;height:44px;z-index:7;pointer-events:none;transform-origin:50% 40%;animation:xfxBowB 5s ease-in-out infinite}
.xfx-bow svg{display:block;width:100%;height:100%;overflow:visible}
@keyframes xfxBowB{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}
@media (max-width:767.98px){.xfx-sleigh{top:6px}.xfx-sleigh svg{width:170px;height:39px}.xfx-land{height:64px}
  .xfx-vil{height:156px}.xfx-vil svg{height:118px}.xfx-vil-t b{font-size:19px}.xfx-vil-t span{font-size:9.5px;letter-spacing:.1em}.xfx-bow{width:46px;height:32px;right:12px}}
@media (prefers-reduced-motion:reduce){.xfx-sleigh{display:none}.xfx-vil .tw,.xfx-vil .xfx-star,.xfx-bow{animation:none!important}}

/* ---------- v9: header touches (every page) ---------- */
.xfx-hat{position:absolute;z-index:30;pointer-events:none;display:block;filter:drop-shadow(0 1.5px 1.5px rgba(120,10,20,.16))}
.xfx-hat svg{display:block;width:100%;height:100%;overflow:visible}
.xfx-scap{position:absolute;z-index:30;height:11px;pointer-events:none;display:block;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M0 6C14 1 36 2 60 2S104 0 136 1 182 1 200 5V7C192 9 188 7 184 8 181 12 177 12 175 8 152 9 132 7 112 8 109 12 104 12 102 8 82 9 62 7 42 9 39 11 36 11 34 8 22 9 12 7 0 7Z' fill='%23fff' stroke='%23d9e3f0' stroke-width='.7'/%3E%3C/svg%3E") center top/100% 100% no-repeat}
.xfx-hline{position:absolute;left:0;right:0;bottom:0;height:2px;z-index:29;pointer-events:none;display:block;overflow:hidden;opacity:.9;
  background:linear-gradient(90deg,rgba(200,16,46,0) 0,#c8102e 18%,#d4a43c 50%,#1e6b4b 82%,rgba(30,107,75,0) 100%)}
.xfx-hline:after{content:"";position:absolute;top:0;bottom:0;left:0;width:22%;background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,248,220,.95),rgba(255,255,255,0));transform:translateX(-120%);animation:xfxLine 7s ease-in-out infinite}
@keyframes xfxLine{0%,40%{transform:translateX(-120%)}100%{transform:translateX(560%)}}
@media (prefers-reduced-motion:reduce){.xfx-hline:after{animation:none}}

/* v10: Santa's sleigh passes over the headline area but behind the destination cards and Ji-Ju */
body.xfx-on section.mh .mh-in > .xfx-sleigh{z-index:2}
body.xfx-on section.mh .mh-deckw{position:relative;z-index:3}
body.xfx-on section.mh .mh-jj{position:relative;z-index:3}
/* v12: living sleigh — gallop, nodding heads, waving Santa, glowing nose, twinkling rein lights and sparkles (only while flying) */
.xfx-sleigh.go .xfx-lf,.xfx-sleigh.go .xfx-lb{transform-box:fill-box;animation:xfxLegF .42s ease-in-out infinite alternate}
.xfx-sleigh.go .xfx-lf{transform-origin:20% 10%}.xfx-sleigh.go .xfx-lb{transform-origin:80% 10%;animation-name:xfxLegB}
@keyframes xfxLegF{0%{transform:rotate(-22deg)}100%{transform:rotate(18deg)}}
@keyframes xfxLegB{0%{transform:rotate(20deg)}100%{transform:rotate(-24deg)}}
.xfx-sleigh.go .xfx-deer{animation:xfxGal .42s ease-in-out infinite alternate}
@keyframes xfxGal{0%{transform:translateY(0)}100%{transform:translateY(-2.5px)}}
.xfx-sleigh.go .xfx-head{transform-box:fill-box;transform-origin:10% 90%;animation:xfxHead .42s ease-in-out infinite alternate}
@keyframes xfxHead{0%{transform:rotate(-5deg)}100%{transform:rotate(5deg)}}
.xfx-sleigh.go .xfx-wave{transform-box:fill-box;transform-origin:0% 100%;animation:xfxWave .5s ease-in-out infinite alternate}
@keyframes xfxWave{0%{transform:rotate(-14deg)}100%{transform:rotate(16deg)}}
.xfx-sleigh.go .xfx-nglow{animation:xfxNose2 1.1s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
@keyframes xfxNose2{0%,100%{opacity:.45;transform:scale(.8)}50%{opacity:1;transform:scale(1.25)}}
.xfx-sleigh.go .xfx-bulb2,.xfx-sleigh.go .xfx-bell{animation:xfxBl .8s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
@keyframes xfxBl{0%,100%{opacity:.35}50%{opacity:1}}
.xfx-sleigh.go .xfx-trail path{animation:xfxSpark2 1s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
@keyframes xfxSpark2{0%,100%{opacity:.15;transform:scale(.5) rotate(0)}50%{opacity:1;transform:scale(1.2) rotate(45deg)}}
@media (max-width:767.98px){.xfx-sleigh svg{width:180px;height:44px}}

/* v14 phones (iPhone and Android): small corner pieces in each section */
.xfx-gpm{width:34px;height:34px;opacity:.95}
.mh.xfx-words{overflow-x:clip}
@media (max-width:767.98px){.xfx-vil-t{padding:0 12px}.xfx-vil-t b{font-size:clamp(14px,4.3vw,19px)!important;white-space:normal}.xfx-vil-t span{font-size:clamp(8px,2.3vw,9.5px)!important}}
