/* hamilos-keller theme: the wordmark and fonts of the firm's invoices
   (firm-app invoice.typ.tmpl: Space Grotesk Medium wordmark, IBM Plex Sans body).
   Fonts are self-hosted because the CSP is default-src 'self'. */
@font-face {
  font-family: "Space Grotesk"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/static/fonts/space-grotesk-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("/static/fonts/ibm-plex-sans-400-600-latin.woff2") format("woff2");
}

body.theme-firm {
  font-family: "IBM Plex Sans", ui-sans-serif, -apple-system, "Segoe UI", sans-serif;
}

.theme-firm .brand-word {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.theme-firm h1,
.theme-firm #details > h2 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  letter-spacing: -0.03em;
}
