/* 项目统一字体:Gotham
   文件位置 /assets/fonts/,fonts.css 在 /assets/css/,相对路径 ../fonts/ */

/* 细字重(300)补面:Gotham 没有 Light/Book 文件,300 的请求原先就近取
   Medium(500),而汉字不在 Gotham 字符集、回退系统细体(苹方 Light 等),
   同一段里数字/英文比汉字粗一档。此面用 local() 把 300 映射到本机系统细体,
   数字汉字同源同重;机器缺这些字体时本面加载失败,自动回落 Medium =
   补面前表现,无害降级。400 不补:数据行 64px 展示数字(font-weight:400)
   要保留 Gotham Medium 字形 */
@font-face {
  font-family: 'Gotham';
  font-style: normal;
  font-weight: 300;
  src: local('PingFang SC Light'), local('PingFangSC-Light'),
       local('Microsoft YaHei Light'), local('DengXian Light');
}

@font-face {
  font-family: 'Gotham';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Gotham-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Gotham';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Gotham-Bold.woff2') format('woff2');
}

@font-face {
  font-family: 'Gotham';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/Gotham-Black.woff2') format('woff2');
}

@font-face {
  font-family: 'Gotham';
  font-style: normal;
  font-weight: 950;
  font-display: swap;
  src: url('../fonts/Gotham-Ultra.woff') format('woff');
}
