/* ALPHASEC homepage: a larger, transparent map in the existing hero scene.
   Only the atlas layer changes. Service slides, copy and interactions stay intact. */
.energy-home.ecosystem-home .as-carousel .atlas-surface {
  background: radial-gradient(ellipse at 66% 45%, rgba(36, 127, 205, .16) 0%, rgba(23, 89, 157, .06) 42%, transparent 73%);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.24) 10%, rgba(0,0,0,.72) 23%, #000 36%, #000 88%, rgba(0,0,0,.6) 95%, transparent 100%), linear-gradient(180deg, transparent 0%, rgba(0,0,0,.7) 5%, #000 13%, #000 72%, rgba(0,0,0,.65) 84%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.24) 10%, rgba(0,0,0,.72) 23%, #000 36%, #000 88%, rgba(0,0,0,.6) 95%, transparent 100%), linear-gradient(180deg, transparent 0%, rgba(0,0,0,.7) 5%, #000 13%, #000 72%, rgba(0,0,0,.65) 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.energy-home.ecosystem-home .as-carousel .atlas-surface canvas {
  background: transparent;
}
@media (min-width: 901px) {
  .energy-home.ecosystem-home .as-carousel .atlas-surface {
    left: calc(var(--as-overlap) * .12);
    right: -2%;
    top: -1%;
    bottom: 7%;
    /* Leave breathing room above the map; keep its scale and soft edges. */
    transform: translate(clamp(28px, 3vw, 56px), clamp(24px, 2.4vw, 40px));
  }
}
@media (min-width: 761px) and (max-width: 900px) {
  .energy-home.ecosystem-home .as-carousel .atlas-surface {
    left: -3%;
    right: -3%;
    top: 0;
    bottom: 12%;
    transform: translate(12px, 20px);
  }
}
@media (max-width: 760px) {
  .energy-home.ecosystem-home .as-carousel[data-as-index="0"] .atlas-surface {
    position: relative;
    inset: auto;
    width: 108%;
    aspect-ratio: 1000 / 440;
    margin: -2% -4% -2%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 7%, #000 17%, #000 84%, rgba(0,0,0,.6) 94%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 12%, #000 75%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 7%, #000 17%, #000 84%, rgba(0,0,0,.6) 94%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 12%, #000 75%, transparent 100%);
  }
}
