@font-face {
  font-family: "Muck House";
  src: url("./MuckHouse-Black.woff2?v=1.005") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

body:has(#gto-head) :is(h1, h2, h3, h4),
#s2-panel #s2-panel-body :is(h1, h2, h3, h4),
#missions-body .iu-v2-head h3,
#missions-body :is(h1, h2, h3),
#missions-body #iu-title,
#lobby #gs-heading,
#lobby #gs-heading em,
.lby-display-title,
#lobby :is(h2, h3, h4),
#lobby .ls-hero-text .ls-hero-headline,
#lobby .ls-hero-text .ls-hero-headline > *,
#lobby #explore-muck .hp-features .hp-copy h2 {
  font-family: "Muck House", "Inter", system-ui, sans-serif;
  font-weight: 900;
  font-style: normal;
  font-kerning: normal;
  letter-spacing: 0;
}

#lobby .ls-hero-text .ls-hero-headline {
  scale: 1.09;
  transform-origin: left center;
}

@media (max-width: 700px) {
  #lobby .ls-hero-text .ls-hero-headline {
    scale: 1.045;
    transform-origin: center;
  }
}

@media (max-width: 600px) {
  #lobby .ls-hero-text .ls-hero-headline {
    font-size: clamp(27px, 8.4vw, 44px);
  }
}

#lobby #explore-muck .hp-features .hp-copy h2 {
  white-space: normal;
  text-wrap: balance;
}

/* Both headline lines use the spacing built into the display face. */
#lobby .ls-hero-headline .hc-payoff {
  letter-spacing: normal;
}

@media (max-width: 719px) {
  #lobby .ls-hero-headline .hc-payoff {
    font-size: .89em;
  }
}

/* Fit both promo lines to the copy column as the artwork changes width. */
.pmx-page .invitation-copy {
  container-type: inline-size;
}

.pmx-page .invitation-copy #hero-title {
  font-size: min(8.4cqi, 70px);
  line-height: 1.13;
}

/* The g in “glory” needs clearance above the f in “of”. */
#lobby #gs-heading em {
  display: inline-block;
  padding-block-start: .16em;
}

/* Panel heroes use the same font token in their responsive type shorthands. */
#s2-panel #s2-panel-body :is(h1, h2, h3, h4) {
  --muck-font: "Muck House", "Inter", system-ui, sans-serif;
}
