/*
  Cabin only (self-hosted on static.soldtucson.com).
  Two files cover the weights we use:
    - cabin-medium-500 → 400 + 500
    - cabin-bold-700   → 600 + 700
  (No Cabin 400 on the CDN; medium stands in for regular.)

  No local() sources — a locally installed Cabin can differ from the CDN
  face and defeat the <link rel=preload>, which causes a late metric swap.

  "Cabin Fallback" is a metric-adjusted Arial so system text during
  font-display:swap occupies nearly the same width as Cabin (tuned so
  the reviews list height matches Cabin; ~91.5% size-adjust vs Arial).
*/

@font-face {
  font-family: 'Cabin Fallback';
  src: local('Arial');
  size-adjust: 91.5%;
  ascent-override: 92%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: Cabin;
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src:
    url('https://static.soldtucson.com/assets/fonts/cabin-medium-500-webfont.woff2') format('woff2'),
    url('https://static.soldtucson.com/assets/fonts/cabin-medium-500-webfont.woff') format('woff');
}

@font-face {
  font-family: Cabin;
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src:
    url('https://static.soldtucson.com/assets/fonts/cabin-medium-500-webfont.woff2') format('woff2'),
    url('https://static.soldtucson.com/assets/fonts/cabin-medium-500-webfont.woff') format('woff');
}

@font-face {
  font-family: Cabin;
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src:
    url('https://static.soldtucson.com/assets/fonts/cabin-bold-700-webfont.woff2') format('woff2'),
    url('https://static.soldtucson.com/assets/fonts/cabin-bold-700-webfont.woff') format('woff');
}

@font-face {
  font-family: Cabin;
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src:
    url('https://static.soldtucson.com/assets/fonts/cabin-bold-700-webfont.woff2') format('woff2'),
    url('https://static.soldtucson.com/assets/fonts/cabin-bold-700-webfont.woff') format('woff');
}
