/* ============================================================
   炎黄时代 · YANHON TIMES — 响应式官网样式
   极简水墨 · 素白 / 墨黑 / 朱红
   ============================================================ */

:root {
  --paper: #FCFBF7;       /* 素白 */
  --ink: #1F1B16;         /* 墨黑 */
  --vermilion: #B5302A;   /* 朱红 */
  --ink-soft: #5C5448;    /* 正文灰 */
  --panel: #F6F3EC;       /* 关于区浅灰 */
  --card: #F3EFE6;        /* 卡片淡色 */
  --gold: #B68A3C;        /* 赭金点缀 */
  --mute: #8A8270;        /* 页脚灰 */
  --line: #E5DDC8;        /* 分隔线 */

  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --en: "Inter", system-ui, -apple-system, sans-serif;

  --gutter: clamp(20px, 6vw, 120px);
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--vermilion); color: var(--paper); }

a { color: inherit; }

/* ---------- 通用排版 ---------- */
.eyebrow {
  font-family: var(--en);
  font-weight: 600;
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 3px;
  margin-bottom: 18px;
}
.eyebrow--red { color: var(--vermilion); }
.eyebrow--gold { color: var(--gold); }

.block-head { max-width: 1200px; margin: 0 auto clamp(40px, 6vw, 64px); }
.block-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.28;
  color: var(--ink);
  letter-spacing: 1px;
}
.block-title--light { color: var(--paper); }
.block-sub {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.75;
  color: var(--ink-soft);
  margin-top: 20px;
  max-width: 620px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 34px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(15px, 1.3vw, 16px);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .15s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--vermilion); color: var(--paper); }
.btn--primary:hover { background: #9c2722; }
.btn--ghost { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 251, 247, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  padding: 0 var(--gutter);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 24px rgba(31, 27, 22, .05); }

.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.nav__brand-cn { font-family: var(--serif); font-weight: 700; font-size: 24px; color: var(--ink); letter-spacing: 2px; }
.nav__brand-en { font-family: var(--en); font-weight: 600; font-size: 11px; color: var(--ink-soft); letter-spacing: 2.5px; margin-top: 5px; }

.nav__links { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 36px); margin-left: auto; }
.nav__links a { text-decoration: none; color: var(--ink); font-size: 15px; transition: color .2s ease; }
.nav__links a:hover { color: var(--vermilion); }
.nav__cta { background: var(--vermilion); color: var(--paper) !important; padding: 10px 22px; font-weight: 500; transition: background .25s ease; }
.nav__cta:hover { background: #9c2722; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav__toggle span { display: block; height: 2px; width: 24px; background: var(--ink); transition: transform .3s ease, opacity .3s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: clamp(70px, 11vw, 160px) var(--gutter); }
.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(40px, 6vw, 80px);
}
.hero__left { flex: 1 1 0; max-width: 680px; }
.hero__title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: 2px;
}
/* 多语言 hero 标题：容器查询按比例自适应（比例由无头浏览器 10px 实测反推），保证 10 语都两行 */
.hero__left-inner { container-type: inline-size; width: 100%; }
/* 兜底 clamp（仅在不支持 cqw 的旧浏览器生效） */
html[lang="en"] .hero__title { font-size: clamp(36px, 6vw, 84px); letter-spacing: 0.5px; }
html[lang="fr"] .hero__title { font-size: clamp(26px, 5.2vw, 64px); letter-spacing: 0.5px; }
html[lang="es"] .hero__title { font-size: clamp(28px, 5.6vw, 70px); letter-spacing: 0.5px; }
html[lang="de"] .hero__title { font-size: clamp(32px, 5.6vw, 78px); letter-spacing: 0.5px; }
html[lang="pt"] .hero__title { font-size: clamp(30px, 5.6vw, 74px); letter-spacing: 0.5px; }
html[lang="ja"] .hero__title { font-size: clamp(28px, 5.4vw, 66px); letter-spacing: 1.5px; }
html[lang="ko"] .hero__title { font-size: clamp(28px, 5.4vw, 66px); letter-spacing: 1px; }
/* 容器查询精确两行（现代浏览器覆盖上方），实测比例 + 额外安全余量 */
html[lang="en"] .hero__title { font-size: min(88px, 10.6cqw); }
html[lang="fr"] .hero__title { font-size: min(88px, 7.4cqw); }
html[lang="es"] .hero__title { font-size: min(88px, 8.9cqw); }
html[lang="de"] .hero__title { font-size: min(88px, 10.0cqw); }
html[lang="pt"] .hero__title { font-size: min(88px, 9.2cqw); }
html[lang="ja"] .hero__title { font-size: min(88px, 9.2cqw); }
html[lang="ko"] .hero__title { font-size: min(88px, 11.0cqw); }
html[lang="ar"] .hero__title { letter-spacing: 0; } /* 阿语连笔不能加字距（保留原 clamp） */
.hero__sub {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.75;
  color: var(--ink-soft);
  margin-top: clamp(20px, 3vw, 28px);
  max-width: 560px;
}
.hero__cta { display: flex; gap: 16px; margin-top: clamp(28px, 4vw, 40px); flex-wrap: wrap; }

