/* ==========================================================================
   ECHAMPION ACADEMY · 易成素养 V4 — Brand-Unified Interactive Showcase
   Exact 20261119 Brand Manual DNA:
   Primary Navy #0B3D78 / #0E417D · Accent Coral-Red #DF3E36 · Ice Mist #EAF0F7
   Signature Shapes: 44px 0 44px 0 Asymmetric Frame · Red Vertical Tick · Hollow Numerals
   ========================================================================== */

:root {
  --navy: #0B3D78;
  --navy-deep: #072A57;
  --navy-royal: #145096;
  --blue-s1: #6CA6DF;
  --blue-s2: #3876B8;
  --blue-s3: #175398;
  --blue-s4: #0B3D78;
  --coral: #DF3E36;
  --coral-hover: #C6312A;
  --seal: #B82925;

  --white: #FFFFFF;
  --ice: #F3F7FC;
  --ice-card: #EAF0F7;
  --ice-line: #DCE3EE;
  --ghost: #E5E9F0;
  --ink: #1D2838;
  --ink-soft: #4B586B;
  --ink-muted: #768396;
  --rule: rgba(11, 61, 120, 0.11);
  --rule-strong: rgba(11, 61, 120, 0.22);

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
  --font-num: "Helvetica Neue", Arial, "PingFang SC", sans-serif;

  --max-w: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 12px 34px rgba(11, 61, 120, 0.08);
  --shadow-lift: 0 18px 42px rgba(11, 61, 120, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 44px);
}

