/* fonts.css: @font-face rules for the font-family tokens in dist/tokens.css
   The Digital Iceberg design system 0.3.0. Generated by build/build.mjs from tokens/tokens.json
   (sha256 42137d303643fe8b). Do not edit: change the tokens and run npm run build. */

/* Budget. DI Sans costs nothing where Verdana is installed (macOS, Windows, iOS): it is matched by
   local() name only and never downloaded. DI Sans Fallback downloads only where Verdana is missing
   (Android, Linux, ChromeOS): 22.2 KB for both weights. Newsreader is 100.7 KB
   (roman and italic) and loads only on pages that set text in it. Paths are relative to this file. */

/* DI Sans: the installed Verdana, matched by full name or PostScript name. A plain "Verdana" in a
   stack resolves to Roboto on Android, so the brand face is never named that way. */
@font-face { font-family: "DI Sans"; src: local("Verdana"); font-weight: 400; font-style: normal; }
@font-face { font-family: "DI Sans"; src: local("Verdana Bold"), local("Verdana-Bold"); font-weight: 700; font-style: normal; }
@font-face { font-family: "DI Sans"; src: local("Verdana Italic"), local("Verdana-Italic"); font-weight: 400; font-style: italic; }
@font-face { font-family: "DI Sans"; src: local("Verdana Bold Italic"), local("Verdana-BoldItalic"); font-weight: 700; font-style: italic; }

/* DI Sans Fallback: DejaVu Sans 2.37, Latin subset, sized to Verdana's metrics (fonts/metrics.json).
   Measured on the 137 essay titles: median width within 0.4% (Bold) and
   0.2% (Regular) of Verdana. Its unicode-range is exactly what Verdana covers, so a
   machine with Verdana never downloads it. Verdana has no arrows (U+2190-2193, U+2197): an arrow in
   text comes from the platform sans. Use the icon set for arrows in controls. */
@font-face { font-family: "DI Sans Fallback"; src: url("../fonts/dejavu-sans-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; size-adjust: 100.4%; ascent-override: 100.1%; descent-override: 20.9%; line-gap-override: 0.0%; unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+20AC, U+2122, U+2212; }
@font-face { font-family: "DI Sans Fallback"; src: url("../fonts/dejavu-sans-bold-latin.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; size-adjust: 99.1%; ascent-override: 101.4%; descent-override: 21.2%; line-gap-override: 0.0%; unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+20AC, U+2122, U+2212; }

/* Newsreader: essay body, transcripts and long prose on paper. Variable (weight 400 to 600, optical size). */
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-roman.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+20AC, U+2122, U+2190-2193, U+2197, U+2212; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-italic.woff2") format("woff2"); font-weight: 400 500; font-style: italic; font-display: swap; unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+20AC, U+2122, U+2190-2193, U+2197, U+2212; }

/* DI Serif Print: static Newsreader instances for PDFs (fonts/metrics.json, printFaces), so Chrome embeds
   them as TrueType rather than Type 3. Print templates set font-family: var(--font-serif-print).
   Web pages never name this family, so a browser never downloads these files. */
@font-face { font-family: "DI Serif Print"; src: url("../fonts/newsreader-print-roman-420.woff2") format("woff2"); font-weight: 420; font-style: normal; font-display: block; unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+20AC, U+2122, U+2190-2193, U+2197, U+2212; }
@font-face { font-family: "DI Serif Print"; src: url("../fonts/newsreader-print-roman-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: block; unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+20AC, U+2122, U+2190-2193, U+2197, U+2212; }
@font-face { font-family: "DI Serif Print"; src: url("../fonts/newsreader-print-italic-420.woff2") format("woff2"); font-weight: 420; font-style: italic; font-display: block; unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+20AC, U+2122, U+2190-2193, U+2197, U+2212; }

/* DI Serif Fallback: Georgia sized to Newsreader while it loads (measured by the site). */
@font-face { font-family: "DI Serif Fallback"; src: local("Georgia"); font-weight: 400 450; font-style: normal; size-adjust: 90.5%; ascent-override: 81.22%; descent-override: 29.28%; line-gap-override: 0%; }
@font-face { font-family: "DI Serif Fallback"; src: local("Georgia Bold"), local("Georgia-Bold"); font-weight: 600 700; font-style: normal; size-adjust: 84.5%; ascent-override: 86.98%; descent-override: 31.36%; line-gap-override: 0%; }
@font-face { font-family: "DI Serif Fallback"; src: local("Georgia Italic"), local("Georgia-Italic"); font-weight: 400 500; font-style: italic; size-adjust: 82.3%; ascent-override: 89.31%; descent-override: 32.2%; line-gap-override: 0%; }

/* The stacks themselves are tokens: --font-sans: "DI Sans", "DI Sans Fallback", "Verdana", sans-serif;
   --font-serif: "Newsreader", "DI Serif Fallback", "Georgia", serif (dist/tokens.css). */
