/* =========================================================
   王洋信奥工作室 · 品牌介绍网站
   Design tokens aligned with the brand book (画册 2026)
   ========================================================= */

:root {
  --navy-900: #071B47;
  --navy-800: #0A2354;
  --navy: #0B2A6B;
  --blue: #1E5EF3;
  --blue-600: #0F4CD9;
  --blue-100: #E8F0FF;
  --ink: #12274E;
  --text: #33415E;
  --muted: #5A6B85;
  --faint: #A5AEBE;
  --line: #E7EDF7;
  --soft: #F7FAFF;
  --soft-2: #F0F6FF;
  --white: #ffffff;
  --red: #C8342E;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;

  --shadow-sm: 0 6px 20px rgba(11, 42, 107, 0.06);
  --shadow: 0 18px 48px rgba(11, 42, 107, 0.10);
  --shadow-lg: 0 28px 70px rgba(7, 27, 71, 0.16);

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);

  --font: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC",
    "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--blue); color: #fff; }

.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: clamp(60px, 8vw, 108px) 0; position: relative; }
.section--soft { background: var(--soft); }
.section--soft2 { background: linear-gradient(180deg, var(--soft-2), var(--soft)); }
.section--dark {
  background: linear-gradient(165deg, var(--navy-900) 0%, #0B2A6B 62%, #0A2A6E 100%);
  color: #fff;
}
.section--dark .section-title { color: #fff; }
.section--dark .section-lead { color: rgba(255, 255, 255, 0.72); }

/* ---------- section heading ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
  opacity: 0.9;
}
.section--dark .eyebrow { color: #7FA8FF; }

.section-title {
  font-size: clamp(25px, 3.3vw, 40px);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy);
  max-width: 26ch;
  text-wrap: balance;
}
.section-title .thin { font-weight: 500; color: var(--faint); }

.section-lead {
  margin-top: 18px;
  max-width: 64ch;
  font-size: clamp(15px, 1.35vw, 16.5px);
  line-height: 1.95;
  color: var(--muted);
}
.section-lead strong { color: var(--ink); font-weight: 700; }
.section--dark .section-lead strong { color: #fff; }

.section-head { margin-bottom: clamp(32px, 4.4vw, 56px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease,
    color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 30px rgba(30, 94, 243, 0.35);
}
.btn--primary:hover { background: var(--blue-600); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(30, 94, 243, 0.42); }
.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.6); }
.btn--line {
  border: 1px solid var(--line);
  color: var(--navy);
  background: #fff;
}
.btn--line:hover { border-color: var(--blue); color: var(--blue); }
.btn--sm { padding: 11px 20px; font-size: 14px; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  height: 74px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 10px 34px rgba(11, 42, 107, 0.08);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 25px; width: auto; }
.brand-sub {
  display: none;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--faint);
  padding-left: 12px;
  margin-left: 4px;
  border-left: 1px solid var(--line);
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 9px 13px;
  font-size: 14.5px;
  color: var(--text);
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav a:hover { color: var(--blue); background: var(--soft-2); }
.nav a.is-active { color: var(--blue); font-weight: 700; }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  transform: translateX(-50%);
}
.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
}
.nav-toggle span {
  display: block;
  width: 17px;
  height: 1.6px;
  background: var(--navy);
  position: relative;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 1.6px;
  background: var(--navy);
  transition: transform 0.3s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 74px 0 auto 0;
  z-index: 110;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 50px rgba(11, 42, 107, 0.12);
  padding: 12px var(--gutter) 26px;
  display: grid;
  gap: 2px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.24s ease;
  max-height: calc(100vh - 74px);
  overflow-y: auto;
}
body.nav-open .mobile-nav { transform: none; opacity: 1; pointer-events: auto; }
.mobile-nav a {
  padding: 14px 4px;
  font-size: 16px;
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-nav a span { color: var(--faint); font-size: 12px; letter-spacing: 0.12em; font-weight: 500; }
.mobile-nav .btn { margin-top: 18px; justify-content: center; color: #fff; border-bottom: 0; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding-top: 74px;
  padding-bottom: clamp(46px, 5.4vw, 78px);
  background:
    radial-gradient(1200px 620px at 78% 12%, rgba(30, 94, 243, 0.42), transparent 62%),
    radial-gradient(900px 520px at 8% 88%, rgba(15, 76, 217, 0.30), transparent 60%),
    linear-gradient(160deg, #061638 0%, #0A2354 48%, #0B2A6B 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(1000px 640px at 50% 22%, #000 40%, transparent 88%);
  -webkit-mask-image: radial-gradient(1000px 640px at 50% 22%, #000 40%, transparent 88%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -46%;
  width: 1280px;
  height: 780px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(30, 94, 243, 0.34), transparent 72%);
  pointer-events: none;
  z-index: -1;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding-top: clamp(40px, 6vw, 76px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 24px;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.hero-badge b {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex: 0 0 auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(30, 94, 243, 0.9);
  color: #fff;
  font-size: 11.5px;
  letter-spacing: 0.08em;
}

.hero h1 {
  font-size: clamp(31px, 4.6vw, 58px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
}
.hero h1 .accent {
  position: relative;
  white-space: nowrap;
  background: linear-gradient(96deg, #8FB6FF 0%, #5C93FF 40%, #C9DCFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 0.06em;
  height: 0.14em;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(30, 94, 243, 0.9), rgba(30, 94, 243, 0.1));
  z-index: -1;
}

.hero-sub {
  max-width: 46ch;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.76);
}
.hero-sub strong { color: #fff; font-weight: 700; }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.hero-tags span {
  font-size: 12.5px;
  padding: 6px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-figure {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 380px;
  /* 人像下沉，让底部的渐隐带贴近首屏下沿，不在中间悬空 */
  align-self: end;
  margin-bottom: clamp(-34px, -2.6vw, -12px);
}
.hero-figure::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: min(94%, 420px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(88, 143, 255, 0.55), rgba(30, 94, 243, 0.12) 62%, transparent 74%);
  filter: blur(2px);
}
.hero-figure::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: min(78%, 340px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-figure img {
  position: relative;
  height: clamp(340px, 48vw, 620px);
  width: auto;
  /* 素材本身在大腿处被横切，用渐隐把这条硬边化到背景里，避免"腿被锯断"的观感 */
  filter: drop-shadow(0 26px 58px rgba(2, 10, 30, 0.5)) drop-shadow(0 0 30px rgba(110, 160, 255, 0.26));
  -webkit-mask-image: linear-gradient(to bottom, #000 87%, rgba(0, 0, 0, 0.62) 95%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 87%, rgba(0, 0, 0, 0.62) 95%, transparent 100%);
}

.hero-float {
  position: absolute;
  left: 0;
  bottom: 16%;
  z-index: 3;
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(9, 26, 62, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(2, 10, 30, 0.4);
}
.hero-float b { font-size: 13.5px; color: #fff; letter-spacing: 0.02em; }
.hero-float small { font-size: 11.5px; color: rgba(255, 255, 255, 0.6); letter-spacing: 0.06em; }

.hero-note {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(30px, 4vw, 48px);
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
}
.hero-note b { color: #fff; }
.hero-note .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 5px rgba(74, 222, 128, 0.16);
  flex: none;
}

/* ---------- hero stats ---------- */
.stats-band {
  position: relative;
  z-index: 6;
  background: #fff;
}
.stats-card {
  position: relative;
  z-index: 5;
  margin-top: -58px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.stat {
  padding: 30px 26px;
  border-right: 1px solid var(--line);
  position: relative;
}
.stat:last-child { border-right: 0; }
.stat-value {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.1;
}
.stat-value .unit { font-size: 0.5em; font-weight: 700; color: var(--blue); }
.stat-label { margin-top: 6px; font-size: 13px; color: var(--muted); letter-spacing: 0.02em; }
.stat::after {
  content: "";
  position: absolute;
  left: 26px;
  bottom: 0;
  width: 26px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--blue-100);
}

/* =========================================================
   Positioning
   ========================================================= */
.pos-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4.5vw, 62px);
  align-items: start;
}
.pos-quote {
  position: relative;
  padding: 28px 26px 26px 30px;
  border-radius: var(--radius);
  background: linear-gradient(150deg, #fff, var(--soft));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.pos-quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  bottom: 26px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--blue), #7FA8FF);
}
.pos-quote p { font-size: 15.5px; line-height: 1.95; color: var(--ink); }
.pos-quote p + p { margin-top: 14px; }
.pos-quote strong { color: var(--blue-600); }

.cap-list { display: grid; gap: 14px; }
.cap-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.cap-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(30, 94, 243, 0.28); }
.cap-index {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--blue);
  padding-top: 3px;
}
.cap-item h3 { font-size: 15.5px; color: var(--navy); font-weight: 700; margin-bottom: 4px; }
.cap-item p { font-size: 14px; line-height: 1.85; color: var(--muted); }

/* ---------- values strip ---------- */
.values-strip {
  margin-top: clamp(34px, 4.6vw, 56px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}
.values-strip > div { padding: 30px 32px; position: relative; }
.values-strip > div + div { border-left: 1px solid rgba(255, 255, 255, 0.14); }
.values-strip h4 {
  font-size: 12.5px;
  letter-spacing: 0.2em;
  color: #8FB6FF;
  font-weight: 700;
  margin-bottom: 10px;
}
.values-strip p { font-size: 16px; line-height: 1.8; font-weight: 600; }
.values-strip p span { display: block; font-size: 13.5px; font-weight: 400; color: rgba(255, 255, 255, 0.68); margin-top: 6px; }

/* =========================================================
   Three things (dark)
   ========================================================= */
.three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.three-card {
  position: relative;
  padding: 34px 28px 30px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}
.three-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(30, 94, 243, 0.45), transparent 72%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.three-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); }
.three-card:hover::before { opacity: 1; }
.three-card .idx {
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(255, 255, 255, 0.34);
  margin-bottom: 22px;
}
.three-card h3 { font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 12px; line-height: 1.5; }
.three-card p { font-size: 14px; line-height: 1.9; color: rgba(255, 255, 255, 0.7); }
.three-card .tagline {
  display: inline-block;
  margin-top: 18px;
  padding: 5px 11px;
  font-size: 12px;
  border-radius: 6px;
  color: #BFD4FF;
  background: rgba(30, 94, 243, 0.22);
  border: 1px solid rgba(143, 182, 255, 0.3);
}
.three-foot {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
  text-align: center;
}
.three-foot span { color: #8FB6FF; }

/* =========================================================
   Leader
   ========================================================= */
.leader-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.leader-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 70% at 50% 14%, rgba(30, 94, 243, 0.55), transparent 70%),
    linear-gradient(165deg, #0A2354, #0B2A6B 70%, #123A85);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-lg);
}
.leader-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.7;
  z-index: -1;
}
.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: drop-shadow(0 22px 40px rgba(2, 10, 30, 0.45));
}
.leader-photo .caption {
  position: absolute;
  left: 22px;
  top: 22px;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
}
.leader-photo .badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 9px 14px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(2, 10, 30, 0.24);
  line-height: 1.4;
}
.leader-photo .badge small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; letter-spacing: 0.06em; }

