/*
 * CTA: the wave gradient floats. Two copies of the image drift and scale on
 * different loops (the second is mirrored, tinted and screen-blended), and
 * js/custom/cta-float.js nudges both toward the cursor via --cta-x / --cta-y.
 */
.section-cta {
  background-image: none;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  transform: translate3d(var(--cta-x, 0px), var(--cta-y, 0px), 0);
}
.cta-glow-a,
.cta-glow-b {
  position: absolute;
  inset: -12%;
  background: url("../../images/graphics-1.png") 50% 65% / cover no-repeat;
  will-change: transform;
}
.cta-glow-a { animation: cta-float-a 16s ease-in-out infinite alternate; }
.cta-glow-b {
  mix-blend-mode: screen;
  opacity: 0.4;
  filter: hue-rotate(28deg) blur(4px);
  animation: cta-float-b 23s ease-in-out infinite alternate;
}
@keyframes cta-float-a {
  0%   { transform: translate3d(-3%, 1%, 0) scale(1.02); }
  50%  { transform: translate3d(2%, -2.5%, 0) scale(1.09); }
  100% { transform: translate3d(4%, 1.5%, 0) scale(1.04) rotate(0.6deg); }
}
@keyframes cta-float-b {
  0%   { transform: translate3d(4%, -2%, 0) scale(-1.12, 1.12); }
  100% { transform: translate3d(-4%, 2.5%, 0) scale(-1.05, 1.05) rotate(-0.8deg); }
}
@media (prefers-reduced-motion: reduce) {
  .cta-glow-a, .cta-glow-b { animation: none; }
}

/* Footer: everything on one centred line (Webflow aligned items to their
   bottom edge, so the email with its icon sat higher than the rest). */
.footer-wrap {
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem clamp(0.75rem, 1.6vw, 2rem);
}
.footer-wrap .footer-text,
.footer-wrap .link-block { line-height: 1; white-space: nowrap; }
.footer-wrap .link-block { align-items: center; }
.footer-wrap .link-block img { display: block; }
.footer-wrap .social-link { display: flex; align-items: center; }
@media (max-width: 767px) {
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .footer-wrap .footer-text { white-space: normal; }
}
