/* =========================================================
   广州心璐文化传播有限公司 · 官网样式
   ========================================================= */

:root {
  /* 品牌基调：低饱和深灰蓝（信任、专业）+ 米色/奶油白（温暖、治愈）+ 晨光金点缀 */
  --ink: #1f2a37;          /* 深灰蓝（标题/正文深色） */
  --ink-2: #2c3d4f;        /* 次级深灰蓝 */
  --teal: #47617d;         /* 低饱和蓝灰（链接/强调，沿用旧变量名） */
  --teal-2: #5b7794;       /* 次级蓝灰 */
  --teal-soft: #eef1f4;    /* 极浅灰蓝区块底 */
  --gold: #c8a878;         /* 晨光金 */
  --gold-2: #d5b98f;
  --gold-3: #e2c79c;       /* 浅杏金 */
  --gold-soft: #f6e7cd;    /* 奶油金文字 */
  --gold-hi: #efdab8;      /* 导航 hover 金 */
  --sand: #f4ede1;         /* 米色区块底 */
  --paper: #fbf7f0;        /* 奶油白 */
  --white: #fffdfa;        /* 暖白（比纯白柔和） */
  --muted: #626d7a;
  --line: rgba(31, 42, 55, 0.08);
  --line-strong: rgba(31, 42, 55, 0.16);
  --shadow: 0 18px 50px -28px rgba(31, 42, 55, 0.28);
  --shadow-sm: 0 10px 26px -18px rgba(31, 42, 55, 0.3);
  --shadow-soft: 0 1px 2px rgba(31, 42, 55, 0.03), 0 12px 32px -22px rgba(31, 42, 55, 0.22);

  --font-serif: "SourceHanSerif", "Source Han Serif SC", "思源宋体", "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  --font-sans: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", "Source Han Sans CN", "思源黑体 CN Medium", "Helvetica Neue", Arial, sans-serif;

  --container: clamp(1080px, 84vw, 1560px);
  --radius: 16px;
  --radius-sm: 8px;
  --header-h: 90px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  /* 响应式字体基准（所有文字以 rem 引用）：
     ≤768px → 16px（移动端基准，保持原有可读性）
     1200px → 17.35px（桌面端基准）
     ≥1258px → 17.5px（桌面端舒适上限，约 +9%）
     768–1258px 之间由 vw 线性过渡，不出现跳变；浏览器缩放时随视口同步变化 */
  font-size: clamp(16px, 0.2679vw + 14.14px, 17.5px);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
[id] { scroll-margin-top: calc(var(--header-h) + 22px); }

body {
  margin: 0;
  background: var(--paper);
  color: #2a3441;
  font-family: var(--font-sans);
  font-size: 0.96875rem;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  letter-spacing: 0.01em;
}

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; }

::selection { background: var(--gold-soft); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -12px rgba(31, 42, 55, 0.4);
}

.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--teal); }

.btn--gold { background: var(--gold); color: #2a2118; }
.btn--gold:hover { background: var(--gold-2); }

.btn--ghost { border-color: rgba(255, 255, 255, 0.42); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.btn--outline { border-color: var(--line-strong); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn--small { padding: 10px 20px; font-size: 0.875rem; }

.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- 顶部导航（对齐现有站点：白底 + 藏蓝字 + 金下划线） ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 253, 250, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px -20px rgba(31, 42, 55, 0.4);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--line);
  transition: background 0.4s var(--ease);
}
.site-header.is-solid {
  background: rgba(255, 253, 250, 0.97);
  box-shadow: 0 10px 34px -28px rgba(31, 42, 55, 0.45);
}
.site-header.is-solid::after { background: rgba(31, 42, 55, 0.06); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-logo {
  display: block;
  width: 190px;
  height: auto;
}
.brand-logo--foot {
  width: 190px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-wrap: nowrap;
  min-width: 0;
}
.nav a {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: var(--ink-2);
  padding: 8px 11px;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease);
}
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }
.nav a:hover,
.nav a.is-active { color: var(--ink); }

.header-cta {
  flex-shrink: 0;
  background: var(--ink-2);
  border: 1px solid var(--ink-2);
  color: #fff;
  font-size: 0.875rem;
}
.header-cta:hover { background: var(--ink); border-color: var(--ink); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* 内页头部（与首页一致的白底） */
body.page-inner .site-header {
  background: rgba(255, 255, 255, 0.99);
  backdrop-filter: blur(10px);
}
body.page-inner .site-header::after { background: var(--line); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 70px) 0 90px;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(18, 26, 37, 0.86) 0%, rgba(32, 45, 60, 0.64) 42%, rgba(48, 62, 78, 0.28) 100%),
    url("/assets/img/banner-bg.jpg") center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 80% 20%, rgba(226, 199, 156, 0.2), transparent 70%),
    linear-gradient(180deg, transparent 90%, rgba(18, 26, 37, 0.55) 100%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
}
/* 首屏舞台：眉标+标题居左上，导师横幅居中放大，按钮组贴右下 */
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "copy"
    "visual"
    "actions";
  row-gap: 26px;
  padding-top: 8px;
}
.hero-stage .hero-copy {
  grid-area: copy;
  justify-self: start;
  max-width: 760px;
}
.hero-stage .hero-visual {
  grid-area: visual;
  justify-self: center;
  width: min(100%, 1180px);
}
.hero-stage .hero-actions {
  grid-area: actions;
  justify-self: end;
  margin-top: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--gold);
}
/* 浅底上的眉标用更深的金，保证小字可读 */
.section--white .eyebrow,
.section--paper .eyebrow,
.section--sand .eyebrow,
.page-hero--about .eyebrow { color: #a9865a; }
.section--white .eyebrow::before,
.section--paper .eyebrow::before,
.section--sand .eyebrow::before { background: #a9865a; }

.hero h1 {
  margin: 26px 0 24px;
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.hero h1 .line { display: block; }
.hero h1 .accent { color: var(--gold-soft); font-size: 0.8em; }

.hero-lead {
  max-width: 620px;
  font-size: 1.03125rem;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 46px;
  font-size: 0.78125rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.72);
}
.hero-note span { color: var(--gold); }

.hero-card {
  align-self: end;
  padding: 30px 28px 26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.hero-visual {
  display: grid;
  gap: 20px;
}
.hero-visual .banner-frame {
  position: relative;
  display: block;
  border-radius: 12px;
}
/* 群像图上的五个透明点击热区：百分比定位，随图片等比缩放 */
.banner-hotspot {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--x);
  width: var(--w);
  border-radius: 12px;
  background: transparent;
  transition: background 0.25s var(--ease);
}
.banner-hotspot:hover,
.banner-hotspot:focus-visible {
  background: rgba(226, 199, 156, 0.18);
}
.hero-visual .banner-img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 44px rgba(6, 16, 38, 0.55));
}
.hero-visual .hero-card { align-self: auto; }
.hero-card .quote-mark {
  font-family: var(--font-serif);
  font-size: 2.875rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 10px;
}
.hero-card p {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.92);
}
.hero-card small {
  display: block;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- 数据条 ---------- */
.stats {
  position: relative;
  z-index: 3;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 38px 26px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--teal);
}
.stat strong i {
  font-style: normal;
  font-size: 1.25rem;
  margin-left: 2px;
  color: var(--gold);
}
.stat > span {
  display: block;
  margin-top: 8px;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- 区块 ---------- */
.section { padding: 120px 0; }
.section--tight { padding: 88px 0; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: #fff; }

/* 区块背景点缀：柔光渐变 + 品牌色圆形光晕 */
.section--paper,
.section--white,
.section--sand {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.section--paper {
  background:
    radial-gradient(58% 46% at 100% 0%, rgba(226, 199, 156, 0.24), transparent 62%),
    radial-gradient(46% 40% at 0% 100%, rgba(71, 97, 125, 0.09), transparent 66%),
    var(--paper);
}
.section--white {
  background:
    radial-gradient(52% 42% at 0% 0%, rgba(226, 199, 156, 0.16), transparent 62%),
    var(--white);
}
.section--sand {
  background:
    radial-gradient(56% 48% at 85% 8%, rgba(226, 199, 156, 0.32), transparent 64%),
    radial-gradient(44% 38% at 8% 92%, rgba(71, 97, 125, 0.1), transparent 66%),
    var(--sand);
}
.section--paper::before,
.section--white::before,
.section--sand::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  background: url("/assets/img/title-bg3.png") center / contain no-repeat;
  opacity: 0.72;
  pointer-events: none;
  z-index: 0;
}
.section--paper::before { top: -180px; left: -200px; }
.section--white::before { top: -160px; right: -190px; }
.section--sand::before { bottom: -200px; right: -160px; }
.section > .container { position: relative; z-index: 1; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
}
.section-head .text { max-width: 680px; }
.section-head h2 {
  margin: 20px 0 18px;
  font-size: clamp(1.85rem, 3.1vw, 2.7rem);
  letter-spacing: 0.04em;
  line-height: 1.36;
}
.section-head p {
  color: var(--muted);
  font-size: 0.96875rem;
  line-height: 1.95;
}
.section--ink .section-head p { color: rgba(255, 255, 255, 0.62); }
.section-head .link-more { flex-shrink: 0; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: var(--teal);
  border-bottom: 1px solid rgba(71, 97, 125, 0.3);
  padding-bottom: 4px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), gap 0.3s var(--ease);
}
.link-more:hover { color: var(--ink); border-color: var(--ink); gap: 14px; }

/* ---------- 关于 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 76px;
  align-items: center;
}
.about-copy h2 {
  margin: 18px 0 26px;
  font-size: clamp(1.9rem, 3.3vw, 2.9rem);
  line-height: 1.45;
}
.about-copy p {
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 0.96875rem;
}
.about-copy p strong { color: var(--ink); font-weight: 600; }

.about-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.about-facts li { font-size: 0.84375rem; color: var(--muted); }
.about-facts b {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.about-visual {
  position: relative;
  padding-bottom: 42px;
}
.about-visual .photo {
  width: 86%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}
.about-visual .badge {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
  padding: 26px 24px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}
.about-visual .badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold-soft);
  margin-bottom: 8px;
}
.about-visual .badge span {
  font-size: 0.8125rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
}
.about-visual .badge::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--gold);
}

/* ---------- 发展历程（横向） ---------- */
.milestones {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-top: 40px;
}
.milestones::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  height: 1px;
  background: var(--line-strong);
}
.milestone { position: relative; padding-top: 24px; }
.milestone::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(226, 199, 156, 0.16);
}
.milestone .time {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 10px;
}
.milestone h3 { font-size: 1.0625rem; margin-bottom: 10px; }
.milestone p { font-size: 0.875rem; line-height: 1.85; color: var(--muted); }

/* ---------- 服务人群 / 服务内容 ---------- */
.audience-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.audience-card,
.service-card {
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.audience-card { background: var(--paper); }
.service-card { background: var(--white); }
.audience-card:hover,
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--line-strong);
}
.card-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal);
}
.card-ico svg { width: 22px; height: 22px; }
.audience-card h3,
.service-card h3 { font-size: 1.1875rem; margin-bottom: 12px; }
.audience-card p,
.service-card p { font-size: 0.90625rem; line-height: 1.85; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

/* ---------- 现场图库（左右轮播） ---------- */
.gallery-nav { display: flex; gap: 10px; flex-shrink: 0; }
.gallery-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.gallery-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.gallery-btn:disabled {
  opacity: 0.3;
  cursor: default;
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.gallery-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track figure {
  flex: 0 0 clamp(240px, 30%, 360px);
  margin: 0;
  scroll-snap-align: start;
}
.gallery-track img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 2px;
}

/* ---------- 重点课程：两行两列网格 ---------- */
.featured-track {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.featured-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.65s var(--ease), box-shadow 0.65s var(--ease), border-color 0.65s var(--ease);
}
.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--line-strong);
}
.featured-cover {
  aspect-ratio: 389 / 206;
  overflow: hidden;
  background: var(--ink);
}
.featured-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.featured-card:hover .featured-cover img { transform: scale(1.06); }

/* 入场：卡片依次上浮 */
.featured-track.is-visible .featured-card {
  animation: featuredIn 0.65s var(--ease) backwards;
}
.featured-track.is-visible .featured-card:nth-child(2) { animation-delay: 0.08s; }
.featured-track.is-visible .featured-card:nth-child(3) { animation-delay: 0.16s; }
.featured-track.is-visible .featured-card:nth-child(4) { animation-delay: 0.24s; }
@keyframes featuredIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .featured-track.is-visible .featured-card { animation: none; }
}
.featured-body {
  display: flex;
  flex-direction: column;
  padding: 24px 26px 26px;
}
.featured-body .cat {
  font-size: 0.71875rem;
  letter-spacing: 0.16em;
  color: #a9865a;
}
.featured-body h3 { font-size: 1.1875rem; margin: 10px 0; }
.featured-body p { font-size: 0.875rem; line-height: 1.8; color: var(--muted); }
.featured-body .read {
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.84375rem;
  color: var(--teal);
}
.featured-card { cursor: pointer; }
.featured-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
}
.featured-actions .read {
  margin-top: 0;
  padding-top: 0;
}
.featured-actions .signup-btn { flex-shrink: 0; }

