:root {
  --ink: #171717;
  --muted: #62656a;
  --line: #d9dadd;
  --paper: #f6f6f4;
  --white: #ffffff;
  --wine: #7b2430;
  --wine-dark: #5d1722;
  --green: #244b43;
  --green-soft: #e8efec;
  --gold: #a87932;
  --gold-soft: #f1eadf;
  --blue-soft: #edf1f5;
  --shadow: 0 18px 48px rgba(20, 22, 25, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Serif SC", "Songti SC", "STSong", "Microsoft YaHei", serif;
  line-height: 1.72;
}

body.locked {
  overflow: hidden;
}

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

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

.site-top {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.top-inner,
.nav-inner,
.section-inner,
.hero-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.top-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.top-list {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
  white-space: nowrap;
}

.top-list li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--wine);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  border-radius: 4px;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.12);
}

.brand-name {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.28;
}

.brand-sub {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-family: "Microsoft YaHei", sans-serif;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 23px;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
  color: #27292d;
}

.nav-links a {
  position: relative;
  padding: 26px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 2px;
  background: var(--wine);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--wine);
  font-weight: 700;
}

.nav-links a.active::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(12, 12, 12, 0.86), rgba(12, 12, 12, 0.58) 48%, rgba(12, 12, 12, 0.18)),
    url("hero-legal.jpg") center/cover no-repeat;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 112px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.32), transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 96px 0 76px;
}

.personal-hero {
  align-items: center;
}

.personal-hero .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 54px;
  align-items: center;
  padding: 78px 0 70px;
}

.hero-copy {
  min-width: 0;
}

.hero-profile {
  margin: 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.hero-profile img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: top center;
  border-radius: 6px;
}

.hero-profile figcaption {
  padding: 14px 4px 0;
  color: #2f3032;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
  line-height: 1.75;
}

.hero-profile b {
  display: block;
  color: var(--wine);
  font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
  font-size: 19px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-soft);
  font-size: 14px;
  font-family: "Microsoft YaHei", sans-serif;
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  width: min(820px, 100%);
  margin: 20px 0 20px;
  font-size: 54px;
  line-height: 1.18;
  font-weight: 800;
}

.hero-title-sub {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 26px;
  font-weight: 600;
}

.hero-lede {
  width: min(760px, 100%);
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  font-family: "Microsoft YaHei", sans-serif;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--wine);
  color: var(--white);
  border-color: var(--wine);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--wine-dark);
  border-color: var(--wine-dark);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
}

.metric-bar {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.han-spotlight {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.han-portrait {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.han-portrait img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
}

.han-portrait figcaption {
  padding: 16px 18px;
  color: var(--muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
}

.credential-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.credential-list li {
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.credential-list b {
  display: block;
  margin-bottom: 6px;
  color: var(--wine);
  font-size: 17px;
}

.credential-list span {
  color: var(--muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
  line-height: 1.75;
}

.platform-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1.14fr);
  gap: 34px;
  align-items: center;
}

.platform-copy {
  padding: 30px;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
}

.platform-copy h2 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.4;
}

.platform-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.95;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
  list-style: none;
  margin: 0;
}

.metric {
  min-height: 128px;
  padding: 26px 24px;
  border-right: 1px solid var(--line);
}

.metric:first-child {
  border-left: 1px solid var(--line);
}

.metric strong {
  display: block;
  color: var(--wine);
  font-size: 28px;
  line-height: 1.1;
}

.metric span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.7;
}

section {
  scroll-margin-top: 96px;
}

.section {
  padding: 86px 0;
  background: var(--white);
}

.section.alt {
  background: var(--paper);
}

.section.green {
  background: linear-gradient(180deg, var(--green-soft), #ffffff);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: 56px;
  align-items: start;
  margin-bottom: 42px;
}

.section-kicker {
  display: block;
  color: var(--wine);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.section-title {
  margin: 10px 0 0;
  font-size: 36px;
  line-height: 1.34;
}

.section-desc {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
}

.about-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 44px;
  align-items: center;
}

.about-media {
  position: relative;
  min-height: 420px;
  background: var(--ink);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.about-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 22px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.74), transparent);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
}

