/* ==========================================================================
   Lindley — motion and interaction layer
   One rule per company, applied everywhere:
     Lindley Fire     a drop and a ripple, and light. No wave shapes.
     Lindley Systems  a signal and a strobe, all in reds.
     Shared pages     clear glass.
   Only transform and opacity animate (cheap for the graphics chip). Nothing loops while a visitor reads.
   Visitors who ask their device for less motion get plain highlights and instant page changes.
   ========================================================================== */
:root{--m-ease:cubic-bezier(.2,.7,.1,1);--m-out:cubic-bezier(.16,1,.3,1);--m-in:cubic-bezier(.6,0,.8,.3);--m-t:320ms;--m-slow:560ms}

/* ---------- menu links ---------- */
.nav > li > a,.nav > li > .nav-btn,.gw-top nav a{position:relative;isolation:isolate;border-radius:8px}
.fx{position:absolute;inset:0;z-index:-1;border-radius:inherit;overflow:hidden;pointer-events:none}
.fx > i{position:absolute;inset:0}
.nav > li > a:hover,.nav > li > .nav-btn:hover,.nav > li > .nav-btn[aria-expanded="true"],.gw-top nav a:hover{background:none}
.nav > li > a[aria-current="page"]{box-shadow:none}
.ind{position:absolute;left:.75rem;right:.75rem;bottom:.3rem;height:2px;border-radius:2px;background:var(--graphite);pointer-events:none}
.w-fire .ind{background:var(--fire-pure)}
.w-systems .ind{background:var(--sys);box-shadow:0 0 8px rgba(225,31,31,.75)}

/* Fire: soft glass and a fine line that spreads from the centre, like a ripple seen side-on */
.w-fire .fx-glass{background:linear-gradient(180deg,rgba(231,233,251,.95),rgba(231,233,251,.6));box-shadow:inset 0 0 0 1px rgba(10,20,200,.1),inset 0 1px 0 #fff;opacity:0;transition:opacity var(--m-t) var(--m-ease)}
.fx > .fx-line{inset:auto .75rem .3rem;height:1.5px;border-radius:2px;background:var(--fire-pure);transform:scaleX(0);transition:transform var(--m-slow) var(--m-out)}
.w-fire .nav > li > :is(a,.nav-btn):hover,.w-fire .nav > li > .nav-btn[aria-expanded="true"]{color:var(--fire)}
.w-fire .nav > li > .nav-btn[aria-expanded="true"] .fx-glass,.w-fire .nav > li > :is(a,.nav-btn):focus-visible .fx-glass{opacity:1}
.w-fire .nav > li > .nav-btn[aria-expanded="true"] .fx-line{transform:scaleX(1)}
/* mouse present (.has-mouse), a touch press (.press), or keyboard focus */
.has-mouse .w-fire .nav > li > :is(a,.nav-btn):hover .fx-glass,.w-fire .nav > li > :is(a,.nav-btn).press .fx-glass{opacity:1}
.has-mouse .w-fire .nav > li > :is(a,.nav-btn):hover .fx-line,.w-fire .nav > li > :is(a,.nav-btn).press .fx-line{transform:scaleX(1)}

/* Systems: dark glass, one red strobe, the signal tracing the edge, a red glow underneath */
.w-systems .fx-glass{background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.03));box-shadow:inset 0 0 0 1px rgba(255,255,255,.1),inset 0 1px 0 rgba(255,255,255,.16);opacity:0;transition:opacity var(--m-t) var(--m-ease)}
.fx > .fx-flash{inset:-30% -10%;background:radial-gradient(closest-side,rgba(255,120,110,.95),rgba(225,31,31,0));opacity:0}
.fx > .fx-glow{background:radial-gradient(120% 90% at 50% 120%,rgba(225,31,31,.55),rgba(225,31,31,0) 70%);opacity:0;transition:opacity 420ms var(--m-ease) 120ms}
.fx-trace{position:absolute;left:1px;top:1px;width:calc(100% - 2px);height:calc(100% - 2px);overflow:visible}
.fx-trace rect{fill:none;stroke:var(--sys);stroke-width:1.4;stroke-dasharray:100 100;stroke-dashoffset:100;transition:stroke-dashoffset 600ms var(--m-out);filter:drop-shadow(0 0 2px rgba(225,31,31,.9))}
.w-systems .nav > li > .nav-btn[aria-expanded="true"] .fx-glass{opacity:1}
.w-systems .nav > li > .nav-btn[aria-expanded="true"] .fx-glow{opacity:.85}
.w-systems .nav > li > .nav-btn[aria-expanded="true"] .fx-trace rect{stroke-dashoffset:0}
/* mouse present (.has-mouse), a touch press (.press), or keyboard focus */
.has-mouse .w-systems .nav > li > :is(a,.nav-btn):hover .fx-glass,.w-systems .nav > li > :is(a,.nav-btn).press .fx-glass{opacity:1}
.has-mouse .w-systems .nav > li > :is(a,.nav-btn):hover .fx-flash,.w-systems .nav > li > :is(a,.nav-btn).press .fx-flash{animation:m-strobe 560ms var(--m-ease) both}
.has-mouse .w-systems .nav > li > :is(a,.nav-btn):hover .fx-glow,.w-systems .nav > li > :is(a,.nav-btn).press .fx-glow{opacity:.85}
.has-mouse .w-systems .nav > li > :is(a,.nav-btn):hover .fx-trace rect,.w-systems .nav > li > :is(a,.nav-btn).press .fx-trace rect{stroke-dashoffset:0}
@keyframes m-strobe{0%{opacity:0;transform:scale(.55)}9%{opacity:1}34%{opacity:0;transform:scale(1.25)}100%{opacity:0}}

