/* Chata Pirohovie V5: gentle editorial shapes and scroll-scrubbed video. */
/* HERO. The videos never autoplay: their timestamp is determined by scroll position. */
.hero-scroll{height:420vh}
.hero-scene video.hero-video{width:100%;height:100%;display:block;object-fit:cover;object-position:center;transform:scale(1.027);will-change:transform;pointer-events:none;background:#15281e}
.hero-scene:has(.hero-video){transition:none}
.hero-progress-btn span:before{transition:width .12s linear}
@media(max-width:760px){.hero-scroll{height:370svh}.hero-scene video.hero-video{object-position:center center;transform:scale(1.06)}}
/* A crisp, organically edged spruce branch (not a capsule) for the owl CTA. */
.text-link.forest-branch-button{
 background:transparent url('/assets/forest/pine-branch.svg') center center/100% 100% no-repeat!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;
 min-width:clamp(238px,22vw,340px)!important;min-height:83px!important;
 padding:26px 44px 15px!important;position:relative!important;overflow:visible!important;
 filter:drop-shadow(0 9px 7px rgba(39,35,22,.23));
}
.text-link.forest-branch-button::before,.text-link.forest-branch-button::after{content:none!important}
.text-link.forest-branch-button .branch-label{position:relative;z-index:2!important;text-shadow:0 2px 4px #1d201b9c;font-size:clamp(12px,1vw,15px)!important}
.forest-branch-button .branch-owl{bottom:50%!important;left:60%!important;transform:translateX(-50%)!important;width:clamp(48px,4.5vw,66px)!important}
.forest-branch-button:is(:hover,:focus-visible){filter:drop-shadow(0 13px 12px rgba(43,55,31,.28));box-shadow:none!important}
/* Floating pill-shaped OUTLINE clouds - scroll driver moves them in both directions. */
.forest-clouds{z-index:4!important;overflow:hidden!important}
.forest-clouds .cloud{background:url('/assets/forest/cloud-outline.svg') center/100% 100% no-repeat!important;filter:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;animation:none!important;height:clamp(48px,6.2vw,93px)!important;opacity:.35;will-change:transform;transition:none!important}
.forest-clouds .cloud-1{left:12%;top:12%;width:clamp(145px,15vw,260px)!important;opacity:.30}
.forest-clouds .cloud-2{left:66%;top:8%;width:clamp(125px,13vw,215px)!important;opacity:.34}
.forest-clouds .cloud-3{left:33%;top:28%;width:clamp(106px,11vw,175px)!important;opacity:.22}
.forest-clouds .cloud-4{left:84%;top:24%;width:clamp(115px,12vw,190px)!important;opacity:.28}
.forest-clouds .cloud-5{left:48%;top:2%;width:clamp(100px,10vw,166px)!important;opacity:.27}
/* No older deer silhouette behind the colored deer. */
.forest-deer,.forest-creature.forest-deer{background:none!important;background-image:none!important}
.forest-fox{left:10.5%!important;width:clamp(118px,13.2vw,208px)!important}
.forest-deer{left:47%!important}
.forest-bear{right:9%!important}
/* Less dense, simpler front-row trees: deliberate gaps reveal each animal. */
.forest-layer.front{background-image:url('/assets/forest/front-v5.svg')!important;background-size:100% 100%!important;height:69%!important;opacity:1!important}
.forest-hut{background-image:url('/assets/forest/hut-terrace.svg')!important;left:25%!important;width:clamp(230px,26vw,450px)!important;z-index:6!important}
/* Slow pine texture like a gently moving fixed backdrop. */
.story-pine-pattern{background-size:410px 440px;will-change:transform}
/* A photograph across every amenity card, disappearing towards bottom LEFT. */
.feature-icon{width:100%!important;height:100%!important;inset:0!important;top:0!important;right:0!important}
.feature-icon .feature-photo{inset:0!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;clip-path:none!important;-webkit-clip-path:none!important;-webkit-mask-image:linear-gradient(34deg,transparent 0%,rgba(0,0,0,.09) 22%,rgba(0,0,0,.46) 48%,#000 92%)!important;mask-image:linear-gradient(34deg,transparent 0%,rgba(0,0,0,.09) 22%,rgba(0,0,0,.46) 48%,#000 92%)!important;opacity:.75!important}
.feature-item:hover .feature-photo{opacity:.88!important}
.feature-item h3,.feature-item p,.feature-num{isolation:isolate}
/* Full-bleed pencil sketch, no squirrel/tree, gentle zoom-in on scroll. */
.explore-tree{display:none!important}
.explore-pencil-backdrop{inset:0!important;width:100%!important;height:100%!important;top:0!important;left:0!important;background-size:cover!important;background-position:center center!important;opacity:.15!important;transform-origin:center center!important}
/* Aerial photograph anchored to its bottom edge for the entire reservation section. */
.contact-aerial{inset:0!important;background-position:center bottom!important;transform-origin:center bottom!important}
/* Footer typography occupies the entire viewport width. Each glyph sways separately. */
.site-footer{padding-bottom:0!important}
.footer-big.footer-wordmark-wrap{display:block!important;position:relative!important;bottom:0!important;width:100vw!important;max-width:none!important;max-height:none!important;overflow:hidden!important;line-height:.79!important;min-height:0!important;margin:clamp(56px,6.4vw,105px) 0 -2px calc(50% - 50vw)!important;padding:0!important;opacity:1!important}
.footer-wordmark{display:flex;align-items:flex-end;justify-content:space-between;white-space:nowrap;overflow:hidden;width:100%;height:auto;line-height:.79;font:400 100px/.79 Georgia,'Times New Roman',serif;letter-spacing:-.06em;user-select:none}
.footer-wordmark .footer-glyph{display:inline-block;flex:0 0 auto;vertical-align:bottom!important;font-family:Georgia,serif;font-size:1em!important;font-weight:400;line-height:.79;letter-spacing:inherit;transform-origin:50% 92%;animation:footerGlyphSway var(--sway-duration,7s) ease-in-out var(--sway-delay,0s) infinite alternate;will-change:transform}
.footer-wordmark .footer-glyph[data-word="first"]{color:rgba(137,105,79,.27)}
.footer-wordmark .footer-glyph[data-word="second"]{color:rgba(47,83,61,.19)}
.footer-wordmark .footer-space{display:inline-block;flex:0 0 .19em}
@keyframes footerGlyphSway{from{transform:rotate(calc(var(--sway,1deg) * -1)) translateY(1px)}to{transform:rotate(var(--sway,1deg)) translateY(-2px)}}
@media(max-width:700px){
 .forest-clouds .cloud{height:42px!important;opacity:.28}
 .forest-layer.front{height:66%!important}
 .forest-hut{left:27%!important;width:155px!important}
 .forest-fox{left:9%!important;width:94px!important}
 .forest-bear{right:5%!important;width:97px!important}
 .forest-deer{width:73px!important}
 .feature-icon{width:100%!important;height:100%!important}
 .footer-big.footer-wordmark-wrap{margin-top:55px!important;padding:0!important;max-height:none!important}
 .footer-wordmark{font-size:100px}
}
@media(prefers-reduced-motion:reduce){
 .hero-scroll{height:100svh!important}
 .hero-scene video.hero-video{transform:none!important}
 .footer-wordmark .footer-glyph{animation:none!important;transform:none!important}
 .forest-clouds .cloud{animation:none!important;transform:none!important}
}

/* Animated fill per segment, scrubbed with the video timeline. */
.hero-progress-btn span:before{width:var(--hero-fill,0%)!important}