.leader-name { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.leader-name h3 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; color: var(--navy); letter-spacing: 0.02em; }
.leader-name .role { font-size: 14px; color: var(--blue); font-weight: 700; letter-spacing: 0.04em; }
.leader-title { font-size: 14.5px; color: var(--muted); margin-bottom: 22px; }
.leader-bio { font-size: 15px; line-height: 1.95; color: var(--text); }
.leader-bio strong { color: var(--ink); }

.cred-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}
.cred {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink);
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
}
.cred::before {
  content: "";
  width: 6px; height: 6px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--blue);
  transform: rotate(45deg);
}

/* =========================================================
   Book & method
   ========================================================= */
.book-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}
.book-visual {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 22px;
  padding: 34px 30px 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--soft-2), #fff 70%);
  border: 1px solid var(--line);
}
.book-visual img {
  width: min(70%, 260px);
  height: auto;
  transform: rotate(-3deg);
  filter: drop-shadow(0 22px 34px rgba(11, 42, 107, 0.26));
  transition: transform 0.4s ease, filter 0.4s ease;
}
.book-visual:hover img { transform: rotate(0deg) translateY(-4px); filter: drop-shadow(0 28px 42px rgba(11, 42, 107, 0.3)); }
.book-caption {
  max-width: 100%;
  margin: 0;
  padding: 0 10px;
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--muted);
  text-align: center;
  /* 多行时让各行长度接近，避免末行只剩几个字 */
  text-wrap: pretty;
  text-wrap: balance;
}
.book-visual .stamp {
  position: absolute;
  right: 12px;
  top: 16px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--faint);
  writing-mode: vertical-rl;
}

