/* Fonts for the pages generated from the Wix Studio design (tools/wix).
 *
 * The Wix CSS is used as-is, so its font-family names are kept and mapped
 * here to self-hosted files. Averia Serif Libre and Wix Madefor are the real
 * typefaces. The rest are Wix-licensed fonts that cannot be redistributed;
 * each is mapped to the closest free face. To use a licensed original, drop
 * its woff2 into assets/fonts and point the matching rule at it. */

@font-face { font-family: averia-serif-libre; font-weight: 300; font-style: normal; font-display: swap; src: url(/assets/fonts/averia-serif-libre-300.woff2) format("woff2"); }
@font-face { font-family: averia-serif-libre; font-weight: 300; font-style: italic; font-display: swap; src: url(/assets/fonts/averia-serif-libre-300i.woff2) format("woff2"); }
@font-face { font-family: averia-serif-libre; font-weight: 400; font-style: normal; font-display: swap; src: url(/assets/fonts/averia-serif-libre-400.woff2) format("woff2"); }
@font-face { font-family: averia-serif-libre; font-weight: 400; font-style: italic; font-display: swap; src: url(/assets/fonts/averia-serif-libre-400i.woff2) format("woff2"); }
@font-face { font-family: averia-serif-libre; font-weight: 700; font-style: normal; font-display: swap; src: url(/assets/fonts/averia-serif-libre-700.woff2) format("woff2"); }

@font-face { font-family: wix-madefor-display-v2; font-weight: 400; font-display: swap; src: url(/assets/fonts/wix-madefor-display-400.woff2) format("woff2"); }
@font-face { font-family: wix-madefor-display-v2; font-weight: 700; font-display: swap; src: url(/assets/fonts/wix-madefor-display-700.woff2) format("woff2"); }
@font-face { font-family: wix-madefor-text-v2; font-weight: 400; font-display: swap; src: url(/assets/fonts/wix-madefor-text-400.woff2) format("woff2"); }
@font-face { font-family: wix-madefor-text-v2; font-weight: 400; font-style: italic; font-display: swap; src: url(/assets/fonts/wix-madefor-text-400i.woff2) format("woff2"); }
@font-face { font-family: wix-madefor-text-v2; font-weight: 700; font-display: swap; src: url(/assets/fonts/wix-madefor-text-700.woff2) format("woff2"); }
@font-face { font-family: madefor-text; font-weight: 400; font-display: swap; src: url(/assets/fonts/wix-madefor-text-400.woff2) format("woff2"); }
@font-face { font-family: madefor-text; font-weight: 700; font-display: swap; src: url(/assets/fonts/wix-madefor-text-700.woff2) format("woff2"); }
@font-face { font-family: Madefor-Text; font-weight: 400; font-display: swap; src: url(/assets/fonts/wix-madefor-text-400.woff2) format("woff2"); }

/* Helvetica: the system face where present, metric-compatible Arial otherwise. */
@font-face { font-family: helvetica-w01-roman; src: local("Helvetica"), local("Helvetica Neue"), local("Arial"), local("Liberation Sans"); }
@font-face { font-family: helvetica-w01-light; font-weight: 300; src: local("Helvetica Light"), local("HelveticaNeue-Light"), url(/assets/fonts/inter-var.woff2) format("woff2"); }

/* Helvetica Neue Light / Thin / Medium: Apple devices have them; Inter elsewhere. */
@font-face { font-family: HelveticaNeueW01-45Ligh; font-weight: 300; src: local("HelveticaNeue-Light"), local("Helvetica Neue Light"), url(/assets/fonts/inter-var.woff2) format("woff2"); }
@font-face { font-family: HelveticaNeueW02-45Ligh; font-weight: 300; src: local("HelveticaNeue-Light"), local("Helvetica Neue Light"), url(/assets/fonts/inter-var.woff2) format("woff2"); }
@font-face { font-family: HelveticaNeueW10-45Ligh; font-weight: 300; src: local("HelveticaNeue-Light"), local("Helvetica Neue Light"), url(/assets/fonts/inter-var.woff2) format("woff2"); }
@font-face { font-family: helveticaneuew01-45ligh; font-weight: 300; src: local("HelveticaNeue-Light"), local("Helvetica Neue Light"), url(/assets/fonts/inter-var.woff2) format("woff2"); }
@font-face { font-family: helveticaneuew02-45ligh; font-weight: 300; src: local("HelveticaNeue-Light"), local("Helvetica Neue Light"), url(/assets/fonts/inter-var.woff2) format("woff2"); }
@font-face { font-family: helveticaneuew10-45ligh; font-weight: 300; src: local("HelveticaNeue-Light"), local("Helvetica Neue Light"), url(/assets/fonts/inter-var.woff2) format("woff2"); }
@font-face { font-family: helveticaneuew01-65medi; font-weight: 500; src: local("HelveticaNeue-Medium"), local("Helvetica Neue Medium"), url(/assets/fonts/inter-var.woff2) format("woff2"); }
@font-face { font-family: HelveticaNeueW01-UltLt; font-weight: 300; src: local("HelveticaNeue-UltraLight"), url(/assets/fonts/inter-var.woff2) format("woff2"); }
@font-face { font-family: HelveticaNeueW01-Thin; font-weight: 300; src: local("HelveticaNeue-Thin"), url(/assets/fonts/inter-var.woff2) format("woff2"); }
@font-face { font-family: HelveticaNeueW01-55Roma; font-weight: 400; src: local("HelveticaNeue"), local("Helvetica Neue"), url(/assets/fonts/inter-var.woff2) format("woff2"); }

