:root {
  --ink: #18212b;
  --muted: #5f6b76;
  --line: #d8dedf;
  --paper: #f7f4ec;
  --panel: #ffffff;
  --accent: #8e1f2f;
  --accent-dark: #5f1722;
  --teal: #0e6f70;
  --gold: #b88936;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(24, 33, 43, 0.12);
  background: rgba(247, 244, 236, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: grid;
  gap: 0;
  font-weight: 700;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 14px;
}

nav a:hover {
  color: var(--accent);
}

.language-toggle {
  min-width: 44px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  min-height: calc(100vh - 72px);
  padding: clamp(44px, 7vw, 92px) clamp(20px, 6vw, 86px) 52px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.12;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.14;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.3;
}

.hero-subtitle {
  color: var(--teal);
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 700;
}

.hero-text,
.intro-band p,
.video-copy p,
.profile-section p,
.contact-section p {
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 700;
}

.primary-action {
  background: var(--accent);
  color: white;
}

.secondary-action {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
}

.hero-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(24, 33, 43, 0.22);
}

.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.metrics div {
  min-height: 132px;
  padding: 26px clamp(18px, 3vw, 40px);
  border-right: 1px solid var(--line);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics strong {
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 28px;
  line-height: 1.15;
}

.metrics span {
  color: var(--muted);
  font-size: 14px;
}

.intro-band,
.video-section,
.profile-section,
.contact-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 6vw, 72px);
  padding: clamp(56px, 8vw, 104px) clamp(20px, 6vw, 86px);
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 6vw, 86px);
}

.section-head {
  max-width: 820px;
  margin-bottom: 36px;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.practice-grid article,
.case-list article,
.contact-panel {
  background: var(--panel);
}

.practice-grid article {
  min-height: 250px;
  padding: 28px;
}

.practice-grid p,
.case-list p {
  color: var(--muted);
}

.video-section {
  align-items: center;
  background: #e9f0ed;
}

.video-player {
  width: min(100%, 640px);
  justify-self: center;
  border-radius: 8px;
  overflow: hidden;
  background: #101820;
}

.video-player video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: contain;
  background: #000;
}

@media (max-width: 700px) {
  .video-player {
    width: 100%;
  }

  .video-player video {
    aspect-ratio: 4 / 3;
  }
}

.case-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.case-list article {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.case-list span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}

.profile-section {
  background: var(--ink);
  color: white;
}

.profile-section .section-label,
.profile-section p {
  color: #d9c28d;
}

.timeline {
  display: grid;
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.18);
}

.timeline li {
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.timeline span {
  color: #d9c28d;
  font-size: 13px;
}

.timeline strong {
  font-size: 16px;
}

.contact-section {
  align-items: center;
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-panel p {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
}

.contact-panel a {
  color: var(--accent);
  font-weight: 700;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.contact-detail {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.contact-panel small {
  color: var(--muted);
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.qr-grid figure {
  margin: 0;
}

.qr-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  object-fit: contain;
}

.qr-grid figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

footer {
  padding: 24px clamp(20px, 6vw, 86px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

footer p {
  margin: 0 0 8px;
}

footer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .hero,
  .intro-band,
  .video-section,
  .profile-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    max-width: 520px;
  }

  .metrics,
  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .practice-grid article {
    min-height: 210px;
  }
}

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    gap: 12px;
  }

  nav {
    display: none;
  }

  .metrics,
  .practice-grid,
  .case-list {
    grid-template-columns: 1fr;
  }

  .metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline li {
    grid-template-columns: 1fr;
  }

  .qr-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }
}