.method-block { display: grid; gap: 18px; margin-top: 26px; }
.method-item {
  padding: 22px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.method-item .k {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 8px;
}
.method-item h4 { font-size: 17px; color: var(--navy); font-weight: 700; margin-bottom: 8px; }
.method-item p { font-size: 14px; line-height: 1.9; color: var(--muted); }

.curve {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}
.curve span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  padding: 6px 12px;
  border-radius: 7px;
  background: var(--blue-100);
}
.curve i { width: 16px; height: 1px; background: var(--faint); font-style: normal; }

/* =========================================================
   Live
   ========================================================= */
.live-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4.5vw, 62px);
  align-items: center;
}
.live-platforms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.platform {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.platform b { font-weight: 700; color: var(--navy); }
.platform i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue); font-style: normal;
}
.live-time {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.time-chip {
  display: grid;
  gap: 2px;
  padding: 14px 20px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
}
.time-chip b { font-size: 21px; letter-spacing: 0.02em; font-weight: 800; }
.time-chip small { font-size: 11.5px; color: rgba(255, 255, 255, 0.6); letter-spacing: 0.14em; }

.q-list { display: grid; gap: 10px; margin-top: 26px; }
.q-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
}
.q-item span { font-size: 12px; font-weight: 800; color: var(--blue); padding-top: 2px; }
.q-item b { display: block; font-size: 15px; color: var(--navy); }
.q-item small { font-size: 13px; color: var(--muted); }

.live-visual { position: relative; display: grid; place-items: center; gap: 16px; }
.live-screen {
  position: relative;
  width: min(100%, 320px);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.live-screen img {
  display: block;
  width: 100%;
  height: auto;
}

/* 直播弹幕：飘过手机屏幕中部，营造直播间热闹感 */
.danmaku {
  position: absolute;
  inset: 48% 0 14% 0;
  overflow: hidden;
  container-type: inline-size;
  pointer-events: none;
  z-index: 2;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 13%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 13%, #000 93%, transparent);
}
.dm {
  position: absolute;
  left: 100%;
  top: var(--y, 20%);
  display: inline-block;
  padding: 0.26em 0.68em;
  border-radius: 999px;
  background: rgba(9, 24, 51, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13px;
  font-size: 3.4cqw;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  will-change: transform;
  animation: dm-fly var(--t, 16s) linear infinite;
  animation-delay: var(--d, 0s);
}
@keyframes dm-fly {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-100cqw - 100% - 14px), 0, 0); }
}

.live-visual::before {
  content: "";
  position: absolute;
  inset: auto 6% -6% 6%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(30, 94, 243, 0.22), transparent 70%);
  filter: blur(18px);
  z-index: -1;
}

/* 弹幕来源说明：置于手机画面下方 */
.live-note {
  position: relative;
  z-index: 1;
  width: min(100%, 320px);
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
  text-align: center;
  text-wrap: balance;
}

/* =========================================================
   Monthly payment
   ========================================================= */
.monthly-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.stamp-box {
  flex: none;
  padding: 10px 22px;
  border: 3px double rgba(200, 52, 46, 0.85);
  border-radius: 6px;
  color: #E4554C;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 900;
  letter-spacing: 0.18em;
  transform: rotate(-4deg);
  text-shadow: 0 0 1px rgba(200, 52, 46, 0.4);
  mix-blend-mode: screen;
  opacity: 0.95;
}
.monthly-rows { margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.monthly-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 24px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.3s ease;
}
.monthly-row:hover { background: rgba(255, 255, 255, 0.04); }
.monthly-row h4 {
  font-size: 17px;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}
.monthly-row h4 em {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  color: #7FA8FF;
  letter-spacing: 0.1em;
}
.monthly-row p { font-size: 14.5px; line-height: 1.9; color: rgba(255, 255, 255, 0.72); }
.monthly-foot {
  margin-top: 34px;
  padding: 22px 26px;
  border-radius: 12px;
  background: rgba(30, 94, 243, 0.18);
  border: 1px solid rgba(143, 182, 255, 0.28);
  font-size: 15.5px;
  font-weight: 700;
  color: #D6E4FF;
}

/* =========================================================
   Curriculum
   ========================================================= */
.table-wrap {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 14px;
}
table.data th,
table.data td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