/* ---------- Header & Brand Monogram ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ice-line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand-logo-img {
  height: 38px;
  width: auto;
  display: block;
}
@media (max-width: 780px) { .brand-logo-img { height: 32px; } }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-cn {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--navy);
}
.brand-en {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.nav-menu a:hover { background: var(--ice); color: var(--navy); }
.nav-menu a.active {
  background: var(--ice-card);
  color: var(--navy);
  font-weight: 700;
}

.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--coral);
  color: var(--white);
  border: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--coral-hover); transform: translateY(-1px); }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ice-line);
  border-radius: 10px;
  background: var(--ice);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy);
  padding: 0;
}
.menu-toggle svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }

.mobile-drawer {
  display: none;
  background: var(--white);
  border-bottom: 1px solid var(--ice-line);
  padding: 10px 20px 18px;
  box-shadow: var(--shadow-soft);
}
.mobile-drawer.is-open { display: block; animation: fadeDown 0.22s var(--ease); }
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 6px;
  border-bottom: 1px solid var(--ice-line);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.mobile-drawer a.active { color: var(--coral); }
.mobile-drawer a:last-child { border-bottom: none; }

/* ---------- Signature 1119 Running Kicker & Hollow Section Numerals ---------- */
.tick-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}
.tick-kicker::before {
  content: "";
  width: 3.5px;
  height: 15px;
  background: var(--coral);
  border-radius: 2px;
}
.sec-navy .tick-kicker { color: #FF7B74; }
.sec-navy .tick-kicker::before { background: var(--coral); }

.sec-heading-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(28px, 4vw, 42px);
}
.sec-heading-wrap > div:first-child {
  flex: 1 1 50%;
  min-width: 0;
}
.sec-heading-wrap > p {
  margin: 0;
  flex: 0 1 44%;
  max-width: 46ch;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.sec-navy .sec-heading-wrap > p { color: rgba(255, 255, 255, 0.78); }
.sec-heading-left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.hollow-num {
  font-family: var(--font-num);
  font-size: clamp(44px, 5vw, 66px);
  font-weight: 800;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--navy);
  opacity: 0.28;
  user-select: none;
  flex-shrink: 0;
}
.sec-navy .hollow-num { -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.35); opacity: 1; }
.sec-heading-wrap h2 {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.sec-navy .sec-heading-wrap h2 { color: var(--white); }
.sec-sub {
  margin: 0;
  max-width: 40ch;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.sec-navy .sec-sub { color: rgba(255, 255, 255, 0.74); }

/* ---------- HERO SHOWCASE (1119 Asymmetric Leaf Frame + Graphic Energy) ---------- */
.hero-showcase {
  position: relative;
  padding: clamp(36px, 5vw, 70px) 0 clamp(44px, 5.5vw, 76px);
  background:
    radial-gradient(circle at 86% 18%, rgba(108, 166, 223, 0.18) 0%, transparent 44%),
    radial-gradient(circle at 12% 88%, rgba(223, 62, 54, 0.06) 0%, transparent 38%),
    linear-gradient(180deg, #F5F8FD 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--ice-line);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: clamp(28px, 4.5vw, 60px);
  align-items: center;
}

.hero-title {
  margin: 0 0 14px;
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.hero-title .accent-mark {
  color: var(--coral);
  position: relative;
  display: inline-block;
}
.hero-title .accent-mark::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 8px;
  background: rgba(223, 62, 54, 0.14);
  z-index: -1;
  border-radius: 3px;
}

.hero-lead {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0 0 18px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  background: var(--ice-card);
  padding: 5px 13px;
  border-radius: 999px;
}
.brand-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.btn-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 13px 26px;
  min-height: 48px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(11, 61, 120, 0.22);
  transition: background 0.2s, transform 0.2s;
}
.btn-navy:hover { background: var(--navy-royal); transform: translateY(-2px); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--navy);
  padding: 12px 24px;
  min-height: 48px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn-outline:hover { background: var(--ice); transform: translateY(-2px); }

/* Hero Metric Mini-Strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--ice-line);
}
.hs-num {
  font-family: var(--font-num);
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
}
.hs-num em { font-style: normal; color: var(--coral); font-size: 16px; }
.hs-label { font-size: 12px; color: var(--ink-muted); margin-top: 2px; }

/* Signature 1119 Asymmetric Leaf Photo Frame (44px 0 44px 0 + Coral Arc Stroke) */
.leaf-stage {
  position: relative;
  width: 100%;
  min-width: 0;
  padding: 14px 0 18px 14px;
}
.leaf-arc {
  position: absolute;
  top: 0;
  left: 0;
  right: 14px;
  bottom: 18px;
  border: 2.5px solid rgba(223, 62, 54, 0.78);
  border-radius: 48px 0 48px 0;
  pointer-events: none;
}
.leaf-photo {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 44px 0 44px 0;
  aspect-ratio: 16 / 11;
  background: var(--ice-card);
  box-shadow: var(--shadow-lift);
}
.bento-2 .leaf-stage {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 12px 0 0 12px;
}
.bento-2 .leaf-arc {
  top: 0;
  left: 0;
  right: 12px;
  bottom: 12px;
}
.bento-2 .leaf-photo {
  width: 100%;
  height: 100%;
  min-height: 340px;
  aspect-ratio: auto;
  flex: 1;
}
.leaf-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.leaf-stage:hover .leaf-photo img { transform: scale(1.04); }

.float-badge {
  position: absolute;
  right: 16px;
  bottom: 4px;
  background: rgba(11, 61, 120, 0.94);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 16px 0 16px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 28px rgba(7, 42, 87, 0.28);
}
.seal-stamp {
  width: 34px;
  height: 34px;
  background: var(--seal);
  border: 1.5px solid rgba(255,255,255,0.65);
  border-radius: 5px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-items: center;
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  padding: 3px;
  flex-shrink: 0;
}
.fb-title { font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.fb-sub { font-size: 11px; color: rgba(255,255,255,0.74); margin-top: 2px; }

/* ---------- Subpage Hero ---------- */
.sub-hero {
  background: linear-gradient(135deg, #072A57 0%, #0E417D 65%, #1857A0 100%);
  color: var(--white);
  padding: clamp(36px, 5vw, 60px) 0;
  position: relative;
  overflow: hidden;
}
.sub-hero::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 36px solid rgba(223, 62, 54, 0.14);
  pointer-events: none;
}
.sub-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: end;
  position: relative;
  z-index: 2;
}
.sub-hero h1 { margin: 0; font-size: clamp(28px, 3.5vw, 42px); font-weight: 800; line-height: 1.22; }
.sub-hero p { margin: 0; color: rgba(255, 255, 255, 0.82); font-size: 14.8px; }

/* ---------- Sections ---------- */
.sec {
  padding: clamp(50px, 6.5vw, 86px) 0;
}
.sec-ice {
  background: var(--ice);
  border-top: 1px solid var(--ice-line);
  border-bottom: 1px solid var(--ice-line);
}
.sec-navy {
  background: linear-gradient(155deg, #072A57 0%, #0B3D78 55%, #124C90 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

/* ---------- INTERACTIVE MODULE 1: AGE-TO-STAGE EXPLORER & LIVE SVG CHARTS ---------- */
.staircase-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.st-pill {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--ice-line);
  border-radius: 14px;
  padding: 13px 14px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s, border-color 0.22s, background 0.22s;
  overflow: hidden;
}
.st-pill::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--pill-color, var(--navy));
}
.st-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.st-pill .sp-age {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--pill-color, var(--navy));
  letter-spacing: 0.04em;
}
.st-pill .sp-name {
  display: block;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--navy);
  margin: 2px 0;
}
.st-pill .sp-word {
  display: block;
  font-size: 11.5px;
  color: var(--ink-muted);
}
.st-pill.is-active {
  background: var(--pill-color, var(--navy));
  border-color: var(--pill-color, var(--navy));
  box-shadow: 0 10px 24px rgba(11, 61, 120, 0.22);
  transform: translateY(-2px);
}
.st-pill.is-active .sp-age,
.st-pill.is-active .sp-name,
.st-pill.is-active .sp-word { color: var(--white); }

