/* =====================================================================
   NORTH POLE: aurora, moon, sleigh, village, elves, workshop, frost
   (loaded after styles.css)
   ===================================================================== */
.hero { padding-bottom: 300px; min-height: min(100svh, 980px); }
.aurora { position: absolute; inset: 0 0 45% 0; filter: blur(42px); opacity: .5; mix-blend-mode: screen; pointer-events: none; z-index: 0; }
.aurora span { position: absolute; width: 65%; height: 38%; border-radius: 50%; animation: aurora 16s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { top: 4%; left: -8%; background: linear-gradient(90deg, transparent, #3ddc97 35%, #2fb8b0 65%, transparent); }
.aurora span:nth-child(2) { top: 16%; left: 30%; background: linear-gradient(90deg, transparent, #2fb8b0 30%, #8a6bff 70%, transparent); animation-duration: 20s; animation-delay: -6s; }
.aurora span:nth-child(3) { top: 0; left: 58%; background: linear-gradient(90deg, transparent, #57e3a0 40%, #3ab8c9, transparent); animation-duration: 13s; animation-delay: -3s; }
@keyframes aurora {
  from { transform: translateX(-6%) skewX(-12deg) scaleY(.9); opacity: .7; }
  to { transform: translateX(9%) skewX(12deg) scaleY(1.5); opacity: 1; }
}
.moon {
  position: absolute; top: 108px; left: 47%; width: 78px; height: 78px; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle at 64% 34%, rgba(0,0,0,.06) 0 7px, transparent 8px), radial-gradient(circle at 34% 64%, rgba(0,0,0,.05) 0 10px, transparent 11px), radial-gradient(circle at 38% 38%, #fffdf0, #f6ebc4 60%, #e9d89e);
  box-shadow: 0 0 50px 14px rgba(255, 240, 190, .22), 0 0 140px 40px rgba(255, 240, 190, .08);
}
.sleigh { position: absolute; top: 120px; left: 0; width: 170px; z-index: 1; opacity: 0; animation: fly 26s linear infinite; animation-delay: 3s; filter: drop-shadow(0 0 6px rgba(244,197,106,.6)); }
@keyframes fly {
  0% { transform: translate(-220px, 70px) rotate(-6deg); opacity: 0; }
  4% { opacity: .95; }
  38% { opacity: .95; }
  42% { transform: translate(calc(100vw + 40px), -50px) rotate(-6deg); opacity: 0; }
  100% { transform: translate(calc(100vw + 40px), -50px); opacity: 0; }
}

.village { position: absolute; left: 0; right: 0; bottom: -1px; height: 320px; z-index: 1; }
.village svg { width: 100%; height: 100%; display: block; }
.village .smoke circle { transform-box: fill-box; transform-origin: center; animation: smoke 4.5s ease-out infinite; opacity: 0; }
.village .smoke circle:nth-child(2) { animation-delay: 1.5s; }
.village .smoke circle:nth-child(3) { animation-delay: 3s; }
@keyframes smoke { 0% { transform: translate(0, 0) scale(.6); opacity: .8; } 100% { transform: translate(-30px, -70px) scale(2.2); opacity: 0; } }
.village .lights circle { animation: twinkle-bulb 1.6s ease-in-out infinite alternate; }
.village .lights circle:nth-child(odd) { animation-delay: -.8s; }
@keyframes twinkle-bulb { from { opacity: 1; } to { opacity: .35; } }
.village .win { animation: flicker 3s ease-in-out infinite alternate; }
@keyframes flicker { 50% { opacity: .85; } }

.walker { position: absolute; bottom: 22px; width: 54px; z-index: 2; animation: trek 34s linear infinite; }
.walker-2 { animation-delay: -17s; width: 48px; bottom: 30px; }
.walker-3 { animation: trek-back 44s linear infinite; animation-delay: -10s; bottom: 12px; width: 50px; }
.walker .elf-bob, .ws-walker .elf-bob { animation: hop .32s ease-in-out infinite alternate; }
@keyframes trek { from { left: -70px; } to { left: calc(100% + 20px); } }
@keyframes trek-back { from { left: calc(100% + 20px); transform: scaleX(-1); } to { left: -70px; transform: scaleX(-1); } }
@keyframes hop { from { transform: translateY(0); } to { transform: translateY(-4px); } }

/* ---------- Elves ---------- */
.elf-svg { width: 100%; height: auto; overflow: visible; display: block; }
.elf-hat { transform-origin: 60px 56px; animation: hat 2.6s ease-in-out infinite alternate; }
.elf-eyes { transform-origin: 60px 69px; animation: blink 5s infinite; }
.arm-hammer { transform-origin: 75px 96px; animation: hammer .8s cubic-bezier(.5, 0, .9, .5) infinite; }
.arm-wave { transform-origin: 75px 96px; animation: wave .7s ease-in-out infinite alternate; }
.arm-wrap-l { animation: wrap 1s ease-in-out infinite alternate; }
.arm-wrap-r { animation: wrap 1s ease-in-out infinite alternate-reverse; }
.arm-write { transform-origin: 75px 96px; animation: write 1.4s ease-in-out infinite; }
@keyframes hat { from { transform: rotate(-4deg); } to { transform: rotate(5deg); } }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes hammer { 0% { transform: rotate(-42deg); } 55% { transform: rotate(24deg); } 62% { transform: rotate(18deg); } 100% { transform: rotate(-42deg); } }
@keyframes wave { from { transform: rotate(-14deg); } to { transform: rotate(18deg); } }
@keyframes wrap { from { transform: translateY(-3px); } to { transform: translateY(4px); } }
@keyframes write { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(6deg); } 50% { transform: rotate(-3deg); } 75% { transform: rotate(5deg); } }

/* ---------- Workshop ---------- */
.workshop {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  padding: 90px 0 0;
  background:
    radial-gradient(900px 380px at 50% 70%, rgba(255, 196, 110, .22), transparent 70%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .22) 0 3px, transparent 3px 140px),
    linear-gradient(180deg, #4a2b1b 0%, #3a2115 60%, #2e1a10 100%);
}
.garland { position: absolute; top: 0; left: 0; width: 100%; height: 40px; z-index: 2; }
.bulbs { position: absolute; top: 0; left: 0; right: 0; height: 40px; z-index: 3; pointer-events: none; }
.bulb {
  position: absolute; width: 12px; height: 18px; margin-left: -6px;
  border-radius: 50% 50% 46% 46% / 40% 40% 60% 60%;
  background: var(--c); box-shadow: 0 0 14px 3px var(--c);
  animation: bulb 1.8s ease-in-out infinite alternate; animation-delay: var(--d);
}
.bulb::before { content: ""; position: absolute; top: -4px; left: 3px; width: 6px; height: 5px; background: #2b2118; border-radius: 2px; }
@keyframes bulb { from { opacity: 1; filter: brightness(1.15); } to { opacity: .45; box-shadow: 0 0 4px 0 var(--c); } }
.ws-head p { color: rgba(255, 255, 255, .82); max-width: 36em; margin: 0 auto; font-size: 1.08rem; }
.ws-head h2 { color: #fff; }

.ws-stage { position: relative; overflow: hidden; margin-top: 26px; }
.ws-scene { position: relative; width: min(1200px, 100%); aspect-ratio: 1200 / 400; margin: 0 auto; container-type: inline-size; }
.ws-floor {
  position: absolute; left: -50vw; right: -50vw; bottom: 0; height: 6cqw; z-index: 0;
  background: repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 2px, transparent 2px 9cqw), linear-gradient(180deg, #8a5532, #5e3820);
  border-top: .5cqw solid #a46a40;
}
.ws-elf { position: absolute; z-index: 3; }
.ws-window {
  position: absolute; left: 3cqw; top: 1cqw; width: 13cqw; height: 15cqw;
  border: .8cqw solid #6b4226; border-radius: 7cqw 7cqw .4cqw .4cqw; overflow: hidden;
  background: linear-gradient(180deg, #0b1626, #1d3557);
  box-shadow: inset 0 0 2cqw rgba(0,0,0,.4);
}
.ws-window::before, .ws-window::after { content: ""; position: absolute; background: #6b4226; z-index: 2; }
.ws-window::before { left: 50%; top: 0; bottom: 0; width: .6cqw; margin-left: -.3cqw; }
.ws-window::after { top: 55%; left: 0; right: 0; height: .6cqw; }
.ws-window-snow {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, #fff 0 .18cqw, transparent .22cqw), radial-gradient(circle, rgba(255,255,255,.7) 0 .12cqw, transparent .16cqw);
  background-size: 2.4cqw 2.4cqw, 1.6cqw 1.6cqw; background-position: 0 0, .8cqw .5cqw;
  box-shadow: inset 0 -1.4cqw 0 #e6eef8;
  animation: window-snow 6s linear infinite;
}
@keyframes window-snow { to { background-position: 1cqw 24cqw, 2cqw 16cqw; } }

.ws-shelf { position: absolute; right: 3cqw; width: 24cqw; display: flex; align-items: flex-end; justify-content: space-around; padding: 0 1cqw; border-bottom: 1cqw solid #6b4226; box-shadow: 0 .8cqw .8cqw -.4cqw rgba(0,0,0,.4); }
.ws-shelf-1 { top: 0; } .ws-shelf-2 { top: 6.4cqw; }
.toy { display: block; }
.block { width: 3cqw; height: 3cqw; border-radius: .3cqw; color: #fff; font: 800 1.8cqw/3cqw var(--serif); text-align: center; }
.b1 { background: #c8323b; } .b2 { background: #2c7a4b; } .b3 { background: #2f6fb5; }
.drum { width: 3.6cqw; height: 3.2cqw; border-radius: .4cqw; background: repeating-linear-gradient(60deg, #f4c56a 0 .3cqw, #c8323b .3cqw 1.2cqw); box-shadow: inset 0 .5cqw 0 #fff, inset 0 -.5cqw 0 #fff; }
.ball { width: 3.2cqw; height: 3.2cqw; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.55) 0 .5cqw, transparent .6cqw), linear-gradient(90deg, #2f6fb5 0 33%, #f4c56a 33% 66%, #c8323b 66%); }
.ball.b2 { background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.55) 0 .5cqw, transparent .6cqw), linear-gradient(0deg, #2c7a4b 0 50%, #fff 50%); width: 2.6cqw; height: 2.6cqw; }
.gift { width: 3.6cqw; height: 3cqw; background: linear-gradient(90deg, transparent 42%, #f4c56a 42% 58%, transparent 58%), linear-gradient(0deg, transparent 42%, #f4c56a 42% 58%, transparent 58%), #c8323b; border-radius: .2cqw; }
.gift.g2 { background-color: #2c7a4b; height: 4cqw; width: 3cqw; }
.gift.g3 { background: linear-gradient(90deg, transparent 42%, #c8323b 42% 58%, transparent 58%), linear-gradient(0deg, transparent 42%, #c8323b 42% 58%, transparent 58%), #f4f8fc; }

.ws-bench { position: absolute; left: 14cqw; bottom: 6cqw; width: 15cqw; height: 5.4cqw; z-index: 2; }
.ws-bench::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1.3cqw; background: #a46a40; border-radius: .3cqw; box-shadow: 0 .4cqw 0 #6b4226; }
.ws-bench::after { content: ""; position: absolute; top: 1.3cqw; bottom: 0; left: 1cqw; right: 1cqw; border-left: 1cqw solid #6b4226; border-right: 1cqw solid #6b4226; }
.ws-toy { position: absolute; bottom: 100%; left: 4.5cqw; width: 5cqw; height: 2.6cqw; background: #c8323b; border-radius: .4cqw .4cqw .2cqw .2cqw; animation: jiggle .8s ease-out infinite; animation-delay: .44s; }
.ws-toy::before { content: ""; position: absolute; right: .4cqw; bottom: 100%; width: 1.8cqw; height: 1.8cqw; background: #2f6fb5; border-radius: .3cqw .3cqw 0 0; }
.ws-toy::after { content: ""; position: absolute; left: .6cqw; bottom: 100%; width: .7cqw; height: 1.2cqw; background: #2b2118; }
.ws-toy i { position: absolute; bottom: -.7cqw; width: 1.5cqw; height: 1.5cqw; border-radius: 50%; background: #2b2118; box-shadow: inset 0 0 0 .4cqw #f4c56a; }
.ws-toy i:first-child { left: .5cqw; } .ws-toy i:last-child { right: .5cqw; }
@keyframes jiggle { 0% { transform: translateY(0); } 12% { transform: translateY(-.4cqw) rotate(-2deg); } 30%, 100% { transform: translateY(0); } }
.ws-hammer { left: 5cqw; bottom: 4.6cqw; width: 11cqw; }

.ws-writer { left: 33cqw; bottom: 4.6cqw; width: 10cqw; }
.ws-scroll {
  position: absolute; left: 41.6cqw; bottom: 5.2cqw; width: 13.5cqw; z-index: 2;
  background: linear-gradient(90deg, rgba(0,0,0,.05), transparent 15%, transparent 85%, rgba(0,0,0,.05)), #fffaf1;
  color: var(--ink); text-align: left;
  padding: 1.6cqw 1.4cqw 1.2cqw; border-radius: .3cqw;
  transform: rotate(-2deg); transform-origin: bottom left;
  box-shadow: 0 1cqw 2cqw rgba(0,0,0,.35);
}
.ws-scroll::before, .ws-scroll::after { content: ""; position: absolute; left: -.6cqw; right: -.6cqw; height: 1.4cqw; border-radius: 1cqw; background: linear-gradient(180deg, #f0e3c8, #fffaf1 40%, #d9c7a3); }
.ws-scroll::before { top: -.7cqw; } .ws-scroll::after { bottom: -.7cqw; }
.ws-scroll b { display: block; font: 700 2cqw/1.1 var(--hand); color: var(--red); margin-bottom: .4cqw; }
.ws-scroll ul { list-style: none; margin: 0; padding: 0; font: 700 1.55cqw/1.45 var(--hand); }
.ws-scroll li { display: flex; justify-content: space-between; border-bottom: .1cqw dashed #e2d4bb; }
.ws-scroll li::after { content: "✓"; color: var(--pine); opacity: 0; animation: tick 9s infinite; }
.ws-scroll li:nth-child(2)::after { animation-delay: 1.2s; } .ws-scroll li:nth-child(3)::after { animation-delay: 2.4s; }
.ws-scroll li:nth-child(4)::after { animation-delay: 3.6s; } .ws-scroll li:nth-child(5)::after { animation-delay: 4.8s; }
.ws-scroll li.next { color: var(--red); animation: pulse-text 1.4s ease-in-out infinite alternate; }
.ws-scroll li.next::after { content: "★"; color: var(--gold); opacity: 1; animation: none; }
@keyframes tick { 0%, 5% { opacity: 0; transform: scale(2); } 10%, 85% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
@keyframes pulse-text { to { opacity: .55; } }

.ws-wrapper { left: 72cqw; bottom: 6.2cqw; width: 9cqw; z-index: 1; }
.ws-belt { position: absolute; left: 59cqw; right: 2cqw; bottom: 6cqw; height: 2.4cqw; z-index: 2; clip-path: inset(-12cqw 0 -4cqw 0); }
.ws-belt::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #4b4038, #2b2118); border-radius: 1.2cqw; }
.ws-rollers { position: absolute; inset: .5cqw 1cqw; background: radial-gradient(circle, #8c96a3 0 .5cqw, #5a6470 .55cqw .7cqw, transparent .75cqw) 0 50% / 3cqw 100% repeat-x; animation: rollers 1s linear infinite; }
@keyframes rollers { to { background-position: 3cqw 50%; } }
.ws-track { position: absolute; bottom: 100%; left: 0; display: flex; align-items: flex-end; gap: 3cqw; width: max-content; animation: belt 16s linear infinite; }
@keyframes belt { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.p { position: relative; display: block; width: 4cqw; height: 3.4cqw; border-radius: .3cqw;
  background: linear-gradient(90deg, transparent 43%, var(--r) 43% 57%, transparent 57%), linear-gradient(0deg, transparent 40%, var(--r) 40% 54%, transparent 54%), var(--b); }
.p::before { content: ""; position: absolute; bottom: 100%; left: 50%; width: 2.4cqw; height: 1.1cqw; margin-left: -1.2cqw;
  background: radial-gradient(ellipse at 25% 70%, var(--r) 0 45%, transparent 48%), radial-gradient(ellipse at 75% 70%, var(--r) 0 45%, transparent 48%); }
.p1 { --b: #c8323b; --r: #f4c56a; } .p2 { --b: #2c7a4b; --r: #fff; width: 5cqw; height: 4cqw; }
.p3 { --b: #f4f8fc; --r: #c8323b; width: 3.4cqw; } .p4 { --b: #2f6fb5; --r: #f4c56a; height: 4.4cqw; }
.p5 { --b: #e8b04a; --r: #c8323b; width: 4.6cqw; height: 3cqw; } .p6 { --b: #8a3fb5; --r: #fff; }

.ws-walker { bottom: 1.2cqw; width: 7.5cqw; z-index: 5; animation: ws-walk 22s linear infinite; }
@keyframes ws-walk {
  0% { left: -9cqw; transform: scaleX(1); }
  48% { left: 100cqw; transform: scaleX(1); }
  50% { left: 100cqw; transform: scaleX(-1); }
  98% { left: -9cqw; transform: scaleX(-1); }
  100% { left: -9cqw; transform: scaleX(1); }
}

/* ---------- Frost & snow details ---------- */
.step::before, .price-card::before, .chat::before, .list-card::before {
  content: ""; position: absolute; left: -5px; right: -5px; top: -11px; height: 24px; z-index: 1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath fill='%23d7e3f0' d='M0 17Q4 7 14 9Q22 1 34 7Q46 3 56 9Q70 1 82 8Q96 4 106 10Q120 2 132 8Q146 3 156 9Q170 1 182 8Q194 5 200 15L200 19Q190 24 176 21Q160 25 146 21Q130 24 116 21Q100 25 86 21Q70 24 56 21Q40 25 26 21Q12 24 0 19Z'/%3E%3Cpath fill='%23fff' d='M0 15Q4 5 14 7Q22 0 34 5Q46 1 56 7Q70 0 82 6Q96 2 106 8Q120 0 132 6Q146 1 156 7Q170 0 182 6Q194 3 200 13L200 16Q190 21 176 18Q160 22 146 18Q130 21 116 18Q100 22 86 18Q70 21 56 18Q40 22 26 18Q12 21 0 16Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.chat, .list-card { position: relative; }
.list-card::before { top: -13px; }
.price-card .badge { z-index: 2; }
.step-num { z-index: 2; }

.how, .list {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cg stroke='%2390a9c6' stroke-width='1.6' stroke-linecap='round' opacity='.35' fill='none'%3E%3Cg transform='translate(40 40)'%3E%3Cpath d='M0-14V14M-12-7L12 7M-12 7L12-7M0-14l-3-3M0-14l3-3M0 14l-3 3M0 14l3 3'/%3E%3C/g%3E%3Cg transform='translate(130 120) scale(.7)'%3E%3Cpath d='M0-14V14M-12-7L12 7M-12 7L12-7M0-14l-3-3M0-14l3-3M0 14l-3 3M0 14l3 3'/%3E%3C/g%3E%3Cg transform='translate(150 30) scale(.45)'%3E%3Cpath d='M0-14V14M-12-7L12 7M-12 7L12-7'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-color: var(--cream);
}
.sample { background: linear-gradient(180deg, #e9f1fa 0%, #f3f2ee 60%, var(--cream) 100%); }

.peek-elf { position: absolute; top: -86px; left: 44px; width: 70px; z-index: 3; animation: peek 5s ease-in-out infinite; }
@keyframes peek { 0%, 100% { transform: translateY(14px); } 30%, 70% { transform: translateY(0); } }

.icicles { position: absolute; top: -1px; left: 0; width: 100%; height: 46px; z-index: 2; filter: drop-shadow(0 4px 4px rgba(0,0,0,.12)); }
.parents { padding-top: clamp(100px, 12vw, 140px); }
.closing { position: relative; overflow: hidden; padding: 110px 0 170px; }
.closing .wrap { position: relative; z-index: 2; }
.aurora-low { inset: 0 0 35% 0; opacity: .4; }
.closing-elves { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; align-items: flex-end; gap: 26px; z-index: 2; }
.closing-elves > div { width: 64px; }
.closing-elves > div:nth-child(2) { width: 58px; }
.closing-snow { position: absolute; left: 0; bottom: -1px; width: 100%; height: 60px; z-index: 1; }

@media (max-width: 980px) {
  .moon { left: auto; right: 8%; top: 96px; }
}
@media (max-width: 720px) {
  .hero { padding-bottom: 230px; }
  .village { height: 230px; }
  .moon { display: none; }
  .sleigh { width: 120px; top: 90px; }
  .walker { width: 32px; bottom: 18px; }
  .walker-2 { width: 30px; bottom: 22px; }
  .walker-3 { width: 30px; bottom: 12px; }
  .ws-scene { width: 900px; margin-left: calc(50% - 450px); }
  .workshop { padding-top: 70px; }
  .peek-elf { width: 56px; top: -70px; left: 26px; }
  .closing-elves > div { width: 50px; }
  .closing-elves > div:nth-child(2) { width: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .sleigh { display: none; }
  .walker-1 { left: 22%; } .walker-2 { left: 64%; } .walker-3 { left: 82%; }
  .ws-walker { left: 52cqw; }
}

.list-head { margin-bottom: 90px; }
@media (max-width: 720px) { .list-head { margin-bottom: 70px; } }

/* required markers + optional note */
.req { color: var(--red); font-weight: 800; }
.optional-note { background: #fff8e4; border: 2px dashed #edd28f; border-radius: 12px; padding: 10px 14px; font-size: .92rem; color: var(--muted); margin: 6px 0 20px; }

/* Santa's phone number on the success screen */
.santa-number { background: linear-gradient(180deg, #1f4d3a, #173b2d); color: #fff; border-radius: 18px; padding: 20px; margin: 20px auto; max-width: 440px; box-shadow: var(--shadow); }
.santa-number p { color: rgba(255,255,255,.8) !important; margin: 0; }
.santa-number a { display: block; font: 800 2.2rem/1.3 var(--serif); color: var(--gold-2); text-decoration: none; margin: 4px 0 8px; }
.santa-number b { color: #fff; }
.phone-tip { margin-top: -8px; margin-bottom: 18px; }