.about-copy {
  display: grid;
  gap: 20px;
}

.lead-block {
  padding-left: 22px;
  border-left: 4px solid var(--wine);
  color: #2b2d31;
  font-size: 18px;
  line-height: 2;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.principles li {
  min-height: 116px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.principles strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 17px;
}

.principles span {
  color: var(--muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
  line-height: 1.75;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.practice-card,
.team-card,
.case-card,
.honor-card,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.practice-card {
  min-height: 310px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.practice-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold);
}

.practice-card:nth-child(2n)::before {
  background: var(--wine);
}

.practice-card:nth-child(3n)::before {
  background: var(--green);
}

.practice-no {
  color: var(--gold);
  font-size: 13px;
  font-family: "Microsoft YaHei", sans-serif;
  font-weight: 700;
}

.practice-card h3 {
  margin: 10px 0 12px;
  font-size: 21px;
  line-height: 1.38;
}

.practice-card p {
  margin: 0;
  color: var(--muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 12px;
}

.deliverables li {
  padding: 5px 9px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 4px;
}

.product-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 34px;
  align-items: start;
}

.product-panel {
  position: sticky;
  top: 102px;
  padding: 30px;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-panel::after {
  content: "";
  position: absolute;
  inset: auto -70px -90px auto;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
}

.product-panel h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 30px;
  line-height: 1.42;
}

.product-panel p {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 2;
}

.product-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
}

.product-tags li {
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.pillar {
  min-height: 210px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pillar b {
  display: block;
  color: var(--wine);
  font-size: 18px;
  margin-bottom: 10px;
}

.pillar p {
  margin: 0;
  color: var(--muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.audience {
  margin-top: 20px;
  padding: 24px;
  background: var(--gold-soft);
  border: 1px solid #dfcfb3;
  border-radius: 8px;
}

.audience h3 {
  margin: 0 0 14px;
  font-size: 22px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-family: "Microsoft YaHei", sans-serif;
}

.audience-grid li {
  min-height: 96px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(168, 121, 50, 0.25);
  border-radius: 6px;
  font-size: 13px;
  color: #4f4638;
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: flow;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.flow li {
  min-height: 188px;
  padding: 24px 20px;
  border-right: 1px solid var(--line);
  counter-increment: flow;
}

.flow li:last-child {
  border-right: 0;
}

.flow li::before {
  content: "0" counter(flow);
  display: block;
  color: var(--gold);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.flow h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.flow p {
  margin: 0;
  color: var(--muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
  line-height: 1.75;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: stretch;
}

.team-card {
  min-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.portrait {
  height: 238px;
  background: var(--blue-soft);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.portrait.initial {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(123, 36, 48, 0.92), rgba(36, 75, 67, 0.96)),
    var(--green);
  font-size: 54px;
  font-weight: 800;
}

.team-body {
  flex: 1;
  padding: 20px;
}

.team-body h3 {
  margin: 0;
  font-size: 21px;
}

.team-role {
  margin: 5px 0 14px;
  color: var(--wine);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.team-body p {
  margin: 0;
  color: var(--muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
  line-height: 1.78;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 12px;
}

.team-tags li {
  padding: 4px 7px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 4px;
}

.team-tree {
  position: relative;
}

.team-root-card {
  width: min(880px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 30px;
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(123, 36, 48, 0.28);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.root-portrait {
  min-height: 360px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--blue-soft);
}

.root-portrait img,
.branch-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.root-body {
  align-self: center;
}

.root-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  color: var(--white);
  background: var(--wine);
  border-radius: 4px;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.root-body h3 {
  margin: 16px 0 4px;
  font-size: 38px;
  line-height: 1.22;
}

.root-body p,
.branch-body p {
  margin: 0;
  color: var(--muted);
  font-family: "Microsoft YaHei", sans-serif;
}

.root-body p {
  font-size: 15px;
  line-height: 1.95;
}

.tree-trunk {
  position: relative;
  width: min(78%, 860px);
  height: 66px;
  margin: 0 auto;
}

.tree-trunk::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: var(--line);
}

.tree-trunk::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
}

.team-branches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.team-branch-card {
  position: relative;
  min-height: 100%;
  overflow: visible;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.team-branch-card::before {
  content: "";
  position: absolute;
  top: -66px;
  left: 50%;
  width: 1px;
  height: 66px;
  background: var(--line);
}

.branch-portrait {
  height: 210px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: var(--blue-soft);
}

.branch-body {
  flex: 1;
  padding: 18px;
}

.branch-body h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.branch-body p {
  font-size: 13px;
  line-height: 1.78;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.case-card {
  min-height: 242px;
  padding: 24px;
}

.case-type {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  color: var(--white);
  background: var(--green);
  border-radius: 4px;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.case-card h3 {
  margin: 16px 0 10px;
  font-size: 20px;
  line-height: 1.46;
}

.case-card p {
  margin: 0;
  color: var(--muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.honor-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: start;
}

.honor-media {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.honor-card {
  overflow: hidden;
  background: var(--white);
}

.image-zoom {
  width: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.image-zoom:focus-visible {
  outline: 3px solid rgba(123, 36, 48, 0.32);
  outline-offset: -3px;
}

.image-zoom img,
.honor-card > img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  object-position: top center;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(12, 12, 12, 0.86);
}

.image-lightbox.open {
  display: flex;
}

.image-lightbox img {
  width: auto;
  max-width: min(100%, 1180px);
  max-height: calc(100vh - 96px);
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.22);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

body.image-modal-open {
  overflow: hidden;
}

.honor-card div {
  padding: 14px 16px;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
  color: var(--muted);
}

.honor-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.honor-list li {
  padding: 18px 20px;
  background: var(--white);
  border-left: 4px solid var(--wine);
  box-shadow: inset 0 0 0 1px var(--line);
}

.honor-list b {
  display: block;
  margin-bottom: 5px;
  color: var(--green);
  font-size: 17px;
}

.honor-list span {
  color: var(--muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.insight {
  min-height: 210px;
  padding: 24px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  border-top: 4px solid var(--gold);
}

.insight:nth-child(2) {
  background: var(--wine);
  border-color: #d4a76b;
}

.insight:nth-child(3) {
  background: var(--green);
  border-color: #c5b28c;
}

.insight h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.45;
}

.insight p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 30px;
}

.contact-lead {
  padding: 30px;
  color: var(--white);
  background: var(--wine);
  border-radius: 8px;
}

.contact-lead h2 {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.42;
}

.contact-lead p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contact-card {
  min-height: 146px;
  padding: 20px;
}

.contact-card b {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 18px;
}

.contact-card span,
.contact-card a {
  display: block;
  color: var(--muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.8;
  word-break: break-word;
}

.page-hero {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(14, 14, 14, 0.9), rgba(14, 14, 14, 0.66), rgba(14, 14, 14, 0.24)),
    url("hero-legal.jpg") center/cover no-repeat;
}

.page-hero .section-inner {
  min-height: 360px;
  display: grid;
  align-content: end;
  padding: 82px 0 58px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.86);
}

.breadcrumb span::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.44);
}

.page-hero h1 {
  width: min(760px, 100%);
  margin: 0;
  font-size: 44px;
  line-height: 1.22;
}

.page-hero p {
  width: min(780px, 100%);
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.95;
}

.subnav {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.subnav .section-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 0;
}

.subnav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
}

.subnav a:hover,
.subnav a:focus-visible {
  color: var(--wine);
  border-color: var(--wine);
}

.rich-text {
  color: #34363a;
  font-size: 16px;
  line-height: 2.05;
}

.rich-text p {
  margin: 0 0 18px;
}

.split-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: start;
}

.image-panel {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--paper);
}

.image-panel figcaption {
  padding: 16px 18px;
  color: var(--muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
}

.quote-panel {
  padding: 28px;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
}

.quote-panel b {
  display: block;
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.48;
}

.quote-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.9;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.detail-card {
  min-height: 220px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-card h3 {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 21px;
  line-height: 1.45;
}

.detail-card p {
  margin: 0;
  color: var(--muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.check-list,
.plain-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.82;
}

.check-list li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  font-family: "Microsoft YaHei", sans-serif;
}

.matrix-table th,
.matrix-table td {
  padding: 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.75;
}

.matrix-table th {
  color: var(--white);
  background: var(--green);
  font-weight: 700;
}

.matrix-table td:first-child {
  width: 160px;
  color: var(--wine);
  font-weight: 700;
}

.service-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 26px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.service-row:first-child {
  border-top: 1px solid var(--line);
}

.service-row h3 {
  margin: 0;
  color: var(--wine);
  font-size: 24px;
  line-height: 1.4;
}

.service-row p {
  margin: 0 0 16px;
  color: var(--muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.service-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.service-meta div {
  padding: 14px;
  background: var(--paper);
  border-radius: 6px;
  border: 1px solid var(--line);
}

.service-meta b {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 14px;
}

.profile-list {
  display: grid;
  gap: 24px;
}

.profile-card.featured-profile {
  grid-template-columns: 330px 1fr;
  border-color: rgba(123, 36, 48, 0.28);
  box-shadow: var(--shadow);
}

.featured-profile .profile-photo {
  min-height: 430px;
}

.featured-profile h2 {
  font-size: 38px;
}

.profile-card {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 28px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.profile-photo {
  min-height: 300px;
  background:
    linear-gradient(135deg, rgba(123, 36, 48, 0.92), rgba(36, 75, 67, 0.96)),
    var(--green);
  border-radius: 6px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 58px;
  font-weight: 800;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.profile-card h2 {
  margin: 0;
  font-size: 30px;
}

.team-profile-tree {
  position: relative;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px 22px;
}

.team-profile-tree .featured-profile {
  position: relative;
  width: min(960px, 100%);
  margin: 0 auto;
  grid-column: 1 / -1;
}

.team-profile-tree .featured-profile::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -72px;
  width: 1px;
  height: 72px;
  background: var(--line);
}

.team-profile-tree .profile-card:not(.featured-profile) {
  position: relative;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 22px;
  overflow: visible;
}

.team-profile-tree .profile-card:not(.featured-profile)::before {
  content: "";
  position: absolute;
  top: -72px;
  left: 50%;
  width: 1px;
  height: 72px;
  background: var(--line);
}

.team-profile-tree .profile-card:not(.featured-profile) .profile-photo {
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 5;
}

.team-profile-tree .profile-card:not(.featured-profile) .profile-photo img {
  object-fit: contain;
  background: var(--paper);
}

.team-profile-tree .profile-card:not(.featured-profile) h2 {
  font-size: 24px;
}

.profile-title {
  margin: 4px 0 16px;
  color: var(--wine);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.profile-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.case-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.case-detail {
  min-height: 300px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.case-detail h3 {
  margin: 14px 0 10px;
  font-size: 22px;
}

.case-detail dl {
  margin: 0;
  display: grid;
  gap: 12px;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.case-detail dt {
  color: var(--green);
  font-weight: 700;
}

.case-detail dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.article-list {
  display: grid;
  gap: 18px;
}

.article-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 24px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-date {
  color: var(--wine);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.article-card h2 {
  margin: 0 0 10px;
  font-size: 25px;
  line-height: 1.42;
}

.article-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-item h3 {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 19px;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.field textarea {
  min-height: 126px;
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
}

.cta-band {
  padding: 34px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2 {
  margin: 0;
  font-size: 28px;
}

.cta-band p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.68);
  background: var(--ink);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
}

.footer-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

@media (max-width: 1080px) {
      .nav-links {
        gap: 14px;
        font-size: 13px;
      }

      .practice-grid,
      .team-grid,
      .team-branches,
      .detail-grid,
      .service-meta {
        grid-template-columns: repeat(2, 1fr);
      }

  .team-card:first-child {
    grid-column: span 2;
  }

  .flow {
    grid-template-columns: repeat(3, 1fr);
  }

  .flow li {
    border-bottom: 1px solid var(--line);
  }

  .flow li:nth-child(3n) {
    border-right: 0;
  }

  .flow li:nth-last-child(-n+2) {
    border-bottom: 0;
  }
}

@media (max-width: 860px) {
  .top-inner {
    align-items: flex-start;
    padding: 10px 0;
  }

  .top-list {
    flex-wrap: wrap;
    gap: 8px 16px;
    white-space: normal;
  }

  .nav-inner {
    min-height: 68px;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: fixed;
    inset: 68px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.12);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a::after {
    display: none;
  }

  .hero {
    min-height: 74vh;
  }

  .hero-inner {
    padding: 74px 0 56px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-lede {
    font-size: 16px;
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric,
  .metric:first-child {
    border-left: 0;
  }

  .metric:nth-child(2n) {
    border-right: 0;
  }

  .metric:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 66px 0;
  }

      .section-head,
      .about-layout,
      .product-layout,
      .honor-layout,
      .contact-layout,
      .split-layout,
      .profile-card,
      .article-card,
      .team-root-card,
      .team-profile-tree,
      .personal-hero .hero-inner,
      .han-spotlight,
      .platform-band,
      .profile-card.featured-profile {
        grid-template-columns: 1fr;
        gap: 28px;
      }

  .section-title {
    font-size: 30px;
  }

  .product-panel {
    position: static;
  }

      .case-grid,
      .insight-grid,
      .contact-grid,
      .case-list {
        grid-template-columns: 1fr;
      }

      .page-hero h1 {
        font-size: 34px;
      }

      .page-hero .section-inner {
        min-height: 310px;
      }

      .service-row {
        grid-template-columns: 1fr;
      }

      .cta-band {
        display: block;
      }

      .cta-band .btn {
        margin-top: 18px;
      }
    }

    @media (max-width: 640px) {
  .top-inner,
  .nav-inner,
  .section-inner,
  .hero-inner,
  .footer-inner {
    width: min(100% - 32px, var(--max));
  }

  .site-top {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-sub {
    display: none;
  }

  .hero {
    min-height: 72vh;
    background-position: 55% center;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-title-sub {
    font-size: 21px;
  }

  .hero-profile {
    max-width: 360px;
  }

  .hero-profile img {
    height: 390px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

      .metric-grid,
      .principles,
      .practice-grid,
      .pillar-grid,
      .audience-grid,
      .team-grid,
      .team-branches,
      .flow,
      .honor-media,
      .detail-grid,
      .service-meta,
      .form-row,
      .credential-list {
        grid-template-columns: 1fr;
      }

  .team-card:first-child {
    grid-column: auto;
  }

  .team-profile-tree {
    gap: 28px;
  }

  .team-profile-tree .featured-profile::after,
  .team-profile-tree .profile-card:not(.featured-profile)::before {
    display: none;
  }

  .team-profile-tree .profile-card:not(.featured-profile) {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .team-root-card {
    padding: 18px;
  }

  .root-portrait {
    min-height: 320px;
  }

  .root-body h3 {
    font-size: 30px;
  }

  .tree-trunk {
    width: 1px;
    height: 38px;
  }

  .tree-trunk::after,
  .team-branch-card::before {
    display: none;
  }

  .metric,
  .metric:nth-child(2n),
  .metric:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .about-media,
  .about-media img {
    min-height: 280px;
  }

  .flow li,
  .flow li:nth-child(3n),
  .flow li:nth-last-child(-n+2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .flow li:last-child {
    border-bottom: 0;
  }

      .portrait {
        height: 260px;
      }

      .page-hero h1 {
        font-size: 30px;
      }

      .page-hero p {
        font-size: 15px;
      }

      .profile-card,
      .article-card,
      .case-detail,
      .detail-card {
        padding: 20px;
      }

      .profile-photo {
        min-height: 260px;
      }

      .han-portrait img {
        height: 430px;
      }

      .featured-profile .profile-photo {
        min-height: 360px;
      }

      .matrix-table {
        display: block;
        overflow-x: auto;
      }

      .footer-inner {
        display: block;
  }
}
