:root {
  --paper: #f3f5f1;
  --paper-soft: #fffdf8;
  --ink: #111816;
  --muted: #67716c;
  --line: rgba(17, 24, 22, 0.14);
  --green: #173c36;
  --green-soft: #dfe8df;
  --copper: #a8794b;
  --blue: #3b6171;
  --shadow: 0 26px 82px rgba(17, 24, 22, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 56px);
  background: rgba(255, 250, 242, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--paper-soft);
  background: var(--green);
  border-radius: 6px;
  font-size: 18px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  min-height: min(860px, calc(100vh - 68px));
  padding: clamp(46px, 6vw, 86px) clamp(20px, 5vw, 72px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.96), rgba(255, 253, 248, 0.76) 48%, rgba(23, 60, 54, 0.13)),
    linear-gradient(180deg, rgba(23, 60, 54, 0.06), rgba(168, 121, 75, 0.04));
}

.hero-copy {
  max-width: 840px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: pretty;
}

h1 {
  max-width: 830px;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 1.06;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.16;
}

h3 {
  font-size: 21px;
  line-height: 1.35;
}

.lead {
  max-width: 720px;
  margin-top: 24px;
  color: #34413d;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-note {
  max-width: 720px;
  margin-top: 28px;
  padding: 18px 20px;
  background: rgba(255, 250, 242, 0.84);
  border-left: 4px solid var(--green);
  box-shadow: 0 16px 44px rgba(17, 24, 22, 0.08);
}

.hero-note span {
  display: block;
  margin-bottom: 6px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 760px;
  margin-top: 46px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
}

.metrics div {
  padding: 18px 14px 16px;
  background: rgba(255, 250, 242, 0.82);
}

.metrics dt {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 700;
  line-height: 1;
}

.metrics dd {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.hero-media {
  position: relative;
  min-height: 620px;
}

.hero-media::before {
  position: absolute;
  top: 32px;
  right: 0;
  bottom: 54px;
  left: 72px;
  content: "";
  border: 1px solid rgba(17, 24, 22, 0.2);
}

.portrait-card {
  position: absolute;
  left: 0;
  top: 0;
  width: min(76%, 430px);
  overflow: hidden;
  background: #cfc7bc;
  border: 1px solid rgba(17, 24, 22, 0.16);
  box-shadow: var(--shadow);
}

.portrait-card img {
  width: 100%;
  object-fit: cover;
}

.credential-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(72%, 390px);
  padding: 24px;
  background: var(--green);
  color: var(--paper-soft);
  box-shadow: var(--shadow);
}

.credential-panel img {
  width: 190px;
  margin-bottom: 22px;
  padding: 12px;
  background: var(--paper-soft);
}

.credential-panel p + p {
  margin-top: 8px;
  color: rgba(255, 250, 242, 0.75);
}

.section {
  padding: clamp(66px, 8vw, 114px) clamp(20px, 5vw, 72px);
  scroll-margin-top: 84px;
}

.band {
  background: var(--paper-soft);
  border-block: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(340px, 1.26fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto 42px;
}

.section-head.narrow {
  display: block;
  max-width: 850px;
  margin-inline: auto;
  text-align: center;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto;
  background: var(--line);
  border: 1px solid var(--line);
}

.scenario-grid article {
  min-height: 268px;
  padding: 30px 26px;
  background: var(--paper-soft);
}

.scenario-grid span,
.program-index {
  display: block;
  margin-bottom: 24px;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.scenario-grid p,
.program-card p,
.profile-copy p,
.method-grid p {
  color: var(--muted);
}

.scenario-grid h3,
.program-card h3,
.method-grid h3 {
  margin-bottom: 12px;
}

.programs {
  background: rgba(243, 245, 241, 0.94);
}

.fit-section {
  background: var(--green);
  color: var(--paper-soft);
}

.fit-section .eyebrow {
  color: #d1a36d;
}

.fit-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(30px, 5vw, 76px);
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}

.fit-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 253, 248, 0.16);
  border: 1px solid rgba(255, 253, 248, 0.16);
}

