/* ==========================================================================
   恒沃体育 HENGWO SPORTS — Design System
   国际教育 × 体育竞技 · 克制、可信、编辑型
   ========================================================================== */

:root {
  /* ---- Color: 深海军蓝主色 / 米白暖灰底 / 砖红点缀 ---- */
  --navy-900: #0a1a2f;
  --navy-800: #0f2540;
  --navy-700: #16334f;
  --navy-600: #1e4160;
  --navy-500: #2b5476;
  --navy-300: #6b8299;
  --navy-100: #d5dee6;
  --navy-50: #eef2f6;

  --brick-600: #9c3327;
  --brick-500: #b03d2e;
  --brick-400: #c2543f;
  --brick-100: #f4e4e0;

  --cream: #f7f5f1;
  --cream-dark: #efece5;
  --paper: #fdfcfa;

  --ink-900: #14181d;
  --ink-700: #2f3944;
  --ink-500: #5b6874;
  --ink-400: #7d8894;
  --ink-300: #a8b2bc;
  --line: #e2ddd4;
  --line-cool: #dde3e9;

  --white: #ffffff;

  /* ---- Typography ---- */
  --font-serif: "Noto Serif SC", "Songti SC", "Source Han Serif SC", "SimSun", Georgia, serif;
  --font-sans: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, monospace;

  /* ---- Spacing scale ---- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  /* ---- Layout ---- */
  --maxw: 1240px;
  --maxw-narrow: 880px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 76px;

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* ---- Elevation (克制，不用发光) ---- */
  --shadow-sm: 0 1px 2px rgba(10, 26, 47, 0.04), 0 2px 8px rgba(10, 26, 47, 0.03);
  --shadow-md: 0 2px 4px rgba(10, 26, 47, 0.04), 0 8px 24px rgba(10, 26, 47, 0.06);
  --shadow-lg: 0 4px 8px rgba(10, 26, 47, 0.05), 0 20px 48px rgba(10, 26, 47, 0.10);
}

/* ==========================  Reset  ========================== */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-700);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--brick-100); color: var(--navy-900); }

/* ==========================  Focus  ========================== */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--brick-500);
  outline-offset: 3px;
  border-radius: 2px;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 999;
  background: var(--navy-900);
  color: var(--white);
  padding: 12px 20px;
  font-size: 14px;
  border-radius: 2px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ==========================  Typography  ==========================
   层级规则（克制，只靠字族/字重/字距拉开，不加装饰）：
   - h1：衬线 700，字距收紧，是页面唯一的大声量
   - h2：衬线 600，正常字距
   - h3：衬线 600，略小
   - h4：无衬线 600 + 小字距，承担"小标题/栏目标签"角色（与正文拉开而非与 h3 混同）
   - 正文：无衬线 400
   - 强调：<strong> 加深到 600 并转深色，不用加粗到 700 抢标题的层级
   ================================================================== */
h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--navy-900);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.028em;
}
h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.24;
  letter-spacing: -0.018em;
}
h3 { font-size: clamp(19px, 2vw, 24px); letter-spacing: -0.008em; }
/* h4 在本站几乎都是中文短句（栏目名/步骤名），不做全大写与大字距，
   改用「无衬线 + 500 + 正常字距 + 稍小字号」与衬线标题区分层级 */
h4 {
  font-size: 14px;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--navy-800);
  line-height: 1.5;
}

/* 正文基础：16px / 1.78 是长文阅读的舒适位，不压到 1.7 以下 */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.78;
  color: var(--ink-700);
  background: var(--paper);
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

p { text-wrap: pretty; }
p + p { margin-top: 0.9em; }

/* 强调：只加半档，保持与标题的层级差 */
strong, b { font-weight: 600; color: var(--navy-900); }

/* 引导段：比正文大一号、行距更松、颜色略浅，用于承接 h1/h2 之后的说明 */
.lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.82;
  color: var(--ink-500);
  max-width: 68ch;
  letter-spacing: 0.002em;
}

/* 小标签 / 眉标：无衬线大写，字距拉开，视觉上最轻 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brick-500);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow--light { color: #d9a99d; }

.lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.85;
  color: var(--ink-500);
  max-width: 68ch;
}

.serif-num {
  font-family: var(--font-serif);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

/* ==========================  Layout  ========================== */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--maxw-narrow); }

.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy-900); color: var(--navy-100); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-6);
  margin-bottom: var(--sp-7);
  flex-wrap: wrap;
}
.section-head__text { max-width: 62ch; }
.section-head h2 { margin-top: var(--sp-3); }
.section-head .lede { margin-top: var(--sp-4); }

.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 960px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================  Buttons  ========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease), transform 0.22s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
}
.btn svg { width: 15px; height: 15px; flex: none; }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--brick-500);
  color: var(--white);
  border-color: var(--brick-500);
}
.btn--primary:hover { background: var(--brick-600); border-color: var(--brick-600); }

.btn--navy {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}
.btn--navy:hover { background: var(--navy-700); border-color: var(--navy-700); }

.btn--ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: rgba(10, 26, 47, 0.22);
}
.btn--ghost:hover { border-color: var(--navy-900); background: rgba(10, 26, 47, 0.04); }

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.6); }

