:root {
  --paper: #f3f5f6;
  --surface: #ffffff;
  --ink: #26323d;
  --muted: #74808a;
  --line: #dce2e5;
  --green: #315c49;
  --green-deep: #254737;
  --green-soft: #e5eee8;
  --warm: #f8f7f2;
  --shadow: 0 14px 38px rgba(36, 52, 60, 0.06);
  --container: min(1120px, calc(100vw - 48px));
}
* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Microsoft YaHei", "STHeiti", "Heiti SC", "PingFang SC", "SimHei", sans-serif; line-height: 1.75; text-rendering: optimizeLegibility; }
body { max-width: 100%; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 8px 12px; color: #fff; background: var(--green); }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(220, 226, 229, 0.9); background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(14px); }
.header-inner { width: var(--container); min-height: 72px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 800; text-decoration: none; letter-spacing: 0.02em; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; color: #fff; background: var(--green); font-size: 17px; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a { padding: 8px 14px; border-radius: 8px; color: #53616c; font-size: 14px; text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a.active { color: var(--green); background: var(--green-soft); outline: none; }
.site-nav a.active { font-weight: 800; }
.menu-toggle { display: none; padding: 7px 11px; border: 1px solid var(--line); border-radius: 8px; color: var(--green); background: #fff; }
.section-shell, .content-wrap { width: var(--container); margin: 0 auto; }
.hero { min-height: 610px; padding: 88px 0 82px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr); align-items: center; gap: 76px; }
.eyebrow { margin: 0 0 12px; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: 0.17em; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { max-width: 680px; margin: 0; font-size: clamp(42px, 6vw, 72px); line-height: 1.14; letter-spacing: -0.04em; }
h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.28; letter-spacing: -0.025em; }
h3 { line-height: 1.45; }
.hero-lead { margin: 20px 0 0; color: var(--green); font-size: clamp(19px, 2.4vw, 26px); font-weight: 700; }
.hero-summary { max-width: 660px; margin: 20px 0 0; color: var(--muted); font-size: 16px; }
.hero-actions { margin-top: 32px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 44px; padding: 9px 17px; align-items: center; justify-content: center; border: 1px solid var(--green); border-radius: 9px; font-size: 14px; font-weight: 700; text-decoration: none; }
.button.primary { color: #fff; background: var(--green); }
.button.primary:hover { background: var(--green-deep); }
.button.secondary { color: var(--green); background: #fff; }
.button.secondary:hover { background: var(--green-soft); }
.text-link { color: var(--green); font-size: 14px; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.portrait-frame { position: relative; margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.portrait-frame::before { content: ""; position: absolute; right: -22px; top: -22px; width: 112px; height: 112px; border-radius: 50%; background: var(--green-soft); z-index: -1; }
.portrait-frame img { width: 100%; aspect-ratio: 4 / 5; border-radius: 11px; object-fit: cover; object-position: center 20%; }
.portrait-frame figcaption { padding: 14px 4px 1px; color: var(--muted); font-size: 12px; }
.story-section { padding: 100px 0; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 90px; border-top: 1px solid var(--line); }
.section-heading p:not(.eyebrow) { color: var(--muted); }
.story-copy { font-size: 17px; }
.story-copy p { margin: 0 0 22px; }
.story-copy p:first-child { font-size: 19px; font-weight: 600; }
.experience-section { padding: 86px 68px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 74px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.section-heading.compact p:last-child { margin-top: 18px; font-size: 14px; }
.experience-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.experience-list li { padding: 20px 0; display: grid; grid-template-columns: 42px 1fr; gap: 18px; border-bottom: 1px solid var(--line); }
.experience-list li > span { color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; }
.experience-list h3 { margin: 0; font-size: 17px; }
.experience-list p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.philosophy-section { padding: 110px 0; }
.section-heading.centered { text-align: center; }
.philosophy-grid { margin-top: 42px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.philosophy-grid article { min-height: 230px; padding: 30px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: var(--shadow); }
.philosophy-grid span { display: inline-grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: var(--green); background: var(--green-soft); font-size: 11px; font-weight: 800; }
.philosophy-grid h3 { margin: 30px 0 10px; font-size: 21px; }
.philosophy-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.contact-section { margin-bottom: 88px; padding: 56px 68px; display: grid; grid-template-columns: 1fr 220px; align-items: center; gap: 70px; border: 1px solid #cddbcf; border-radius: 18px; background: var(--green-soft); }
.contact-copy > p:not(.eyebrow) { max-width: 620px; margin: 16px 0 24px; color: #536a5d; }
.qr-card { margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: center; }
.qr-card img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.qr-card figcaption { padding: 9px 0 2px; color: var(--muted); font-size: 12px; }
.site-footer { width: var(--container); margin: 0 auto; padding: 30px 0 38px; display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer div { display: flex; gap: 12px; }
.site-footer strong { color: var(--ink); }
.site-footer p { margin: 0; }
.courses-hero { padding: 92px 0 70px; border-bottom: 1px solid var(--line); }
.courses-hero h1 { font-size: clamp(42px, 6vw, 68px); }
.courses-hero > p:last-child { max-width: 680px; margin: 20px 0 0; color: var(--muted); font-size: 16px; }
.course-season { padding: 78px 0 96px; }
.season-heading { margin-bottom: 32px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.season-heading > p { margin: 0; color: var(--muted); font-size: 13px; }
.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.course-card { padding: 30px; display: flex; min-height: 390px; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
.course-card-top { display: flex; justify-content: space-between; gap: 12px; }
.grade-label, .status-label { display: inline-flex; padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.grade-label { color: var(--green); background: var(--green-soft); }
.status-label { color: var(--muted); border: 1px solid var(--line); }
.course-card h3 { margin: 27px 0 10px; font-size: 24px; }
.course-card > p { min-height: 58px; margin: 0; color: var(--muted); font-size: 14px; }
.course-card dl { margin: 24px 0; border-top: 1px solid var(--line); }
.course-card dl div { padding: 9px 0; display: grid; grid-template-columns: 80px 1fr; gap: 12px; border-bottom: 1px solid var(--line); font-size: 13px; }
.course-card dt { color: var(--muted); }
.course-card dd { margin: 0; font-weight: 700; }
.course-link { margin-top: auto; color: var(--green); font-size: 14px; font-weight: 800; text-decoration: none; }
.course-link:hover { text-decoration: underline; }
.course-contact { margin-top: 0; }
@media (max-width: 860px) {
  :root { --container: min(100% - 32px, 720px); }
  .hero { min-height: auto; padding: 64px 0; gap: 42px; grid-template-columns: 1fr 300px; }
  .story-section, .experience-section { grid-template-columns: 1fr; gap: 36px; }
  .experience-section { padding: 52px 42px; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .philosophy-grid article { min-height: 0; }
  .course-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --container: calc(100vw - 28px); }
  .header-inner { min-height: 64px; }
  .brand-mark { width: 34px; height: 34px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 14px; right: 14px; top: 58px; padding: 8px; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 11px 13px; }
  .hero { padding: 52px 0 70px; grid-template-columns: 1fr; gap: 40px; }
  .courses-hero { padding: 58px 0 48px; }
  .course-season { padding: 56px 0 72px; }
  .season-heading { align-items: start; flex-direction: column; gap: 10px; }
  .course-card { min-height: 0; padding: 24px; }
  .hero-copy { order: 1; }
  .portrait-frame { order: 2; width: min(100%, 360px); }
  .story-section { padding: 72px 0; gap: 30px; }
  .story-copy { font-size: 16px; }
  .experience-section { width: 100%; padding: 64px 22px; border-left: 0; border-right: 0; border-radius: 0; }
  .philosophy-section { padding: 78px 0; }
  .philosophy-grid { margin-top: 30px; }
  .contact-section { width: 100%; margin-bottom: 54px; padding: 54px 22px; grid-template-columns: 1fr; gap: 32px; border-left: 0; border-right: 0; border-radius: 0; }
  .qr-card { width: min(100%, 220px); }
  .site-footer { padding-bottom: 28px; flex-direction: column; }
  .site-footer div { flex-direction: column; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
