.header__logo--winter { position: relative; }

.urban-logo-snow {
    position: absolute;
    z-index: 1;
    inset: -4px 0 auto;
    height: 9px;
    pointer-events: none;
    filter: drop-shadow(0 1px 0 #a6bed4) drop-shadow(0 -1px 1px #25385833);
}

.urban-logo-snow::before,
.urban-logo-snow::after {
    content: "";
    display: block;
    position: absolute;
}

.urban-logo-snow::before {
    inset: 3px 0 0;
    border-radius: 17% 10% 13% 9% / 80% 62% 30% 32%;
    background: linear-gradient(#fff 30%, #edf6ff 74%, #cfe0ef);
    clip-path: polygon(0 30%, 100% 15%, 100% 69%, 96% 65%, 92% 100%, 87% 75%, 79% 67%,
        68% 85%, 58% 67%, 51% 88%, 44% 73%, 37% 96%, 31% 77%, 20% 68%, 13% 93%, 9% 62%, 0 74%);
}

.urban-logo-snow::after {
    inset: 0;
    background:
        radial-gradient(ellipse 12% 67% at 14% 87%, #fff 95%, transparent 100%),
        radial-gradient(ellipse 9% 48% at 39% 88%, #fbfdff 95%, transparent 100%),
        radial-gradient(ellipse 14% 59% at 67% 93%, #fff 95%, transparent 100%),
        radial-gradient(ellipse 9% 57% at 91% 92%, #fbfdff 95%, transparent 100%);
    clip-path: inset(0 0 45% 0);
}

.urban-falling-snow {
    position: fixed;
    z-index: 25;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.urban-snow-toggle {
    position: fixed;
    z-index: 26;
    inset: auto auto max(12px, env(safe-area-inset-bottom)) 12px;
    min-height: 44px;
    padding: 7px 11px;
    border: 1px solid #d3dfed;
    border-radius: 999px;
    background: #f5faff;
    color: #232547;
    font: 600 13px/1.15 system-ui, sans-serif;
    box-shadow: 0 2px 8px #23254724;
    cursor: pointer;
}

.urban-snow-toggle[aria-pressed="true"] { background: #232547; color: #fff; }
.urban-snow-toggle:focus-visible { outline: 2px solid #50789d; outline-offset: 2px; }
.urban-falling-snow[hidden], .urban-snow-toggle[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
    .urban-falling-snow, .urban-snow-toggle { display: none; }
}