.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-800);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s var(--ease), gap 0.2s var(--ease);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform 0.24s var(--ease); }
.link-arrow:hover { border-bottom-color: var(--brick-500); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ==========================  Tag / Badge  ========================== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  border-radius: 2px;
  background: var(--navy-50);
  color: var(--navy-600);
  border: 1px solid var(--line-cool);
  white-space: nowrap;
}
.tag--brick { background: var(--brick-100); color: var(--brick-600); border-color: #ecd2cb; }
.tag--verified { background: #e7f0e9; color: #2e6b45; border-color: #cfe2d5; }
.tag--pending { background: #f6f0e2; color: #8a6a24; border-color: #ece0c6; }
.tag--muted { background: var(--cream-dark); color: var(--ink-500); border-color: var(--line); }
/* 已核实设 Varsity 的体育项目：区别于普通项目标签，只用于 status==='yes' 的校队 */
.tag--var { background: rgba(22,50,79,0.06); color: var(--navy-700); border-color: rgba(22,50,79,0.2); font-weight: 600; }

/* Prep 标记：砖红系，与「V」的深蓝形成区分——一个是学校类型，一个是校队层级 */
.tag--prep {
  background: rgba(163, 74, 52, 0.08);
  color: #8f3f27;
  border-color: rgba(163, 74, 52, 0.26);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.chip--prep:hover { border-color: rgba(163, 74, 52, 0.5); }
.chip--prep[aria-pressed="true"] { background: #8f3f27; border-color: #8f3f27; color: #fff; }

/* 详情页：学校类型区块 */
.detail-block--prep {
  border-left: 3px solid #a34a34;
  background: linear-gradient(90deg, rgba(163, 74, 52, 0.045), transparent 62%);
  padding-left: 22px;
}
.detail-block--prep-off {
  border-left: 3px solid var(--line-cool);
  background: none;
  padding-left: 22px;
}
.prep-badge-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.prep-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  background: #a34a34;
  border-radius: 2px;
}
.prep-badge-sub { font-size: 11.5px; color: var(--ink-400); letter-spacing: 0.08em; text-transform: uppercase; }
.prep-lead { font-size: 14.5px; line-height: 1.85; color: var(--ink-700); margin-bottom: 12px; }
.prep-note {
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--ink-400);
  border-top: 1px solid var(--line-cool);
  padding-top: 12px;
  margin-top: 4px;
}
.prep-note--warn { color: var(--ink-500); }

/* ==========================  Header  ========================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.32s var(--ease), box-shadow 0.32s var(--ease),
    border-color 0.32s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}

/* 顶部透明态（仅在首页 Hero / 内页照片页头上方） */
.site-header--over {
  background: linear-gradient(180deg, rgba(10, 26, 47, 0.72) 0%, rgba(10, 26, 47, 0.28) 62%, transparent 100%);
}
/* 说明：首屏深色态不再用 CSS 兜底，改由 HTML 直接写 .site-header--over 初始类，
   避免 :has() 在旧浏览器失效导致的闪色。 */
/* 滚动后 / 内页：实底浅色 */
.site-header--solid {
  background: rgba(253, 252, 250, 0.96);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(10, 26, 47, 0.03);
}

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
/* 标识本身是透明底 PNG，任何状态下都不加背景块 */
/* 原图四周留白多，用负 margin 把图形视觉放大，同时不顶高导航条 */
.brand__mark {
  height: 42px;
  width: auto;
  display: block;
  background: none;
  margin: -6px 0;
}
@media (max-width: 560px) { .brand__mark { height: 36px; margin: -5px 0; } }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__cn {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy-900);
}
.brand__en {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--ink-400);
  text-transform: uppercase;
}
.site-header--over .brand__cn { color: var(--white); }
.site-header--over .brand__en { color: rgba(255, 255, 255, 0.62); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 13px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  border-radius: 2px;
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 1.5px;
  background: var(--brick-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--navy-900); font-weight: 600; }
.site-header--over .nav__link { color: rgba(255, 255, 255, 0.86); }
.site-header--over .nav__link:hover,
.site-header--over .nav__link[aria-current="page"] { color: var(--white); }

.nav__sub {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 208px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  border-radius: 2px;
}
.nav__item:hover .nav__sub,
.nav__item:focus-within .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__sub a {
  display: block;
  padding: 9px 12px;
  font-size: 13.5px;
  color: var(--ink-700);
  border-radius: 2px;
  transition: background 0.16s, color 0.16s;
}
.nav__sub a:hover { background: var(--cream); color: var(--navy-900); }

.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
/* 后台是低频入口，与主 CTA 之间留一道更明显的间隔，避免两个按钮挤成一团 */
.header__actions .btn + .header__admin { margin-left: 8px; }

/* 后台入口：右上角常驻按钮。
   早期做成纯文字，在照片页头上几乎看不见、且 1024px 以下被隐藏，
   导致用户以为「后台没加进去」。现在改为描边按钮 + 小锁图标，
   任何视口宽度都保留，页面再窄也不会被 display:none 掉。 */
.header__admin {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 26, 47, 0.16);
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  white-space: nowrap;
  flex: none;
}
.header__admin svg { width: 13px; height: 13px; flex: none; }
.header__admin:hover {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}
.header__admin:focus-visible { outline: 2px solid var(--brick-500); outline-offset: 3px; }

/* 深色页头（首页 hero / 内页 page-head）上换成半透明深色底 + 白字，保证对比度 */
.site-header--over .header__admin {
  background: rgba(10, 26, 47, 0.42);
  border-color: rgba(255, 255, 255, 0.34);
  color: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.site-header--over .header__admin:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy-900);
}

/* 中等宽度：先收起语言切换，给后台按钮让位 */
@media (max-width: 1180px) {
  .header__actions .lang-switch { display: none; }
}
@media (max-width: 900px) {
  /* 手机上主 CTA 收进抽屉，后台按钮保留 */
  .header__actions .btn { display: none; }
  .header__admin { padding: 6px 11px; font-size: 12px; }
}
@media (max-width: 560px) {
  /* 极窄屏：只留图标，避免挤压 logo 与菜单键 */
  .header__admin span { display: none; }
  .header__admin { padding: 8px; border-radius: 50%; }
  .header__admin svg { width: 15px; height: 15px; }
}

/* 静态预览模式（无 Python 后端时由 core.js 给 <html> 加 .is-static）：
   问卷提交与后台入口依赖 /api，隐藏而不是留一个会 404 的按钮。
   问卷的提交按钮由 JS 渲染，故在 assessment.js 里按 HW.isStatic() 决定是否输出。 */
html.is-static .header__admin,
html.is-static .footer-admin-link { display: none !important; }
html.is-static .drawer__foot a[href*="admin-login"] { display: none !important; }
/* 静态模式下问卷尾部补一句说明，避免用户以为填完没处交 */
html.is-static .form-static-note { display: block; }
.form-static-note { display: none; font-size: 12.5px; line-height: 1.7; color: var(--ink-400); margin-top: 14px; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(10, 26, 47, 0.18);
  border-radius: 2px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
}
.site-header--over .lang-switch { border-color: rgba(255, 255, 255, 0.3); }
.lang-switch button {
  padding: 6px 10px;
  color: var(--ink-500);
  transition: background 0.18s, color 0.18s;
  line-height: 1;
}
.site-header--over .lang-switch button { color: rgba(255, 255, 255, 0.7); }
.lang-switch button[aria-pressed="true"] {
  background: var(--navy-900);
  color: var(--white);
}
.site-header--over .lang-switch button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy-900);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(10, 26, 47, 0.18);
  border-radius: 2px;
}
.site-header--over .menu-toggle { border-color: rgba(255, 255, 255, 0.3); }
.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--navy-900);
  position: relative;
  transition: background 0.2s;
}
.site-header--over .menu-toggle span { background: var(--white); }
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: inherit;
  transition: transform 0.24s var(--ease), top 0.24s var(--ease);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
