:root {
  color-scheme: light;
  --ink: #16201b;
  --muted: #5c6761;
  --paper: #f8f7f1;
  --panel: #ffffff;
  --line: #d8ddd4;
  --accent: #1f6d4d;
  --accent-dark: #144533;
  --warm: #c88f4f;
  --header: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header);
  padding: 0 clamp(18px, 5vw, 72px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
body.legal-page .site-header {
  color: var(--ink);
  background: rgb(248 247 241 / 94%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 15px;
}

.site-nav a {
  opacity: 0.9;
}

.site-nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(5 18 12 / 78%) 0%, rgb(5 18 12 / 52%) 38%, rgb(5 18 12 / 10%) 100%),
    linear-gradient(0deg, rgb(0 0 0 / 28%), transparent 42%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: var(--header);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--warm);
  font-size: 14px;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 6.6vw, 94px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 span {
  display: inline;
}

.hero-copy {
  max-width: 560px;
  margin: 24px 0 0;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--accent);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgb(255 255 255 / 70%);
}

.section {
  padding: clamp(72px, 10vw, 128px) clamp(18px, 7vw, 96px);
}

.intro {
  max-width: 980px;
}

.section h2,
.contact-section h2 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.15;
  letter-spacing: 0;
}

.service-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.service-item {
  min-height: 360px;
  padding: clamp(34px, 5vw, 66px);
  border-right: 1px solid var(--line);
}

.service-item:last-child {
  border-right: 0;
}

.service-item span {
  color: var(--accent);
  font-weight: 800;
}

.service-item h3 {
  margin: 72px 0 18px;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.2;
}

.service-item p,
.split p,
.process-line strong,
address p,
.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 17px;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

.process {
  padding: 0 clamp(18px, 7vw, 96px);
  background: var(--accent-dark);
  color: #fff;
}

.process-line {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 34px 0;
  border-bottom: 1px solid rgb(255 255 255 / 16%);
}

.process-line:last-child {
  border-bottom: 0;
}

.process-line span {
  color: #d7b27d;
  font-weight: 700;
}

.process-line strong {
  color: rgb(255 255 255 / 82%);
  font-weight: 500;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 520px);
  gap: clamp(34px, 7vw, 96px);
  padding: clamp(72px, 10vw, 128px) clamp(18px, 7vw, 96px);
}

address {
  font-style: normal;
  border-left: 3px solid var(--accent);
  padding-left: 28px;
}

.site-footer {
  padding: 38px clamp(18px, 7vw, 96px);
  color: rgb(255 255 255 / 82%);
  background: #111814;
}

.footer-main,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
}

.footer-main strong {
  color: #fff;
}

.footer-links {
  margin-top: 18px;
}

.footer-links a {
  color: rgb(255 255 255 / 72%);
}

.record {
  margin: 24px 0 0;
  color: rgb(255 255 255 / 58%);
  font-size: 14px;
}

.legal-hero {
  padding: calc(var(--header) + 72px) clamp(18px, 7vw, 96px) 54px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1.12;
}

.legal-content {
  max-width: 920px;
  padding: 56px clamp(18px, 7vw, 96px) 96px;
}

.legal-content h2 {
  margin: 38px 0 10px;
  font-size: 24px;
}

.legal-content ul {
  padding-left: 1.2em;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 820px) {
  :root {
    --header: 64px;
  }

  .site-header {
    padding-inline: 16px;
  }

  .site-nav {
    gap: 14px;
    font-size: 13px;
  }

  .site-nav a:nth-child(2) {
    display: none;
  }

  .hero {
    min-height: 92svh;
  }

  .hero h1 span {
    display: block;
  }

  .hero-content {
    margin-left: 18px;
  }

  .service-band,
  .split,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .service-item {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-item h3 {
    margin-top: 44px;
  }

  .process-line {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .button {
    width: 100%;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
