/*
 * IvyOra Text (headlines, titles, subtitles) and Avenir (body copy).
 * IvyOra Text ships here as Thin, Light, Medium and Italic; there is no upright Regular (400),
 * so normal-weight headings resolve to Medium (the browser's nearest match for 400).
 * Avenir files are not included yet, so these rules only use local() to pick up an installed copy
 * (Avenir ships with macOS / iOS).
 */

@font-face {
  font-family: 'IvyOra Text';
  font-weight: 100;
  font-style: normal;
  font-display: swap;
  src: local('IvyOra Text Thin'), local('IvyOraText-Thin'), url('./IvyOraText-Thin.woff2') format('woff2');
}

@font-face {
  font-family: 'IvyOra Text';
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: local('IvyOra Text Light'), local('IvyOraText-Light'), url('./IvyOraText-Light.woff2') format('woff2');
}

@font-face {
  font-family: 'IvyOra Text';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: local('IvyOra Text Medium'), local('IvyOraText-Medium'), url('./IvyOraText-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'IvyOra Text';
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: local('IvyOra Text Italic'), local('IvyOraText-Italic'), url('./IvyOraText-Italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Avenir';
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: local('Avenir Light'), local('Avenir-Light');
}

@font-face {
  font-family: 'Avenir';
  font-weight: 300;
  font-style: italic;
  font-display: swap;
  src: local('Avenir Light Oblique'), local('Avenir-LightOblique');
}

@font-face {
  font-family: 'Avenir';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: local('Avenir Book'), local('Avenir-Book');
}

@font-face {
  font-family: 'Avenir';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: local('Avenir Medium'), local('Avenir-Medium');
}

@font-face {
  font-family: 'Avenir';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: local('Avenir Heavy'), local('Avenir-Heavy');
}