body.nav-open .menu-toggle span { background: transparent; }
body.nav-open .menu-toggle span::before { top: 0; transform: rotate(45deg); background: var(--navy-900); }
body.nav-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); background: var(--navy-900); }
body.nav-open .site-header { background: var(--paper); }
body.nav-open .site-header--solid { background: var(--paper); }

/* 抽屉菜单 */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--paper);
  padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.38s var(--ease-out), visibility 0.38s;
  overflow-y: auto;
  overscroll-behavior: contain;
}
body.nav-open .drawer { transform: translateY(0); visibility: visible; }
.drawer__nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.drawer__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 2px;
  font-size: 17px;
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--navy-900);
  border-bottom: 1px solid var(--line);
}
.drawer__nav a svg { width: 16px; height: 16px; color: var(--ink-300); }
.drawer__nav a[aria-current="page"] { color: var(--brick-500); }
.drawer__foot { margin-top: 28px; display: grid; gap: 10px; }
.drawer__meta {
  margin-top: 24px;
  font-size: 12px;
  color: var(--ink-400);
  letter-spacing: 0.04em;
}

@media (max-width: 1120px) {
  .nav__link { padding: 10px 9px; font-size: 13.5px; }
}
@media (max-width: 1024px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header__actions .btn { display: none; }
}

/* ==========================  Hero  ========================== */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: flex-end;
  background: var(--navy-900);
  overflow: hidden;
}
/* 层级统一用正值（与内页 page-head 一致）：照片 0 → 蒙版 1 → 文字 2。
   不用 isolation + 负 z-index，避免部分浏览器把照片压到容器背景之下只露半截。 */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media .hero__frame {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}
.hero__media .hero__frame.is-active { opacity: 1; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0.9;
  animation: heroZoom 22s var(--ease-out) forwards;
}
.hero__frame--campus img { object-position: center 54%; opacity: 0.72; }
@keyframes heroZoom {
  from { transform: scale(1.07); }
  to { transform: scale(1); }
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 26, 47, 0.66) 0%, rgba(10, 26, 47, 0.30) 34%, rgba(10, 26, 47, 0.58) 72%, rgba(10, 26, 47, 0.94) 100%),
    linear-gradient(94deg, rgba(10, 26, 47, 0.82) 0%, rgba(10, 26, 47, 0.24) 58%, transparent 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(48px, 6vw, 84px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: var(--sp-7);
  align-items: end;
}
.hero__copy { max-width: 40ch; }
.hero__copy h1 {
  color: var(--white);
  margin-top: var(--sp-4);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.24);
}
.hero__copy h1 em {
  font-style: normal;
  color: #f0c9bf;
  position: relative;
}
.hero__sub {
  margin-top: var(--sp-5);
  font-size: clamp(15px, 1.3vw, 17.5px);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.82);
  max-width: 44ch;
}
.hero__cta { margin-top: var(--sp-6); display: flex; gap: 12px; flex-wrap: wrap; }



.hero__aside {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: var(--sp-6);
  padding-bottom: 4px;
}
.hero__aside dl { display: grid; gap: 18px; }
.hero__aside div { display: grid; gap: 2px; }
.hero__aside dt {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}
.hero__aside dd {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--white);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.hero__aside dd small {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.56);
  margin-left: 8px;
  letter-spacing: 0.02em;
}
.hero__note {
  margin-top: var(--sp-5);
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 12px;
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  writing-mode: vertical-rl;
  display: none;
}

@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 72px); }
  .hero__inner { grid-template-columns: 1fr; gap: var(--sp-6); padding-bottom: 48px; }
  .hero__aside { border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.18); padding-left: 0; padding-top: var(--sp-5); }
  .hero__aside dl { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero__aside dd { font-size: 20px; }
  .hero__aside dd small { display: block; margin-left: 0; font-size: 11px; }
  .hero__aside dt { font-size: 10px; letter-spacing: 0.1em; }
}

/* 内页页头：照片与文字在同一容器内叠合（不是上下两块）
   层级全部用正值：照片 0 → 蒙版 1 → 文字 2。不使用 z-index 负值与 isolation，
   避免祖先 isolation/overflow 导致图片被压到容器背景之下、只露出半截。 */
.page-head {
  background: var(--navy-900);
  color: var(--white);
  /* 短版 hero：与首页同构（照片铺满 + 文字压在图上），但不占满一屏 */
  padding: calc(var(--header-h) + clamp(40px, 5.4vw, 72px)) 0 clamp(40px, 5.2vw, 68px);
  min-height: clamp(340px, 40vh, 460px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
/* 照片层：铺满容器，与文字区域完全重叠 */
.page-head__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--navy-900);
}
/* 多帧交叉淡入：每帧绝对定位叠死，靠 opacity 轮转，形似慢速幻灯片 */
.page-head__frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2.4s var(--ease-out);
  will-change: opacity;
}
.page-head__frame.is-active { opacity: 1; }
.page-head__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  display: block;
  transform: scale(1.04);
}
/* 仅对当前帧推进缓慢 zoom，切换时重新起步，视觉上不会跳 */
.page-head__frame.is-active img {
  animation: pageHeadDrift 18s var(--ease-out) forwards;
}
@keyframes pageHeadDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.11) translate3d(-1.2%, -0.8%, 0); }
}
/* 变体：不同页面用不同照片，避免全站内页长得一样 */
.page-head--court .page-head__media img { object-position: center 40%; }
.page-head--campus .page-head__media img { object-position: center 56%; }
.page-head--gym .page-head__media img { object-position: center 44%; }
.page-head--field .page-head__media img { object-position: center 52%; }
.page-head--strength .page-head__media img { object-position: center 42%; }
.page-head--chapel .page-head__media img { object-position: center 50%; }

/* 蒙版：与首页 hero 同构（左重右轻 + 底部压深托字），保证白字对比度又看得见照片 */
.page-head__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 26, 47, 0.58) 0%, rgba(10, 26, 47, 0.22) 36%, rgba(10, 26, 47, 0.56) 74%, rgba(10, 26, 47, 0.92) 100%),
    linear-gradient(94deg, rgba(10, 26, 47, 0.82) 0%, rgba(10, 26, 47, 0.30) 56%, transparent 100%);
}
/* 无照片时的退化层：保留原来的细网格 + 砖红晕染，不至于变纯色块 */
.page-head--plain::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 120% at 88% 0%, rgba(176, 61, 46, 0.16), transparent 62%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 76px);
  pointer-events: none;
}
.page-head__inner { position: relative; z-index: 2; }
.page-head h1 {
  color: var(--white);
  max-width: 22ch;
  text-shadow: 0 1px 28px rgba(0, 0, 0, 0.34), 0 1px 3px rgba(0, 0, 0, 0.18);
}
.page-head .lede {
  color: rgba(255, 255, 255, 0.84);
  margin-top: var(--sp-4);
  max-width: 56ch;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4);
}
.page-head__crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: var(--sp-5);
  flex-wrap: wrap;
}
.page-head__crumbs a:hover { color: var(--white); }
.page-head__crumbs span { color: rgba(255, 255, 255, 0.36); }