@media (max-width: 900px) {
  .featured-track { grid-template-columns: 1fr; }
}

/* 导师团队 · 首屏（五人海报陈列） */
.mentors-hero__copy {
  max-width: 780px;
  margin-bottom: 46px;
}
.mentors-hero__copy h1 { margin-bottom: 12px; }
.page-hero .mentors-hero__slogan {
  max-width: none;
  margin-bottom: 18px;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.3vw, 1.875rem);
  letter-spacing: 0.05em;
  color: var(--gold-soft);
}
.mentors-hero__grid {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
/* 导师页顶部群像（透明 PNG）+ 五个可点击热区 */
.mentors-hero__banner {
  position: relative;
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.42));
}
.mentors-hero__banner > img {
  display: block;
  width: 100%;
  height: auto;
}
/* 底部不再需要渐变遮罩，文字改到每块色板顶部 */
.mentors-hero__spots {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.mentor-spot {
  position: absolute;
  top: 0;
  bottom: 0;
  display: block;
}
/* 热区按图片中各色板的实际左右边界定位（比例取自图片像素） */
.mentor-spot:nth-child(1) { left: 0; width: 19.9%; }
.mentor-spot:nth-child(2) { left: 17.8%; width: 21.1%; }
.mentor-spot:nth-child(3) { left: 40.2%; width: 19.85%; }
.mentor-spot:nth-child(4) { left: 58.6%; width: 19.85%; }
.mentor-spot:nth-child(5) { left: 80.2%; width: 19.8%; }

/* 每块色板顶部各不相同，用 --ty 对齐到各自色板上沿 */
.mentor-spot__txt {
  position: absolute;
  top: var(--ty, 3.5%);
  left: 14px;
  right: 10px;
  display: block;
  transition: transform 0.5s var(--ease-soft);
}
.mentor-spot:nth-child(1) .mentor-spot__txt { --ty: 3.5%; }
.mentor-spot:nth-child(2) .mentor-spot__txt { --ty: 24%; }
.mentor-spot:nth-child(3) .mentor-spot__txt { --ty: 3%; }
.mentor-spot:nth-child(4) .mentor-spot__txt { --ty: 24%; }
.mentor-spot:nth-child(5) .mentor-spot__txt { --ty: 3%; }

.mentor-spot__txt em {
  display: block;
  font-style: normal;
  font-size: 0.59375rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.5s var(--ease-soft);
}
.mentor-spot__txt b {
  display: block;
  margin: 6px 0 7px;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  transition: color 0.5s var(--ease-soft);
}
.mentor-spot__txt span {
  display: block;
  font-size: 0.65625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.66);
  transition: color 0.5s var(--ease-soft);
}
.mentor-spot:hover .mentor-spot__txt { transform: translateY(-3px); }
.mentor-spot:hover em { color: var(--gold-hi); }
.mentor-spot:hover b { color: var(--gold-soft); }
.mentor-spot:hover span { color: rgba(255, 255, 255, 0.86); }
.mentor-chip {
  position: relative;
  display: block;
  flex: 1 1 0;
  height: 420px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(170deg, #3a4c60 0%, #26333f 58%, #18212a 100%);
  box-shadow: 0 26px 50px -30px rgba(0, 0, 0, 0.9);
  transition: transform 1.2s var(--ease-soft), box-shadow 1.2s var(--ease-soft);
}
.mentor-chip:nth-child(2n) {
  margin-top: 42px;
  background: linear-gradient(170deg, #44586e 0%, #2b3a47 58%, #18212a 100%);
}
.mentor-chip:nth-child(3n) {
  background: linear-gradient(170deg, #50483c 0%, #33302a 58%, #1b1f24 100%);
}
.mentor-chip__info {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 20px 16px 30px;
  background: linear-gradient(180deg, rgba(16, 22, 28, 0.6) 0%, rgba(16, 22, 28, 0.26) 62%, rgba(16, 22, 28, 0) 100%);
}
.mentor-chip__info em {
  display: block;
  font-style: normal;
  font-size: 0.59375rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mentor-chip__info b {
  display: block;
  margin: 8px 0 10px;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  transition: color 1.2s var(--ease-soft);
}
.mentor-chip__info span {
  display: block;
  min-height: 39px;
  font-size: 0.6875rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
  transition: color 1.2s var(--ease-soft);
}
.mentor-chip img {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  width: 100%;
  height: calc(100% - 166px);
  object-fit: contain;
  object-position: bottom center;
  transition: transform 1.6s var(--ease-soft);
}
.mentor-chip img.mentor-chip__photo--bust {
  transform: scale(1.35);
  transform-origin: bottom center;
}
.mentor-chip:hover img.mentor-chip__photo--bust { transform: scale(1.42); }
.mentor-chip:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 60px -26px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(226, 199, 156, 0.55);
}
.mentor-chip:hover img { transform: scale(1.05); }
.mentor-chip:hover .mentor-chip__info b { color: var(--gold-soft); }
.mentor-chip:hover .mentor-chip__info span { color: rgba(255, 255, 255, 0.92); }

@media (max-width: 900px) {
  .mentors-hero__copy { margin-bottom: 30px; }
  .mentors-hero__grid {
    flex-wrap: wrap;
    gap: 12px;
  }
  .mentor-chip {
    flex: 0 0 calc((100% - 12px) / 2);
    height: 330px;
  }
  .mentor-chip:nth-child(even) { margin-top: 0; }
  .mentor-chip__info { padding: 16px 12px 26px; }
  .mentor-chip__info em { font-size: 0.5625rem; }
  .mentor-chip__info b { font-size: 0.875rem; margin: 6px 0 7px; }
  .mentor-chip__info span { font-size: 0.625rem; line-height: 1.65; min-height: 33px; }
  .mentor-chip img { height: calc(100% - 104px); }
  .mentor-spot__txt { left: 8px; right: 6px; }
  .mentor-spot__txt em { font-size: 0.5rem; letter-spacing: 0.04em; }
  .mentor-spot__txt b { font-size: 0.8125rem; margin: 4px 0 5px; }
  .mentor-spot__txt span { font-size: 0.5625rem; line-height: 1.6; }
}

/* 小屏：群像上的热区改成图片下方的信息卡，避免文字挤在窄色板里 */
@media (max-width: 820px) {
  .mentors-hero__spots {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 18px;
  }
  .mentor-spot {
    position: static;
    display: block;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 0.4s var(--ease-soft), background 0.4s var(--ease-soft);
  }
  /* 覆盖上面按色板定位的 left / width，改为正常栅格流 */
  .mentors-hero__spots .mentor-spot {
    left: auto;
    width: auto;
  }
  .mentor-spot:hover {
    border-color: rgba(226, 199, 156, 0.5);
    background: rgba(255, 255, 255, 0.08);
  }
  .mentor-spot__txt {
    position: static;
    display: block;
  }
  .mentor-spot__txt em { font-size: 0.5625rem; letter-spacing: 0.06em; }
  .mentor-spot__txt b { font-size: 0.9375rem; margin: 4px 0 5px; }
  .mentor-spot__txt span { font-size: 0.65625rem; line-height: 1.6; }
  .mentor-spot:hover .mentor-spot__txt { transform: none; }
}

@media (max-width: 900px) {
  .milestones {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 0;
    padding-left: 20px;
  }
  .milestones::before {
    left: 4px;
    right: auto;
    top: 4px;
    bottom: 4px;
    width: 1px;
    height: auto;
  }
  .milestone { padding-top: 0; }
  .milestone::before { top: 5px; left: -20px; }
  .audience-grid,
  .service-grid { grid-template-columns: 1fr; }
  .gallery-track img { height: 200px; }
}

/* ---------- 三大支柱 ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
/* 关于我们：愿景 / 使命 / 服务理念 跨两列整行排列 */
.about-grid > .pillars { grid-column: 1 / -1; }
.pillar {
  padding: 38px 32px 40px;
  border: 1px solid rgba(31, 42, 55, 0.06);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.pillar:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px -16px rgba(31, 42, 55, 0.28);
}
.pillar .num {
  font-family: var(--font-serif);
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  color: #a9865a;
}
.pillar h3 {
  margin: 20px 0 14px;
  font-size: 1.3125rem;
}
.pillar p {
  font-size: 0.90625rem;
  color: var(--muted);
}

/* ---------- 导师 ---------- */
.mentors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.mentor-card {
  position: relative;
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 26px;
  padding: 30px;
  background: var(--white);
  border: 1px solid #ded8ce;
  border-radius: var(--radius);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.mentor-card:hover,
.mentor-card:focus-within {
  transform: none;
  border-color: #cfc8bc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}
.mentor-body h3 a {
  color: inherit;
  text-decoration: none;
}
/* 让标题链接铺满整张卡片，整卡可点击 */
.mentor-body h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}
.mentor-monogram {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background:
    radial-gradient(120% 120% at 20% 15%, rgba(226, 199, 156, 0.24), transparent 55%),
    var(--ink-2);
  color: var(--gold-soft);
  text-align: center;
  padding: 10px;
}
.mentor-monogram .cn {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  letter-spacing: 0.08em;
  line-height: 1.2;
}
.mentor-monogram .en {
  font-size: 0.5625rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}
.mentor-body h3 {
  font-size: 1.375rem;
  margin-bottom: 4px;
}
.mentor-body .en-name {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  color: #a9865a;
  text-transform: uppercase;
}
.mentor-body .role {
  margin: 12px 0 14px;
  font-size: 0.875rem;
  color: var(--teal);
  line-height: 1.7;
}
.mentor-body .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  background: var(--teal-soft);
  color: var(--teal);
  border-radius: 999px;
}

/* 导师详情页 */
.mentor-list { display: grid; gap: 30px; }
.mentor-profile {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: start;
  /* 左栏整列深色底，配合下方固定高度的肖像面板 */
  background:
    linear-gradient(to right, var(--ink) 0 300px, var(--white) 300px);
  border: 1px solid var(--line);
}
.mentor-profile .portrait {
  position: sticky;
  top: calc(var(--header-h) + 58px);
  align-self: start;
  /* 固定高度：避免被右侧超长详情撑高后，竖图被 cover 强行拉伸 */
  height: 480px;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(90% 90% at 25% 15%, rgba(226, 199, 156, 0.3), transparent 60%),
    linear-gradient(160deg, var(--ink-2), var(--ink));
  color: var(--gold-soft);
  text-align: center;
}
.mentor-profile .portrait > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.mentor-profile .portrait > div {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 56px 20px 24px;
  background: linear-gradient(to top, rgba(10, 20, 44, 0.94) 20%, rgba(10, 20, 44, 0.6) 60%, transparent);
}
.mentor-profile .portrait .cn {
  font-family: var(--font-serif);
  font-size: 3.375rem;
  letter-spacing: 0.14em;
  line-height: 1.3;
}
.mentor-profile .portrait .en {
  display: block;
  margin-top: 16px;
  font-size: 0.625rem;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.55);
}
.mentor-profile .portrait .index {
  position: absolute;
  top: 22px;
  left: 24px;
  z-index: 2;
  font-family: var(--font-serif);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(232, 195, 142, 0.8);
}
.mentor-profile .detail { padding: 38px 40px 40px; }
.mentor-profile h2 { font-size: 1.75rem; margin-bottom: 6px; }
.mentor-profile .en-name {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: #a9865a;
  text-transform: uppercase;
}
.mentor-profile .role {
  margin: 16px 0 20px;
  font-size: 0.9375rem;
  color: var(--teal);
  line-height: 1.8;
}
.mentor-profile .desc {
  font-size: 0.90625rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.detail-block { margin-top: 18px; }
.detail-block h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink);
  margin-bottom: 8px;
}
.detail-block p,
.detail-block li {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.85;
}
.course-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.course-chips span {
  font-size: 0.78125rem;
  padding: 5px 11px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
}

/* 导师课堂视频 */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.video-card {
  margin: 0;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #16202b;
}
.video-card figcaption {
  padding: 12px 16px;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
}

/* ---------- 课程 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-btn {
  padding: 9px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-size: 0.84375rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.filter-btn:hover { color: var(--ink); border-color: var(--ink); }
.filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.course-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.course-card:hover {
  transform: translateY(-4px);
  border-color: rgba(71, 97, 125, 0.35);
  box-shadow: var(--shadow-sm);
}
.course-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 24px 14px;
}
.meta-pill {
  font-size: 0.71875rem;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.meta-pill--online { color: var(--teal); border-color: rgba(71, 97, 125, 0.3); background: var(--teal-soft); }
.meta-pill--offline { color: #8a6d33; border-color: rgba(176, 146, 98, 0.4); background: rgba(176, 146, 98, 0.12); }
.course-card h3 {
  font-size: 1.1875rem;
  line-height: 1.55;
  margin: 0 24px 8px;
  min-height: calc(1.55em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.course-card .mentor-name {
  font-size: 0.78125rem;
  letter-spacing: 0.05em;
  color: #a9865a;
  margin: 0 24px 12px;
}
.course-card .summary {
  font-size: 0.84375rem;
  color: var(--muted);
  line-height: 1.8;
  margin: 0 24px 20px;
  min-height: calc(1.8em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.course-card .foot {
  margin-top: auto;
  padding: 15px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.course-card .foot span { font-size: 0.78125rem; color: var(--muted); }
.course-card .foot a {
  font-size: 0.8125rem;
  color: var(--teal);
  display: inline-flex;
  gap: 6px;
  align-items: center;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.course-card .foot a:hover { gap: 10px; color: var(--ink); }

/* 报名按钮：默认同筛选按钮（描边胶囊），悬停同文字链接，点击后才是黑色实心 */
.course-card .foot a[target="_blank"],
.course-card .foot a.signup-btn,
.signup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.78125rem;
  line-height: 1.4;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.course-card .foot a[target="_blank"]:hover,
.course-card .foot a.signup-btn:hover,
.signup-btn:hover {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.course-card .foot a[target="_blank"]:active,
.course-card .foot a.signup-btn:active,
.signup-btn:active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.signup-btn--sm { padding: 6px 13px; font-size: 0.71875rem; }

/* 无封面 / 无 footer 的紧凑卡片（课程详情页模块卡）补回上下留白 */
.course-card > h3:first-child { margin-top: 24px; }
.course-card > .summary:last-child { margin-bottom: 24px; }

.course-card.is-hidden { display: none; }

.course-empty {
  padding: 50px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
}

/* ---------- 引用带 ---------- */
.quote-band {
  position: relative;
  padding: 104px 0;
  background:
    linear-gradient(rgba(20, 28, 38, 0.86), rgba(20, 28, 38, 0.9)),
    url("/assets/img/box2-bg.jpg") center/cover no-repeat fixed;
  color: #fff;
  text-align: center;
}
.quote-band .mark {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.8;
}
.quote-band blockquote {
  margin: 18px auto 0;
  max-width: 900px;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.75;
  letter-spacing: 0.04em;
}
.quote-band cite {
  display: block;
  margin-top: 26px;
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.26em;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- 首页：导师阵容展台 ---------- */
.mentor-show { max-width: 1020px; margin: 0 auto; }
.mentor-show .show-head { text-align: center; margin-bottom: 40px; }
.mentor-show .show-head blockquote { margin-top: 14px; }
.mentor-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 30px;
  margin-bottom: 46px;
}
.mentor-tabs button {
  position: relative;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 8px 2px;
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s var(--ease);
}
.mentor-tabs button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold-hi);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.mentor-tabs button:hover { color: #fff; }
.mentor-tabs button.is-active { color: var(--gold-hi); }
.mentor-tabs button.is-active::after { transform: scaleX(1); }
/* 资料卡轮播舞台：卡片横向排列，靠 transform/opacity 过渡（GPU 合成，60fps） */
.mentor-stage {
  position: relative;
  display: grid;
  overflow: hidden;
  /* 横向手势交给卡片滑动，纵向仍可正常滚动页面 */
  touch-action: pan-y;
}
.mentor-stage.is-dragging { cursor: grabbing; user-select: none; }
.mentor-stage.is-dragging .mentor-panel { cursor: grabbing; }
.mentor-panel {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 50px;
  align-items: stretch;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  /* 每张卡独立的入场/离场起始位移，由 JS 按切换方向写入 */
  --enter-x: 100%;
  --leave-x: -100%;
  transform: translate3d(var(--enter-x), 0, 0);
  transition:
    opacity 0.7s var(--ease-soft),
    transform 0.7s var(--ease-soft),
    visibility 0s linear 0.7s;
  will-change: opacity, transform;
}
.mentor-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.7s var(--ease-soft),
    transform 0.7s var(--ease-soft),
    visibility 0s;
}
.mentor-panel.is-leaving {
  opacity: 0;
  visibility: hidden;
  transform: translate3d(var(--leave-x), 0, 0);
  transition:
    opacity 0.7s var(--ease-soft),
    transform 0.7s var(--ease-soft),
    visibility 0s linear 0.7s;
}
@media (prefers-reduced-motion: reduce) {
  .mentor-panel,
  .mentor-panel.is-active,
  .mentor-panel.is-leaving { transition: none; transform: none; }
}
.mentor-portrait {
  display: flex;
  flex-direction: column;
  align-self: start;
}
.mentor-portrait img {
  display: block;
  width: 100%;
  height: auto;
}
/* 详情列撑满卡片高度，按钮贴底与导师照片底部对齐 */
.mentor-info {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.mentor-info .btn {
  align-self: flex-start;
  margin-top: auto;
}
.mentor-info h3 {
  font-size: 1.625rem;
  color: #fff;
  margin-bottom: 4px;
}
.mentor-info .en-name {
  display: block;
  font-size: 0.71875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.mentor-points { display: grid; gap: 10px; }
.mentor-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.90625rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
}
.mentor-points img { flex: none; margin-top: 8px; }
.mentor-works {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.mentor-works h4 {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 10px;
}
.mentor-works p {
  font-size: 0.84375rem;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.6);
}
.mentor-info .btn { margin-top: auto; }

/* ---------- 首页：现场图库跑马灯 ---------- */
.gallery-band {
  padding: 92px 0 96px;
  background: var(--white);
  overflow: hidden;
}
.gallery-head {
  text-align: center;
  margin-bottom: 46px;
  padding: 0 20px;
}
.gallery-head img {
  display: block;
  width: min(560px, 86%);
  height: auto;
  margin: 0 auto 16px;
}
.gallery-title {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 4.4vw, 3.125rem);
  line-height: 1.45;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--ink);
}
.gallery-title em {
  font-style: normal;
  color: var(--gold-3);
}
.gallery-head p {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.marquee { overflow: hidden; }
.marquee + .marquee { margin-top: 14px; }
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 52s linear infinite;
}
.marquee--rev .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  display: block;
  width: 302px;
  height: 202px;
  object-fit: cover;
  margin: 0 7px;
  border-radius: 12px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 首页：关于轮播 ---------- */