/* aether (Wix) -> Inter. aether is a heavier, tighter grotesque than Inter at 400,
   so its regular face is pinned to Inter's 500 instance (Inter is variable).
   aether is also 4% smaller per em: its cap height is .694em to Inter's .727,
   and its set width is 96% of Inter's, so size-adjust brings both into line.
   Its "normal" line height is 1em (Inter's is 1.21): measured off the Wix
   render, 13px text on a 13px pitch, so the line metrics are overridden. */
@font-face { font-family: aether; font-weight: 500; font-display: swap; size-adjust: 96%; ascent-override: 83%; descent-override: 21%; line-gap-override: 0%; src: url(/assets/fonts/inter-var.woff2) format("woff2"); }
@font-face { font-family: aether; font-weight: 700; font-display: swap; size-adjust: 96%; ascent-override: 83%; descent-override: 21%; line-gap-override: 0%; src: url(/assets/fonts/inter-var.woff2) format("woff2"); }

/* Brandon Grotesque Light -> Josefin Sans Light, which sets about 6% wider. */
@font-face { font-family: brandon-grot-w01-light; font-style: normal; font-display: swap; size-adjust: 94%; src: url(/assets/fonts/josefin-sans-300.woff2) format("woff2"); }
@font-face { font-family: brandon-grot-w01-light; font-style: italic; font-display: swap; size-adjust: 94%; src: url(/assets/fonts/josefin-sans-300i.woff2) format("woff2"); }

/* Bree Thin Oblique -> Ubuntu Light Italic (the face is oblique by design; it sets ~3.5% wider, hence size-adjust; the overrides keep its original line height) */
@font-face { font-family: bree-w01-thin-oblique; font-display: swap; size-adjust: 96.5%; ascent-override: 96.6%; descent-override: 19.6%; line-gap-override: 2.9%; src: url(/assets/fonts/ubuntu-300i.woff2) format("woff2"); }

/* Avenir / Proxima Nova / DIN Next -> Nunito Sans Light */
@font-face { font-family: avenir-lt-w01_35-light1475496; font-display: swap; src: url(/assets/fonts/nunito-sans-300.woff2) format("woff2"); }
@font-face { font-family: avenir-lt-w01_85-heavy1475544; font-weight: 800; font-display: swap; src: url(/assets/fonts/inter-var.woff2) format("woff2"); }
@font-face { font-family: proxima-n-w01-reg; font-display: swap; src: url(/assets/fonts/nunito-sans-300.woff2) format("woff2"); }
@font-face { font-family: din-next-w01-light; font-display: swap; src: url(/assets/fonts/nunito-sans-300.woff2) format("woff2"); }

/* enfonix -> Michroma */
@font-face { font-family: enfonix; font-display: swap; src: url(/assets/fonts/michroma-400.woff2) format("woff2"); }

/* The magazine post-list titles, which Wix's blog script sets in a serif. */
/* Wix serves its noto-serif condensed: the variable face at wdth 75 (a single-value
   font-stretch descriptor clamps every request to it) matches its widths. */
@font-face { font-family: noto-serif; font-weight: 400; font-stretch: 75%; font-display: swap; src: url(/assets/fonts/noto-serif-wdth.woff2) format("woff2"); }
/* alliance-no-2 (Wix) -> Inter */
@font-face { font-family: alliance-no-2; font-display: swap; src: url(/assets/fonts/inter-var.woff2) format("woff2"); }

/* Arial and Helvetica are not on Android phones, which swap in fonts of other
   widths, so lines break differently from iPhones. A device's own copy is used
   when it has one; otherwise Arimo, drawn to Arial's exact widths (SIL OFL). */
@font-face { font-family: Arial; font-weight: 400; font-style: normal; font-display: swap; src: local("Arial"), local("ArialMT"), url(/assets/fonts/arimo-400-normal.woff2) format("woff2"); }
@font-face { font-family: Arial; font-weight: 400; font-style: italic; font-display: swap; src: local("Arial Italic"), local("ArialMT-Italic"), url(/assets/fonts/arimo-400-italic.woff2) format("woff2"); }
@font-face { font-family: Arial; font-weight: 700; font-style: normal; font-display: swap; src: local("Arial Bold"), local("ArialMT-Bold"), url(/assets/fonts/arimo-700-normal.woff2) format("woff2"); }
@font-face { font-family: Arial; font-weight: 700; font-style: italic; font-display: swap; src: local("Arial Bold Italic"), local("ArialMT-BoldItalic"), url(/assets/fonts/arimo-700-italic.woff2) format("woff2"); }
@font-face { font-family: Helvetica; font-weight: 400; font-style: normal; font-display: swap; src: local("Helvetica"), url(/assets/fonts/arimo-400-normal.woff2) format("woff2"); }
@font-face { font-family: Helvetica; font-weight: 400; font-style: italic; font-display: swap; src: local("Helvetica Oblique"), local("Helvetica-Oblique"), url(/assets/fonts/arimo-400-italic.woff2) format("woff2"); }
@font-face { font-family: Helvetica; font-weight: 700; font-style: normal; font-display: swap; src: local("Helvetica Bold"), local("Helvetica-Bold"), url(/assets/fonts/arimo-700-normal.woff2) format("woff2"); }
@font-face { font-family: Helvetica; font-weight: 700; font-style: italic; font-display: swap; src: local("Helvetica Bold Oblique"), local("Helvetica-BoldOblique"), url(/assets/fonts/arimo-700-italic.woff2) format("woff2"); }
@font-face { font-family: Anton; font-weight: 400; font-style: normal; font-display: swap; src: url(/assets/fonts/anton-400.woff2) format("woff2"); }