.hero__right { display: flex; flex-direction: column; align-items: center; gap: 22px; flex-shrink: 0; }
.seal {
  width: clamp(150px, 17vw, 260px);
  aspect-ratio: 1 / 1;
  background: var(--vermilion);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.seal::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid rgba(255, 255, 255, .85);
}
.seal__text {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(46px, 5.6vw, 84px);
  color: var(--paper);
  letter-spacing: 4px;
  line-height: 1;
}
.seal__caption { font-family: var(--en); font-weight: 600; font-size: 12px; color: var(--ink-soft); letter-spacing: 2px; }

/* ============================================================
   BELIEF (墨黑区)
   ============================================================ */
.belief { background: var(--ink); color: var(--paper); padding: clamp(72px, 10vw, 140px) var(--gutter); }
.belief .block-title { color: var(--paper); } /* 深底浅字：修复标题与背景同色不可见 */
.belief .block-sub { color: #C9C0AE; }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  max-width: 1200px;
  margin: 0 auto;
}
.pillar {
  border: 1px solid rgba(182, 138, 60, .5);
  padding: clamp(24px, 2.4vw, 32px);
}
.pillar__num { font-family: var(--serif); font-weight: 700; font-size: 30px; color: var(--gold); display: block; margin-bottom: 12px; }
.pillar__title { font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 2vw, 24px); color: var(--paper); margin-bottom: 10px; }
.pillar__desc { font-size: clamp(14px, 1.2vw, 15px); line-height: 1.7; color: #C9C0AE; }

/* ============================================================
   EXPLORE (业务探索)
   ============================================================ */
.explore { padding: clamp(72px, 10vw, 140px) var(--gutter); }
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px);
  max-width: 1200px;
  margin: 0 auto;
}
.card {
  background: var(--card);
  border: 1px solid #E6DFD0;
  padding: clamp(26px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(31, 27, 22, .06); }
.card__icon { width: 44px; height: 44px; margin-bottom: 18px; }
.card__icon svg { width: 100%; height: 100%; }
.card__title { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.2vw, 26px); color: var(--ink); }
.card__en { font-family: var(--en); font-weight: 600; font-size: 11px; letter-spacing: 1.5px; color: var(--gold); margin: 6px 0 14px; }
.card__desc { font-size: clamp(14px, 1.3vw, 15px); line-height: 1.75; color: var(--ink-soft); }
.card__tag { margin-top: 18px; font-weight: 500; font-size: 13px; color: var(--vermilion); }

/* 业务探索首卡：图标居左放大 + 右侧标题/英文竖排 */
.card__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.card__icon--side { width: 56px; height: 56px; margin-bottom: 0; }
.card__headtext { display: flex; flex-direction: column; }
.card__headtext .card__en { margin: 4px 0 0; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--panel); padding: clamp(72px, 10vw, 140px) var(--gutter); }
.about__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: clamp(40px, 6vw, 80px);
  align-items: flex-start;
}
.about__left { flex: 1 1 0; }
.about__left .block-title { margin-bottom: 28px; }
.about__body { font-size: clamp(16px, 1.4vw, 17px); line-height: 1.8; color: var(--ink-soft); margin-bottom: 18px; max-width: 620px; }

