/* The lacquer field gives way to the two galleries while the original seal
   travels to its place in the masthead. Only first-time homepage visits opt in. */
html[data-brand-entry]::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 110;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 49% 58%, #4b302522, transparent 58%),
    radial-gradient(ellipse at 2% 89%, #4c1b1838, transparent 59%),
    #181815;
}

html[data-brand-entry="playing"]::before {
  animation: open-kiln-field var(--brand-entry-duration) ease-in-out both;
}

@keyframes open-kiln-field {
  0%, 35% { opacity: 1; }
  82%, 100% { opacity: 0; }
}

.brand-entry-flight {
  position: fixed;
  z-index: 111;
  transform-origin: center;
  pointer-events: none;
  will-change: transform, opacity;
}

.brand-entry-flight img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-entry-skip {
  position: fixed;
  z-index: 112;
  bottom: max(env(safe-area-inset-bottom), 2.2vh);
  right: max(env(safe-area-inset-right), 3vw);
  min-width: 44px;
  min-height: 44px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .12em;
  color: #e9dcc5;
  text-shadow: 0 1px 3px #211a14;
}

@media (prefers-reduced-motion: reduce) {
  html[data-brand-entry]::before, .brand-entry-flight, .brand-entry-skip {
    display: none;
  }
}
