@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root[lang="en"] {
  --english-sans: "DM Sans", "Geist", "Segoe UI", Arial, sans-serif;
  --english-display: "Instrument Serif", Georgia, serif;
}

:root[lang="en"] #main :is(h1, h2) {
  font-family: var(--english-display);
  font-weight: 400;
  letter-spacing: -.018em;
}

:root[lang="en"] .hero h1 { font-size: clamp(3.05rem, 7vw, 6rem); }
.hero-emphasis { font-style: italic; }

:root[lang="en"] #vehicles-title {
  font-size: clamp(2.25rem, 4.35vw, 3.9rem);
  text-wrap: balance;
}

@media (max-width: 700px) {
  :root[lang="en"] .hero h1 { font-size: clamp(2.9rem, 11.5vw, 4.8rem); }
}

@media (orientation: landscape) and (min-width: 568px) and (max-height: 500px) {
  :root[lang="en"] .hero h1 { font-size: clamp(2.65rem, 6.3vw, 4rem); }
}