/* ==========================  Cards  ========================== */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: var(--sp-5);
  transition: border-color 0.24s var(--ease), box-shadow 0.24s var(--ease),
    transform 0.24s var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card--hover:hover {
  border-color: var(--navy-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card__idx {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--brick-400);
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-3);
  display: block;
}
.card h3 { margin-bottom: 10px; font-size: 18.5px; letter-spacing: -0.006em; }
.card p { font-size: 14.5px; line-height: 1.8; color: var(--ink-500); }
.card__list {
  margin-top: var(--sp-4);
  display: grid;
  gap: 7px;
  font-size: 13.5px;
  color: var(--ink-500);
}
.card__list li { display: flex; gap: 9px; align-items: flex-start; line-height: 1.65; }
.card__list li::before {
  content: "";
  flex: none;
  width: 4px;
  height: 4px;
  margin-top: 9px;
  background: var(--brick-400);
  border-radius: 50%;
}

/* 价值模块：无边框的编辑型列表 */
.value-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.value-item {
  padding: var(--sp-6) var(--sp-5) var(--sp-5) 0;
  border-right: 1px solid var(--line);
}
.value-item:last-child { border-right: none; }
.value-item + .value-item { padding-left: var(--sp-5); }
.value-item__no {
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--brick-400);
}
.value-item h3 { font-size: 18px; margin: 12px 0 10px; }
.value-item p { font-size: 14px; line-height: 1.78; color: var(--ink-500); }

@media (max-width: 900px) {
  .value-list { grid-template-columns: 1fr 1fr; }
  .value-item:nth-child(2) { border-right: none; }
  .value-item:nth-child(1), .value-item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .value-item:nth-child(3) { padding-left: 0; }
}
@media (max-width: 560px) {
  .value-list { grid-template-columns: 1fr; }
  .value-item { border-right: none; border-bottom: 1px solid var(--line); padding-left: 0 !important; }
  .value-item:last-child { border-bottom: none; }
}

/* 双路径卡片 */
.path-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  background: var(--white);
}
.path-card__media { position: relative; min-height: 320px; background: var(--navy-800); overflow: hidden; }
.path-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.path-card:hover .path-card__media img { transform: scale(1.035); }
.path-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 26, 47, 0.06), rgba(10, 26, 47, 0.44));
}
.path-card__label {
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 1;
  background: rgba(253, 252, 250, 0.94);
  color: var(--navy-900);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 6px 11px;
  border-radius: 2px;
}
.path-card__body {
  padding: clamp(24px, 3.4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.path-card__body h3 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 6px; }
.path-card__body .en {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-400);
  font-weight: 600;
  margin-bottom: var(--sp-4);
}
.path-card__body p { font-size: 14.5px; color: var(--ink-500); line-height: 1.8; }
.path-card__foot { margin-top: var(--sp-5); display: flex; align-items: center; gap: var(--sp-5); flex-wrap: wrap; }

@media (max-width: 760px) {
  .path-card { grid-template-columns: 1fr; }
  .path-card__media { min-height: 210px; }
}