.about-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.about-slider .slides {
  display: flex;
  transition: transform 0.7s var(--ease);
}
.about-slider .slides img {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  aspect-ratio: 982 / 614;
  object-fit: cover;
  border-radius: var(--radius);
}
.about-slider .dots {
  position: absolute;
  left: 18px;
  bottom: 16px;
  display: flex;
  gap: 8px;
}
.about-slider .dots button {
  width: 24px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.3s var(--ease);
}
.about-slider .dots button.is-active { background: var(--gold-hi); }

/* ---------- 首页：导师卡肖像 & 课程封面 ---------- */
.mentor-monogram img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.course-card .cover {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 389 / 206;
  background: var(--sand);
  border-radius: 0;
  flex-shrink: 0;
}
.course-card .cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s var(--ease);
}
.course-card:hover .cover img { transform: scale(1.03); }
.course-card { cursor: pointer; }
.course-card[data-detail]:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
/* 尚无官方海报的课程：文字封面（与图片封面同比例，保持网格齐平） */
.course-card .cover--text {
  aspect-ratio: 389 / 206;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 0 26px;
  background:
    radial-gradient(85% 85% at 20% 12%, rgba(226, 199, 156, 0.28), transparent 62%),
    linear-gradient(158deg, var(--ink-2), var(--ink));
}
.course-card .cover--text span {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--gold-soft);
}
.course-card .cover--text em {
  font-style: normal;
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-2);
}

/* 课程详情页：封面与视频 */
.course-cover {
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
}
.course-cover img {
  display: block;
  width: 100%;
  height: auto;
}
.course-video {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
}
.course-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #16202b;
}
.course-video figcaption {
  padding: 12px 16px;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
}
.btn--outline-gold {
  margin-top: 12px;
  border-color: rgba(176, 146, 98, 0.55);
  color: var(--gold);
  background: transparent;
}
.btn--outline-gold:hover {
  border-color: var(--gold-3);
  background: rgba(226, 199, 156, 0.1);
  color: var(--gold-3);
}

/* 关于心璐：现场图库 */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.photo-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--ink);
}
.photo-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 374 / 250;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.photo-grid figure:hover img { transform: scale(1.06); }

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
}
.faq-intro h2 {
  margin: 18px 0 18px;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}
.faq-intro p { color: var(--muted); font-size: 0.9375rem; }
.faq-intro .btn { margin-top: 30px; }

.faq-list,
.voice-list { border-top: 1px solid var(--line); }
.faq-item,
.voice-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary,
.voice-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--font-serif);
  font-size: 1.09375rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color 0.3s var(--ease);
}
.faq-item summary::-webkit-details-marker,
.voice-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after,
.voice-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: block;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background-color: transparent;
  /* 等边三角形：边长 10px、高 8.6603px；视图盒高 11.547px，使质心正好落在盒中心 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 11.547'%3E%3Cpath d='M0 2.8868h10L5 11.547z' fill='%2347617d'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 11.547px;
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1), background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.faq-item[open] summary,
.voice-item[open] summary { color: var(--teal); }
.faq-item[open] summary::after,
.voice-item[open] summary::after {
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 11.547'%3E%3Cpath d='M0 2.8868h10L5 11.547z' fill='%23ffffff'/%3E%3C/svg%3E");
  border-color: var(--ink);
  /* 等边三角形旋转 60° 即为正三角；绕圆心旋转，质心始终保持在圆心 */
  transform: rotate(60deg);
}
/* 收起动画播放期间，图标提前回到收起态，与答案收缩同步 */
.faq-item.is-closing summary::after,
.voice-item.is-closing summary::after {
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 11.547'%3E%3Cpath d='M0 2.8868h10L5 11.547z' fill='%2347617d'/%3E%3C/svg%3E");
  border-color: var(--line-strong);
  transform: none;
}
.faq-item .answer,
.voice-item .answer {
  padding: 0 46px 24px 0;
  font-size: 0.90625rem;
  color: var(--muted);
  line-height: 1.9;
}
.faq-item .answer a,
.voice-item .answer a { color: var(--teal); border-bottom: 1px solid rgba(71, 97, 125, 0.3); }

/* ---------- CTA ---------- */
.cta-panel {
  position: relative;
  padding: 68px 60px;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(226, 199, 156, 0.2), transparent 60%),
    var(--ink);
  color: #fff;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 50px;
  align-items: center;
  overflow: hidden;
}
.cta-panel::before {
  content: "心璐";
  position: absolute;
  right: 26px;
  bottom: -34px;
  font-family: var(--font-serif);
  font-size: 11.875rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
}
.cta-panel h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 16px;
}
.cta-panel p { color: rgba(255, 255, 255, 0.65); font-size: 0.9375rem; max-width: 560px; }
.cta-panel .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: #1b242e;
  color: rgba(255, 255, 255, 0.62);
  padding: 66px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.78fr 0.84fr 0.94fr 1.32fr;
  gap: 36px;
  padding-bottom: 46px;
}
.footer-brand .brand { display: block; margin-bottom: 18px; }
.footer-brand p {
  font-size: 0.84375rem;
  line-height: 1.9;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-contact {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.58);
}
.footer-contact img {
  flex: none;
  margin-top: 3px;
  opacity: 0.85;
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col li { margin-bottom: 10px; }
.footer-col li:last-child { margin-bottom: 0; }
.footer-col a,
.footer-col span {
  font-size: 0.84375rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: #fff; }
.footer-qr .qr-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-qr figure {
  width: 100px;
  margin: 0;
  text-align: center;
}
.footer-qr img {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: cover;
  padding: 5px;
  background: #fff;
  border-radius: 3px;
}
.footer-qr figcaption {
  margin-top: 8px;
  font-size: 0.71875rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.58);
  transition: color 0.3s var(--ease);
}
.footer-bottom a:hover { color: var(--gold-hi); }

/* ---------- 内页 Hero ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 78px) 0 64px;
  background:
    radial-gradient(70% 100% at 85% 0%, rgba(226, 199, 156, 0.18), transparent 65%),
    var(--ink);
  color: #fff;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: 30%;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(226, 199, 156, 0.2);
  border-radius: 50%;
  pointer-events: none;
}
.breadcrumb {
  display: flex;
  gap: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 26px;
}
.breadcrumb a:hover { color: var(--gold-soft); }
.page-hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  margin-bottom: 18px;
}
.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.96875rem;
}

/* 关于我们 · 首屏（5 位导师图 + slogan） */
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 56px;
  align-items: center;
}
.about-hero-copy h1 { margin-bottom: 10px; }
.page-hero .about-hero-slogan {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.375rem);
  letter-spacing: 0.08em;
  color: var(--gold-soft);
  max-width: none;
}
.about-hero-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 42px rgba(6, 16, 38, 0.5));
}

