:root {
  --ink: #15191d;
  --muted: #70767c;
  --line: #e5e7e9;
  --paper: #ffffff;
  --soft: #f5f6f6;
  --accent: #9a5a42;
}

* {
  box-sizing: border-box;
}

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

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

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

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

.header-inner,
.content-shell,
.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

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

.brand img {
  display: block;
  width: 156px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent);
}

.phone {
  font-weight: 700;
  white-space: nowrap;
}

.page-head {
  padding: 64px 0 38px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.page-head .content-shell {
  display: grid;
  gap: 12px;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.page-head h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.25;
}

.meta,
.lede {
  margin: 0;
  color: var(--muted);
}

.article-layout {
  width: min(850px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 80px;
}

.article-body {
  font-size: 17px;
}

.article-body p {
  margin: 0 0 20px;
}

.article-body img {
  display: block;
  width: auto;
  max-height: 900px;
  margin: 30px auto;
  object-fit: contain;
}

.article-body a {
  color: var(--accent);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  padding: 48px 0 80px;
}

.archive-card {
  border: 1px solid var(--line);
  background: #fff;
}

.archive-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}

.archive-card-copy {
  padding: 20px;
}

.archive-card h2 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.45;
}

.archive-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.archive-card:hover {
  border-color: #b9bdc0;
}

.static-content {
  padding: 48px 0 80px;
  font-size: 17px;
}

.static-content .sidebar,
.static-content form,
.static-content script,
.static-content style {
  display: none;
}

.static-content img {
  margin: 24px auto;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 50px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer {
  padding: 34px 0;
  color: #c8cccf;
  background: #15191d;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
}

@media (max-width: 820px) {
  .header-inner {
    min-height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .phone {
    font-size: 14px;
  }

  .page-head {
    padding: 42px 0 30px;
  }

  .archive-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .content-shell,
  .footer-inner,
  .article-layout {
    width: min(100% - 28px, 1120px);
  }

  .brand img {
    width: 126px;
  }

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

  .archive-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .article-body,
  .static-content {
    font-size: 16px;
  }

  .article-nav,
  .footer-inner {
    flex-direction: column;
  }
}
