/* Faulkner Williams interaction layer v3: premium, tactile, professional */
:root{--fx-blue:#1B5FD1;--fx-blue2:#2F7BF5;--fx-sky:#86B4FF;--fx-ink:#0B2540;
  --fx-spring:cubic-bezier(.34,1.56,.64,1);--fx-ease:cubic-bezier(.22,1,.36,1)}
@property --fx-angle{syntax:'<angle>';initial-value:0deg;inherits:false}

/* ---------- Cards ---------- */
.fx-card{position:relative;cursor:pointer;
  transition:transform .55s var(--fx-spring),box-shadow .5s var(--fx-ease),border-color .35s ease,background-color .35s ease}
/* edge + glare only exist while hovered with a mouse: nothing extra is painted at rest or on phones */
.fx-card .fx-ring,.fx-card .fx-glare{display:none;position:absolute;inset:0;border-radius:var(--fx-r,inherit);pointer-events:none;opacity:0;transition:opacity .45s var(--fx-ease)}
/* animated gradient edge */
.fx-card .fx-ring{inset:0;padding:3px;z-index:3;
  background:conic-gradient(from var(--fx-angle),#0B3FA8 0deg,#1B5FD1 60deg,#5FA0FF 120deg,#E6F0FF 165deg,#2F7BF5 210deg,#0B3FA8 280deg,#1B5FD1 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;
  animation:fx-spin 2.6s linear infinite;animation-play-state:paused}
/* glare that follows the cursor */
.fx-card .fx-glare{z-index:1;mix-blend-mode:soft-light;
  background:radial-gradient(520px circle at var(--mx,50%) var(--my,0%),rgba(255,255,255,.95),rgba(255,255,255,0) 42%)}
@keyframes fx-spin{to{--fx-angle:360deg}}

@media (hover:hover){
  .fx-card:hover{z-index:6;
    transform:perspective(1000px) translate3d(0,-12px,0) scale(1.045) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));
    border-color:transparent!important;
    box-shadow:
      0 2px 4px rgba(11,37,64,.06),
      0 14px 24px -10px rgba(11,37,64,.22),
      0 38px 70px -24px rgba(27,95,209,.55),
      0 0 0 1px rgba(47,123,245,.35),
      0 0 46px -6px rgba(47,123,245,.45)!important}
  .fx-card:not(.fx-keepbg):hover{
    background-color:#fff!important;
    background-image:
      radial-gradient(460px circle at var(--mx,50%) var(--my,50%),rgba(47,123,245,.20),transparent 45%),
      linear-gradient(140deg,#FFFFFF 0%,#F3F8FF 45%,#D9E8FF 100%)!important}
  .fx-card:hover .fx-ring{display:block;opacity:1;animation-play-state:running}
  .fx-card:hover .fx-glare{display:block;opacity:.55}
  @starting-style{.fx-card:hover .fx-ring,.fx-card:hover .fx-glare{opacity:0}}
  details.fx-card:hover{box-shadow:
      0 2px 4px rgba(11,37,64,.06),0 14px 24px -10px rgba(11,37,64,.22),0 38px 70px -24px rgba(27,95,209,.55),
      0 0 0 6px rgba(47,123,245,.12),0 0 48px -4px rgba(47,123,245,.55)!important}
  details.fx-card[open]:hover{transform:perspective(1000px) translate3d(0,-6px,0) scale(1.012)}

  /* inner elements answer too */
  .fx-card:hover .fq-plus,.fx-card:hover summary::after{background:linear-gradient(135deg,#2F7BF5,#1B5FD1)!important;color:#fff!important;border-color:transparent!important;
    transform:rotate(180deg) scale(1.22);box-shadow:0 6px 16px -4px rgba(27,95,209,.8)}
  details.fx-card[open]:hover .fq-plus{transform:scale(1.22)}
  .fx-card:hover h3,.fx-card:hover .fq-q{color:#1B5FD1!important;letter-spacing:.005em}
  .fx-card:hover .fq-n{background:linear-gradient(135deg,#2F7BF5,#0B2540)!important;color:#fff!important;transform:scale(1.12)}
  .fx-card:hover small{color:#2F7BF5!important;letter-spacing:.2em}
  .fx-card:hover .fx-arrow{opacity:1;transform:translateX(0) scale(1)}
  .fx-card:hover .fx-nudge{transform:translateX(7px)}
}
.fq-plus,.fq-n{transition:transform .55s var(--fx-spring),background .3s,color .3s,box-shadow .35s}
.fx-card h3,.fx-card .fq-q,.fx-card small{transition:color .3s ease,letter-spacing .45s var(--fx-ease)}
.fx-nudge{display:inline-block;transition:transform .45s var(--fx-spring)}
.fx-arrow{position:absolute;right:1rem;top:50%;width:2rem;height:2rem;margin-top:-1rem;border-radius:50%;z-index:3;
  display:grid;place-items:center;font-weight:800;color:#fff;background:linear-gradient(135deg,#2F7BF5,#1B5FD1);
  box-shadow:0 8px 18px -6px rgba(27,95,209,.8);opacity:0;transform:translateX(-14px) scale(.6);
  transition:opacity .35s ease,transform .55s var(--fx-spring);pointer-events:none}
.fw-rel a.fx-card{padding-right:3.6rem!important}

/* press */
.fx-card:active{transform:perspective(1000px) translate3d(0,-4px,0) scale(1.01)!important;transition-duration:.14s}
details.fx-card[open]{border-color:rgba(27,95,209,.5)!important;box-shadow:0 18px 36px -22px rgba(27,95,209,.5),inset 3px 0 0 var(--fx-blue)!important}

/* keyboard */
.fx-card:focus-visible,.fx-card:has(summary:focus-visible){outline:none;z-index:6;
  transform:perspective(1000px) translate3d(0,-10px,0) scale(1.035);
  box-shadow:0 30px 60px -24px rgba(27,95,209,.55),0 0 0 3px #2F7BF5,0 0 0 7px rgba(47,123,245,.22)!important}
.fx-card summary:focus-visible{outline:none}

/* ---------- Buttons ---------- */
.fx-btn{position:relative;overflow:hidden;isolation:isolate;
  transition:transform .5s var(--fx-spring),box-shadow .45s var(--fx-ease),filter .3s ease,letter-spacing .45s var(--fx-ease)}
.fx-btn .fx-sheen{position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(110deg,transparent 25%,rgba(255,255,255,.55) 45%,rgba(255,255,255,.15) 55%,transparent 70%);transform:translateX(-130%)}
@media (hover:hover){
  .fx-btn:hover{transform:translateY(-4px) scale(1.07);filter:brightness(1.08) saturate(1.15);
    box-shadow:0 4px 8px rgba(11,37,64,.12),0 22px 40px -12px rgba(47,123,245,.85),0 0 0 4px rgba(47,123,245,.22),0 0 40px -6px rgba(134,180,255,.7)!important}
  .fx-btn:hover .fx-sheen{transform:translateX(130%);transition:transform .9s var(--fx-ease)}
}
.fx-btn:focus-visible{outline:none;box-shadow:0 0 0 4px rgba(47,123,245,.55),0 18px 36px -12px rgba(47,123,245,.7)!important}
.fx-btn:active{transform:translateY(-1px) scale(.97);transition-duration:.12s}

/* ---------- Pills ---------- */
.fx-pill{transition:transform .5s var(--fx-spring),background .3s,color .3s,border-color .3s,box-shadow .4s var(--fx-ease)}
@media (hover:hover){
  .fx-pill:hover{transform:translateY(-4px) scale(1.1);background:linear-gradient(135deg,#2F7BF5,#1B5FD1)!important;color:#fff!important;border-color:transparent!important;
    box-shadow:0 14px 26px -10px rgba(27,95,209,.85),0 0 0 3px rgba(47,123,245,.2)!important;position:relative;z-index:3}
}
.fx-pill:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(47,123,245,.6)!important}
.fx-pill:active{transform:scale(.95)}

/* ---------- Links ---------- */
.fx-link{text-decoration:none!important;color:var(--fx-blue);background-image:linear-gradient(90deg,#2F7BF5,#86B4FF);background-size:0% 2px;background-position:0 100%;background-repeat:no-repeat;transition:background-size .45s var(--fx-ease),color .25s}
.fx-link:hover,.fx-link:focus-visible{background-size:100% 2px;color:#0B2540}

/* ---------- Fields ---------- */
.fx-field{transition:box-shadow .35s var(--fx-ease),border-color .3s ease,transform .45s var(--fx-spring)}
.fx-field:hover{border-color:rgba(27,95,209,.6)!important}
.fx-field:focus{transform:scale(1.015);border-color:var(--fx-blue)!important;box-shadow:0 0 0 4px rgba(47,123,245,.22),0 14px 30px -14px rgba(27,95,209,.55)!important}

/* ---------- Touch ---------- */
@media (hover:none){
  .fx-card:active{transform:scale(.975)!important;box-shadow:0 0 0 2px #2F7BF5,0 16px 30px -14px rgba(27,95,209,.55)!important}
  .fx-card:not(.fx-keepbg):active{background-image:linear-gradient(140deg,#FFFFFF 0%,#F3F8FF 45%,#D9E8FF 100%)!important}
}

@media (prefers-reduced-motion:reduce){
  .fx-card,.fx-btn,.fx-pill,.fx-arrow,.fx-nudge,.fq-plus,.fq-n,.fx-field{transition:none!important}
  .fx-card:hover,.fx-card:focus-visible,.fx-btn:hover,.fx-pill:hover,.fx-field:focus{transform:none!important}
  .fx-card .fx-ring{animation:none}
  .fx-btn .fx-sheen{display:none}
}


/* ===== Experience carousel: lift, enlarge, blue light =====
   Memory-safe by design: the glow layers exist ONLY on the one icon being pointed at (desktop)
   or the one icon in the centre (phones). Nothing is pre-built on the other ~120 icon copies. */
@property --fx-ray{syntax:'<angle>';initial-value:0deg;inherits:false}
@keyframes fx-rays{to{--fx-ray:360deg}}
@keyframes fx-breathe{0%,100%{opacity:.9;transform:scale(1)}50%{opacity:1;transform:scale(1.07)}}
#fwart .vp{padding-top:56px!important;margin-top:-44px!important}
#fwart a.it{position:relative}
#fwart a.it .ic{position:relative;z-index:2;transform-origin:50% 60%;transition:transform .6s cubic-bezier(.34,1.56,.64,1),opacity .35s ease}
#fwart a.it .lb{position:relative;z-index:2;transition:color .35s,text-shadow .4s,opacity .35s}
#fwart a.it .rd{transition:color .35s}
/* shared geometry for the light behind the hovered/centred icon (only rendered when content is set) */
#fwart a.it::before,#fwart a.it::after{position:absolute;left:50%;top:0;width:96%;aspect-ratio:1;margin-left:-48%;margin-top:calc(33.6% - 48%);border-radius:50%;pointer-events:none;z-index:1}
@media (hover:hover){
  #fwart a.it:hover .ic,#fwart a.it:focus-visible .ic{transform:translateY(-16px) scale(1.2);
    filter:brightness(1.12) saturate(1.1) drop-shadow(0 0 14px rgba(140,195,255,.95)) drop-shadow(0 0 36px rgba(47,123,245,.75))}
  #fwart a.it:hover::before,#fwart a.it:focus-visible::before{content:'';
    background:radial-gradient(circle,rgba(200,226,255,.9) 0%,rgba(110,170,255,.66) 18%,rgba(47,123,245,.4) 36%,rgba(27,95,209,.15) 54%,rgba(27,95,209,0) 68%);
    opacity:1;transition:opacity .5s ease;animation:fx-breathe 3.2s ease-in-out .8s infinite}
  #fwart a.it:hover::after,#fwart a.it:focus-visible::after{content:'';opacity:.8;transition:opacity .6s ease;
    background:repeating-conic-gradient(from var(--fx-ray),rgba(150,200,255,0) 0deg,rgba(150,200,255,.28) 5deg,rgba(150,200,255,0) 12deg,rgba(150,200,255,0) 22deg);
    -webkit-mask:radial-gradient(circle,#000 18%,rgba(0,0,0,.5) 38%,transparent 66%);mask:radial-gradient(circle,#000 18%,rgba(0,0,0,.5) 38%,transparent 66%);
    animation:fx-rays 14s linear infinite}
  @starting-style{#fwart a.it:hover::before,#fwart a.it:hover::after{opacity:0}}
  #fwart a.it:hover .lb,#fwart a.it:focus-visible .lb{color:#fff!important;text-shadow:0 0 12px rgba(120,180,255,.95),0 0 28px rgba(47,123,245,.7)}
  #fwart a.it:hover .rd{color:#fff!important}
  #fwart .tr:has(a.it:hover) a.it:not(:hover) .ic{opacity:.72}
}

/* ===== Phones and tablets (controlled by fw-carousel.js) ===== */
#fwart.fwtouch .vp{overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y;scroll-behavior:auto}
#fwart.fwtouch .vp::-webkit-scrollbar{display:none}
#fwart.fwtouch .tr{transform:none!important;transition:none!important}
#fwart.fwtouch.fwsnap .vp{scroll-snap-type:x mandatory!important}
#fwart.fwtouch.fwsnap .it{scroll-snap-align:center!important;scroll-snap-stop:always}
#fwart.fwtouch.fwsnap.fwjump2 .vp{scroll-snap-type:none!important}
#fwart.fwtouch.fx-haslive a.it:not(.fx-live) .ic{opacity:.62}
#fwart.fwtouch.fx-haslive a.it:not(.fx-live) .lb{opacity:.65}
#fwart.fwtouch a.it.fx-live .ic{transform:translateY(-10px) scale(1.18);filter:drop-shadow(0 0 12px rgba(160,205,255,.95)) drop-shadow(0 0 26px rgba(47,123,245,.75))}
#fwart.fwtouch a.it.fx-live::before{content:'';opacity:1;
  background:radial-gradient(circle,rgba(200,226,255,.85) 0%,rgba(110,170,255,.6) 18%,rgba(47,123,245,.36) 36%,rgba(27,95,209,.12) 54%,rgba(27,95,209,0) 68%);
  transition:opacity .45s ease;animation:fx-breathe 2.8s ease-in-out .6s infinite}
@starting-style{#fwart.fwtouch a.it.fx-live::before{opacity:0}}
#fwart.fwtouch a.it.fx-live .lb{color:#fff!important;text-shadow:0 0 12px rgba(120,180,255,1),0 0 26px rgba(47,123,245,.8)}
#fwart.fwtouch a.it.fx-live .rd{color:#fff!important}
#fwart.fwtouch.fx-moving a.it::before{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){#fwart a.it .ic{transition:none}#fwart a.it::before,#fwart a.it::after{animation:none!important}}

/* ===== Automatic safe mode: if a page view ever ends in a browser crash, effects switch off for that visitor ===== */
html.fx-lite .fx-ring,html.fx-lite .fx-glare,html.fx-lite .fx-sheen,html.fx-lite .fx-arrow{display:none!important}
html.fx-lite .fx-card,html.fx-lite .fx-card:hover,html.fx-lite .fx-pill:hover,html.fx-lite .fx-btn:hover{transform:none!important;filter:none!important}
html.fx-lite #fwart a.it::before,html.fx-lite #fwart a.it::after{content:none!important}
html.fx-lite #fwart a.it .ic{filter:none!important;transform:none!important;opacity:1!important}

/* ===== Scroll-reveal made memory-safe =====
   The older reveal blurs every block before it appears. Blurring whole sections is what overloads phones.
   1) Never on the carousel or the appeal timeline (they have their own light animations). */
html.fwrv-on #fwart .fwrv,html.fwrv-on #fwart .fwrv-w{filter:none!important;will-change:auto!important;clip-path:none!important;transform:none!important}
html.fwrv-on .fwj .fwrv{opacity:1!important;transform:none!important;clip-path:none!important;will-change:auto!important;filter:none!important}
html.fwrv-on .fwj .fwj-node img.fwrv{filter:grayscale(.75) brightness(.55)!important;transition:filter 1s cubic-bezier(.22,1,.36,1),border-color .8s,box-shadow .8s!important}
html.fwrv-on .fwj .fwj-step.on .fwj-node img.fwrv,html.fwrv-on .fwj:not(.fwj-js) .fwj-node img.fwrv{filter:none!important}
/* 2) On phones and tablets: fade and slide only. No blur, no forced graphics layers. */
@media (hover:none),(max-width:900px){
  html.fwrv-on .fwrv,html.fwrv-on .fwrv-w{filter:none!important;will-change:auto!important}
  html.fwrv-on .fwrv.fwrv-img{clip-path:none!important}
  html.fwrv-on .fwrv:not(.in){transform:translate(0,28px)!important}
  html.fwrv-on .fwj .fwrv:not(.in),html.fwrv-on #fwart .fwrv:not(.in){transform:none!important}
}
html.fx-lite .fwrv,html.fx-lite .fwrv-w{filter:none!important;will-change:auto!important;clip-path:none!important}