@media (max-width: 900px) {
  .about-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---------- 时间线 ---------- */
.timeline {
  position: relative;
  max-width: 860px;
  margin-top: 10px;
  padding-left: 34px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line-strong);
}
.timeline-item {
  position: relative;
  padding: 0 0 38px 22px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 9px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--gold);
}
.timeline-item .time {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 6px;
}
.timeline-item h3 { font-size: 1.25rem; margin-bottom: 8px; }
.timeline-item p { font-size: 0.90625rem; color: var(--muted); }

/* ---------- 价值观卡片 ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.value-grid--2 { grid-template-columns: repeat(2, 1fr); }
.value-card {
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid var(--line);
}
.value-card .num {
  font-family: var(--font-serif);
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  color: #a9865a;
}
.value-card h3 { font-size: 1.25rem; margin: 18px 0 12px; }
.value-card p { font-size: 0.875rem; color: var(--muted); }

/* ---------- 联合体 ---------- */
.group-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.group-list li {
  padding: 20px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.group-list li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.group-list li.is-self { color: var(--ink); font-weight: 600; background: var(--white); }

/* ---------- 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.contact-info { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item .ico {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--teal-soft);
  color: var(--teal);
  border-radius: 50%;
}
.contact-item h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 500;
}
.contact-item p { font-size: 0.9375rem; color: var(--ink); }
.contact-item p a { color: var(--teal); }
.contact-item small { display: block; margin-top: 4px; font-size: 0.78125rem; color: var(--muted); }

.form-panel {
  padding: 44px 42px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.form-panel h2 { font-size: 1.625rem; margin-bottom: 8px; }
.form-panel > p { font-size: 0.875rem; color: var(--muted); margin-bottom: 28px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.78125rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 7px;
}
.field label .req { color: #b4513f; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  font-family: inherit;
  font-size: 0.90625rem;
  color: var(--ink);
  border-radius: 2px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 110px; }
.field .hint { font-size: 0.75rem; color: var(--muted); margin-top: 6px; }
.field.is-invalid input,
.field.is-invalid textarea { border-color: #b4513f; }
.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.78125rem;
  color: var(--muted);
  margin: 4px 0 24px;
}
.form-consent input { width: 15px; height: 15px; margin-top: 3px; flex-shrink: 0; accent-color: var(--teal); }
.form-consent a { color: var(--teal); border-bottom: 1px solid rgba(71, 97, 125, 0.3); }
.form-panel .btn { width: 100%; }
.form-note { margin-top: 14px; font-size: 0.75rem; color: var(--muted); text-align: center; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translate(-50%, 20px);
  z-index: 300;
  padding: 14px 26px;
  background: var(--ink);
  color: #fff;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

.map-panel {
  margin-top: 26px;
  padding: 30px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  overflow: hidden;
}
.map-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}
.map-panel .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(226, 199, 156, 0.22);
  margin-bottom: 16px;
}
.map-panel h4 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: #fff;
  margin-bottom: 6px;
}
.map-panel p { font-size: 0.84375rem; }
.map-panel small { display: block; margin-top: 14px; font-size: 0.75rem; color: rgba(255, 255, 255, 0.4); }

/* ---------- 滚动动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-card { max-width: 440px; align-self: start; }
  .hero-stage { row-gap: 28px; }
  .about-grid { gap: 48px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-layout { gap: 46px; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-grid .footer-qr { grid-column: 1 / -1; }
  .footer-qr .qr-row { justify-content: flex-start; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .container { width: calc(100% - 40px); }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 26px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a {
    color: var(--ink);
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .nav a::after { display: none; }
  .nav a.is-active { color: var(--teal); }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  body.menu-open { overflow: hidden; }
  .site-header.is-solid .nav a { color: var(--ink); }

  .hero { min-height: auto; padding: calc(var(--header-h) + 44px) 0 56px; }
  .hero h1 { font-size: clamp(2.1rem, 8.2vw, 3rem); }
  .hero-note { letter-spacing: 0.08em; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 28px 16px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .section { padding: 74px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 40px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; padding-bottom: 0; }
  .about-visual .photo { width: 100%; aspect-ratio: 16 / 11; }
  .about-visual .badge { position: static; width: 100%; margin-top: -1px; }

  .pillars { grid-template-columns: 1fr; }
  .pillar { border-left: 1px solid var(--line); }

  .mentors-grid { grid-template-columns: 1fr; }
  .mentor-card { grid-template-columns: 96px 1fr; gap: 20px; padding: 24px; }
  .mentor-monogram .cn { font-size: 1.4375rem; }

  .courses-grid { grid-template-columns: 1fr; }

  .quote-band { padding: 76px 0; }

  /* 竖屏：收紧导师展台的纵向留白，头像居中，避免中间空出一大片 */
  .mentor-show .show-head { margin-bottom: 24px; }
  .mentor-tabs { gap: 6px 20px; margin-bottom: 24px; }
  .mentor-panel { grid-template-columns: 1fr; gap: 22px; align-content: start; }
  .mentor-portrait { max-width: 300px; margin-inline: auto; }
  .marquee-track img { width: 236px; height: 158px; }
  .gallery-band { padding: 70px 0 74px; }

  .faq-layout { grid-template-columns: 1fr; }
  .faq-intro .btn { margin-top: 20px; }

  .cta-panel { grid-template-columns: 1fr; padding: 46px 30px; gap: 30px; }
  .cta-panel .actions { justify-content: flex-start; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid .footer-qr { grid-column: 1 / -1; }
  .footer-bottom { justify-content: center; text-align: center; }

  .mentor-profile { grid-template-columns: 1fr; background: var(--white); }
  .mentor-profile .portrait {
    position: static;
    top: auto;
    height: 320px;
    min-height: 0;
  }
  .mentor-profile .portrait .cn { font-size: 2.625rem; }
  .mentor-profile .detail { padding: 30px 26px 34px; }
  .video-grid { grid-template-columns: 1fr; }

  .value-grid { grid-template-columns: 1fr; }
  .value-grid--2 { grid-template-columns: 1fr; }
  .group-list { grid-template-columns: 1fr 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-panel { padding: 30px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .page-hero { padding: calc(var(--header-h) + 56px) 0 50px; }
}

@media (max-width: 560px) {
  .hero-stage .hero-actions { justify-self: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-card { padding: 26px 22px; }
  .mentor-card { grid-template-columns: 1fr; }
  /* 竖屏保持原卡片高度，只调整取景：完整保留人物头部，裁掉图片上下空白 */
  .mentor-monogram { width: 100%; aspect-ratio: 9 / 5; flex-direction: row; gap: 12px; }
  .mentor-monogram img { object-position: center 12%; }
  .group-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-qr .qr-row { justify-content: center; }
  .about-facts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* 打印 */
@media print {
  .site-header, .site-footer, .hero-actions, .cta-panel, .toast { display: none !important; }
  body { background: #fff; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   站点改造：导航下拉 / 机构关系 / 团队 / 课程详情 /
   知识中心 / 活动 / 信任与合规
   ========================================================= */

/* ---------- 导航下拉 ---------- */
.nav { gap: 4px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-sub-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.caret {
  position: relative;
  top: 1px;
  width: 5px;
  height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.55;
  transition: transform 0.3s var(--ease);
}
.has-sub.is-open .caret { transform: rotate(-135deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  min-width: 196px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 26px 50px -30px rgba(22, 49, 99, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  z-index: 120;
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 0.84375rem;
  letter-spacing: 0.04em;
  color: var(--ink) !important;
  white-space: nowrap;
  border-radius: 2px;
}
.dropdown a::after { display: none; }
.dropdown a:hover,
.dropdown a.is-active {
  background: var(--paper);
  color: var(--teal) !important;
}
.has-sub:hover .dropdown,
.has-sub:focus-within .dropdown,
.has-sub.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ---------- 机构关系图 ---------- */
.org-map {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  grid-template-areas:
    "eco core capital"
    "source core capital";
  gap: 16px;
  margin-bottom: 44px;
}
.org-node {
  position: relative;
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.org-node strong {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
}
.org-node span {
  font-size: 0.78125rem;
  color: var(--muted);
  line-height: 1.7;
}
.org-node .tagline {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
}
.org-node--eco { grid-area: eco; }
.org-node--source { grid-area: source; }
.org-node--capital { grid-area: capital; background: var(--paper); }
.org-node--core {
  grid-area: core;
  background:
    radial-gradient(80% 120% at 80% 0%, rgba(226, 199, 156, 0.24), transparent 60%),
    var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}
.org-node--core strong { color: var(--gold-soft); font-size: 1.75rem; }
.org-node--core span { color: rgba(255, 255, 255, 0.65); }
.org-node--core .tagline { color: var(--gold); }

.relation-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.relation-card {
  padding: 30px 28px;
  background: var(--white);
  border: 1px solid var(--line);
}
.relation-card .rel {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 12px;
}
.relation-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.relation-card p { font-size: 0.90625rem; color: var(--muted); }
.relation-card p + p { margin-top: 10px; }

/* ---------- 团队 ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.team-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 24px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
}
.team-avatar {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ink);
  color: var(--gold-soft);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  overflow: hidden;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.team-card h3 { font-size: 1.3125rem; margin-bottom: 4px; }
.team-card .role {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 12px;
}
.team-card p { font-size: 0.875rem; color: var(--muted); }

/* ---------- 课程详情 ---------- */
.course-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 56px;
  align-items: start;
}
.course-aside {
  position: sticky;
  top: calc(var(--header-h) + 26px);
  padding: 30px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.course-aside h3 {
  font-size: 1.125rem;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.course-aside dl { margin: 0; }
.course-aside dt {
  font-size: 0.71875rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 3px;
}
.course-aside dd {
  margin: 0 0 15px;
  font-size: 0.90625rem;
  line-height: 1.7;
}
.course-aside .btn { width: 100%; margin-top: 8px; }
.course-aside .aside-note {
  margin-top: 14px;
  font-size: 0.71875rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.7;
}

.course-block { margin-bottom: 48px; }
.course-block h2 {
  font-size: 1.625rem;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.course-block h2 small {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-left: 10px;
  font-weight: 400;
}
.course-block p { font-size: 0.9375rem; color: var(--muted); }
.course-block p + p { margin-top: 12px; }

.audience-list { display: grid; gap: 12px; }
.audience-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.90625rem;
  color: var(--muted);
  line-height: 1.8;
}
.audience-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.6875rem;
  background: var(--teal-soft);
  color: var(--teal);
  content: "✓";
}
.audience-list--no li::before {
  content: "×";
  background: #f7e9e6;
  color: #a74a38;
}

.module-list {
  counter-reset: mod;
  border-top: 1px solid var(--line);
}
.module-list li {
  counter-increment: mod;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.90625rem;
  color: var(--muted);
}
.module-list li::before {
  content: counter(mod, decimal-leading-zero);
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  color: var(--gold);
  letter-spacing: 0.06em;
}
.module-list b {
  display: block;
  color: var(--ink);
  font-size: 0.96875rem;
  font-weight: 600;
  margin-bottom: 3px;
}

/* 声明框 */
.notice {
  padding: 24px 26px;
  background: #faf4e7;
  border: 1px solid rgba(176, 146, 98, 0.45);
  color: #6b5426;
  font-size: 0.875rem;
  line-height: 1.9;
}
.notice strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  color: #4a3a17;
  margin-bottom: 6px;
}
.notice p + p { margin-top: 8px; }
.notice a { color: #7a5b1e; border-bottom: 1px solid rgba(122, 91, 30, 0.4); }
.notice--danger {
  background: #faeeeb;
  border-color: rgba(167, 74, 56, 0.35);
  color: #7a3a2e;
}
.notice--danger strong { color: #7a3a2e; }

/* ---------- 知识中心 ---------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.article-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(71, 97, 125, 0.35);
  box-shadow: var(--shadow-sm);
}
.article-card .cat {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  color: #a9865a;
  margin-bottom: 16px;
}
.article-card h3 { font-size: 1.25rem; line-height: 1.6; margin-bottom: 12px; }
.article-card p { font-size: 0.875rem; color: var(--muted); margin-bottom: 22px; }
.article-card .read {
  margin-top: auto;
  font-size: 0.8125rem;
  color: var(--teal);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 60px;
  align-items: start;
}
.article-body { max-width: 780px; }
.article-body .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}
.article-body .article-meta span { color: var(--gold); }
.article-body h2 {
  font-size: 1.5625rem;
  margin: 42px 0 16px;
}
.article-body h3 {
  font-size: 1.1875rem;
  margin: 28px 0 12px;
}
.article-body p,
.article-body li {
  font-size: 0.96875rem;
  line-height: 2;
  color: var(--muted);
}
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol {
  padding-left: 1.3em;
  margin-bottom: 18px;
  list-style: disc;
}
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  margin: 28px 0;
  padding: 6px 0 6px 24px;
  border-left: 2px solid var(--gold);
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  line-height: 1.9;
  color: var(--ink);
}
.article-body .article-disclaimer {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.78125rem;
  color: var(--muted);
}

.article-aside {
  position: sticky;
  top: calc(var(--header-h) + 26px);
  padding: 28px 26px;
  background: var(--white);
  border: 1px solid var(--line);
}
.article-aside h3 { font-size: 1.0625rem; margin-bottom: 14px; }
.article-aside p { font-size: 0.8125rem; color: var(--muted); margin-bottom: 18px; }
.article-aside .btn { width: 100%; font-size: 0.8125rem; padding: 11px 18px; }
.article-aside .aside-links { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.article-aside .aside-links a {
  display: block;
  font-size: 0.8125rem;
  color: var(--teal);
  padding: 5px 0;
}

/* ---------- 活动资讯 ---------- */
.event-list { border-top: 1px solid var(--line); }
.event-card {
  display: grid;
  grid-template-columns: 170px 1fr 150px;
  gap: 34px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.event-date {
  padding-right: 20px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.event-date strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--teal);
}
.event-date span { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.08em; }
.event-card h3 { font-size: 1.3125rem; margin-bottom: 8px; }
.event-card p { font-size: 0.875rem; color: var(--muted); }
.event-card .event-action { text-align: right; }
.status-pill {
  display: inline-block;
  font-size: 0.71875rem;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border: 1px solid rgba(71, 97, 125, 0.3);
  color: var(--teal);
  background: var(--teal-soft);
  margin-bottom: 10px;
}
.status-pill--muted {
  color: var(--muted);
  background: var(--sand);
  border-color: var(--line);
}

/* ---------- 信任与合规 ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.trust-grid--2 { grid-template-columns: repeat(2, 1fr); }
.trust-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.trust-card:hover {
  transform: translateY(-4px);
  border-color: rgba(71, 97, 125, 0.35);
  box-shadow: var(--shadow-sm);
}
.trust-card .no {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #a9865a;
  margin-bottom: 16px;
}
.trust-card h3 { font-size: 1.1875rem; margin-bottom: 10px; }
.trust-card p { font-size: 0.84375rem; color: var(--muted); margin-bottom: 20px; }
.trust-card .read {
  margin-top: auto;
  font-size: 0.8125rem;
  color: var(--teal);
  display: inline-flex;
  gap: 6px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}
.legal-nav {
  position: sticky;
  top: calc(var(--header-h) + 26px);
  border-left: 1px solid var(--line);
}
.legal-nav a {
  display: block;
  padding: 11px 0 11px 18px;
  margin-left: -1px;
  font-size: 0.84375rem;
  color: var(--muted);
  border-left: 2px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.legal-nav a:hover { color: var(--ink); }
.legal-nav a.is-active {
  color: var(--ink);
  border-left-color: var(--gold);
  font-weight: 600;
}
.legal-body { max-width: 820px; }
.legal-body h2 {
  font-size: 1.5rem;
  margin: 44px 0 14px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.125rem; margin: 26px 0 10px; }
.legal-body p,
.legal-body li {
  font-size: 0.90625rem;
  line-height: 1.95;
  color: var(--muted);
}
.legal-body p { margin-bottom: 14px; }
.legal-body ul, .legal-body ol {
  padding-left: 1.3em;
  margin-bottom: 16px;
  list-style: disc;
}
.legal-body ol { list-style: decimal; }
.legal-body li { margin-bottom: 6px; }
.legal-body .updated {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 26px;
}
.legal-body strong { color: var(--ink); }
.legal-body .notice p { color: inherit; }
.legal-body .notice strong { color: #4a3a17; }
.legal-body .notice--danger strong { color: #7a3a2e; }

.doc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 26px;
  font-size: 0.875rem;
}
.doc-table th,
.doc-table td {
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.8;
}
.doc-table th {
  width: 30%;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
}
.doc-table td { color: var(--muted); }

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 0.71875rem;
  letter-spacing: 0.06em;
  color: var(--teal);
  background: var(--teal-soft);
  border-radius: 999px;
}
.trust-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

/* 页面内目录 */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
}
.anchor-nav a {
  font-size: 0.78125rem;
  padding: 6px 13px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: all 0.3s var(--ease);
}
.anchor-nav a:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- 响应式补充 ---------- */
@media (max-width: 1180px) {
  .nav { gap: 12px; }
  .nav a { font-size: 0.875rem; padding: 8px 9px; }
  .nav a::after { left: 9px; right: 9px; }
  .header-cta { display: none; }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 26px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav > a,
  .nav-sub-link {
    color: var(--ink);
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav > a::after,
  .nav-sub-link::after { display: none; }
  .nav > a.is-active { color: var(--teal); }
  .nav-item { display: block; width: 100%; }
  .dropdown {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: var(--paper);
    padding: 6px 12px;
    min-width: 0;
    width: 100%;
  }
  .has-sub.is-open .dropdown { display: block; }
  .dropdown a { padding: 11px 14px; border-bottom: 1px solid var(--line); }
  .dropdown a:last-child { border-bottom: 0; }
  .nav-toggle { display: block; }
  .nav-toggle span { background: var(--ink); }
  body.menu-open { overflow: hidden; }

  .org-map { grid-template-columns: 1fr; grid-template-areas: "core" "eco" "source" "capital"; }
  .relation-list { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .course-layout { grid-template-columns: 1fr; gap: 40px; }
  .course-aside { position: static; }
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .article-aside { position: static; }
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .legal-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-left: 0;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }
  .legal-nav a {
    padding: 7px 12px;
    border: 1px solid var(--line);
    margin: 0;
  }
  .legal-nav a.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
  .event-card { grid-template-columns: 130px 1fr; gap: 24px; }
  .event-date { padding-right: 18px; }
  .event-date strong { font-size: 1.125rem; }
  .event-date span { font-size: 0.71875rem; }
  .event-card .event-action { grid-column: 2; text-align: left; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .header-cta { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid--2 { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .course-block h2 { font-size: 1.4375rem; }
  .org-node--core strong { font-size: 1.5rem; }
}

@media (max-width: 640px) {
  .event-card { grid-template-columns: 1fr; gap: 14px; padding: 26px 0; }
  .event-date {
    text-align: left;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 10px;
  }
  .event-card .event-action { grid-column: 1; }
  .team-card { grid-template-columns: 1fr; gap: 16px; }
  .team-avatar { width: 64px; height: 64px; font-size: 1.25rem; }
  .doc-table th { width: 40%; }
  .article-body h2 { font-size: 1.375rem; }
  .course-aside { padding: 24px 20px; }
  .page-hero h1 { font-size: 1.85rem; line-height: 1.4; }
  .about-copy h2 { font-size: 1.68rem; line-height: 1.55; }
  .timeline-item h3 { font-size: 1.125rem; }
  .doc-table { font-size: 0.84375rem; }
  .doc-table th,
  .doc-table td { padding: 12px 10px; }
  .table-scroll .doc-table { min-width: 720px; }
}

/* 移动端子菜单与悬停状态修正 */
@media (max-width: 980px) {
  .nav > a:hover,
  .nav > a:focus,
  .nav-sub-link:hover,
  .nav-sub-link:focus,
  .nav-sub-link.is-active { color: var(--ink); }
  .nav > a.is-active { color: var(--teal); }
  .nav .nav-sub-link { font-size: 1rem; }
  .has-sub:hover .dropdown,
  .has-sub:focus-within .dropdown,
  .has-sub.is-open .dropdown { transform: none; }
  .dropdown a:hover,
  .dropdown a.is-active { color: var(--teal) !important; background: var(--white); }
}

/* 可横向滚动的表格容器 */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 8px;
}
.table-scroll .doc-table { margin-bottom: 18px; }

/* ---------- 导师课程卡（导师团队页） ---------- */
.course-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 4px;
}
.course-card--m {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
}
.course-card--m h5 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}
.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
.course-meta span {
  position: relative;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding-right: 9px;
}
.course-meta span + span::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 50%;
  width: 1px;
  height: 10px;
  margin-top: -5px;
  background: var(--line-strong);
}
.course-fact {
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--ink);
  margin: 0;
}
.course-fact b { font-weight: 600; }
.course-fit {
  list-style: none;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px dashed var(--line);
}
.course-fit li {
  position: relative;
  font-size: 0.78125rem;
  line-height: 1.85;
  color: var(--muted);
  padding-left: 14px;
}
.course-fit li + li { margin-top: 3px; }
.course-fit li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  background: var(--gold-2);
  border-radius: 50%;
}
.course-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 4px;
}
.course-cta .btn { font-size: 0.78125rem; padding: 9px 18px; }
.course-cta .ext-note { font-size: 0.71875rem; color: var(--muted); }

/* ---------- 学员案例 · 真实外链 ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 4px;
}
.case-card {
  display: flex;
  gap: 14px;
  padding: 15px 16px;
  background: var(--white);
  border: 1px solid var(--line);
}
.case-card img {
  flex: none;
  width: 54px;
  height: 54px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--sand);
}
.case-card .case-body { min-width: 0; }
.case-card b {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}
.case-card .case-role {
  display: block;
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.02em;
  margin-bottom: 5px;
}
.case-card p {
  font-size: 0.78125rem;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 8px;
}
.case-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--teal);
  border-bottom: 1px solid rgba(71, 97, 125, 0.35);
  padding-bottom: 1px;
}
.case-link:hover { color: var(--teal-2); border-bottom-color: var(--teal-2); }
.case-link::after { content: "→"; font-size: 0.75rem; }
.case-card .status-pill { margin-top: 2px; }

/* ---------- 2026 课程行程表 ---------- */
.schedule-note {
  font-size: 0.78125rem;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 10px;
}

/* 正文内链：让被提到的页面名称在段落中可识别 */
.schedule-note a,
.course-block p a,
.course-block li a,
.cta-panel p a,
.article-body p a,
.article-body li a,
.article-aside p a,
.legal-body p a,
.legal-body li a {
  color: var(--teal);
  border-bottom: 1px solid rgba(71, 97, 125, 0.35);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.schedule-note a:hover,
.course-block p a:hover,
.course-block li a:hover,
.cta-panel p a:hover,
.article-body p a:hover,
.article-body li a:hover,
.article-aside p a:hover,
.legal-body p a:hover,
.legal-body li a:hover {
  color: var(--teal-2);
  border-bottom-color: var(--teal-2);
}
/* 深色 CTA 面板中的正文内链改用浅金色，保证对比度 */
.cta-panel p a {
  color: var(--gold-hi);
  border-bottom-color: rgba(239, 218, 184, 0.45);
}
.cta-panel p a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.7);
}
.schedule-table th,
.schedule-table td {
  padding: 13px 16px;
  font-size: 0.8125rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}
.schedule-table th {
  width: auto;
  font-family: var(--font-sans);
  font-size: 0.71875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink);
  background: var(--sand);
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}

/* 导师页行程表：固定列宽，月份做成左侧栏 */
.schedule-table:not(.year-schedule) { table-layout: fixed; }
.schedule-table:not(.year-schedule) th:nth-child(1) { width: 9%; }
.schedule-table:not(.year-schedule) th:nth-child(3) { width: 16%; }
.schedule-table:not(.year-schedule) th:nth-child(4) { width: 25%; }
/* rowspan 会让后续行的列序错位，这里同时用「最后一列」兜底，保证上课时间始终居中 */
.schedule-table:not(.year-schedule) td:nth-child(3),
.schedule-table:not(.year-schedule) td:nth-child(4),
.schedule-table:not(.year-schedule) td:last-child { text-align: center; }
.schedule-table:not(.year-schedule) th:nth-child(1),
.schedule-table:not(.year-schedule) th:nth-child(3),
.schedule-table:not(.year-schedule) th:nth-child(4) { text-align: center; }

.schedule-table:not(.year-schedule) th:nth-child(1),
.schedule-table:not(.year-schedule) th:last-child,
.schedule-table:not(.year-schedule) td:first-child,
.schedule-table:not(.year-schedule) td:last-child { padding-left: 8px; padding-right: 8px; }

.schedule-table tbody td:first-child {
  font-family: var(--font-serif);
  font-size: 0.84375rem;
  text-align: center;
  color: var(--teal);
  background: var(--sand);
  border-right: 1px solid var(--line);
  white-space: nowrap;
}
.schedule-table thead th:first-child { border-right: 1px solid var(--line); text-align: center; }
.schedule-table tbody tr:last-child td { border-bottom: 0; }

/* 已结课的历史场次：整行降饱和，课程名后带标签 */
.schedule-table tbody tr.is-past td { color: var(--muted); }
.schedule-table tbody tr.is-past a { color: var(--muted); }
.schedule-table tbody tr.is-past .mode { opacity: 0.6; }
.past-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(31, 42, 55, 0.06);
  font-size: 0.65625rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  vertical-align: 1px;
  white-space: nowrap;
}

/* 排期状态标签：待开课 / 已开课 / 已结课 */
.status-tag {
  display: inline-block;
  padding: 2px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.6875rem;
  line-height: 1.6;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.status-tag--upcoming {
  color: #8a6a2f;
  background: rgba(200, 168, 120, 0.16);
  border-color: rgba(200, 168, 120, 0.42);
}
.status-tag--ongoing {
  color: #1f6f5c;
  background: rgba(63, 138, 116, 0.14);
  border-color: rgba(63, 138, 116, 0.4);
}
.status-tag--past {
  color: var(--muted);
  background: rgba(31, 42, 55, 0.06);
  border-color: rgba(31, 42, 55, 0.08);
}
.status-tag--tbd {
  color: var(--muted);
  background: transparent;
  border-color: var(--line-strong);
}
.status-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--muted);
}
.page-hero .status-legend { color: rgba(255, 255, 255, 0.68); }
.page-hero .status-tag--upcoming {
  color: #f0d9ae;
  background: rgba(200, 168, 120, 0.18);
  border-color: rgba(200, 168, 120, 0.46);
}
.page-hero .status-tag--ongoing {
  color: #bfe6d8;
  background: rgba(63, 138, 116, 0.2);
  border-color: rgba(63, 138, 116, 0.5);
}
.page-hero .status-tag--past {
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}
.schedule-card__stages .status-tag {
  padding: 0 6px;
  font-size: 0.625rem;
  line-height: 1.5;
}

/* 斑马纹只给无合并单元格的全年总表，避免 rowspan 时错位 */
.schedule-table.year-schedule tbody tr:nth-child(even) td { background: rgba(246, 242, 234, 0.5); }

.schedule-table a {
  color: var(--ink-2);
  border-bottom: 1px solid rgba(71, 97, 125, 0.35);
}
.schedule-table a:hover { color: var(--teal); border-bottom-color: var(--teal); }
.schedule-table .mode {
  display: inline-block;
  min-width: 68px;
  padding: 3px 10px;
  font-size: 0.71875rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--teal);
  background: var(--teal-soft);
  border: 1px solid rgba(71, 97, 125, 0.22);
  border-radius: var(--radius);
  white-space: nowrap;
}
.schedule-table .mode--live {
  color: var(--ink);
  background: rgba(226, 199, 156, 0.16);
  border-color: rgba(176, 146, 98, 0.42);
}
.schedule-table .mode--audio {
  color: var(--muted);
  background: var(--sand);
  border-color: var(--line-strong);
}
.schedule-table td .when {
  white-space: nowrap;
  font-size: 0.78125rem;
  color: var(--ink);
}
.schedule-table td .when.tbd { color: var(--muted); }
.schedule-table td .status-tag { margin-left: 6px; vertical-align: 1px; }
.schedule-table .tbd { color: var(--muted); }
.schedule-table td.tbd:first-child { color: var(--muted); }

/* 活动资讯页：全年行程总表 */
.year-schedule { margin-top: 6px; }
.year-schedule .mentor-row {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  color: var(--ink);
  font-weight: 600;
}
.year-schedule .mentor-row span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 400;
}
.year-schedule .mentor-row a {
  color: var(--ink);
  border-bottom: none;
}
.year-schedule .mentor-row a:hover { color: var(--teal); border-bottom: none; }
.year-schedule .mentor-row span + a { margin-left: 6px; }
.year-schedule td { vertical-align: middle; }

@media (max-width: 980px) {
  .course-cards { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .table-scroll .schedule-table { min-width: 620px; }
  .table-scroll .year-schedule { min-width: 880px; }
  .course-card--m { padding: 16px 16px 18px; }
  .case-card { padding: 14px; }
}

/* =========================================================
   导师页：吸顶定位导航 / 阅读进度 / 回到顶部
   ========================================================= */

/* ---------- 锚点偏移：避开固定头部 + 吸顶子导航 ---------- */
.mentor-profile[id] { scroll-margin-top: calc(var(--header-h) + 66px); }

/* ---------- 吸顶定位导航 ---------- */
.mentor-subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 80;
  background: rgba(251, 248, 242, 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 28px -26px rgba(22, 49, 99, 0.7);
  backdrop-filter: blur(8px);
}
.mentor-subnav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 9px 0;
}
.mentor-subnav__list::-webkit-scrollbar { display: none; }
.mentor-subnav__list a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  white-space: nowrap;
  font-size: 0.84375rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  border: 1px solid transparent;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.mentor-subnav__list a .no {
  font-family: var(--font-serif);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  opacity: 0.75;
}
.mentor-subnav__list a:hover { color: var(--ink); background: rgba(22, 49, 99, 0.05); }
.mentor-subnav__list a.is-current {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}
.mentor-subnav__list a.is-current .no { color: var(--gold-hi); opacity: 1; }
.mentor-subnav__list a.is-alt { font-size: 0.78125rem; }
.mentor-subnav__sep {
  flex: none;
  width: 1px;
  height: 18px;
  margin: 0 8px;
  background: var(--line-strong);
}

/* ---------- 长列表：导师详情页全部直出，不再折叠 ---------- */

/* ---------- 阅读进度 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  height: 2px;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-3));
}

/* ---------- 右下角在线客服 ---------- */
.kf-pop {
  position: fixed;
  right: 80px;
  bottom: 182px;
  z-index: 131;
  width: 232px;
  padding: 16px 18px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(200, 168, 120, 0.45);
  border-radius: 14px;
  box-shadow: var(--shadow);
  /* 缩放原点落在客服图标中心（图标 center：距右 53px、距底 57px） */
  transform-origin: calc(100% - 27px) calc(100% + 35px);
  transform: scale(0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.38s var(--ease), opacity 0.3s var(--ease), visibility 0.38s var(--ease);
}
.kf-pop.is-open {
  transform: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.kf-pop::after {
  content: "";
  position: absolute;
  right: calc(var(--kf-pop-arrow-x, 23.5px) - 5.5px);
  bottom: -6px;
  width: 11px;
  height: 11px;
  background: var(--white);
  border-right: 1px solid rgba(200, 168, 120, 0.45);
  border-bottom: 1px solid rgba(200, 168, 120, 0.45);
  transform: rotate(45deg);
}
/* 按钮被拖到贴近顶部时，弹窗翻到按钮下方，箭头改到上边 */
.kf-pop.is-below::after {
  top: -6px;
  bottom: auto;
  border-right: 0;
  border-bottom: 0;
  border-left: 1px solid rgba(200, 168, 120, 0.45);
  border-top: 1px solid rgba(200, 168, 120, 0.45);
}
.kf-pop__title {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.kf-pop__text {
  margin-top: 6px;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--muted);
}

.kf-float {
  position: fixed;
  right: 80px;
  bottom: 120px;
  z-index: 130;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, rgba(31, 42, 55, 0.24) 46%, rgba(31, 42, 55, 0.28) 100%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: url(#kf-liquid-glass) blur(0.2px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  box-shadow:
    0 10px 22px -14px rgba(31, 42, 55, 0.42),
    0 2px 6px rgba(31, 42, 55, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  touch-action: none;
  -webkit-user-drag: none;
  user-select: none;
}
.kf-float.is-dragging {
  cursor: grabbing;
  transform: scale(1.04);
  transition: transform 0.15s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
body.kf-dragging {
  user-select: none;
  cursor: grabbing;
}
.kf-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse 68% 42% at 50% 16%, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0) 72%);
  filter: blur(2px);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}
.kf-float::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  top: 7%;
  height: 20%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0) 78%);
  filter: blur(1.5px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
}
.kf-float svg {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.28));
}
/* 按钮球面明暗遮罩层（15% 透明度，白色部分不参与混合） */
.kf-shade {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: url('/assets/img/kf-shade.png') center / 115% 115% no-repeat;
  mix-blend-mode: multiply;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}
