/* ===========================================================================
   FONT BINDING
   ---------------------------------------------------------------------------
   This is the ONLY file in the project that names a font family. Every
   stylesheet and template refers to the four role variables at the bottom
   (--font-display, --font-script, --font-secondary, --font-body) and never to
   a family directly.

   The brand specifies licensed Adobe faces:

       Display    Adobe Trajan Pro 3
       Script     Bickham Script Pro
       Secondary  Adobe Caslon Small Caps
       Body       Adobe Caslon Pro / Cormorant Garamond

   Serving those on the web needs an Adobe Fonts web project or a webfont
   licence — a desktop licence does not cover it. Until that exists the site
   ships free, self-hosted stand-ins chosen from the same typographic families:

       Cinzel              Roman inscriptional capitals, the same lineage as
                           Trajan (both derive from the Trajan Column).
       Pinyon Script       Copperplate-derived formal script, the genre Bickham
                           belongs to.
       Cormorant SC        Garalde small caps, standing in for Caslon SC.
       Cormorant Garamond  Explicitly permitted by the brand spec.

   TO SWAP IN THE REAL FACES:
     1. Put the licensed .woff2 files in public/fonts/
     2. Replace the @font-face blocks below
     3. Point the role variables at the new family names
   Nothing else in the codebase changes.

   All faces are self-hosted — the site makes no request to Google, Adobe or
   any other third party at runtime.
   =========================================================================== */

/* --- Display: Trajan stand-in ------------------------------------------- */
@font-face {
  font-family: 'Cinzel';
  src: url('/fonts/cinzel-var.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* --- Script: Bickham stand-in ------------------------------------------- */
@font-face {
  font-family: 'Pinyon Script';
  src: url('/fonts/pinyon-script.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- Secondary: Caslon Small Caps stand-in ------------------------------ */
@font-face {
  font-family: 'Cormorant SC';
  src: url('/fonts/cormorant-sc-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant SC';
  src: url('/fonts/cormorant-sc-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --- Body ---------------------------------------------------------------- */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/fonts/cormorant-garamond-var.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/fonts/cormorant-garamond-italic-var.woff2') format('woff2');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

/* --- Role bindings ------------------------------------------------------- */
:root {
  /* The licensed names are listed first so that if a visitor happens to have
     them installed locally, or once a web licence is added, they win. */
  --font-display: 'Trajan Pro 3', 'Trajan Pro', 'Cinzel', 'Times New Roman', serif;
  --font-script: 'Bickham Script Pro', 'Pinyon Script', 'Snell Roundhand', cursive;
  --font-secondary: 'Adobe Caslon Small Caps', 'Cormorant SC', 'Cinzel', serif;
  --font-body: 'Adobe Caslon Pro', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}
