/* A quiet geometric texture unifies the sections without covering their content. */
main > section:not(.hero), body > .legal, footer {
  position: relative;
  isolation: isolate;
}
main > section:not(.hero)::before, body > .legal::before, footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url('/assets/riad-geometric-pattern.svg') center top / 160px 160px repeat;
  opacity: 0.15;
  -webkit-mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.45) 35%, rgba(0,0,0,.45) 65%, #000);
  mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.45) 35%, rgba(0,0,0,.45) 65%, #000);
}
@media (max-width: 760px) {
  main > section:not(.hero)::before, body > .legal::before, footer::before {
    background-size: 132px 132px;
    opacity: 0.11;
    -webkit-mask-image: none;
    mask-image: none;
  }
}