/* 按钮水珠遮罩贴图 */
.kf-skin {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: url('/assets/img/kf-bubble.png') center / 104% 104% no-repeat;
  mix-blend-mode: screen;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.kf-ripple {
  position: absolute;
  inset: -2px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.38), inset 0 0 10px rgba(255, 255, 255, 0.18);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  filter: blur(1.5px);
  animation: kf-ripple 4.8s var(--ease-soft) infinite;
}
/* 黑波纹：更粗、更淡、带模糊，在白底上也能看见 */
.kf-ripple--dark {
  border-width: 3px;
  border-color: rgba(10, 14, 20, 0.58);
  box-shadow: 0 0 14px rgba(10, 14, 20, 0.36), inset 0 0 10px rgba(10, 14, 20, 0.22);
  filter: blur(2.5px);
  --kf-ripple-max: 0.7;
}
.kf-ripple:nth-child(3) { animation-delay: 0s; }
.kf-ripple:nth-child(4) { animation-delay: 1.2s; }
.kf-ripple:nth-child(5) { animation-delay: 2.4s; }
.kf-ripple:nth-child(6) { animation-delay: 3.6s; }
.kf-float:hover {
  transform: scale(1.03);
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow:
    0 12px 26px -14px rgba(31, 42, 55, 0.48),
    0 3px 8px rgba(31, 42, 55, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.kf-float:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@keyframes kf-ripple {
  0% { transform: scale(0.92); opacity: 0; }
  14% { opacity: var(--kf-ripple-max, 0.9); }
  60% { opacity: calc(var(--kf-ripple-max, 0.9) * 0.4); }
  100% { transform: scale(2.05); opacity: 0; }
}
@media (max-width: 640px) {
  .kf-float { right: 18px; bottom: 50px; width: 48px; height: 48px; }
  .kf-pop { right: 18px; bottom: 108px; width: min(232px, calc(100vw - 48px)); transform-origin: calc(100% - 24px) calc(100% + 34px); }
}

/* ---------- 回到顶部 ---------- */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 98px;
  z-index: 95;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: #fff;
  /* 与右下角客服图标同款液态玻璃（略加深，保证白色箭头在浅色内容上也清晰） */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(31, 42, 55, 0.36) 46%, rgba(31, 42, 55, 0.42) 100%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: url(#bt-liquid-glass) blur(0.2px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  box-shadow:
    0 10px 22px -14px rgba(31, 42, 55, 0.42),
    0 2px 6px rgba(31, 42, 55, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s var(--ease);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 640px) {
  .back-to-top { right: 16px; bottom: 84px; }
}

/* =========================================================
   导师团队：总览页（导师卡 / 对比表 / 导购）+ 详情页（交叉链接）
   ========================================================= */

/* ---------- 详情页：Hero 小标题与区块锚点偏移 ---------- */
.mentor-eyebrow {
  margin-bottom: 10px;
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(232, 195, 142, 0.78);
}
.detail-block[id] { scroll-margin-top: calc(var(--header-h) + 66px); }

/* ---------- 总览页：导师卡片 ---------- */
.mentor-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.mentor-tile {
  display: grid;
  grid-template-columns: 176px 1fr;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: opacity 0.9s var(--ease-soft), transform 0.9s var(--ease-soft), box-shadow 0.9s var(--ease-soft), border-color 0.9s var(--ease-soft);
}
.mentor-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(176, 146, 98, 0.45);
  box-shadow: var(--shadow-sm);
}
.mentor-tile__media {
  position: relative;
  display: block;
  overflow: hidden;
  background:
    radial-gradient(90% 90% at 25% 15%, rgba(226, 199, 156, 0.28), transparent 60%),
    linear-gradient(160deg, var(--ink-2), var(--ink));
}
.mentor-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 1.4s var(--ease-soft);
}
.mentor-tile:hover .mentor-tile__media img { transform: scale(1.03); }
.mentor-tile__no {
  position: absolute;
  top: 12px;
  left: 14px;
  font-family: var(--font-serif);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  color: var(--gold-hi);
}
.mentor-tile__body {
  display: flex;
  flex-direction: column;
  padding: 22px 24px 20px;
}
.mentor-tile h2 {
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}
.mentor-tile h2 a { transition: color 0.6s var(--ease-soft); }
.mentor-tile h2 a:hover { color: var(--teal); }
.mentor-tile .en-name {
  margin-top: 3px;
  font-size: 0.65625rem;
  letter-spacing: 0.18em;
  color: #a9865a;
  text-transform: uppercase;
}
.mentor-tile__role {
  margin-top: 10px;
  font-size: 0.78125rem;
  line-height: 1.72;
  color: var(--muted);
}
.mentor-tile__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.mentor-tile__tags li {
  padding: 3px 9px;
  font-size: 0.71875rem;
  color: var(--teal);
  background: var(--teal-soft);
  border: 1px solid rgba(71, 97, 125, 0.16);
}
.mentor-tile__facts {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.mentor-tile__facts li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 8px;
  font-size: 0.78125rem;
  line-height: 1.6;
}
.mentor-tile__facts span {
  font-size: 0.71875rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.mentor-tile__facts b {
  font-weight: 500;
  color: var(--ink);
}
.mentor-tile__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
}
.tile-link {
  font-size: 0.78125rem;
  color: var(--teal);
  border-bottom: 1px solid rgba(71, 97, 125, 0.3);
  padding-bottom: 1px;
  transition: color 0.6s var(--ease-soft), border-color 0.6s var(--ease-soft);
}
.tile-link:hover { color: var(--teal-2); border-bottom-color: var(--teal-2); }

.mentor-tile--help {
  grid-template-columns: 1fr;
  align-content: center;
  background:
    radial-gradient(90% 100% at 85% 0%, rgba(226, 199, 156, 0.2), transparent 60%),
    var(--ink);
  border-color: rgba(232, 195, 142, 0.24);
}
.mentor-tile--help .mentor-tile__body { padding: 34px 32px; }
.mentor-tile--help h2 { color: #fff; font-size: 1.375rem; }
.mentor-tile--help p {
  margin-top: 12px;
  font-size: 0.8125rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.62);
}
.mentor-tile__kicker {
  margin-bottom: 12px;
  font-size: 0.65625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-hi);
}
.tile-link--light { color: rgba(255, 255, 255, 0.72); border-bottom-color: rgba(255, 255, 255, 0.34); }
.tile-link--light:hover { color: #fff; border-bottom-color: #fff; }

/* ---------- 总览页：对比表 ---------- */
/* 五列按内容分配宽度，避免右侧「主讲课程 / 行程」被挤成一字一行 */
.compare-table { table-layout: fixed; }
.compare-table th { width: auto; }
.compare-table th:nth-child(1) { width: 20%; }
.compare-table th:nth-child(2) { width: 19%; }
.compare-table th:nth-child(3) { width: 24%; }
.compare-table th:nth-child(4) { width: 23%; }
.compare-table th:nth-child(5) { width: 14%; }
.compare-table th,
.compare-table td { font-size: 0.8125rem; vertical-align: top; padding: 16px 18px; }
.compare-table th { white-space: nowrap; }
.compare-table td:first-child { min-width: 132px; }
.compare-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  color: var(--ink);
  border-bottom: 1px solid rgba(22, 49, 99, 0.18);
}
.compare-name:hover { color: var(--teal); border-bottom-color: var(--teal); }
.compare-en {
  display: block;
  margin-top: 4px;
  font-size: 0.65625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.compare-sub {
  display: inline-block;
  margin-top: 3px;
  font-size: 0.71875rem;
  line-height: 1.6;
  color: var(--muted);
}
.compare-note {
  margin-top: 16px;
  font-size: 0.78125rem;
  color: var(--muted);
}
.compare-note a { color: var(--teal); border-bottom: 1px solid rgba(71, 97, 125, 0.3); }

/* ---------- 总览页：按困扰选导师 ---------- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.guide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  transition: transform 0.6s var(--ease-soft), box-shadow 0.6s var(--ease-soft), border-color 0.6s var(--ease-soft);
}
.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(71, 97, 125, 0.3);
  border-top-color: var(--gold);
}
.guide-card__tag {
  font-size: 0.65625rem;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.guide-card b {
  font-size: 0.84375rem;
  font-weight: 600;
  line-height: 1.7;
  color: var(--ink);
}
.guide-card__who {
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.71875rem;
  line-height: 1.6;
  color: var(--teal);
}
.guide-card__go {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.8125rem;
  color: var(--line-strong);
  transition: transform 0.6s var(--ease-soft), color 0.6s var(--ease-soft);
}
.guide-card:hover .guide-card__go { transform: translateX(3px); color: var(--gold); }

/* ---------- 详情页：其他导师 ---------- */
.mentor-cross {
  margin-top: 56px;
  padding-top: 46px;
  border-top: 1px solid var(--line);
}
.mentor-cross__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.mentor-cross__head h2 { font-size: 1.5rem; }
.cross-all {
  font-size: 0.8125rem;
  color: var(--teal);
  border-bottom: 1px solid rgba(71, 97, 125, 0.3);
  padding-bottom: 2px;
}
.cross-all:hover { color: var(--teal-2); }
.mentor-cross__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.cross-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.55s var(--ease-soft), box-shadow 0.55s var(--ease-soft), border-color 0.55s var(--ease-soft);
}
.cross-card img {
  flex: none;
  width: 56px;
  height: 56px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  background: var(--sand);
  border: 1px solid var(--line);
}
.cross-card__txt b {
  display: block;
  font-size: 0.84375rem;
  color: var(--ink);
}
.cross-card__txt em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 0.6875rem;
  line-height: 1.5;
  color: var(--muted);
}
.cross-card__go {
  margin-left: auto;
  font-size: 0.8125rem;
  color: var(--line-strong);
  transition: transform 0.55s var(--ease-soft), color 0.55s var(--ease-soft);
}
.cross-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(176, 146, 98, 0.5);
}
.cross-card:hover .cross-card__go { transform: translateX(3px); color: var(--gold); }

