/* FUYO EDUCATION / 赋曜教育: official website typography (v3, 2026-10-20)
   Round-2 option B (Vivien's pick): 未来荧黑 Glow Sans SC (Normal width) for Chinese + Plus Jakarta Sans for Latin and numbers.
   Body 400 -> Glow Sans SC Regular + Jakarta 400. Headings / UI 600 -> Glow Sans SC Medium + Jakarta 600. Eyebrows -> Jakarta 800.
   All fonts are SIL OFL 1.1 woff2 subsets, self-hosted in /fonts/ (no Google Fonts). Keep OFL_GlowSans.txt and
   OFL_PlusJakartaSans.txt next to the woff2 files. Chinese subset = 4,138 characters (all site characters + GB2312 level 1).
   Replaces v1 (Noto Sans SC + Inter + Montserrat). Layout, sizes and colours are unchanged. */

/* Chinese: 2 files. Regular for weights up to 450, Medium for 451+ (headings, buttons, strong, eyebrow CJK) — no faux bold. */
@font-face { font-family: "FUYO Sans"; src: url("/fonts/glow-sans-sc-400.woff2?v=fdb2d0f0") format("woff2"); font-weight: 100 450; font-style: normal; font-display: swap; }
@font-face { font-family: "FUYO Sans"; src: url("/fonts/glow-sans-sc-500.woff2?v=385cf3c0") format("woff2"); font-weight: 451 900; font-style: normal; font-display: swap; }
/* Latin only: CJK punctuation (“ ” ‘ ’ … —) falls through to the Chinese font */
@font-face { font-family: "FUYO Latin"; src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2013, U+20AC, U+2122; }

:root {
  --font-sans: "FUYO Latin", "FUYO Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --font-display: var(--font-sans);   /* headings: same family, weight 600 */
  --font-body: var(--font-sans);
  --font-en: var(--font-sans);        /* eyebrow labels: Plus Jakarta Sans 800 */
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
}
body { font-family: var(--font-body); font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; line-break: strict; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: .01em; text-wrap: balance; }
h1 { font-size: 44px; line-height: 1.35; }
h2 { font-size: 34px; line-height: 1.35; }
h3 { font-size: 21px; line-height: 1.5; }
p, li, figcaption, blockquote { letter-spacing: .01em; text-wrap: pretty; }
.lead, .lede { font-size: 18px; line-height: 1.85; }
.card p, .case p, .step p { font-size: 15px; line-height: 1.8; }
small, .small, .hint, .disclaimer { font-size: 14px; line-height: 1.7; }
.eyebrow { font-family: var(--font-en); font-weight: 800; font-size: 13px; letter-spacing: .16em; }
.otag small { font-family: var(--font-en); font-weight: 800; letter-spacing: .14em; }
.otag b, .stat b { font-family: var(--font-display); font-weight: 600; }

/* UI text: 600 */
.btn, button, .more, label, .tag .ph, .mitem figcaption, .foot-title, .role { font-weight: 600; }
.btn, button { font-size: 16px; line-height: 1; letter-spacing: .02em; }
strong, b { font-weight: 600; }

@media (max-width: 799px) {
  h1 { font-size: 28px; line-height: 1.42; }
  h2 { font-size: 24px; line-height: 1.42; }
  h3 { font-size: 18px; line-height: 1.5; }
  .lead, .lede { font-size: 16px; line-height: 1.85; }
}

/* Wide viewports (unchanged from v1) */
@media (min-width: 1440px) {
  body { font-size: clamp(16px, 0.14vw + 13.984px, 18px); }
  h1 { font-size: clamp(44px, 1.5vw + 22.4px, 54px); }
  h2 { font-size: clamp(34px, 1.15vw + 17.44px, 42px); }
  h3 { font-size: clamp(21px, 0.35vw + 15.96px, 24px); }
  .lead, .lede { font-size: clamp(18px, 0.2vw + 15.12px, 20px); }
}

/* /career homepage hero: copy on the left, five service stamps on an orbit on the right,
   with a quiet postmark + cancellation-waves + airmail-edge background layer (v4). */