table.data td { color: var(--text); }
table.data thead th {
  background: var(--soft-2);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover td { background: var(--soft); }
table.data td:first-child,
table.data th:first-child {
  font-weight: 700;
  color: var(--navy);
  background: #fff;
  position: sticky;
  left: 0;
  z-index: 1;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}
table.data thead th:first-child { background: var(--soft-2); }
table.data .hl-col { background: rgba(30, 94, 243, 0.05); }
table.data td.c { text-align: center; }
table.data tr.sum td { background: var(--soft-2); font-weight: 700; color: var(--navy); }
table.data tr.sum td:first-child { background: var(--soft-2); }
.scroll-hint {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.scroll-hint.is-on { display: flex; }
.scroll-hint svg {
  flex: 0 0 auto;
  animation: swipeHint 2.4s ease-in-out infinite;
}
@keyframes swipeHint {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-hint svg { animation: none; }
}

.curriculum-note {
  margin-top: 18px;
  padding: 18px 22px;
  border-radius: 12px;
  background: var(--soft);
  border-left: 3px solid var(--blue);
  font-size: 14px;
  line-height: 1.9;
  color: var(--text);
}
.curriculum-note b { color: var(--navy); }

.duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 26px; }
.panel {
  padding: 28px 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.panel .k {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 10px;
}
.panel h4 { font-size: 18px; color: var(--navy); font-weight: 700; margin-bottom: 10px; }
.panel p { font-size: 14px; line-height: 1.9; color: var(--muted); }

/* =========================================================
   Faculty
   ========================================================= */
.match-grid { display: grid; gap: 14px; }
.section-head + .match-grid { margin-top: 0; }
.match-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 22px;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.match-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.match-stage { font-size: 16px; font-weight: 800; color: var(--navy); }
.match-stage small { display: block; margin-top: 6px; font-size: 11.5px; letter-spacing: 0.14em; color: var(--blue); font-weight: 700; }
.match-body p { font-size: 14px; line-height: 1.9; color: var(--text); }
.match-body p + p { margin-top: 8px; color: var(--muted); font-size: 13.5px; }
.match-body p b { color: var(--navy); }

.mentors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}
.mentor {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: linear-gradient(170deg, #fff, var(--soft));
  border: 1px solid var(--line);
}
.mentor .mono {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.mentor h4 { font-size: 18px; color: var(--navy); font-weight: 800; }
.mentor .role { font-size: 12.5px; color: var(--blue); font-weight: 700; margin: 4px 0 12px; letter-spacing: 0.02em; }
.mentor ul { list-style: none; display: grid; gap: 7px; }
.mentor li {
  position: relative;
  padding-left: 14px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}
.mentor li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

/* =========================================================
   Class format
   ========================================================= */
.format-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
}
.big-figures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.figure-card {
  padding: 26px 22px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
}
.figure-card:nth-child(2) { background: linear-gradient(150deg, var(--blue-600), var(--blue)); }
.figure-card .v { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.figure-card .v small { font-size: 0.4em; font-weight: 700; margin-left: 3px; opacity: 0.8; }
.figure-card .l { margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, 0.72); }

.compare { display: grid; gap: 10px; }
.compare-row {
  display: grid;
  grid-template-columns: 34px 120px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.compare-row .mark {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px;
  font-weight: 700;
}
.compare-row.bad .mark { background: #FDECEC; color: #D9534F; }
.compare-row.good {
  background: linear-gradient(120deg, var(--soft-2), #fff);
  border-color: rgba(30, 94, 243, 0.34);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}
.compare-row.good .mark { background: var(--blue); color: #fff; }
.compare-row b { color: var(--navy); font-weight: 700; }
.compare-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--blue-600);
  font-weight: 700;
  padding-left: 16px;
  border-left: 3px solid var(--blue-100);
}

/* =========================================================
   Training
   ========================================================= */
.train-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.train-card {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.train-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(30, 94, 243, 0.3); }
.train-card .ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--blue-100);
  margin-bottom: 16px;
}
.train-card .ico svg { width: 19px; height: 19px; stroke: var(--blue); fill: none; stroke-width: 1.7; }
.train-card h4 { font-size: 16.5px; color: var(--navy); font-weight: 700; margin-bottom: 8px; }
.train-card p { font-size: 13.5px; line-height: 1.85; color: var(--muted); }

.oj-banner {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
  padding: 26px 30px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--navy), #123E96);
  color: #fff;
}
.oj-shot {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 16px 34px rgba(3, 16, 46, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.oj-shot picture { display: block; }
.oj-shot img { display: block; width: 100%; height: auto; }
.oj-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  min-width: 0;
}
.oj-text { min-width: 0; }
.oj-banner .btn--ghost { flex: 0 0 auto; }
.oj-banner .v { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -0.01em; }
.oj-banner .v span { font-size: 0.42em; font-weight: 700; color: #8FB6FF; margin-left: 6px; letter-spacing: 0.06em; }
.oj-banner p { font-size: 14px; color: rgba(255, 255, 255, 0.72); margin-top: 4px; }

/* =========================================================
   Results
   ========================================================= */
.result-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.result-stat {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  overflow: hidden;
}
.result-stat::after {
  content: "";
  position: absolute;
  right: -30px; top: -30px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(30, 94, 243, 0.5), transparent);
}
.result-stat .v {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.result-stat .v small { font-size: 0.42em; font-weight: 700; color: #8FB6FF; }
.result-stat .l { margin-top: 8px; font-size: 14px; font-weight: 700; color: #fff; }
.result-stat .s { margin-top: 4px; font-size: 11px; color: rgba(255, 255, 255, 0.55); letter-spacing: 0; line-height: 1.6; }

.tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 40px 0 18px;
  padding: 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  width: fit-content;
  max-width: 100%;
}
.tab {
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.68);
  transition: background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.tab:hover { color: #fff; }
.tab.is-active { background: #fff; color: var(--navy); }

.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp 0.45s ease both; }

.result-panel {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}
.result-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}
.result-panel-head h4 { font-size: 16.5px; color: var(--navy); font-weight: 800; }
.result-panel-head .total { font-size: 13.5px; color: var(--muted); }
.result-panel-head .total b { font-size: 20px; color: var(--blue-600); font-weight: 800; margin-left: 4px; }

.result-panel table.data { min-width: 560px; }
.result-panel table.data th,
.result-panel table.data td { padding: 11px 18px; }
.result-panel .note {
  padding: 16px 26px 20px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--faint);
  background: var(--soft);
}
.result-panel .note b { color: var(--muted); }

/* GESP 年度表：年份作表头，从左到右排列 */
.result-panel table.gesp-table thead th { letter-spacing: 0.02em; }
.result-panel table.gesp-table tbody th {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.result-panel table.gesp-table tbody tr:first-child td {
  font-size: 19px;
  font-weight: 800;
  color: var(--blue-600);
}
.result-panel table.gesp-table tbody tr:first-child th { color: var(--navy); }

.result-foot {
  margin-top: 22px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}

/* =========================================================
   Advantages
   ========================================================= */
.adv-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.adv-row {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 24px;
  padding: 26px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, padding-left 0.3s ease;
}
.adv-row:hover { background: var(--soft); padding-left: 18px; }
.adv-row .n {
  font-size: 14px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.06em;
  padding-top: 4px;
}
.adv-row h4 { font-size: 17.5px; color: var(--navy); font-weight: 800; margin-bottom: 6px; }
.adv-row p { font-size: 14px; line-height: 1.85; color: var(--muted); max-width: 78ch; }

/* =========================================================
   Testimonials
   ========================================================= */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.quote-card {
  position: relative;
  padding: 34px 30px 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.quote-card::before {
  content: "“";
  position: absolute;
  right: 24px;
  top: 2px;
  font-size: 54px;
  line-height: 1;
  color: var(--blue-100);
  font-family: Georgia, serif;
}
.q-tag {
  position: relative;
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--blue-600);
  background: var(--blue-100);
  border-radius: 20px;
  padding: 2px 11px;
  margin-bottom: 12px;
}
.quote-card p {
  position: relative;
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--ink);
  padding-top: 4px;
}
.quote-card .who {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--faint);
  letter-spacing: 0.04em;
}

/* ---- 家长反馈左右翻页 ---- */
.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 28px;
  flex-wrap: wrap;
}
.section-head--row .pager { padding-bottom: 4px; }

.quote-carousel { position: relative; }
.quote-track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.quote-track::-webkit-scrollbar { display: none; }
.quote-track:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; border-radius: 16px; }

.quote-page {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-content: start;
}
/* 同一行卡片等高时，署名统一贴底 */
.quote-page .quote-card,
.quote-source .quote-card { display: flex; flex-direction: column; }
.quote-page .quote-card .q-tag,
.quote-source .quote-card .q-tag { align-self: flex-start; }
.quote-page .quote-card .who,
.quote-source .quote-card .who { margin-top: auto; padding-top: 16px; }