@media (max-width: 1080px) {
  .guide-grid { grid-template-columns: repeat(3, 1fr); }
  .mentor-cross__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .mentor-tiles { grid-template-columns: 1fr; }
  .mentor-tile { grid-template-columns: 152px 1fr; }
  .mentor-tile--help { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .mentor-tile { grid-template-columns: 1fr; }
  .mentor-tile__media { aspect-ratio: 4 / 3; }
  .mentor-tile__media img { height: 100%; }
  .mentor-tile__body { padding: 20px 20px 18px; }
  .mentor-cross__grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .table-scroll .compare-table { min-width: 900px; }
  .table-scroll .compare-table th,
  .table-scroll .compare-table td { padding: 14px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .mentor-tile, .mentor-tile__media img, .guide-card, .guide-card__go,
  .cross-card, .cross-card__go { transition: none; }
}
@media print {
  .mentor-tiles { grid-template-columns: 1fr; }
  .mentor-tile--help, .guide-grid, .mentor-cross { display: none !important; }
}

@media (max-width: 980px) {
  .mentor-subnav { top: var(--header-h); }
}
@media (max-width: 640px) {
  .mentor-subnav__list a { padding: 6px 11px; font-size: 0.8125rem; }
  .mentor-subnav__sep { margin: 0 4px; }
  .back-to-top { right: 16px; bottom: 20px; width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress span { transition: none; }
  .back-to-top { transition: none; }
}
@media print {
  .mentor-subnav, .scroll-progress, .back-to-top { display: none !important; }
}

/* =========================================================
   柔和化：大圆角 + 极浅描边 + 柔和投影 + 轻微起伏
   ========================================================= */
.course-card,
.trust-card,
.article-card,
.value-card,
.audience-card,
.service-card,
.featured-card,
.relation-card,
.team-card,
.mentor-card {
  border: 1px solid rgba(31, 42, 55, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.course-card:hover,
.trust-card:hover,
.article-card:hover,
.value-card:hover,
.audience-card:hover,
.service-card:hover,
.featured-card:hover,
.relation-card:hover,
.team-card:hover,
.mentor-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px -16px rgba(31, 42, 55, 0.28), 0 2px 6px rgba(31, 42, 55, 0.04);
  border-color: rgba(31, 42, 55, 0.1);
}

.btn--small { min-height: 38px; padding: 0 18px; font-size: 0.875rem; }

.mentor-chip { border-radius: var(--radius); }
.gallery-track img { border-radius: 12px; }
.hero-visual .banner-img { border-radius: 12px; }
.about-visual .photo,
.photo-grid img,
.mentor-tile__media,
.gallery-track img,
.video-card video { border-radius: 12px; }

/* ==========================================================
   课程排期时间线
   同明度、同饱和度、仅色相不同的导师色板；
   多阶段课程按课程组共享同一颜色并联动高亮。
   ========================================================== */
:root {
  --m-gilligan: #a9c3d9;  --m-gilligan-soft: #eaf1f7;  --m-gilligan-ink: #5c7f9e;  --m-gilligan-glow: rgba(92, 127, 158, 0.32);
  --m-sharon:   #e3bfc2;  --m-sharon-soft:   #f8edee;  --m-sharon-ink:   #a9797e;  --m-sharon-glow:   rgba(169, 121, 126, 0.32);
  --m-dilts:    #d2b489;  --m-dilts-soft:    #f7efe3;  --m-dilts-ink:    #9c7c4c;  --m-dilts-glow:    rgba(156, 124, 76, 0.32);
  --m-julian:   #c2b9d6;  --m-julian-soft:   #f2eff8;  --m-julian-ink:   #7c7099;  --m-julian-glow:   rgba(124, 112, 153, 0.32);
  --m-grace:    #e0bc9c;  --m-grace-soft:    #faf0e6;  --m-grace-ink:    #a67b52;  --m-grace-glow:    rgba(166, 123, 82, 0.32);
  --m-neutral:  #c3c8ce;  --m-neutral-soft:  #f1f3f5;  --m-neutral-ink:  #6b7480;  --m-neutral-glow:  rgba(107, 116, 128, 0.28);

  --tl-month-w: 180px;
  --tl-height: 132px;
}

[data-mentor="gilligan"] { --seg: var(--m-gilligan); --seg-soft: var(--m-gilligan-soft); --seg-ink: var(--m-gilligan-ink); --seg-glow: var(--m-gilligan-glow); }
[data-mentor="sharon"]   { --seg: var(--m-sharon);   --seg-soft: var(--m-sharon-soft);   --seg-ink: var(--m-sharon-ink);   --seg-glow: var(--m-sharon-glow); }
[data-mentor="dilts"]    { --seg: var(--m-dilts);    --seg-soft: var(--m-dilts-soft);    --seg-ink: var(--m-dilts-ink);    --seg-glow: var(--m-dilts-glow); }
[data-mentor="julian"]   { --seg: var(--m-julian);   --seg-soft: var(--m-julian-soft);   --seg-ink: var(--m-julian-ink);   --seg-glow: var(--m-julian-glow); }
[data-mentor="grace"]    { --seg: var(--m-grace);    --seg-soft: var(--m-grace-soft);    --seg-ink: var(--m-grace-ink);    --seg-glow: var(--m-grace-glow); }
[data-mentor="neutral"]  { --seg: var(--m-neutral);  --seg-soft: var(--m-neutral-soft);  --seg-ink: var(--m-neutral-ink);  --seg-glow: var(--m-neutral-glow); }

#schedule { overflow: hidden; }

.schedule-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}
.schedule-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 6px;
  flex-shrink: 0;
}
.schedule-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font-family: inherit;
  font-size: 0.78125rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    color 0.3s var(--ease),
    background 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.schedule-legend__item:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}
.schedule-legend__item.is-on {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--line-strong);
}
.schedule-legend__item i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--seg);
  box-shadow: 0 0 0 3px var(--seg-soft);
}

