:root{--flow-canvas:#eeeae2;--flow-ink:#332526;--flow-line:rgba(51,37,38,.25)}
html{scroll-padding-top:76px}
body.ll-flow-active,body.home.lgn-ready.ll-flow-active{background:var(--flow-canvas)}
body.ll-flow-active .lgm-home-mag{background:transparent;border-top:0}
body.ll-flow-active #lgn-home{background:transparent;color:var(--flow-ink);--ink:var(--flow-ink);--line:var(--flow-line);position:relative;margin-top:-65px}
body.ll-flow-active #lgn-oppning{background:var(--flow-canvas);border-radius:50% 50% 0 0/65px 65px 0 0}
body.ll-flow-active #lgn-home .chapter,
body.ll-flow-active #lgn-home .contact,
body.ll-flow-active #lgn-home .lgn-tail,
body.ll-flow-active #lgn-home .neighborhood{background:transparent;color:var(--flow-ink)}
body.ll-flow-active #lgn-home .neighborhood{transition:none}
body.ll-flow-active #lgn-home .journey-control{background:var(--flow-canvas);color:var(--flow-ink);border-color:var(--flow-line)}
body.ll-flow-active #lgn-home .thin-ring{border-color:var(--flow-line)}
body.ll-flow-active #lgn-home .lgn-latest,
body.ll-flow-active #lgn-home .district-bottom{border-color:var(--flow-line)}
body.ll-flow-active #lgn-home .light-toggle{border-color:currentColor}
body.ll-flow-active #lgn-home .oversize{color:currentColor;opacity:.09}
body.ll-flow-active #lgn-home .lgn-tail h2 em{color:inherit}
body.ll-flow-active .lgm-foot{background:var(--flow-canvas);color:var(--flow-ink)}
body.ll-flow-active .lgm-foot h2,body.ll-flow-active .lgm-foot a,body.ll-flow-active .lgm-foot-base,
body.ll-flow-active .lgm-foot .wpforms-field-label,body.ll-flow-active .lgm-foot .wpforms-field-sublabel{color:var(--flow-ink)!important}
body.ll-flow-active .lgm-foot-cols,body.ll-flow-active .lgm-foot-base,body.ll-flow-active .lgm-foot a{border-color:var(--flow-line)}
body.home.lgn-ready.ll-flow-active #llhome-header:not(.llhome-is-over-film){background:color-mix(in srgb,var(--flow-canvas) 94%,transparent)!important;color:var(--flow-ink)!important;border:0}
body.home.lgn-ready.ll-flow-active[data-ink=light] #llhome-header:not(.llhome-is-over-film) .llhome-brand img{filter:brightness(0) invert(1)!important}
body.home.lgn-ready.ll-flow-active[data-ink=dark] #llhome-header:not(.llhome-is-over-film) .llhome-brand img{filter:none!important}
body.ll-flow-active #lgn-home .contact{padding-top:145px}
body.ll-flow-active #lgn-home .contact>img{margin-top:-85px;position:relative;z-index:2}
/* Approved shared canvas and image bridges; existing opening and chapters retained. */
body.ll-flow-active #lgn-home .journey{margin-top:-55px}
body.ll-flow-active #lgn-home .journey-sticky{border-radius:50% 50% 0 0/var(--journey-round,55px) var(--journey-round,55px) 0 0;background:var(--flow-canvas)}
body.ll-flow-active #lgn-home .chapter-photo{will-change:clip-path}
.lgn-reading-hold{display:contents}
#lgn-home .lgn-reading-hold.is-reading-held{display:block;position:relative;height:calc(var(--reading-height) + clamp(260px,56svh,520px))}
#lgn-home .is-reading-held>.lgn-reading-stage{position:sticky;top:var(--reading-top,58px);height:auto}
@media(max-width:800px){#lgn-home .journey-sticky{overflow:visible}}
body.ll-flow-reduced #lgn-home .lgn-reading-hold{display:contents;height:auto}
body.ll-flow-reduced #lgn-home .lgn-reading-stage{position:relative;top:0}
@media(prefers-reduced-motion:reduce),(max-height:515px){
 #lgn-home .lgn-reading-hold.is-reading-held{display:contents;height:auto}
 #lgn-home .is-reading-held>.lgn-reading-stage{position:relative;top:0}
}
/* Fallback for no motion: every chapter is readable in normal document flow. */
body.ll-flow-reduced #lgn-home .arch-scene{height:auto;min-height:85svh}
body.ll-flow-reduced #lgn-home .arch-sticky{position:relative;top:0;height:85svh}
body.ll-flow-reduced #lgn-home .arch-image{clip-path:none!important}
body.ll-flow-reduced #lgn-home .arch-heading{opacity:1!important;color:white;text-shadow:0 2px 24px #000;background:linear-gradient(#0007,transparent);padding:20px}
body.ll-flow-reduced #lgn-home .arch-caption{display:none}
body.ll-flow-reduced #lgn-home .journey{height:auto}
body.ll-flow-reduced #lgn-home .journey-sticky{position:relative;top:0;height:auto;overflow:visible;border-radius:0}
body.ll-flow-reduced #lgn-home .journey-track{width:100%;display:block;transform:none!important}
body.ll-flow-reduced #lgn-home .chapter{width:100%;min-height:740px;height:auto}
body.ll-flow-reduced #lgn-home .chapter-photo{clip-path:none!important;min-height:500px}
body.ll-flow-reduced #lgn-home .journey-control{display:none}
body.ll-flow-reduced *,body.ll-flow-reduced *::before,body.ll-flow-reduced *::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}
@media(max-width:800px){
 body.ll-flow-active #lgn-home{margin-top:-44px}
 body.ll-flow-active #lgn-oppning{border-radius:50% 50% 0 0/44px 44px 0 0}
 body.ll-flow-active #lgn-home .journey{margin-top:0}
 body.ll-flow-active #lgn-home .journey-sticky{overflow:visible;border-radius:0;background:transparent}
 body.ll-flow-active #lgn-home .chapter{overflow:visible}
 body.ll-flow-active #lgn-home .styling{padding-bottom:40px;z-index:2}
 body.ll-flow-active #lgn-home .styling .chapter-photo{transform:translateY(65px)}
 body.ll-flow-active #lgn-home .styling .detail-inset{bottom:0}
 body.ll-flow-active #lgn-home .stories{padding-top:145px;padding-bottom:0;z-index:1}
 body.ll-flow-active #lgn-home .stories .chapter-photo{transform:translateY(55px) rotate(2deg)}
 body.ll-flow-active #lgn-home .neighborhood{padding-top:150px}
 body.ll-flow-active #lgn-home .contact{padding-top:100px;gap:45px}
 body.ll-flow-active #lgn-home .contact>img{margin-top:0}
 body.ll-flow-reduced #lgn-home .chapter{min-height:0}
 body.ll-flow-reduced #lgn-home .chapter-photo{min-height:0}
 body.ll-flow-reduced .ll-home-story{display:none!important}
 body.ll-flow-reduced #lgn-home #lgn-hem{display:flex!important}
}
@media(prefers-reduced-motion:reduce){
 body.ll-flow-active #lgn-home .journey-sticky{background:transparent}
 body.ll-flow-active #lgn-home .chapter-photo{will-change:auto}
}
body.home.lgn-ready.ll-flow-active #lagerlofs-interior-film .lgn-film-bottom{bottom:96px}
body.home.lgn-ready.ll-flow-active #lagerlofs-interior-film [data-film-sound]{bottom:95px!important}
body.home.lgn-ready.ll-flow-active #lagerlofs-interior-film [data-film-pause]{bottom:95px!important}
@media(max-width:800px){body.home.lgn-ready.ll-flow-active #lagerlofs-interior-film .lgn-film-bottom{bottom:76px}body.home.lgn-ready.ll-flow-active #lagerlofs-interior-film [data-film-sound]{bottom:115px!important}}

body.home.lgn-ready.ll-flow-active #lagerlofs-interior-film .ll-film-controls{bottom:130px!important}
@media(max-width:800px){body.home.lgn-ready.ll-flow-active #lagerlofs-interior-film .ll-film-controls{bottom:150px!important}}
body.ll-flow-active:has(#lgn-book-dialog[open]){overflow:hidden}

#lgn-home .lgn-reading-stage{scroll-margin-top:var(--lgn-top,58px)}