/* ==========================  Map  ========================== */
.map-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  height: clamp(560px, 72vh, 700px);
}
.map-arena {
  background: #f2f5f8;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.map-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.map-toolbar__select {
  appearance: none;
  -webkit-appearance: none;
  padding: 8px 30px 8px 12px;
  font-size: 13px;
  border: 1px solid var(--line-cool);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235b6874' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  border-radius: 2px;
  color: var(--ink-700);
  cursor: pointer;
  max-width: 190px;
}
.map-toolbar__btn {
  padding: 8px 13px;
  font-size: 12.5px;
  font-weight: 500;
  border: 1px solid var(--line-cool);
  background: var(--white);
  color: var(--ink-700);
  border-radius: 2px;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.map-toolbar__btn:hover { border-color: var(--navy-300); color: var(--navy-900); }
.map-toolbar__btn[aria-pressed="true"] {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.map-canvas { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; }
.map-canvas svg { width: 100%; height: auto; max-height: 100%; overflow: visible; }

/* 注意：fill 由 JS 按密度分档内联写入，CSS 不要给 .st 设 fill，否则会覆盖内联值 */
.map-svg .st {
  stroke: #f7fafc;
  stroke-width: 1.1;
  cursor: pointer;
  transition: fill 0.18s var(--ease);
}
.map-svg .st:hover { fill: #0f2540; }
.map-svg .st.has-focus { stroke: #b03d2e; stroke-width: 1.4; }
.map-svg .st.is-selected { stroke: #0a1a2f; stroke-width: 2.2; }
.map-svg .st.is-empty { fill: #e2e7ec; cursor: default; }
.map-svg .st:focus-visible { outline: 2px solid var(--brick-500); outline-offset: 1px; }

.map-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--ink-400);
}
.map-legend__scale { display: flex; align-items: center; gap: 6px; }
.map-legend__swatches { display: flex; gap: 2px; }
.map-legend__swatches i { width: 18px; height: 9px; display: block; }

.map-fallback-note {
  position: absolute;
  inset: auto 20px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 12px 14px;
  font-size: 12.5px;
  color: var(--ink-500);
  border-radius: 2px;
  box-shadow: var(--shadow-sm);
  display: none;
}
.map-canvas.is-failed .map-fallback-note { display: block; }
.map-canvas.is-failed svg { opacity: 0.18; }

/* 右侧面板 */
.map-panel { background: var(--white); display: flex; flex-direction: column; min-height: 0; }
.map-panel__head { padding: 20px 20px 14px; border-bottom: 1px solid var(--line); }
.map-panel__title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.map-panel__title h3 { font-size: 19px; }
.map-panel__count {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.map-panel__stats {
  display: flex;
  gap: 18px;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--ink-500);
  flex-wrap: wrap;
}
.map-panel__stats b { color: var(--navy-900); font-weight: 600; font-variant-numeric: tabular-nums; }

.map-filters { padding: 14px 20px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.map-search {
  position: relative;
}
.map-search input {
  width: 100%;
  padding: 10px 12px 10px 34px;
  font-size: 13.5px;
  border: 1px solid var(--line-cool);
  border-radius: 2px;
  background: var(--paper);
  transition: border-color 0.18s, background 0.18s;
}
.map-search input:focus { border-color: var(--navy-500); background: var(--white); }
.map-search svg {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--ink-300);
  pointer-events: none;
}
.chip-row { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--line-cool);
  border-radius: 2px;
  color: var(--ink-500);
  background: var(--white);
  transition: all 0.18s var(--ease);
}
.chip:hover { border-color: var(--navy-300); }
.chip[aria-pressed="true"] {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.map-list { overflow-y: auto; flex: 1; min-height: 0; scrollbar-width: thin; }
.map-list__item {
  display: block;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  transition: background 0.16s;
}
.map-list__item:hover { background: var(--cream); }
.map-list__item.is-active { background: var(--cream-dark); box-shadow: inset 2px 0 0 var(--brick-500); }
.map-list__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.map-list__name { font-size: 14.5px; font-weight: 600; color: var(--navy-900); line-height: 1.45; }
.map-list__en { font-size: 11.5px; color: var(--ink-400); margin-top: 1px; line-height: 1.5; }
.map-list__loc { font-size: 12px; color: var(--ink-500); margin-top: 6px; display: flex; align-items: center; gap: 6px; }
.map-list__tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 8px; }
.map-list__tags .tag { font-size: 11px; padding: 2px 7px; }
.map-list__empty {
  padding: 40px 24px;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-400);
  line-height: 1.8;
}
.map-list__empty strong { display: block; color: var(--ink-700); font-size: 14px; margin-bottom: 6px; }

@media (max-width: 1024px) {
  /* 单列后若继续锁死 height，地图会吃掉全部高度、把学校列表挤出可视区 */
  .map-shell { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .map-arena { padding: 16px; }
  .map-canvas { flex: none; min-height: 210px; }
  .map-canvas svg { width: 100%; height: auto; max-height: none; }
  .map-list { max-height: 420px; }
}

@media (max-width: 560px) {
  .map-arena { padding: 12px; }
  .map-panel__head { padding: 16px 14px 12px; }
  .map-legend { gap: 8px; font-size: 10.5px; }
  .map-legend > span[style*="margin-left:auto"] { margin-left: 0 !important; }
  .map-list { max-height: none; }
}

/* ==========================  Process  ========================== */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.process__step {
  padding: var(--sp-5) var(--sp-4) var(--sp-5) 0;
  border-top: 2px solid var(--navy-900);
  position: relative;
}
.process__step + .process__step { padding-left: var(--sp-4); }
.process__no {
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1;
  color: var(--navy-100);
  font-weight: 700;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.process__step.is-active .process__no { color: var(--brick-500); }
/* 流程步骤标题：这里是句子式标题，不走全大写小标签规则 */
.process__step h4 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 8px;
  font-family: var(--font-sans);
}
.process__step p { font-size: 13px; line-height: 1.72; color: var(--ink-500); }

@media (max-width: 900px) {
  .process { grid-template-columns: repeat(2, 1fr); }
  .process__step { border-top-width: 1px; padding-left: 0 !important; }
  .process__step:nth-child(odd) { border-top-color: var(--line); }
}
@media (max-width: 520px) {
  .process { grid-template-columns: 1fr; }
}

/* ==========================  Team  ========================== */
.team-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: var(--sp-5);
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.team-card__mono {
  width: 168px;
  aspect-ratio: 1;
  background: var(--navy-900);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
  overflow: hidden;
}
.team-card__mono::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 7px);
}
.team-card__mono b {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--white);
  position: relative;
  z-index: 2;
}
.team-card__mono span {
  font-size: 9px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.62);
  position: relative;
  z-index: 2;
}
.team-card__body h3 { font-size: 20px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.team-card__body h3 span {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-400);
  font-weight: 600;
  text-transform: uppercase;
}
.team-card__role { font-size: 13.5px; color: var(--brick-500); font-weight: 600; margin-top: 4px; }
.team-card__body p { font-size: 14px; line-height: 1.78; color: var(--ink-500); margin-top: 10px; }
.team-card__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }

@media (max-width: 620px) {
  .team-card { grid-template-columns: 1fr; gap: var(--sp-4); }
  .team-card__mono { width: 108px; }
  .team-card__mono b { font-size: 26px; }
}

/* ==========================  CTA band  ========================== */
.cta-band {
  position: relative;
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 100% at 12% 50%, rgba(176, 61, 46, 0.22), transparent 66%),
    repeating-linear-gradient(115deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 90px);
}
.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--sp-7);
  align-items: center;
  padding-block: clamp(48px, 6vw, 80px);
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, 0.72); margin-top: var(--sp-4); font-size: 15.5px; line-height: 1.85; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 820px) {
  .cta-band__inner { grid-template-columns: 1fr; }
  .cta-band__actions { justify-content: flex-start; }
}

/* ==========================  Facts / 可信度  ========================== */
.fact-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.fact {
  background: var(--white);
  padding: var(--sp-5);
}
.fact__num {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 38px);
  color: var(--navy-900);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.fact__num small { font-size: 14px; font-family: var(--font-sans); font-weight: 500; color: var(--ink-400); margin-left: 4px; }
.fact__label { font-size: 13px; color: var(--ink-500); margin-top: 8px; line-height: 1.6; }
.fact__src { font-size: 10.5px; color: var(--ink-300); margin-top: 8px; letter-spacing: 0.02em; }
@media (max-width: 760px) { .fact-row { grid-template-columns: 1fr 1fr; } }

/* ==========================  Questionnaire  ========================== */
.form-shell {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  gap: var(--sp-7);
  align-items: start;
}
.form-steps { position: sticky; top: calc(var(--header-h) + 24px); }
.form-steps ol { display: grid; gap: 0; counter-reset: s; }
.form-step {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  border-left: 2px solid var(--line);
  padding-left: 16px;
  font-size: 14px;
  color: var(--ink-400);
  transition: color 0.22s, border-color 0.22s;
  cursor: default;
  align-items: flex-start;
}
.form-step__n {
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  flex: none;
  padding-top: 2px;
}
.form-step.is-active { color: var(--navy-900); border-left-color: var(--brick-500); font-weight: 600; }
.form-step.is-done { color: var(--ink-700); border-left-color: var(--navy-500); }
.form-step.is-done .form-step__n::after { content: " ✓"; color: #2e6b45; }

.form-main {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(22px, 3.4vw, 44px);
  border-radius: 2px;
  min-height: 420px;
}
.progress {
  height: 3px;
  background: var(--navy-50);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: var(--sp-6);
}
.progress__bar {
  height: 100%;
  background: var(--brick-500);
  width: 20%;
  transition: width 0.42s var(--ease);
}
.form-title { margin-bottom: 6px; }
.form-desc { font-size: 14px; color: var(--ink-500); margin-bottom: var(--sp-6); line-height: 1.8; }

.field { margin-bottom: var(--sp-5); }
.field--half-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.field label, .field .label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 7px;
  line-height: 1.6;
}
.req { color: var(--brick-500); margin-left: 3px; font-weight: 700; }
.hint { display: block; font-size: 12px; font-weight: 400; color: var(--ink-400); margin-top: 2px; line-height: 1.65; }

