.rabbit-guide .hero-photo { position: relative; }
.rabbit-art { position: absolute; inset: 0; transform-origin: 52% 72%; }
.rabbit-art img, .rabbit-art canvas {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 24%; pointer-events: none;
}
.rabbit-art canvas { z-index: 1; }
.rabbit-motion-toggle {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%;
  padding: 0; border: 0; border-radius: inherit; background: transparent; cursor: pointer;
}
.rabbit-motion-toggle[hidden] { display: none; }
.rabbit-motion-toggle:focus-visible { outline: 4px solid #245e53; outline-offset: -6px; }
.rabbit-art.is-animated { animation: rabbit-breathe 5.6s ease-in-out infinite; }
@keyframes rabbit-breathe {
  0%, 50%, 100% { transform: scale(1); }
  68% { transform: scale(1.024) rotate(-.8deg); }
  82% { transform: scale(1.014) rotate(.35deg); }
}

#rabbit-welcome:not([open]) { display: none; }
#rabbit-welcome[open] {
  position: fixed; inset: 0; isolation: isolate; display: flex;
  flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(.65rem, 2.3vh, 1.4rem);
  width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none;
  box-sizing: border-box; margin: 0; padding: max(3.75rem, env(safe-area-inset-top)) 1rem max(1.2rem, env(safe-area-inset-bottom));
  border: 0; border-radius: 0; background: transparent;
  color: #442d21; box-shadow: none; overflow: hidden; overscroll-behavior: contain;
}
#rabbit-welcome::backdrop { background: transparent; }
.welcome-wash { position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 75% 23%, #f9d494 0%, transparent 48%),
    radial-gradient(ellipse at 12% 78%, #eed8c8 0%, transparent 43%), #fff8e8;
}
.welcome-scene { position: relative; z-index: 1; flex: 0 1 auto; min-height: 0; }
.welcome-frame {
  position: relative; width: min(73vw, 42vh, 24rem); width: min(73vw, 42dvh, 24rem);
  aspect-ratio: 1.25; overflow: hidden; box-sizing: border-box;
  background: #f6e8cf; border: 4px solid #fff9e9; outline: 1px solid #b99762;
  border-radius: 47% 47% 1.75rem 1.75rem / 25% 25% 1.75rem 1.75rem;
  box-shadow: .28rem .43rem 0 #d5b784, 0 .9rem 2rem #84502d24;
  transform-origin: 0 0;
}
.welcome-words { text-align: center; position: relative; }
#rabbit-welcome .welcome-words h2 {
  margin: 0; font-family: Georgia, serif; font-size: clamp(2.6rem, 7.5vh, 4.5rem);
  font-weight: 700; line-height: 1; letter-spacing: -.04em; color: #583224;
}
#rabbit-welcome .welcome-words p { margin: .4rem 0 0; font-size: clamp(1rem, 2.8vh, 1.4rem); color: #40594d; }
#rabbit-welcome.is-docking :is(.welcome-wash,.welcome-words) { opacity: 0; transition: opacity 420ms ease-in; }
@media (max-height: 440px) and (min-aspect-ratio: 1/1) {
  #rabbit-welcome[open] { flex-direction: row; gap: 2rem; padding-block: .8rem; }
  .welcome-frame { width: min(28vw, 52vh); }
}
@media (prefers-reduced-motion: reduce) {
  .rabbit-art.is-animated { animation: none; }
}

.rabbit-guide .hero-photo { aspect-ratio: 1.25; height: auto; }
