html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  background: #000;
}

body {
  min-height: 100vh;
  overflow: hidden;
}

.landing {
  position: relative;
  width: 100%;
  height: 100vh;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: 3vh 4vw;
}

.crest {
  display: block;
  width: min(82vw, 760px);
  height: auto;
  max-height: calc(94vh - 70px);
  object-fit: contain;
}

.footer {
  position: fixed;
  left: 0;
  bottom: 18px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 8px;
  text-align: center;
  color: #555;
  font-size: 10pt;
  line-height: 1.3;
  pointer-events: none;
}

@media (max-width: 600px) {
  .landing {
    padding: 2vh 3vw;
  }

  .crest {
    width: min(94vw, 760px);
    max-height: calc(92vh - 70px);
  }
}

/* Mobile viewport hardening: keep the landing page vertically centered
   on real phones with dynamic browser chrome, without changing the design. */
html, body {
  min-height: 100vh;
  min-height: 100dvh;
}

@supports (height: 100dvh) {
  body {
    min-height: 100dvh;
  }
}

/* Prefer the dynamic viewport on supported mobile browsers. */
@supports (height: 100dvh) {
  .landing { height: 100dvh; }
  width: min(94vw, 760px);
    max-height: calc(92vh - 70px);
  }
}

/* Mobile viewport hardening: keep the landing page vertically centered
   on real phones with dynamic browser chrome, without changing the design. */
html, body { height: 100dvh; }
}
