/* Seasonal Storybook: theme-only, opt-in scenery. Artwork is never placed in plugin content. */
/* Keep the header and all menu controls completely clear of holiday ornaments. */
.hh-storybook-on .hh-page-hero,.hh-storybook-on .hh-service-hero{isolation:isolate}
.hh-storybook-on .hh-page-hero::before,.hh-storybook-on .hh-service-hero::before{
  content:"";position:absolute;pointer-events:none;z-index:0;
  width:clamp(190px,37vw,540px);height:clamp(135px,27vw,360px);
  right:clamp(-65px,-2vw,-10px);bottom:-20px;
  background:var(--hh-storybook-scene) center bottom / contain no-repeat;
}
.hh-storybook-on .hh-page-hero>.hh-container,.hh-storybook-on .hh-service-hero>*{position:relative;z-index:1}
.hh-storybook-level-accent .hh-page-hero::before,.hh-storybook-level-accent .hh-service-hero::before{width:clamp(140px,24vw,280px);height:clamp(95px,20vw,210px)}
.hh-storybook-level-full .hh-page-hero::before,.hh-storybook-level-full .hh-service-hero::before{width:clamp(230px,46vw,650px);height:clamp(160px,36vw,455px)}

@media(max-width:680px){
  .hh-storybook-on .hh-page-hero::before,.hh-storybook-on .hh-service-hero::before{width:clamp(110px,33vw,175px);height:clamp(98px,33vw,160px);right:-25px;bottom:-12px;opacity:.72}
  .hh-storybook-on .hh-page-hero .hh-container,.hh-storybook-on .hh-service-hero>*{position:relative;z-index:1}
}
@media(max-width:359px){.hh-storybook-on .hh-page-hero::before,.hh-storybook-on .hh-service-hero::before{opacity:.34;right:-45px}}
@media(prefers-reduced-motion:reduce){.hh-storybook-on .hh-page-hero::before,.hh-storybook-on .hh-service-hero::before{animation:none!important}}
/* v0.9.6: responsive, full-width Storybook scenery for theme-owned interior heroes.
   The seasonal artwork is decorative; real page text stays in .hh-container.
   No selectors target the plugin, its cards, portal, or other content. */
.hh-storybook-on.hh-storybook-panorama .hh-page-hero{
  display:flex;align-items:center;position:relative;isolation:isolate;
  min-height:clamp(270px,19.5vw,405px);
  padding-block:clamp(3rem,5.2vw,5rem);
  background:var(--hh-hero-from,#061426);
}
.hh-storybook-on.hh-storybook-panorama .hh-page-hero::before{
  content:"";position:absolute;inset:0;width:auto;height:auto;right:0;bottom:0;
  z-index:0;pointer-events:none;opacity:1;transform:none;
  background-image:var(--hh-storybook-panorama);
  background-repeat:no-repeat;background-size:cover;background-position:center center;
}
.hh-storybook-on.hh-storybook-panorama .hh-page-hero::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;opacity:1;
  background:linear-gradient(90deg,rgba(3,15,29,.39) 0%,rgba(3,15,29,.29) 29%,rgba(3,15,29,.09) 57%,rgba(3,15,29,0) 78%);
}
.hh-storybook-on.hh-storybook-panorama .hh-page-hero>.hh-container{
  position:relative;z-index:4;min-width:0;
}
.hh-storybook-on.hh-storybook-panorama .hh-page-hero :is(.hh-eyebrow,.hh-page-title,.hh-page-intro){
  color:#fff; /* Foreground paired to the intentionally dark art text-safe zone. */
  text-shadow:0 2px 14px rgba(0,10,28,.32);
}
.hh-storybook-on.hh-storybook-panorama .hh-page-hero .hh-eyebrow{
  color:#FF899C;
}
.hh-storybook-on.hh-storybook-panorama .hh-page-hero .hh-page-title{
  max-width:17ch;font-size:clamp(2rem,6.4vw,5.1rem);line-height:1.06;
  letter-spacing:-.04em;overflow-wrap:break-word;
}
.hh-storybook-on.hh-storybook-panorama .hh-page-hero .hh-page-intro{
  max-width:53ch;line-height:1.4;
}
/* v0.10.3 — light-source-matched glow layers. These SVGs register against
   existing bulbs and lanterns in each approved panorama, rather than adding
   arbitrary dots to the page. All content and navigation stay stationary. */
