/* Round 3c flourishes (see assets/js/flourish.js). Everything here is motion polish; reduced motion turns it off. */
/* 1. words rise out of a mask */
.fsplit .fw{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.08em;margin-bottom:-.08em}
.fsplit .fwi{display:inline-block;transform:translateY(105%);transition:transform .9s cubic-bezier(.2,.75,.15,1);transition-delay:calc(var(--wi,0) * 55ms + 80ms)}
.fsplit.fin .fwi{transform:none}
.hero-copy .j-h1.fsplit,.dch-h1.fsplit{animation:none}

/* kicker rule draws in with its section */
.rv .kicker::before{width:0;transition:width .8s var(--ease) .15s}
.rv.in .kicker::before{width:28px}

/* 2. drifting hero copy: keep it smooth */
.hero-copy,.dch-copy{will-change:transform,opacity}

/* chapter titles slide in when their chapter starts */
.chapters li.on .ch-t,.chapters li.on .ch-k{animation:chin .6s var(--ease) both}
@keyframes chin{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* 3. cursor light on glass cards (the light sits under the content) */
@media (hover:hover) and (pointer:fine){
  .svc a,.pcard,.ld a,.card,.where-row li,.look-grid>li,.lead,.news-card,.news-feature,.post-card,.val-grid li,.stat-row li{
    background-image:radial-gradient(260px circle at var(--mx,-400px) var(--my,-400px),rgba(94,155,219,.2),rgba(248,161,46,.05) 45%,transparent 70%)}
}

/* orange buttons: a light sweep on hover */
.btn-cta{position:relative;overflow:hidden;isolation:isolate}
.btn-cta::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.45) 50%,transparent 70%);transform:translateX(-120%);transition:transform .7s var(--ease)}
.btn-cta:hover::after,.btn-cta:focus-visible::after{transform:translateX(120%)}

@media (prefers-reduced-motion:reduce){
  .fsplit .fwi{transform:none;transition:none}
  .rv .kicker::before{width:28px}
  .chapters li.on .ch-t,.chapters li.on .ch-k{animation:none}
  .btn-cta::after{display:none}
}

/* ---------- 10/15: every orange "wire" on the site glows and pulses like the cable in the films ---------- */
:root{--wire-glow:0 0 6px rgba(248,161,46,.85),0 0 16px rgba(248,161,46,.35)}
@keyframes wirepulse{0%,100%{opacity:.72;filter:brightness(.95)}50%{opacity:1;filter:brightness(1.25)}}
@keyframes wirerun{0%{transform:translateY(0);opacity:0}15%,85%{opacity:1}100%{transform:translateY(88px);opacity:0}}
/* short rules (section labels, Trusted Partners) */
.kicker::before,.tp-h::before,.tp-h::after{box-shadow:var(--wire-glow);animation:wirepulse 3.4s ease-in-out infinite}
/* vertical signal lines between sections: homepage, inner pages, closing bands */
.sig,.signal-end,.close-ring,.sec+.sec::before{filter:drop-shadow(0 0 5px rgba(248,161,46,.85)) drop-shadow(0 0 14px rgba(248,161,46,.35));animation:wirepulse 3s ease-in-out infinite}
.sec+.sec::after{content:"";position:absolute;left:50%;top:-48px;width:8px;height:8px;margin-left:-4px;border-radius:50%;background:var(--orange);box-shadow:0 0 12px 3px rgba(248,161,46,.75);pointer-events:none;z-index:3;animation:wirerun 2.8s cubic-bezier(.65,0,.35,1) infinite}
/* orange edges on cards, steps and columns */
.feat-k{box-shadow:-6px 0 14px -8px rgba(248,161,46,.9)}
.col,.step-list.four li{box-shadow:0 -7px 14px -10px rgba(248,161,46,.9)}
.lead-t,.ld figure{box-shadow:0 -6px 14px -9px rgba(248,161,46,.85)}
.ld figure{box-shadow:0 6px 14px -9px rgba(248,161,46,.85)}
.traits li{box-shadow:-6px 0 14px -9px rgba(248,161,46,.9)}
/* the running orange line in page headers, the map arcs, the stepper dots */
.phero-bg path:first-child{filter:drop-shadow(0 0 4px rgba(248,161,46,.9))}
.st-list li.lit::before{box-shadow:0 0 0 5px rgba(248,161,46,.18),0 0 12px rgba(248,161,46,.8)}
.tk-item::after{box-shadow:0 0 8px rgba(248,161,46,.7);animation:wirepulse 2.6s ease-in-out infinite}
/* text links: the orange underline lights up on hover */
.tlink{transition:box-shadow .3s ease,color .3s ease}
.tlink:hover,.tlink:focus-visible{box-shadow:0 8px 14px -9px rgba(248,161,46,1)}
.chapters li.on .ch-bar span{box-shadow:0 0 8px rgba(248,161,46,.9),0 0 16px rgba(248,161,46,.4)}
@media (prefers-reduced-motion:reduce){
  .kicker::before,.tp-h::before,.tp-h::after,.sig,.signal-end,.close-ring,.sec+.sec::before,.tk-item::after{animation:none}
  .sec+.sec::after{display:none}
}