.explorer-board {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

.visual-card {
  background: var(--white);
  border: 1px solid var(--ice-line);
  border-radius: 20px;
  padding: 26px 26px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.visual-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
  gap: 8px 10px;
}
.vc-title { font-size: 14px; font-weight: 700; color: var(--navy); }
.vc-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--coral);
  background: rgba(223, 62, 54, 0.1);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Interactive SVG Staircase Bar Chart */
.chart-svg { width: 100%; height: auto; display: block; }
.chart-bar-g { cursor: pointer; transition: opacity 0.25s; }
.chart-bar-rect { transition: opacity 0.25s, filter 0.25s; }
.chart-bar-g.is-dim .chart-bar-rect { opacity: 0.32; }
.chart-bar-g.is-active .chart-bar-rect { filter: drop-shadow(0 6px 12px rgba(11, 61, 120, 0.28)); }

/* Stage Detail Card with 1119 Half-Height Strip & Ghost Numeral */
.stage-detail-card {
  background: var(--white);
  border: 1px solid var(--ice-line);
  border-radius: 20px;
  padding: 26px 28px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.ghost-bg-num {
  position: absolute;
  right: 18px;
  top: 6px;
  font-family: var(--font-num);
  font-size: 92px;
  font-weight: 900;
  line-height: 1;
  color: var(--ghost);
  pointer-events: none;
  user-select: none;
}
.stage-highlight-title {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  padding: 0 10px 2px 0;
  background: linear-gradient(180deg, transparent 58%, var(--ice-line) 58%);
}
.stage-highlight-title .sh-en {
  font-size: 24px;
  font-weight: 800;
  color: var(--coral);
}
.stage-highlight-title .sh-cn {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}
.stage-one-liner {
  position: relative;
  z-index: 2;
  margin: 8px 0 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* 4-Ring Skill Split Donuts */
.donut-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  position: relative;
  z-index: 2;
}
.donut-box {
  background: var(--ice);
  border-radius: 14px;
  padding: 12px 8px;
  text-align: center;
}
.donut-svg { width: 58px; height: 58px; margin: 0 auto 6px; display: block; }
.donut-bg { fill: none; stroke: #D6E1EF; stroke-width: 5; }
.donut-fg {
  fill: none;
  stroke: var(--navy);
  stroke-width: 5;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 0.55s var(--ease), stroke 0.3s;
}
.donut-val { font-size: 12px; font-weight: 800; fill: var(--navy); }
.donut-lbl { font-size: 12px; font-weight: 700; color: var(--ink-soft); }

.spec-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  position: relative;
  z-index: 2;
}
.spec-chip {
  background: var(--ice);
  border-left: 3px solid var(--navy);
  border-radius: 0 10px 10px 0;
  padding: 9px 12px;
}
.spec-chip.coral { border-left-color: var(--coral); }
.sc-k { font-size: 11px; color: var(--ink-muted); }
.sc-v { font-size: 14.5px; font-weight: 800; color: var(--navy); margin-top: 1px; }

/* ---------- INTERACTIVE MODULE 2: 5E WINDING ROAD ON DEEP BRAND NAVY ---------- */
.road-wrap {
  position: relative;
  margin-bottom: 28px;
}
.road-svg-line {
  position: absolute;
  left: 6%; right: 6%; top: 31px;
  width: 88%; height: 24px;
  pointer-events: none;
  z-index: 1;
}
.e5-nodes {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.e5-node {
  background: transparent;
  border: none;
  color: var(--white);
  text-align: center;
  cursor: pointer;
  padding: 6px;
  transition: transform 0.22s var(--ease);
}
.e5-node:hover { transform: translateY(-4px); }
.e5-pin {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.e5-node.is-active .e5-pin {
  background: var(--coral);
  border-color: var(--white);
  box-shadow: 0 0 0 8px rgba(223, 62, 54, 0.24);
  transform: scale(1.08);
}
.e5-en { display: block; font-size: 11px; letter-spacing: 0.14em; font-weight: 700; color: rgba(255,255,255,0.68); }
.e5-cn { display: block; font-size: 16px; font-weight: 800; margin-top: 2px; }

.e5-spotlight {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}
.e5-spotlight h3 { margin: 0 0 8px; font-size: 22px; color: var(--white); }
.e5-spotlight p { margin: 0; color: rgba(255, 255, 255, 0.82); font-size: 14.8px; }
.e5-level-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.e5-lvl {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}
.e5-lvl-k { font-size: 11px; color: #FF948E; font-weight: 700; }
.e5-lvl-v { font-size: 13.5px; font-weight: 700; color: var(--white); margin-top: 4px; }

/* ---------- INTERACTIVE MODULE 3: DUAL-TRACK PATHWAY SWITCHER ---------- */
.track-switch {
  display: inline-flex;
  background: var(--ice-card);
  padding: 5px;
  border-radius: 999px;
  gap: 4px;
  margin-bottom: 24px;
}
.track-btn {
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
.track-btn.is-active {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(11, 61, 120, 0.22);
}
.track-btn[data-track="global"].is-active { background: var(--coral); }

.track-panel { display: none; }
.track-panel.is-active { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; animation: fadeRise 0.35s var(--ease); }
@keyframes fadeRise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.metric-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.mb-tile {
  background: var(--white);
  border: 1px solid var(--ice-line);
  border-radius: 16px;
  padding: 20px 18px;
  position: relative;
  overflow: hidden;
}
.mb-tile.navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.mb-tile.coral { background: var(--coral); color: var(--white); border-color: var(--coral); }
.mb-num { font-family: var(--font-num); font-size: 32px; font-weight: 800; line-height: 1.1; color: var(--navy); }
.mb-num span { font-size: 18px; font-weight: 700; color: var(--coral); margin-left: 2px; }
.mb-tile.navy .mb-num, .mb-tile.coral .mb-num { color: var(--white); }
.mb-lbl { font-size: 13px; font-weight: 700; margin-top: 6px; }
.mb-sub { font-size: 12px; color: var(--ink-muted); margin-top: 3px; }
.mb-tile.navy .mb-sub, .mb-tile.coral .mb-sub { color: rgba(255,255,255,0.78); }

/* ---------- BENTO SHOWCASE (HERITAGE + TWO GENERATIONS + 3 CAMPUSES) ---------- */
.bento-2 { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 24px; align-items: stretch; }
.col-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.col-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.bento-2 > *, .col-3 > *, .col-2 > *, .story-grid > *, .hero-grid > *, .explorer-board > * { min-width: 0; }

.story-mark {
  font-family: var(--font-serif);
  font-size: 40px;
  line-height: 0.85;
  color: var(--coral);
  opacity: 0.8;
  margin-bottom: 8px;
}
.story-body {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 14px;
}
.story-who {
  font-size: 13px;
  color: var(--ink-muted);
  padding-top: 12px;
  border-top: 1px solid var(--ice-line);
}
.story-who strong { color: var(--navy); }
.text-link {
  color: var(--navy);
  font-weight: 700;
  border-bottom: 1.5px solid rgba(223, 62, 54, 0.45);
  transition: color 0.2s, border-color 0.2s;
}
.text-link:hover { color: var(--coral); border-bottom-color: var(--coral); }
.ed-footnote {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.clean-card {
  background: var(--white);
  border: 1px solid var(--ice-line);
  border-radius: 18px;
  padding: 24px;
  transition: transform 0.22s var(--ease), box-shadow 0.22s, border-color 0.22s;
}
.clean-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: var(--blue-s1); }
.clean-card h3 { margin: 8px 0 8px; font-size: 18px; font-weight: 800; color: var(--navy); }
.clean-card p { margin: 0 0 8px; font-size: 14px; color: var(--ink-soft); }
.clean-card ul { margin: 6px 0 0; padding-left: 18px; font-size: 13.8px; color: var(--ink-soft); }
.clean-card li { margin-bottom: 5px; }

.red-rule-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--navy);
  padding-top: 6px;
  border-top: 2.5px solid var(--coral);
  letter-spacing: 0.06em;
}

.quote-pill-card {
  background: var(--ice);
  border-radius: 16px;
  padding: 18px 20px;
  border-left: 4px solid var(--coral);
}
.quote-pill-card p { margin: 0 0 8px; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.quote-pill-card span { font-size: 12.5px; color: var(--ink-muted); }

/* Sticky-First-Column Clean Table (Curriculum Page) */
.swipe-hint { display: none; font-size: 12px; font-weight: 700; color: var(--coral); margin-bottom: 8px; }
.table-shell {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--ice-line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
table.ed-table { width: 100%; border-collapse: collapse; font-size: 13.8px; min-width: 720px; }
table.ed-table thead th {
  text-align: left;
  padding: 14px 13px;
  font-size: 14px;
  font-weight: 800;
  color: var(--white);
  background: var(--navy);
}
table.ed-table thead th:last-child { background: var(--coral); }
table.ed-table thead th span { display: block; font-size: 11px; font-weight: 500; opacity: 0.85; }
table.ed-table tbody td { padding: 12px 13px; border-bottom: 1px solid var(--ice-line); color: var(--ink-soft); }
table.ed-table tbody tr:nth-child(even) td { background: #F8FBFF; }
table.ed-table tbody td:first-child, table.ed-table thead th:first-child {
  position: sticky; left: 0; z-index: 2; font-weight: 700; white-space: nowrap; border-right: 1px solid var(--ice-line);
}
table.ed-table tbody td:first-child { background: var(--white); color: var(--navy); }
table.ed-table tbody tr:nth-child(even) td:first-child { background: #F8FBFF; }
table.ed-table thead th:first-child { background: var(--navy-deep); z-index: 3; }

/* FAQ Accordion */
.faq-stack { display: flex; flex-direction: column; gap: 10px; }
details.faq-row {
  background: var(--white);
  border: 1px solid var(--ice-line);
  border-radius: 14px;
  padding: 16px 20px;
}
details.faq-row[open] { border-color: var(--blue-s1); box-shadow: var(--shadow-soft); }
details.faq-row summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 15.8px;
  font-weight: 700;
  color: var(--navy);
}
details.faq-row summary::-webkit-details-marker { display: none; }
details.faq-row summary::after {
  content: "+";
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--ice-card);
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
details.faq-row[open] summary::after { content: "−"; background: var(--coral); color: var(--white); }
.faq-body { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--ice-line); font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Opt-In Interactive Assessment Modal (Zero Auto-Popup!) ---------- */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(7, 42, 87, 0.56);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.is-open { display: flex; animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-card {
  background: var(--white);
  border-radius: 28px 0 28px 0;
  max-width: 480px;
  width: 100%;
  padding: 28px 26px;
  box-shadow: 0 24px 60px rgba(7, 42, 87, 0.35);
  border-top: 4px solid var(--coral);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--ice-line);
  background: var(--ice);
  color: var(--navy);
  font-size: 18px;
  cursor: pointer;
}
.modal-card h3 { margin: 0 0 6px; font-size: 20px; color: var(--navy); }
.modal-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.m-chip {
  border: 1.5px solid var(--ice-line);
  background: var(--white);
  color: var(--navy);
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.m-chip.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.modal-result {
  background: var(--ice);
  border-left: 4px solid var(--coral);
  border-radius: 0 12px 12px 0;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 13.8px;
  color: var(--ink);
}

/* ---------- Footer & Mobile Bottom Bar ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.76);
  padding: 52px 0 28px;
  font-size: 13.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr 0.9fr;
  gap: 32px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.site-footer h4 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #FF8A84; margin: 0 0 12px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a:hover { color: var(--white); }
.footer-bar { padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; color: rgba(255,255,255,0.5); }

.mobile-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 250;
  background: rgba(7, 42, 87, 0.96);
  backdrop-filter: blur(12px);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-bar a, .mobile-bar button {
  flex: 1;
  text-align: center;
  padding: 11px 10px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
}
.mb-call { background: rgba(255, 255, 255, 0.14); color: var(--white); border: 1px solid rgba(255,255,255,0.28) !important; }
.mb-book { background: var(--coral); color: var(--white); }

/* ---------- Responsive (100% True 390px Mobile Polish) ---------- */
@media (max-width: 1020px) {
  .hero-grid, .explorer-board, .e5-spotlight, .track-panel.is-active,
  .bento-2, .sub-hero-grid, .footer-top, .col-3, .story-grid { grid-template-columns: 1fr; }
  .sec-heading-wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sec-heading-wrap > div:first-child, .sec-heading-wrap > p { flex: none; width: 100%; max-width: 100%; }
  .bento-2 .leaf-stage { height: auto; padding: 10px 0 0 10px; }
  .bento-2 .leaf-photo { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .road-svg-line { display: none; }
}

@media (max-width: 780px) {
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: 92px; }
  .nav-inner { height: 60px; }
  .nav-menu, .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-bar { display: flex; }

  .hero-showcase { padding: 20px 0 32px; }
  .hero-grid .leaf-stage { order: -1; padding: 8px 0 12px 8px; }
  .leaf-photo { border-radius: 30px 0 30px 0; }
  .leaf-arc { right: 8px; bottom: 12px; border-radius: 34px 0 34px 0; border-width: 2px; }
  .bento-2 .leaf-arc { right: 8px; bottom: 8px; }
  .float-badge { padding: 9px 13px; right: 8px; bottom: 0; }
  .hero-title { font-size: 28px; }
  .cta-row { flex-direction: column; }
  .btn-navy, .btn-outline { width: 100%; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* Clean mobile Stage Detail Title without full-width bar glitch */
  .stage-highlight-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    background: none;
    padding: 0;
    max-width: calc(100% - 58px);
  }
  .stage-highlight-title .sh-cn {
    background: var(--ice-card);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 13.5px;
  }

  /* Horizontal Swipeable Stage Pills on Mobile */
  .staircase-tabs {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 8px;
    padding-bottom: 6px;
    margin-bottom: 16px;
  }
  .staircase-tabs::-webkit-scrollbar { display: none; }
  .st-pill { flex: 0 0 auto; min-width: 132px; scroll-snap-align: start; padding: 11px 12px; }

  /* All 5E Nodes Visible in 1 Clean 5-Column Row on Mobile (Zero Clipping!) */
  .e5-nodes {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    overflow: visible;
    padding-bottom: 4px;
  }
  .e5-node { flex: none; padding: 4px 2px; }
  .e5-pin { width: 40px; height: 40px; font-size: 13px; margin: 0 auto 6px; }
  .e5-node.is-active .e5-pin { box-shadow: 0 0 0 5px rgba(223, 62, 54, 0.24); }
  .e5-en { display: none; }
  .e5-cn { font-size: 12.5px; margin-top: 0; }

  .e5-level-pills, .col-2, .metric-bento { grid-template-columns: 1fr; }
  .donut-row { grid-template-columns: repeat(2, 1fr); }
  .visual-card, .stage-detail-card, .e5-spotlight { padding: 20px 18px; }
  .ghost-bg-num { font-size: 64px; }
  .swipe-hint { display: block; }
  .track-switch { width: 100%; }
  .track-btn { flex: 1; padding: 9px 10px; font-size: 13px; }
}