.hh-storybook-on.hh-storybook-panorama .hh-page-hero{overflow:hidden}
.hh-storybook-glimmers{position:absolute;inset:0;z-index:2;pointer-events:none;overflow:hidden}
.hh-storybook-light-layer{
  position:absolute;inset:0;display:block;pointer-events:none;
  opacity:0;mix-blend-mode:screen;
  background-size:cover;background-repeat:no-repeat;background-position:center center;
  will-change:opacity;
}
.hh-storybook-light-layer--a{background-image:var(--hh-storybook-lights-a,none)}
.hh-storybook-light-layer--b{background-image:var(--hh-storybook-lights-b,none)}
.hh-storybook-light-layer--c{background-image:var(--hh-storybook-lights-c,none)}
/* Festivity level controls density independently of the motion setting. */
.hh-storybook-level-accent .hh-storybook-light-layer--b,
.hh-storybook-level-accent .hh-storybook-light-layer--c,
.hh-storybook-level-celebration .hh-storybook-light-layer--c{display:none}
.hh-storybook-on.hh-storybook-panorama.hh-storybook-motion-playful .hh-storybook-light-layer{filter:brightness(1.35)}
/* Each group brightens only briefly; the approved base-art lamps remain
   present and don't get switched off. No flashes or positional movement. */
@keyframes hh-storybook-source-glow{
  0%,20%,63%,100%{opacity:.015}
  35%{opacity:.52}
  47%{opacity:.74}
  54%{opacity:.24}
}
@keyframes hh-storybook-scene-reveal{from{opacity:.80}to{opacity:1}}
@media(prefers-reduced-motion:no-preference){
  .hh-storybook-on.hh-storybook-panorama:not(.hh-storybook-motion-off) .hh-page-hero::before,
  body.home.hh-storybook-on.hh-storybook-panorama:not(.hh-storybook-motion-off) .hh-storybook-home-scene::before{
    animation:hh-storybook-scene-reveal 1.1s ease-out both;
  }
  .hh-storybook-on.hh-storybook-panorama:not(.hh-storybook-motion-off) .hh-storybook-light-layer{
    animation-name:hh-storybook-source-glow;
    animation-iteration-count:infinite;
    animation-timing-function:ease-in-out;
  }
  .hh-storybook-on.hh-storybook-panorama.hh-storybook-motion-gentle .hh-storybook-light-layer--a{animation-duration:5.1s;animation-delay:-1.1s}
  .hh-storybook-on.hh-storybook-panorama.hh-storybook-motion-gentle .hh-storybook-light-layer--b{animation-duration:6.7s;animation-delay:-3.0s}
  .hh-storybook-on.hh-storybook-panorama.hh-storybook-motion-gentle .hh-storybook-light-layer--c{animation-duration:8.3s;animation-delay:-4.6s}
  /* Playful uses the same located light sources, with a slightly quicker rhythm. */
  .hh-storybook-on.hh-storybook-panorama.hh-storybook-motion-playful .hh-storybook-light-layer--a{animation-duration:3.9s;animation-delay:-1.5s}
  .hh-storybook-on.hh-storybook-panorama.hh-storybook-motion-playful .hh-storybook-light-layer--b{animation-duration:5.0s;animation-delay:-2.2s}
  .hh-storybook-on.hh-storybook-panorama.hh-storybook-motion-playful .hh-storybook-light-layer--c{animation-duration:6.2s;animation-delay:-3.7s}
}
.hh-storybook-motion-off :is(.hh-storybook-light-layer,.hh-storybook-home-glow){opacity:0!important;animation:none!important}
.hh-storybook-on.hh-storybook-motion-off :is(.hh-page-hero,.hh-service-hero,.hh-storybook-home-scene)::before{animation:none!important;transform:none!important}
@media(max-width:767px){
  .hh-storybook-on.hh-storybook-panorama .hh-page-hero{
    min-height:clamp(270px,62vw,360px);padding-block:clamp(2.75rem,10vw,4rem);
  }
  .hh-storybook-on.hh-storybook-panorama .hh-page-hero::before{background-position:right center}
  .hh-storybook-on.hh-storybook-panorama .hh-page-hero::after{
    background:linear-gradient(90deg,rgba(3,15,29,.91) 0%,rgba(3,15,29,.78) 49%,rgba(3,15,29,.24) 100%);
  }
  .hh-storybook-on.hh-storybook-panorama .hh-page-hero .hh-page-title{font-size:clamp(2rem,8vw,3.45rem);max-width:12ch}
  .hh-storybook-on.hh-storybook-panorama .hh-page-hero .hh-page-intro{max-width:34ch}
.hh-storybook-on.hh-storybook-panorama .hh-storybook-light-layer{background-position:right center}
}
@media(max-width:359px){
  .hh-storybook-on.hh-storybook-panorama .hh-page-hero{min-height:266px;padding-block:2.5rem}
  .hh-storybook-on.hh-storybook-panorama .hh-page-hero::after{background:rgba(3,15,29,.78)}
  .hh-storybook-on.hh-storybook-panorama .hh-page-hero .hh-page-title{font-size:clamp(1.85rem,8.5vw,2.4rem)}
}
/* Homepage scene stays separate from service cards; it uses the same artwork
   without moving the homepage's actual content. */