.ch-split {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 88px 0 72px;
  background:
    radial-gradient(ellipse 38% 58% at 70% 54%, rgba(247, 169, 52, 0.16), rgba(247, 169, 52, 0) 70%),
    var(--cream);
}
.ch-split > .wrap { position: relative; z-index: 1; }
.ch-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.ch-copy h1 { margin: 0; }
.ch-sub { margin: 16px 0 36px; font-size: 22px; line-height: 1.6; font-weight: 500; color: var(--soft); }
.orbit { position: relative; height: 440px; }
.orbit-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.orbit-ring ellipse { fill: none; stroke: rgba(138, 82, 0, 0.34); stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; }
.orbit-core { position: absolute; left: 50%; top: 50%; z-index: 5; transform: translate(-50%, -50%); text-align: center; pointer-events: none; }
.orbit-core .eyebrow { display: block; color: var(--deep); margin: 0 0 2px; line-height: 1.4; }
.orbit-core b { display: block; font-size: 18px; line-height: 1.5; font-weight: 600; color: var(--charcoal); white-space: nowrap; }
.orbit-items { list-style: none; margin: 0; padding: 0; }
/* each service = one whole stamp + its name underneath; no card, no icon */
.orbit-item {
  position: absolute; left: 0; top: 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  width: 156px;
  color: var(--charcoal); text-decoration: none;
  border-radius: 6px;
  will-change: transform, opacity;
}
.oi-stamp {
  display: block; width: 100%; height: auto; aspect-ratio: 1536 / 1024;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(47, 36, 26, 0.10), 0 4px 12px rgba(47, 36, 26, 0.08);
  transition: box-shadow .2s ease;
}
.orbit-item b { font-size: 16px; line-height: 1.4; font-weight: 600; letter-spacing: .02em; white-space: nowrap; transition: color .2s ease; }
.orbit-item:hover .oi-stamp { box-shadow: 0 0 0 2px var(--amber), 0 4px 12px rgba(47, 36, 26, 0.10); }
.orbit-item:hover b { color: var(--deep); }
.orbit-item:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.orbit-pause svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.orbit-pause { position: absolute; right: 0; bottom: 0; z-index: 20; width: 36px; height: 36px; min-height: 36px; padding: 0; border-radius: 999px; display: grid; place-items: center; color: var(--soft); background: var(--white); border: 1px solid var(--line); }
.orbit-pause:hover { border-color: var(--amber); }

/* ---------- v4 background: postmark + cancellation waves + airmail edge ---------- */
.ch-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
/* round postmark: in the empty top-left corner of the stamp area, between the headline and the orbit */
.ch-pm {
  position: absolute; top: 4px; left: 49%;
  width: 172px; height: 172px; overflow: visible;
}
.ch-pm .pm-ring { fill: none; stroke: rgba(138, 82, 0, 0.22); stroke-width: 2; }
.ch-pm .pm-thin { stroke-width: 1.25; stroke-dasharray: 3 5; }
.ch-pm text { fill: rgba(138, 82, 0, 0.30); font-family: inherit; text-anchor: middle; }
.ch-pm .pm-arc { font-size: 15px; font-weight: 800; letter-spacing: 0.18em; text-anchor: start; }
.ch-pm .pm-mid { font-size: 30px; font-weight: 800; letter-spacing: 0.12em; }
.ch-pm .pm-small { font-size: 11px; font-weight: 800; letter-spacing: 0.2em; }
.ch-pm .pm-spin { transform-origin: 120px 120px; transform-box: view-box; animation: ch-pm-spin 120s linear infinite; }
/* five wavy cancellation lines running right out of the postmark across the top band, fading out at the right */
.ch-waves {
  position: absolute; top: 56px; left: calc(49% + 168px);
  width: calc(51% - 168px); height: 68px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent);
          mask-image: linear-gradient(90deg, #000 55%, transparent);
}
.ch-waves path { fill: none; stroke: rgba(138, 82, 0, 0.18); stroke-width: 1.5; stroke-linecap: round; }
.ch-waves .cw-drift { animation: ch-waves-drift 9s linear infinite; }
/* airmail edge along the hero bottom: amber / cream / deep brown stripes */
.ch-split::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; z-index: 0;
  background: repeating-linear-gradient(-45deg,
    var(--amber) 0 14px, var(--cream) 14px 22px, var(--deep) 22px 36px, var(--cream) 36px 44px);
  opacity: 0.55;
}
@keyframes ch-pm-spin { to { transform: rotate(-360deg); } }
@keyframes ch-waves-drift { from { transform: translateX(0); } to { transform: translateX(-64px); } }

