.hero-optics {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: clip;
  pointer-events: none;
  visibility: hidden;
}

.hero-optics, .hero-optics > span { transition-property: none; }

.hero-optics > span {
  position: absolute;
  display: block;
  opacity: 0;
}

.hero-optics__aperture {
  inset: -12%;
  background:
    radial-gradient(ellipse at 50% 47%, transparent 23%, #0b11189c 56%, #0b1118ed 83%),
    linear-gradient(108deg, #14151a55, transparent 42%, #e9a46a36 74%, transparent 89%);
}

.hero-optics__bronze {
  inset: -12% -17% 9% -17%;
  background:
    radial-gradient(ellipse at 75% 35%, #f9b9765e, #ac67372b 23%, transparent 57%),
    linear-gradient(117deg, transparent 57%, #ecab703e 69%, #ffcb8d25 74%, transparent 84%);
  mask-image: linear-gradient(#000b, #000 31%, #000 55%, transparent 94%);
}

.hero-optics__mist {
  inset: 30% -18% 0;
  background:
    radial-gradient(ellipse at 18% 46%, #6aa8b24d, #3c83932c 31%, transparent 54%),
    radial-gradient(ellipse at 86% 62%, #87b5bc4a, transparent 51%);
  mask-image: linear-gradient(transparent 7%, #000 34%, #000a 62%, transparent 92%);
}

.hero-optics__rim {
  inset: auto -22% 8%;
  height: 22%;
  background: radial-gradient(ellipse at 65% 60%, #e2975538, #72513920 35%, transparent 65%);
}

.hero-seal::after,
.hero-title::after {
  content: '';
  position: absolute;
  pointer-events: none;
  opacity: 0;
}

.hero-seal::after {
  inset: 0;
  background: linear-gradient(117deg, transparent 30%, #fff2c7c9 46%, #ffdb8c80 50%, transparent 70%);
  mask: url('images/olympos-crest-128.webp') center / contain no-repeat;
}

.hero-title { position: relative; }

.hero-title::after {
  left: 50%;
  bottom: -.085em;
  width: min(74%, 32rem);
  height: 1px;
  translate: -50% 0;
  background: linear-gradient(90deg, transparent, #f6b67beb 36%, #fff2c7 50%, #f6b67beb 64%, transparent);
}

@media (prefers-reduced-motion: no-preference) {
  :root[data-motion='on'] .hero-optics { visibility: visible; }

  :root[data-motion='on'] .hero-optics__bronze { animation: hero-bronze-drift 13s ease-in-out -3s infinite; }
  :root[data-motion='on'] .hero-optics__mist { animation: hero-mist-drift 17s ease-in-out -4s infinite; }
  :root[data-motion='on'] .hero-optics__rim { animation: hero-rim-drift 19s ease-in-out -11s infinite; }
  :root[data-motion='on'] .hero-stage.is-opening .hero-optics__aperture { animation: hero-aperture-reveal 1.48s cubic-bezier(.22,.64,.25,1) both; }
  :root[data-motion='on'] .hero-stage.is-opening .hero-seal::after { animation: hero-crest-sweep 1.12s .34s ease-out both; }
  :root[data-motion='on'] .hero-stage.is-opening .hero-title::after { animation: hero-title-ray 1.1s .62s cubic-bezier(.19,.71,.24,1) both; }
  :root[data-motion='on'] .hero-scroll span { animation: hero-scroll-beckon 3.8s 2.1s ease-in-out infinite; }

  :root[data-motion='on'] .hero-stage:not([data-hero-motion='active']) :is(.hero-optics > span, .hero-scroll span),
  :root[data-motion='on'] .hero-stage:not([data-hero-motion='active']) :is(.hero-seal, .hero-title)::after {
    animation-play-state: paused;
  }

  :root[data-motion='on'] .hero-watch-icon { transition: translate .24s cubic-bezier(.2,.73,.28,1), color .24s ease; }
  :root[data-motion='on'] .hero-trailer:is(:hover, :focus-visible) .hero-watch-icon { translate: .18rem 0; color: #fff0ba; }
}

@media (max-width: 600px) and (prefers-reduced-motion: no-preference) {
  .hero-optics__bronze { background: radial-gradient(ellipse at 80% 36%, #f6ad6b65, #b87a4d2b 30%, transparent 60%); }
  .hero-optics__mist { inset: 39% -19% -4%; }
  .hero-optics > .hero-optics__rim { display: none; }
}

@supports (animation-timeline: scroll()) {
  @media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
    :root[data-motion='on'] .hero-stage[data-hero-motion='active'] .hero-copy:not(:focus-within) {
      animation: hero-copy-departure linear both;
      animation-timeline: scroll(root block);
      animation-range: 55px 530px;
    }
  }
}

@keyframes hero-aperture-reveal {
  0% { opacity: .94; transform: scale(.86); }
  34% { opacity: .72; }
  100% { opacity: 0; transform: scale(1.23); }
}

@keyframes hero-crest-sweep {
  0% { opacity: 0; clip-path: polygon(0 0, 16% 0, 0 39%, 0 22%); }
  27%, 64% { opacity: .91; }
  100% { opacity: 0; clip-path: polygon(100% 39%, 100% 76%, 91% 100%, 69% 100%); }
}

@keyframes hero-title-ray {
  0% { opacity: 0; transform: scaleX(.08); }
  34% { opacity: .87; }
  100% { opacity: 0; transform: scaleX(1); }
}

@keyframes hero-bronze-drift {
  0%, 100% { opacity: .18; transform: translate(-6%, 2%) rotate(-5deg) scale(1); }
  46% { opacity: .73; transform: translate(3%, -2%) rotate(5deg) scale(1.09); }
  76% { opacity: .38; transform: translate(6%, 1%) rotate(1deg) scale(1.04); }
}

@keyframes hero-mist-drift {
  0%, 100% { opacity: .24; transform: translate(-5%, 0) scale(1); }
  35% { opacity: .58; transform: translate(3%, -3%) scale(1.04); }
  67% { opacity: .40; transform: translate(7%, 2%) scale(1.02); }
}

@keyframes hero-rim-drift {
  0%, 100% { opacity: .19; transform: translateX(7%); }
  42% { opacity: .73; transform: translateX(-7%); }
  80% { opacity: .48; transform: translateX(-1%); }
}

@keyframes hero-scroll-beckon {
  0%, 40%, 100% { transform: translateY(0); }
  17% { transform: translateY(.23rem); }
}

@keyframes hero-copy-departure {
  from { opacity: 1; translate: 0 0; }
  to { opacity: .66; translate: 0 -1.7rem; }
}
