/* Homepage hero only. Preserve the existing content geometry. */
.home-rebuild .wk-hero {
  isolation: isolate;
  overflow: hidden;
}
.home-rebuild .hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #08090b;
  pointer-events: none;
}
.home-rebuild .hero-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.home-rebuild .hero-slideshow img.is-visible { opacity: 1; }
.home-rebuild .hero-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,9,11,.88) 0%, rgba(8,9,11,.76) 33%, rgba(8,9,11,.44) 65%, rgba(8,9,11,.19) 100%),
    linear-gradient(0deg, rgba(8,9,11,.55), transparent 35%);
}
.home-rebuild .wk-hero > .container { position: relative; }
.home-rebuild .wk-hero-copy p { color: #e0e3e9; }
.home-rebuild .hero-slideshow-toggle {
  position: absolute;
  right: max(1rem, calc((100% - 1400px) / 2));
  bottom: .65rem;
  z-index: 2;
  padding: .35rem .6rem;
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  background: rgba(8,9,11,.78);
  font: inherit;
  font-size: .75rem;
  cursor: pointer;
}
.home-rebuild .hero-slideshow-toggle[hidden] { display: none; }
.home-rebuild .hero-slideshow-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 760px) {
  .home-rebuild .hero-slideshow::after {
    background: linear-gradient(90deg, rgba(8,9,11,.87), rgba(8,9,11,.59)),
      linear-gradient(0deg, rgba(8,9,11,.5), transparent 40%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-rebuild .hero-slideshow img { transition: none; }
}