.fit-flow article {
  min-height: 250px;
  padding: 28px;
  background: rgba(255, 253, 248, 0.07);
}

.fit-flow span {
  display: inline-block;
  margin-bottom: 28px;
  color: #d1a36d;
  font-size: 13px;
  font-weight: 800;
}

.fit-flow h3 {
  margin-bottom: 12px;
}

.fit-flow p {
  color: rgba(255, 253, 248, 0.68);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 44px auto 0;
}

.program-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 22px;
  min-height: 280px;
  padding: 30px;
  background: rgba(255, 250, 242, 0.86);
  border: 1px solid var(--line);
  box-shadow: 0 16px 44px rgba(17, 24, 22, 0.08);
}

.program-card.feature {
  grid-column: 1 / -1;
}

.program-tag {
  margin-bottom: 8px;
  color: var(--copper) !important;
  font-size: 14px;
  font-weight: 800;
}

.program-card ul,
.profile-card ul {
  margin: 18px 0 0;
  padding-left: 19px;
  color: var(--muted);
}

.program-card li + li,
.profile-card li + li {
  margin-top: 8px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(34px, 5vw, 76px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.profile-copy p {
  max-width: 780px;
  margin-top: 18px;
}

.profile-card {
  padding: 34px;
  background: var(--green);
  color: var(--paper-soft);
  border-top: 5px solid var(--copper);
  box-shadow: 0 18px 50px rgba(17, 24, 22, 0.12);
}

.profile-card ul {
  color: rgba(255, 250, 242, 0.75);
}

.method-section {
  color: var(--paper-soft);
  background:
    linear-gradient(180deg, rgba(17, 24, 22, 0.96), rgba(17, 30, 27, 0.98)),
    var(--ink);
}

.method-section .eyebrow {
  color: #d1a36d;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: 44px auto 0;
  overflow: hidden;
  background: rgba(255, 250, 242, 0.14);
  border: 1px solid rgba(255, 250, 242, 0.14);
}

.method-grid article {
  min-height: 250px;
  padding: 28px;
  background: rgba(255, 250, 242, 0.06);
}

.method-grid p {
  color: rgba(255, 250, 242, 0.66);
}

.proof-section {
  background: var(--paper-soft);
  border-block: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(30px, 5vw, 74px);
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}

.client-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.client-wall span {
  display: grid;
  min-height: 72px;
  place-items: center;
  gap: 8px;
  padding: 16px 14px;
  color: #32413d;
  background: rgba(255, 250, 242, 0.84);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.client-wall .client-logo {
  min-height: 104px;
}

.client-logo img {
  max-width: 132px;
  max-height: 42px;
  object-fit: contain;
}

.client-logo em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.client-logo:nth-child(3) img,
.client-logo:nth-child(4) img {
  max-height: 50px;
}

.client-logo:nth-child(7) img {
  max-width: 146px;
}

@media (max-width: 1040px) {
  .hero,
  .section-head,
  .split-section,
  .fit-panel,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 570px;
  }

  .metrics,
  .scenario-grid,
  .fit-flow,
  .method-grid,
  .client-wall,
  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .program-card.feature {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
  }

  .nav {
    display: none;
  }

  h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .hero {
    padding-top: 42px;
  }

  .hero-media {
    display: grid;
    gap: 16px;
    min-height: auto;
  }

  .hero-media::before {
    display: none;
  }

  .portrait-card,
  .credential-panel {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .metrics,
  .scenario-grid,
  .fit-flow,
  .method-grid,
  .program-grid {
    grid-template-columns: 1fr;
  }

  .client-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-wall span {
    min-height: 60px;
  }

  .program-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .scenario-grid article,
  .method-grid article {
    min-height: auto;
  }
}
