/* Independent entrance, pointer and idle layers for the engineering artwork. */
/* Blend the artwork into the technical grid without recoloring copy/CTAs. */
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(10,37,89,.095) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,37,89,.095) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center center;
  /* Keep lines outside the artwork: multiply blending must not expose them on its surfaces. */
  mask-image: radial-gradient(ellipse at 24% 48%, #000 8%, rgba(0,0,0,.4) 48%, transparent 78%),
    radial-gradient(ellipse 350px 270px at calc(50% - min(27vw, 332px)) 50%, transparent 68%, #000 100%);
  mask-composite: intersect;
}
@media (max-width: 860px) {
  .hero-grid {
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse at 50% 82%, rgba(0,0,0,.7), transparent 65%),
      radial-gradient(ellipse 340px 250px at 50% 82%, transparent 65%, #000 100%);
    mask-composite: intersect;
  }
}
.hero .hero-layout { z-index: auto; }
.hero .hero-copy { position: relative; z-index: 1; }
.hero-visual.engineering-hero { transform: none !important; mix-blend-mode: multiply; }
.engineering-hero__stage { min-width: 0; perspective: 1200px; touch-action: pan-y; }
@media (min-width: 1024px) {
  .engineering-hero__stage { transform: scale(1.12); transform-origin: center; }
}
.engineering-hero__tilt { transform: rotateX(var(--engineering-rx,0deg)) rotateY(var(--engineering-ry,0deg)); transform-origin: 50% 65%; transition: transform .85s cubic-bezier(.2,.7,.3,1); }
.engineering-hero__scene { position: relative; transform-origin: 50% 70%; animation: engineering-depth 8s cubic-bezier(.45,0,.55,1) infinite; }
.hero-visual.engineering-hero img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; background: transparent; border-radius: 0; animation: none !important; transform: none !important; }
.engineering-hero__routes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.engineering-hero__signal { fill: none; stroke: #F5620E; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 12 88; animation: engineering-flow 4s linear infinite; }
.engineering-hero__signal:nth-child(2) { animation-delay: -1.8s; }
.engineering-hero__signal:nth-child(3) { animation-delay: -3.5s; }
.engineering-hero[data-paused="true"] :is(.engineering-hero__scene,.engineering-hero__signal) { animation-play-state: paused; }
.engineering-hero[data-paused="true"] .engineering-hero__tilt { transform: none; }
@keyframes engineering-depth { 0%,100% { transform: translate3d(0,6px,0) rotate(-.45deg) scale(.995); } 50% { transform: translate3d(0,-10px,0) rotate(.45deg) scale(1.008); } }
@keyframes engineering-flow { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@media(max-width:600px) {
  .engineering-hero__scene { animation-name: engineering-depth-mobile; }
  .engineering-hero__signal { stroke-width: 8; }
  @keyframes engineering-depth-mobile { 0%,100% { transform: translateY(3px); } 50% { transform: translateY(-5px); } }
}
@media(prefers-reduced-motion:reduce) {
  .engineering-hero__scene { animation: none !important; transform: none !important; }
  .engineering-hero__signal { animation: none; opacity: 0; }
  .engineering-hero__tilt { transform: none !important; transition: none; }
}