/* ---------- 固定课程卡片 ---------- */
/* 占位容器：高度由 JS 按最高卡片锁定，切换卡片时下方时间线不会抖动 */
.schedule-stage {
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.schedule-side {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 翻页按钮：只有光标落在卡片两侧的空白处才出现 */
.pager-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease),
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.schedule-side:hover .pager-btn,
.pager-btn:focus-visible {
  opacity: 1;
  transform: none;
}
.pager-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.schedule-slot {
  position: relative;
  flex: 0 0 520px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  height: 480px;
}
.schedule-card__placeholder {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  box-sizing: border-box;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 12px;
  pointer-events: none;
  z-index: 0;
}
.schedule-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  z-index: 1;
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}
.schedule-card__cover {
  position: relative;
  aspect-ratio: 389 / 206;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--sand);
}
.schedule-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease), opacity 0.5s var(--ease);
}
.schedule-card__cover--text {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  text-align: center;
  background: linear-gradient(152deg, var(--ink) 0%, var(--teal) 100%);
  color: var(--gold-soft);
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.7;
  letter-spacing: 0.04em;
}
/* 已结课标记 */
.schedule-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(20, 28, 38, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: #fff;
}
.schedule-card__badge--upcoming { background: rgba(200, 168, 120, 0.94); color: #2b2113; }
.schedule-card__badge--ongoing { background: rgba(47, 125, 104, 0.94); color: #fff; }
.schedule-card__badge--past { background: rgba(20, 28, 38, 0.72); color: #fff; }
.schedule-card__body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 20px 24px 22px;
}
.schedule-card__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.71875rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.schedule-card__kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--seg, var(--m-neutral));
}
.schedule-card__title {
  margin: 0;
  font-size: 1.21875rem;
  line-height: 1.5;
  color: var(--ink);
}
.schedule-card__desc {
  margin: 0;
  font-size: 0.84375rem;
  line-height: 1.8;
  color: var(--muted);
}
.schedule-card__stages {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 8px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}
.schedule-card__stages li {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--seg-soft, var(--m-neutral-soft));
  color: var(--seg-ink, var(--m-neutral-ink));
  font-size: 0.71875rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
