/* Greeting layer (section 5). The host covers the first screen and is a size
   container, so cqw / cqh inside equal vw / vh on the public page. */
.greeting {
  position: absolute;
  inset: 0;
  container-type: size;
  overflow: hidden;
  pointer-events: none;
}
.greeting-pos {
  position: absolute;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  text-align: center;
}
.greeting-text { margin: 0; line-height: 1.1; font-weight: inherit; }
.greeting-text.is-pending { visibility: hidden; } /* JS takes over; noscript.css shows it */
.greeting-word,
.greeting-letter {
  display: inline-block;
  white-space: pre;
  transform-origin: 50% 50%;
  backface-visibility: visible;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* A failed module can prevent the entry point from running at all. Keep its server HTML readable.
   If public/site.js only arrives late, it keeps what this showed (held, no entrance; see fallbackShown). */
:root:not(.site-started) .greeting-text.is-pending {
  animation: greeting-startup-failsafe 0s 8s forwards;
}
@keyframes greeting-startup-failsafe { to { visibility: visible; } }
