/* Festive touches (owner, 14 November 2026: "Do all of it"). On from
   14 November to 1 January; assets/js/festive.js reveals each piece, so the
   pages ship exactly as they are the rest of the year. The Santa hat on the
   header logo is nav-footer.css's (the chrome is its to style). */

/* Homepage: a string of lights and a little snow hang into the top of the
   hero from a zero-height strip, so nothing on the page moves. */
.fx-home{position:relative;height:0;z-index:2;pointer-events:none}
.fx-home[hidden]{display:none}
.fx-lights{position:absolute;left:0;right:0;top:0;height:30px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 30'%3E%3Cpath d='M0 1 Q120 25 240 1' fill='none' stroke='%2333414d' stroke-width='1.4'/%3E%3Cg fill='%2333414d'%3E%3Crect x='45.5' y='8.5' width='5' height='4' rx='1'/%3E%3Crect x='93.5' y='12' width='5' height='4' rx='1'/%3E%3Crect x='141.5' y='12' width='5' height='4' rx='1'/%3E%3Crect x='189.5' y='8.5' width='5' height='4' rx='1'/%3E%3C/g%3E%3Cellipse cx='48' cy='18' rx='4' ry='6' fill='%23c8372d'/%3E%3Cellipse cx='96' cy='21.5' rx='4' ry='6' fill='%23e0a526'/%3E%3Cellipse cx='144' cy='21.5' rx='4' ry='6' fill='%232f7d4f'/%3E%3Cellipse cx='192' cy='18' rx='4' ry='6' fill='%233e74b6'/%3E%3C/svg%3E") repeat-x left top/240px 30px}
@media (max-width:700px){.fx-lights{height:21px;background-size:168px 21px}}
.fx-snow{position:absolute;left:0;right:0;top:0;height:240px;overflow:hidden}
.fx-flake{position:absolute;top:-12px;border-radius:50%;background:#b9cad6;opacity:0;animation:fx-fall linear infinite}
@keyframes fx-fall{0%{transform:translate3d(0,0,0);opacity:0}12%{opacity:.85}80%{opacity:.6}100%{transform:translate3d(14px,250px,0);opacity:0}}
@media (prefers-reduced-motion: reduce){.fx-snow{display:none}}
@media print{.fx-home{display:none}}

/* 404: a hat on the number */
.fx-404{position:relative;display:inline-block}
.fx-404-hat{position:absolute;left:-.27em;top:-.27em;width:.5em;height:.44em;transform:rotate(-20deg);pointer-events:none}
.fx-404-hat[hidden]{display:none}
