/*
 * Local system-font aliases.
 *
 * The site historically requested several full CJK families and many weights
 * from Google Fonts.  Those downloads added multiple megabytes to first-page
 * loads.  Keep the existing design tokens/family names, but resolve them to
 * fonts already installed on the visitor's device so no remote font request is
 * required.  Every declaration retains a generic fallback in the page CSS.
 */
@font-face {
  font-family: "Noto Sans SC";
  src: local("Noto Sans SC"), local("PingFang SC"), local("Hiragino Sans GB"),
    local("Microsoft YaHei"), local("Arial");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif SC";
  src: local("Noto Serif SC"), local("Songti SC"), local("STSong"),
    local("SimSun"), local("Georgia");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: local("EB Garamond"), local("Georgia"), local("Times New Roman");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: local("EB Garamond Italic"), local("Georgia Italic"),
    local("Times New Roman Italic");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: local("Cormorant Garamond"), local("Georgia"), local("Times New Roman");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: local("Cormorant Garamond Italic"), local("Georgia Italic"),
    local("Times New Roman Italic");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: local("Inter"), local("SF Pro Text"), local("Segoe UI"), local("Arial");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: local("JetBrains Mono"), local("SFMono-Regular"), local("Menlo"),
    local("Consolas"), local("Courier New");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
