/* Staging-pakke v4.2 (28 Nov 2026). Emilie, 28 Nov 2026: "jeg vil gerne have lidt mere bevægelige effects på forsiden
   og på scroll ikonet. og man må gerne skulle scrolle lidt mere før man ser næste afsnit".
   Loaded after every other stylesheet of the theme (inc/v42.php). The motion uses the values of motion.css (the
   OT-AM landing page's own: a 28 px rise in .7 to .9 s, one part after the other) and only the properties
   translate, scale, opacity and filter, never transform: the front page still rests on old transform offsets
   (STAGING-FUND v4.1), and they stay untouched. Nothing moves with prefers-reduced-motion.

    1. More air between the sections of the front page
    2. The scroll cue: the arrow glides down and fades, the word pulses (front page, sub-pages, How it works)
    3. Front page hero: the text rises in, the photo zooms slowly, the Bifrost Unit floats
    4. Front page: sections, cards and steps rise in as they come into view (bc-v42.js)
    5. Tours and tutorials: the guide cards under "BifrostConnect OT-AM Platform" */

/* ---- 1. air between the sections of the front page. Added as margins, so no padding or offset of the page changes.
        Computer (from 1025 px): hero to figure +70, figure to process +50, process to film +100, film to customer
        stories +70, customer stories to the band +60. Tablet: about two thirds. Phone: +30, +20, 0, +28, +24. ---- */
html body .bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-find{margin-top:30px!important;margin-bottom:20px!important}
html body .bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-explainer{margin-bottom:28px!important}
html body .bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-quotes{margin-bottom:24px!important}
@media (min-width:701px){
html body .bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-find{margin-top:48px!important;margin-bottom:34px!important}
html body .bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-process{margin-bottom:60px!important}
html body .bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-explainer{margin-bottom:46px!important}
html body .bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-quotes{margin-bottom:40px!important}
}
@media (min-width:1025px){
html body .bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-find{margin-top:70px!important;margin-bottom:50px!important}
html body .bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-process{margin-bottom:100px!important}
html body .bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-explainer{margin-bottom:70px!important}
html body .bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-quotes{margin-bottom:60px!important}
}

@media (prefers-reduced-motion:no-preference){

/* ---- 2. the scroll cue. The same on the front page, every sub-page and How it works: the arrow glides 16 px down
        and fades out, in a loop of 2 s; the word and the arrow pulse softly together. The selectors are the ones of
        bc-v4.css section 6, which held the arrow still. ---- */
html body.bc-sections:not(#u1):not(#u2):not(#u3):not(#u4):not(#u5):not(#u6):not(#u7):not(#u8) :is(.bc-page-hero,.bc-post-hero) .u-scroll .u-scroll-t::after,
html body .bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-sec.bh11-hero .bh11-scroll .elementor-heading-title::after,
html body .bhw-el.bhw-el.bhw-el.bhw-el .hcue i{animation:v42-cue 2s cubic-bezier(.45,0,.55,1) infinite!important;will-change:translate,filter}
html body.bc-sections :is(.bc-page-hero,.bc-post-hero) .u-scroll .u-scroll-t,
html body .bh11-sec.bh11-hero .bh11-scroll .elementor-heading-title,
html body .bhw-sec.bhw-s-hero > div.bhw-el > header.hero > a.hcue{animation:v42-word 2s ease-in-out infinite}
@keyframes v42-cue{0%{translate:0 -6px;filter:opacity(0)}30%{filter:opacity(1)}65%{filter:opacity(1)}100%{translate:0 10px;filter:opacity(0)}}
@keyframes v42-word{0%,100%{filter:opacity(1)}50%{filter:opacity(.6)}}

/* ---- 3. front page hero. CSS only, so it starts with the first paint and nothing is drawn and hidden after. ---- */
html body .bh11-sec.bh11-hero .bh11-htxt > *{animation:v42-rise .8s cubic-bezier(.2,.7,.2,1) both}
html body .bh11-sec.bh11-hero .bh11-htxt > :nth-child(1){animation-delay:.05s}
html body .bh11-sec.bh11-hero .bh11-htxt > :nth-child(2){animation-delay:.13s}
html body .bh11-sec.bh11-hero .bh11-htxt > :nth-child(3){animation-delay:.21s}
html body .bh11-sec.bh11-hero .bh11-htxt > :nth-child(n+4){animation-delay:.33s}
@keyframes v42-rise{from{opacity:0;translate:0 28px}to{opacity:1;translate:0 0}}
/* the photo behind the hero zooms slowly in and out again (the photo of the section, drawn once more on a layer of
   its own under the gradient, so only that layer moves) */
html body .bh11-sec.bh11-hero{isolation:isolate}
html body .bh11-sec.bh11-hero::after{content:"";position:absolute;inset:0;z-index:-1;background-image:inherit;background-size:cover;background-position:inherit;background-repeat:no-repeat;pointer-events:none;transform-origin:72% 38%;animation:v42-zoom 26s ease-in-out infinite alternate;will-change:scale}
@keyframes v42-zoom{from{scale:1}to{scale:1.07}}
/* the Bifrost Unit comes in and then floats 10 px, as the unit on the OT-AM landing page */
html body .bh11-sec.bh11-hero .bh11-hero-unit img{animation:v42-unit .9s cubic-bezier(.2,.7,.2,1) .25s both,v42-float 6s ease-in-out 1.2s infinite alternate}
@keyframes v42-unit{from{opacity:0;scale:.96}to{opacity:1;scale:1}}
@keyframes v42-float{from{translate:0 0}to{translate:0 -10px}}

/* ---- 4. front page: what bc-v42.js marks rises in when it comes into view; cards in a row one after the other.
        The script only marks what is below the window, and takes the marks off again when the part is in place, so
        the page ends exactly as it is without the script. ---- */
html.v42-m .v42-r:not(.v42-in){opacity:0!important}
html.v42-m .v42-r.v42-in{animation:v42-rise .9s cubic-bezier(.2,.7,.2,1) var(--v42-d,0s) both!important}
html.v42-m .v42-r.v42-pop.v42-in{animation-name:v42-pop!important}
@keyframes v42-pop{from{opacity:0;scale:.97;translate:0 20px}to{opacity:1;scale:1;translate:0 0}}

}
@media print{html.v42-m .v42-r{opacity:1!important;animation:none!important}}

/* ---- 5. Tours and tutorials: a guide card is one link, the guide's name, with the arrow of the other cards' links.
        The cards themselves are the page's own (.bc-icard). ---- */
html body .bc-section.bc-platform-guides .bc-icard{position:relative}
html body .bc-section.bc-platform-guides .bc-icard h3{margin-bottom:0}
html body .bc-section.bc-platform-guides .bc-icard h3 a{color:inherit;text-decoration:none;display:flex;align-items:center;justify-content:space-between;gap:16px}
html body .bc-section.bc-platform-guides .bc-icard h3 a::before{content:"";position:absolute;inset:0}
html body .bc-section.bc-platform-guides .bc-icard h3 a::after{content:"\2197";flex:none;font-weight:400;opacity:.85;transition:translate .25s ease}
html body .bc-section.bc-platform-guides .bc-icard:hover h3 a::after{translate:3px -3px}
html body .bc-section.bc-platform-guides .bc-icard h3 a:focus-visible{outline:2px solid #29A8E0;outline-offset:4px}
@media (prefers-reduced-motion:reduce){html body .bc-section.bc-platform-guides .bc-icard:hover h3 a::after{translate:none}}
