/* Self-hosted fonts for sameerkashyap.in, in place of Google Fonts.

   Four variable woff2 files, same origin, latin only. Serving them from here
   removes two cross origin connections and a stylesheet round trip before the
   headline can paint, which is what was holding mobile LCP at 6.2s.

   Hand written pages inline these faces in their own <style> block instead of
   linking this file, so nothing blocks render. This file exists for the pages
   that link a stylesheet anyway: the generated section pages under
   /companies-act-2013/ and anything pulling in assets/shared.css.

   The opsz axis is kept because the design uses it deliberately, at 36, 40, 60
   and 72. The wght axis is narrowed to the weights the site actually sets.
   See README.txt for how the files were built. */

/* ---- Newsreader (serif: headings, titles, logo) ---- */
@font-face{font-family:'Newsreader';font-style:normal;font-weight:400 600;font-display:swap;src:url('/assets/fonts/newsreader.woff2') format('woff2')}
@font-face{font-family:'Newsreader';font-style:italic;font-weight:400 500;font-display:swap;src:url('/assets/fonts/newsreader-italic.woff2') format('woff2')}

/* ---- Inter (sans: body, UI) ---- */
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url('/assets/fonts/inter.woff2') format('woff2')}

/* ---- The rupee sign ----
   U+20B9 sits in the latin-ext cut of both families, not the latin one, so a
   latin only build would have dropped it into a fallback font. It appears
   about seventy times across the site, in the numbers the whole practice is
   argued from, so it gets its own two files. Under 3 KB together, and the
   unicode-range means a page without a rupee never asks for them. */
@font-face{font-family:'Newsreader';font-style:normal;font-weight:400 600;font-display:swap;src:url('/assets/fonts/newsreader-rupee.woff2') format('woff2');unicode-range:U+20B9}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url('/assets/fonts/inter-rupee.woff2') format('woff2');unicode-range:U+20B9}

/* ---- JetBrains Mono (mono: labels, figures, code) ---- */
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 600;font-display:swap;src:url('/assets/fonts/jbmono.woff2') format('woff2')}
