/* Body decoration from Figma 3181:6330 and 3181:9371. */
.home-page { position: relative; isolation: isolate; background: #000; }
.home-background {
  position: absolute;
  inset: 0 0 auto;
  height: 1039px;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}
.home-background__dots {
  z-index: 2;
  opacity: .15;
  position: absolute;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, 24px);
  grid-auto-rows: 24px;
  height: 916px;
  overflow: hidden;
}
.home-background__dots img { margin: 11px; max-width: none; }
.home-background__gradient {
  position: absolute;
  inset: 0;
  mix-blend-mode: plus-lighter;
  animation: home-gradient-drift 18s ease-in-out infinite;
  filter: saturate(1.25);
  transform-origin: 70% 25%;
}
.home-background__gradient img {
  position: absolute;
  left: 30%;
  top: 37.5%;
  width: 66.667%;
  /* The image is rotated: its height controls horizontal coverage. */
  height: max(200vw, 1920px);
  max-width: none;
  object-fit: fill;
  mask-image: radial-gradient(ellipse at center, #000 45%, transparent 72%);
  transform: translate(-50%, -50%) rotate(-90deg);
}
.home-background__gradient--neat {
  animation: none;
  filter: none;
  mix-blend-mode: normal;
}
.home-background__gradient--neat canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.home-background__gradient--neat:not(.is-ready) canvas { visibility: hidden; }
.home-background__gradient--neat.is-ready > img { display: none; }
.home-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, #000 100%);
}
.home-page .site-navigation--figma:not(.is-scrolled):not(.is-open),
.home-page .hero.hero--editorial { background: transparent; }
.home-page #selected-projects { background-color: transparent !important; }
@keyframes home-gradient-drift {
  0%, 100% { transform: translate3d(4%,-3%,0) scale(1.12) rotate(-3deg); }
  35% { transform: translate3d(-12%,6%,0) scale(1.3) rotate(5deg); }
  70% { transform: translate3d(-3%,-7%,0) scale(1.18) rotate(-5deg); }
}
@media (max-width: 1023.98px) {
  .home-background { height: 850px; }
  .home-background__gradient img { width: 850px; height: max(200vw, 1275px); }
}
@media (prefers-reduced-motion: reduce) {
  .home-background__gradient { animation: none; }
}
