/* Replaces Framer's runtime animations. Elements are only hidden when JS is running
   (html.js); html.anim-failsafe reveals everything if site.js never loads. */

/* Headline words: rise 80px and fade in, staggered (delay set per word in site.js) */
html.js span[data-appear] { opacity: 0 !important; transform: translateY(80px) !important; }
/* Section headers: rise 50px and fade in when scrolled into view */
html.js div[data-appear] { opacity: 0 !important; transform: translateY(50px) !important; }
html.js [data-appear].is-in { opacity: 1 !important; transform: none !important;
  transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1); }
html.js span[data-appear].is-in {
  transition: opacity 1.3s cubic-bezier(.16,1,.3,1), transform 1.3s cubic-bezier(.16,1,.3,1); }

/* Divider lines: draw left to right when scrolled into view */
html.js [data-framer-name="Line"] { opacity: 0 !important; transform: scaleX(0) !important; transform-origin: 0 50%; }
html.js [data-framer-name="Line"].is-in { opacity: 1 !important; transform: none !important;
  transition: opacity 1.2s cubic-bezier(.45,0,.25,1), transform 1.2s cubic-bezier(.45,0,.25,1); }

/* Mobile menu */
.framer-wAJF0 [data-framer-name="Links"] { transition: opacity .3s ease; }
.framer-wAJF0.framer-v-8ytep0 [data-framer-name="Links"] { pointer-events: none; }
.framer-wAJF0 .framer-rls9q7, .framer-wAJF0 .framer-1mo4a77 { transition: transform .3s ease, top .3s ease; }
.framer-wAJF0.framer-v-1qz9kvv .framer-rls9q7 { transform: rotate(45deg); }
.framer-wAJF0.framer-v-1qz9kvv .framer-1mo4a77 { transform: rotate(-45deg); }

/* Safety nets */
html.anim-failsafe [data-appear], html.anim-failsafe [data-framer-name="Line"] { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-appear], html.js [data-framer-name="Line"] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Homepage hero labels (Global Ambition / Complex Sectors / ...): on phones, size columns
   to their words instead of fixed shares so no word breaks mid-word */
@media (max-width: 809.98px) {
  .framer-jilj64 { justify-content: space-between; }
  .framer-jilj64 > .ssr-variant > [class*="-container"],
  .framer-jilj64 > [class*="-container"] { flex: 1 1 auto !important; width: auto !important; }
  .framer-jilj64 p.framer-text { word-break: normal !important; overflow-wrap: normal !important; }
}
@media (max-width: 359.98px) { .framer-jilj64 { flex-wrap: wrap; row-gap: 20px; } }
