/* The hero uses the same transparent brand asset as the header and footer. */
html.brand-pending .hero-brand-image { visibility: hidden; }
#hero .hero-brand {
  position: absolute;
  top: clamp(150px, 16vw, 190px);
  right: 14vw;
  width: min(34vw, 420px);
  z-index: 5;
  pointer-events: none;
}
#hero .hero-brand.is-in-scene { visibility: hidden; }
#hero .hero-brand-image {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255,255,255,.85)) drop-shadow(0 3px 6px rgba(0,0,0,.75));
  transform-origin: 50% 50%;
  transform: perspective(900px) rotateX(0deg) rotateY(0deg);
  backface-visibility: hidden;
  transition: transform .32s ease-out;
  animation: hero-brand-drift 9s ease-in-out infinite alternate;
}
#hero .hero-brand.is-pointing .hero-brand-image { animation: none; }
@keyframes hero-brand-drift {
  from { transform: perspective(900px) rotateX(-.8deg) rotateY(-1.4deg); }
  to { transform: perspective(900px) rotateX(.8deg) rotateY(1.4deg); }
}
@media (prefers-reduced-motion: reduce) {
  #hero .hero-brand-image { animation: none; transition: none; }
}
#hero .hero-quote { top: clamp(132px, 15vw, 205px); }
@media (max-width: 720px) {
  #hero .hero-brand {
    top: 115px;
    right: 2vw;
    width: min(42vw, 290px);
  }
}
@media (max-width: 480px) {
  #hero .hero-brand { top: 105px; right: 8px; width: 41vw; }
}