@media (max-width: 1100px) {
  .ch-grid { grid-template-columns: 1fr; gap: 40px; }
  .ch-split { padding: 72px 0 56px;
    background: radial-gradient(ellipse 70% 40% at 50% 74%, rgba(247, 169, 52, 0.16), rgba(247, 169, 52, 0) 70%), var(--cream); }
  /* single column: postmark moves half off the top-right corner, three short waves above the headline */
  .ch-pm { left: auto; right: -36px; top: -48px; width: 168px; height: 168px; }
  .ch-waves { top: 8px; left: 30%; width: calc(70% - 128px); height: 44px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
}
@media (max-width: 799px) {
  .ch-split { padding: 48px 0 40px; }
  .ch-grid { gap: 28px; }
  .ch-sub { font-size: 18px; margin: 10px 0 28px; }
  .ch-copy .ctas { flex-direction: row; flex-wrap: nowrap; gap: 12px; }
  .ch-copy .ctas .btn { flex: 1 1 0; padding-left: 12px; padding-right: 12px; }
  .orbit { height: 310px; margin: 0 -12px; }
  .orbit-core { display: none; }
  .orbit-item { width: 104px; gap: 6px; }
  .orbit-item b { font-size: 13px; }
  .orbit-pause { right: 12px; }
  /* phone: postmark tucked half off the top-right corner; three short waves above the headline */
  .ch-split { background: radial-gradient(ellipse 80% 34% at 50% 76%, rgba(247, 169, 52, 0.16), rgba(247, 169, 52, 0) 70%), var(--cream); }
  .ch-pm { width: 112px; height: 112px; top: -64px; right: -24px; }
  .ch-waves { top: 0; left: 34%; width: calc(66% - 86px); height: 34px; }
  .ch-split::after { height: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit-pause { display: none; }
  .ch-pm .pm-spin, .ch-waves .cw-drift { animation: none; }
}

/* /career "热门岗位" + "我们的服务": hot-jobs section directly below hero, followed by 4 service cards matching home #services */
#parts .jobs-wide + .sec-head { margin-top: var(--section-pad); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 0; }
.jobs-wide { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 18px 28px 18px; box-shadow: inset 0 4px 0 var(--pine); }
.jobs-wide-top { display: flex; justify-content: flex-end; align-items: center; margin-bottom: 10px; }
.jobs-wide-top .ticker-all,
.ticker .ticker-all { font-size: 14px; color: var(--deep); text-decoration: none; font-weight: 600; }
.jobs-wide-top .ticker-all:hover { color: var(--pine); text-decoration: none; }
.jobs-wide .ticker { background: transparent; border: 0; border-radius: 0; padding: 0; margin: 0; }
.ticker .vmarq { height: 136px; overflow: hidden; }
.ticker .vtrack { display: flex; flex-direction: column; gap: 8px; animation: vscroll 22s linear infinite; }
.ticker .vtrack.is-static { animation: none; }
.ticker .vtrack.dur-3 { animation-duration: 9.6s; }
.ticker .vtrack.dur-4 { animation-duration: 12.8s; }
.ticker .vtrack.dur-5 { animation-duration: 16s; }
.ticker .vtrack.dur-6 { animation-duration: 19.2s; }
.ticker .vtrack.dur-7 { animation-duration: 22.4s; }
.ticker .vtrack.dur-8 { animation-duration: 25.6s; }
.ticker .vtrack.dur-9 { animation-duration: 28.8s; }
.ticker .vtrack.dur-10 { animation-duration: 32s; }
.ticker:hover .vtrack { animation-play-state: paused; }
.ticker .vtrack .job {
  width: 100%;
  max-width: none;
  flex: 0 0 auto;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 64px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  text-decoration: none;
  color: inherit;
}
.ticker .job .lg {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--tint);
  color: var(--deep);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 16px;
}
.ticker .job > div:last-child { min-width: 0; flex: 1; }
.ticker .job b, .ticker .job span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticker .job b { font-size: 14px; line-height: 1.3; }
.ticker .job span { font-size: 12px; line-height: 1.3; color: var(--grey); font-weight: 400; }
.ticker-empty { margin: 8px 0 0; color: var(--grey); }
@keyframes vscroll { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 4px)); } }

.card.tone-career h3::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--pine);
}
.card.tone-career .more { color: var(--pine-ink); margin-top: auto; padding-top: 18px; }
.card.tone-career:hover { border-color: var(--amber); }

