body[data-style="winter"]{--st-snow:#ffffff;--st-snow-shade:#cfe3f5;--st-bulb-colors:#e5484d,#f5a524,#3fb950,#3b9ae1,#b266e6;--st-wire:#2d3a33;}
/* piece: snow-overlay. Fixed canvas above the page, never intercepts clicks. */
.st-snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 40; }
@media (prefers-reduced-motion: reduce) { .st-snow { display: none; } }

/* piece: light-string. A wire of colored bulbs hanging from the bottom edge of the nav bar. */
header.nav:has(.st-lights) { position: sticky; } .st-lights { position: absolute; top: 100%; left: 0; right: 0; height: 34px; z-index: 30; pointer-events: none; overflow: hidden; }
.st-lights::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 10px; border-bottom: 2px solid var(--st-wire, #2d3a33); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.st-lights i { position: absolute; top: 9px; width: 9px; height: 14px; border-radius: 50% 50% 55% 55%; background: var(--c); box-shadow: 0 0 8px 2px var(--c); animation: st-blink 2.4s infinite ease-in-out; animation-delay: var(--d); }
.st-lights i::before { content: ""; position: absolute; left: 2px; top: -4px; width: 5px; height: 5px; background: var(--st-wire, #2d3a33); border-radius: 1px; }
@keyframes st-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .st-lights i { animation: none; opacity: 1; } }

/* piece: snow-capped headings. A snow cap across the top of each line of heading text (no extra markup). */
body[data-style] main h2, body[data-style] .b-hero-full h1 {
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  background-image: linear-gradient(to bottom, var(--st-snow, #fff) 0, var(--st-snow, #fff) .13em, var(--st-snow-shade, #cfe3f5) .13em, var(--st-snow-shade, #cfe3f5) .2em, var(--st-ink, #1a1a1a) .2em);
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.18));
}
body[data-style] .b-hero-full h1 { --st-ink: #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,.55)); }
body[data-style] .b-cta h2 { --st-ink: #f6f3ec; }

/* piece: snow-capped image corners. A bumpy drift sits on the top-left and top-right corners of photos. */
.st-cap-wrap { display: block; position: relative; line-height: 0; }
.st-cap-wrap.is-flyer { align-self: start; }
.st-cap-wrap::before, .st-cap-wrap::after {
  content: ""; position: absolute; top: -7px; width: 38%; height: 22px; z-index: 2; pointer-events: none;
  background: var(--st-snow, #fff);
  border-radius: 14px 18px 4px 12px / 16px 20px 6px 14px;
  box-shadow: 0 2px 0 var(--st-snow-shade, #cfe3f5), 0 3px 4px rgba(0,0,0,.18);
}
.st-cap-wrap::before { left: -6px; }
.st-cap-wrap::after { right: -6px; width: 30%; border-radius: 18px 14px 12px 4px / 20px 16px 14px 6px; }

/* piece: snowcap-buttons. A small snow cap on top of page buttons (not nav buttons), kept inside the rounded corners. */
body[data-style] main .btn { position: relative; overflow: visible; }
body[data-style] main .btn::before { content: ""; position: absolute; left: 18%; right: 18%; top: -5px; height: 8px; pointer-events: none;
  background: radial-gradient(circle at 50% 100%, var(--st-snow,#fff) 4px, transparent 5px) 0 0/14px 8px repeat-x, linear-gradient(var(--st-snow,#fff), var(--st-snow,#fff)) 0 5px/100% 3px no-repeat;
  border-radius: 6px 6px 2px 2px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.2)); }

/* piece: snowdrift-sections. A wavy snowdrift across the full width of the bottom of the hero. */
body[data-style] .b-hero-full { position: relative; }
.st-drift { position: absolute; left: 0; right: 0; top: auto; width: 100%; bottom: 0; height: 26px; pointer-events: none; z-index: 2;
  background: radial-gradient(ellipse 26px 14px at 50% 100%, var(--st-snow,#fff) 98%, transparent 100%) 0 100%/40px 26px repeat-x,
              radial-gradient(ellipse 18px 9px at 50% 100%, var(--st-snow-shade,#cfe3f5) 98%, transparent 100%) 20px 100%/40px 16px repeat-x,
              linear-gradient(var(--st-snow,#fff), var(--st-snow,#fff)) 0 100%/100% 6px no-repeat;
  filter: drop-shadow(0 -2px 2px rgba(40,70,100,.35)); }

/* Winter-only overrides on top of the pieces. */
body[data-style="winter"] .b-cta { background-image: linear-gradient(180deg, rgba(207,227,245,.18), transparent 40%); }