.quote-note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
}
/* JS 接管后隐藏原始列表（.quote-grid 的 display 会盖掉 [hidden]） */
.quote-source[hidden] { display: none; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: linear-gradient(180deg, #071B47, #05122F);
  color: #fff;
  padding: clamp(56px, 7vw, 92px) 0 34px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: 40px 56px;
  align-items: center;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-top h2 {
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.footer-top h2 span { color: #8FB6FF; }
.footer-lines { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13.5px; color: rgba(255, 255, 255, 0.65); }
.footer-lines b { color: #fff; font-weight: 700; }
/* ---- 关注我们（三平台二维码） ---- */
.footer-follow { min-width: 0; }
.follow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}
.follow-title {
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #7FA8FF;
}
.follow-live { display: inline-flex; align-items: center; gap: 7px; letter-spacing: 0.02em; white-space: nowrap; }
.follow-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #42D392;
  box-shadow: 0 0 0 4px rgba(66, 211, 146, 0.16);
}

.channels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.channel {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0;
  padding: 12px 12px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.14);
  min-width: 0;
  text-align: center;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.channel:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}
.ch-qr {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 9px;
  margin-bottom: 11px;
  border-radius: 12px;
  background: #fff;
}
.ch-qr img { width: 100%; height: 100%; object-fit: contain; border-radius: 4px; }
.channel b {
  font-size: 13px;
  color: #fff;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.channel small {
  margin-top: 3px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: #7FA8FF;
  font-weight: 700;
}
.channel-tip {
  margin-top: 13px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 28px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.58);
}
.footer-bottom img { height: 22px; width: auto; }
.footer-note { max-width: 62ch; line-height: 1.8; }

/* =========================================================
   Reveal animation
   ========================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.js .reveal.is-in { opacity: 1; transform: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* =========================================================
   Faculty · 信奥教育研究院 / 明星教练团轮播
   ========================================================= */
/* ---- 信奥教育研究院 ---- */
.research-block { margin-top: clamp(40px, 5.6vw, 68px); }
.research-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 28px;
  flex-wrap: wrap;
  margin-bottom: clamp(18px, 2.4vw, 26px);
}
.research-head-text { max-width: 70ch; }
.research-head-text .eyebrow { margin-bottom: 10px; }
.research-head-text h3 {
  font-size: clamp(21px, 2.3vw, 28px);
  line-height: 1.35;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.research-head-text p { font-size: 14px; line-height: 1.9; color: var(--muted); }
.research-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-600);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}
.research-tag b { font-size: 19px; font-weight: 800; }