/* /career assessment promo + offer wall placeholders */
.assess-wrap { padding: var(--section-pad) 0; }
.assess-wrap .career-banner { margin: 0; }
.offer-band { padding: 40px 0 48px; }
.offer-note { margin: 14px 0 0; color: var(--grey); font-size: 15px; }
.offer-slot {
  width: 280px;
  height: 132px;
  margin: 8px 12px;
  border: 1.5px dashed var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55);
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 799px) {
  .svc-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker .vtrack { animation: none; }
}

.oi-stamp { background: var(--sand); }
.card.tone-career h3::after { display: none; }
.svc-grid a.card { height: 260px; display: flex; flex-direction: column; text-decoration: none; box-shadow: inset 0 4px 0 var(--pine); }
.svc-grid a.card .more { margin-top: auto; padding-top: 16px; }
@media (max-width: 980px) { .svc-grid a.card { height: auto; min-height: 220px; } }

/* ---------- Unified hero layout, height, typography, buttons, and coloured dividers ---------- */
section.hero:is(.home-hero, .ch-split),
.study-home section.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 36px 0 36px;
  background:
    radial-gradient(ellipse 38% 58% at 70% 54%, rgba(247, 169, 52, 0.15), rgba(247, 169, 52, 0) 70%),
    var(--cream);
}
section.hero:is(.home-hero, .ch-split) > .wrap,
.study-home section.hero > .wrap {
  position: relative;
  z-index: 1;
}
section.hero:is(.home-hero, .ch-split) .hero-grid,
.study-home section.hero .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  min-height: 384px;
}
section.hero:is(.home-hero, .ch-split) .hero-copy,
.study-home section.hero .hero-copy {
  align-self: start;
  padding-top: 0;
  min-width: 0;
}
section.hero:is(.home-hero, .ch-split) .hero-copy .eyebrow,
.study-home section.hero .hero-copy .eyebrow {
  margin: 0;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.16em;
  color: var(--deep);
}
section.hero:is(.home-hero, .ch-split) .hero-copy h1,
.study-home #main section.hero .hero-copy h1 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 44px;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
@media (min-width: 1440px) {
  section.hero:is(.home-hero, .ch-split) .hero-copy h1,
  .study-home #main section.hero .hero-copy h1 {
    font-size: clamp(44px, 0.5vw + 36.8px, 46px);
  }
}
section.hero:is(.home-hero, .ch-split) .hero-copy .lead,
.study-home section.hero .hero-copy .lead {
  margin: 14px 0 22px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.78;
  color: var(--soft);
  max-width: 32em;
  text-align: left;
}
@media (min-width: 1440px) {
  section.hero:is(.home-hero, .ch-split) .hero-copy .lead,
  .study-home section.hero .hero-copy .lead {
    font-size: clamp(18px, 0.2vw + 15.12px, 19px);
  }
}
section.hero:is(.home-hero, .ch-split) .hero-copy .ctas,
.study-home section.hero .hero-copy .ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
section.hero:is(.home-hero, .ch-split) .hero-copy .ctas .btn,
.study-home section.hero .hero-copy .ctas .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  padding: 15px 28px;
  min-height: 48px;
  border-radius: 10px;
  background: var(--amber);
  border: 1.5px solid var(--amber);
  color: var(--charcoal);
}
section.hero:is(.home-hero, .ch-split) .hero-copy .ctas .btn.ghost,
.study-home section.hero .hero-copy .ctas .btn.ghost {
  background: transparent;
  border-color: var(--charcoal);
  color: var(--charcoal);
}
section.hero:is(.home-hero, .ch-split) .hero-copy .trust,
.study-home section.hero .hero-copy .trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 20px 0 0;
  padding: 0;
  color: var(--grey);
  font-size: 14px;
  line-height: 1.7;
}
section.hero:is(.home-hero, .ch-split) .hero-copy .trust li::before,
.study-home section.hero .hero-copy .trust li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  margin-right: 8px;
}
.home-hero .visual,
.home-hero .art-wrap {
  height: 384px;
  min-height: 384px;
}
.home-hero .art {
  top: 10px;
  transform: scale(0.70);
  transform-origin: top center;
}
.study-home section.hero .stamp-visual {
  height: 384px;
}
.study-home section.hero .infinite-spiral__pause {
  right: 4px;
  bottom: 4px;
  width: 38px;
  height: 38px;
}
.ch-split .orbit {
  height: 384px;
}
.ch-split .orbit-item {
  width: 144px;
  gap: 8px;
}
.ch-split .orbit-item b {
  font-size: 15px;
}
.ch-split .orbit-core b {
  font-size: 17px;
}
.ch-split .orbit-pause {
  right: 4px;
  bottom: 4px;
  width: 38px;
  height: 38px;
  min-height: 38px;
}
section.hero.home-hero::after,
.study-home section.hero::after,
section.hero.ch-split::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  z-index: 1;
  opacity: 0.65;
}
section.hero.home-hero::after {
  background: repeating-linear-gradient(-45deg,
    var(--amber) 0 14px, var(--cream) 14px 22px, var(--deep) 22px 36px, var(--cream) 36px 44px);
}
.study-home section.hero::after {
  background: repeating-linear-gradient(-45deg,
    var(--amber) 0 14px, var(--cream) 14px 22px, var(--navy) 22px 36px, var(--cream) 36px 44px);
}
section.hero.ch-split::after {
  background: repeating-linear-gradient(-45deg,
    var(--amber) 0 14px, var(--cream) 14px 22px, var(--pine) 22px 36px, var(--cream) 36px 44px);
}
@media (max-width: 1100px) {
  section.hero:is(.home-hero, .ch-split),
  .study-home section.hero {
    padding: 36px 0 32px;
  }
  section.hero:is(.home-hero, .ch-split) .hero-grid,
  .study-home section.hero .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
  }
  section.hero:is(.home-hero, .ch-split) .hero-copy,
  .study-home section.hero .hero-copy {
    padding-top: 0;
  }
  .home-hero .visual,
  .home-hero .art-wrap {
    height: 372px;
    min-height: 0;
  }
  .home-hero .art {
    top: 8px;
    transform: scale(0.66);
  }
  .study-home section.hero .stamp-visual {
    height: 372px;
  }
  .ch-split .orbit {
    height: 372px;
  }
}
@media (max-width: 799px) {
  section.hero:is(.home-hero, .ch-split),
  .study-home section.hero {
    padding: 24px 0 24px;
  }
  section.hero:is(.home-hero, .ch-split) .hero-grid,
  .study-home section.hero .hero-grid {
    gap: 20px;
  }
  section.hero:is(.home-hero, .ch-split) .hero-copy h1,
  .study-home #main section.hero .hero-copy h1 {
    font-size: 28px;
    line-height: 1.42;
    margin-top: 10px;
  }
  section.hero:is(.home-hero, .ch-split) .hero-copy .lead,
  .study-home section.hero .hero-copy .lead {
    font-size: 16px;
    line-height: 1.78;
    margin: 12px 0 18px;
  }
  section.hero:is(.home-hero, .ch-split) .hero-copy .ctas,
  .study-home section.hero .hero-copy .ctas {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
  }
  section.hero:is(.home-hero, .ch-split) .hero-copy .ctas .btn,
  .study-home section.hero .hero-copy .ctas .btn {
    flex: 1 1 0;
    min-height: 44px;
    padding: 0 12px;
  }
  section.hero:is(.home-hero, .ch-split) .hero-copy .trust,
  .study-home section.hero .hero-copy .trust {
    gap: 8px 16px;
    margin-top: 16px;
    font-size: 13.5px;
  }
  .home-hero .visual,
  .home-hero .art-wrap {
    height: 300px;
    min-height: 0;
  }
  .home-hero .art {
    top: 6px;
    transform: scale(0.55);
  }
  .study-home section.hero .stamp-visual {
    height: 300px;
  }
  .ch-split .orbit {
    height: 276px;
    margin: 0 -12px;
  }
  .ch-split .orbit-item {
    width: 96px;
    gap: 6px;
  }
  .ch-split .orbit-item b {
    font-size: 13px;
  }
  section.hero.home-hero::after,
  .study-home section.hero::after,
  section.hero.ch-split::after {
    height: 5px;
  }
}

