:root {
  color-scheme: dark;
  --pine: #112e1b;
  --cream: #fff1d4;
  --gutter: clamp(1.25rem, 3.1vw, 5rem);
}

* { box-sizing: border-box; }

html { background: var(--pine); }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--cream);
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.masthead, .signature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-inline: var(--gutter);
}
.masthead {
  flex: none;
  padding-block: clamp(.7rem, 1.15vw, 1.3rem);
  background: var(--pine);
  border-bottom: 1px solid rgb(255 241 212 / 40%);
}
.wordmark {
  font-size: clamp(1.9rem, 3.15vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -.069em;
  line-height: .93;
}
.launch-status {
  display: inline-flex;
  align-items: center;
  gap: .73em;
  font-size: clamp(.75rem, 1.38vw, 1.38rem);
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.launch-status::before {
  content: "";
  inline-size: .82em;
  block-size: .82em;
  background: #ffdc08;
  border-radius: 50%;
}

.hero {
  flex: 1;
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: max(25rem, 46vw);
}
.landscape {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.landscape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 44%;
  display: block;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgb(12 26 12 / 45%), transparent 18%);
}
h1 {
  margin: 0;
  padding-inline: var(--gutter);
  transform: translateY(.28em);
  font-family: "Times New Roman", Times, "Liberation Serif", serif;
  font-size: clamp(4rem, 9.45vw, 16rem);
  font-weight: 400;
  letter-spacing: -.066em;
  line-height: .94;
}
h1 span, h1 em { display: block; }
h1 em { font-weight: inherit; }
.signature {
  position: absolute;
  inset: auto 0 0;
  align-items: flex-end;
  padding-bottom: max(clamp(1.2rem, 2.65vw, 3.5rem), env(safe-area-inset-bottom));
  font-size: clamp(1rem, 1.65vw, 2rem);
  letter-spacing: -.015em;
}
.signature img {
  display: block;
  width: clamp(2.45rem, 3.7vw, 4.8rem);
  height: auto;
  filter: drop-shadow(0 2px 3px rgb(22 13 2 / 30%));
}

/* Keep the doorway in view on tall screens and give the headline its own foreground. */
@media (max-aspect-ratio: 1/1) {
  .hero {
    grid-template-rows: minmax(17rem, 1fr) auto auto;
    align-items: end;
    min-height: auto;
    background: var(--pine);
  }
  .landscape {
    position: relative;
    inset: auto;
    grid-area: 1 / 1;
    align-self: stretch;
  }
  .landscape img {
    position: absolute;
    inset: 0;
    object-position: 68% 44%;
  }
  .hero::before {
    position: relative;
    inset: auto;
    grid-area: 1 / 1;
    align-self: end;
    height: min(7rem, 28%);
    background: linear-gradient(to bottom, transparent, var(--pine));
  }
  h1 {
    grid-row: 2;
    transform: none;
    padding-top: .12em;
    font-size: clamp(2.65rem, 13.4vw, 8.5rem);
    line-height: .96;
  }
  .signature {
    position: static;
    grid-row: 3;
    padding-top: clamp(.95rem, 3vh, 2rem);
  }
  .signature img { width: clamp(2.05rem, 7.9vw, 3.15rem); }
}

@media (max-height: 32rem) and (min-aspect-ratio: 1/1) {
  .hero { min-height: 22rem; }
  h1 { font-size: clamp(3rem, min(8.7vw, 20vh), 6rem); }
}
