/* launch-hero.css owns .system-hero and .system-theater */

.product-journey {
  min-height: auto;
  background: var(--launch-dark);
}

.system-hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: clip;
  color: #f3f6f8;
  background:
    radial-gradient(circle at 72% 46%, rgba(91, 157, 204, .1), transparent 31%),
    var(--launch-dark);
}

.system-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, transparent 49.95%, rgba(255, 255, 255, .035) 50%, transparent 50.05%),
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 100% 100%, 100% 112px;
  opacity: .5;
}

.site-header {
  position: relative;
  z-index: 20;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(227, 236, 242, .12);
}

.site-header a {
  color: inherit;
  text-decoration: none;
}

.site-header .brand {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .21em;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: rgba(232, 239, 244, .7);
  font-size: 13px;
}

.site-header nav a,
[data-product-layer] {
  transition:
    color 180ms var(--launch-ease),
    opacity 180ms var(--launch-ease);
}

.site-header a:focus-visible,
[data-product-layer]:focus-visible {
  outline: 2px solid #86bce1;
  outline-offset: 6px;
}

.system-hero-inner {
  position: relative;
  z-index: 1;
  min-height: calc(100dvh - 68px);
  display: grid;
  grid-template-columns: minmax(360px, .78fr) minmax(620px, 1.42fr);
  align-items: center;
  gap: clamp(32px, 5vw, 90px);
}

.system-hero-copy {
  position: relative;
  z-index: 12;
  padding-bottom: 5vh;
}

.hero-kicker {
  margin: 0 0 22px;
  color: #86bce1;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: .18em;
}

.system-hero h1 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(58px, 5.4vw, 88px);
  font-weight: 590;
  line-height: .99;
  letter-spacing: -.058em;
  text-wrap: balance;
}

.system-hero-copy > p:last-child {
  max-width: 520px;
  margin: 28px 0 0;
  color: rgba(226, 234, 240, .68);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.75;
  letter-spacing: .015em;
}

.system-theater {
  position: relative;
  min-height: min(68vw, 760px);
  isolation: isolate;
}

.system-theater::before {
  position: absolute;
  top: 43%;
  left: 57%;
  z-index: -1;
  width: min(43vw, 500px);
  aspect-ratio: 1;
  border: 1px solid rgba(134, 188, 225, .12);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
  box-shadow:
    inset 0 0 80px rgba(91, 157, 204, .035),
    0 0 90px rgba(91, 157, 204, .035);
}

[data-product-layer] {
  position: absolute;
  display: block;
  color: inherit;
  text-decoration: none;
  transform: translate3d(
    calc(var(--pointer-x, 0) * var(--parallax-x, 0px)),
    calc(var(--pointer-y, 0) * var(--parallax-y, 0px)),
    0
  );
  transition: transform 180ms var(--launch-ease);
}

[data-product-layer] img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, .42));
  transition:
    filter 220ms var(--launch-ease),
    opacity 220ms var(--launch-ease);
}

[data-hardware-image-target="earphone"] {
  top: 8%;
  left: -2%;
  z-index: 5;
  width: 50%;
  --parallax-x: -12px;
  --parallax-y: -8px;
}

[data-hardware-image-target="case"] {
  bottom: 2%;
  left: 29%;
  z-index: 6;
  width: 39%;
  --parallax-x: 9px;
  --parallax-y: 7px;
}

[data-hardware-image-target="watch"] {
  top: 5%;
  right: -1%;
  z-index: 4;
  width: 27%;
  --parallax-x: 7px;
  --parallax-y: -9px;
}

.system-core {
  position: absolute;
  top: 43%;
  left: 57%;
  z-index: 9;
  width: 106px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(165, 207, 234, .5);
  border-radius: 50%;
  color: #f8fbfd;
  background: rgba(10, 20, 29, .92);
  box-shadow:
    0 0 0 11px rgba(91, 157, 204, .055),
    0 20px 54px rgba(0, 0, 0, .38);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.04em;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(12px);
}

.system-core sup {
  margin-left: 2px;
  color: #86bce1;
  font-size: var(--metadata-size);
  letter-spacing: .04em;
  transform: translateY(-5px);
}

.system-role {
  position: absolute;
  z-index: 10;
  margin: 0;
  padding-left: 13px;
  border-left: 1px solid rgba(134, 188, 225, .44);
  pointer-events: none;
}

