/* ============================================================
   MSRA 官网设计系统 · MIT 学术红
   主色 #A31F34 / 深灰 #26262A / 米白 #FAF8F5 / 点缀金 #C9A227
   ============================================================ */

:root {
  --red: #A31F34;
  --red-dark: #7A1426;
  --red-light: #C13B50;
  --ink: #26262A;
  --ink-soft: #4A4A50;
  --ink-mute: #7B7B83;
  --paper: #FAF8F5;
  --paper-warm: #F3EFE8;
  --gold: #C9A227;
  --line: #E5DFD6;
  --white: #FFFFFF;
  --serif: "Noto Serif SC", "Songti SC", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", sans-serif;
  --shadow-sm: 0 1px 3px rgba(38, 38, 42, 0.08);
  --shadow-md: 0 6px 24px rgba(38, 38, 42, 0.10);
  --shadow-lg: 0 16px 48px rgba(38, 38, 42, 0.14);
  --radius: 4px;
  --max: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-badge {
  width: 44px; height: 44px;
  background: var(--red);
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0.5px;
  border-radius: var(--radius);
}
.brand-text { line-height: 1.25; }
.brand-text strong {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  letter-spacing: 1px;
}
.brand-text span {
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  color: var(--ink-soft);
  font-size: 15px;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--red); background: rgba(163, 31, 52, 0.06); }
.nav-links a.active { color: var(--red); font-weight: 600; }

/* 下拉菜单 */
.has-drop { position: relative; }
.drop {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
  list-style: none;
}
.has-drop:hover .drop,
.has-drop:focus-within .drop {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}
.drop a { white-space: nowrap; font-size: 14px; }
.drop a small { display: block; color: var(--ink-mute); font-size: 12px; }

.nav-cta {
  background: var(--red) !important;
  color: #fff !important;
  font-weight: 600;
  padding: 9px 20px !important;
}
.nav-cta:hover { background: var(--red-dark) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 6px 0;
  transition: 0.3s;
}

