.pi-intro.pi-living-intro {
  background: transparent !important;
  pointer-events: none !important;
  touch-action: auto;
  overflow: visible;
}

.pi-living-intro .pi-intro-skip {
  pointer-events: auto;
  top: max(calc(var(--pi-logo-header-bottom, 96px) + 10px), env(safe-area-inset-top)) !important;
}

.pi-logo-backdrop {
  position: absolute;
  inset: var(--pi-logo-header-bottom, 96px) 0 0;
  background: #1c100c url('./assets/intro/velvet-warm.webp') center / cover no-repeat;
  opacity: 0;
}

.pi-living-intro[data-ready] .pi-logo-backdrop { opacity: 1; }
.pi-logo-morph-image { z-index: 1; }

.pi-logo-flight {
  position: fixed;
  z-index: 2;
  pointer-events: none;
  transform-origin: center;
}

.pi-logo-flight > img {
  position: absolute;
  display: block;
  max-width: none;
  max-height: none;
  margin: 0;
  pointer-events: none;
}

.pi-logo-flight-brand {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

footer.pi-intro-replay-row {
  display: flex;
  justify-content: flex-end;
  padding: 8px clamp(16px, 5vw, 80px);
}

footer.pi-intro-replay-row .pi-intro-replay {
  min-height: 44px;
  padding: 0 8px;
  color: #dec096;
  border: 0;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.pi-intro-replay:focus-visible { outline: 2px solid #efcba3; outline-offset: 3px; }

#gr-site-header .gr-brand img[data-pi-logo-transfer] {
  opacity: 0 !important;
  animation: none !important;
  transform: none !important;
}

#gr-site-header .gr-brand > .pi-brand-mark {
  display: block;
  position: relative;
  flex: none;
  overflow: visible;
}

.pi-brand-morph {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
}

.pi-brand-morph-strip {
  display: block;
  width: 3400%;
  height: 100%;
  background: url('./assets/intro/logo-header-morph.webp') left center / 100% 100% no-repeat;
}

