/* PREVIEW 2026-11-07 (hero motion): the headline arrives letter by letter out of a blur, and dissolves the same way
   as the page scrolls away. hero-motion.js splits the lines into letters and sets --p (0 here .. 1 gone) on each. */
.hero h1 .ln{overflow:visible}
.hero h1 .in{transform:none!important;transition:none;will-change:auto}
.hero h1 .hw{display:inline-block;white-space:nowrap}
.hero h1 .hc,.hero h1 .hg{display:inline-block}
.hero h1 .hc{--p:0;opacity:calc(1 - var(--p));transform:translate3d(0,calc(var(--p) * -.32em),0) scale(calc(1 + var(--p) * .12))}
.hero h1.leaving .hc{filter:blur(calc(var(--p) * 14px))}
.hero h1 .hg{opacity:0}
.hero.go h1 .hg{animation:hg-in 1.15s cubic-bezier(.19,1,.22,1) var(--d,0s) both}
@keyframes hg-in{
  0%{opacity:0;filter:blur(18px);transform:translate3d(0,.3em,0) scale(1.1)}
  60%{filter:blur(0)}
  100%{opacity:1;filter:none;transform:none}
}
@media (prefers-reduced-motion:reduce){
  .hero h1 .hg{opacity:1;animation:none!important}
  .hero h1 .hc{opacity:1;filter:none!important;transform:none}
}

/* "Build with us" in the hero (Sean 2026-11-07, option 2 "Cutter pass"): every 5 s a band of brushed-metal light
   crosses the button and its cut edges flash where it passes, like a milling cutter running over a part.
   .cta-fx sits inside the button (above its fill, under its label); .cta-ring sits 3px outside it, behind the fill.
   Reduced motion: the site switches animations off, so the bands stay parked off the button. */
.hero-actions .chamfer .cta-fx,.hero-actions .chamfer .cta-ring{position:absolute;pointer-events:none;overflow:hidden;
  clip-path:polygon(var(--k) 0,calc(100% - var(--k)) 0,100% var(--k),100% calc(100% - var(--k)),calc(100% - var(--k)) 100%,var(--k) 100%,0 calc(100% - var(--k)),0 var(--k))}
.hero-actions .chamfer .cta-fx{--k:var(--c);inset:0;z-index:0}
.hero-actions .chamfer .cta-ring{--k:calc(var(--c) + 1.25px);inset:-3px;z-index:-2}
.cta-band{position:absolute;top:0;bottom:0;left:0;transform:translateX(-130%)}
.cta-fx .cta-band{width:46%;
  background:repeating-linear-gradient(90deg,rgb(255 255 255 / .05) 0 1px,rgb(255 255 255 / .5) 1px 2px,rgb(255 255 255 / .1) 2px 4px),
    linear-gradient(90deg,transparent,rgb(255 255 255 / .2) 50%,transparent);
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 40%,#000 60%,transparent);mask-image:linear-gradient(90deg,transparent,#000 40%,#000 60%,transparent);
  animation:cta-pass 5s cubic-bezier(.45,0,.25,1) infinite 2.4s}
.cta-ring .cta-band{width:30%;background:linear-gradient(90deg,transparent,#78a1fa 35%,#fff 50%,#78a1fa 65%,transparent);
  animation:cta-pass-ring 5s cubic-bezier(.45,0,.25,1) infinite 2.4s}
@keyframes cta-pass{0%{transform:translateX(-130%)}30%,100%{transform:translateX(330%)}}
@keyframes cta-pass-ring{0%{transform:translateX(-130%)}30%,100%{transform:translateX(430%)}}
@media (prefers-reduced-motion:reduce){.cta-band{animation:none!important;transform:translateX(-130%)!important}}