.input, .select, .textarea {
  width: 100%;
  padding: 11px 13px;
  font-size: 14.5px;
  color: var(--ink-900);
  background: var(--paper);
  border: 1px solid var(--line-cool);
  border-radius: 2px;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--navy-300); }
.input:focus, .select:focus, .textarea:focus {
  background: var(--white);
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(30, 65, 96, 0.08);
  outline: none;
}
.textarea { min-height: 96px; resize: vertical; line-height: 1.72; }
.select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235b6874' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 34px;
  cursor: pointer;
}
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] {
  border-color: var(--brick-500);
  background: #fdf7f6;
}
.field__error {
  display: none;
  font-size: 12.5px;
  color: var(--brick-600);
  margin-top: 6px;
  align-items: center;
  gap: 5px;
  line-height: 1.6;
}
.field__error.is-shown { display: flex; }

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: 14px;
  border: 1px solid var(--line-cool);
  border-radius: 2px;
  background: var(--paper);
  cursor: pointer;
  transition: all 0.18s var(--ease);
  line-height: 1.4;
}
.choice:hover { border-color: var(--navy-300); background: var(--white); }
.choice.choice:has(input:checked):hover { border-color: var(--navy-900); }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice__box {
  width: 15px;
  height: 15px;
  border: 1.5px solid var(--ink-300);
  border-radius: 2px;
  flex: none;
  display: grid;
  place-items: center;
  transition: all 0.16s var(--ease);
  background: var(--white);
}
.choice--radio .choice__box { border-radius: 50%; }
.choice__box::after {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--white);
  border-radius: 1px;
  transform: scale(0);
  transition: transform 0.16s var(--ease);
}
.choice--radio .choice__box::after { border-radius: 50%; }
.choice input:checked + .choice__box { background: var(--navy-900); border-color: var(--navy-900); }
.choice input:checked + .choice__box::after { transform: scale(1); }
/* 选中态：整行描边用 :has() 增强；不支持的浏览器降级为上方 input:checked + .choice__box 的勾选高亮，功能不受影响 */
/* 选中态：整行描边。用 .choice.choice 提权，避免被 .choice:hover（0,2,0）压掉 */
.choice.choice:has(input:checked) {
  border-color: var(--navy-900);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--navy-900);
}
.choice input:focus-visible + .choice__box { outline: 2px solid var(--brick-500); outline-offset: 2px; }

.consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: var(--sp-4);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 13px;
  line-height: 1.78;
  color: var(--ink-700);
}
.consent input { margin-top: 4px; width: 16px; height: 16px; flex: none; accent-color: var(--navy-900); }

.form-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.form-nav__right { display: flex; gap: 10px; margin-left: auto; }

.review-grid { display: grid; gap: 0; border-top: 1px solid var(--line); }
.review-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: var(--sp-4);
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.review-row dt { color: var(--ink-400); }
.review-row dd { color: var(--ink-900); font-weight: 500; word-break: break-word; }

.form-success { text-align: center; padding: var(--sp-8) var(--sp-4); }
.form-success__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #e7f0e9;
  color: #2e6b45;
  display: grid;
  place-items: center;
  margin: 0 auto var(--sp-5);
}
.form-success__icon svg { width: 26px; height: 26px; }
.form-success h3 { font-size: 24px; margin-bottom: var(--sp-4); }
.form-success p { font-size: 14.5px; color: var(--ink-500); line-height: 1.85; max-width: 46ch; margin: 0 auto; }
.form-success__ref {
  display: inline-block;
  margin-top: var(--sp-5);
  padding: 8px 14px;
  background: var(--cream);
  border: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--navy-800);
  letter-spacing: 0.06em;
}
/* 回执号：提交成功后的唯一凭据，视觉上要压得住，方便抄写与核对 */
.ref-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--sp-5);
  padding: 12px 20px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.ref-box__k { font-size: 11.5px; letter-spacing: 0.06em; color: var(--ink-400); }
.ref-box__v {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--navy-800);
  user-select: all;
}
.ref-box__t { font-size: 11.5px; color: var(--ink-400); font-family: var(--font-mono); }


@media (max-width: 900px) {
  .form-shell { grid-template-columns: 1fr; gap: var(--sp-5); }
  .form-steps { position: static; }
  .form-steps ol { grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
  .form-step {
    border-left: none;
    border-top: 2px solid transparent;
    margin-top: -1px;
    padding: 10px 4px 0 0;
    font-size: 11.5px;
    flex-direction: column;
    gap: 2px;
  }
  .form-step.is-active { border-top-color: var(--brick-500); }
  .form-step.is-done { border-top-color: var(--navy-500); }
}

/* ==========================  School detail  ========================== */
.school-hero {
  background: var(--navy-900);
  color: var(--white);
  padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) 0 clamp(36px, 5vw, 56px);
}
.school-hero__top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-5); flex-wrap: wrap; }
.school-hero h1 { color: var(--white); font-size: clamp(26px, 3.6vw, 42px); }
.school-hero__en {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 8px;
  font-weight: 500;
}
.school-hero__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: var(--sp-5); }
.school-hero__meta .tag { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.9); }
.school-hero__meta .tag--verified { background: rgba(46,107,69,0.3); border-color: rgba(120,190,150,0.4); color: #c8e6d2; }

.fav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  transition: all 0.2s var(--ease);
  background: transparent;
}
.fav-btn:hover { background: rgba(255, 255, 255, 0.1); }
.fav-btn svg { width: 15px; height: 15px; }
.fav-btn[aria-pressed="true"] { background: var(--brick-500); border-color: var(--brick-500); color: var(--white); }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--sp-7); align-items: start; }
.detail-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: var(--sp-4); }
.detail-block { margin-bottom: var(--sp-7); }
.detail-block h2 { font-size: 22px; margin-bottom: var(--sp-4); padding-bottom: 10px; border-bottom: 1px solid var(--line); }

