/* ============================================================
   Family Assistant — brand web fonts (Enchant v3)
   ------------------------------------------------------------
   Klim Type Foundry, LICENSED (web) to Enchant Health LLC / enchant.co.
   - Söhne + Söhne Mono — Klim order 21122614043
   - Epicene Display     — Klim order 26070029 (5 upright weights only;
                           NO italics licensed — see note at bottom)
   Web licence cap: 5,000 monthly unique users, shared across enchant.co
   properties. Watch as traffic scales.

   The bottom block aliases the names shared.css hardcodes ('Inter',
   'Fraunces') onto the brand faces, so the ported /vision components
   render in-brand without forking shared.css.

   Paths are absolute (/webfonts/...) to match enchant-v8. The Rails
   asset pipeline will rewire these at scaffold time.
   ============================================================ */

/* ---------- Söhne (sans · body & UI) ---------- */
@font-face { font-family: 'Söhne'; src: url('/webfonts/soehne-buch.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Söhne'; src: url('/webfonts/soehne-kraftig.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Söhne'; src: url('/webfonts/soehne-halbfett.woff2') format('woff2');
  font-weight: 600 700; font-style: normal; font-display: swap; }

/* ---------- Söhne Mono (code) ---------- */
@font-face { font-family: 'Söhne Mono'; src: url('/webfonts/soehne-mono-buch.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Söhne Mono'; src: url('/webfonts/soehne-mono-kraftig.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap; }

/* ---------- Epicene Display (display serif · headlines) ---------- */
@font-face { font-family: 'Epicene Display'; src: url('/webfonts/epicene-display-light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Epicene Display'; src: url('/webfonts/epicene-display-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Epicene Display'; src: url('/webfonts/epicene-display-medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Epicene Display'; src: url('/webfonts/epicene-display-bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Epicene Display'; src: url('/webfonts/epicene-display-black.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap; }

/* ============================================================
   Compatibility aliases — map shared.css names onto brand faces.
   'Inter' → Söhne          'Fraunces' → Epicene Display
   ============================================================ */
@font-face { font-family: 'Inter'; src: url('/webfonts/soehne-buch.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/webfonts/soehne-kraftig.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/webfonts/soehne-halbfett.woff2') format('woff2');
  font-weight: 600 700; font-style: normal; font-display: swap; }

@font-face { font-family: 'Fraunces'; src: url('/webfonts/epicene-display-light.woff2') format('woff2');
  font-weight: 300 410; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/webfonts/epicene-display-medium.woff2') format('woff2');
  font-weight: 411 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/webfonts/epicene-display-bold.woff2') format('woff2');
  font-weight: 601 900; font-style: normal; font-display: swap; }

/* ------------------------------------------------------------
   NOTE — no licensed Epicene italics. shared.css uses italic
   display serif for section numbers, stats, and a few accents.
   Options at scaffold time (pick one, don't ship faux-italic):
     1. Restyle those usages to upright Epicene (recommended).
     2. License Epicene italics from Klim if the slant is wanted.
   ------------------------------------------------------------ */
