/* Sparse Christmas details. Keep the pine, champagne and amber palette and let
   the photographs, boats and words stay in front. All ornaments ignore input. */
.festive-detail{position:absolute;display:block;pointer-events:none;user-select:none;z-index:0;contain:layout style;color:#a68349;opacity:.8}
.festive-detail>svg{display:block;width:100%;height:100%;overflow:visible;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}
.festive-pine-stem{stroke:#71815d;stroke-width:1.1}.festive-pine-needles{stroke:#57734e;stroke-width:1.3;opacity:.9}.festive-pine-soft{stroke:#859372;stroke-width:1;opacity:.65}
.festive-gold-wire{stroke:#a68c5c;stroke-width:.8;opacity:.65}.festive-gold-ornament{stroke:#b18e50;stroke-width:1;fill:#e2bd720f}
.festive-warm-bulb{fill:#e5b96d;stroke:#fff0c8;stroke-width:.8;animation:festive-light-breath 6.5s ease-in-out infinite}
.festive-warm-bulb:nth-of-type(2n){animation-delay:-3s}.festive-bulb-halo{fill:#e8b75c;stroke:none;opacity:.08}
.festive-bow-line{stroke:#a78249;stroke-width:1.15;opacity:.85}.festive-bow-soft{stroke:#bfa16d;stroke-width:.75;opacity:.65}
.festive-star-line{stroke:#b79a62;stroke-width:1;fill:#d4ac5e0c}.festive-star-small{stroke:#c6a768;stroke-width:.8;opacity:.75}
.festive-detail--pine{width:156px;height:108px}.festive-detail--lights{width:310px;height:60px}.festive-detail--stars{width:88px;height:120px}.festive-detail--ribbon{width:130px;height:76px}

/* A single tiny edge ornament echoes the snow scene without covering its text
   or either cabin. The existing full introductory garland stays untouched. */
.hero>.festive-detail--stars{right:18px;top:auto;bottom:66px;width:44px;height:65px;opacity:.55;z-index:1;color:#e0c28b}
.hero>.festive-detail--stars .festive-star-line,.hero>.festive-detail--stars .festive-gold-wire{stroke:#dbc394}
#bajka-story>.festive-detail--ribbon{right:18px;top:6px;width:85px;height:50px;opacity:.56;transform:rotate(10deg)}

#bajka-story::before,
#bajka-story::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: clamp(20px, 2.5vw, 36px);
  height: 10px;
  background: linear-gradient(90deg, #c6994e 8%, #b9914c 31%, #d5af6c00);
  clip-path: polygon(0 50%, 20% 42%, 28% 0, 35% 41%, 100% 50%, 35% 57%, 28% 100%, 20% 58%);
  pointer-events: none;
  opacity: 0;
  animation: bajka-shooting-star 19s linear 600ms infinite;
}

#bajka-story::before { top: 27%; right: 2%; }
#bajka-story::after {
  bottom: 24%;
  left: 5%;
  height: 9px;
  animation-duration: 23s;
  animation-delay: 8s;
}

@keyframes bajka-shooting-star {
  0% { opacity: 0; transform: translate(9px, -4px) rotate(-23deg); }
  4%, 13% { opacity: .53; }
  23%, 100% { opacity: 0; transform: translate(-35px, 15px) rotate(-23deg); }
}

#bajka-story.ambient-idle::before,
#bajka-story.ambient-idle::after,
.document-hidden #bajka-story::before,
.document-hidden #bajka-story::after,
.is-paused #bajka-story::before,
.is-paused #bajka-story::after { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  #bajka-story::before,
  #bajka-story::after { display: none; animation: none; }
}

/* Boat story: a sprig entering from the upper edge, far from the product art. */
#do-splava>.festive-detail--pine{right:-8px;top:0;transform:rotate(-9deg);opacity:.75}
#do-splava>.festive-detail--pine .festive-gold-ornament{fill:#e1ba6610}

/* Warm evening: two fine stars against timber brown, with a quiet gold trail. */
#vase-uspomene>.festive-detail--stars{right:24px;top:-4px;opacity:.85}
#vase-uspomene>.festive-detail--stars .festive-gold-wire{stroke:#d5b67d;opacity:.5}
#vase-uspomene>.festive-detail--stars .festive-star-line{stroke:#e4c691;fill:#e6c48b0c}
#vase-uspomene>.festive-detail--stars .festive-star-small{stroke:#e0c18a}

/* At the table, a short strand draws the eye along the section boundary. */
#ukusi-bajke>.festive-detail--lights{top:0;right:8%;width:330px;height:57px;opacity:.85}

/* The last cabin chapter picks up the evergreen on the opposite bank. */
#nasi-splavovi>.festive-detail--pine{left:-12px;right:auto;top:0;transform:scaleX(-1) rotate(-7deg);opacity:.55}

/* Arrival carries the ribbon into the existing warm sand contact section. */
#kontakt>.festive-detail--ribbon{right:24px;top:8px;width:108px;height:65px;transform:rotate(-8deg);opacity:.65}
.footer{position:relative}
.footer>.festive-detail--stars{left:calc(50% - 24px);right:auto;top:-30px;bottom:auto;width:48px;height:42px;opacity:.65;z-index:1}
.footer>.festive-detail--stars .festive-gold-wire{opacity:.4}

/* Optional, finite heading accent. Root can add festive-heading-shine to the
   existing typewriter heading; it never changes text colour, size or flow. */
.festive-heading-shine{position:relative}
.festive-heading-shine:after{content:'';position:absolute;left:1px;bottom:-10px;width:102px;height:1px;background:linear-gradient(90deg,#aa874500,#c5a268b3,#aa874500);opacity:.4;transform-origin:left;pointer-events:none}
.festive-heading-shine.is-typed:after,.is-revealed .festive-heading-shine:after{animation:festive-heading-glint 1.6s ease-out both}
@keyframes festive-light-breath{0%,100%{opacity:.7}48%{opacity:1}73%{opacity:.82}}
@keyframes festive-heading-glint{0%{opacity:0;transform:scaleX(.35)}48%{opacity:.8}100%{opacity:.4;transform:scaleX(1)}}

/* All running effects follow the page's existing ambient visibility policy. */
.ambient-idle .festive-detail *,.ambient-idle .festive-heading-shine:after,
.document-hidden .festive-detail *,.document-hidden .festive-heading-shine:after,
.is-paused .festive-detail *,.is-paused .festive-heading-shine:after,
[data-document-hidden="true"] .festive-detail *,[data-document-hidden="true"] .festive-heading-shine:after{animation-play-state:paused!important}
.document-hidden .boat-story-vessel,.document-hidden .boat-story-star,.document-hidden .holiday-lights,.document-hidden .holiday-amber,.document-hidden .holiday-embers i{animation-play-state:paused!important}

@media(min-width:1700px){#do-splava>.festive-detail--pine{right:14px;width:174px;height:120px}#vase-uspomene>.festive-detail--stars{right:35px}#ukusi-bajke>.festive-detail--lights{right:12%;width:370px}}
@media(max-width:1000px){.festive-detail--pine{width:125px;height:90px}#do-splava>.festive-detail--pine{right:-16px;opacity:.6}#vase-uspomene>.festive-detail--stars{right:8px;width:66px;height:98px;opacity:.7}#ukusi-bajke>.festive-detail--lights{right:4%;width:255px;height:45px}#kontakt>.festive-detail--ribbon{right:4px;width:84px;height:53px;opacity:.55}#nasi-splavovi>.festive-detail--pine{width:105px;height:77px;opacity:.45}}
@media(max-width:600px){.hero>.festive-detail--stars{right:7px;bottom:50px;width:28px;height:46px;opacity:.45}#bajka-story>.festive-detail--ribbon{right:2px;top:0;width:62px;height:38px;opacity:.4}#do-splava>.festive-detail--pine{right:-17px;top:-8px;width:100px;height:74px;opacity:.52}#vase-uspomene>.festive-detail--stars{right:0;top:-10px;width:48px;height:76px;opacity:.6}#ukusi-bajke>.festive-detail--lights{right:2%;top:-3px;width:190px;height:35px;opacity:.7}#nasi-splavovi>.festive-detail--pine{left:-17px;top:-6px;width:82px;height:62px;opacity:.38}#kontakt>.festive-detail--ribbon{right:0;top:-3px;width:65px;height:41px;opacity:.45}.footer>.festive-detail--stars{width:37px;height:34px;left:calc(50% - 18px);top:-24px;opacity:.5}.festive-heading-shine:after{width:82px;bottom:-9px}}
@media(prefers-reduced-motion:reduce){.festive-detail *,.festive-heading-shine:after{animation:none!important}.festive-warm-bulb{opacity:.85}.festive-heading-shine:after{opacity:.4;transform:none}}