/* ===== v4 英伦书院卡片体系：Home「我们的服务」/career 五大模块/contact/cases 共用 =====
   对照 card-upgrade-design-spec.md v4。本文件最后加载，所有覆盖旧规则（固定高度、
   24px 间距、h3::after 色带、.case 默认样式等）的规则都放在这里，以保证不加
   !important 也能在同等优先级下胜出。 */
.v4-grid { gap: 18px; align-items: stretch; }
.v4-grid > .card.v4-card,
.v4-grid > a.card.v4-card,
.v4-grid > article.v4-card {
  height: auto;
  min-height: 0;
  padding: 0;
}
#services .grid4 > .card.v4-card { padding: 0; }
@media (min-width: 981px) {
  /* 覆盖旧版 #services .grid4 > .card { height: 260px } 固定高度，
     否则新版封面图+正文+CTA 内容会被 .card 的 overflow:hidden 裁掉。 */
  #services .grid4 > .card.v4-card { height: auto; }
  /* 统一 /study 痛点 8 卡与 /career 服务 4 卡与首页 #services 四卡完全一致的字号、行高与卡片体尺寸 */
  .svc-grid > a.card.v4-card .v4-card-body h3,
  .study-home .pain-grid > .card.v4-card .v4-card-body h3 {
    font-size: 18px;
    line-height: 1.35;
    margin: 0 0 8px;
  }
  .svc-grid > a.card.v4-card .v4-card-body p,
  .study-home .pain-grid > .card.v4-card .v4-card-body p {
    font-size: 14px;
    line-height: 1.65;
    margin: 0 0 12px;
  }
  .study-home .pain-grid > .card.v4-card .v4-card-body p {
    margin-bottom: 0;
  }
  .svc-grid > a.card.v4-card .v4-card-body .more {
    padding-top: 13px;
  }
  #services .grid4 > .card.v4-card .v4-card-body,
  .svc-grid > a.card.v4-card .v4-card-body,
  .study-home .pain-grid > .card.v4-card .v4-card-body {
    min-height: 190px;
  }
}

