/* Self-hosted fonts for "A Walk Through the Garden".
   Latin subset only, woff2, downloaded from Google Fonts on 9 Nov 2026.
   All four families are under the SIL Open Font License 1.1 (see licences/).
   Paths assume this file sits in a folder next to /fonts (for example /css/fonts.css).
   Cormorant Garamond and Bodoni Moda are variable fonts: one file covers every weight in the range. */

/* Latin unicode-range, exactly as served by Google Fonts */
/* U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD */

/* Script since 15 Nov 2026: Cintarini by Basnistudio (Danny's pick), a handwritten brush script.
   Free for personal use (licences/FFP-cintarini.txt): a family wedding site is personal use, and the licence
   allows converting it to a web font as long as the font is not altered, so this is the whole font, not a subset.
   Commercial use would need the paid licence (Creative Market / MyFonts). */
@font-face {
  font-family: 'Cintarini';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  /* Cintarini draws much bigger than Pinyon Script at the same size: 80% keeps every heading, signature and name
     at the size the layout was built for (iOS 17+ and current browsers; older ones just show it larger) */
  size-adjust: 80%;
  src: url('../fonts/cintarini-regular.woff2') format('woff2');
}

/* Script: names, headings, sign-off */
@font-face {
  font-family: 'Pinyon Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/pinyon-script-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Body serif, upright: covers 400, 500 and 600 (file supports 300 to 700) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Body serif, italic: covers 400 italic and 500 italic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-italic-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Body serif since 15 Nov 2026: EB Garamond (Danny: more readable, still elegant). The same Garamond family as
   Cormorant, with sturdier strokes and taller lowercase letters, so it reads on a phone. Variable, 400 to 800.
   From @fontsource-variable/eb-garamond 5.3.0 (Google Fonts build), SIL OFL 1.1 (licences/OFL-ebgaramond.txt). */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/eb-garamond-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/eb-garamond-italic-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Small caps: labels, buttons, request line, venue line */
@font-face {
  font-family: 'Cormorant SC';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  /* 15 Nov 2026: the semibold file, so the small capitals are sturdier and easier to read */
  src: url('../fonts/cormorant-sc-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Small caps, semibold: index.html uses 600 for .intro .hint and .info h3 */
@font-face {
  font-family: 'Cormorant SC';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-sc-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Didone: date, countdown numbers, timeline times.
   Variable: weight 400 to 900 and optical size 6 to 96 (opsz is applied automatically by size). */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/bodoni-moda-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
