/* ═══════════════════════════════════════════════════════════════════
   fonts.css · robertdaniel.consulting
   ───────────────────────────────────────────────────────────────────
   Self-hosted Cormorant Garamond and Inter, latin subset, WOFF2.
   Replaces the @import from fonts.googleapis.com that was on every
   page: that request sent every visitor's IP address to Google in the
   US before any consent (cf. LG München I, 20.01.2022, 3 O 17493/20).
   Nothing here leaves the origin.

   Ten styles per family. Only the faces a page actually matches are
   downloaded — the rest are inert declarations, which is why carrying
   the full set costs nothing at runtime.

   font-display: swap — text paints immediately in the fallback and
   reflows when the webfont lands. On a page that is mostly type, a
   flash of unstyled text beats a second of no text at all.

   Referenced from every page as:
     <link rel="stylesheet" href="/visual-assets/fonts.css">
   with preload hints for the two faces above the fold.
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Cormorant Garamond · display serif ─── */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/visual-assets/fonts/cormorant-garamond-v21-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('/visual-assets/fonts/cormorant-garamond-v21-latin-300italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/visual-assets/fonts/cormorant-garamond-v21-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/visual-assets/fonts/cormorant-garamond-v21-latin-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/visual-assets/fonts/cormorant-garamond-v21-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/visual-assets/fonts/cormorant-garamond-v21-latin-500italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/visual-assets/fonts/cormorant-garamond-v21-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('/visual-assets/fonts/cormorant-garamond-v21-latin-600italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/visual-assets/fonts/cormorant-garamond-v21-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('/visual-assets/fonts/cormorant-garamond-v21-latin-700italic.woff2') format('woff2');
}

/* ─── Inter · body, nav, labels ─── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/visual-assets/fonts/inter-v20-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('/visual-assets/fonts/inter-v20-latin-300italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/visual-assets/fonts/inter-v20-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/visual-assets/fonts/inter-v20-latin-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/visual-assets/fonts/inter-v20-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/visual-assets/fonts/inter-v20-latin-500italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/visual-assets/fonts/inter-v20-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('/visual-assets/fonts/inter-v20-latin-600italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/visual-assets/fonts/inter-v20-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('/visual-assets/fonts/inter-v20-latin-700italic.woff2') format('woff2');
}