.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.kv > div { background: var(--white); padding: 14px 16px; }
.kv dt { font-size: 11.5px; color: var(--ink-400); letter-spacing: 0.04em; margin-bottom: 3px; }
.kv dd { font-size: 14px; color: var(--ink-900); font-weight: 500; line-height: 1.55; word-break: break-word; }
.kv dd.is-pending { color: var(--ink-400); font-weight: 400; font-style: normal; }

.sport-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.sport-item { background: var(--white); padding: 16px; display: flex; gap: 12px; align-items: flex-start; }
.sport-item__icon {
  width: 32px; height: 32px; flex: none;
  display: grid; place-items: center;
  background: var(--navy-50); border-radius: 2px; color: var(--navy-600);
}
.sport-item__icon svg { width: 16px; height: 16px; }
.sport-item b { display: block; font-size: 13.5px; color: var(--navy-900); font-weight: 600; }
.sport-item span { font-size: 12px; color: var(--ink-500); line-height: 1.6; }

.source-note {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: var(--sp-4) var(--sp-5);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--ink-500);
  border-radius: 2px;
}
.source-note b { color: var(--ink-700); }
.source-note a { color: var(--navy-600); border-bottom: 1px solid currentColor; word-break: break-all; }

.side-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: var(--sp-5);
  border-radius: 2px;
}
.side-card h3 { font-size: 16px; margin-bottom: var(--sp-3); }
.side-card p { font-size: 13px; color: var(--ink-500); line-height: 1.78; }
.side-card .btn { margin-top: var(--sp-4); }

@media (max-width: 1024px) {
  .detail-layout { grid-template-columns: 1fr; }
  .detail-side { position: static; }
}
@media (max-width: 560px) {
  .kv { grid-template-columns: 1fr; }
  .sport-grid { grid-template-columns: 1fr; }
}

/* ==========================  Article / knowledge  ========================== */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .article-grid { grid-template-columns: 1fr; } }

.article-card {
  border: 1px solid var(--line);
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
}
.article-card:hover { border-color: var(--navy-300); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.article-card__body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.article-card__cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brick-500);
  margin-bottom: 10px;
}
.article-card h3 { font-size: 18px; line-height: 1.5; margin-bottom: 10px; }
.article-card p { font-size: 13.5px; color: var(--ink-500); line-height: 1.78; flex: 1; }
.article-card__foot {
  margin-top: var(--sp-4);
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--ink-400);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

/* ==========================  Footer  ========================== */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.6);
  padding-top: clamp(48px, 6vw, 72px);
  font-size: 13.5px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer h4 {
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: var(--sp-4);
}
.site-footer ul { display: grid; gap: 9px; }
.site-footer a:hover { color: var(--white); }
.footer-brand__head { display: flex; align-items: center; gap: 14px; margin-bottom: var(--sp-4); }
/* 透明底彩色标识，不加反白滤镜，否则整块变白色剪影 */
/* 原图四周留白多，放大高度并负 margin 收掉，让图形视觉尺寸与文字协调 */
.footer-brand__logo { height: 58px; width: auto; display: block; margin: -8px -4px -8px -6px; }
.footer-brand__name { display: grid; gap: 3px; line-height: 1; }
.footer-brand__name strong {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
}
.footer-brand__name span {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}
.footer-brand p { line-height: 1.8; max-width: 34ch; }
.footer-contact div { display: flex; gap: 10px; line-height: 1.7; margin-bottom: 11px; align-items: flex-start; }
.footer-contact b {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 500;
  flex: none;
  min-width: 2.6em;
  font-size: 12px;
  padding-top: 1px;
  letter-spacing: 0.02em;
}
.footer-contact span { color: rgba(255, 255, 255, 0.86); }
.footer-contact a {
  color: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid transparent;
  transition: color 0.18s, border-color 0.18s;
  word-break: break-all;
}
.footer-contact a:hover { color: var(--white); border-bottom-color: rgba(255, 255, 255, 0.5); }

/* 联系方式：一行一个号码 / 一个邮箱，整行可点击复制 */
.footer-contact .contact-rows {
  display: grid;
  gap: 2px;
  justify-items: start;
  width: 100%;
  min-width: 0;
}
.contact-row {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 6px 3px 0;
  margin-left: -2px;
  font: inherit;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  background: none;
  border: 0;
  border-radius: 2px;
  text-align: left;
  cursor: pointer;
  transition: color 0.16s, background 0.16s;
  max-width: 100%;
}
.contact-row__value {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.contact-row__hint {
  flex: none;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.34);
  transition: color 0.16s;
}
.contact-row:hover { color: var(--white); }
.contact-row:hover .contact-row__hint { color: rgba(255, 255, 255, 0.68); }
.contact-row:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.6); outline-offset: 2px; }
.contact-row.is-copied { color: var(--white); }
.contact-row.is-copied .contact-row__hint { color: #9fd8a8; }
/* 窄屏允许号码折行，提示不换行 */
@media (max-width: 420px) {
  .contact-row { flex-wrap: wrap; gap: 4px 8px; }
  .contact-row__value { white-space: normal; word-break: break-all; }
}

.footer-contact .is-pending { color: rgba(255, 255, 255, 0.42); font-style: italic; }
.site-footer__bottom {
  padding: 22px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.34);
  flex-wrap: wrap;
  line-height: 1.8;
}
.site-footer__bottom .links { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: var(--sp-5); }
}

/* ==========================  Utilities  ========================== */
.mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 24px; } .mt-6 { margin-top: 32px; } .mt-7 { margin-top: 48px; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.divider { height: 1px; background: var(--line); border: 0; }

/* 滚动渐显（渐进增强，无 JS 时直接可见） */
.reveal { opacity: 1; transform: none; }
.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.js-ready .reveal.is-in { opacity: 1; transform: none; }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: var(--navy-900);
  color: var(--white);
  padding: 12px 20px;
  font-size: 13.5px;
  border-radius: 2px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
  z-index: 200;
  max-width: calc(100vw - 40px);
  text-align: center;
}
.toast.is-shown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }


/* ---- 首页地图缩略 ---- */
.map-preview {
  border: 1px solid var(--line);
  background: #f2f5f8;
  padding: 24px;
  border-radius: 2px;
  transition: border-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
}
.map-preview:hover { border-color: var(--navy-300); box-shadow: var(--shadow-md); }
.map-preview__svg svg { width: 100%; height: auto; }
.map-preview__svg path { transition: opacity 0.18s; }
.map-preview:hover .map-preview__svg path { opacity: 0.82; }
.map-preview:hover .map-preview__svg path:hover { opacity: 1; }

