@font-face {
  font-family: Geist;
  src: url("fonts/geist-latin-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  background: #fff;
  color: #111;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: Geist, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 5.5rem);
  min-height: 100vh;
  min-height: 100dvh;
  padding: 6vh 7vw;
}

picture {
  flex: 0 1 auto;
  display: block;
  line-height: 0;
}

img {
  display: block;
  width: auto;
  height: min(78vh, 740px);
  max-width: min(48vw, 720px);
  object-fit: contain;
  object-position: center bottom;
}

h1 {
  margin: 0;
  max-width: 6ch;
  color: #111;
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

@media (max-width: 800px) {
  .page {
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    padding: 7vh 1.25rem 6vh;
    text-align: center;
  }

  img {
    height: auto;
    width: min(88vw, 440px);
    max-width: 88vw;
  }

  h1 {
    max-width: none;
  }
}