.card.v4-card.tone-appeal   { --v4-top: var(--v4-top-appeal);   --v4-body: var(--v4-body-appeal);   --v4-border: var(--v4-border-appeal); }
.card.v4-card.tone-study    { --v4-top: var(--v4-top-study);    --v4-body: var(--v4-body-study);    --v4-border: var(--v4-border-study); }
.card.v4-card.tone-tutoring { --v4-top: var(--v4-top-tutoring); --v4-body: var(--v4-body-tutoring); --v4-border: var(--v4-border-tutoring); }
.card.v4-card.tone-career   { --v4-top: var(--v4-top-career);   --v4-body: var(--v4-body-career);   --v4-border: var(--v4-border-career); }
.card.v4-card.tone-about    { --v4-top: var(--v4-top-about);    --v4-body: var(--v4-body-about);    --v4-border: var(--v4-border-about); }

.card.v4-card {
  display: flex;
  flex-direction: column;
  background: var(--v4-body);
  border: 1px solid var(--v4-border);
  border-radius: 10px;
  box-shadow: 0 3px 9px rgb(47 36 26 / 5%);
  overflow: hidden;
}
a.card.v4-card { text-decoration: none; color: inherit; }
.card.v4-card.v4-flat { box-shadow: inset 0 4px 0 var(--v4-top), 0 3px 9px rgb(47 36 26 / 5%); }
.card.tone-career.v4-card h3::after { display: none; }
.svc-grid a.card.v4-card { height: auto; box-shadow: 0 3px 9px rgb(47 36 26 / 5%); }

.card.v4-card .v4-cover { margin: 0; }
.card.v4-card .v4-cover::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--v4-top);
}
.card.v4-card .v4-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 20 / 9;
  object-fit: contain;
  background: var(--v4-body);
}

.card.v4-card .v4-card-body,
.card.v4-card.v4-flat {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  color: #2f241a;
}
.card.v4-card .v4-card-body h3,
.card.v4-card.v4-flat h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif-cjk);
  font-weight: 600;
  font-size: 23px;
  line-height: 1.35;
  color: #2f241a;
}
.card.v4-card .v4-card-body p,
.card.v4-card.v4-flat p {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: #504d48;
  text-align: justify;
  overflow-wrap: anywhere;
}
.card.v4-card .v4-card-body .more,
.card.v4-card.v4-flat .more {
  margin-top: auto;
  padding-top: 13px;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}