/* ---------- 英雄区 ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(20, 16, 18, 0.82) 0%,
    rgba(38, 22, 26, 0.62) 45%,
    rgba(122, 20, 38, 0.35) 100%
  );
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding: 140px 0 90px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 5.2vw, 60px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 2px;
  max-width: 16em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.hero .hero-sub {
  margin-top: 20px;
  font-size: clamp(15px, 1.6vw, 19px);
  color: rgba(255, 255, 255, 0.88);
  max-width: 40em;
  font-weight: 300;
  letter-spacing: 0.5px;
}
.hero-actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }

/* 次级页面 hero（较矮） */
.hero--sub { min-height: 56vh; }
.hero--sub .hero-inner { padding: 150px 0 64px; }
.hero--sub h1 { font-size: clamp(30px, 4vw, 46px); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }
.btn-outline { border-color: var(--red); color: var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-sm { padding: 10px 22px; font-size: 14px; }

/* ---------- 章节通用 ---------- */
.section { padding: 96px 0; }
.section--warm { background: var(--paper-warm); }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: #fff; }
.section--red { background: linear-gradient(135deg, var(--red-dark), var(--red)); color: #fff; }

.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-num {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.sec-num::after { content: ""; flex: 0 0 48px; height: 1px; background: var(--red); opacity: 0.4; }
.sec-head.center .sec-num { justify-content: center; }
.sec-head.center .sec-num::before { content: ""; flex: 0 0 48px; height: 1px; background: var(--red); opacity: 0.4; }
.sec-title {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 1.5px;
}
.sec-desc { margin-top: 16px; color: var(--ink-soft); font-size: 17px; }
.section--dark .sec-desc, .section--red .sec-desc { color: rgba(255,255,255,0.8); }
.section--dark .sec-title, .section--red .sec-title { color: #fff; }
.section--dark .sec-num, .section--red .sec-num { color: var(--gold); }
.section--dark .sec-num::before, .section--dark .sec-num::after,
.section--red .sec-num::before, .section--red .sec-num::after { background: var(--gold); }

/* ---------- 数字统计带 ---------- */
.stats-band { background: var(--red); color: #fff; padding: 56px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.stat-num small { font-size: 0.45em; font-weight: 400; margin-left: 2px; }
.stat-label { margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, 0.85); letter-spacing: 1px; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--red);
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.card h3 { font-family: var(--serif); font-size: 20px; letter-spacing: 1px; margin-bottom: 12px; }
.card p { font-size: 15px; color: var(--ink-soft); }

/* ---------- 项目卡片（首页三大项目） ---------- */
.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.program-card .pc-img { height: 220px; background-size: cover; background-position: center; }
.program-card .pc-body { padding: 30px; flex: 1; display: flex; flex-direction: column; }
.program-card .pc-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 3px 12px;
  border-radius: 99px;
  margin-bottom: 14px;
  align-self: flex-start;
}
.program-card h3 { font-family: var(--serif); font-size: 22px; letter-spacing: 1px; }
.program-card .pc-en {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 4px 0 14px;
}
.program-card .pc-meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: 13px; color: var(--ink-soft);
  margin-bottom: 16px;
}
.program-card .pc-meta b { color: var(--ink); font-weight: 600; }
.program-card p { font-size: 15px; color: var(--ink-soft); flex: 1; }
.program-card .pc-link {
  margin-top: 20px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.program-card .pc-link::after { content: "→"; transition: transform 0.2s; }
.program-card:hover .pc-link::after { transform: translateX(4px); }

/* ---------- 图文分栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split-body h3 { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); letter-spacing: 1px; margin-bottom: 18px; }
.split-body p { color: var(--ink-soft); margin-bottom: 14px; }

/* ---------- 引用 ---------- */
.quote-block {
  border-left: 3px solid var(--red);
  padding: 8px 0 8px 28px;
  margin: 28px 0;
}
.quote-block p {
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  line-height: 1.9;
  color: var(--ink);
}
.quote-block cite {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-style: normal;
  color: var(--ink-mute);
}
.section--dark .quote-block { border-color: var(--gold); }
.section--dark .quote-block p { color: #fff; }
.section--dark .quote-block cite { color: rgba(255,255,255,0.6); }

/* ---------- 心声轮播 ---------- */
.testi-wrap { position: relative; overflow: hidden; }
.testi-track { display: flex; transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
.testi-slide { flex: 0 0 100%; padding: 8px; }
.testi-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 48px;
  max-width: 860px;
  margin: 0 auto;
}
.testi-card .q-mark {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 0.6;
  color: var(--red);
  opacity: 0.25;
  display: block;
  margin-bottom: 18px;
}
.testi-card p { font-size: 17px; line-height: 1.95; color: var(--ink-soft); }
.testi-card .t-who {
  margin-top: 22px;
  font-weight: 600;
  color: var(--red);
  font-size: 15px;
  letter-spacing: 1px;
}
.testi-dots { display: flex; justify-content: center; gap: 10px; margin-top: 32px; }
.testi-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  transition: 0.25s;
  padding: 0;
}
.testi-dots button.on { background: var(--red); transform: scale(1.3); }

/* ---------- 日程表 ---------- */
.sched { width: 100%; border-collapse: collapse; background: var(--white); box-shadow: var(--shadow-sm); }
.sched th, .sched td {
  padding: 13px 16px;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.sched thead th {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 14px;
}
.sched tbody tr:hover { background: rgba(163, 31, 52, 0.04); }
.sched td.day {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
}
.sched .tag {
  display: inline-block;
  font-size: 11.5px;
  padding: 1px 8px;
  border-radius: 99px;
  margin-right: 6px;
  background: var(--paper-warm);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  white-space: nowrap;
}

/* ---------- 时间轴（日程卡片版） ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--red), var(--gold));
}
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -32px; top: 7px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--red);
}
.tl-item h4 { font-family: var(--serif); font-size: 18px; letter-spacing: 0.5px; }
.tl-item h4 span { color: var(--red); margin-right: 8px; }
.tl-item p { font-size: 14.5px; color: var(--ink-soft); margin-top: 4px; }

/* ---------- 视频墙 ---------- */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.video-grid .v-item { position: relative; }
.video-grid video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  background: #111;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}
.video-grid .v-cap { margin-top: 10px; font-size: 13.5px; color: var(--ink-soft); text-align: center; }
/* 竖屏/方形视频（教学法等） */
.video-portrait { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; cursor: pointer; }

/* ---------- 成果数据卡 ---------- */
.result-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.result-card img { aspect-ratio: 16 / 9.8; object-fit: cover; }
.result-card .rc-body { padding: 26px; flex: 1; }
.result-card h3 { font-family: var(--serif); font-size: 19px; margin-bottom: 6px; }
.result-card .rc-en { font-size: 12px; color: var(--ink-mute); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.result-card p { font-size: 14.5px; color: var(--ink-soft); }
.result-card .rc-metric {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-family: var(--serif);
  color: var(--red);
  font-weight: 700;
  font-size: 16px;
}

/* ---------- 录取校榜 ---------- */
.school-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.school-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  transition: 0.3s;
}
.school-item:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-3px); }
.school-item b { display: block; font-family: var(--serif); font-size: 16px; letter-spacing: 0.5px; }
.school-item span { font-size: 12px; color: rgba(255, 255, 255, 0.6); }

/* ---------- 师资 ---------- */
.faculty-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.faculty-hero-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow-md);
  align-items: center;
}
.faculty-hero-card img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.faculty-hero-card .f-role { color: var(--red); font-size: 14px; letter-spacing: 2px; margin-bottom: 8px; }
.faculty-hero-card h3 { font-family: var(--serif); font-size: 30px; letter-spacing: 1px; margin-bottom: 16px; }
.faculty-hero-card p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 10px; }

