/* Site-wide font: Montserrat Arm (Armenian + Latin, SIL OFL, github.com/greghub/montserrat-arm).
   Linked last in <head> of the site, product, admin, responses and seating pages so it wins over their own fonts.
   Invitation templates (/t/, /i/) keep their own fonts. Google's Montserrat covers Russian (Cyrillic). */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300..700;1,300..700&display=swap');
@font-face { font-family: 'Montserrat Arm'; src: url(/fonts/MontserratArm-Regular.woff) format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat Arm'; src: url(/fonts/MontserratArm-Bold.woff) format('woff'); font-weight: 700; font-style: normal; font-display: swap; }

:root { --font: 'Montserrat Arm', Montserrat, 'Noto Sans Armenian', 'Segoe UI', Arial, sans-serif; --sans: var(--font); --serif: var(--font); --head: var(--font); --script: var(--font); }

/* rules that name an Armenian font directly instead of using the variables */
:lang(hy) .h1, :lang(hy) .h2, :lang(hy) .h3, :lang(hy) .hd__h, :lang(hy) .tm__t, :lang(hy) .serif,
:lang(hy) .pc__t, :lang(hy) .pp__n, :lang(hy) .pc__h, :lang(hy) .pl h1, :lang(hy) .pl h2 { font-family: var(--font); }

/* Montserrat is wider than the old serif: smaller main-site headings so long Armenian words fit */
.h1, :lang(hy) .h1, :lang(ru) .h1 { font-size: clamp(34px, 4vw, 58px); line-height: 1.1; letter-spacing: -.01em; }
.h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.12; letter-spacing: -.01em; }
