:root {
  --red: #9f1d28;
  --red-dark: #7f1520;
  --ink: #17191d;
  --navy: #172331;
  --text: #454a52;
  --muted: #737984;
  --line: #dfe2e6;
  --soft: #f4f4f2;
  --paper: #fbfaf7;
  --white: #fff;
  --container: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
.about, .courses, .pathway, .teachers, .service, .faq, .contact, .site-footer { content-visibility: auto; contain-intrinsic-size: auto 760px; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.container { width: var(--container); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 8px 14px; background: var(--white); border: 1px solid var(--line); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.top-note { background: var(--navy); color: #cbd1d8; font-size: 12px; letter-spacing: .04em; }
.top-note .container { min-height: 34px; display: flex; align-items: center; justify-content: space-between; }
.site-header { position: sticky; z-index: 50; top: 0; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(223,226,230,.9); }
.nav-shell { min-height: 78px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; line-height: 1.2; }
.brand strong { font-size: 20px; letter-spacing: .12em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 32px; margin-left: auto; }
.site-nav a { position: relative; font-size: 14px; color: #353941; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -11px; height: 2px; background: var(--red); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a.active::after { right: 0; }
.nav-cta { padding: 10px 20px; color: #fff; background: var(--red); font-size: 14px; }
.nav-cta:hover { background: var(--red-dark); }
.menu-button { display: none; border: 0; background: transparent; padding: 8px; }
.menu-button span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); }

.hero { background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { min-height: 690px; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 56px; padding-block: 76px; }
.eyebrow { margin: 0 0 18px; color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .18em; }
.hero h1 { margin: 0; font-size: clamp(42px, 4.1vw, 58px); line-height: 1.18; letter-spacing: -.04em; font-weight: 750; }
.hero-lead { max-width: 630px; margin: 28px 0 0; color: var(--text); font-size: 18px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 25px; border: 0; cursor: pointer; font-weight: 650; font-size: 14px; transition: .2s ease; }
.button.primary { color: var(--white); background: var(--red); }
.button.primary:hover { background: var(--red-dark); }
.button.dark { color: var(--white); background: var(--navy); }
.button.dark:hover { background: #26394e; }
.text-button { padding-inline: 0; gap: 10px; border-bottom: 1px solid var(--ink); }
.text-button:hover { color: var(--red); border-color: var(--red); }
.hero-points { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin: 50px 0 0; border-top: 1px solid #cfd2d6; padding-top: 24px; }
.hero-points div { padding-right: 20px; border-right: 1px solid #cfd2d6; }
.hero-points div:not(:first-child) { padding-left: 20px; }
.hero-points div:last-child { border-right: 0; }
.hero-points dt { font-weight: 700; font-size: 15px; }
.hero-points dd { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.hero-team-stage { position: relative; height: 548px; overflow: hidden; border-block: 1px solid #d4d2cc; background: #ebe9e3; }
.hero-team-stage::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--red); }
.hero-team-stage::after { content: "BZ"; position: absolute; right: 26px; top: 88px; color: rgba(23,35,49,.05); font-family: Georgia, serif; font-size: 170px; font-weight: 700; letter-spacing: -.08em; }
.team-stage-heading { position: relative; z-index: 2; display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 26px 28px; border-bottom: 1px solid #d4d2cc; }
.team-stage-heading span { font-weight: 700; font-size: 16px; }
.team-stage-heading small { color: var(--muted); font-size: 11px; }
.hero-team-stage > img { position: absolute; z-index: 1; left: 50%; bottom: 0; width: 118%; max-width: none; height: auto; transform: translateX(-50%); }

.subject-bar { border-bottom: 1px solid var(--line); background: var(--white); }
.subject-bar .container { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; overflow-x: auto; scrollbar-width: none; }
.subject-bar .container::-webkit-scrollbar { display: none; }
.subject-bar span { flex: 0 0 auto; color: #555b64; font-size: 13px; white-space: nowrap; }
.subject-bar span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 10px 2px 0; border-radius: 50%; background: var(--red); }

.section { padding: 112px 0; }
.section-title h2, .section-heading h2, .service-intro h2, .contact h2 { margin: 0; font-size: clamp(32px, 3.6vw, 50px); line-height: 1.3; letter-spacing: -.035em; }
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; }
.about-copy { max-width: 710px; color: var(--text); }
.about-copy > p { margin: 0 0 20px; }
.about-copy .lead { color: var(--ink); font-size: 22px; line-height: 1.7; }
.about-lines { margin-top: 42px; border-top: 1px solid var(--line); }
.about-lines div { display: grid; grid-template-columns: 54px 1fr; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.about-lines b { color: var(--red); font-size: 13px; letter-spacing: .1em; }
.about-lines span { color: var(--text); }
.about-lines strong { display: inline-block; min-width: 112px; color: var(--ink); }

.courses { background: var(--soft); }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 60px; margin-bottom: 54px; }
.section-heading > p { margin: 0; color: var(--text); line-height: 1.9; }
.course-list { border-top: 2px solid var(--ink); }
.course-row { display: grid; grid-template-columns: 56px 1.1fr 1.45fr 1fr .8fr 88px; gap: 28px; align-items: center; min-height: 146px; padding: 26px 18px 26px 0; border-bottom: 1px solid #cdd1d5; background: transparent; }
.course-row.featured { box-shadow: inset 4px 0 var(--red); background: var(--white); padding-left: 18px; }
.course-no { color: var(--red); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.course-name small { color: var(--muted); font-size: 12px; }
.course-name h3 { margin: 4px 0 0; font-size: 23px; }
.course-row > p { margin: 0; color: var(--text); font-size: 14px; }
.course-row ul { margin: 0; padding: 0; list-style: none; color: var(--text); font-size: 13px; }
.course-row li::before { content: "—"; margin-right: 8px; color: var(--red); }
.course-price { display: flex; flex-direction: column; }
.course-price strong { color: var(--red); font-size: 23px; }
.course-price small { color: var(--muted); font-size: 11px; white-space: nowrap; }
.course-row > a { color: var(--red); font-size: 13px; font-weight: 700; text-align: right; }

.pathway { color: var(--white); background: var(--navy); }
.section-heading.light .eyebrow { color: #e0a7ac; }
.section-heading.light > p { color: #bec6cf; }
.path-list { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid #536171; }
.path-list li { min-height: 248px; padding: 30px 24px 24px; border-right: 1px solid #536171; }
.path-list li:first-child { border-left: 1px solid #536171; }
.path-list b { color: #e1a4aa; font-size: 12px; letter-spacing: .16em; }
.path-list h3 { margin: 64px 0 12px; font-size: 21px; }
.path-list p { margin: 0; color: #bcc5ce; font-size: 13px; line-height: 1.75; }

.teachers { background: var(--white); }
.teacher-grid { width: min(100%, 980px); margin-inline: auto; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px 18px; }
.teacher-grid article { border-bottom: 1px solid var(--line); }
.teacher-grid img { width: 100%; height: 280px; object-fit: cover; background: #ecebea; filter: saturate(.9); }
.teacher-grid article:nth-child(1) img { object-position: center 25%; }
.teacher-grid article:nth-child(2) img { object-position: center 18%; }
.teacher-grid article:nth-child(3) img { object-position: center 18%; }
.teacher-grid article:nth-child(4) img { object-position: center 17%; }
.teacher-grid article:nth-child(5) img { object-position: center 22%; }
.teacher-grid article:nth-child(6) img { object-position: center 20%; }
.teacher-grid article > div { position: relative; padding: 15px 0 18px; }
.teacher-grid h3 { margin: 0; font-size: 22px; }
.teacher-grid span { position: absolute; right: 0; top: 24px; color: var(--red); font-size: 12px; }
.teacher-grid p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }

.service { padding: 0; background: var(--paper); border-block: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: .92fr 1.08fr; }
.service-intro { padding: 94px 72px 94px 0; border-right: 1px solid var(--line); }
.service-intro > p:not(.eyebrow) { margin: 26px 0 32px; color: var(--text); line-height: 1.9; }
.service-list { padding: 74px 0 74px 72px; }
.service-list article { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.service-list article:first-child { border-top: 1px solid var(--line); }
.service-list b { color: var(--red); font-size: 13px; letter-spacing: .12em; }
.service-list h3 { margin: 0 0 6px; font-size: 19px; }
.service-list p { margin: 0; color: var(--muted); font-size: 14px; }

.faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; }
.section-title > p:not(.eyebrow) { color: var(--muted); }
.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 24px 0; border: 0; background: transparent; text-align: left; cursor: pointer; font-weight: 650; }
.faq-item button i { color: var(--red); font-style: normal; font-size: 20px; font-weight: 400; }
.faq-item > div { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .22s ease; }
.faq-item > div p { overflow: hidden; margin: 0; color: var(--text); }
.faq-item.open > div { grid-template-rows: 1fr; }
.faq-item.open > div p { padding: 0 48px 24px 0; }

.contact { padding: 100px 0; color: var(--white); background: var(--red); }
.contact .eyebrow { color: #f1c9cc; }
.contact-grid { display: grid; grid-template-columns: 1fr .82fr; gap: 100px; align-items: start; }
.contact-grid > div > p:not(.eyebrow) { max-width: 570px; color: #f1d9db; }
.contact-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.contact-tags span { padding: 7px 14px; border: 1px solid rgba(255,255,255,.42); font-size: 12px; }
.lead-form { padding: 34px; color: var(--ink); background: var(--white); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lead-form label { display: flex; flex-direction: column; gap: 7px; }
.form-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.lead-form label:nth-child(3), .lead-form label:nth-child(4) { grid-column: 1 / -1; }
.lead-form label span { font-size: 12px; font-weight: 700; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; border: 1px solid #cfd3d7; border-radius: 0; padding: 12px 13px; outline: 0; background: var(--white); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 2px rgba(159,29,40,.08); }
.lead-form button { justify-self: start; }
.lead-form button:disabled { opacity: .58; cursor: wait; }
.lead-form small { grid-column: 1 / -1; color: var(--muted); font-size: 11px; }
.form-status { margin: 0; align-self: center; color: var(--red); font-size: 13px; }

.site-footer { color: #d1d6dc; background: #101820; }
.footer-main { display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 58px; padding: 68px 0 54px; }
.brand.inverse strong { color: var(--white); }
.brand.inverse small { color: #b8c0c8; }
.footer-brand p { margin: 22px 0 0; color: #9ea8b2; font-size: 13px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links h3 { margin: 0 0 8px; color: var(--white); font-size: 14px; }
.footer-links a { color: #9ea8b2; font-size: 13px; }
.footer-links a:hover { color: var(--white); }
.compliance { display: flex; justify-content: space-between; gap: 40px; padding: 22px 0; border-top: 1px solid #2d3843; color: #89939e; font-size: 11px; }
.compliance p { margin: 0; }

.back-top { position: fixed; z-index: 20; right: 22px; bottom: 22px; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--white); opacity: 0; pointer-events: none; transform: translateY(10px); transition: .2s ease; cursor: pointer; }
.back-top.show { opacity: 1; pointer-events: auto; transform: none; }
.mobile-actions { display: none; }

@media (max-width: 1080px) {
  .site-nav { gap: 20px; }
  .nav-shell { gap: 22px; }
  .hero-grid { gap: 38px; }
  .course-row { grid-template-columns: 45px 1.05fr 1.35fr .9fr .8fr; }
  .course-row > a { display: none; }
  .about-grid, .faq-grid { gap: 60px; }
}

@media (max-width: 860px) {
  :root { --container: min(100% - 36px, 720px); }
  .top-note { display: none; }
  .nav-shell { min-height: 68px; }
  .brand img { width: 46px; height: 46px; }
  .brand strong { font-size: 18px; }
  .brand small { display: none; }
  .menu-button { display: block; margin-left: auto; }
  .nav-cta { display: none; }
  .site-nav { position: fixed; inset: 68px 0 0; z-index: 40; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; padding: 24px; background: var(--white); transform: translateX(100%); transition: transform .24s ease; }
  .site-nav.open { transform: none; }
  .site-nav a { width: 100%; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .site-nav a::after { display: none; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding-block: 56px; }
  .hero-team-stage { height: 430px; }
  .hero-team-stage > img { width: 104%; }
  .hero-points { max-width: 650px; }
  .section { padding: 84px 0; }
  .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 52px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .course-row { grid-template-columns: 42px 1fr 1fr .7fr; gap: 18px; }
  .course-row > p { grid-column: 2 / 4; grid-row: 2; }
  .course-row ul { display: none; }
  .path-list { grid-template-columns: repeat(2,1fr); }
  .path-list li:last-child { grid-column: span 2; }
  .teacher-grid { width: min(100%, 760px); grid-template-columns: repeat(2,1fr); }
  .teacher-grid img { height: 260px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-intro { padding: 76px 0 58px; border-right: 0; }
  .service-list { padding: 0 0 76px; }
  .footer-main { grid-template-columns: 2fr 1fr 1fr; }
  .footer-links:last-child { display: none; }
}

@media (max-width: 580px) {
  :root { --container: calc(100% - 28px); }
  body { font-size: 15px; padding-bottom: 62px; }
  html { scroll-padding-top: 68px; }
  .hero-grid { gap: 38px; padding-block: 42px; }
  .hero h1 { font-size: 38px; line-height: 1.25; }
  .hero-lead { margin-top: 22px; font-size: 16px; }
  .hero-actions { margin-top: 28px; }
  .hero-actions .button { min-height: 44px; padding-inline: 18px; }
  .text-button { padding-inline: 0 !important; }
  .hero-points { margin-top: 38px; padding-top: 18px; }
  .hero-points div { padding-right: 9px; }
  .hero-points div:not(:first-child) { padding-left: 9px; }
  .hero-points dt { font-size: 13px; }
  .hero-points dd { font-size: 10px; }
  .hero-team-stage { height: 275px; }
  .hero-team-stage::after { top: 56px; right: 14px; font-size: 100px; }
  .team-stage-heading { padding: 17px 16px; }
  .team-stage-heading span { font-size: 14px; }
  .team-stage-heading small { font-size: 10px; }
  .hero-team-stage > img { width: 100%; }
  .subject-bar .container { min-height: 60px; }
  .section { padding: 68px 0; }
  .section-title h2, .section-heading h2, .service-intro h2, .contact h2 { font-size: 32px; }
  .about-copy .lead { font-size: 18px; }
  .about-lines span { font-size: 13px; }
  .about-lines strong { min-width: 88px; }
  .section-heading { margin-bottom: 36px; }
  .course-row, .course-row.featured { grid-template-columns: 30px 1fr auto; min-height: 0; padding: 22px 10px 22px 0; gap: 12px; }
  .course-row.featured { padding-left: 12px; }
  .course-row > p { grid-column: 2 / 4; grid-row: auto; font-size: 13px; }
  .course-price { grid-column: 2 / 4; }
  .course-price strong { font-size: 20px; }
  .course-name h3 { font-size: 20px; }
  .course-row > a, .course-row ul { display: none; }
  .path-list { grid-template-columns: 1fr; }
  .path-list li, .path-list li:last-child { grid-column: auto; min-height: 0; padding: 23px 18px; border-left: 1px solid #536171; border-bottom: 1px solid #536171; }
  .path-list h3 { margin: 20px 0 6px; }
  .teacher-grid { grid-template-columns: 1fr 1fr; gap: 18px 10px; }
  .teacher-grid img { height: clamp(136px, 40vw, 174px); }
  .teacher-grid article > div { padding: 11px 0 14px; }
  .teacher-grid h3 { font-size: 16px; }
  .teacher-grid span { position: static; display: block; margin-top: 4px; }
  .teacher-grid p { font-size: 11px; line-height: 1.5; }
  .service-intro { padding-top: 62px; }
  .service-list article { grid-template-columns: 38px 1fr; }
  .faq-item button { padding: 20px 0; }
  .contact { padding: 68px 0; }
  .contact-grid { gap: 38px; }
  .lead-form { grid-template-columns: 1fr; padding: 24px 18px; }
  .lead-form label, .lead-form label:nth-child(3), .lead-form label:nth-child(4) { grid-column: 1; }
  .lead-form small { grid-column: 1; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 38px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .compliance { flex-direction: column; gap: 10px; padding-bottom: 28px; }
  .mobile-actions { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1.5fr; height: 62px; border-top: 1px solid var(--line); background: var(--white); }
  .mobile-actions a { display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
  .mobile-actions a.primary { color: var(--white); background: var(--red); }
  .back-top { bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
