/* ==========================================================================
   Open Channel Press / Resonance
   Self-hosted typefaces. No third-party font requests, no visitor IP
   sent to Google, no external dependency at render time.

   Upload fonts.css and the /fonts/ folder to the site root.
   Both faces are SIL Open Font License 1.1.
   ========================================================================== */

/* Cormorant, variable weight 300 to 700, roman */
@font-face {
  font-family: 'Cormorant';
  src: url('fonts/cormorant-var.woff2') format('woff2-variations'),
       url('fonts/cormorant-var.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* Cormorant, variable weight 300 to 700, italic */
@font-face {
  font-family: 'Cormorant';
  src: url('fonts/cormorant-italic-var.woff2') format('woff2-variations'),
       url('fonts/cormorant-italic-var.woff2') format('woff2');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

/* Crimson Text, the metric-matched fallback */
@font-face {
  font-family: 'Crimson Text';
  src: url('fonts/crimson-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Crimson Text';
  src: url('fonts/crimson-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Crimson Text';
  src: url('fonts/crimson-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Metric correction for the system fallback chain.
   Cormorant x-height 0.386, Crimson Text 0.420. Scaling the substitute
   to 91.9 percent keeps line lengths and weight identical if the
   webfonts fail entirely. */
@font-face {
  font-family: 'Cormorant Fallback';
  src: local('Crimson Text'), local('CrimsonText-Regular'),
       local('Crimson Pro'), local('Iowan Old Style'),
       local('Palatino Linotype'), local('Palatino'),
       local('Book Antiqua'), local('Georgia');
  size-adjust: 91.9%;
  ascent-override: 100.5%;
  descent-override: 31.2%;
  font-display: swap;
}
