@font-face {
  font-family: Courgette;
  src: url("assets/courgette-regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --forest: #064425;
  --gold: #ffcf27;
  --cream: #fff8df;
  background: var(--forest);
  color: var(--cream);
  font-family: system-ui, sans-serif;
}

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

body, h1, p {
  margin: 0;
}

.landing {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(3.5rem, 10vh, 8rem) 1.25rem 14rem;
  text-align: center;
}

.scene,
.landing::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.scene {
  z-index: -2;
  object-fit: cover;
  object-position: center 66%;
}

.landing::before {
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgb(2 38 19 / 83%) 0%,
    rgb(2 38 19 / 78%) 29%,
    rgb(2 38 19 / 70%) 45%,
    rgb(2 38 19 / 14%) 70%,
    rgb(2 38 19 / 4%) 83%,
    rgb(2 38 19 / 56%) 100%
  );
  content: "";
}

.landing::after {
  position: absolute;
  inset: auto 0 0;
  height: 0.875rem;
  border-block: 2px solid var(--gold);
  background:
    linear-gradient(135deg, var(--gold) 25%, transparent 25%) 0 0 / 1.25rem 100%,
    linear-gradient(225deg, var(--gold) 25%, transparent 25%) 0 0 / 1.25rem 100%,
    linear-gradient(315deg, var(--gold) 25%, transparent 25%) 0 0 / 1.25rem 100%,
    linear-gradient(45deg, var(--gold) 25%, transparent 25%) 0 0 / 1.25rem 100%,
    var(--forest);
  content: "";
}

.intro {
  align-self: start;
  width: min(100%, 48rem);
}

.wordmark {
  font-family: Courgette, "Segoe Print", cursive;
  font-size: clamp(3.65rem, 10vw, 9rem);
  letter-spacing: -0.055em;
  line-height: 1.1;
  text-shadow: 0 4px 24px rgb(0 30 16 / 55%);
}

h1 {
  position: relative;
  isolation: isolate;
  display: table;
  margin: clamp(0.5rem, 1.2vw, 1rem) auto 0;
  padding: 0.48em 1.15em 0.45em;
  color: var(--forest);
  font-size: clamp(1.1rem, 2.4vw, 1.85rem);
  font-weight: 850;
  letter-spacing: 0.075em;
  line-height: 1.15;
  text-transform: uppercase;
}

h1::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--gold);
  clip-path: polygon(3% 11%, 25% 6%, 69% 2%, 98% 0, 95% 13%, 100% 20%, 96% 34%, 100% 43%, 97% 57%, 100% 70%, 96% 78%, 98% 92%, 68% 94%, 26% 100%, 2% 96%, 4% 83%, 0 75%, 3% 60%, 0 48%, 3% 33%, 0 23%);
  transform: rotate(-2.5deg);
  content: "";
}

.summary {
  max-width: 32ch;
  margin: clamp(1.2rem, 2.8vw, 2rem) auto 0;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.55;
  text-shadow: 0 2px 12px rgb(0 30 16 / 80%);
}

@media (max-width: 36rem) {
  .landing {
    padding-top: clamp(3.5rem, 12vh, 6rem);
  }

  .scene {
    object-position: 48% 50%;
  }
}