.card.v4-card.tone-appeal .more   { color: #4a4452; }
.card.v4-card.tone-study .more    { color: #1c3d66; }
.card.v4-card.tone-tutoring .more { color: #4a4f2f; }
.card.v4-card.tone-career .more   { color: #206f50; }
.card.v4-card.tone-about .more    { color: #745b33; }

.card.v4-card.v4-flat .tag { margin-bottom: 10px; }
.card.v4-card.v4-flat .link-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.card.v4-card.v4-flat .link-list li { border-bottom: 1px solid var(--v4-border); padding: 10px 0; }
.card.v4-card.v4-flat .link-list li:last-child { border-bottom: 0; }
.card.v4-card.v4-flat .link-list a { color: #2f241a; font-weight: 650; text-decoration: none; }

@media (hover: hover) {
  a.card.v4-card,
  .card.v4-card .more,
  .card.v4-card.v4-flat .more,
  .card.v4-card.v4-flat .link-list a {
    transition: transform 160ms ease-out;
  }
  a.card.v4-card:hover { transform: translateY(-2px); }
  .card.v4-card .more:hover,
  .card.v4-card.v4-flat .more:hover,
  .card.v4-card.v4-flat .link-list a:hover {
    transform: translateY(-2px);
    display: inline-block;
  }
}
a.card.v4-card:focus-visible,
.card.v4-card .more:focus-visible,
.card.v4-card.v4-flat .more:focus-visible,
.card.v4-card.v4-flat .link-list a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  a.card.v4-card,
  .card.v4-card .more,
  .card.v4-card.v4-flat .more,
  .card.v4-card.v4-flat .link-list a {
    transition: none;
  }
  a.card.v4-card:hover,
  .card.v4-card .more:hover,
  .card.v4-card.v4-flat .more:hover,
  .card.v4-card.v4-flat .link-list a:hover {
    transform: none;
  }
}

/* /cases 引用区：3px 主题色左线 + 顶线色 9% 透明淡底（预先按业务算好，不依赖 color-mix） */
.case.v4-card {
  display: flex;
  flex-direction: column;
  background: var(--v4-body, var(--white));
  border: 1px solid var(--v4-border, var(--line));
  border-radius: 10px;
  box-shadow: 0 3px 9px rgb(47 36 26 / 5%);
  padding: 18px 20px;
  gap: 10px;
}
.case.v4-card h3 { font-family: var(--font-serif-cjk); font-size: 21px; line-height: 1.35; color: #2f241a; }
.case.v4-card p { font-size: 17px; line-height: 1.65; color: #504d48; text-align: justify; overflow-wrap: anywhere; }
/* margin-top:auto 让三张卡（正文行数不一）的底部引用条严格齐平，依赖 .grid3 默认 align-items:stretch 的等高卡片 */
.case.v4-card .q { border-left: 3px solid var(--amber); padding: 6px 10px; margin: auto 0 0; }
.case.v4-card.tone-appeal { --v4-top: var(--v4-top-appeal); --v4-body: var(--v4-body-appeal); --v4-border: var(--v4-border-appeal); }
.case.v4-card.tone-study  { --v4-top: var(--v4-top-study);  --v4-body: var(--v4-body-study);  --v4-border: var(--v4-border-study); }
.case.v4-card.tone-career { --v4-top: var(--v4-top-career); --v4-body: var(--v4-body-career); --v4-border: var(--v4-border-career); }
.case.v4-card.tone-appeal .q { border-left-color: #9a90aa; background: rgba(154, 144, 170, 0.09); }
.case.v4-card.tone-study .q  { border-left-color: #5e82a8; background: rgba(94, 130, 168, 0.09); }
.case.v4-card.tone-career .q { border-left-color: #5c9c7e; background: rgba(92, 156, 126, 0.09); }

/* /lectures：留学浅蓝、求职浅绿卡身与 4px 顶线，复用已核对与 v4 一致的 --navy-ink/--pine-ink。
   顶线改为 .cover-link::before 真实块级元素（对照首页/求职封面卡 .v4-cover::before 做法），
   而非 inset box-shadow —— inset 阴影画在卡片背景层，会被同层级在前的封面图完全盖住。 */
.lecture-block.tone-study .lecture-card {
  background: var(--v4-body-study);
  border: 1px solid var(--v4-border-study);
}
.lecture-block.tone-career .lecture-card {
  background: var(--v4-body-career);
  border: 1px solid var(--v4-border-career);
}
.lecture-card .cover-link { position: relative; }
.lecture-card .cover-link::before {
  content: "";
  display: block;
  height: 4px;
}
.lecture-block.tone-study .lecture-card .cover-link::before { background: var(--v4-top-study); }
.lecture-block.tone-career .lecture-card .cover-link::before { background: var(--v4-top-career); }
.lecture-cal { width: 18px; height: 18px; flex: 0 0 auto; }
