@charset "UTF-8";
/* ==========================================================================
   牛门洪拳 · Niumen Hongquan
   设计系统：中国（宣纸/墨/朱红）+ 加纳（Kente 红金绿黑星）
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 墨与纸 */
  --ink: #1b1a17;
  --ink-soft: #554f45;
  --ink-faint: #8a8279;
  --paper: #fbf8f2;
  --paper-2: #f4eee3;
  --paper-3: #ece3d5;
  --line: #ddd2bf;

  /* 中国红 + 加纳红 */
  --red: #c1272d;
  --red-deep: #96181f;
  --red-soft: #f6e3e2;
  /* 加纳金 */
  --gold: #fcd116;
  --gold-ink: #8f6410;
  --gold-soft: #fdf3cd;
  /* 加纳绿 */
  --green: #0b6b3f;
  --green-soft: #e3f1e9;
  /* 黑星 */
  --star: #141210;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(27, 26, 23, .06), 0 2px 8px rgba(27, 26, 23, .05);
  --shadow: 0 4px 16px rgba(27, 26, 23, .08);
  --shadow-lg: 0 12px 40px rgba(27, 26, 23, .14);

  --max: 1180px;
  --nav-h: 66px;

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", Roboto, Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 .6em;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.35rem); }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

/* 焦点可见（无障碍） */
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 3px;
}

/* 跳转到主内容 */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: .7em 1.2em;
  z-index: 200;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- 3. 装饰：Kente 条纹 / 中式回纹 ---------- */
.kente {
  height: 6px;
  background:
    repeating-linear-gradient(90deg,
      var(--red) 0 34px,
      var(--gold) 34px 62px,
      var(--green) 62px 90px,
      var(--star) 90px 106px);
}

/* 中式回纹分隔线 */
.huifen {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: var(--line);
}
.huifen::before,
.huifen::after {
  content: "";
  flex: 1;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='10' viewBox='0 0 40 10'%3E%3Cpath d='M0 9h8V3h6v6h12V1h8v8h6' fill='none' stroke='%23c8b9a1' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  opacity: .9;
}
.huifen-diamond {
  width: 10px;
  height: 10px;
  background: var(--red);
  transform: rotate(45deg);
  flex: none;
}

/* ---------- 4. 布局 ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 22px; }

section { padding: clamp(56px, 8vw, 96px) 0; }
section + section { border-top: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: 44px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--gold);
}
.section-head p.lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* ---------- 5. 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 242, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--ink);
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand-seal {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  background: var(--red);
  color: #fff;
  border-radius: 6px;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.nav-links a:hover { background: var(--paper-2); color: var(--ink); text-decoration: none; }

.lang-switch {
  display: inline-flex;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  flex: none;
}
.lang-switch a {
  padding: 6px 14px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink-faint);
}
.lang-switch a[aria-current="page"] { background: var(--red); color: #fff; }
.lang-switch a:hover { text-decoration: none; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--ink);
  margin-inline: auto; position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- 6. 首屏 ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 9vw, 108px) 0 clamp(48px, 7vw, 84px);
  background:
    radial-gradient(1100px 420px at 88% -10%, var(--gold-soft) 0%, transparent 62%),
    radial-gradient(760px 380px at 4% 108%, var(--green-soft) 0%, transparent 60%),
    var(--paper);
  overflow: hidden;
}
.hero::after {
  /* 极淡的中式方格窗棂纹理 */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 76px 76px;
  opacity: .16;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .seal-name {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--red-deep);
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 6px;
}
.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.2vw, 1.32rem);
  color: var(--ink-soft);
  max-width: 34em;
}
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 14px;
  font-size: .88rem; color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.chip b { color: var(--ink); }
.dot-red { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
.dot-gold { background: var(--gold); }
.dot-green { background: var(--green); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: .97rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(193, 39, 45, .28); }
.btn-primary:hover { background: var(--red-deep); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--paper-2); }

/* 首屏视觉卡（照片位） */
.hero-visual { position: relative; }
.hero-visual .frame {
  border: 6px solid #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: var(--paper-2);
  position: relative;
}
.hero-visual .frame::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 6px;
  background: repeating-linear-gradient(90deg, var(--red) 0 24px, var(--gold) 24px 44px, var(--green) 44px 64px, var(--star) 64px 76px);
}
.hero-badge {
  position: absolute; bottom: -18px; left: -14px;
  background: var(--ink); color: #fff;
  padding: 12px 18px; border-radius: var(--radius-sm);
  font-size: .84rem; line-height: 1.5; max-width: 230px;
  box-shadow: var(--shadow);
}
.hero-badge b { color: var(--gold); display: block; font-family: var(--font-serif); font-size: 1rem; }