.about__panel {
  flex: 0 0 340px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.fact-row { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; gap: 16px; }
.fact-label { font-weight: 500; font-size: 14px; color: var(--ink-soft); }
.fact-value { font-family: var(--serif); font-weight: 500; font-size: 16px; color: var(--ink); text-align: right; }
.fact-value--red { color: var(--vermilion); }
.fact-divider { height: 1px; background: var(--line); }

/* ============================================================
   CONTACT (墨黑区)
   ============================================================ */
.contact { background: var(--ink); color: var(--paper); padding: clamp(72px, 10vw, 140px) var(--gutter); }
.contact__inner { max-width: 1200px; margin: 0 auto; text-align: left; }
.contact__sub { font-size: clamp(16px, 1.4vw, 17px); line-height: 1.8; color: #C9C0AE; margin-top: 20px; max-width: 620px; }
.contact__row { display: flex; align-items: center; gap: 20px; margin-top: clamp(28px, 4vw, 40px); flex-wrap: wrap; }
.contact__mail { font-family: var(--serif); font-weight: 500; font-size: clamp(18px, 2vw, 22px); color: var(--paper); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #14110C; color: #C9C0AE; padding: clamp(48px, 6vw, 64px) var(--gutter) clamp(32px, 4vw, 40px); }
.footer__inner { max-width: var(--maxw); margin: 0 auto; }
.footer__top { display: flex; justify-content: space-between; gap: 60px; flex-wrap: wrap; }
.footer__brand { display: flex; flex-direction: column; gap: 10px; }
.footer__logo { font-family: var(--serif); font-weight: 700; font-size: 26px; color: var(--paper); }
.footer__tagline { font-size: 14px; color: var(--gold); letter-spacing: 2px; }
.footer__cols { display: flex; gap: clamp(40px, 6vw, 64px); flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 { font-weight: 500; font-size: 14px; color: var(--gold); margin-bottom: 4px; }
.footer__col a { text-decoration: none; font-size: 14px; color: #C9C0AE; transition: color .2s ease; }
.footer__col a:hover { color: var(--paper); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: clamp(36px, 5vw, 48px); padding-top: 28px;
  border-top: 1px solid #3A342B;
  font-size: 13px; color: var(--mute); flex-wrap: wrap; gap: 10px;
}
.footer__mini { font-family: var(--en); font-weight: 600; font-size: 11px; letter-spacing: 2px; }

/* ============================================================
   联系方式扩展（邮件 / WhatsApp / 微信）
   ============================================================ */
.channel-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(14px, 1.3vw, 16px);
  color: var(--paper);
  text-decoration: none;
  background: transparent;
  border: 1px solid rgba(252, 251, 247, .28);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .25s ease, background .25s ease;
}
.channel-btn:hover { border-color: var(--paper); background: rgba(252, 251, 247, .07); }
.channel-btn .ch-ico { width: 20px; height: 20px; flex-shrink: 0; }
.channel-btn--wa .ch-ico { color: #25D366; }
.channel-btn--wx .ch-ico { color: #07C160; }
.contact__mail { margin-top: 18px; }

/* 页脚社交图标 */
.footer__social { display: flex; gap: 14px; align-items: flex-start; }
.social-ico {
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #3A342B; color: #C9C0AE; background: transparent;
  cursor: pointer; text-decoration: none; padding: 0;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.social-ico svg { width: 20px; height: 20px; }
.social-ico:hover { color: var(--paper); border-color: var(--paper); background: rgba(252, 251, 247, .06); }
.social-ico--wa svg { color: #25D366; }
.social-ico--wx svg { color: #07C160; }

/* 微信二维码弹窗 */
.wechat-modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.wechat-modal.open { display: flex; }
.wechat-modal__overlay { position: absolute; inset: 0; background: rgba(10, 8, 5, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.wechat-modal__box {
  position: relative; background: var(--paper);
  width: min(360px, 90vw); padding: 34px 30px 30px; text-align: center;
  border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(10, 8, 5, .4);
}
.wechat-modal__close {
  position: absolute; top: 10px; right: 14px;
  background: none; border: none; font-size: 26px; line-height: 1;
  color: var(--ink-soft); cursor: pointer;
}
.wechat-modal__title { font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--ink); margin-bottom: 18px; }
.wechat-modal__qr { width: 200px; height: 200px; object-fit: contain; background: #fff; border: 1px solid var(--line); display: inline-block; }
.wechat-modal__hint { margin-top: 16px; font-size: 14px; color: var(--ink-soft); }

/* ============================================================
   响应式断点
   ============================================================ */

/* 平板及以下：Hero 转竖、关于转竖、三柱变单列 */
@media (max-width: 900px) {
  .hero__inner { flex-direction: column; text-align: center; gap: 48px; }
  .hero__left { max-width: 640px; width: 100%; align-self: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .pillars { grid-template-columns: 1fr; max-width: 520px; }
  .about__inner { flex-direction: column; }
  .about__panel { flex: 1 1 auto; width: 100%; }
}

/* ≤860px：导航栏目收进汉堡菜单；语言切换器保留在顶部栏常驻 */
@media (max-width: 860px) {
  .nav__toggle { display: flex; margin-left: auto; }
  .nav__links {
    position: absolute;
    top: 80px; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(31, 27, 22, .08);
    padding: 8px 0 16px;
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: transform .28s ease, opacity .28s ease;
  }
  .nav__links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 14px var(--gutter); font-size: 16px; text-align: center; }
  .nav__links a:hover { background: var(--panel); }
  .nav__cta { margin: 8px var(--gutter) 0; text-align: center; }
}

/* 手机：业务卡片单列、间距收紧 */
@media (max-width: 768px) {
  .cards { grid-template-columns: 1fr; max-width: 520px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .footer__top { flex-direction: column; gap: 40px; }
}

/* 小屏微调 */
@media (max-width: 480px) {
  .nav__inner { height: 68px; }
  .nav__links { top: 68px; }
  .hero__title { letter-spacing: 1px; }
  .seal { width: 140px; }
  .seal__text { font-size: 42px; }
  .btn { padding: 14px 24px; }
  .channel-btn { padding: 12px 18px; }
  .social-ico { width: 38px; height: 38px; }
  .footer__social { width: 100%; justify-content: flex-start; margin-top: 4px; }
}

/* 多语言：非默认语言在替换完成前隐藏正文，杜绝中文闪现 */
html.i18n-busy body { visibility: hidden; }

/* ============================================================
   多语言切换器（导航栏 + 页脚）
   ============================================================ */
.lang-switch { position: relative; }
.nav .lang-switch { margin-left: 6px; }
.lang-switch__btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid rgba(31, 27, 22, .28);
  color: var(--ink); padding: 8px 12px; cursor: pointer;
  font-size: 13px; font-weight: 500; font-family: var(--sans);
  border-radius: 4px; transition: border-color .2s ease, color .2s ease;
}
.lang-switch__btn:hover { border-color: var(--vermilion); color: var(--vermilion); }
.lang-switch__caret { width: 10px; height: 10px; }
.lang-switch__menu {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 60;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(31, 27, 22, .12);
  list-style: none; margin: 0; padding: 6px; min-width: 148px;
  display: none;
}
.lang-switch__menu.open { display: block; }
.lang-switch__menu a {
  display: block; padding: 8px 12px; font-size: 14px;
  color: var(--ink); text-decoration: none; border-radius: 3px;
}
.lang-switch__menu a:hover { background: var(--panel); color: var(--vermilion); }
.lang-switch__menu a.is-active { color: var(--vermilion); font-weight: 600; }

/* 页脚版：深色适配 */
.footer__bottom .lang-switch__btn { border-color: #3A342B; color: var(--mute); }
.footer__bottom .lang-switch__btn:hover { color: var(--paper); border-color: var(--gold); }
.footer__bottom .lang-switch__menu { background: #2A2620; border-color: #3A342B; }
.footer__bottom .lang-switch__menu a { color: #C9C0AE; }
.footer__bottom .lang-switch__menu a:hover { background: #3A342B; color: var(--paper); }
.footer__bottom .lang-switch__menu a.is-active { color: var(--gold); }

/* 移动端：顶部栏语言切换器常驻（与汉堡按钮并排，不进下拉） */
@media (max-width: 860px) {
  .nav .lang-switch { margin-left: 12px; }
  .nav .lang-switch__btn { padding: 6px 10px; }
  .nav .lang-switch__menu { right: 0; left: auto; min-width: 148px; }
}


/* ============================================================
   自托管字体（S5）：@font-face 全部指向本地 web/assets/fonts/
   生成: tools/subset-fonts.py（内容变更后重跑）
   ============================================================ */
@font-face { font-family:"Inter"; font-weight:400; font-display:swap; src:url(assets/fonts/latin/inter-latin-ext-400.woff2) format("woff2"); unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family:"Inter"; font-weight:400; font-display:swap; src:url(assets/fonts/latin/inter-latin-400.woff2) format("woff2"); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family:"Inter"; font-weight:500; font-display:swap; src:url(assets/fonts/latin/inter-latin-ext-500.woff2) format("woff2"); unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family:"Inter"; font-weight:500; font-display:swap; src:url(assets/fonts/latin/inter-latin-500.woff2) format("woff2"); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family:"Inter"; font-weight:600; font-display:swap; src:url(assets/fonts/latin/inter-latin-ext-600.woff2) format("woff2"); unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family:"Inter"; font-weight:600; font-display:swap; src:url(assets/fonts/latin/inter-latin-600.woff2) format("woff2"); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family:"Source Serif 4"; font-weight:600; font-display:swap; src:url(assets/fonts/latin/ss4-latin-ext-600.woff2) format("woff2"); unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family:"Source Serif 4"; font-weight:600; font-display:swap; src:url(assets/fonts/latin/ss4-latin-600.woff2) format("woff2"); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family:"Source Serif 4"; font-weight:700; font-display:swap; src:url(assets/fonts/latin/ss4-latin-ext-700.woff2) format("woff2"); unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family:"Source Serif 4"; font-weight:700; font-display:swap; src:url(assets/fonts/latin/ss4-latin-700.woff2) format("woff2"); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family:"Source Serif 4"; font-weight:900; font-display:swap; src:url(assets/fonts/latin/ss4-latin-ext-900.woff2) format("woff2"); unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family:"Source Serif 4"; font-weight:900; font-display:swap; src:url(assets/fonts/latin/ss4-latin-900.woff2) format("woff2"); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family:"Noto Naskh Arabic"; font-weight:400; font-display:swap; src:url(assets/fonts/ar/naskh-400.woff2) format("woff2"); unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family:"Noto Naskh Arabic"; font-weight:700; font-display:swap; src:url(assets/fonts/ar/naskh-700.woff2) format("woff2"); unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family:"Noto Sans Arabic"; font-weight:400; font-display:swap; src:url(assets/fonts/ar/sansar-400.woff2) format("woff2"); unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family:"Noto Sans Arabic"; font-weight:500; font-display:swap; src:url(assets/fonts/ar/sansar-500.woff2) format("woff2"); unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family:"Noto Serif SC"; font-weight:500; font-display:swap; src:url(assets/fonts/zh-CN/noto-serif-500.woff2) format("woff2"); }
@font-face { font-family:"Noto Serif SC"; font-weight:700; font-display:swap; src:url(assets/fonts/zh-CN/noto-serif-700.woff2) format("woff2"); }
@font-face { font-family:"Noto Serif SC"; font-weight:900; font-display:swap; src:url(assets/fonts/zh-CN/noto-serif-900.woff2) format("woff2"); }
@font-face { font-family:"Noto Sans SC"; font-weight:400; font-display:swap; src:url(assets/fonts/zh-CN/noto-sans-400.woff2) format("woff2"); }
@font-face { font-family:"Noto Sans SC"; font-weight:500; font-display:swap; src:url(assets/fonts/zh-CN/noto-sans-500.woff2) format("woff2"); }
@font-face { font-family:"Noto Serif TC"; font-weight:500; font-display:swap; src:url(assets/fonts/zh-TW/noto-serif-500.woff2) format("woff2"); }
@font-face { font-family:"Noto Serif TC"; font-weight:700; font-display:swap; src:url(assets/fonts/zh-TW/noto-serif-700.woff2) format("woff2"); }
@font-face { font-family:"Noto Serif TC"; font-weight:900; font-display:swap; src:url(assets/fonts/zh-TW/noto-serif-900.woff2) format("woff2"); }
@font-face { font-family:"Noto Sans TC"; font-weight:400; font-display:swap; src:url(assets/fonts/zh-TW/noto-sans-400.woff2) format("woff2"); }
@font-face { font-family:"Noto Sans TC"; font-weight:500; font-display:swap; src:url(assets/fonts/zh-TW/noto-sans-500.woff2) format("woff2"); }
@font-face { font-family:"Noto Serif JP"; font-weight:500; font-display:swap; src:url(assets/fonts/ja/noto-serif-500.woff2) format("woff2"); }
@font-face { font-family:"Noto Serif JP"; font-weight:700; font-display:swap; src:url(assets/fonts/ja/noto-serif-700.woff2) format("woff2"); }
@font-face { font-family:"Noto Serif JP"; font-weight:900; font-display:swap; src:url(assets/fonts/ja/noto-serif-900.woff2) format("woff2"); }
@font-face { font-family:"Noto Sans JP"; font-weight:400; font-display:swap; src:url(assets/fonts/ja/noto-sans-400.woff2) format("woff2"); }
@font-face { font-family:"Noto Sans JP"; font-weight:500; font-display:swap; src:url(assets/fonts/ja/noto-sans-500.woff2) format("woff2"); }
@font-face { font-family:"Noto Serif KR"; font-weight:500; font-display:swap; src:url(assets/fonts/ko/noto-serif-500.woff2) format("woff2"); }
@font-face { font-family:"Noto Serif KR"; font-weight:700; font-display:swap; src:url(assets/fonts/ko/noto-serif-700.woff2) format("woff2"); }
@font-face { font-family:"Noto Serif KR"; font-weight:900; font-display:swap; src:url(assets/fonts/ko/noto-serif-900.woff2) format("woff2"); }
@font-face { font-family:"Noto Sans KR"; font-weight:400; font-display:swap; src:url(assets/fonts/ko/noto-sans-400.woff2) format("woff2"); }
@font-face { font-family:"Noto Sans KR"; font-weight:500; font-display:swap; src:url(assets/fonts/ko/noto-sans-500.woff2) format("woff2"); }

/* 语言级字体栈：只引用该语言所需字体（浏览器按需下载） */
html[lang="zh-TW"] { --serif: "Noto Serif TC", "Songti TC", "PMingLiU", serif; --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; }
html[lang="ja"] { --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif; --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; }
html[lang="ko"] { --serif: "Noto Serif KR", "Apple SD Gothic Neo", "Malgun Gothic", serif; --sans: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
html[lang="ar"] { --serif: "Noto Naskh Arabic", "Amiri", serif; --sans: "Noto Sans Arabic", "Segoe UI", sans-serif; }
html[lang="en"], html[lang="fr"], html[lang="es"], html[lang="de"], html[lang="pt"] { --serif: "Source Serif 4", Georgia, serif; --sans: "Inter", system-ui, sans-serif; }

/* 弱网降级：2G/慢速网络不加载 web 字体，整体回退系统字体（首屏优先） */
html.no-webfont { --serif: Georgia, "Songti SC", serif; --sans: system-ui, sans-serif; --en: system-ui, sans-serif; }
