/* Shared background treatment for home, company and business content sections. */
:is(.home-atmosphere, .section-atmosphere) {
  position: relative;
  isolation: isolate;
  overflow: clip;
}
:is(.home-atmosphere, .section-atmosphere) > .container {
  position: relative;
  z-index: 1;
}
:is(.home-atmosphere, .section-atmosphere)::before,
:is(.home-atmosphere, .section-atmosphere)::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
:is(.home-atmosphere, .section-atmosphere)::before {
  inset: -64px;
  background-image:
    linear-gradient(90deg, #4c98b9 1px, transparent 1px),
    linear-gradient(#4c98b9 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .075;
  mask-image: linear-gradient(105deg, #000, transparent 42%, transparent 58%, #000);
  animation: home-grid-drift 36s linear infinite;
}
:is(.home-atmosphere, .section-atmosphere)::after {
  inset: -25%;
  background: linear-gradient(115deg,
    transparent 15%, rgba(50, 156, 195, .045) 28%, transparent 40%,
    transparent 57%, rgba(92, 169, 190, .055) 69%, transparent 82%);
  animation: home-light-drift 24s ease-in-out infinite alternate;
}
.partners-section.home-atmosphere::before { animation-delay: -24s; }
.partners-section.home-atmosphere::after { animation-delay: -16s; }
@keyframes home-grid-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(64px, 64px, 0); }
}
@keyframes home-light-drift {
  from { transform: translate3d(-8%, 0, 0); opacity: .55; }
  to { transform: translate3d(8%, 0, 0); opacity: 1; }
}
@media (max-width: 760px) {
  :is(.home-atmosphere, .section-atmosphere)::before { opacity: .055; animation-duration: 48s; }
  :is(.home-atmosphere, .section-atmosphere)::after { animation-duration: 32s; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.home-atmosphere, .section-atmosphere)::before,
  :is(.home-atmosphere, .section-atmosphere)::after { animation: none; transform: none; }
}