/* ---------- 7. 通用卡片 ---------- */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .num {
  font-family: var(--font-serif);
  color: var(--red);
  font-size: .9rem; font-weight: 700; letter-spacing: .1em;
  display: block; margin-bottom: 6px;
}
.card-accent { border-top: 4px solid var(--red); }
.card-accent-gold { border-top: 4px solid var(--gold); }
.card-accent-green { border-top: 4px solid var(--green); }

.muted { color: var(--ink-soft); }
.small { font-size: .92rem; }

/* 待填内容标记：换成真实内容后请连同 class="todo" 一起删掉 */
.todo {
  background: var(--gold-soft);
  border-bottom: 2px dashed var(--gold-ink);
  color: var(--gold-ink);
  font-weight: 700;
  padding: 0 6px;
  border-radius: 3px 3px 0 0;
}

/* 本地编辑提示条：仅在本机预览或 URL 带 #edit 时出现，线上访客看不到 */
.devbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: var(--gold-soft);
  border-top: 2px solid var(--gold-ink);
  color: var(--gold-ink);
  font-size: .86rem; line-height: 1.5;
  padding: 10px 20px;
  display: flex; gap: 14px; align-items: center; justify-content: center;
  flex-wrap: wrap; text-align: center;
  box-shadow: 0 -4px 18px rgba(27, 26, 23, .1);
}
.devbar[hidden] { display: none; }
.devbar b { font-weight: 700; }
.devbar button {
  font: inherit; font-weight: 700; cursor: pointer;
  background: var(--gold-ink); color: #fff;
  border: 0; border-radius: 999px; padding: 5px 14px;
}
.devbar button:hover { background: var(--ink); }

/* 引言块 */
.quote {
  border-left: 5px solid var(--red);
  background: var(--paper-2);
  padding: 20px 26px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
}
.quote cite { display: block; margin-top: 10px; font-style: normal; font-size: .88rem; color: var(--ink-soft); font-family: var(--font-sans); }

/* ---------- 8. 起源 / 创始人 ---------- */
.founder {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  align-items: start;
}
.founder-mark {
  width: 92px; height: 92px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  font-family: var(--font-serif);
  font-size: 1.5rem; font-weight: 700;
  color: #fff;
  background: var(--red);
  box-shadow: var(--shadow-sm);
}
.founder-mark.green { background: var(--green); }
.founder h3 { margin-bottom: .3em; }
.founder .title { color: var(--red-deep); font-weight: 700; font-size: .92rem; margin-bottom: 8px; }

/* 数据条 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; text-align: center; box-shadow: var(--shadow-sm);
}
.stat b {
  display: block; font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.4vw, 2.15rem); color: var(--red); line-height: 1.2;
}
.stat span { font-size: .88rem; color: var(--ink-soft); }

/* ---------- 9. 招式 ---------- */
.technique-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tab {
  padding: 9px 18px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: #fff;
  font-size: .93rem; font-weight: 600; color: var(--ink-soft);
  font-family: inherit;
}
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab-panel[hidden] { display: none; }

.pill-wrap { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 9px 16px;
  font-size: .95rem; box-shadow: var(--shadow-sm);
  display: inline-flex; align-items: baseline; gap: 8px;
}
.pill small { color: var(--ink-faint); font-size: .8rem; }

