/* The TRIPtrr stage (owner, 12-10-26): one look for the landing page, login / sign-up and the app's Home —
   the flying bird on the left, the content on the right, the traveller with the bird on his shoulder in the
   bottom-right corner. Landing: white. Login and Home: the mountain background.
   Desktop: exactly one screen, no page scrolling. Phones: stacked, the traveller below the content. */
.stage{--tv-h:clamp(150px,26vh,357px);position:relative;overflow:hidden}
.stage-inner{max-width:1100px;margin:0 auto;padding:var(--s-6) var(--s-4) 0;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:var(--s-7);align-items:start}
.stage-bird{width:100%;max-width:440px;justify-self:end;align-self:start;margin-top:clamp(8px,4vh,56px);animation:stage-glide 1.6s var(--ease) both;filter:drop-shadow(0 24px 30px rgba(0,6,171,.14))}
@keyframes stage-glide{0%{opacity:0;transform:translate(-90px,60px) rotate(-10deg) scale(.88)}60%{opacity:1}100%{opacity:1;transform:none}}
.stage-copy{position:relative;z-index:1;min-width:0;align-self:start}
.stage-copy.is-centred{align-self:center}
/* Traveller: whole, exactly in the bottom-right corner; 15% smaller than before (owner, 12-10-26) */
.stage-traveller{position:absolute;right:0;bottom:0;height:var(--tv-h);pointer-events:none;opacity:0;transition:opacity .4s var(--ease);z-index:0}
.stage-traveller.is-placed{opacity:1}
.stage-traveller img{display:block;height:100%;width:auto;max-width:none}
@media (scripting:none){.stage-traveller{opacity:1}}
.stage-bg{background:linear-gradient(180deg,rgba(255,255,255,.35) 0%,rgba(255,255,255,0) 35%,rgba(20,22,74,.12) 100%),url("../brand/bg-mountains.webp") center/cover no-repeat}

/* Desktop and laptop: one screen. The page itself never scrolls; a very tall form scrolls inside the stage. */
@media (min-width:761px) and (min-height:560px){
  body.stage-page{height:100vh;height:100svh;display:flex;flex-direction:column;overflow:hidden}
  body.stage-page > .site-header{flex:none}
  body.stage-page > .stage{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden}
}
@media (min-width:761px) and (max-height:900px){
  .stage-inner{padding-top:var(--s-4);gap:var(--s-5)}
  .stage-bird{max-width:min(380px,52vh)}
}

/* Phones and narrow screens: stacked; the traveller stands under the content, bottom right */
@media (max-width:760px){
  .stage-inner{grid-template-columns:minmax(0,1fr);gap:var(--s-4);padding:var(--s-5) var(--s-4) 0}
  .stage-bird{max-width:340px;justify-self:center;margin-top:0}
  .stage.is-compact .stage-bird{max-width:min(56vw,220px)}
  .stage{padding-bottom:calc(var(--tv-h) + var(--s-3))}
  .stage-traveller{opacity:1}
}

/* No footer where the TRIPtrr man stands (landing, log in, sign up, invites) - owner 17-10-26 */
body.stage-page .site-footer{display:none}
