/* 课程分类与专业名称使用独立的文楷字形子集。 */
@font-face {
  font-family: "QHorizons WenKai";
  src: url("/assets/fonts/wenkai-curriculum.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* 自托管站酷快乐体，覆盖各栏目固定标题与导航用字。 */
@font-face {
  font-family: "QHorizons Display";
  src: url("/assets/fonts/qh-display.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

/* 思源黑体包含站内界面字和常用汉字，其他字由系统字体补足。 */
@font-face {
  font-family: "Noto Sans SC";
  src: url("/assets/fonts/noto-sans-sc-common.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Caveat";
  src: url("/assets/fonts/caveat-latin-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Caveat";
  src: url("/assets/fonts/caveat-bold-latin.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-title: "QHorizons Display", var(--font-body);
  --font-body: "Noto Sans SC", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --font-en: "Caveat", "Segoe Print", cursive;
  --font-logo: "Instrument Serif", Georgia, serif;
  --font-ui: var(--font-body);
  --font-display: var(--font-title);
  font-family: var(--font-body);
  font-weight: 400;
}

.stagebar .brand {
  font-family: var(--font-logo);
  font-size: 29px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.015em;
}

.stagebar .brand small {
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: .1em;
}

.stage-nav .nav-link {
  font-family: var(--font-body);
  font-weight: 400;
}

.section-heading h2,
.timeline-month h2,
.journey-card h3 {
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: .02em;
}

.gate-card h1 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: .02em;
}

.section-heading h2 .section-count {
  font-family: var(--font-ui);
  letter-spacing: 0;
}

.eyebrow,
.plan-eyebrow,
.inner-world-kicker {
  font-size: 11px;
  letter-spacing: .075em;
}

.inner-world p,
.page-heading p,
.event-description {
  line-height: 1.8;
}

.event-description {
  font-size: 15px;
}

.event-card h3,
.file-name-cell strong,
.plan-task-title {
  font-weight: 600;
  letter-spacing: .01em;
}

.timeline-date,
.timeline-month,
.entry-meta,
.plan-calendar,
.plan-task-meta,
.plan-summary,
.curriculum-total,
.assessment-total,
.archive-category-count,
.ribbon-pct,
.due-tag {
  font-variant-numeric: tabular-nums lining-nums;
}

@media (max-width: 760px) {
  .stagebar .brand { font-size: 26px; }
  .mobile-nav a { font-size: 11px; }
  .event-description { font-size: 14px; }
}

.inner-world h1, .gate-card h1, .denied-title {
  font-family: var(--font-title);
  font-weight: 400;
  letter-spacing: .02em;
}
.landing-line, .landing-cta, .stagebar .header-add {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .035em;
}
.nav-tile b { font-family: var(--font-title); color: var(--scene-ink); }
.page-heading h1, .plan-heading h1,
.section-heading h2, .home-inner .section-heading h2 {
  font-family: var(--font-title);
  font-weight: 400;
  color: var(--heading);
}

.landing-phrase {
  font: 700 clamp(48px,6.6vw,100px)/.97 var(--font-en);
  letter-spacing: -.025em;
}
.landing-phrase span:first-child {
  font-size: .72em;
  letter-spacing: -.012em;
}
.landing-phrase span + span { margin-top: .07em; }
.landing-line {
  font: 400 clamp(14px,1.3vw,18px)/1.4 var(--font-en);
  letter-spacing: .015em;
}
.landing-line cite { font-style: normal; }
@media (max-width: 760px) {
  .landing-phrase { font-size: clamp(32px,8.5vw,58px); }
  .landing-phrase span:first-child { font-size: .86em; }
}
