/* Purpose-composed hero artwork: retain its headroom and individual focal point.
   Pointer-driven ambient light remains in the existing hero overlay. */
body[data-nelu-page="home"] .ns-home-hero .ns-hero-art {
  top: 70px;
  height: calc(100% - 70px);
}
body[data-nelu-page="home"] .ns-home-hero {
  overflow: clip;
}
body[data-nelu-page="home"] .ns-home-hero .ns-hero-art img[data-hero-style],
body[data-nelu-page="home"] .ns-home-hero .ns-hero-art:hover img[data-hero-style] {
  --ns-image-flip: 1;
  object-fit: cover;
  object-position: var(--ns-hero-focal, 72% 40%);
  transform: none;
  will-change: opacity;
}

body[data-nelu-page="home"] .ns-home-hero .ns-hero-style-tabs img {
  object-position: var(--ns-hero-mobile-focal, var(--ns-hero-focal, 72% 40%));
}

@media (max-width: 760px) {
  body[data-nelu-page="home"] .ns-home-hero {
    padding-top: 340px;
    background-color: #0e0c15;
  }
  body[data-nelu-page="home"] .ns-home-hero .ns-hero-art {
    height: 400px;
    bottom: auto;
  }
  body[data-nelu-page="home"] .ns-home-hero .ns-hero-art img[data-hero-style],
  body[data-nelu-page="home"] .ns-home-hero .ns-hero-art:hover img[data-hero-style] {
    object-position: var(--ns-hero-mobile-focal, var(--ns-hero-focal, 76% 40%));
  }

  /* Keep the upper image legible while text sits over a quiet lower gradient. */
  body[data-nelu-page="home"] .ns-home-hero .ns-hero-art::before {
    background:
      linear-gradient(0deg, #0e0c15 0%, rgba(14, 12, 21, .92) 23%, rgba(14, 12, 21, .65) 47%, rgba(14, 12, 21, .08) 76%),
      linear-gradient(90deg, rgba(11, 9, 22, .36), transparent 75%),
      linear-gradient(180deg, rgba(8, 7, 16, .42), transparent 25%);
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-nelu-page="home"] .ns-home-hero .ns-hero-art img[data-hero-style] {
    transform: none !important;
    will-change: auto;
  }
}
