/* Scroll motion layer (shared by AutoCheq and TyreCheq). Works with [data-reveal] + .in from main.js. */
.scroll-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 70; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, #00804D, #3fe39a 60%, #F5A962); box-shadow: 0 0 12px rgba(63,227,154,.6); pointer-events: none; }

/* blur-up (default for paragraphs and small blocks) */
[data-reveal="blur"] { filter: blur(10px); transform: translateY(22px); }
[data-reveal="blur"].in { filter: none; transform: none; }

/* media wipe: the frame opens from a rounded inset while the picture settles */
[data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(14% 10% 14% 10% round 28px); transition: clip-path 1.25s cubic-bezier(.2,.7,.2,1); }
[data-reveal="clip"] img, [data-reveal="clip"] video { transform: scale(1.12); transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
[data-reveal="clip"].in { clip-path: inset(0 0 0 0 round 0); }
[data-reveal="clip"].in img, [data-reveal="clip"].in video { transform: none; }

/* 3D tilt-up for cards and devices */
[data-reveal="tilt"] { transform: perspective(1200px) rotateX(18deg) translateY(50px) scale(.96); transform-origin: 50% 100%; }
[data-reveal="tilt"].in { transform: none; }

/* headings split into words that rise in sequence */
[data-split] { opacity: 1 !important; transform: none !important; filter: none !important; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > i { display: inline-block; font-style: normal; transform: translateY(105%) rotate(4deg); transform-origin: 0 100%; transition: transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i) * 45ms); }
[data-split].in .w > i { transform: none; }
/* keep gradient text working inside split headings */
[data-split] .grad .w > i, [data-split] .grad > .w > i { background: inherit; -webkit-background-clip: text; background-clip: text; color: transparent; }

/* section label line draws in */
.eyebrow[data-reveal]::before { transform: scale(0); transition: transform .6s .2s cubic-bezier(.2,.7,.2,1.4); }
.eyebrow[data-reveal].in::before { transform: scale(1); }

/* parallax helpers are positioned by JS */
[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
  [data-reveal="clip"], [data-reveal="clip"] img, [data-reveal="clip"] video { clip-path: none; transform: none; }
  [data-split] .w > i { transform: none; }
  [data-reveal="blur"] { filter: none; }
}
