.winter-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: center;
    min-height: clamp(36rem, 76svh, 58rem);
    color: #f9ecdc;
    background: #100b0b;
    overflow: hidden;
}

.winter-hero__scene {
    position: absolute;
    inset: 0;
    z-index: -1;
    isolation: isolate;
    overflow: hidden;
    background: #160f0c;
}

.winter-hero__scene::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(90deg, #100b0b 2%, #100b0bef 29%, #100b0b5c 55%, transparent 76%),
        linear-gradient(0deg, #100b0b, transparent 24%);
}

.winter-hero__city, .winter-hero__snow, .winter-hero__envy, .winter-hero__fir, .winter-hero__deer {
    position: absolute;
}

.winter-hero__city { inset: 0; }
.winter-hero__city img { width: 100%; height: 100%; object-fit: cover; object-position: 63% center; }
.winter-hero__fir { right: 2%; bottom: 8%; height: 78%; width: auto; filter: drop-shadow(0 10px 12px #100905a0); }
.winter-hero__deer { right: 35%; bottom: 7%; height: 38%; width: auto; filter: drop-shadow(0 8px 8px #100905c0); }
.winter-hero__envy { height: 94%; right: 13%; bottom: 1%; }
.winter-hero__envy img { display: block; height: 100%; width: auto; filter: drop-shadow(0 9px 14px #100905af); }

.winter-hero__gifts {
    position: absolute;
    right: 8%;
    bottom: 9%;
    display: flex;
    align-items: end;
    gap: .3rem;
    transform: rotate(-4deg);
}

.winter-hero__gifts span {
    display: grid;
    place-items: center;
    width: clamp(2.35rem, 4vw, 4.5rem);
    aspect-ratio: 1.15;
    border: 1px solid #b78a50;
    background:
        linear-gradient(90deg, transparent 44%, #bd9254 45% 55%, transparent 56%),
        linear-gradient(0deg, transparent 72%, #d2a968 73% 80%, transparent 81%),
        linear-gradient(130deg, #552031, #261017 75%);
    box-shadow: .2rem .35rem 1rem #170c08c4, inset 0 0 .45rem #0d070888;
}

.winter-hero__gifts span:nth-child(2) { width: clamp(1.7rem, 3vw, 3.2rem); transform: rotate(9deg); }
.winter-hero__gifts span img { width: 46%; padding: 3px; background: #29151a; }
.winter-hero__coin { width: clamp(1rem, 1.8vw, 2rem); transform: translate(-.25rem,.28rem) rotate(23deg); }

.winter-hero__snow {
    z-index: 3;
    inset: -10% 0 0;
    opacity: .31;
    background-image:
        radial-gradient(circle, #fff4e2 0 1px, transparent 1.6px),
        radial-gradient(circle, #fff8ed 0 1.3px, transparent 1.9px);
    background-size: 143px 94px, 209px 135px;
    background-position: 13px 15px, 39px 71px;
    animation: winter-hero-flurries 28s linear infinite;
}

@keyframes winter-hero-flurries {
    to { background-position: 156px 109px, 248px 206px; }
}

.winter-hero--evergreen .winter-hero__scene {
    background: #160f0c url('../img/main/main__image-01.webp') center / cover no-repeat;
}

.winter-hero__content {
    width: min(100% - 2 * clamp(1.15rem, 6vw, 8rem), 100rem);
    margin-inline: auto;
    padding-block: clamp(3rem, 8vw, 7rem);
}

.winter-hero__eyebrow {
    margin: 0 0 1.2rem;
    color: #e4c185;
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .19em;
}

.winter-hero h1 {
    max-width: 13ch;
    margin: 0;
    color: #fbecda;
    font-family: Georgia, serif;
    font-size: clamp(2.5rem, 5.3vw, 6rem);
    font-weight: 500;
    line-height: .99;
    text-wrap: balance;
}

.winter-hero__line {
    max-width: 24ch;
    margin: 1.55rem 0 .85rem;
    color: #f1d4a3;
    font-family: Georgia, serif;
    font-size: clamp(1.2rem, 1.7vw, 1.85rem);
    line-height: 1.22;
}

.winter-hero__description {
    max-width: min(41ch, 36vw);
    margin: 0;
    color: #e7dacc;
    font-size: clamp(.95rem, 1.13vw, 1.17rem);
    line-height: 1.56;
}

.winter-hero__actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.55rem; }
.winter-hero__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: .65rem 1.15rem;
    border: 1px solid #d6b478;
    color: #160e0a;
    background: #e5c48e;
    font-size: .85rem;
    font-weight: 750;
    text-align: center;
}

.winter-hero__actions a + a { color: #f0d7ab; background: #1b1010; }
.winter-hero__actions a:hover { background: #fff0cc; color: #170f0b; }
.winter-hero__actions a:focus-visible { outline: 2px solid #fff0cc; outline-offset: 3px; }

@media (min-width: 721px) and (max-width: 1100px) {
    .winter-hero__envy { height: 83%; right: 6%; }
    .winter-hero__fir { height: 61%; }
    .winter-hero__deer { height: 28%; }
}

@media (max-width: 720px) {
    .winter-hero { display: block; min-height: auto; }
    .winter-hero__scene { position: relative; height: clamp(13rem, 62vw, 25rem); }
    .winter-hero__scene::after { background: linear-gradient(0deg, #100b0b, transparent 29%); }
    .winter-hero__city img { object-position: 67% center; }
    .winter-hero__envy { height: 98%; right: 20%; bottom: 0; }
    .winter-hero__fir { height: 75%; right: 1%; bottom: 5%; }
    .winter-hero__deer { height: 40%; right: auto; left: 0; bottom: 4%; }
    .winter-hero__gifts { right: 9%; bottom: 8%; }
    .winter-hero__content { position: relative; margin-top: -.5rem; padding-block: 0 2.45rem; }
    .winter-hero__eyebrow { margin-bottom: .65rem; font-size: .625rem; }
    .winter-hero h1 { font-size: clamp(2rem, 8.8vw, 3.7rem); }
    .winter-hero__line { margin-block: .75rem .45rem; }
    .winter-hero__description { max-width: 45ch; font-size: .88rem; line-height: 1.45; }
    .winter-hero__actions { margin-top: .9rem; }
    .winter-hero__actions a { flex: 1 1 8rem; padding-inline: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
    .winter-hero__snow { animation: none; }
}

@media (max-width: 420px) {
    body:has(.winter-hero--seasonal) .envy-nav__left .envy-nav__control {
        position: relative;
        min-width: 44px;
        padding-inline: 5px;
    }

    body:has(.winter-hero--seasonal) .envy-nav__left .envy-nav__control span:not(.envy-nav__icon) {
        position: absolute;
        width: 1px;
        height: 1px;
        clip-path: inset(50%);
        overflow: hidden;
    }
}

@supports (animation-timeline: scroll()) {
    @media (min-width: 1101px) and (prefers-reduced-motion: no-preference) {
        .winter-hero__city {
            animation: winter-hero-parallax linear both;
            animation-timeline: scroll(root block);
            animation-range: 0 640px;
        }
    }

    @keyframes winter-hero-parallax {
        to { translate: 0 2%; }
    }
}

.winter-hero__fir img, .winter-hero__deer img {
    display: block;
    height: 100%;
    width: auto;
}

@media (min-width: 721px) and (max-width: 850px) {
    .winter-hero { min-height: 39rem; }
    .winter-hero__envy { height: 77%; right: 3%; }
    .winter-hero__deer { height: 24%; right: 42%; bottom: 6%; }
}

@media (max-width: 720px) {
    .home-page:has(.winter-hero--seasonal):not(.home-page--past-hero) .home-mobile-booking {
        display: none;
    }
}
