/* ============================================================
   CHRISTMAS DECORATIONS — load AFTER style.css.
   To switch off: remove the <link> to this file and js/snow.js
   from index.html. Nothing else needs to change, because the
   brand colours live in style.css (this file only adds the
   red announcement bar, the garland and the falling snow).
   Also remove the 🎄 wording in the announcement bar and hero if you like.
   ============================================================ */

.announcement {
    background: var(--rose);
    color: #fff;
    letter-spacing: 2.5px
}

/* Garland under the header */
.header { border-bottom: 0 }
.header::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -10px;
    height: 10px;
    background:
        radial-gradient(circle at 10px 0, var(--rose) 5px, transparent 5.5px) 0 0/40px 10px repeat-x,
        radial-gradient(circle at 30px 0, #4f8a5b 5px, transparent 5.5px) 0 0/40px 10px repeat-x,
        linear-gradient(#e8b4c0, #e8b4c0) 0 0/100% 2px no-repeat;
    pointer-events: none;
}

/* Falling snow */
.snow {
    position: fixed;
    inset: 0;
    z-index: 15;
    pointer-events: none;
    overflow: hidden
}
.flake {
    position: absolute;
    top: -20px;
    color: #fff;
    text-shadow: 0 0 4px rgba(74, 42, 28, .5);
    animation: snowfall linear infinite;
    will-change: transform
}
@keyframes snowfall {
    to { transform: translate3d(var(--drift, 30px), 105vh, 0) rotate(360deg) }
}
@media (prefers-reduced-motion: reduce) { .snow { display: none } }
