/* Landscape screens: full-bleed wide artwork. Loaded after theme.css so it has the last word. */
@media (min-width:640px) and (orientation:landscape){
  body.locked::before{display:none}
  .cover{width:100%;max-width:none;box-shadow:none}
  .cover-card,.cover.open .cover-card{left:50%;right:auto;width:min(440px,70%);transform:translateX(-50%)}

  .hero{background:var(--paper)}
  .hero-art{left:0;right:auto;width:100%;object-position:center}
  body.opened .hero-art{animation:settleWide 2.8s cubic-bezier(.16,.8,.24,1) both}
  .hero-copy{width:48%;text-shadow:0 0 18px rgba(255,248,232,.95),0 0 6px rgba(255,248,232,.9)}
  .cue{left:0;width:100%}

  .painted{background-image:var(--bg-wide)}
  .families,.count{background-size:cover;background-position:left center;padding-left:calc(48% + 1rem)}
}
@media (min-width:640px) and (max-width:899px) and (orientation:landscape){
  .families,.count{padding-left:calc(46% + 1.2rem)}
}
@keyframes settleWide{from{transform:scale(1.35)}to{transform:scale(1)}}

/* the two drawn doors share one landscape painting (used when the film cannot play) */
@media (min-width:640px) and (orientation:landscape){
  .door{--art:max(100vw,177.78vh);background-image:url(../media/gate-wide.webp);background-size:var(--art) 100%}
  .door.l{background-position:calc(50vw - var(--art) / 2) center}
  .door.r{background-position:calc(0px - var(--art) / 2) center}
}
