/* S3 Coming Soon - production responsive splash page */
:root {
  --page-bg: #cbbba7;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--page-bg);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
}

.splash {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  padding: env(safe-area-inset-top) env(safe-area-inset-right)
           env(safe-area-inset-bottom) env(safe-area-inset-left);
  background: var(--page-bg);
  isolation: isolate;
}

.artwork,
.artwork img {
  display: block;
  width: 100%;
  height: 100%;
}

.artwork {
  position: absolute;
  inset: 0;
}

.artwork img {
  object-fit: cover;
  object-position: 50% 50%;
  user-select: none;
  -webkit-user-drag: none;
}

/* Preserve the complete supplied composition on portrait and narrow screens.
   This avoids cropping the logo, title, or lower-line artwork. */
@media (max-aspect-ratio: 4 / 3) {
  .artwork img {
    object-fit: contain;
    object-position: center;
  }
}

/* Very wide displays stay edge-to-edge while keeping the visual center. */
@media (min-aspect-ratio: 21 / 9) {
  .artwork img { object-position: 50% 48%; }
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  body { overflow: visible; }
  .splash { position: relative; min-height: auto; aspect-ratio: 16 / 9; }
}
