.design-a {
    --winter-studio-bg: #f4f7fb;
    --winter-hero-bg:
        linear-gradient(to bottom, transparent 58%, var(--winter-studio-bg) 100%),
        linear-gradient(155deg, #fff 32%, #e1efff 78%, #f8fbff);
}

.design-a .hero {
    background: var(--winter-hero-bg);
}

.design-a .studio {
    background-color: var(--winter-studio-bg);
}

@media (min-width: 1441px) {
    .design-a main {
        overflow-x: clip;
    }

    .design-a .hero {
        isolation: isolate;
        overflow: visible;
        clip-path: inset(0 -100vmax);
        background: none;
    }

    .design-a .hero::after {
        content: '';
        position: absolute;
        inset: 0 calc((100% - 100vw) / 2);
        z-index: -1;
        background: var(--winter-hero-bg);
        pointer-events: none;
    }

    .design-a .studio {
        border-image: linear-gradient(var(--winter-studio-bg), var(--winter-studio-bg)) fill 0 / 0 / 0 100vmax;
    }

    .design-a .contact {
        border-image: linear-gradient(#f0f5ff, #f0f5ff) fill 0 / 0 / 0 100vmax;
    }
}

.design-a .a-art::after {
    content: '❄';
    position: absolute;
    top: 9%;
    right: 10%;
    color: #2861ac;
    font-size: clamp(2.7rem, 6vw, 5rem);
    text-shadow: 0 0 16px white;
    pointer-events: none;
}

.design-a .a-art::before {
    content: '';
    position: absolute;
    inset: 6% 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 15% 28%, white 0 4px, transparent 5px),
        radial-gradient(circle at 32% 11%, #9bbfeb 0 2px, transparent 3px),
        radial-gradient(circle at 26% 74%, #9bbfeb 0 3px, transparent 4px),
        radial-gradient(circle at 56% 22%, white 0 3px, transparent 4px),
        radial-gradient(circle at 74% 64%, white 0 5px, transparent 6px),
        radial-gradient(circle at 86% 79%, #9bbfeb 0 2px, transparent 3px);
}

.switcher a {
    font-size: .875rem;
    white-space: nowrap;
}

/* Small seasonal accents anchored to the wordmark. */
header .logo {
    position: relative;
}

.design-a header .logo::before,
.design-a header .logo::after,
.design-b header .logo::before,
.design-b header .logo::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.design-a header .logo::before {
    top: -.65em;
    left: -.12em;
    width: .94em;
    height: .73em;
    border-radius: 85% 40% 15% 15%;
    background: linear-gradient(145deg, #f16c78, #bd223c 72%);
    border-bottom: .15em solid #fff;
    transform: rotate(-22deg);
    box-shadow: 0 2px 3px #27395e40;
}

.design-a header .logo::after {
    top: -.66em;
    left: .66em;
    width: .23em;
    height: .23em;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px #27395e50;
}

.design-b header .logo {
    flex: none;
    padding-right: .95em;
}

.design-b header .logo::before {
    top: -.04em;
    right: -.04em;
    width: 1em;
    height: 1.22em;
    background: linear-gradient(105deg, #91d578, #388650 70%) top / 100% 85% no-repeat,
        #af764b bottom center / 18% 20% no-repeat;
    clip-path: polygon(50% 0, 73% 31%, 63% 31%, 87% 57%, 74% 57%, 100% 83%, 60% 83%, 60% 100%, 40% 100%, 40% 83%, 0 83%, 26% 57%, 13% 57%, 37% 31%, 27% 31%);
}

.design-b header .logo::after {
    top: -.04em;
    right: -.04em;
    width: 1em;
    height: 1.04em;
    background:
        radial-gradient(circle at 50% 7%, #ffe1a2 0 .075em, transparent .095em),
        radial-gradient(circle at 41% 35%, #ff9aab 0 .053em, transparent .075em),
        radial-gradient(circle at 60% 43%, #ffe1a2 0 .053em, transparent .075em),
        radial-gradient(circle at 69% 66%, #ff9aab 0 .053em, transparent .075em),
        radial-gradient(circle at 48% 72%, #fff1bd 0 .053em, transparent .075em),
        radial-gradient(circle at 27% 78%, #ff9aab 0 .053em, transparent .075em);
    filter: drop-shadow(0 0 2px #ffcf84);
}

@media (max-width: 380px) {
    .design-b header nav {
        gap: 10px;
    }
}

/* Snow stays behind the first screen's content. */
.design-a .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .65;
    background-image:
        radial-gradient(circle at 16px 24px, #7ca9df 0 1.5px, transparent 2.5px),
        radial-gradient(circle at 80px 41px, #9bc3ed 0 2px, transparent 3px),
        radial-gradient(circle at 116px 93px, #b4d4f5 0 2.5px, transparent 3.5px);
    background-size: 173px 160px, 227px 240px, 311px 320px;
}

@media (prefers-reduced-motion: no-preference) {
    .design-a .hero::before {
        animation: christmas-snow 18s linear 3;
    }
}

@keyframes christmas-snow {
    to { background-position: 0 320px, 0 240px, 0 320px; }
}

/* The snow cap moves with the original floating symbol. */
.design-a .glass {
    position: relative;
    height: auto;
    min-height: 0;
    aspect-ratio: 1;
}

.design-a .glass::before {
    content: '';
    position: absolute;
    top: -4%;
    right: 0;
    width: 75%;
    height: 24%;
    pointer-events: none;
    background: url("assets/christmas-snowcap.svg") center / 100% 100% no-repeat;
    filter: drop-shadow(0 1px 1px #123d8938);
}

.design-a :is(.work, .studio, .contact),
.design-b :is(.work, .studio, .contact) {
    position: relative;
}

.design-a :is(.work, .studio, .contact)::after,
.design-b :is(.work, .studio, .contact)::after {
    position: absolute;
    top: 1rem;
    right: 5%;
    pointer-events: none;
}

.design-a :is(.work, .studio, .contact)::after {
    content: '';
    width: 55px;
    height: 14px;
    background:
        radial-gradient(circle at 8% 50%, currentColor 0 2px, transparent 3px),
        radial-gradient(circle at 55% 22%, currentColor 0 1px, transparent 2px),
        radial-gradient(circle at 90% 68%, currentColor 0 2.5px, transparent 3.5px);
    color: #77a3dc;
}

.design-a .contact::after {
    color: #e2f1ff;
}

.design-b :is(.work, .studio, .contact)::after {
    content: '';
    width: 16px;
    height: 24px;
    background:
        linear-gradient(#d1ad74, #d1ad74) center top / 1px 7px no-repeat,
        linear-gradient(#eac592, #a5773d) center 6px / 6px 4px no-repeat,
        radial-gradient(circle at 35% 35%, #ffb6bc 0 9%, #ba4358 38%, #721e36 72%) center bottom / 15px 15px no-repeat;
}




/* Center the letter independently of the small aqua dot. */
.design-a .glass {
    padding-right: 0;
    letter-spacing: 0;
    padding-bottom: .24em;
}

.design-a .glass > span {
    position: absolute;
    right: 22%;
    bottom: 21%;
    margin: 0;
}


