html,
body {
  height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background: black;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* FULL SCREEN IMAGE */
.bg-image {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  object-fit: contain;   /* critical */
  object-position: center;
  background: black;
  z-index: -2;
}

/* dark scrim for readability */
.bg-image::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* OVERLAY LAYER */
.overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 6vw;
  z-index: 1;
}

#quote.text {
  max-width: min(900px, 92vw);
  color: white;
  text-align: center;
  line-height: 1.1;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  font-size: clamp(2.5rem, 6vw, 5rem);

  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%   { transform: scale(0.92); opacity: 0.9; }
  50%  { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(0.92); opacity: 0.9; }
}