/* Shared pages and the gateway: clear glass with one sweep of light */
.fx > .fx-frost{background:rgba(255,255,255,.82);box-shadow:inset 0 0 0 1px rgba(28,32,36,.08),inset 0 1px 0 #fff,0 6px 14px -10px rgba(20,24,28,.4);opacity:0;transition:opacity var(--m-t) var(--m-ease)}
.fx > .fx-sheen{background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.95) 50%,transparent 70%);transform:translateX(-130%)}
:is(.w-parent .nav > li > .nav-btn[aria-expanded="true"]) .fx-frost{opacity:1}
/* mouse present (.has-mouse), a touch press (.press), or keyboard focus */
.has-mouse :is(.w-parent .nav > li > :is(a,.nav-btn),.gw-top nav a):hover .fx-frost,:is(.w-parent .nav > li > :is(a,.nav-btn),.gw-top nav a).press .fx-frost{opacity:1}
.has-mouse :is(.w-parent .nav > li > :is(a,.nav-btn),.gw-top nav a):hover .fx-sheen,:is(.w-parent .nav > li > :is(a,.nav-btn),.gw-top nav a).press .fx-sheen{animation:m-sweep 760ms var(--m-ease) both}
@keyframes m-sweep{to{transform:translateX(130%)}}

/* ---------- dropdown menus: glass ---------- */
.menu{border-radius:12px;background:rgba(255,255,255,.985);backdrop-filter:blur(16px) saturate(1.4);-webkit-backdrop-filter:blur(16px) saturate(1.4);border-color:rgba(28,32,36,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 24px 50px -24px rgba(20,24,28,.45)}
.menu.open,.menu.mega.open{animation:m-menu 260ms var(--m-out)}
@keyframes m-menu{from{opacity:0;transform:translateY(-6px) scale(.985)}to{opacity:1;transform:none}}
.w-systems .menu{background:rgba(12,12,12,.98);border-color:#262626;color:#f2f2f2;box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 24px 50px -24px rgba(0,0,0,.85)}
.w-systems .menu h3{color:#b5b5b5}
.w-systems .menu li a{color:#f2f2f2}
.w-systems .menu li a span small{color:#a3a3a3}
.w-systems .menu li a .ico{color:#ff6a6a}
.w-systems .menu .menu-foot{border-top-color:rgba(255,255,255,.1);color:#a3a3a3}
.w-systems .menu .menu-foot a{color:#ff8a80}
.w-systems .nav .menu li a:hover{background:none}
.menu li a{position:relative;isolation:isolate;border-radius:8px;transition:color var(--m-t) var(--m-ease)}
.nav .menu li a:hover{background:rgba(28,32,36,.05);color:var(--graphite)}
.nav .menu li a:is(.mi-f,.mi-s):hover{background:none}
.mfx{position:absolute;inset:0;z-index:-1;border-radius:inherit;overflow:hidden;pointer-events:none;--ix:1.175rem;--iy:1.225rem}
.mfx > *{position:absolute}
/* Fire: a drop lands on the icon, one ring spreads across the row and fades, and water rises up the row and stays while hovered */
.mpool{inset:0;transform:translateY(101%);transition:transform 800ms cubic-bezier(.2,.7,.1,1) 80ms;background:radial-gradient(circle 1.3rem at var(--ix) var(--iy),rgba(10,20,200,.26),rgba(10,20,200,.08) 65%,rgba(10,20,200,0) 100%),linear-gradient(0deg,rgba(10,20,200,.17),rgba(10,20,200,.07) 60%,rgba(10,20,200,.02))}
.mring{left:var(--ix);top:var(--iy);width:30rem;height:30rem;margin:-15rem 0 0 -15rem;border-radius:50%;border:2.5px solid rgba(10,20,200,.9);box-shadow:0 0 12px rgba(10,20,200,.2);opacity:0;transform:scale(0)}
.mring.e{border-width:1px;border-color:rgba(10,20,200,.24)}
.nav a.mi-f:hover{color:var(--fire)}
/* mouse present (.has-mouse), a touch press (.press), or keyboard focus */
.has-mouse a.mi-f:is(:hover,:focus-visible) .mpool,a.mi-f.press .mpool,a.mi-f:focus-visible .mpool{transform:none}
.has-mouse a.mi-f:is(:hover,:focus-visible) .mring,a.mi-f.press .mring,a.mi-f:focus-visible .mring{animation:m-mring 1250ms cubic-bezier(.22,.55,.3,1) both}
.has-mouse a.mi-f:is(:hover,:focus-visible) .mring.e,a.mi-f.press .mring.e,a.mi-f:focus-visible .mring.e{animation:m-mringE 1250ms cubic-bezier(.22,.55,.3,1) 160ms both}
@keyframes m-mring{0%{transform:scale(0);opacity:1}100%{transform:scale(1);opacity:0}}
@keyframes m-mringE{0%{transform:scale(0);opacity:.8}100%{transform:scale(.7);opacity:0}}
/* Systems: an alarm-panel row; the indicator lights red, the signal leaves it and traces the row once */
a.mi-s .led{position:relative;flex:none;width:.42rem;height:.42rem;margin:.515rem -.3rem 0 0;border-radius:50%;background:radial-gradient(circle at 35% 35%,#5a2020,#260c0c);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.w-parent a.mi-s .led{background:radial-gradient(circle at 35% 35%,#d9c3c3,#b9a2a2)}
.mglow{inset:0;opacity:0;transition:opacity 420ms var(--m-ease) 160ms;background:radial-gradient(90% 120% at 30% 130%,rgba(225,31,31,.3),rgba(225,31,31,0) 70%),linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.015))}
.w-parent .mglow{background:radial-gradient(90% 120% at 30% 130%,rgba(225,31,31,.14),rgba(225,31,31,0) 70%)}
.mtrace{left:1px;top:1px;width:calc(100% - 2px);height:calc(100% - 2px);overflow:visible}
.mtrace rect{fill:none;stroke:var(--sys);stroke-width:1.3;stroke-dasharray:100 100;stroke-dashoffset:100;filter:drop-shadow(0 0 2px rgba(225,31,31,.9));transition:stroke-dashoffset 700ms cubic-bezier(.16,1,.3,1) 90ms}
.w-systems .nav a.mi-s:hover{color:#fff}
.w-parent .nav a.mi-s:hover{color:var(--sys-ink)}
/* mouse present (.has-mouse), a touch press (.press), or keyboard focus */
.has-mouse a.mi-s:is(:hover,:focus-visible) .led,a.mi-s.press .led,a.mi-s:focus-visible .led{background:radial-gradient(circle at 35% 35%,#ffb3ad,#ff3b30 45%,#c4121b);box-shadow:0 0 0 1px rgba(255,90,80,.35),0 0 10px 2px rgba(225,31,31,.75);animation:m-led 520ms ease-out both}
.has-mouse a.mi-s:is(:hover,:focus-visible) .mglow,a.mi-s.press .mglow,a.mi-s:focus-visible .mglow{opacity:1}
.has-mouse a.mi-s:is(:hover,:focus-visible) .mtrace rect,a.mi-s.press .mtrace rect,a.mi-s:focus-visible .mtrace rect{stroke-dashoffset:0}
@keyframes m-led{0%{filter:brightness(1)}12%{filter:brightness(2.4)}30%{filter:brightness(1)}45%{filter:brightness(1.8)}100%{filter:brightness(1)}}
.w-systems .menu .menu-foot{border-top-color:rgba(255,255,255,.1);color:#a3a3a3}
.w-systems .menu .menu-foot a{color:#ff8a80}

/* ---------- buttons ---------- */
.btn{position:relative;isolation:isolate}
.btn > .fx{border-radius:calc(var(--radius) - 1px)}
/* Fire and Systems buttons stay solid on hover; the effect does the talking */
.w-fire .btn:not(.ghost):hover,.w-systems .btn:not(.ghost):hover{background:var(--b);color:var(--btn-c,var(--on-accent))}
.cta .btn{--btn-c:var(--graphite)}
.w-fire .cta .btn{--btn-c:var(--fire-pure)}
.w-systems .cta .btn{--btn-c:#000}
.w-systems .hdr .btn:hover{border-color:var(--b)}
/* Fire, solid: one ring spreads from where the cursor came in */
.fx > .fx-ring{inset:auto;left:var(--rx,50%);top:var(--ry,50%);width:var(--rr,160px);height:var(--rr,160px);margin:calc(var(--rr,160px) / -2) 0 0 calc(var(--rr,160px) / -2);border-radius:50%;
  border:2px solid rgba(255,255,255,.9);box-shadow:0 0 14px rgba(255,255,255,.35),inset 0 0 14px rgba(255,255,255,.25);background:radial-gradient(closest-side,rgba(255,255,255,0) 60%,rgba(255,255,255,.16));opacity:0;transform:scale(0)}
.cta .fx > .fx-ring{border-color:rgba(10,20,200,.5);box-shadow:0 0 14px rgba(10,20,200,.18);background:radial-gradient(closest-side,rgba(10,20,200,0) 60%,rgba(10,20,200,.08))}
.w-fire .btn.pulse .fx-ring,.w-fire .btn.sending .fx-ring{animation:m-ring 700ms var(--m-out) both}
.w-fire .btn.sending .fx-ring{animation-iteration-count:3}
@keyframes m-ring{0%{transform:scale(0);opacity:1}100%{transform:scale(1);opacity:0}}
/* Fire, outline: the colour fills out from where the cursor came in */
.fx > .fx-fill{inset:auto;left:var(--rx,50%);top:var(--ry,50%);width:var(--rd,240px);height:var(--rd,240px);margin:calc(var(--rd,240px) / -2) 0 0 calc(var(--rd,240px) / -2);border-radius:50%;background:var(--b);transform:scale(0);transition:transform 520ms var(--m-out)}
.btn:not(.ghost) .fx-fill,.btn.ghost .fx-ring{display:none}
.w-fire .btn.ghost:hover{background:transparent;color:#fff}
.w-fire .cta .btn.ghost:hover{color:var(--fire-pure)}
.w-fire .cta .btn.ghost .fx-fill{background:#fff}
/* mouse present (.has-mouse), a touch press (.press), or keyboard focus */
.has-mouse .w-fire .btn.ghost:hover .fx-fill,.w-fire .btn.ghost.press .fx-fill{transform:scale(1)}
/* Systems, solid: a signal pulse leaves the button, and one bright sweep crosses it */
.btn::after{content:"";position:absolute;inset:-2px;border-radius:calc(var(--radius) + 2px);border:2px solid var(--sys);opacity:0;pointer-events:none}
.w-systems .btn:not(.ghost).pulse::after{animation:m-pulse 1.1s var(--m-out) 2}
.w-systems .btn.sending::after{animation:m-pulse .65s var(--m-out) 3}
@keyframes m-pulse{0%{opacity:.75;transform:scale(1)}100%{opacity:0;transform:scale(1.1,1.45)}}
.fx > .fx-beam{background:linear-gradient(100deg,transparent 35%,rgba(255,255,255,.4) 50%,transparent 65%);transform:translateX(-120%)}
.w-systems .btn:not(.ghost).pulse .fx-beam{animation:m-sweep 700ms var(--m-ease) both}
/* Systems, outline: the signal traces the edge */
.btn .fx-trace rect{stroke-width:1.6}
.btn:not(.ghost) .fx-trace{display:none}
/* mouse present (.has-mouse), a touch press (.press), or keyboard focus */
.has-mouse .w-systems .btn.ghost:hover,.w-systems .btn.ghost.press{background:transparent;color:var(--sys-ink)}
.has-mouse .w-systems .on-black .btn.ghost:hover,.has-mouse .w-systems .cta .btn.ghost:hover,.w-systems .on-black .btn.ghost.press,.w-systems .cta .btn.ghost.press{color:#fff}
.has-mouse .w-systems .btn.ghost:hover .fx-trace rect,.w-systems .btn.ghost.press .fx-trace rect{stroke-dashoffset:0}
/* Shared pages: one sweep of light */
.btn > .fx > .fx-sheen{background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.35) 50%,transparent 70%)}
.btn.pulse > .fx > .fx-sheen{animation:m-sweep 760ms var(--m-ease) both}

/* ---------- a tap fills under the finger (phones have no hover) ---------- */
.m-rip{position:absolute;left:var(--x);top:var(--y);width:var(--d);height:var(--d);margin:calc(var(--d) / -2) 0 0 calc(var(--d) / -2);border-radius:50%;pointer-events:none;z-index:-1;background:var(--rc,rgba(28,32,36,.12));animation:m-rip 560ms var(--m-out) forwards}
.w-fire{--rc:rgba(10,20,200,.16)}
.w-systems{--rc:rgba(225,31,31,.3)}
.btn{--rc:rgba(255,255,255,.35)}
.btn.ghost{--rc:rgba(28,32,36,.14)}
@keyframes m-rip{from{transform:scale(0);opacity:1}to{transform:scale(1);opacity:0}}
.mnav li a,.path,.gw3 .gpath{position:relative;overflow:hidden;isolation:isolate}

/* ---------- cards: a soft light follows the cursor ---------- */
.path,.gw3 .gpath,.calband{isolation:isolate}
.path::after,.gw3 .gpath::after,.calband::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:0;transition:opacity var(--m-t) var(--m-ease);
  background:radial-gradient(260px circle at var(--mx,50%) var(--my,0%),var(--lite,rgba(28,32,36,.06)),transparent 70%)}
.path.f,.gpath.f,.w-fire .calband{--lite:rgba(10,20,200,.085)}
.path.s,.gpath.s,.w-systems .calband{--lite:rgba(225,31,31,.08)}
.calband{position:relative;overflow:hidden}
/* mouse present (.has-mouse), a touch press (.press), or keyboard focus */
.has-mouse .path:hover::after,.has-mouse .gw3 .gpath:hover::after,.has-mouse .gw3 .gpath.on::after,.has-mouse .calband:hover::after,.path.press::after,.gw3 .gpath.press::after,.calband.press::after{opacity:1}

/* ---------- header progress line: water level (Fire), signal trace (Systems) ---------- */
.progress{top:var(--pt,0px);height:2px;z-index:49;background:var(--graphite);pointer-events:none;will-change:transform}
.w-parent .progress{background:var(--graphite)}
.w-fire .progress{background:var(--fire-pure)}
.w-systems .progress{background:var(--sys);opacity:.9}
.progress-head{position:fixed;left:0;top:calc(var(--pt,0px) - 3px);width:8px;height:8px;margin-left:-4px;border-radius:50%;background:#ff8a80;box-shadow:0 0 0 2px var(--sys),0 0 12px 3px rgba(225,31,31,.85);z-index:50;pointer-events:none;opacity:0;transition:opacity var(--m-t) var(--m-ease);will-change:transform}
.progress-head.live{opacity:1}

/* ---------- call-to-action band: one ripple (Fire) or one scan (Systems) as it arrives ---------- */
.cta{position:relative;overflow:hidden;isolation:isolate}
.cta-fx{position:absolute;inset:0;z-index:-1;pointer-events:none}
.w-fire .cta-fx::before{content:"";position:absolute;left:50%;top:60%;width:140vmax;aspect-ratio:1;margin-left:-70vmax;margin-top:-70vmax;border-radius:50%;border:1px solid rgba(255,255,255,.28);box-shadow:0 0 24px rgba(160,175,255,.18);transform:scale(.03);opacity:0}
.w-fire .cta.in .cta-fx::before{animation:m-wide 2.4s var(--m-out) .2s both}
@keyframes m-wide{0%{transform:scale(.03);opacity:1}100%{transform:scale(1);opacity:0}}
.w-systems .cta-fx::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:linear-gradient(90deg,transparent,var(--sys),transparent);box-shadow:0 0 18px 4px rgba(225,31,31,.5);opacity:0}
.w-systems .cta.in .cta-fx::before{animation:m-scan 1.8s var(--m-ease) .2s both}
@keyframes m-scan{0%{opacity:0;transform:translateY(0)}15%{opacity:1}100%{opacity:0;transform:translateY(var(--h,320px))}}

/* ---------- forms: the focus line spreads from the centre ---------- */
.field :is(input:not([type="checkbox"]):not([type="radio"]),textarea){background-image:linear-gradient(var(--graphite),var(--graphite));background-repeat:no-repeat;background-position:50% 100%;background-size:0% 2px;transition:border-color .15s,background-color .15s,background-size 520ms var(--m-out)}
.w-fire .field :is(input,textarea){background-image:linear-gradient(var(--fire-pure),var(--fire-pure))}
.w-systems .field :is(input,textarea){background-image:linear-gradient(var(--sys),var(--sys))}
.field :is(input:not([type="checkbox"]):not([type="radio"]),textarea):focus{background-size:100% 2px;outline:none;border-color:var(--lead)}
.field select:focus{outline:2px solid var(--accent);outline-offset:0}

/* ---------- photos unmask as they arrive ---------- */
@media (prefers-reduced-motion:no-preference){
  /* the image unmasks, never the frame: a fully clipped frame would never register as on screen, so it would never reveal */
  .js .fig[data-reveal] > img,.js .fig[data-reveal] > picture{clip-path:inset(0 0 100% 0);transition:clip-path 1.1s var(--m-out)}
  .js .fig[data-reveal].in > img,.js .fig[data-reveal].in > picture{clip-path:inset(0)}
}

/* ---------- phone menu ---------- */
@media (prefers-reduced-motion:no-preference){
  .mnav.open :is(.mnav-cal,h3,li,.btn){animation:m-item .45s var(--m-out) both;animation-delay:calc(var(--i,0) * 26ms + 80ms)}
  @keyframes m-item{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
  .w-fire .mnav::before{content:"";position:fixed;right:1.5rem;top:1.6rem;width:240vmax;aspect-ratio:1;border-radius:50%;transform:translate(50%,-50%) scale(0);opacity:0;pointer-events:none;
    border:1px solid rgba(10,20,200,.28);background:radial-gradient(closest-side,rgba(10,20,200,0) 60%,rgba(10,20,200,.07))}
  .w-fire .mnav.open::before{animation:m-mrip 1s var(--m-out) 60ms both}
  @keyframes m-mrip{0%{transform:translate(50%,-50%) scale(0);opacity:1}100%{transform:translate(50%,-50%) scale(1);opacity:0}}
  .w-systems .mnav::after{content:"";position:fixed;left:0;right:0;top:0;height:2px;background:linear-gradient(90deg,transparent,var(--sys) 30%,var(--sys) 70%,transparent);box-shadow:0 0 16px 3px rgba(225,31,31,.55);opacity:0;pointer-events:none}
  .w-systems .mnav.open::after{animation:m-mscan .9s var(--m-ease) .1s both}
  @keyframes m-mscan{0%{opacity:0;transform:translateY(0)}15%{opacity:1}100%{opacity:0;transform:translateY(100vh)}}
}

/* ---------- page to page: the header holds still, the content eases over, the underline glides ---------- */
@media (prefers-reduced-motion:no-preference){
  @view-transition{navigation:auto}
  .vt-on .hdr{view-transition-name:hdr}
  .vt-on .ubar{view-transition-name:ubar}
  .vt-on main#main{view-transition-name:page}
  .vt-on .nav .ind{view-transition-name:navind}
  ::view-transition-old(root),::view-transition-new(root){animation:none}
  ::view-transition-old(hdr),::view-transition-old(ubar){display:none}
  ::view-transition-new(hdr),::view-transition-new(ubar){animation:none}
  ::view-transition-old(page){animation:m-vt-out 170ms var(--m-ease) both}
  ::view-transition-new(page){animation:m-vt-in 320ms var(--m-out) 50ms both}
  ::view-transition-group(navind){animation-duration:420ms;animation-timing-function:var(--m-out)}
  @keyframes m-vt-out{to{opacity:0;transform:translateY(-6px)}}
  @keyframes m-vt-in{from{opacity:0;transform:translateY(12px)}}
}

/* ---------- entering a company ----------
   Fire: blue closes in from the sides; a single drop falls to the centre; one ripple spreads and reveals the logo.
   Systems: near-black closes from top and bottom; the signal runs in, stops short of the logo, the logo strobes on
   like a device on the circuit, and the signal carries on out the other side.
   Both backgrounds are lit from where the logo sits, with a fine grain, never a flat fill. */
.lx{position:fixed;inset:0;z-index:2147483000;pointer-events:none;overflow:hidden}
.lx[hidden]{display:none}
.lx > *{position:absolute}
.lx-p{top:0;bottom:0;width:50.5%}
.lx-p.l{left:0;transform:translateX(-100%);background:radial-gradient(120% 75% at 100% 50%,#2433ff 0%,#0a15dc 30%,#0000b8 70%,#00067e 100%)}
.lx-p.r{right:0;transform:translateX(100%);background:radial-gradient(120% 75% at 0% 50%,#2433ff 0%,#0a15dc 30%,#0000b8 70%,#00067e 100%)}
.lx-h{left:0;right:0;height:50.5%}
.lx-h.top{top:0;transform:translateY(-100%);background:radial-gradient(70% 120% at 50% 100%,#1c0d0d 0%,#0b0707 40%,#030303 100%)}
.lx-h.bot{bottom:0;transform:translateY(100%);background:radial-gradient(70% 120% at 50% 0%,#1c0d0d 0%,#0b0707 40%,#030303 100%)}
.lx.covered .lx-p,.lx.covered .lx-h{transform:none}
.lx-grain,.lx-in body::before{inset:0;opacity:0;mix-blend-mode:overlay;background-size:180px 180px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E")}
.lx.covered .lx-grain{opacity:.5}
.lx-logo{left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;padding:2.2rem 3rem}
.lx-card{position:relative;background:#fff;padding:1.3rem 1.9rem;border-radius:12px;box-shadow:0 30px 60px -30px rgba(0,0,40,.7);opacity:0}
.lx-card img{width:min(14rem,52vw);height:auto;max-width:none;display:block}
.lx-systems .lx-logo img{position:relative;width:min(13rem,46vw);height:auto;max-width:none;opacity:0}
.lx-glow{position:absolute;inset:-20%;opacity:0;background:radial-gradient(closest-side,rgba(225,31,31,.45),rgba(225,31,31,0))}
.lx-fire .lx-glow{background:radial-gradient(closest-side,rgba(120,140,255,.5),rgba(120,140,255,0))}
.lx-flash{position:absolute;inset:-40%;opacity:0;background:radial-gradient(closest-side,rgba(255,130,120,.95),rgba(225,31,31,.35) 45%,rgba(225,31,31,0))}
.lx-drop{left:50%;top:0;width:13px;height:15px;margin-left:-6.5px;border-radius:50% 50% 50% 50% / 46% 46% 54% 54%;opacity:0;
  background:radial-gradient(circle at 38% 34%,rgba(255,255,255,.98) 0 14%,rgba(220,230,255,.55) 32%,rgba(150,170,255,.18) 62%,rgba(255,255,255,.5) 100%);box-shadow:0 0 0 .5px rgba(255,255,255,.6),0 2px 10px rgba(0,0,60,.35)}
.lx-drop::before{content:"";position:absolute;left:50%;bottom:70%;width:1px;height:44px;margin-left:-.5px;background:linear-gradient(180deg,rgba(255,255,255,0),rgba(230,236,255,.45))}
.lx-ring{left:50%;top:50%;width:var(--rd,320px);height:var(--rd,320px);margin:calc(var(--rd,320px) / -2) 0 0 calc(var(--rd,320px) / -2);border-radius:50%;opacity:0;transform:scale(0);
  border:2px solid rgba(236,241,255,.95);box-shadow:0 0 18px rgba(170,185,255,.6),inset 0 0 18px rgba(170,185,255,.4)}
.lx-ring.echo{border-width:1px;border-color:rgba(220,228,255,.6);box-shadow:0 0 10px rgba(170,185,255,.35)}
.lx-svg{inset:0;width:100%;height:100%;overflow:visible}
.lx-svg path{fill:none;stroke:var(--sys);stroke-width:2;stroke-linecap:round;stroke-dasharray:1 1;stroke-dashoffset:1;opacity:0;filter:drop-shadow(0 0 3px rgba(225,31,31,.95)) drop-shadow(0 0 10px rgba(225,31,31,.6))}
.lx-svg circle{fill:#ff8a80;stroke:var(--sys);stroke-width:2;opacity:0;filter:drop-shadow(0 0 8px rgba(225,31,31,1))}
/* arriving: the first paint is already covered, so the page never flashes before the entry finishes */
.lx-in body::after{content:"";position:fixed;inset:0;z-index:2147482999;pointer-events:none}
.lx-in body::before{content:"";position:fixed;z-index:2147483001;opacity:.5;pointer-events:none}
.lx-in.lx-in-fire body::after{background:radial-gradient(60% 75% at 50% 50%,#2433ff 0%,#0a15dc 30%,#0000b8 70%,#00067e 100%)}
.lx-in.lx-in-systems body::after{background:radial-gradient(70% 60% at 50% 50%,#1c0d0d 0%,#0b0707 40%,#030303 100%)}
@media print{.lx,.progress,.progress-head{display:none!important}}

/* ---------- touch: the same moments on a press (assets/js/motion.js adds .press under the finger) ---------- */
a.mi-f.press{color:var(--fire)}
.w-systems .menu a.mi-s.press{color:#fff}
:is(.w-parent .menu,.mnav) a.mi-s.press{color:var(--sys-ink)}
.w-fire .btn.ghost.press{background:transparent;color:#fff}
.w-fire .cta .btn.ghost.press{color:var(--fire-pure)}
/* phone menu rows carry the same Fire ripple and Systems indicator as the dropdowns */
.mnav li a:is(.mi-f,.mi-s){position:relative;overflow:hidden;isolation:isolate}
.mnav .mfx{--ix:.675rem;--iy:50%;border-radius:0}
.mnav a.mi-s{padding-left:.3rem}
.mnav a.mi-s .led{align-self:center;margin:0 -.4rem 0 0;background:radial-gradient(circle at 35% 35%,#d9c3c3,#b9a2a2)}
.mnav .mglow{background:radial-gradient(90% 120% at 20% 130%,rgba(225,31,31,.14),rgba(225,31,31,0) 70%)}

/* V7.7 glass: the dropdown menus (clear for Lindley Fire and the shared pages, smoked for Lindley Systems) */
.menu{background:rgba(255,255,255,.82);-webkit-backdrop-filter:blur(22px) saturate(1.6);backdrop-filter:blur(22px) saturate(1.6);border-color:rgba(255,255,255,.6);box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 0 0 1px rgba(28,32,36,.08),0 24px 50px -24px rgba(20,24,28,.5)}
.w-systems .menu{background:rgba(12,12,14,.84);border-color:rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 24px 50px -24px rgba(0,0,0,.9)}
@supports not ((backdrop-filter:blur(2px)) or (-webkit-backdrop-filter:blur(2px))){.menu{background:rgba(255,255,255,.985)}.w-systems .menu{background:rgba(12,12,12,.98)}}
