/* Christmas decorations on the homepage (inc/christmas.php). This file only loads while they're
   switched on (wp-admin → Homepage → Christmas). Everything here is decoration: it never takes clicks
   away from the page, except the few characters that say hello when tapped (assets/js/christmas.js).
   Only transform and opacity ever move, so the browser can animate it all off the main thread, and
   the many small things (bulbs, snowflakes, sparkles, snow on the cards) are plain CSS, not pictures. */

/* ---------- Shared ---------- */
.ldr-xmas .ldr-root { overflow-x: clip; } /* Nothing that peeks out sideways can add a scrollbar. */
.ldr-xm { position: absolute; z-index: 2; display: block; line-height: 0; pointer-events: none; -webkit-user-select: none; user-select: none; }
.ldr-xm-art { display: block; width: 100%; height: auto; overflow: visible; }
[data-ldr-tap] { pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }

/* Speech bubbles: some pop up on their own, all of them when the character is tapped. */
.ldr-xm-say { position: absolute; bottom: calc(100% + 8px); left: 50%; z-index: 3; padding: 7px 12px 8px; border-radius: 14px; background: #fff; color: var(--ldr-ink); font: 800 13px/1.1 var(--ldr-font); letter-spacing: 0; white-space: nowrap; box-shadow: 0 8px 24px rgba(24, 82, 58, .22); opacity: 0; translate: -50% 0; scale: .5; transform-origin: 50% 100%; transition: opacity .2s, scale .3s var(--ldr-ease); pointer-events: none; }
.ldr-xm-say::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: #fff; }
.is-tap > .ldr-xm-say { opacity: 1; scale: 1; animation: none !important; }
.is-tap > .ldr-xm-art { animation: ldr-xm-jump .7s var(--ldr-ease); }

/* Little moves the drawings make by themselves. */
.ldr-xm-blink { transform-box: fill-box; transform-origin: 50% 50%; animation: ldr-xm-blink 5.4s infinite; }
.ldr-xm-glow { transform-box: fill-box; transform-origin: 50% 50%; animation: ldr-xm-glow 2.2s ease-in-out infinite; }
.ldr-xm-halo { transform-box: fill-box; transform-origin: 50% 50%; animation: ldr-xm-glow 2.8s ease-in-out infinite; }
.ldr-xm-tw { animation: ldr-xm-tw 2.6s ease-in-out infinite; }
.ldr-xm-tw--2 { animation-delay: -.9s; }
.ldr-xm-tw--3 { animation-delay: -1.7s; }
.ldr-xm-beat { transform-box: fill-box; transform-origin: 50% 50%; animation: ldr-xm-beat 1.8s ease-in-out infinite; }
.ldr-xm-wave { transform-box: fill-box; animation: ldr-xm-wave .9s ease-in-out infinite alternate; }
.ldr-xm-wave--santa, .ldr-xm-wave--twig { transform-origin: 0 100%; }
.ldr-xm-wave--flip { transform-origin: 100% 25%; animation-duration: .7s; }
.ldr-xm-wave--arm { transform-origin: 0 90%; }
.ldr-xm-star { width: 14px; aspect-ratio: 1; z-index: 0; color: #F5B83D; background: currentColor; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: ldr-xm-star 3s ease-in-out infinite; }

/* Falling snow: each flake is a tall, thin strip with the flake at its top; the strip moves down
   by its own height (the whole section), drifting sideways, and the big snowflakes sway as they fall. */
.ldr-xm-snow { inset: 0; z-index: 0; overflow: hidden; }
.ldr-xm-snow i { position: absolute; top: 0; width: var(--s); height: 100%; animation: ldr-xm-fall var(--t) linear var(--d) infinite; }
.ldr-xm-snow i::before { content: ""; position: absolute; top: 0; left: 0; width: var(--s); height: var(--s); border-radius: 50%; background: #fff; opacity: .85; }
.ldr-xm-snow i:nth-child(6n+1)::before { animation: ldr-xm-sway 3.2s ease-in-out var(--d) infinite alternate; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17 20.7 7M9 4l3 2.5L15 4M9 20l3-2.5 3 2.5M3.5 10.5l3.9-1.1-.8-3.9M20.5 13.5l-3.9 1.1.8 3.9M3.5 13.5l3.9 1.1-.8 3.9M20.5 10.5l-3.9-1.1.8-3.9'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .9; }
/* On the light hero, the flakes get a soft blue edge so they show. */
.ldr-xm-snow--hero i::before { box-shadow: 0 0 0 1px rgba(150, 176, 212, .45), 0 1px 3px rgba(120, 150, 196, .4); opacity: 1; }
.ldr-xm-snow--hero i:nth-child(6n+1)::before { box-shadow: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 26 26' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17 20.7 7M9 4l3 2.5L15 4M9 20l3-2.5 3 2.5M3.5 10.5l3.9-1.1-.8-3.9M20.5 13.5l-3.9 1.1.8 3.9M3.5 13.5l3.9 1.1-.8 3.9M20.5 10.5l-3.9-1.1.8-3.9' stroke='%23A9BCD8' stroke-width='3.8'/%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17 20.7 7M9 4l3 2.5L15 4M9 20l3-2.5 3 2.5M3.5 10.5l3.9-1.1-.8-3.9M20.5 13.5l-3.9 1.1.8 3.9M3.5 13.5l3.9 1.1-.8 3.9M20.5 10.5l-3.9-1.1.8-3.9' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E"); }

/* Each flake's place, size, fall time, start and sideways drift (every sixth is a big snowflake). */
.ldr-xm-snow i:nth-child(1) { left: 2.8%; --s: 11.5px; --t: 12.2s; --d: -0.3s; --x: -22px; }
.ldr-xm-snow i:nth-child(2) { left: 32.1%; --s: 7.1px; --t: 15.9s; --d: -2.7s; --x: 17px; }
.ldr-xm-snow i:nth-child(3) { left: 61.7%; --s: 6.8px; --t: 13.1s; --d: -8.2s; --x: 24px; }
.ldr-xm-snow i:nth-child(4) { left: 89.3%; --s: 3.5px; --t: 16.2s; --d: -7.2s; --x: -6px; }
.ldr-xm-snow i:nth-child(5) { left: 20%; --s: 4.3px; --t: 14.7s; --d: -4.2s; --x: -1px; }
.ldr-xm-snow i:nth-child(6) { left: 46.8%; --s: 7.4px; --t: 10.2s; --d: -0.4s; --x: 21px; }
.ldr-xm-snow i:nth-child(7) { left: 77%; --s: 11.6px; --t: 17.7s; --d: -5.6s; --x: 7px; }
.ldr-xm-snow i:nth-child(8) { left: 7.6%; --s: 5.2px; --t: 16.3s; --d: -15.2s; --x: 24px; }
.ldr-xm-snow i:nth-child(9) { left: 34.5%; --s: 4.3px; --t: 16s; --d: -15.3s; --x: 24px; }
.ldr-xm-snow i:nth-child(10) { left: 65.7%; --s: 4.7px; --t: 10.7s; --d: -8.9s; --x: -6px; }
.ldr-xm-snow i:nth-child(11) { left: 92.1%; --s: 5.8px; --t: 15.1s; --d: -14.7s; --x: 19px; }
.ldr-xm-snow i:nth-child(12) { left: 22.2%; --s: 4.5px; --t: 13.3s; --d: -2.7s; --x: 29px; }
.ldr-xm-snow i:nth-child(13) { left: 52.9%; --s: 13.8px; --t: 11.7s; --d: -7.3s; --x: -4px; }
.ldr-xm-snow i:nth-child(14) { left: 79.4%; --s: 3.2px; --t: 17.8s; --d: -15.7s; --x: -8px; }
.ldr-xm-snow i:nth-child(15) { left: 11.9%; --s: 4.6px; --t: 15s; --d: -10.3s; --x: -30px; }
.ldr-xm-snow i:nth-child(16) { left: 40.2%; --s: 4.5px; --t: 18.2s; --d: -12.4s; --x: 33px; }
.ldr-xm-snow i:nth-child(17) { left: 66.9%; --s: 3.3px; --t: 14.5s; --d: -9.6s; --x: 22px; }
.ldr-xm-snow i:nth-child(18) { left: 97.6%; --s: 5px; --t: 13.3s; --d: -8.7s; --x: -3px; }
.ldr-xm-snow i:nth-child(19) { left: 28.8%; --s: 10.6px; --t: 18.9s; --d: -17.9s; --x: -21px; }
.ldr-xm-snow i:nth-child(20) { left: 56.9%; --s: 3.1px; --t: 15s; --d: -3.8s; --x: 33px; }
.ldr-xm-snow i:nth-child(21) { left: 84.4%; --s: 5.8px; --t: 12.1s; --d: -0.2s; --x: 16px; }
.ldr-xm-snow i:nth-child(22) { left: 15.3%; --s: 5.8px; --t: 11s; --d: -7s; --x: 27px; }
.ldr-xm-snow i:nth-child(23) { left: 44.7%; --s: 4.9px; --t: 12.5s; --d: -12s; --x: -24px; }
.ldr-xm-snow i:nth-child(24) { left: 71%; --s: 5.9px; --t: 13.6s; --d: -13.5s; --x: -26px; }

/* Snow lying on top of a card. */
.ldr-xm-cap { top: -10px; left: 12px; right: 12px; height: 22px; z-index: 3; border-radius: 12px 12px 4px 4px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 22' preserveAspectRatio='none'%3E%3Cpath d='M0 8.5C5 3 11 3 16 7c5-6 15-6 20-1 5-4 12-4 16 1 4-3 8-3 12 1.5V15c-4 0-6 2-7 5-1 2.4-4 2.4-5 0-2-4-6-5-12-4s-10-1-14-2-8 4-10 7c-1 1.4-4 1.4-4-1 0-3-4-5-12-5z' fill='%23fff'/%3E%3Cpath d='M0 12.5c8 0 12 2 12 5M16 18.5c2-3 6-7 10-6.4s8 3 14 2 10 0 12 4M57 17.5c1-3 3-5 7-5' fill='none' stroke='%23E1E9F4' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / auto 100% repeat-x; filter: drop-shadow(0 2px 1.5px rgba(110, 135, 175, .22)); }

/* ---------- Logo: a Santa hat ---------- */
.ldr-xmas .ldr-brand { position: relative; }
.ldr-xm-hat { left: -15px; top: -19px; width: 40px; rotate: -20deg; transform-origin: 40% 90%; animation: ldr-xm-tip 7s ease-in-out infinite; }
.ldr-brand--sm .ldr-xm-hat { left: -12px; top: -12px; width: 32px; }

/* ---------- Hero ---------- */
.ldr-xmas .ldr-hero { padding-top: calc(clamp(45px, 6vw, 72px) + clamp(30px, 3.8vw, 46px)); background: radial-gradient(900px 520px at 88% 0%, #FFE3E8 0%, rgba(255, 227, 232, 0) 70%), radial-gradient(700px 420px at 0% 100%, #E2F3E9 0%, rgba(226, 243, 233, 0) 70%); }
.ldr-xmas .ldr-hero__blob--b { background: radial-gradient(circle, #DCF0E4 0%, rgba(220, 240, 228, 0) 70%); }
.ldr-xmas .ldr-hero__heart:nth-child(3), .ldr-xmas .ldr-hero__heart:nth-child(6) { color: #2F9B62; }
.ldr-xmas .ldr-hero__heart:nth-child(5) { color: #F2A93B; }
.ldr-xmas .ldr-kicker__ic { background: #E1F3E8; }
.ldr-xmas .ldr-kicker__ic .ldr-xm-art { width: 19px; transform-origin: 50% 90%; animation: ldr-xm-wobble 2.6s ease-in-out infinite; }

/* String lights across the top: bulbs whose glow runs along the wire. */
.ldr-xm-lights { top: 0; left: 0; right: 0; height: clamp(60px, 7vw, 88px); z-index: 0; }
.ldr-xm-lights__wire { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ldr-xm-lights i { --c: #FF4D6A; position: absolute; width: clamp(9px, .95vw, 12px); height: clamp(15px, 1.6vw, 20px); translate: -50% -2px; }
.ldr-xm-lights i::before { content: ""; position: absolute; top: 0; left: 50%; width: 56%; height: 30%; translate: -50% 0; border-radius: 2px 2px 1px 1px; background: #2F5A3F; }
.ldr-xm-lights i::after { content: ""; position: absolute; top: 24%; left: 0; right: 0; bottom: 0; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%; background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .9) 0 15%, rgba(255, 255, 255, 0) 17%), var(--c); box-shadow: inset 0 -2px 3px rgba(0, 0, 0, .16); }
.ldr-xm-lights b { position: absolute; left: 50%; top: 62%; width: 320%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, var(--c), transparent); opacity: .15; animation: ldr-xm-bulb 2.4s ease-in-out -2.4s infinite; }
.ldr-xm-lights i:nth-of-type(5n+2) { --c: #FFC23D; }
.ldr-xm-lights i:nth-of-type(5n+3) { --c: #36C77A; }
.ldr-xm-lights i:nth-of-type(5n+4) { --c: #4FAEFF; }
.ldr-xm-lights i:nth-of-type(5n) { --c: #FF7FC8; }
/* The glow runs along the string: each bulb lights up a moment after the one before it. */
.ldr-xm-lights i:nth-of-type(8n+2) b { animation-delay: -2.1s; }
.ldr-xm-lights i:nth-of-type(8n+3) b { animation-delay: -1.8s; }
.ldr-xm-lights i:nth-of-type(8n+4) b { animation-delay: -1.5s; }
.ldr-xm-lights i:nth-of-type(8n+5) b { animation-delay: -1.2s; }
.ldr-xm-lights i:nth-of-type(8n+6) b { animation-delay: -.9s; }
.ldr-xm-lights i:nth-of-type(8n+7) b { animation-delay: -.6s; }
.ldr-xm-lights i:nth-of-type(8n) b { animation-delay: -.3s; }
.ldr-xm-lights--narrow { display: none; }

/* Santa's sleigh crosses now and then, behind the words and photos. */
.ldr-xm-ride { top: 12%; left: 0; z-index: 0; width: clamp(100px, 10vw, 142px); translate: -110% 0; animation: ldr-xm-ride 24s linear -3s infinite; }
.ldr-xm-bob { display: block; animation: ldr-xm-bob 1.6s ease-in-out infinite alternate; }

.ldr-xm-star--1 { top: 34%; left: 2.5%; }
.ldr-xm-star--2 { top: 62%; left: 44%; width: 11px; color: #9BD3B4; animation-delay: -1s; }
.ldr-xm-star--3 { top: 21%; left: 52%; width: 16px; animation-delay: -2s; }
.ldr-xm-star--4 { top: 88%; left: 8%; width: 12px; color: #FF9FB0; animation-delay: -.5s; }
.ldr-xm-star--5 { top: 90%; left: 62%; width: 13px; animation-delay: -1.6s; }

/* A reindeer that peeks out from behind the video, and presents on the corner of the photos. */
.ldr-xm-peek { top: 0; left: 12%; width: clamp(66px, 7vw, 92px); z-index: 0; translate: 0 -58%; animation: ldr-xm-peek 10s ease-in-out infinite; }
.ldr-xm-peek > .ldr-xm-say { animation: ldr-xm-say 10s infinite; }
.ldr-xm-gifts { display: flex; align-items: flex-end; }
.ldr-xm-gifts--hero { right: -14px; bottom: -22px; z-index: 3; }
.ldr-xm-gift { position: relative; display: block; }
.ldr-xm-gift > .ldr-xm-art { position: relative; }
.ldr-xm-gift--big { width: clamp(62px, 6.4vw, 84px); transform-origin: 50% 100%; animation: ldr-xm-wobble 3.6s ease-in-out infinite; }
.ldr-xm-gift--small { width: clamp(38px, 3.9vw, 50px); margin-left: -8px; transform-origin: 50% 100%; animation: ldr-xm-hop 5.5s infinite; }
.ldr-xm-gifts--hero .ldr-xm-say { left: auto; right: 0; translate: 0 0; transform-origin: 80% 100%; }
.ldr-xm-gifts--hero .ldr-xm-say::after { left: auto; right: 22px; }
.ldr-xm-lid { transform-box: fill-box; transform-origin: 0 100%; transition: transform .45s var(--ldr-ease); }
.is-tap .ldr-xm-lid { transform: translate(-4px, -18px) rotate(-20deg); }
.ldr-xm-pop { opacity: 0; }
.is-tap .ldr-xm-pop { animation: ldr-xm-pop 1.8s ease-out; }

/* ---------- Reels: mistletoe ---------- */
.ldr-xmas .ldr-band--reels { position: relative; }
.ldr-xm-mistletoe { top: 0; right: clamp(24px, 13vw, 200px); width: clamp(54px, 5.4vw, 72px); transform-origin: 50% 0; animation: ldr-xm-swing 3.6s ease-in-out infinite alternate; }
.ldr-xm-mistletoe i { position: absolute; top: 60%; left: 50%; font: normal 14px/1 var(--ldr-font); color: #FF6F8A; opacity: 0; animation: ldr-xm-float 4.5s ease-out infinite; }
.ldr-xm-mistletoe i:nth-of-type(2) { left: 26%; font-size: 11px; color: #E2384D; animation-delay: 1.5s; }
.ldr-xm-mistletoe i:nth-of-type(3) { left: 74%; font-size: 12px; animation-delay: 3s; }

/* ---------- Numbers band: a winter night ---------- */
.ldr-xmas .ldr-stats { background: radial-gradient(60% 120% at 92% 0%, rgba(255, 233, 170, .2), rgba(255, 233, 170, 0) 70%), linear-gradient(135deg, #1E7B55 0%, #15603F 55%, #0E4530 100%); box-shadow: 0 24px 60px rgba(14, 69, 48, .3); }
.ldr-xmas .ldr-stats__item { position: relative; z-index: 1; }
.ldr-xmas .ldr-stats__label { color: #FFE2A6; }
.ldr-xm-moon { top: 12px; right: 3.5%; width: clamp(56px, 6.4vw, 88px); z-index: 0; animation: ldr-xm-hover 5s ease-in-out infinite alternate; }
.ldr-xm-moon::before { content: ""; position: absolute; inset: -40%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 236, 170, .32), rgba(255, 236, 170, 0)); }
.ldr-xm-pines { bottom: 0; z-index: 0; color: #0B3826; }
.ldr-xm-pines--l { left: 1%; width: clamp(48px, 5.2vw, 76px); }
.ldr-xm-pines--r { right: 11%; width: clamp(40px, 4.2vw, 60px); }
.ldr-xm-star--b1 { top: 16%; left: 6%; color: #FFE4A0; }
.ldr-xm-star--b2 { top: 66%; left: 21%; width: 10px; color: #fff; animation-delay: -1.2s; }
.ldr-xm-star--b3 { top: 20%; left: 33%; width: 9px; color: #fff; animation-delay: -2.1s; }
.ldr-xm-star--b4 { top: 76%; left: 52%; width: 12px; color: #FFE4A0; animation-delay: -.6s; }
.ldr-xm-star--b5 { top: 14%; left: 66%; width: 10px; color: #fff; animation-delay: -1.7s; }
.ldr-xm-star--b6 { top: 62%; left: 80%; width: 11px; color: #FFE4A0; animation-delay: -2.5s; }

/* ---------- Date ideas intro: a peppermint rolls along a candy-cane bar; holly and a bauble on the countries ---------- */
.ldr-xmas .ldr-loading__bar { overflow: visible; background: #E2F2E8; }
.ldr-xmas .ldr-loading__bar > span { background: repeating-linear-gradient(-45deg, #E2384D 0 7px, #fff 7px 13px); box-shadow: inset 0 0 0 1px rgba(226, 56, 77, .25); }
.ldr-xm-roll { top: 50%; right: -13px; width: 26px; margin-top: -13px; animation: ldr-xm-roll 5s ease-in-out infinite alternate; }
.ldr-xmas .ldr-countries { position: relative; }
.ldr-xm-corner { inset: 0; z-index: 1; border-radius: inherit; overflow: hidden; }
.ldr-xm-holly { position: absolute; top: 2px; right: 2px; display: block; width: clamp(62px, 6.8vw, 84px); }
.ldr-xm-dangle { position: absolute; top: 0; right: clamp(70px, 7.4vw, 92px); width: 30px; height: 130px; }
.ldr-xm-bauble { position: absolute; top: 44px; left: 0; width: 30px; transform-origin: 50% -44px; animation: ldr-xm-swing 3.2s ease-in-out infinite alternate; }
.ldr-xm-bauble::before { content: ""; position: absolute; bottom: 100%; left: 50%; width: 1.5px; height: 44px; margin-left: -.75px; background: #E2A93B; }

/* ---------- Our videos: a penguin peeks out from behind the phone ---------- */
.ldr-xmas .ldr-phone__body { position: relative; z-index: 1; }
.ldr-xmas .ldr-phone__stat { z-index: 2; }
.ldr-xm-side { top: 17%; left: calc(50% - 165px - 40px); width: 90px; z-index: 0; translate: -30px 0; animation: ldr-xm-side 10s ease-in-out infinite; }
.ldr-xm-side > .ldr-xm-say { left: 30%; animation: ldr-xm-say2 10s infinite; }

/* ---------- Why choose us: holly, a gingerbread man sitting on a card, candy canes ---------- */
.ldr-xmas .ldr-reason { position: relative; }
.ldr-reason .ldr-xm-holly { width: 58px; }
.ldr-xm-sit { top: -51px; right: 24px; width: 48px; transform-origin: 50% 100%; animation: ldr-xm-hop 6s infinite; }
.ldr-xm-canes { top: 18px; right: 16px; width: 36px; rotate: 6deg; }

/* ---------- Testimonials: two penguins in love ---------- */
.ldr-xmas #home-reviews { position: relative; }
.ldr-xm-couple { top: clamp(52px, 7vw, 96px); right: max(16px, calc(50% - 590px)); width: clamp(100px, 10.4vw, 148px); animation: ldr-xm-hover 4.4s ease-in-out infinite alternate; }

/* ---------- Contact: snow on the form, a snowman sitting on it ---------- */
.ldr-xmas #contact .ldr-formcard { position: relative; }
.ldr-xm-snowman { top: -80px; right: 34px; width: 70px; transform-origin: 50% 100%; animation: ldr-xm-hop 7s 1.5s infinite; }

/* ---------- Footer: a snowdrift with a Christmas tree and presents, snow falling ---------- */
.ldr-xmas .ldr-footer { position: relative; }
.ldr-xmas .ldr-footer__in { position: relative; z-index: 1; } /* The snow falls behind the links. */
/* The drift's waves dip to 20px down, so its snow covers the footer's top edge all along. */
.ldr-xm-drift { top: -21px; left: 0; right: 0; height: 30px; z-index: 1; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 30' preserveAspectRatio='none'%3E%3Cpath d='M0 15C30 5 60 5 92 11s58 13 88 4 54-10 80 0v15H0z' fill='%23fff'/%3E%3Cpath d='M0 20c30-8 60-8 92-3s58 9 88 2 54-7 80 1' fill='none' stroke='%23E3EBF5' stroke-width='2'/%3E%3C/svg%3E") 0 0 / 260px 100% repeat-x; }
.ldr-xm-scene { display: flex; align-items: flex-end; }
.ldr-xm-scene--right { bottom: calc(100% - 5px); right: clamp(14px, 7vw, 110px); }
.ldr-xm-scene--left { bottom: calc(100% - 6px); left: clamp(14px, 6vw, 96px); }
.ldr-xm-tree { position: relative; display: block; width: clamp(62px, 6vw, 80px); transform-origin: 50% 100%; animation: ldr-xm-wobble 4.2s ease-in-out infinite; }
.ldr-xm-tree > .ldr-xm-art { position: relative; }
.ldr-xm-gift--foot { width: clamp(30px, 3vw, 40px); margin-left: -10px; }
.ldr-xm-pinesfoot { display: block; width: clamp(70px, 7vw, 96px); color: #2F9B62; }
.ldr-xm-scene--right .ldr-xm-say { left: auto; right: -6px; translate: 0 0; transform-origin: 80% 100%; }
.ldr-xm-scene--right .ldr-xm-say::after { left: auto; right: 26px; }
.ldr-xm-snow--footer i::before { opacity: .55; }
.ldr-xm-star--f1 { top: 22px; left: 22%; width: 10px; color: #FFE4A0; }
.ldr-xm-star--f2 { top: 38px; left: 60%; width: 8px; color: #fff; animation-delay: -1.3s; }
.ldr-xm-star--f3 { top: 18px; left: 78%; width: 12px; color: #FFE4A0; animation-delay: -2.2s; }
.ldr-xm-star--f4 { top: 52px; left: 5%; width: 8px; color: #fff; animation-delay: -.7s; }

/* ---------- Smaller screens ---------- */
@media (max-width: 991px) {
	.ldr-xm-sit { top: 14px; right: 14px; width: 40px; } /* The card isn't in the top row any more: he sits inside the corner. */
}
@media (max-width: 919px) {
	.ldr-xm-couple { top: 10px; right: 12px; width: 84px; }
}
@media (max-width: 760px) {
	.ldr-xm-lights--wide { display: none; }
	.ldr-xm-lights--narrow { display: block; }
	.ldr-xm-snow--hero i:nth-child(n+13) { display: none; } /* Fewer flakes on phones. */
	.ldr-xm-star--2, .ldr-xm-star--3, .ldr-xm-star--4 { display: none; } /* On phones the hero's text fills the width. */
	.ldr-xm-ride { top: 9%; width: 96px; }
	.ldr-xm-gifts--hero { right: -4px; bottom: -18px; }
	.ldr-xm-pines--r, .ldr-xm-scene--left { display: none; }
}
@media (max-width: 600px) {
	.ldr-xm-side { top: 24px; left: 15%; width: 66px; translate: 0 -62%; animation-name: ldr-xm-peek; }
	.ldr-xm-side > .ldr-xm-say { left: 50%; }
	.ldr-xm-pines--l { width: 52px; }
	/* The countries' title fills the card's width here: the holly moves to the empty bottom corner. */
	.ldr-countries .ldr-xm-holly { top: auto; bottom: 2px; width: 54px; scale: 1 -1; }
	.ldr-xm-dangle { display: none; }
}

/* ---------- Keyframes ---------- */
@keyframes ldr-xm-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.12); } }
@keyframes ldr-xm-glow { 0%, 100% { opacity: .2; transform: scale(.82); } 50% { opacity: .7; transform: scale(1.14); } }
@keyframes ldr-xm-tw { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes ldr-xm-beat { 0%, 60%, 100% { transform: scale(1); } 15% { transform: scale(1.2); } 30% { transform: scale(.95); } 45% { transform: scale(1.12); } }
@keyframes ldr-xm-wave { from { transform: rotate(-14deg); } to { transform: rotate(16deg); } }
@keyframes ldr-xm-star { 0%, 100% { opacity: .25; transform: scale(.55) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }
@keyframes ldr-xm-bulb { 0%, 100% { opacity: .12; } 50% { opacity: .85; } }
@keyframes ldr-xm-fall { from { transform: translate3d(0, -16px, 0); } to { transform: translate3d(var(--x), 100%, 0); } }
@keyframes ldr-xm-sway { from { transform: translateX(-5px); } to { transform: translateX(5px); } }
@keyframes ldr-xm-tip { 0%, 82%, 100% { transform: none; } 86% { transform: rotate(-12deg) translateY(-3px); } 90% { transform: rotate(7deg); } 94% { transform: rotate(-3deg); } }
@keyframes ldr-xm-ride { 0% { translate: -110% 0; } 46%, 100% { translate: calc(100vw + 40px) -46px; } }
@keyframes ldr-xm-bob { from { transform: translateY(-6px) rotate(-3deg); } to { transform: translateY(6px) rotate(2deg); } }
@keyframes ldr-xm-peek { 0%, 6% { transform: translateY(66%); } 15% { transform: translateY(-4%) rotate(-5deg); } 19% { transform: translateY(0) rotate(-4deg); } 32% { transform: translateY(3%) rotate(6deg); } 46% { transform: translateY(0) rotate(-3deg); } 60% { transform: translateY(2%) rotate(4deg); } 74% { transform: translateY(0) rotate(0); } 86%, 100% { transform: translateY(66%); } }
@keyframes ldr-xm-say { 0%, 21% { opacity: 0; scale: .5; } 25%, 44% { opacity: 1; scale: 1; } 48%, 100% { opacity: 0; scale: .5; } }
@keyframes ldr-xm-say2 { 0%, 27% { opacity: 0; scale: .5; } 31%, 52% { opacity: 1; scale: 1; } 56%, 100% { opacity: 0; scale: .5; } }
@keyframes ldr-xm-side { 0%, 8% { transform: translateX(84px) rotate(12deg); } 20% { transform: translateX(-4px) rotate(-10deg); } 26% { transform: translateX(0) rotate(-7deg); } 40% { transform: translateX(5px) rotate(-3deg); } 54% { transform: translateX(0) rotate(-9deg); } 68% { transform: translateX(5px) rotate(-4deg); } 80% { transform: translateX(0) rotate(-7deg); } 92%, 100% { transform: translateX(84px) rotate(12deg); } }
@keyframes ldr-xm-wobble { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes ldr-xm-hop { 0%, 80%, 100% { transform: none; } 84% { transform: scale(1.1, .88); } 89% { transform: translateY(-14px) scale(.94, 1.08); } 94% { transform: scale(1.08, .92); } 97% { transform: none; } }
@keyframes ldr-xm-jump { 0% { transform: none; } 30% { transform: translateY(-12px) rotate(-6deg) scale(1.06); } 60% { transform: translateY(0) rotate(4deg); } 80% { transform: rotate(-2deg); } 100% { transform: none; } }
@keyframes ldr-xm-swing { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }
@keyframes ldr-xm-hover { from { transform: translateY(-7px) rotate(-2deg); } to { transform: translateY(7px) rotate(2deg); } }
@keyframes ldr-xm-roll { from { transform: rotate(-160deg); } to { transform: rotate(560deg); } }
@keyframes ldr-xm-float { 0% { opacity: 0; transform: translate(-50%, 0) scale(.6); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -52px) scale(1.15); } }
@keyframes ldr-xm-pop { 0% { opacity: 0; transform: translateY(14px) scale(.6); } 25% { opacity: 1; } 100% { opacity: 0; transform: translateY(-18px) scale(1.1); } }

/* Sections that are off screen rest (assets/js/christmas.js), and so does everything for visitors who
   ask for less motion — the characters then simply sit in their places, the lights softly on. */
.ldr-xm-idle .ldr-xm, .ldr-xm-idle .ldr-xm *, .ldr-xm-idle .ldr-xm *::before, .ldr-xm-idle .ldr-kicker__ic .ldr-xm-art { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
	.ldr-xm, .ldr-xm *, .ldr-xm *::before, .ldr-kicker__ic .ldr-xm-art { animation: none !important; }
	.ldr-xm-ride, .ldr-xm-snow, .ldr-xm-mistletoe i, .ldr-xm-pop { display: none; }
	.ldr-xm-lights b { opacity: .5; }
	.ldr-xm-say, .ldr-xm-lid { transition: none; }
}
@media print {
	.ldr-xm { display: none !important; }
}