.mentor-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.mentor-card { text-align: center; }
.mentor-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
  margin-bottom: 14px;
}
.mentor-card b { display: block; font-size: 15px; }
.mentor-card span { font-size: 12.5px; color: var(--ink-mute); line-height: 1.5; display: block; margin-top: 4px; }

/* ---------- 照片墙 ---------- */
.photo-grid {
  columns: 3;
  column-gap: 18px;
}
.photo-grid img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.photo-grid img:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }

/* ---------- CTA 大横幅 ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--red-dark) 0%, var(--red) 60%, var(--red-light) 100%);
  color: #fff;
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "MSRA";
  position: absolute;
  font-family: var(--serif);
  font-size: 340px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.05);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  letter-spacing: 20px;
  pointer-events: none;
}
.cta-band h2 { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 40px); letter-spacing: 2px; position: relative; }
.cta-band p { margin: 18px auto 34px; max-width: 36em; color: rgba(255, 255, 255, 0.88); position: relative; }
.cta-band .btn-ghost { position: relative; }

/* ---------- 报名页 ---------- */
.apply-table { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.qr-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 960px; margin: 0 auto; }
.qr-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.qr-card img { width: 200px; height: 200px; object-fit: contain; margin: 18px auto; }
.qr-card h3 { font-family: var(--serif); font-size: 20px; letter-spacing: 1px; }
.qr-card p { font-size: 14px; color: var(--ink-mute); }

/* ---------- 页脚 ---------- */
.site-footer { background: #1B1B1F; color: rgba(255, 255, 255, 0.72); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.site-footer h4 {
  color: #fff;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; font-size: 14px; }
.site-footer a { color: rgba(255, 255, 255, 0.72); }
.site-footer a:hover { color: var(--gold); }
.footer-brand p { font-size: 13.5px; line-height: 1.9; margin-top: 14px; max-width: 30em; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- 浮动公告 ---------- */
.float-notice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  width: 320px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px 22px 18px;
  transform: translateY(24px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.float-notice.show { transform: none; opacity: 1; visibility: visible; }
.float-notice .fn-badge {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 2px;
  color: var(--red);
  border: 1px solid var(--red);
  border-radius: 99px;
  padding: 2px 10px;
  margin-bottom: 10px;
}
.float-notice p { font-size: 14.5px; line-height: 1.8; color: var(--ink); }
.float-notice .fn-actions { margin-top: 12px; display: flex; align-items: center; gap: 14px; }
.float-notice .fn-go { font-weight: 600; font-size: 14px; }
.float-notice .fn-go::after { content: "→"; margin-left: 4px; }
.float-notice .fn-close {
  position: absolute;
  top: 8px; right: 10px;
  background: none;
  border: none;
  font-size: 18px;
  line-height: 1;
  color: var(--ink-mute);
  cursor: pointer;
  padding: 4px;
}
.float-notice .fn-close:hover { color: var(--red); }
@media (max-width: 768px) {
  .float-notice { right: 16px; bottom: 16px; left: 16px; width: auto; }
}

/* ---------- 小工具 ---------- */
.eyebrow {
  font-size: 12.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.text-serif { font-family: var(--serif); }
.mt-40 { margin-top: 40px; }
.center { text-align: center; }
.note { font-size: 13px; color: var(--ink-mute); }
.divider-gold {
  width: 64px; height: 3px;
  background: var(--gold);
  margin: 26px 0;
  border-radius: 2px;
}
.center .divider-gold { margin-left: auto; margin-right: auto; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .mentor-grid { grid-template-columns: repeat(4, 1fr); }
  .school-list { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav { height: 64px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 12px 20px 20px;
    gap: 2px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: 0.25s;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .drop {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--line);
    border-radius: 0;
    margin: 0 0 6px 16px;
    padding: 0 0 0 8px;
  }
  .nav-cta { text-align: center; margin-top: 8px; }

  .hero { min-height: 78vh; }
  .hero-inner { padding: 120px 0 64px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > .split-media { order: 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .mentor-grid { grid-template-columns: repeat(2, 1fr); }
  .school-list { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; }
  .photo-grid { columns: 2; }
  .faculty-hero-card { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .testi-card { padding: 32px 26px; }
  .qr-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .sched { display: block; overflow-x: auto; white-space: nowrap; }
  .cta-band::before { font-size: 160px; letter-spacing: 8px; }
}

@media (max-width: 420px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .photo-grid { columns: 1; }
}
