/* Energy slide only. The existing eight-slide carousel owns its controls. */
:root.zgh-sector-hero #no-hero[data-wow-ready][data-energy-active="true"] {
  --wow-ink: #fff;
}

:root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-energy-scene="ready"] {
  --energy-stage-x: 0px;
  --energy-stage-y: 0px;
  --energy-stage-w: 100%;
  --energy-stage-h: 100%;
  --energy-word-scale: 1;
  /* The clean reservoir-side crest of the hydroelectric dam. */
  --energy-mask: polygon(
    0 36.9%, 12% 38.0%, 25% 38.4%, 48% 38.4%, 74% 38.3%, 89% 37.6%,
    100% 36.6%, 100% 100%, 0 100%
  );
}

:root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-energy-scene="ready"] .no-hero__bg {
  opacity: 0;
}
:root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-energy-scene="ready"] .no-hero__overlay {
  background: none;
}
:root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-energy-scene="ready"] .energy-scene-stage {
  position: absolute;
  z-index: 1;
  left: var(--energy-stage-x);
  top: var(--energy-stage-y);
  width: var(--energy-stage-w);
  height: var(--energy-stage-h);
  pointer-events: none;
}
:root.zgh-sector-hero #no-hero[data-wow-ready] .energy-scene-stage :is(.energy-scene-bg, .energy-scene-fg) {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
  user-select: none;
  transform: scale(1.23);
  transform-origin: 50% 0;
}
:root.zgh-sector-hero #no-hero[data-wow-ready] .energy-scene-bg { z-index: 0; }
:root.zgh-sector-hero #no-hero[data-wow-ready] .energy-scene-word {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: var(--energy-word-top, 28%);
  color: #fff;
  font-family: var(--font-display, 'Inter Tight'), sans-serif;
  font-size: 11.7vw;
  font-weight: 800;
  line-height: .84;
  letter-spacing: -.045em;
  white-space: nowrap;
  text-shadow: 0 2px 20px rgb(22 43 62 / .14);
  transform: translate3d(-50%, -50%, 0) scale(var(--energy-word-scale));
  transform-origin: center;
  backface-visibility: hidden;
  will-change: transform;
  text-rendering: geometricPrecision;
}
:root.zgh-sector-hero #no-hero[data-wow-ready] .energy-scene-fg {
  z-index: 2;
  clip-path: var(--energy-mask);
}

/* Keep one accessible H2 and the existing energy CTA, without duplicate small copy. */
:root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-energy-scene="ready"] .no-hero__content { z-index: 3; }
:root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-energy-scene="ready"] .no-hero__pack {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  transform: none;
  overflow: visible;
}
:root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-energy-scene="ready"] .wow-meta {
  position: absolute;
  top: var(--energy-meta-top, 8%);
  left: 50%;
  width: max-content;
  max-width: calc(100% - 48px);
  margin: 0;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
}
:root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-energy-scene="ready"] .wow-meta :is(.no-hero__topLogo, .no-hero__eyebrow) {
  left: auto;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  transform: none;
  color: #fff;
}
:root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-energy-scene="ready"] .wow-meta .no-hero__topLogoImg {
  width: clamp(145px, 17vw, 230px) !important;
  filter: brightness(0) invert(1) !important;
  opacity: .95;
}
:root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-energy-scene="ready"] .no-hero__title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
:root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-energy-scene="ready"] :is(.no-hero__subtitle, .no-hero__desc) {
  position: absolute;
  display: block !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  clip-path: inset(50%);
  white-space: nowrap;
}
:root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-energy-scene="ready"] .no-hero__actions {
  position: absolute;
  top: var(--energy-actions-top, 58%);
  left: 50%;
  width: max-content;
  max-width: calc(100% - 48px);
  margin: 0;
  transform: translateX(-50%);
}

:root.zgh-sector-hero #no-hero[data-energy-active="true"] .no-hero__controls {
  bottom: 18px;
}

@media (max-width: 767px) {
  :root.zgh-sector-hero #no-hero[data-wow-ready] .energy-scene-word { font-size: 11.5vw; }
  :root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-energy-scene="ready"] .wow-meta {
    max-width: calc(100% - 32px);
  }
  :root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-energy-scene="ready"] .wow-meta .no-hero__topLogoImg { width: 145px !important; }
  :root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-energy-scene="ready"] .no-hero__actions {
    max-width: calc(100% - 36px);
  }
}
@media (max-height: 650px) and (max-width: 767px) {
  :root.zgh-sector-hero #no-hero[data-energy-active="true"] .no-hero__controls { bottom: 4px; padding-block: 0; }
  :root.zgh-sector-hero #no-hero[data-energy-active="true"] .no-hero__nav { height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  :root.zgh-sector-hero #no-hero[data-wow-ready] .energy-scene-stage * { transition: none !important; animation: none !important; }
}
