@font-face {
  font-family: "Esher Display";
  src: url("/deck-assets/font-9.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Esher Text";
  src: url("/deck-assets/font-12.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: light;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  background: #05d696;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  background-image: url("/deck-assets/page1-background.jpg");
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.identity {
  display: grid;
  grid-template-columns: clamp(112px, 13.7vw, 197px) 1fr;
  align-items: center;
  align-self: flex-end;
  gap: clamp(10px, 1.1vw, 16px);
  width: min(68vw, 980px);
  margin: 0 0 clamp(64px, 10vh, 96px) clamp(16px, 2.1vw, 30px);
  color: #1c1c1c;
}

.mark {
  display: block;
  width: 100%;
  height: auto;
}

.wordmark {
  min-width: 0;
}

h1 {
  margin: 0;
  font-family: "Esher Display", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(3rem, 5.55vw, 5rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 span {
  display: block;
  white-space: nowrap;
}

p {
  margin: clamp(20px, 2.35vw, 34px) 0 0;
  font-family: "Esher Text", Arial, sans-serif;
  font-size: clamp(1.45rem, 2.78vw, 2.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
  white-space: nowrap;
}

@media (max-aspect-ratio: 4 / 5) {
  .hero {
    background-position: 49% center;
  }

  .hero::after {
    position: absolute;
    inset: 30% 0 0;
    z-index: -1;
    content: "";
    background: linear-gradient(to bottom, transparent, rgb(4 212 149 / 24%));
  }

  .identity {
    grid-template-columns: clamp(78px, 23vw, 124px) 1fr;
    gap: 6px;
    width: calc(100% - 32px);
    margin: 0 16px max(8svh, 42px);
  }

  h1 {
    font-size: clamp(1.3rem, 6vw, 3rem);
    line-height: 1;
  }

  p {
    margin-top: 18px;
    font-size: clamp(0.85rem, 4.2vw, 1.7rem);
  }
}

@media (max-width: 360px) {
  .identity {
    grid-template-columns: 76px 1fr;
  }

  p {
    font-size: 0.85rem;
  }
}
