@font-face {
  font-family: Sacramento;
  src: url("vendor/Sacramento-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Marcellus;
  src: url("vendor/Marcellus-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Hero Script Fallback";
  src: local("Liberation Serif Italic"), local("Times New Roman Italic");
  size-adjust: 78%;
}

.hero .typography-b2-hero {
  container-type: inline-size;
  font: 400 1rem/1 Sacramento, "Hero Script Fallback", serif;
  letter-spacing: normal;
}

.hero-lettering {
  display: grid;
  align-content: center;
  aspect-ratio: 965 / 515;
  font-size: 19cqw;
  line-height: .81;
}

.hero-lettering > span {
  display: block;
  white-space: nowrap;
}

.hero-lettering > span:nth-child(2) {
  padding-inline-start: .58em;
}

/* Carry the artwork's original landscape offset onto the live lettering. */
@media (min-width: 761px) and (orientation: landscape) {
  .hero-lettering {
    translate: clamp(-36px, (850px - 100vw) * .084, 0px) 0;
  }
}

@media (min-width: 761px) and (orientation: portrait) {
  .hero-lettering > span:nth-child(2) {
    padding-inline-start: 0;
  }
}

.philosophy h2 {
  font-family: Marcellus, Georgia, serif;
  font-weight: 400;
  letter-spacing: -.02em;
}

@media (max-width: 379px) {
  .philosophy h2 {
    font-size: clamp(26px, 8.1vw, 30px);
  }
}

@media (720px <= width < 750px) {
  .philosophy h2 {
    font-size: clamp(29px, calc(29px + (100vw - 720px) / 30), 30px);
  }
}
