/* The frame gives the canvas scenes a stable centre throughout the FF entrance. */
#hero {
  display: grid;
  place-items: center;
  position: relative;
  min-height: 25rem;
  height: 79vh;
  height: 79svh;
  padding: 44px 14px 0;
  text-align: center;
}
.hero-lockup {
  position: relative;
  display: grid;
  justify-items: center;
  width: 100%;
  max-width: 70rem;
  isolation: isolate;
}
.hero-lockup::before {
  content: "";
  position: absolute;
  inset: -18% 0 -17%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 42% 19% at 50% 73%, var(--splash-halo), transparent 100%);
}
.hero-emblem {
  position: relative;
  width: clamp(144px, min(72vw, 51svh), 500px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
#hero-mark-frame {
  width: 69%;
  aspect-ratio: 839 / 589;
}
#hero-mark {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: 50% 50%;
}
.hero-wordmark {
  margin: clamp(12px, 2.3svh, 26px) 0 0;
  color: var(--splash-ink);
  font: 700 clamp(2.15rem, min(9.6vw, 9.4svh), 5.1rem)/1.06 'Roboto', system-ui, sans-serif;
  letter-spacing: -.025em;
  white-space: nowrap;
}
.hero-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: clamp(10px, 1.6svh, 18px) 0 0;
  color: var(--splash-secondary);
  font: 700 clamp(1.05rem, min(3.7vw, 3svh), 1.4rem)/1.35 'Roboto', system-ui, sans-serif;
  letter-spacing: .018em;
}
@media (prefers-reduced-motion: no-preference) {
  html:not(.hero-ready) #hero-mark {
    transform: scale(.86);
    opacity: .72;
  }
  html.hero-ready #hero-mark {
    animation: emblem-arrive 860ms cubic-bezier(.18,.66,.3,1) backwards;
  }
  @keyframes emblem-arrive {
    from { transform: translateZ(0) scale(.86); opacity: .72; }
    to { transform: translateZ(0) scale(1); opacity: 1; }
  }
}
@media (max-height: 520px) and (orientation: landscape) {
  #hero { min-height: 238px; padding-top: 42px; }
  .hero-emblem { width: clamp(116px, 49svh, 240px); }
  .hero-wordmark { margin-top: .5rem; font-size: clamp(1.8rem, 7.5svh, 2.4rem); }
  .hero-tagline { margin-top: .35rem; font-size: .94rem; }
}
