.winter-toggle {
    position: absolute;
    z-index: 4;
    top: 20px;
    right: clamp(22px, 4vw, 54px);
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    overflow: visible;
    cursor: pointer;
}

.winter-toggle:not([hidden]) { display: grid; }
.winter-toggle:focus-visible { outline: 2px solid #fff5e5; outline-offset: 3px; }

.winter-gift-icon {
    position: relative;
    width: 27px;
    height: 19px;
    margin-top: 10px;
    border-radius: 2px 2px 4px 4px;
    background: linear-gradient(90deg, transparent 41%, #f2c976 41% 59%, transparent 59%),
                linear-gradient(145deg, #ce414e, #901725);
    filter: drop-shadow(0 2px 3px #1a090c80);
}

.winter-gift-lid {
    position: absolute;
    top: -3px;
    inset-inline: -2px;
    height: 7px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent 42%, #ffe09a 42% 58%, transparent 58%),
                linear-gradient(#e3535f, #b82f3c);
    box-shadow: 0 1px 1px #47162450;
}

.winter-gift-lid::before,
.winter-gift-lid::after {
    content: '';
    position: absolute;
    bottom: 100%;
    width: 9px;
    height: 7px;
    border: 2px solid #f2c976;
    border-radius: 70% 70% 12% 70%;
    transform: rotate(22deg);
    right: 50%;
}

.winter-gift-lid::after { right: auto; left: 50%; transform: scaleX(-1) rotate(22deg); }
.winter-toggle:hover .winter-gift-icon { filter: drop-shadow(0 0 5px #f2c976a8); }
.winter-toggle[aria-pressed="true"] .winter-gift-lid { transform: translateY(-4px) rotate(-9deg); }

.winter-snow-burst {
    position: absolute;
    inset: 0;
    z-index: 3;
    overflow: hidden;
    pointer-events: none;
}

.winter-snow-particle {
    position: absolute;
    top: var(--snow-origin-y);
    left: var(--snow-origin-x);
    width: var(--snow-size);
    height: var(--snow-size);
    color: #fff;
    font: var(--snow-size)/1 system-ui, sans-serif;
    text-shadow: 0 0 6px #ddf5ff;
    animation: winter-snow-pop var(--snow-duration) linear both;
}

.winter-snow-particle:empty { border-radius: 50%; background: #f3fbff; box-shadow: 0 0 5px #c9edff; }

@keyframes winter-snow-pop {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(.2);
        animation-timing-function: cubic-bezier(.13,.72,.26,1);
    }
    9% { opacity: 1; }
    44% { transform: translate(var(--snow-x), var(--snow-y)) rotate(var(--snow-spin)); }
    73% { opacity: .9; }
    100% {
        opacity: 0;
        transform: translate(calc(var(--snow-x) - 12px), calc(var(--snow-y) + 28px)) rotate(var(--snow-spin)) scale(.72);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .winter-gift-lid { transition: transform 240ms ease; }
    .winter-hero :is(.winter-tree, .winter-gifts, .winter-lights, .winter-greeting) {
        animation: winter-appear 460ms ease-out both;
    }
    @keyframes winter-appear { from { opacity: 0; } }
}

body:has(.winter-hero) .sns-topbar { background: #7e1929; }

#hero.winter-hero {
    --winter-ink: #fff5e5;
    --winter-gold: #ebc78d;
    --sleeve-size: clamp(230px, 24vw, 338px);
    min-height: clamp(600px, 77svh, 754px);
    background: #102b23;
    padding: 92px 0 76px;
}

#hero.winter-hero .slide-overlay {
    background: linear-gradient(105deg, #081e17 2%, #11372def 43%, #204638ea 75%, #122a23f2 100%);
}

.winter-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 79% 46%, #deaa5266, transparent 44%),
        radial-gradient(ellipse at 12% 108%, #9b263b59, transparent 58%),
        radial-gradient(circle at 19% 23%, #f5da9ec4 0 1.6px, transparent 2.8px),
        radial-gradient(circle at 12% 76%, #eff6ff7d 0 1.6px, transparent 2.8px),
        radial-gradient(circle at 92% 57%, #f5da9e85 0 2px, transparent 3.3px),
        radial-gradient(circle at 47% 63%, #eff6ff4a 0 1px, transparent 2px),
        radial-gradient(circle at 57% 21%, #f5da9e82 0 1px, transparent 2px),
        radial-gradient(circle at 84% 80%, #eff6ff7d 0 1px, transparent 2px);
}

.winter-tree {
    position: absolute;
    z-index: 1;
    right: max(-28px, calc((100vw - 1410px) / 2));
    bottom: 2%;
    width: min(39vw, 458px);
    height: auto;
    pointer-events: none;
    filter: drop-shadow(0 16px 28px #07130c85);
}

.winter-gifts {
    position: absolute;
    z-index: 1;
    right: max(48px, calc((100vw - 1256px) / 2));
    bottom: 1.2%;
    width: clamp(145px, 18vw, 258px);
    height: auto;
    pointer-events: none;
    filter: drop-shadow(0 8px 12px #07130c9c);
}

.winter-lights { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }

.winter-string {
    position: absolute;
    top: -57px;
    width: clamp(252px, 42vw, 648px);
    height: 116px;
    border: 1px solid #dfbd8045;
    border-radius: 50%;
}

.winter-string-left { left: -5%; transform: rotate(6deg); }
.winter-string-right { right: -5%; transform: rotate(-6deg); }

.winter-string i {
    position: absolute;
    left: var(--left);
    top: var(--top);
    width: 6px;
    height: 8px;
    border-radius: 55%;
    transform: translate(-50%, 50%);
    background: #ffe5ac;
    box-shadow: 0 0 6px 2px #ffd38ca8, 0 0 19px 5px #ffae5a38;
}

.winter-string i:nth-child(2n) { background: #fff1cf; }
.winter-string i:nth-child(3n) { background: #ff7e79; box-shadow: 0 0 8px 2px #ff7668ad, 0 0 20px 5px #fc663a42; }

#hero.winter-hero .hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: 'motto sleeve' 'greeting sleeve' 'apply sleeve';
    grid-template-rows: 1fr auto 1fr;
    column-gap: clamp(38px, 7vw, 94px);
    align-items: center;
    max-width: 1200px;
    padding: 0 clamp(36px, 5vw, 80px) !important;
    text-align: left !important;
}

#hero.winter-hero .hero-title {
    grid-area: motto;
    align-self: end;
    min-height: 2.32em !important;
    margin: 0 0 18px;
    color: var(--winter-ink);
    font-size: clamp(31px, 3.9vw, 59px) !important;
    font-weight: 800;
    line-height: 1.16 !important;
    white-space: normal;
    letter-spacing: -.07em;
    text-align: inherit;
}

#hero.winter-hero .hero-oneline > span:first-child { display: block; min-height: 1.16em; margin-right: 0 !important; }
#hero.winter-hero .hero-oneline > span:nth-child(2) { margin-right: .16em !important; }
#hero.winter-hero .hero-accent { color: inherit; }
#hero.winter-hero .hero-oneline > span:last-child { color: var(--winter-gold); }

.winter-greeting {
    grid-area: greeting;
    color: var(--winter-gold);
    font-size: clamp(15px, 1.55vw, 24px);
    font-weight: 650;
    letter-spacing: -.025em;
    line-height: 1.45;
    word-break: keep-all;
}

#hero.winter-hero .hero-video {
    grid-area: sleeve;
    position: relative;
    isolation: isolate;
    width: min(100%, calc(var(--sleeve-size) * 1.30));
    margin: 0 auto !important;
    padding-right: calc(var(--sleeve-size) * .30);
}

.winter-hero .hero-video::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: calc(var(--sleeve-size) * .055);
    right: 0;
    width: calc(var(--sleeve-size) * .89);
    aspect-ratio: 1;
    border: 1px solid #cba97d5e;
    border-radius: 50%;
    background:
        radial-gradient(circle, #e5bb83 0 15%, transparent 15.5%),
        repeating-radial-gradient(circle, transparent 0 2px, #e7d7bd1a 2.7px, transparent 3.4px),
        conic-gradient(from 40deg, #161a23, #47443f 10%, #161a23 26%, #121620 50%, #524d46 65%, #181c25 81%, #161a23);
    box-shadow: 0 20px 42px #04080db5;
}

#hero.winter-hero .hv-frame.album-frame {
    width: 100%;
    height: var(--sleeve-size) !important;
    border-radius: 10px;
    box-shadow: 0 20px 54px #060a12b5, 0 0 0 1px #e8c68f60 !important;
}

#hero.winter-hero .hv-label {
    width: 100%;
    min-height: 54px;
    margin: 14px 0 0;
    padding: 9px 0 0;
    border-top: 1px solid #edcda04d;
    border-radius: 0;
    background: transparent;
    text-align: inherit;
}

.winter-hero .af-album-title { color: var(--winter-ink); }
.winter-hero .af-album-artist { color: #d6c7af; }

#hero.winter-hero .hero-cta {
    grid-area: apply;
    align-self: start;
    margin-top: 30px;
    justify-content: flex-start !important;
}

#hero.winter-hero #heroApplyBtn {
    min-height: 48px;
    padding-inline: 28px;
    color: #fff5e5;
    background: #ac2434;
    box-shadow: 0 9px 22px #0004;
}

#hero.winter-hero #heroApplyBtn:hover { background: #8d1c2c; }
#hero.winter-hero #heroApplyBtn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (max-width: 768px) {
    .winter-toggle { top: 10px; right: 12px; }

    main > #hero.winter-hero {
        --sleeve-size: clamp(153px, 46vw, 228px);
        min-height: auto;
        padding: 56px 0 49px !important;
    }

    #hero.winter-hero .hero-content { display: block; padding: 0 20px !important; text-align: center !important; }
    #hero.winter-hero .hero-title { margin: 0 0 13px; min-height: 3.48em !important; font-size: clamp(25px, 8vw, 36px) !important; }
    #hero.winter-hero .hero-oneline > span { display: block; min-height: 1.16em; margin-right: 0 !important; }
    #hero.winter-hero .hero-oneline > span:nth-child(2) { margin-right: 0 !important; }
    .winter-greeting { font-size: clamp(14px, 4.1vw, 18px); }
    #hero.winter-hero .hero-video { margin: 24px auto 0 5% !important; }
    .winter-tree { right: -3%; bottom: 15%; width: min(54vw, 315px); }
    .winter-gifts { right: 10px; bottom: calc(15% - 14px); width: min(25vw, 145px); }
    #hero.winter-hero .hero-cta { margin-top: 12px; justify-content: center !important; }
    #hero.winter-hero #heroApplyBtn { width: auto; min-width: 156px; }
    .winter-string { top: -55px; height: 85px; width: 62%; }
    .winter-string-left { left: -19%; }
    .winter-string-right { right: -19%; }
    .winter-string i { width: 4px; height: 6px; }
}

@media (min-width: 481px) and (max-width: 768px) {
    #hero.winter-hero .hero-video { margin-left: 13% !important; }
    .winter-tree { right: 3%; }
    .winter-gifts { right: calc(5% + 10px); }
}

@media (max-width: 360px) {
    .winter-gifts { width: 22vw; }
}