@media print {
  .site-header, .drawer, .site-footer, .toast, .hero__scroll { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- 英文版排版微调（必须放在最后，否则被后面的 @media 覆盖） ---------- */
/* 拉丁字母 x-height 小、单词长，同字号下占宽远大于中文：
   1) 收小 h1，保证 "Sport as the route" 在 1440px 下单行成立
   2) 放宽 hero 文案列（1.35fr），压缩右侧数据列
   3) 行高放宽、字距放开，补偿全大写 eyebrow 的可读性 */
[data-lang="en"] .hero__inner { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); }
[data-lang="en"] .hero__copy { max-width: 56ch; }
[data-lang="en"] .hero__copy h1 {
  font-size: clamp(28px, 3.15vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: nowrap;
}
[data-lang="en"] .hero__sub {
  font-size: clamp(14px, 1.1vw, 16.5px);
  line-height: 1.72;
  max-width: 52ch;
}
[data-lang="en"] .hero__aside dt { letter-spacing: 0.08em; }
[data-lang="en"] .eyebrow { letter-spacing: 0.14em; }

/* 窄屏放宽 nowrap，避免英文长标题溢出 */
@media (max-width: 1180px) {
  [data-lang="en"] .hero__inner { grid-template-columns: 1fr; }
  [data-lang="en"] .hero__copy h1 { text-wrap: balance; white-space: normal; }
}

/* ---------- 校队层级区块（学校详情页） ---------- */
/* 速答三栏：把「有没有 Varsity / 篮球 / 足球」放在最前，避免家长在表格里逐行找 */
.vask {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line, #e6e2d9);
  border: 1px solid var(--line, #e6e2d9);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 22px;
}
.vask__item {
  background: #fff;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.vask__k {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-400);
  line-height: 1.4;
}
.vask__v {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.vask__v.is-yes { color: var(--navy-700, #16324f); }
.vask__v.is-unknown { color: var(--ink-400); font-weight: 500; font-size: 14px; }

.vtable { border-top: 1px solid var(--line, #e6e2d9); }
.vtable__row { border-bottom: 1px solid var(--line, #e6e2d9); padding: 14px 0; }
.vtable__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  justify-content: space-between;
}
.vtable__head b { font-size: 14.5px; font-weight: 600; color: var(--ink-900, #14181d); }
.vtable__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.vtable__notes {
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink-500);
}
.vtable__notes li { padding-left: 12px; position: relative; }
.vtable__notes li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.68em;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--ink-300, #b8b2a6);
}
.vtable__notes b { font-weight: 600; color: var(--ink-700); }

.vchip {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 3px 9px;
  border-radius: 2px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.vchip--yes { background: rgba(22, 50, 79, 0.07); border-color: rgba(22, 50, 79, 0.22); color: var(--navy-700, #16324f); }
.vchip--no { background: rgba(160, 60, 50, 0.06); border-color: rgba(160, 60, 50, 0.18); color: #8d3a2f; }
.vchip--unknown { background: rgba(120, 112, 98, 0.07); border-color: rgba(120, 112, 98, 0.2); color: var(--ink-500); font-weight: 500; }

@media (max-width: 900px) {
  .vask { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .vask { grid-template-columns: 1fr; }
  .vask__item { padding: 11px 14px; }
  .vtable__head { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ============ 全站导航页 sitemap.html ============ */
.sitemap-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line, rgba(20,30,45,.12));
  border: 1px solid var(--line, rgba(20,30,45,.12));
  border-radius: 3px;
  overflow: hidden;
}
.sitemap-stat { background: var(--paper, #fbfaf7); padding: 20px 18px; text-align: center; }
.sitemap-stat b {
  display: block;
  font-family: var(--font-serif, Georgia, serif);
  font-size: 30px;
  line-height: 1.1;
  color: var(--navy-700, #16324f);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.sitemap-stat span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--ink-500, #6b6a66); letter-spacing: .02em; }
.sitemap-note { margin-top: 12px; font-size: 12.5px; color: var(--ink-400, #8a8880); }

.sitemap-group {
  font-family: var(--font-sans, system-ui, sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brick-500, #a03c32);
  margin: 40px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line, rgba(20,30,45,.1));
}
.sitemap-group:first-of-type { margin-top: 12px; }

.sitemap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.sitemap-card {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  background: var(--white, #fff);
  border: 1px solid var(--line, rgba(20,30,45,.12));
  border-radius: 3px;
  text-decoration: none;
  color: inherit;
  transition: border-color .25s var(--ease, ease), box-shadow .25s var(--ease, ease), transform .25s var(--ease, ease);
}
.sitemap-card:hover {
  border-color: var(--navy-500, #2b5580);
  box-shadow: 0 8px 24px rgba(16,32,52,.08);
  transform: translateY(-2px);
}
.sitemap-card--wide { grid-column: 1 / -1; }
.sitemap-card__idx {
  flex: 0 0 auto;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--ink-300, #a8a69e);
  padding-top: 3px;
}
.sitemap-card__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.sitemap-card__body strong {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy-800, #10243c);
  line-height: 1.35;
}
.sitemap-card__body em {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-style: normal;
  font-size: 11.5px;
  color: var(--ink-400, #8a8880);
  word-break: break-all;
}
.sitemap-card__body span { font-size: 13.5px; line-height: 1.7; color: var(--ink-700, #494842); }
.sitemap-card__body b { font-weight: 600; color: var(--navy-700, #16324f); }
.sitemap-card--admin { background: var(--cream, #f6f4ef); }
.sitemap-card--admin .sitemap-card__idx { color: var(--brick-400, #b8564a); }

.sitemap-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 32px;
  background: var(--navy-900, #0a1a2f);
  border-radius: 3px;
  flex-wrap: wrap;
}
.sitemap-callout h3 {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 21px;
  color: #fff;
  font-weight: 600;
  margin: 0 0 8px;
}
.sitemap-callout p { margin: 0; font-size: 13.5px; line-height: 1.75; color: rgba(255,255,255,.72); max-width: 62ch; }
.sitemap-callout__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.sitemap-callout .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.sitemap-callout .btn--ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }

.section--tight { padding-top: 34px; padding-bottom: 34px; }

@media (max-width: 900px) {
  .sitemap-stats { grid-template-columns: repeat(3, 1fr); }
  .sitemap-stat b { font-size: 25px; }
}
@media (max-width: 720px) {
  .sitemap-grid { grid-template-columns: 1fr; }
  .sitemap-stats { grid-template-columns: repeat(2, 1fr); }
  .sitemap-card { padding: 16px 16px; gap: 12px; }
  .sitemap-card__body strong { font-size: 16.5px; }
  .sitemap-callout { padding: 22px 18px; flex-direction: column; align-items: stretch; }
  .sitemap-callout__btns .btn { width: 100%; text-align: center; }
}