/* 十七式 */
.seventeen { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 12px; }
.seventeen li {
  list-style: none; margin: 0;
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  background: #fff; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.seventeen li:hover { background: var(--red); color: #fff; transform: translateY(-3px); }

/* 十六字诀 */
.sixteen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sixteen div {
  background: var(--ink); color: #fff;
  border-radius: var(--radius-sm);
  padding: 22px 12px; text-align: center;
  font-family: var(--font-serif); font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  letter-spacing: .18em;
}
.sixteen div span { display: block; font-size: .78rem; letter-spacing: 0; color: var(--gold); font-family: var(--font-sans); margin-top: 6px; }

/* ---------- 10. 传承谱系 ---------- */
.lineage { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.lineage caption { text-align: left; padding: 0 0 12px; color: var(--ink-soft); font-size: .92rem; }
.lineage th, .lineage td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.lineage thead th { background: var(--paper-2); font-family: var(--font-serif); font-size: .95rem; }
.lineage tbody tr:last-child td { border-bottom: 0; }
.lineage .gen {
  font-family: var(--font-serif); font-weight: 700; color: var(--red);
  white-space: nowrap;
}
.lineage tbody tr.is-current { background: var(--gold-soft); }
.lineage tbody tr.is-current .gen { color: var(--gold-ink); }

/* 师承说明条 */
.kinship {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--ink); color: #fff;
  border-radius: var(--radius); padding: 22px 26px;
  margin-bottom: 30px; box-shadow: var(--shadow);
}
.kinship .kinship-seal {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  background: var(--red); color: #fff;
  font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700;
  border-radius: 6px;
}
.kinship p { margin: 0; color: #e6e0d5; }
.kinship strong { color: var(--gold); font-family: var(--font-serif); font-size: 1.08rem; }

/* ---------- 11. 人物专章 ---------- */
.master {
  display: grid; grid-template-columns: 380px 1fr; gap: clamp(26px, 4vw, 48px);
  align-items: start;
}
.master-photo {
  border: 6px solid #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden; background: var(--paper-2);
}
.master-name {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  margin-bottom: .18em;
}
.master-sub { color: var(--red-deep); font-weight: 700; margin-bottom: 18px; }
.master-facts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.master-facts li {
  display: grid; grid-template-columns: 96px 1fr; gap: 14px;
  padding: 10px 0; border-top: 1px dashed var(--line);
  font-size: .96rem;
}
.master-facts li b { font-family: var(--font-serif); color: var(--ink); }
.master-facts li span { color: var(--ink-soft); }

.timeline-era { display: flex; flex-wrap: wrap; gap: 10px; }
.era {
  background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 10px 16px; font-size: .93rem;
}
.era b { font-family: var(--font-serif); color: var(--red); margin-right: 8px; }

/* ---------- 12. 个人事迹时间线 ---------- */
.journey { position: relative; padding-left: 34px; }
.journey::before {
  content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px;
  width: 3px;
  background: linear-gradient(180deg, var(--red) 0 33%, var(--gold) 33% 66%, var(--green) 66% 100%);
  border-radius: 3px;
}
.j-step { position: relative; margin-bottom: 34px; }
.j-step:last-child { margin-bottom: 0; }
.j-step::before {
  content: ""; position: absolute; left: -34px; top: 8px;
  width: 21px; height: 21px; border-radius: 50%;
  background: #fff; border: 4px solid var(--red);
  box-shadow: var(--shadow-sm);
}
.j-step:nth-child(2)::before { border-color: var(--gold-ink); }
.j-step:nth-child(3)::before { border-color: var(--green); }
.j-step:nth-child(n+4)::before { border-color: var(--ink); }
.j-year {
  font-family: var(--font-serif); font-weight: 700;
  color: var(--red-deep); font-size: .95rem; letter-spacing: .06em;
  margin-bottom: 4px;
}
.j-step h3 { margin-bottom: .35em; font-size: 1.18rem; }
.j-step p { color: var(--ink-soft); margin-bottom: .5em; }
.j-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.j-tags span {
  font-size: .8rem; font-weight: 600;
  background: var(--paper-2); border: 1px solid var(--line);
  padding: 4px 11px; border-radius: 999px; color: var(--ink-soft);
}

/* 招生官视角卡片 */
.impact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 8px; }
.impact div {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 18px;
  box-shadow: var(--shadow-sm);
}
.impact b {
  display: block; font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.2vw, 2rem); color: var(--green); line-height: 1.2;
}
.impact span { font-size: .87rem; color: var(--ink-soft); }

/* 中非对照 */
.bridge { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.bridge-col {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm);
}
.bridge-col.cn { border-top: 4px solid var(--red); }
.bridge-col.gh { border-top: 4px solid var(--green); }
.bridge-x {
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--gold);
  font-family: var(--font-serif); font-size: 1.5rem;
  box-shadow: var(--shadow);
  flex: none;
}
.bridge-col h3 { font-size: 1.1rem; }
.bridge-col ul { margin-bottom: 0; font-size: .96rem; color: var(--ink-soft); }

