/* Motion kit v1: styles for motion.js classes. Site colours come from the --m-* variables (set per site). */
:root {
  --m-header-bg: rgba(251, 244, 236, 0.92);
  --m-header-ink: #1A2C37;
  --m-header-ink-hero: #FFFFFF;
  --m-liquid: radial-gradient(circle at 50% 50%, #F33A50 0%, #F2563A 45%, #F3763A 75%, #F29A3A 100%);
  --m-liquid-text: #FFFFFF;
  --m-liquid-alt: radial-gradient(circle at 50% 50%, #F3763A 0%, #F29A3A 60%, #F5B455 100%);
  --m-liquid-alt-text: #1A2C37;
}

/* Hide only what JS will animate in on load; the head script removes .m-js after 2.5 s if JS never runs. */
.m-js .m-bounce .elementor-heading-title,
.m-js .m-hero-in { visibility: hidden; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* SplitText chars */
.m-char { display: inline-block; will-change: transform; }
.m-word { display: inline-block; white-space: nowrap; }

/* ---------- header ---------- */
.m-header {
  position: fixed !important; top: 0; left: 0; right: 0; z-index: 999;
  transition: background-color .35s ease, box-shadow .35s ease, padding .35s ease, backdrop-filter .35s ease;
}
body.admin-bar .m-header { top: 32px; }
.m-header .elementor-nav-menu--main .elementor-item,
.m-header .m-header-link .elementor-button,
.m-header .m-header-link .elementor-heading-title a { color: var(--m-header-ink-hero) !important; transition: color .35s ease; }
.m-header .elementor-menu-toggle { color: var(--m-header-ink-hero) !important; background: transparent !important; }
.m-header .elementor-menu-toggle svg { fill: var(--m-header-ink-hero) !important; }
body.m-scrolled .m-header { background-color: var(--m-header-bg); box-shadow: 0 1px 0 rgba(26, 44, 55, .08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
body.m-scrolled .m-header .elementor-nav-menu--main .elementor-item,
body.m-scrolled .m-header .m-header-link .elementor-button,
body.m-scrolled .m-header .m-header-link .elementor-heading-title a { color: var(--m-header-ink) !important; }
body.m-scrolled .m-header .elementor-menu-toggle { color: var(--m-header-ink) !important; }
body.m-scrolled .m-header .elementor-menu-toggle svg { fill: var(--m-header-ink) !important; }
.m-header .elementor-nav-menu--dropdown { background: var(--m-header-bg) !important; border-radius: 18px; overflow: hidden; }
.m-header .elementor-nav-menu--dropdown .elementor-item { color: var(--m-header-ink) !important; }

/* ---------- liquid button ---------- */
.m-liquid .elementor-button, .elementor-button.m-liquid { position: relative; overflow: hidden; isolation: isolate; -webkit-mask-image: -webkit-radial-gradient(white, black); }
.m-liquid .elementor-button-content-wrapper { position: relative; z-index: 2; }
.m-liquid-fill { position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; overflow: hidden; }
.m-liquid-goo { position: absolute; inset: -20px; filter: url(#m-goo); }
.m-liquid-blob, .m-liquid-bubble { position: absolute; left: 20px; top: 20px; border-radius: 50%; background: var(--m-liquid); will-change: transform; }
.m-liquid-blob { transform: scale(0); }
.m-liquid .elementor-button-text, .m-liquid .elementor-button-icon { transition: color .25s ease .05s; }
.m-liquid .m-filled .elementor-button-text, .m-liquid .m-filled .elementor-button-icon,
.m-liquid .m-filled .elementor-button-icon svg { color: var(--m-liquid-text) !important; fill: var(--m-liquid-text) !important; }
.m-liquid .m-filled { border-color: transparent !important; }
/* alternative fill (e.g. outline buttons on dark backgrounds) */
.m-liquid-alt .m-liquid-blob, .m-liquid-alt .m-liquid-bubble { background: var(--m-liquid-alt); }
.m-liquid-alt .m-filled .elementor-button-text { color: var(--m-liquid-alt-text) !important; }

/* ---------- marquee ---------- */
.m-marquee { overflow: hidden; }
.m-marquee .elementor-heading-title { white-space: nowrap; }
.m-marquee-track { display: inline-flex; will-change: transform; }
.m-marquee-item { padding-right: .6em; }

/* ---------- blob-shaped images (bubbly masks) ---------- */
.m-blob img, .m-blob.e-con { border-radius: 58% 42% 55% 45% / 46% 54% 46% 54% !important; }
.m-blob-2 img, .m-blob-2.e-con { border-radius: 44% 56% 40% 60% / 58% 42% 58% 42% !important; }
.m-blob-3 img, .m-blob-3.e-con { border-radius: 52% 48% 62% 38% / 40% 60% 40% 60% !important; }

@media (prefers-reduced-motion: reduce) {
  .m-js .m-bounce .elementor-heading-title, .m-js .m-hero-in { visibility: visible; }
}
