/* Products hero using the approved sky-and-monitor composition. */
html.hero-loading .product-hero-sky { visibility: hidden; opacity: 0; }
.products-page .product-hero-sky {
  background: linear-gradient(90deg, rgb(3 18 27 / 52%), rgb(3 18 27 / 22%) 36%, transparent 58%),
    url('assets/products-horizon-preview.png') calc(50% - 88px) calc(50% + 24px) /
      max(calc(100% + 280px), calc((100svh - var(--nav-h)) * 2.3300970874)) auto no-repeat,
    url('assets/products-horizon-preview.png') calc(50% - 88px) center /
      max(calc(100% + 280px), calc((100svh - var(--nav-h)) * 2.3300970874)) auto no-repeat;
}
.product-hero-sky .product-hero-stage,
.product-hero-sky .product-home-backdrop,
.product-hero-sky .terminal-monitor { display: none; }
.product-hero-sky .product-copy { text-shadow: 0 2px 12px rgb(2 15 24 / 28%); }
.product-hero-sky .product-composition {
  height: auto;
  min-height: calc(100svh - var(--nav-h) - 1px);
}
.product-hero-sky .product-lede,
.product-hero-sky .product-explore { color: #e0edf2; }
@media (max-width: 1050px) {
  .products-page .product-hero-sky {
    --sky-photo-height: clamp(270px, 52vw, 500px);
    background: #244a59;
  }
  .product-hero-sky::before {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: var(--sky-photo-height);
    background: linear-gradient(180deg, #244a59, transparent 24%),
      url('assets/products-horizon-preview.png') right center / cover no-repeat;
    pointer-events: none;
  }
  .product-hero-sky .product-composition { height: auto; padding-bottom: calc(var(--sky-photo-height) + 24px); }
}
@media (max-width: 600px) {
  .products-page .product-hero-sky { --sky-photo-height: clamp(256px, 80vw, 480px); }
  .product-hero-sky::before { background-position: center, 89% center; }
}