.schedule-card__stages em {
  font-style: normal;
  opacity: 0.72;
}
.schedule-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}
.schedule-card__actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.schedule-card { cursor: pointer; }
.schedule-card__mentor {
  font-size: 0.78125rem;
  color: var(--muted);
}
.schedule-card__link {
  font-size: 0.8125rem;
  color: var(--teal);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.schedule-card__link:hover { color: var(--ink); transform: translateX(3px); }

/* ---------- 时间线主体 ---------- */
.timeline-shell { position: relative; margin-top: 30px; }
.timeline-viewport {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 0 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  touch-action: pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 46px, #000 calc(100% - 46px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 46px, #000 calc(100% - 46px), transparent 100%);
}
.timeline-viewport.is-dragging {
  cursor: grabbing;
  user-select: none;
}
.timeline-viewport::-webkit-scrollbar { display: none; }
.timeline-canvas {
  position: relative;
  height: var(--tl-height);
}

.tl-year {
  position: absolute;
  top: 4px;
  font-size: 0.75rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--ink);
  pointer-events: none;
}
.tl-month {
  position: absolute;
  top: 42px;
  width: 1px;
  height: 3px;
  background: rgba(31, 42, 55, 0.16);
  pointer-events: none;
}
.tl-month span {
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6875rem;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.tl-rule {
  position: absolute;
  top: 58px;
  height: 32px;
  width: 1px;
  background: var(--line);
  pointer-events: none;
}
.tl-rule--year { background: var(--line-strong); }

.tl-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 62px;
  height: 20px;
}
.tl-axis {
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  height: 1px;
  background: rgba(31, 42, 55, 0.1);
  pointer-events: none;
}
.tl-empty {
  position: absolute;
  top: 54px;
  height: 26px;
  border-radius: 6px;
  background: repeating-linear-gradient(115deg, rgba(31, 42, 55, 0.04) 0 5px, transparent 5px 11px);
  pointer-events: none;
}
.tl-empty span {
  position: absolute;
  left: 12px;
  bottom: -16px;
  font-size: 0.65625rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  opacity: 0.7;
  white-space: nowrap;
}

/* 移动中的小圆点：任何状态下都保持可见 */
.tl-dot {
  position: absolute;
  top: 74px;
  left: 0;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: #9a7a3c;
  box-shadow: 0 0 0 3px rgba(154, 122, 60, 0.14);
  pointer-events: none;
  z-index: 6;
  opacity: 1;
  transition: opacity 0.22s var(--ease);
}
/* 描边接管后圆点隐去：稍等描边从圆点里长出来再淡出 */
.tl-dot.is-hidden {
  opacity: 0;
  transition: opacity 0.26s var(--ease) 0.12s;
}

/*
 * 吸附后的包裹描边
 * 起始尺寸与圆点完全重合（5×5，同位置），再过渡到包住整段时间段。
 * 宽度 / 高度 / 位置与圆点淡出共用同一段缓动，看起来是一个整体在舒展。
 */
.tl-ring {
  position: absolute;
  top: 71.5px;
  left: 0;
  width: 5px;
  height: 5px;
  box-sizing: border-box;
  border: 1px solid var(--seg-ink, var(--m-neutral-ink));
  border-radius: 999px;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  /* 形变用两端都慢的缓动，从圆点均匀舒展开，不出现起步"弹一下"的生硬感 */
  transition:
    width 0.54s cubic-bezier(0.65, 0, 0.35, 1),
    height 0.54s cubic-bezier(0.65, 0, 0.35, 1),
    top 0.54s cubic-bezier(0.65, 0, 0.35, 1),
    left 0.54s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.2s linear;
}
.tl-ring.is-on {
  opacity: 1;
}

.tl-seg {
  position: absolute;
  top: 7px;
  height: 10px;
  border-radius: 999px;
  background: var(--seg, var(--m-neutral));
  outline: 1.5px solid var(--paper);
  opacity: 1;
  filter: saturate(0.55) brightness(0.9);
  text-decoration: none;
  transition:
    filter 0.45s var(--ease),
    top 0.45s var(--ease),
    height 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}
.tl-seg:hover,
.tl-seg.is-active {
  filter: saturate(1.45) brightness(1.04);
  box-shadow:
    0 0 0 3px rgba(31, 42, 55, 0.05),
    0 0 0 7px rgba(31, 42, 55, 0.025),
    0 0 22px 9px var(--seg-glow, var(--m-neutral-glow));
}
.tl-seg.is-sibling { opacity: 0.9; }
/* 已结课的历史场次：降饱和，不参与高亮发光 */
.tl-seg.is-past,
.tl-seg.is-past:hover,
.tl-seg.is-past.is-active {
  filter: saturate(0.22) brightness(0.94);
  box-shadow: none;
}
.tl-seg:focus-visible {
  outline: 2px solid var(--seg-ink, var(--m-neutral-ink));
  outline-offset: 3px;
}

/* 多模块课程：模块之间的连线与名称标签 */
.tl-links {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}
.tl-link-path {
  fill: none;
  stroke: var(--seg-ink, var(--m-neutral-ink));
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: 0.38;
}
.tl-labels {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 3;
}
/* 被曲线扫过的时间段：自下而上浮现同色描边 */
.tl-traces {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 4;
}
.tl-trace {
  position: absolute;
  top: 65px;
  height: 18px;
  box-sizing: border-box;
  border: 1px solid var(--seg-ink, var(--m-neutral-ink));
  border-radius: 999px;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.7s var(--ease);
}
.tl-trace.is-on {
  clip-path: inset(0 0 0 0);
}
.tl-seg-label {
  position: absolute;
  top: 86px;
  transform: translate(-50%, 3px);
  font-size: 0.65625rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--seg-ink, var(--m-neutral-ink));
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.tl-seg-label.is-on {
  opacity: 0.85;
  transform: translate(-50%, 0);
}

/* 过去 / 未来覆盖层：过去灰色模糊，未来斜纹 */
.tl-mask {
  position: absolute;
  top: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 5;
}
.tl-mask--past {
  left: 0;
  background: rgba(251, 247, 240, 0.72);
  -webkit-backdrop-filter: blur(2.5px);
  backdrop-filter: blur(2.5px);
}
.tl-mask--future {
  right: 0;
  background: repeating-linear-gradient(115deg, rgba(31, 42, 55, 0.04) 0 5px, transparent 5px 11px);
}
.tl-cover-hint {
  position: absolute;
  top: 86px;
  transform: translate(-50%, 4px);
  padding: 3px 9px;
  border-radius: 4px;
  background: rgba(251, 247, 240, 0.94);
  border: 1px solid var(--line);
  font-size: 0.65625rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: nowrap;
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.tl-cover-hint.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* 标题行：h2 右侧挂「查看完整排期表」 */
.schedule-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.schedule-title-row h2 { margin: 0; }

.plan-table-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  font-family: inherit;
  font-size: 0.84375rem;
  letter-spacing: 0.05em;
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
  text-decoration: none;
}
.plan-table-btn:hover {
  color: #fff;
  background: #2c3947;
  border-color: #2c3947;
}

/* ---------- 课程排期表 ---------- */
.plan-table-wrap {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  overflow: auto;
}
.plan-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}
.plan-table thead th {
  padding: 15px 20px;
  text-align: left;
  font-size: 0.71875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--muted);
  white-space: nowrap;
  background: rgba(246, 231, 205, 0.34);
  border-bottom: 1px solid var(--line-strong);
}
.plan-table tbody td {
  padding: 15px 20px;
  font-size: 0.84375rem;
  color: #2a3441;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}
.plan-table tbody tr:last-child td { border-bottom: 0; }
.plan-table tbody tr { transition: background 0.3s var(--ease); }
.plan-table tbody tr:hover { background: rgba(200, 168, 120, 0.1); }
.plan-table tbody tr.is-past td { color: var(--muted); }
.plan-table tbody tr.is-past a { color: var(--muted); }
.plan-table tbody td:nth-child(n + 2) { white-space: nowrap; }

.plan-table__dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  vertical-align: 1px;
  background: var(--seg, var(--m-neutral));
  filter: saturate(1.15);
}
.plan-table__course a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.plan-table__course a:hover {
  color: #9a7a3c;
  border-bottom-color: rgba(154, 122, 60, 0.42);
}
.plan-table__stage {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.71875rem;
  color: var(--muted);
  white-space: nowrap;
}
.plan-table__date {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.plan-table__empty {
  padding: 36px 20px;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 900px) {
  .schedule-head { flex-direction: column; align-items: flex-start; }
  .schedule-legend { padding-bottom: 0; }
  .schedule-slot { flex: 1 1 auto; max-width: 100%; }
  .schedule-side { display: none; }
  .timeline-shell { margin-top: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .schedule-card,
  .tl-seg { transition: none; }
}

/* ---------- 宽屏适配（2K / 4K 常规屏，16:9） ---------- */
@media (min-width: 1760px) {
  .hero-stage .hero-visual { width: min(100%, 1320px); }
  .featured-track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .courses-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .course-layout { grid-template-columns: minmax(0, 1fr) 360px; }
  .course-cover { max-width: 720px; }
  .course-video { max-width: 900px; }
  .course-block p,
  .article-body p,
  .legal-body p { max-width: 76ch; }
}

@media (min-width: 2200px) {
  :root { --container: 1680px; }
  .section { padding: 140px 0; }
  .section--tight { padding: 100px 0; }
}

/* =========================================================
   响应式表格：窄屏与缩放下的阅读体验
   ========================================================= */

.doc-table th,
.doc-table td { overflow-wrap: break-word; }

.table-scroll {
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
}

/* 多列信息表：保留表格结构，窄屏由外层容器横向滚动 */
@media (max-width: 900px) {
  .doc-table:not(.schedule-table):not(.compare-table)[data-cols="3"] { min-width: 640px; }
  .doc-table:not(.schedule-table):not(.compare-table)[data-cols="4"] { min-width: 760px; }
  .table-scroll .schedule-table { min-width: 640px; }
  .table-scroll .year-schedule { min-width: 880px; }
  .table-scroll .compare-table { min-width: 900px; }
}

/* 两列信息表无需强制横向滚动 */
.table-scroll .doc-table:not([data-cols]):not(.schedule-table):not(.compare-table) { min-width: 0; }

/* 允许内容列收缩，宽表格在外层容器内滚动 */
.course-main,
.article-body,
.legal-body { min-width: 0; }

/* 排期表：固定列宽，所有列按比例同步缩放 */
.plan-table { table-layout: fixed; }
.plan-table th:nth-child(1) { width: 25%; }
.plan-table th:nth-child(2) { width: 14%; }
.plan-table th:nth-child(3) { width: 19%; }
.plan-table th:nth-child(4) { width: 14%; }
.plan-table th:nth-child(5) { width: 9%; }
.plan-table th:nth-child(6) { width: 9%; }
.plan-table th:nth-child(7) { width: 10%; }
.plan-table tbody td:nth-child(1),
.plan-table tbody td:nth-child(3) { overflow-wrap: anywhere; }
.plan-table tbody td:nth-child(2),
.plan-table tbody td:nth-child(3),
.plan-table tbody td:nth-child(4),
.plan-table__stage { white-space: normal; }

/* 窄屏收紧排期表内边距，保证日期列与导师列可读 */
@media (max-width: 1200px) {
  .plan-table thead th,
  .plan-table tbody td { padding-left: 12px; padding-right: 12px; }
}

/* 导师页两栏在窄屏合并后，允许详情列收缩，表格在自身容器内横向滚动 */
@media (max-width: 980px) {
  .mentor-profile .detail,
  .detail-block { min-width: 0; }
}


