/* Home section 1: blur veils + text haze (elements added by home-effects.js) */
/* hero frames are opaque on the section's average colour */
.image-sequence__element:not(.services) {
  background-color: #f6f8fb;
}
.ahg-veil {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1; /* over the canvas, under the texts */
  pointer-events: none; /* no opacity/filter here — it would break the layers' backdrop blur */
}
.ahg-veil > i {
  position: absolute;
  inset: 0;
  display: block;
}
.ahg-veil--hero { top: 0; height: 80%; }
.ahg-veil--top { top: 0; height: 30%; }
.ahg-veil--bottom { bottom: 0; height: 30%; }
.ahg-veil--bottom > .ahg-veil__shade {
  background-image: linear-gradient(0deg, rgba(238, 240, 247, 0.9), rgba(238, 240, 247, 0.6) 30%, rgba(238, 240, 247, 0));
}

.ahg-text-glass {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background: radial-gradient(closest-side, rgba(238, 240, 247, 0.55), rgba(238, 240, 247, 0.45) 55%, rgba(238, 240, 247, 0));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  -webkit-mask-image: radial-gradient(closest-side, #000 52%, rgba(0, 0, 0, 0.55) 78%, transparent);
  mask-image: radial-gradient(closest-side, #000 52%, rgba(0, 0, 0, 0.55) 78%, transparent);
}