.system-role strong,
.system-role span {
  display: block;
}

.system-role strong {
  color: rgba(244, 248, 250, .94);
  font-size: 13px;
  font-weight: 560;
  line-height: 1.2;
}

.system-role span {
  margin-top: 5px;
  color: rgba(206, 218, 226, .6);
  font-size: var(--metadata-size);
  line-height: 1.3;
  letter-spacing: .04em;
}

.system-role-perception {
  top: 45%;
  left: 2%;
}

.system-role-connection {
  bottom: 4%;
  left: 3%;
}

.system-role-glance {
  top: 45%;
  right: 0;
}

@media (hover: hover) and (pointer: fine) {
  .site-header nav a:hover {
    color: #f3f6f8;
  }

  [data-product-layer]:hover img {
    filter:
      drop-shadow(0 30px 46px rgba(0, 0, 0, .5))
      drop-shadow(0 0 22px rgba(91, 157, 204, .12));
  }
}

@media (max-width: 1120px) {
  .site-header {
    height: 64px;
  }

  .system-hero-inner {
    min-height: calc(100dvh - 64px);
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(360px, 1fr);
    align-items: stretch;
    gap: 18px;
    padding: 18px 0 24px;
  }

  .system-hero-copy {
    padding-bottom: 0;
  }

  .system-hero h1 {
    max-width: 760px;
  }

  .system-hero-copy > p:last-child {
    max-width: 650px;
    margin-top: 18px;
  }

  .hero-kicker {
    margin-bottom: 14px;
  }

  .system-theater {
    min-height: 0;
    height: 100%;
  }

  .system-theater::before {
    top: 58%;
    left: 70%;
    width: min(52vw, 390px);
  }

  [data-hardware-image-target="earphone"] {
    top: 0;
    left: 0;
    width: 48%;
  }

  [data-hardware-image-target="case"] {
    bottom: 0;
    left: 29%;
    width: 31%;
  }

  [data-hardware-image-target="watch"] {
    top: 4%;
    right: 1%;
    width: 24%;
  }

  .system-core {
    top: 58%;
    left: 70%;
    width: 84px;
    font-size: 21px;
  }

  .system-role-perception {
    top: 48%;
    left: 1%;
  }

  .system-role-connection {
    bottom: 3%;
    left: 3%;
  }

  .system-role-glance {
    top: 51%;
    right: 0;
  }
}

@media (max-width: 900px) {
  .system-hero h1 {
    max-width: 640px;
    font-size: clamp(50px, 7vw, 55px);
  }

  .system-hero-copy > p:last-child {
    line-height: 1.6;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 58px;
  }

  .site-header .brand {
    font-size: 11px;
    letter-spacing: .17em;
  }

  .site-header nav {
    gap: 16px;
    font-size: 12px;
  }

  .system-hero-inner {
    min-height: calc(100dvh - 58px);
    grid-template-rows: auto minmax(390px, 1fr);
    gap: 10px;
    padding: 12px 0 18px;
  }

  .hero-kicker {
    margin-bottom: 12px;
    font-size: 11px;
    letter-spacing: .15em;
  }

  .system-hero h1 {
    font-size: clamp(42px, 12vw, 48px);
    line-height: 1.01;
  }

  .system-hero-copy > p:last-child {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.55;
  }

  .system-theater::before {
    top: 54%;
    left: 55%;
    width: 74vw;
  }

  [data-product-layer] {
    transform: none;
  }

  [data-hardware-image-target="earphone"] {
    top: 0;
    left: -2%;
    width: 62%;
  }

  [data-hardware-image-target="case"] {
    bottom: 1%;
    left: 11%;
    width: 52%;
  }

  [data-hardware-image-target="watch"] {
    top: 31%;
    right: 0;
    width: 35%;
  }

  .system-core {
    top: 54%;
    left: 55%;
    width: 68px;
    font-size: 18px;
  }

  .system-core sup {
    font-size: var(--metadata-size);
  }

  .system-role {
    padding-left: 9px;
  }

  .system-role strong {
    font-size: 12px;
  }

  .system-role-perception {
    top: 31%;
    left: 0;
  }

  .system-role-connection {
    right: 0;
    bottom: 2%;
    left: auto;
  }

  .system-role-glance {
    top: 68%;
    right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-product-layer] {
    transform: none !important;
    transition: none;
  }
}