body.home.hh-storybook-on.hh-storybook-panorama .hh-storybook-home-scene{
  position:relative;isolation:isolate;overflow:hidden;width:100%;
  height:clamp(120px,13vw,210px);background:var(--hh-hero-from,#061426);
}
body.home.hh-storybook-on.hh-storybook-panorama .hh-storybook-home-scene::before{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background-image:var(--hh-storybook-panorama);background-size:cover;background-position:center 49%;
}
body.home.hh-storybook-on.hh-storybook-panorama .hh-storybook-home-scene::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(0deg,rgba(3,15,29,.24),transparent 52%);
}
body.home.hh-storybook-on.hh-storybook-panorama .hh-storybook-home-glow{
  position:absolute;pointer-events:none;z-index:2;top:8%;right:18%;width:20px;height:20px;
  border-radius:50%;background:radial-gradient(circle,rgba(255,241,183,.8),rgba(255,230,144,0) 72%);opacity:.3;
}
@media (prefers-reduced-motion:no-preference){
 body.home.hh-storybook-on.hh-storybook-panorama:not(.hh-storybook-motion-off) .hh-storybook-home-glow{animation:hh-storybook-source-glow 11s ease-in-out infinite}
}
@media(max-width:767px){
 body.home.hh-storybook-on.hh-storybook-panorama .hh-storybook-home-scene{height:clamp(96px,29vw,148px)}
 body.home.hh-storybook-on.hh-storybook-panorama .hh-storybook-home-scene::before{background-position:74% center}
 }
@media(prefers-reduced-motion:reduce){
 .hh-storybook-on.hh-storybook-panorama .hh-page-hero::before,
 body.home.hh-storybook-on.hh-storybook-panorama .hh-storybook-home-scene::before,
 .hh-storybook-on.hh-storybook-panorama :is(.hh-storybook-light-layer,.hh-storybook-home-glow){
   animation:none!important;transform:none!important
 }
 .hh-storybook-on.hh-storybook-panorama :is(.hh-storybook-light-layer,.hh-storybook-home-glow){opacity:0!important}
}