/* ---------- 13. 影像区 ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
figure { margin: 0; }
.fig-frame {
  background: var(--paper-2);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.fig-frame img { width: 100%; }
figcaption { font-size: .87rem; color: var(--ink-soft); margin-top: 8px; }

.video-box {
  margin-top: 26px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px;
  box-shadow: var(--shadow-sm);
}
.video-box video { width: 100%; border-radius: var(--radius-sm); background: #000; }
.video-note { font-size: .85rem; color: var(--ink-faint); margin: 10px 0 0; }

/* 占位提示角标 */
.ph {
  position: absolute; top: 10px; right: 10px;
  background: rgba(20, 18, 16, .82); color: var(--gold);
  font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  padding: 4px 10px; border-radius: 999px;
  z-index: 2;
}

/* ---------- 14. 留言板 ---------- */
.contact { background: var(--paper-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 52px); align-items: start; }

form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 7px; }
.field label .req { color: var(--red); }
.field input,
.field textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper);
  transition: border-color .16s var(--ease), background .16s var(--ease);
}
.field input:focus,
.field textarea:focus { border-color: var(--red); background: #fff; outline: none; }
.field textarea { min-height: 132px; resize: vertical; }
.field .hint { font-size: .82rem; color: var(--ink-faint); margin-top: 6px; }
.field-error { color: var(--red-deep); font-size: .82rem; font-weight: 600; margin-top: 6px; display: none; }
.field.invalid input,
.field.invalid textarea { border-color: var(--red); }
.field.invalid .field-error { display: block; }

.form-status {
  margin-top: 16px; padding: 13px 16px; border-radius: var(--radius-sm);
  font-size: .93rem; display: none;
}
.form-status.ok { display: block; background: var(--green-soft); color: #07522f; border: 1px solid #b9dcc7; }
.form-status.err { display: block; background: var(--red-soft); color: var(--red-deep); border: 1px solid #eccac9; }
.form-status.warn { display: block; background: var(--gold-soft); color: var(--gold-ink); border: 1px solid #ead9a5; }

.contact-aside .info-line {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 0; border-bottom: 1px dashed var(--line);
}
.contact-aside .info-line:last-of-type { border-bottom: 0; }
.contact-aside .ico {
  width: 38px; height: 38px; flex: none; border-radius: 50%;
  display: grid; place-items: center; background: var(--red-soft); color: var(--red-deep);
  font-size: 1rem;
}
.contact-aside .info-line b { display: block; font-size: .95rem; }
.contact-aside .info-line span { font-size: .9rem; color: var(--ink-soft); word-break: break-all; }

/* ---------- 15. 页脚 ---------- */
footer { background: var(--ink); color: #c9c3b8; padding: 52px 0 30px; }
footer .kente { margin-bottom: 34px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
footer h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
footer ul { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
footer li { margin-bottom: 8px; }
footer a { color: #d8d2c7; }
footer a:hover { color: var(--gold); }
.foot-brand { font-family: var(--font-serif); font-size: 1.3rem; color: #fff; font-weight: 700; margin-bottom: 10px; }
.foot-bottom {
  margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .84rem; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
}

/* ---------- 16. 滚动出现动画 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .seventeen li:hover { transform: none; }
}

/* ---------- 17. 响应式 ---------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 520px; }
  .master { grid-template-columns: 320px 1fr; }
  .sixteen { grid-template-columns: repeat(2, 1fr); }
  .stats, .impact { grid-template-columns: repeat(2, 1fr); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .bridge { grid-template-columns: 1fr; }
  .bridge-x { justify-self: center; transform: rotate(90deg); }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch;
    padding: 10px 22px 18px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 4px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav { position: sticky; }
}

@media (max-width: 720px) {
  .master { grid-template-columns: 1fr; }
  .master-photo { max-width: 340px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .founder { grid-template-columns: 64px 1fr; gap: 14px; }
  .founder-mark { width: 64px; height: 64px; font-size: 1.1rem; }
  .hero-badge { position: static; margin-top: 14px; max-width: none; }
  .lineage { display: block; overflow-x: auto; white-space: normal; }
  .sixteen { grid-template-columns: 1fr; }
}

/* 打印（招生官可能会打印） */
@media print {
  .nav, .nav-toggle, .btn-row, form, .skip-link { display: none !important; }
  body { background: #fff; font-size: 11.5pt; }
  section { padding: 18px 0; break-inside: avoid; }
  .card, .stat, .impact div { box-shadow: none; break-inside: avoid; }
  a { color: #000; }
}
