/* Minimal presentation layer. Core content remains usable without it. */

body.has-immersive-hero {
  background: #080808;
}

.immersive-stage {
  position: relative;
  isolation: isolate;
  overflow: clip;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: #080808;
}

.immersive-stage::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 94%);
  content: "";
}

.immersive-stage::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      circle at 82% 18%,
      rgba(255, 255, 255, 0.05),
      transparent 30%
    ),
    linear-gradient(180deg, rgba(8, 8, 8, 0.18), #080808 100%);
  pointer-events: none;
  content: "";
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 64px;
  align-items: center;
}

.hero.hero-immersive {
  min-height: 680px;
  padding-top: 82px;
  padding-bottom: 82px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  text-wrap: balance;
}

.interactive-card {
  transition:
    border-color 170ms ease,
    transform 170ms ease;
}

.interactive-card:hover {
  border-color: rgba(255, 255, 255, 0.42);
  transform: translateY(-2px);
}

.product-stage {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: 470px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: #080808;
}

.product-stage::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 92%);
  content: "";
}

.product-stage::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(8, 8, 8, 0.98) 4%,
    rgba(8, 8, 8, 0.8) 48%,
    rgba(8, 8, 8, 0.38) 78%,
    #080808 100%
  );
  pointer-events: none;
  content: "";
}

.product-stage .product-hero {
  position: relative;
  z-index: 2;
  min-height: 470px;
  align-content: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.product-stage .product-hero > img {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 24px 70px rgba(0, 0, 0, 0.52);
}

.product-stage .lede {
  max-width: 620px;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero.hero-immersive {
    min-height: auto;
    padding-top: 70px;
    padding-bottom: 82px;
  }
  .immersive-stage::after,
  .product-stage::after {
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.68), #080808 92%);
  }
}

@media (max-width: 720px) {
  .immersive-stage::before,
  .product-stage::before {
    background-size: 48px 48px;
  }
  .hero.hero-immersive {
    padding-top: 54px;
    padding-bottom: 66px;
  }
  .product-stage,
  .product-stage .product-hero {
    min-height: auto;
  }
  .product-stage .product-hero {
    padding-top: 54px;
    padding-bottom: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .interactive-card {
    transition: none;
  }
  .interactive-card:hover {
    transform: none;
  }
}
