* { box-sizing: border-box; }
body { margin: 0; background: #101216; color: #fff; font: 1rem/1.5 system-ui, sans-serif; }
main { max-width: 100rem; margin: auto; }
.hero { position: relative; isolation: isolate; }
.photo, .photo img { display: block; width: 100%; }
.photo img { height: auto; }
.copy { position: absolute; bottom: 0; width: 100%; padding: 4% 6%; background: linear-gradient(transparent, #08090aee); pointer-events: none; }
.copy h1 { font-size: clamp(1.8rem, 3.6vw, 3.6rem); max-width: 22ch; line-height: 1.08; margin: 0; }
.copy p { margin: .65rem 0 1rem; }
.reserve { display: inline-block; padding: .72rem 1.2rem; border-radius: .4rem; background: #c9000b; color: #fff; font-weight: 700; text-decoration: none; pointer-events: auto; }
.apps { text-align: center; padding: 2.5rem 1rem 3rem; }
.apps h2, .apps p { margin: 0 0 .5rem; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; margin-top: 1.25rem; }
.stores > div { display: grid; justify-items: center; gap: .6rem; }
.badge { display: grid; justify-items: center; align-content: center; color: #fff; min-height: 5.25rem; }
.badge img { object-fit: contain; }
.qr { background: white; border-radius: .25rem; image-rendering: pixelated; }
a:focus-visible { outline: 3px solid #ffbf47; outline-offset: 3px; }
@media (max-width: 44rem) {
  .copy { position: static; background: none; padding: 1.5rem 6%; }
}

/* The light positions are relative to the full, uncropped hero photograph. */
.photo { position: relative; }

@media (prefers-reduced-motion: no-preference) {
  .photo::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background:
      radial-gradient(ellipse 2.8% 4.2% at 67.8% 52.3%, #fff 0%, #f4faff 24%, #c2ddff78 49%, transparent 100%),
      radial-gradient(ellipse 1.6% 3.2% at 91.4% 53.5%, #fff 0%, #f4faff 24%, #c2ddff78 49%, transparent 100%);
    animation: headlight-pulses 1.4s ease-in-out 1.35s 1;
  }
}

@keyframes headlight-pulses {
  0%, 28%, 55%, 88%, 100% { opacity: 0; }
  12%, 17%, 67%, 72% { opacity: 1; }
}