.expert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
}
.expert {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.expert:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.expert-figure {
  position: relative;
  aspect-ratio: 420 / 305;
  /* 顶部浅蓝、底部渐变到白：人像自带的 alpha 渐隐正好融进白，不需要额外遮罩 */
  background: linear-gradient(180deg, #edf4fe 0%, #e5eefc 52%, #f5f9ff 86%, #ffffff 100%);
  overflow: hidden;
}
.expert-figure img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 100%;
}
.expert-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 20px clamp(18px, 2vw, 24px) 24px;
}
.expert-name {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
}
.expert h4 {
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.expert-idx {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #c2d0e9;
}
.expert-role {
  font-size: 12.5px;
  line-height: 1.7;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 14px;
}
.expert ul {
  list-style: none;
  display: grid;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.expert li {
  position: relative;
  padding-left: 13px;
  font-size: 12.8px;
  line-height: 1.72;
  color: var(--muted);
}
.expert li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.7;
}

/* ---- 教练团（分页网格：PC 2×3 / 移动 4×2） ---- */
.coach-block { margin-top: clamp(40px, 5.6vw, 68px); }
.coach-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.coach-head-text { flex: 1 1 420px; min-width: 0; max-width: 62ch; }
.coach-head-text .eyebrow { margin-bottom: 10px; }
.coach-head-text h3 {
  font-size: clamp(21px, 2.3vw, 28px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.coach-head-text p { font-size: 14px; line-height: 1.9; color: var(--muted); }

/* 翻页控件（教练团 / 家长反馈共用） */
.coach-nav {
  padding-bottom: 2px;
  flex: 0 0 auto;
  margin-left: auto;
}
.pager {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pager-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.pager-btn:hover:not(:disabled) { background: var(--blue); border-color: var(--blue); color: #fff; }
.pager-btn:disabled { opacity: 0.32; cursor: default; }
.pager-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.pager-count { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; }
.pager-count b { font-size: 16px; color: var(--navy); font-weight: 800; }
.pager-count i { margin: 0 3px; font-style: normal; opacity: 0.5; }

/* 翻页轨道 */
.coach-carousel { position: relative; }

/* 教练区左右悬浮切换按钮（桌面端显示） */
.coach-float-btn {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(30, 94, 243, 0.28);
  background: rgba(255, 255, 255, 0.97);
  color: var(--blue);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(16, 30, 58, 0.16);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}
.coach-float-btn svg { width: 22px; height: 22px; display: block; }
.coach-float-prev { left: -24px; }
.coach-float-next { right: -24px; }
.coach-float-btn:hover:not(:disabled) {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 10px 26px rgba(30, 94, 243, 0.32);
}
.coach-float-btn:active:not(:disabled) { transform: scale(0.94); }
.coach-float-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.coach-float-btn:disabled { opacity: 0.28; pointer-events: none; }

.coach-track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.coach-track::-webkit-scrollbar { display: none; }
.coach-track:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; border-radius: 12px; }

.coach-page {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  /* 行等高 + 页等高：四页卡片尺寸完全一致，不存在某页人物偏大 */
  grid-auto-rows: 1fr;
  gap: 14px 18px;
  align-content: start;
}

/* JS 未生效时的兜底：按普通网格铺开 */
.coach-source:not([hidden]) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.coach-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 184px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.coach-card:hover { border-color: rgba(30, 94, 243, 0.28); box-shadow: var(--shadow-sm); }
.coach-photo {
  /* 照片通栏满高、贴住卡片上下边与左侧（参考画册卡片）：
     宽度固定、纵向拉满，比例不再依赖卡片高度，避免循环计算；
     图片按 cover 裁切，人物会被放大并保持居中，脸部更突出 */
  flex: 0 0 clamp(150px, 13.5vw, 168px);
  align-self: stretch;
  overflow: hidden;
  background: #fff;
}
.coach-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.coach-meta {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px 16px 15px 17px;
  min-width: 0;
}
.coach-meta h5 {
  font-size: 16.5px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.coach-role {
  font-size: 11.5px;
  line-height: 1.55;
  font-weight: 700;
  color: var(--blue);
  margin: 5px 0 10px;
}
.coach-meta ul { list-style: none; display: grid; gap: 6px; }
.coach-meta li {
  position: relative;
  padding-left: 12px;
  font-size: 12px;
  line-height: 1.66;
  color: var(--muted);
}
.coach-meta li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.75;
}

/* 移动端底部滑动提示条（PC / 平板不显示） */
.coach-swipe { display: none; }

@media (max-width: 1199px) {
  /* 三列会把卡片压到 340px 以内、照片被裁成瘦条，因此提前转两列 */
  .coach-page { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
  /* 两列时卡片更宽但不那么高，照片收窄回 3:4，人物不被横向压扁 */
  .coach-photo { flex-basis: 150px; }
}
@media (max-width: 719px) {
  .coach-head { margin-bottom: 14px; }
  /* 移动端改用底部滑动提示条，顶部翻页器与两侧悬浮按钮收起 */
  .coach-head .coach-nav { display: none; }
  .coach-float-btn { display: none; }
  .coach-nav { width: 100%; justify-content: flex-start; }
  .pager-btn { width: 36px; height: 36px; font-size: 17px; }
  /* 3 列 × 2 行 = 一屏 6 位，配合底部横条滑动查看全部 */
  .coach-page { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .coach-card { flex-direction: column; min-height: 0; border-radius: 12px; }
  /* 4:5 而不是 1:1：1:1 只显示到领口，肩膀被切掉，观感像"裁在脖子上" */
  .coach-photo { flex: none; width: 100%; height: auto; aspect-ratio: 4 / 5; }
  .coach-photo img { object-position: 50% 4%; }
  .coach-meta { flex: 0 0 auto; justify-content: flex-start; padding: 8px 9px 10px; min-height: 80px; }
  .coach-meta h5 { font-size: 12.5px; letter-spacing: 0; }
  .coach-role {
    font-size: 10.5px;
    line-height: 1.5;
    margin: 3px 0 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
  }
  /* 三列窄卡放不下细项，头衔已能说明背景 */
  .coach-meta ul { display: none; }

  /* 底部滑动提示条 */
  .coach-swipe:not([hidden]) {
    display: block;
    margin-top: 12px;
    /* 右侧给常驻悬浮按钮让位，避免页码与进度条被遮挡 */
    padding: 11px 72px 12px 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(11, 42, 107, 0.05);
  }
  .coach-swipe-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .coach-swipe-text {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--navy);
  }
  .coach-swipe-icon {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    color: var(--blue);
    animation: coach-swipe-hint 2.6s ease-in-out infinite;
  }
  .coach-swipe-count {
    flex: 0 0 auto;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.06em;
  }
  .coach-swipe-count b { font-size: 13px; font-weight: 800; color: var(--navy); }
  .coach-swipe-count i { margin: 0 2px; font-style: normal; opacity: 0.45; }
  .coach-swipe-bar {
    margin-top: 9px;
    height: 3px;
    border-radius: 2px;
    background: rgba(11, 42, 107, 0.09);
    overflow: hidden;
  }
  .coach-swipe-bar i {
    display: block;
    height: 100%;
    width: 25%;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--blue), #5C9BFF);
    transition: width 0.4s cubic-bezier(0.22, 0.8, 0.28, 1);
  }
}

/* 小屏手机：三列时卡片只有 110px 宽、头衔被截断，改两列 */
@media (max-width: 540px) {
  .coach-page { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .coach-meta { padding: 8px 10px 11px; }
  .coach-meta h5 { font-size: 13px; }
  .coach-role { font-size: 11px; }
}

@keyframes coach-swipe-hint {
  0%, 100% { transform: translateX(-2px); }
  50% { transform: translateX(2px); }
}
@media (prefers-reduced-motion: reduce) {
  .coach-swipe-icon { animation: none; }
}

/* 家长反馈：移动端一列两屏 */
@media (max-width: 719px) {
  .section-head--row { align-items: flex-start; }
  .section-head--row .pager { padding-bottom: 0; }
  .quote-page { grid-template-columns: 1fr; gap: 14px; }
  .quote-card { padding: 28px 24px 24px; }
}

/* 主理人照片卡：手机端改 16:9 横图，竖长图太占屏 */
@media (max-width: 719px) {
  .leader-photo { aspect-ratio: 16 / 9; }
  /* 人像收到右侧只留头肩，左侧留深蓝区放文字 */
  .leader-photo img {
    width: 64%;
    margin-left: auto;
    object-position: 50% 0;
  }
  .leader-photo .caption {
    left: 14px;
    top: 12px;
    font-size: 10px;
    letter-spacing: 0.18em;
  }
  .leader-photo .badge {
    left: 14px;
    right: auto;
    bottom: 12px;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 10.5px;
  }
  .leader-photo .badge small { font-size: 9px; }
}
/* 320 级小屏再收一档，避免标签压过人物 */
@media (max-width: 359px) {
  .leader-photo .badge { padding: 5px 8px; font-size: 9.5px; }
  .leader-photo .badge small { font-size: 8px; letter-spacing: 0.02em; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 1080px) {
  .brand-sub { display: inline; }
}

@media (max-width: 1060px) {
  .hero-inner { grid-template-columns: 1fr; text-align: left; }  .hero-figure { min-height: 300px; margin-top: 8px; }
  .hero-figure img { height: clamp(300px, 60vw, 460px); }
  .hero-float { left: auto; right: 0; bottom: 8%; }
  .hero h1 { max-width: 20ch; }
  .pos-grid,
  .book-grid,
  .live-grid,
  .leader-grid,
  .format-grid { grid-template-columns: 1fr; }
  .leader-grid { gap: 32px; }
  .leader-photo { width: 100%; max-width: 420px; margin-inline: auto; }
  .three-grid { grid-template-columns: 1fr; gap: 14px; }
  .three-card { padding: 26px 24px; }
  .three-card .idx { font-size: 34px; margin-bottom: 12px; }
  .mentors { grid-template-columns: 1fr; }
  .train-grid { grid-template-columns: repeat(2, 1fr); }
  .result-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; align-items: start; }
  .footer-follow { max-width: 520px; }
}

/* 平板 / 小笔记本：页脚渠道卡改横排（左码右字），铺满可用宽度 */
@media (min-width: 641px) and (max-width: 1060px) {
  .footer-follow { max-width: none; }
  .channels { gap: 12px; }
  .channel {
    grid-template-columns: 84px minmax(0, 1fr);
    grid-template-areas: "qr b" "qr small";
    align-content: center;
    align-items: center;
    justify-items: start;
    text-align: left;
    column-gap: 12px;
    row-gap: 2px;
    padding: 12px;
  }
  .ch-qr { grid-area: qr; width: 84px; margin-bottom: 0; }
  .channel b { grid-area: b; align-self: end; }
  .channel small { grid-area: small; align-self: start; margin-top: 0; }
  .channel-tip { text-align: left; }
}

@media (max-width: 979px) {
  /* 单列竖版卡：图片区限高，人像按 contain 居中，避免被拉得过高或缩得极小 */
  .expert-grid { grid-template-columns: 1fr; gap: 14px; }
  .expert-figure { aspect-ratio: auto; height: clamp(240px, 42vw, 360px); }
  .expert-figure img { object-position: 50% 50%; }
}


@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .stats-card { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .values-strip { grid-template-columns: 1fr; }
  .values-strip > div + div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
  .duo { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .monthly-head { flex-direction: column-reverse; align-items: flex-start; }
  .stamp-box { align-self: flex-start; }
  .monthly-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 2px; }
  .match-card { grid-template-columns: 1fr; gap: 10px; }
  .coach-head { align-items: flex-start; }
  html:not(.js) .scroll-hint { display: flex; }
  .oj-banner { grid-template-columns: 1fr; gap: 20px; }
  .oj-shot { max-width: 460px; }
}

@media (max-width: 640px) {
  body { line-height: 1.72; }
  .site-header { height: 64px; }
  .hero { padding-top: 64px; }
  .mobile-nav { top: 64px; padding: 10px var(--gutter) 22px; }
  .mobile-nav a { padding: 10px 4px; font-size: 15px; }
  .mobile-nav .btn { margin-top: 16px; padding-top: 13px; padding-bottom: 13px; }
  .brand img { height: 22px; }
  .hero-badge { font-size: 11.5px; }
  .hero h1 { font-size: clamp(27px, 8vw, 36px); }
  .hero-sub { font-size: 14.5px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero-note { font-size: 12.5px; padding: 12px 14px; }
  /* 移动端：人像居中，姓名条叠在照片下半部分居中 */
  .hero-figure {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 0;
    margin-bottom: 0;
    padding-right: 0;
  }
  .hero-figure img { height: 420px; }
  .hero-figure::before {
    left: 50%; right: auto;
    transform: translateX(-50%);
    width: min(94%, 420px);
  }
  .hero-figure::after {
    left: 50%; right: auto;
    transform: translateX(-50%);
    width: min(78%, 340px);
  }
  .hero-float {
    left: 50%;
    right: auto;
    bottom: 11%;
    transform: translateX(-50%);
    width: min(92%, 186px);
    padding: 9px 12px;
    border-radius: 10px;
    text-align: center;
    justify-items: center;
  }
  .hero-float b { font-size: 13.5px; }
  .hero-float small {
    font-size: 10px;
    line-height: 1.45;
    letter-spacing: 0.01em;
    white-space: nowrap;
  }
  .stat { padding: 20px 16px; }
  .stat-value { font-size: 26px; }
  .stat-label { font-size: 12px; }
  .stats-card { border-radius: 16px; }
  .cred-grid { grid-template-columns: 1fr; }
  .expert-figure { height: auto; aspect-ratio: 420 / 305; }
  .expert-figure img { object-position: 50% 100%; }
  .expert-body { padding: 14px 16px 16px; }
  .expert-name { margin-bottom: 5px; }
  .expert h4 { font-size: 17px; }
  .expert-role { font-size: 11.5px; margin-bottom: 10px; }
  .expert ul { padding-top: 10px; gap: 6px; }
  .expert li { font-size: 12px; line-height: 1.66; }
  .expert ul { grid-template-columns: 1fr; }
  .train-grid { grid-template-columns: 1fr; }
  .result-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .result-stat { padding: 20px 16px; }
  .result-stat .l { font-size: 13px; }
  .big-figures { grid-template-columns: 1fr; }
  .compare-row { grid-template-columns: 28px 1fr; gap: 10px; row-gap: 4px; }
  .compare-row span:last-child { grid-column: 2; }
  .adv-row { grid-template-columns: 40px 1fr; gap: 14px; padding: 20px 4px; }
  .result-panel table.data.compact.gesp-table { table-layout: fixed; }
  .result-panel table.data.compact.gesp-table thead th { white-space: normal; font-size: 12px; padding: 9px 4px; }
  .result-panel table.data.compact.gesp-table tbody th,
  .result-panel table.data.compact.gesp-table td { padding: 9px 4px; font-size: 12.5px; }
  .result-panel table.data.compact.gesp-table th:first-child,
  .result-panel table.data.compact.gesp-table td:first-child { width: 72px; padding-left: 10px; font-size: 12px; }
  .result-panel table.data.compact.gesp-table tbody tr:first-child td { font-size: 15px; }
  .tabs { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; overflow: visible; flex-wrap: wrap; }
  .tab { text-align: center; padding: 10px 8px; font-size: 13px; }
  .result-panel table.data.compact { min-width: 0; }
  .result-panel table.data.compact th,
  .result-panel table.data.compact td { padding: 10px 8px; font-size: 13px; }
  .result-panel table.data.compact th:first-child,
  .result-panel table.data.compact td:first-child { padding-left: 14px; }
  .result-panel table.data { min-width: 620px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-follow { max-width: none; }
  .channels { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .channel { padding: 8px 8px 10px; border-radius: 13px; }
  .channel:hover { transform: none; }
  .ch-qr { padding: 6px; margin-bottom: 8px; border-radius: 9px; }
  .channel b { font-size: 11.5px; line-height: 1.35; white-space: normal; }
  .channel small { margin-top: 2px; font-size: 9.5px; letter-spacing: 0.1em; }
  .channel-tip { text-align: left; }
  .section-title { max-width: none; }
  .oj-banner { padding: 22px 20px; }
  .live-time { gap: 8px; }
  .time-chip { padding: 12px 16px; }
  .time-chip b { font-size: 18px; }
}


/* 极窄屏：GESP 年度表再收一档，6 列不横向滚动 */
@media (max-width: 375px) {
  .result-panel table.data.compact.gesp-table thead th { font-size: 10.5px; letter-spacing: 0; padding: 8px 1px; }
  .result-panel table.data.compact.gesp-table th:first-child,
  .result-panel table.data.compact.gesp-table td:first-child { width: 56px; padding-left: 7px; font-size: 11px; }
  .result-panel table.data.compact.gesp-table tbody th,
  .result-panel table.data.compact.gesp-table td { padding: 8px 1px; }
  .result-panel table.data.compact.gesp-table tbody tr:first-child td { font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .danmaku { display: none; }
}

/* =========================================================
   右下角常驻悬浮入口（电话 / 直播）
   ========================================================= */
.fab {
  position: fixed;
  right: clamp(14px, 2.2vw, 26px);
  bottom: clamp(16px, 3vh, 30px);
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
}
/* 首屏隐藏，滚过 hero 后淡入（避免压住主视觉与首屏按钮） */
.fab.is-away {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
}

.fab-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: auto;
}

.fab-btn {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 12px 26px rgba(7, 27, 71, 0.26), 0 2px 6px rgba(7, 27, 71, 0.16);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  -webkit-tap-highlight-color: transparent;
}
.fab-btn svg { width: 25px; height: 25px; }
.fab-btn:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 16px 32px rgba(7, 27, 71, 0.3); }
.fab-btn:active { transform: scale(0.96); }
.fab-btn:focus-visible { outline: 3px solid rgba(30, 94, 243, 0.45); outline-offset: 3px; }

.fab-btn--tel { background: linear-gradient(150deg, #2C6CF6, var(--blue-600)); }
.fab-btn--live {
  background: linear-gradient(150deg, #18C083, #0B9760);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.fab-btn--live svg { width: 21px; height: 21px; }
/* 按钮内浅色小字 */
.fab-live-label {
  font-size: 9px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.82);
}
.fab-btn--live .fab-live-dot { animation: fab-blink 1.8s ease-in-out infinite; }

/* 直播按钮：向外扩散的信号波纹 */
.fab-btn--live::before,
.fab-btn--live::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(24, 192, 131, 0.55);
  animation: fab-pulse 2.8s ease-out infinite;
  pointer-events: none;
}
.fab-btn--live::after { animation-delay: 1.4s; }

@keyframes fab-pulse {
  0% { transform: scale(1); opacity: 0.9; }
  70% { transform: scale(1.85); opacity: 0; }
  100% { transform: scale(1.85); opacity: 0; }
}
@keyframes fab-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ---------- 弹出面板 ---------- */
.fab-panel {
  width: 336px;
  max-width: calc(100vw - 32px);
  padding: 16px 16px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(7, 27, 71, 0.2), 0 6px 16px rgba(7, 27, 71, 0.08);
  pointer-events: auto;
  transform-origin: bottom right;
  animation: fab-pop 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fab-panel[hidden] { display: none; }

@keyframes fab-pop {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

.fab-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.fab-panel-head b {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.fab-panel-title small {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.fab-close {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  background: var(--soft-2);
  transition: background 0.2s ease, color 0.2s ease;
}
.fab-close svg { width: 14px; height: 14px; }
.fab-close:hover { background: #E4ECFB; color: var(--navy); }

/* 号码行 */
.fab-tel {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border-radius: 13px;
  text-align: left;
  color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-600) 100%);
  box-shadow: 0 10px 22px rgba(15, 76, 217, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fab-tel:hover { transform: translateY(-1px); box-shadow: 0 14px 26px rgba(15, 76, 217, 0.3); }
.fab-tel-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.72;
}
.fab-tel-num {
  display: block;
  margin: 2px 0 4px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.fab-tel-hint {
  display: inline-block;
  font-size: 11.5px;
  padding: 1px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  letter-spacing: 0.02em;
}

/* 二维码 */
.fab-qr {
  margin-top: 14px;
  text-align: center;
}
.fab-qr-img {
  display: block;
  width: 168px;
  margin: 0 auto;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}
.fab-qr-img img { width: 100%; height: auto; }
.fab-qr p {
  margin-top: 9px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* 直播三账号 */
.fab-chans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.fab-chan {
  padding: 8px 6px 9px;
  border-radius: 12px;
  background: var(--soft-2);
  border: 1px solid var(--line);
  text-align: center;
}
.fab-chan-qr {
  display: block;
  padding: 5px;
  border-radius: 9px;
  background: #fff;
}
.fab-chan-qr img { width: 100%; height: auto; }
.fab-chan b {
  display: block;
  margin-top: 7px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.fab-chan small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: var(--blue-600);
  letter-spacing: 0.04em;
}
.fab-live-tip {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}

/* ---------- 复制提示 ---------- */
.fab-toast {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 30px;
  z-index: 96;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(7, 27, 71, 0.92);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 14px 30px rgba(7, 27, 71, 0.28);
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.fab-toast[hidden] { display: none; }
.fab-toast.is-in { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 移动端：底部抽屉 ---------- */
.fab-mask {
  position: fixed;
  inset: 0;
  z-index: 94;
  background: rgba(7, 27, 71, 0.42);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.fab-mask[hidden] { display: none; }
.fab-mask.is-in { opacity: 1; }

@media (max-width: 640px) {
  body.fab-open { overflow: hidden; }
  .fab { right: 12px; bottom: 14px; gap: 8px; }
  /* 移动端按钮收到 44px：竖向窄条对正文的遮挡面积比横排更小 */
  .fab-btn svg { width: 20px; height: 20px; }
  .fab-btn--live svg { width: 17px; height: 17px; }
  .fab-live-label { font-size: 8px; }
  /* 抽屉展开时隐藏浮动按钮，避免压住面板内容 */
  .fab-btns {
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  body.fab-open .fab-btns {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
  }
  /* 移动端导航抽屉展开时不显示悬浮入口 */
  body.nav-open .fab {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
  }
  .fab-btn { width: 44px; height: 44px; }
  .fab-btn svg { width: 23px; height: 23px; }
  /* 直播按钮要同时容纳图标与「直播」小字 */
  .fab-btn--live { gap: 1px; }
  .fab-btn--live svg { width: 19px; height: 19px; }
  .fab-live-label { font-size: 8.5px; }

  .fab-panel {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: none;
    padding: 18px 16px 20px;
    border-radius: 20px;
    transform-origin: bottom center;
    animation: fab-up 0.26s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  @keyframes fab-up {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
  }
  .fab-qr-img { width: 190px; }
  .fab-chans { gap: 7px; }
  .fab-chan b { font-size: 10.5px; }

  .fab-toast {
    bottom: 30px;
    font-size: 12.5px;
  }
  body.fab-open .fab-toast { bottom: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  .fab-btn--live::before,
  .fab-btn--live::after,
  .fab-btn--live .fab-live-dot { animation: none; }
  .fab-panel { animation: none; }
}
