
/* Motion is opt-in through classes added by fx.js. */
:root { --fx-enter: cubic-bezier(.22,1,.36,1); --fx-transition: cubic-bezier(.65,0,.35,1); --fx-micro:160ms; --fx-ui:320ms; }
.fx-active { --motion-ink: #00025f; --motion-accent: #737bed; }
.fx-polish ::selection { background: #dfe2ff; color: #00025f; }
html.fx-polish { scrollbar-color: #777da8 #f1f2f7; }
.fx-progress, .fx-section, .fx-top, .fx-curtain,
.fx-cursor-dot, .fx-cursor-ring { position: fixed; }
.fx-progress {
  inset: 0 0 auto; height: 3px; z-index: 12; pointer-events: none;
  transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--motion-ink), var(--motion-accent));
}
.fx-section {
  right: clamp(12px, 2vw, 30px); bottom: 23px; z-index: 7;
  max-width: 15rem; padding: .42rem .7rem;
  color: var(--motion-ink); background: #fff; border: 1px solid #dce0e8;
  border-radius: 999px; font-size: .68rem; font-weight: 700; pointer-events: none;
}
.fx-section + .fx-top { bottom: 60px; }
.fx-top {
  right: clamp(12px, 2vw, 30px); bottom: 20px; width: 46px; height: 46px;
  z-index: 8; display: grid; place-items: center; border: 1px solid #dce0e8;
  border-radius: 50%; color: var(--motion-ink); background: #fff; font-weight: 800;
  box-shadow: 0 6px 16px #00025f16;
}
.fx-top svg { position: absolute; inset: 2px; width: 40px; height: 40px; transform: rotate(-90deg); }
.fx-top circle { fill: none; stroke: var(--motion-accent); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.fx-curtain {
  inset: 0; display: grid; place-items: center; z-index: 20; pointer-events: none;
  background: #fff; animation: accurex-curtain var(--fx-curtain-time, 850ms) var(--fx-transition) both;
}
.fx-curtain img { width: min(43vw, 178px); }
.fx-active .hero-carousel { overflow: clip; overflow-clip-margin: 4px; }
.fx-word { display: inline-block; vertical-align: top; overflow: clip; }
.fx-word > span { display: inline-block; }
.fx-glass {
  position: sticky; top: 0; z-index: 10;
  transition: transform var(--fx-ui) var(--fx-enter);
}
.fx-glass .nav-row { backdrop-filter: blur(13px); }
.fx-glass.fx-header-scrolled .nav-row { background: color-mix(in srgb, var(--hero-surface) 94%, transparent); }
.fx-header-away { transform: translateY(-101%); }
.fx-glass:focus-within { transform: none; }
.fx-depth { position: relative; isolation: isolate; }
.fx-depth::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none; inset: 0;
  background: radial-gradient(ellipse at 76% 43%, #888ef626, transparent 62%);
  clip-path: inset(0); transform: translateY(var(--fx-depth-y, 0px));
}
.fx-magnet { translate: var(--fx-button-x, 0px) var(--fx-button-y, 0px); transition: translate 180ms ease; }
.fx-magnet:hover { box-shadow: 0 6px 22px #535bcc3b; }
.fx-tilt {
  transform: perspective(850px) translateY(-5px) rotateX(var(--fx-rx, 0deg)) rotateY(var(--fx-ry, 0deg));
  background-image: radial-gradient(circle at var(--fx-x,50%) var(--fx-y,50%), #777ef829, transparent 64%);
  box-shadow: 0 15px 30px #00025f21;
}
.fx-zoom { transition: scale 260ms ease; }
.fx-zoom:hover { scale: 1.018; }
.fx-link { position: relative; }
.fx-link::after {
  content: ''; position: absolute; pointer-events: none; bottom: 3px;
  left: 0; right: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform 180ms ease;
}
.fx-link:hover::after, .fx-link:focus-visible::after { transform: scaleX(1); }
.fx-roll { display: inline-block; }
.fx-link:hover > .fx-roll { animation: accurex-roll 250ms ease-out; }
.fx-cursor-dot,.fx-cursor-ring {
  left: 0; top: 0; z-index: 16; opacity: 0; pointer-events: none;
}
.fx-cursor-dot::before,.fx-cursor-ring::before {
  content: ''; display: block; transform: translate(-50%,-50%); border-radius: 50%;
}
.fx-cursor-dot::before { width: 5px; height: 5px; background: #747cff; }
.fx-cursor-ring::before { width: 24px; height: 24px; border: 1px solid #747cff; transition: transform var(--fx-micro) var(--fx-enter); }
.fx-cursor-ring.fx-over::before { transform: translate(-50%,-50%) scale(1.55); }
.fx-cursor-ring span {
  position: absolute; top: 15px; left: 15px;
  padding: 1px 5px; color: #fff; background: #00025f;
  border-radius: 3px; font-size: .62rem; line-height: 1.5;
}
.fx-cursor-ring.fx-cursor-edge span { left: auto; right: 15px; }
.fx-cursor-ring span:empty { display: none; }
html .home .hero,
html .home header:not(.fx-header-scrolled) .nav-row {
  background-image: radial-gradient(circle, #00025f1a 0.45px, transparent 0.65px);
  background-size: 5px 5px;
}
@keyframes accurex-curtain {
  0%, 32% { transform: translateY(0); }
  to { transform: translateY(-100%); }
}
@keyframes accurex-roll {
  0% { opacity: .6; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 230ms; }
}
@media (max-width: 800px) {
  .fx-section { display: none; }
  .fx-section + .fx-top { bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-glass { transition: none; }
  .fx-header-away { transform: none; }
  .fx-curtain,.fx-cursor-dot,.fx-cursor-ring { display: none; }
  .fx-link::after, .fx-magnet, .fx-zoom { transition: none; }
  .fx-link:hover > .fx-roll { animation: none; }
}


@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .fx-paint .button.primary {
    position: relative;
    overflow: clip;
  }

  .fx-paint .button.primary::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(112deg, transparent 30%, #ffffff2b 49%, transparent 68%);
    transform: translateX(-100%);
  }

  .fx-paint .button.primary:hover::before {
    animation: accurex-cta-shine 480ms ease-out;
  }
}

@keyframes accurex-cta-shine {
  to { transform: translateX(100%); }
}



.home header.fx-header-scrolled .nav-row { border-bottom-color: var(--line); }
.fx-hero-stage {
  transform: translate(var(--fx-image-x, 0px), var(--fx-image-y, 0px));
  transition: transform var(--fx-micro) var(--fx-enter);
}
@media (prefers-reduced-motion: no-preference) {
  .fx-focus input:focus-visible, .fx-focus select:focus-visible, .fx-focus textarea:focus-visible {
    animation: fx-focus-in var(--fx-micro) var(--fx-enter);
  }
}
@keyframes fx-focus-in {
  from { filter: drop-shadow(0 0 4px #747cff80); }
  to { filter: drop-shadow(0 0 0 transparent); }
}
@keyframes fx-page-entry {
  from { opacity: .86; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-group(fx-product), ::view-transition-group(fx-title) {
    animation-duration: var(--fx-ui);
    animation-timing-function: var(--fx-transition);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .fx-product-transitions .hero-slide:not([hidden]) {
    animation: fx-product-arrive 370ms var(--fx-enter) both;
  }

  .fx-product-transitions .hero-slide:not([hidden]) figcaption {
    animation: fx-caption-arrive 290ms var(--fx-enter) 65ms both;
  }

  .fx-hero-sweep .hero-carousel {
    position: relative;
  }

  .fx-hero-sweep .hero-carousel::before {
    content: '';
    position: absolute;
    z-index: 0;
    top: 12%;
    left: 8%;
    width: 84%;
    height: 2px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, #737bed9c, transparent);
    animation: fx-measure-sweep 880ms var(--fx-transition) var(--fx-sweep-delay, 0ms) both;
  }
}
@keyframes fx-product-arrive {
  from { opacity: .22; transform: translateY(9px) scale(.972); filter: blur(2.5px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes fx-caption-arrive {
  from { opacity: .35; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fx-measure-sweep {
  0% { opacity: 0; transform: translateY(0) scaleX(.68); }
  27% { opacity: .9; }
  80% { opacity: .62; }
  100% { opacity: 0; transform: translateY(clamp(160px, 22vw, 330px)) scaleX(1); }
}

.home .partner-band { overflow-x: clip; }
.home .partner-band .partner-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: clamp(20px, 3vw, 42px) 0;
  row-gap: clamp(14px, 2vw, 24px);
}
.home .partner-band .partner-label {
  grid-column: 1 / -1;
  justify-items: center;
  min-height: 0;
  padding: 0;
  text-align: center;
}
.home .partner-band .partner-row > a:not(.partner-label) {
  align-self: stretch;
  border: 0;
  min-height: clamp(54px, 6vw, 86px);
  padding: 6px clamp(4px, 1vw, 14px);
}
.home .partner-band .partner-row img {
  max-width: min(100%, 166px);
  max-height: clamp(34px, 5vw, 55px);
}
.home .partner-band .partner-row > a:nth-child(2) img {
  max-height: clamp(44px, 6vw, 72px);
}



@media (prefers-reduced-motion: no-preference) {
  .fx-showcases .catalogue-copy a > span,
  .fx-showcases .service-tab > span {
    display: inline-block;
    transition: transform var(--fx-micro) var(--fx-enter);
  }

  .fx-showcases .catalogue-copy a:is(:hover,:focus-visible) > span,
  .fx-showcases .service-tab:is(:hover,:focus-visible) > span {
    transform: translateX(5px);
  }

  .fx-showcases .catalogue-dot::before {
    transition: transform var(--fx-micro) var(--fx-enter);
  }

  @media (hover: hover) and (pointer: fine) {
    .fx-showcases .catalogue-image { overflow: hidden; }
    .fx-showcases .catalogue-image img {
      transition: transform 360ms var(--fx-enter);
    }
    .fx-showcases .catalogue-card:is(:hover,:focus-within) .catalogue-image img {
      transform: scale(1.055);
    }
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .fx-showcases .catalogue-track { margin: -14px; }
  .fx-showcases .catalogue-slide { padding: 14px; }
  .fx-showcases .catalogue-card {
    position: relative;
    background: var(--paper);
    transition: scale 300ms var(--fx-enter), box-shadow 300ms var(--fx-enter);
  }
  .fx-showcases .catalogue-card:is(:hover,:focus-within) {
    z-index: 1;
    scale: 1.018;
    box-shadow: 0 4px 10px #00025f20;
  }
}



/* Measurement graphics use the existing brand palette. */
.fx-graphics .hero-carousel {
  position: relative;
  isolation: isolate;
}
.fx-measure-dial {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 43%;
  width: min(76%, 430px);
  aspect-ratio: 1;
  border: 1px solid #00025f13;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.fx-measure-dial::before, .fx-measure-dial::after {
  content: '';
  position: absolute;
  pointer-events: none;
}
.fx-measure-dial::before {
  inset: 11%;
  border: 1px dashed #00025f1b;
  border-radius: 50%;
}
.fx-measure-dial::after {
  inset: -9%;
  background:
    linear-gradient(#00025f2b, #00025f2b) center top / 1px 10px no-repeat,
    linear-gradient(#00025f2b, #00025f2b) center bottom / 1px 10px no-repeat,
    linear-gradient(#00025f2b, #00025f2b) left center / 10px 1px no-repeat,
    linear-gradient(#00025f2b, #00025f2b) right center / 10px 1px no-repeat;
}
.fx-graphics main > .inner {
  position: relative;
  isolation: isolate;
}
.fx-graphics main > .inner::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 60%, #737bed0c),
    linear-gradient(#00025f06 1px, transparent 1px) right top / 44px 44px,
    linear-gradient(90deg, #00025f06 1px, transparent 1px) right top / 44px 44px;
  mask-image: linear-gradient(90deg, transparent 20%, black);
}
.fx-graphics .section-head > .eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  margin-right: 9px;
  vertical-align: middle;
  background: currentColor;
  transform-origin: left;
}
.fx-graphics .callout {
  position: relative;
  isolation: isolate;
  overflow: clip;
}
.fx-graphics .callout::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 88% 85%, #747cff28, transparent 60%),
    repeating-linear-gradient(130deg, transparent 0 49px, #ffffff08 49px 50px);
}
.fx-graphics .fx-framed {
  position: relative;
  isolation: isolate;
}
.fx-graphics .fx-framed::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 12px;
  pointer-events: none;
  background:
    linear-gradient(#fff9, #fff9) left top / 20px 1px no-repeat,
    linear-gradient(#fff9, #fff9) left top / 1px 20px no-repeat,
    linear-gradient(#fff9, #fff9) right bottom / 20px 1px no-repeat,
    linear-gradient(#fff9, #fff9) right bottom / 1px 20px no-repeat;
  opacity: .65;
}
@media (prefers-reduced-motion: no-preference) {
  .fx-in-view .section-head > .eyebrow::before {
    animation: fx-rule-enter 700ms var(--fx-enter) both;
  }
  .fx-in-view .fx-framed::after {
    animation: fx-frame-enter 800ms var(--fx-enter) both;
  }
  .fx-in-view .fx-measure-dial::before {
    animation: fx-dial-turn 22s linear infinite;
  }
  .fx-graphics .service-tab > span {
    transition: transform 240ms var(--fx-enter);
  }
  .fx-graphics .service-tab[aria-selected=true] > span {
    transform: translateX(6px);
  }
  .fx-graphics .dropdown:not([hidden]) {
    animation: fx-panel-open 230ms var(--fx-enter) both;
  }
  .fx-graphics .callout > .button:is(:hover,:focus-visible) {
    transform: translateY(-3px);
  }
}
@keyframes fx-rule-enter {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}
@keyframes fx-frame-enter {
  from { clip-path: inset(0 100% 0 0); opacity: 0; }
  to { clip-path: inset(0); opacity: .65; }
}
@keyframes fx-dial-turn { to { transform: rotate(360deg); } }
@keyframes fx-panel-open {
  from { clip-path: inset(0 0 12% 0); transform: translateY(-5px); opacity: .6; }
  to { clip-path: inset(0); transform: translateY(0); opacity: 1; }
}
@media (max-width: 1000px) {
  .fx-in-view .fx-measure-dial::before { animation: none; }
}



.fx-page-motion .fx-motion-frame {
  position: relative;
  isolation: isolate;
}
.fx-page-motion .fx-motion-frame::after {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 6px;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(#737bed99, #737bed99) left top / 24px 1px no-repeat,
    linear-gradient(#737bed99, #737bed99) left top / 1px 24px no-repeat,
    linear-gradient(#737bed99, #737bed99) right bottom / 24px 1px no-repeat,
    linear-gradient(#737bed99, #737bed99) right bottom / 1px 24px no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
  .fx-page-motion .fx-frame-visible::after {
    animation: fx-page-frame 650ms var(--fx-enter) both;
  }
  .fx-page-motion .subnav a {
    transition: transform 180ms var(--fx-enter);
  }
  .fx-page-motion .subnav a:is(:hover,:focus-visible) {
    transform: translateY(-2px);
  }
  .fx-page-motion .spec > div {
    transition: filter 180ms var(--fx-enter);
  }
  .fx-page-motion .spec > div:hover {
    filter: drop-shadow(0 1px 2px #00025f12);
  }
  .fx-page-motion footer a:not(.footer-logo) {
    transition: transform 180ms var(--fx-enter);
  }
  .fx-page-motion footer a:not(.footer-logo):is(:hover,:focus-visible) {
    transform: translateX(3px);
  }
}
@keyframes fx-page-frame {
  from { opacity: 0; clip-path: inset(0 90% 0 0); }
  to { opacity: 1; clip-path: inset(0); }
}


/* Gentle follow-through for the scroll-linked partner logos. */
@media (prefers-reduced-motion: no-preference) {
  .home .partner-band .partner-row img {
    transition: transform 900ms cubic-bezier(.22,1,.36,1), opacity 900ms ease-out;
  }
}
