/* NeoGENI V1.3.20 — HELIO BATTERY page-only visual refinements.
   The other NeoGENI divisions and the V1.3.19 ORC animation are unchanged. */

/* Hero: preserve the full right-hand battery in the supplied carbon-to-battery artwork.
   Replace the old cover/zoom crop with a controlled, smaller, stationary background. */
.hero.subhero.hero-battery {
  background: radial-gradient(ellipse at 74% 43%, #0b3040 0%, #041525 52%, #010a13 92%);
}
.hero.subhero.hero-battery::before {
  background-image: url('../img/hb-carbon-to-battery-v1315.webp') !important;
  background-repeat: no-repeat !important;
  background-size: min(86vw, 1530px) auto !important;
  background-position: 72% center !important;
  transform: none !important;
  animation: none !important;
  /* Feather the smaller photo into the dark hero so no image rectangle remains. */
  -webkit-mask-image: linear-gradient(90deg, transparent 16%, #000 55%, #000 83%, transparent 97%),
                      linear-gradient(180deg, transparent 14%, #000 32%, #000 72%, transparent 85%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 16%, #000 55%, #000 83%, transparent 97%),
              linear-gradient(180deg, transparent 14%, #000 32%, #000 72%, transparent 85%);
  mask-composite: intersect;
}

/* A proper transition between the two immersive 02B and 02C scenes. */
.hb20-scene-divider {
  height: 98px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 30px;
  background: linear-gradient(180deg, #030c16 0%, #081b2a 48%, #030d19 100%);
  border-top: 1px solid rgba(117, 205, 223, .17);
  border-bottom: 1px solid rgba(117, 205, 223, .17);
}
.hb20-scene-divider .hb20-rule {
  display: block;
  height: 1px;
  width: min(260px, 22vw);
  background: linear-gradient(90deg, transparent, rgba(116, 219, 234, .59));
}
.hb20-scene-divider .hb20-rule:last-child {
  background: linear-gradient(90deg, rgba(116, 219, 234, .59), transparent);
}
.hb20-scene-divider .hb20-node {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  border: 1px solid rgba(167, 240, 245, .82);
  background: #4abecb;
  box-shadow: 0 0 0 5px rgba(44, 159, 187, .12), 0 0 18px rgba(66, 197, 222, .35);
}

/* Larger original NeoGENI wordmark above this page's footer links. */
.footer.footer-v13 .footer-logo img {
  width: clamp(250px, 24vw, 325px);
  max-width: 100%;
  height: auto;
}

@media (max-width: 960px) {
  .hero.subhero.hero-battery::before {
    background-size: 100% auto !important;
    background-position: center 55% !important;
  }
  .hb20-scene-divider { height: 80px; }
}
@media (max-width: 640px) {
  /* On narrow screens, retain a legible battery on the right of the composition. */
  .hero.subhero.hero-battery::before {
    background-size: auto 65% !important;
    background-position: 95% center !important;
  }
  .hb20-scene-divider { height: 65px; gap: 13px; padding: 0 18px; }
  .hb20-scene-divider .hb20-rule { width: min(110px, 30vw); }
  .footer.footer-v13 .footer-logo img { width: min(310px, 80vw); }
}
