/* Lumaaro motion layer: split-text headings, cursor, spotlight cards, parallax, 3D hero, nav behaviour */

/* Split headings */
.fx-split .fx-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.fx-split .fx-wi { display: inline-block; transform: translateY(115%) rotate(4deg); transform-origin: left bottom; will-change: transform; }
.fx-split.fx-in .fx-wi { transform: none; transition: transform .9s cubic-bezier(.2,.75,.2,1); transition-delay: calc(var(--i) * 45ms); }

/* Keep the navigation visible while scrolling in either direction. */
.navbar-2, .navbar-2.fx-nav-hide { position: fixed !important; inset: 0 0 auto; z-index: 1000; translate: none !important; transform: none !important; }
html { scroll-padding-top: 110px; }

/* Magnetic buttons */
.cta_main { translate: var(--mx, 0) var(--my, 0); transition: transform .3s, box-shadow .3s, background-color .3s, translate .25s ease-out; }

/* Spotlight cards */
.fx-spot { position: relative; }
.fx-spot::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 50%), #fdee3626, transparent 62%); z-index: 1; }
html[data-theme="light"] .fx-spot::before { background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 50%), #fdee3659, transparent 62%); }
.fx-spot:hover::before { opacity: 1; }

/* Original desktop cursor ring and dot effect. */
.fx-cursor { position: fixed; z-index: 10000; left: 0; top: 0; width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid #b6a900; border-radius: 50%;
  pointer-events: none; opacity: 0; transition: opacity .3s, width .25s, height .25s, margin .25s, background-color .25s, border-color .25s; mix-blend-mode: multiply; }
.fx-cursor.is-on { opacity: .9; }
.fx-cursor.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: #fdee3655; border-color: #fdee36; }
html[data-theme="dark"] .fx-cursor { border-color: #fdee36; mix-blend-mode: normal; }
.fx-cursor-dot { position: fixed; z-index: 10001; left: 0; top: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #171b22; pointer-events: none; opacity: 0; transition: opacity .3s; }
.fx-cursor-dot.is-on { opacity: 1; }
html[data-theme="dark"] .fx-cursor-dot { background: #fdee36; }

/* Image reveals */
.fx-clip { clip-path: inset(100% 0 0 0); scale: 1.18; transition: clip-path 1.1s cubic-bezier(.2,.75,.2,1), scale 1.4s cubic-bezier(.2,.75,.2,1); }
.fx-clip.fx-in { clip-path: inset(0); scale: 1; }

/* 3D hero canvas */
section.hero, section.resources-hero { position: relative; }
.fx-hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.fx-hero-canvas.is-ready { opacity: 1; }

/* Page-level extras */
.fx-float { animation: fx-float 6s ease-in-out infinite; }
@keyframes fx-float { 50% { translate: 0 -10px; } }
.cta_section { transform-origin: center bottom; }

@media (prefers-reduced-motion: reduce) {
  .fx-split .fx-wi, .fx-clip { transform: none; clip-path: none; scale: 1; }
}
@media (max-width: 767px) { .fx-cursor, .fx-cursor-dot { display: none; } }

/* Generated service illustrations use the existing 4:3 preview slots. */
.service-generated-image { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }


