.poster {
  --ink: #22261f;
  --button-ink: var(--mustard);
}

.poster .hero-wordmark {
  --icon-width: min(1.5em, 42svh);
  --icon-height: calc(var(--icon-width) * 1.05801105);
  --icon-top: calc(var(--icon-height) * -0.664 - 0.04em);
  --icon-right: calc(100% - 4.2em);
  --icon-color: currentColor;
  --icon-clearance: clamp(1.25px, 0.014em, 4px);
  --intersection-color: var(--mustard);
  position: relative;
  isolation: isolate;
  font-size: 19.2vw;
  font-weight: 850;
  letter-spacing: -0.086em;
  line-height: 1.1;
  white-space: nowrap;
  margin: 50px 0 50px -0.012em;
}

.hero-wordmark::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: var(--icon-right);
  top: var(--icon-top);
  width: var(--icon-width);
  height: var(--icon-height);
  background: var(--icon-color);
  -webkit-mask: url("./icon/koenigicon.svg") center / 100% 100% no-repeat;
  mask: url("./icon/koenigicon.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}

.poster .hero-wordmark h1,
.hero-wordmark__intersection {
  font: inherit;
  letter-spacing: inherit;
  white-space: inherit;
  margin: 0;
}

.poster .hero-wordmark h1 {
  position: relative;
  z-index: 1;
}

/* Erase only the logo behind the letters, including a narrow clear margin. */
.hero-wordmark__intersection {
  position: absolute;
  z-index: 0;
  inset: 0;
  color: var(--intersection-color);
  text-shadow:
    var(--icon-clearance) 0 var(--intersection-color),
    calc(-1 * var(--icon-clearance)) 0 var(--intersection-color),
    0 var(--icon-clearance) var(--intersection-color),
    0 calc(-1 * var(--icon-clearance)) var(--intersection-color),
    var(--icon-clearance) var(--icon-clearance) var(--intersection-color),
    var(--icon-clearance) calc(-1 * var(--icon-clearance))
      var(--intersection-color),
    calc(-1 * var(--icon-clearance)) var(--icon-clearance)
      var(--intersection-color),
    calc(-1 * var(--icon-clearance)) calc(-1 * var(--icon-clearance))
      var(--intersection-color);
  pointer-events: none;
  user-select: none;
}

@media (max-width: 600px) {
  .poster .hero-wordmark {
    font-size: 19.7vw;
    letter-spacing: -0.09em;
    margin-block: 60px;
  }
}
