/* PIROHOVIE V8 — mobile polish, robust forest proportions, and illustrated interactions.
   Additive: applied AFTER v7.css, no existing database or CMS configuration modified. */
:root{--v8-wood:#75523a;--v8-forest:#294b38}
/* (1) Forest: individual foreground animals stand in FRONT of the house while
   young trees remain in front of them. Preserve svg aspect ratio on all screens. */
.forest-scene .forest-hut{z-index:4!important}
.forest-scene .forest-creature{z-index:6!important}
.forest-scene .forest-layer.front{z-index:8!important}
.forest-scene .forest-layer.front{
 background-image:url('/assets/forest/front-v8.svg')!important;
 background-size:100% 100%!important;
 background-position:center bottom!important;
 background-repeat:no-repeat!important;
}
/* (2) Rain exists ONLY in right-hand editorial panel. Markup moved inside
   .story-info; it never overlays the left photograph, even on narrow devices. */
.story-info{position:relative;overflow:hidden!important}
.story-info .story-rain{position:absolute;inset:0;z-index:3!important;pointer-events:none;overflow:hidden;contain:paint}
.story-info .story-info-inner{z-index:5!important}
/* (3) Equipment reveal: a fixed diagonal underlay plus a separate image layer.
   Fade a composited opacity layer over 1.5 seconds; do NOT toggle masks at hover. */
.feature-page .feature-item .feature-icon{isolation:isolate;overflow:hidden}
.feature-page .feature-item .feature-icon .feature-photo,
.feature-page .feature-item:is(:hover,:focus-visible) .feature-icon .feature-photo{
 -webkit-mask-image:linear-gradient(45deg,transparent 0%,transparent 43%,#00000010 47%,#000000c2 55%,#000 61%,#000 100%)!important;
 mask-image:linear-gradient(45deg,transparent 0%,transparent 43%,#00000010 47%,#000000c2 55%,#000 61%,#000 100%)!important;
 opacity:.75!important;transform:scale(1.01)!important;
}
.feature-page .feature-item .feature-icon .feature-photo-overlay{
 position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;
 z-index:1;pointer-events:none;opacity:0;transform:scale(1.035);
 transition:opacity 1.5s cubic-bezier(.17,.78,.24,1),transform 1.5s cubic-bezier(.17,.78,.24,1);
}
.feature-page .feature-item:is(:hover,:focus-visible) .feature-icon .feature-photo-overlay{opacity:.94;transform:scale(1.085)}
.feature-heading-row .feature-heading-aside{display:flex;align-items:flex-start;flex-direction:column;gap:22px;max-width:490px;min-width:0}
.feature-heading-aside p{margin:0;font-size:clamp(20px,1.35vw,25px)!important;line-height:1.65!important}
.feature-see-all{display:inline-flex;align-items:center;justify-content:center;gap:25px;min-height:60px;padding:17px 27px;border:1px solid rgba(222,192,161,.55);background:var(--v8-wood);border-radius:999px;color:#fff;text-decoration:none;letter-spacing:.05em;font:700 clamp(12px,1vw,14px)/1.3 Arial,sans-serif;white-space:nowrap;box-shadow:0 12px 23px #624b3823}
.feature-see-all:is(:hover,:focus-visible){background:#8e6848;color:#fff}
/* (4) Footer desktop stays edge-to-edge, with a separate type-fitting mobile
   arrangement. Never override computed per-letter sizes using CSS. */
.site-footer .footer-big.footer-wordmark-wrap{max-height:none!important;overflow:visible!important;width:100vw!important}
.site-footer .footer-wordmark{display:flex!important;flex-wrap:nowrap!important;width:100%;max-width:100%;box-sizing:border-box;white-space:nowrap;overflow:visible!important;
 padding:clamp(32px,3.3vw,65px) 0 7px!important;line-height:1.1!important;gap:0!important;letter-spacing:-.065em!important;}
.site-footer .footer-wordmark .footer-glyph{font-size:1em!important;letter-spacing:inherit!important}
.site-footer .footer-wordmark .footer-glyph-inner{line-height:1.07!important}
/* (5) A restrained mirrored parallax for the experience sketch (JS sets the translate). */
.explore-pencil-backdrop{background-position:center center!important;transform-origin:center center!important;}
/* (6) Reservation CTA contacts — clear tap targets on mobile. */
.contact-copy .contact-direct{max-width:100%;overflow-wrap:anywhere}
/* (7) Never allow Safari's native date controls to widen the form grid. */
.contact-card,.contact-card form,.contact-card .form-row,.contact-card label{min-width:0;max-width:100%;box-sizing:border-box}
.contact-card .form-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.contact-card input:not([type=checkbox]),.contact-card input[type=date],.contact-card select,.contact-card textarea{
 display:block;box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden;
}
.contact-card input[type=date]{-webkit-appearance:none;appearance:none;padding:15px 9px!important;text-align:left;}
.contact-card input[type=date]::-webkit-datetime-edit{font-size:clamp(11px,1.1vw,16px);min-width:0;}
.contact-card input[type=date]::-webkit-calendar-picker-indicator{flex:0 0 auto;width:19px;height:19px;margin-left:0;}
/* (9) iOS fallback canvas: every visual frame is selected by scrolling, not
   automatic playback. The native video/poster remains visible while loading. */
.hero-scene{position:relative}
.hero-scene .hero-frame-canvas{position:absolute;inset:0;display:block;width:100%;height:100%;opacity:0;pointer-events:none;z-index:1;transition:opacity .15s ease}
.hero-scene .hero-frame-canvas.is-ready{opacity:1}
/* Mobile navigation — dark green hamburger; white X against open overlay. */
@media(max-width:960px){
 .site-header .menu-toggle{position:relative;z-index:105;color:#234a37!important}
 .site-header .menu-toggle span{background:#234a37!important;height:2.5px!important;border-radius:3px}
 .site-header.menu-open .menu-toggle{color:#fff!important}
 .site-header.menu-open .menu-toggle span{background:#fff!important}
 .mobile-menu-inner{max-height:100dvh;overflow-y:auto;box-sizing:border-box;min-height:100dvh}
 .mobile-social{display:flex!important;align-items:center;gap:clamp(17px,6vw,36px)!important;margin-top:auto!important;padding:28px 0 max(26px,env(safe-area-inset-bottom))!important}
 .mobile-social a{display:grid;place-items:center;min-width:51px;min-height:51px;color:#fff!important;border:1px solid rgba(255,255,255,.35);border-radius:999px;transition:background .3s,transform .3s;}
 .mobile-social svg{width:25px;height:25px;color:#fff;fill:none}
 .mobile-social a:is(:hover,:focus-visible){background:rgba(255,255,255,.13);transform:translateY(-3px)}
 .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
}
@media(max-width:700px){
 /* Native mobile art with exactly preserved aspect ratio; more wide crowns,
    shorter trunkless trees, no forced SVG squash on portrait viewports. */
 .forest-scene{height:clamp(300px,79vw,385px)!important}
 .forest-scene .forest-layer.front{
  background-image:url('/assets/forest/front-v8-mobile.svg')!important;
  width:116%!important;left:-8%!important;bottom:-2px!important;
  height:clamp(220px,71vw,323px)!important;
  background-size:100% auto!important;background-repeat:no-repeat!important;background-position:center bottom!important;
 }
 .forest-scene .forest-hut{z-index:4!important}
 .forest-scene .forest-fox{z-index:6!important;left:4%!important;bottom:-1px!important;width:clamp(108px,29vw,154px)!important}
 .forest-scene .forest-deer{z-index:6!important;left:44%!important;bottom:-1px!important;width:clamp(96px,24vw,135px)!important}
 .forest-scene .forest-bear{z-index:6!important;right:0%!important;bottom:-1px!important;width:clamp(108px,28vw,157px)!important}
 .forest-scene .forest-hut{left:24%!important;bottom:0!important;width:clamp(210px,63vw,310px)!important;height:clamp(185px,58vw,290px)!important}
 .forest-scene .forest-layer.far{height:84%!important}
 .forest-scene .forest-layer.mid{height:78%!important}
 /* Equipment CTA sits after larger lead copy; content stays vertical. */
 .feature-heading-row .feature-heading-aside{padding-top:22px;gap:20px;max-width:none}
 .feature-heading-aside p{font-size:clamp(18px,4.9vw,23px)!important;line-height:1.6!important}
 .feature-see-all{min-height:57px;align-self:stretch;justify-content:center;white-space:normal;text-align:center}
 /* Experiences: centered, wide CTA; the next swipe card peeks out. */
 .explore-section .explore-button{display:flex;justify-content:center;width:min(100%,370px);margin:25px auto 0!important;box-sizing:border-box;text-align:center}
 .experience-track-wrap{padding-right:0!important;padding-left:25px!important}
 .experience-track{padding-right:25px;gap:15px!important}
 .experience-card{flex:0 0 74vw!important;min-width:0!important}
 .experience-card .card-image{height:clamp(295px,91vw,420px)}
 .track-controls{justify-content:center;gap:14px!important;margin-top:12px!important;margin-bottom:0!important;padding:0 25px 0 0!important}
 .track-text{font-size:9px;margin:0 4px!important}
 /* Contact buttons and lower breathing room before the footer. */
 .contact-grid .contact-copy{padding-bottom:26px!important}
 .contact-copy .contact-direct{display:flex;align-items:center;justify-content:center;min-height:57px;
  padding:13px 15px;margin:14px 0 0;border:1px solid rgba(232,225,205,.66)!important;border-radius:999px;
  background:var(--v8-wood);color:#fff!important;box-sizing:border-box;text-align:center;
  font:600 clamp(14px,3.6vw,17px)/1.4 Arial,sans-serif;text-decoration:none;box-shadow:0 9px 25px #0c281c38;}
 .contact-copy .contact-direct:is(:hover,:focus-visible){background:#8c6749;transform:translateY(-2px)}
 .contact-copy .contact-direct:last-child{margin-bottom:36px!important}
 .contact-card{margin-top:27px!important;min-width:0}
 /* Two dates beside each other only if each really fits the screen. */
 .contact-card .form-row:has(input[type=date]){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 .contact-card input[type=date]{font-size:13px!important;padding:12px 7px!important}
 .contact-card input[type=date]::-webkit-datetime-edit{font-size:11px!important}
 .contact-card input[type=date]::-webkit-calendar-picker-indicator{width:17px;height:17px}
 /* Bottom typography is designed as TWO independent full-width lines. */
 .site-footer .footer-big.footer-wordmark-wrap{margin-top:36px!important;padding:0!important;width:100vw!important;overflow:visible!important}
 .site-footer .footer-wordmark{display:grid!important;grid-template-columns:100%;grid-template-rows:auto auto;align-items:center!important;justify-content:stretch!important;padding:18px 0 10px!important;
  font-size:100px;line-height:1.15!important;gap:0!important;white-space:normal!important;}
 .footer-wordmark .footer-wordline{display:flex;white-space:nowrap;align-items:center;justify-content:center;width:100%;max-width:100%;line-height:1.17;overflow:visible!important}
 .footer-wordmark .footer-wordline.is-second{font-size:.78em}
 .site-footer .footer-wordmark .footer-space{display:none!important}
}
@media(max-width:385px){
 /* On very small devices, use stacked dates rather than allowing native iOS
    date controls to escape the container. */
 .contact-card .form-row:has(input[type=date]){grid-template-columns:1fr!important}
 .mobile-menu-inner{padding-top:98px}
 .mobile-menu-inner>a{font-size:clamp(37px,10vw,55px)}
}
@media(prefers-reduced-motion:reduce){
 .feature-icon .feature-photo-overlay,.footer-glyph-inner,.mobile-social a{transition:none!important;animation:none!important}
 .forest-layer,.forest-creature{will-change:auto!important}
}

@media(min-width:701px){.footer-wordmark .footer-wordline{display:inline-flex;align-items:center;white-space:nowrap;line-height:1.17;flex:0 0 auto}}

/* Remove old .footer-big span padding, which distorted width calculations. */
.site-footer .footer-wordmark .footer-wordline,
.site-footer .footer-wordmark .footer-glyph,
.site-footer .footer-wordmark .footer-glyph-inner{padding:0!important;margin:0!important}
/* Keep cinematic shading on top of iOS canvas while text stays foreground. */
.hero-scene .hero-shade{z-index:2;pointer-events:none}
