:root {
  --bg: #f4efe8;
  --bg-deep: #e8dece;
  --surface: rgba(255, 251, 246, 0.54);
  --surface-strong: #fffaf3;
  --line: rgba(88, 72, 56, 0.18);
  --text: #2f2925;
  --text-soft: #685d54;
  --text-muted: #8b7e73;
  --accent: #7f9f87;
  --accent-deep: #526d59;
  --accent-warm: #c78b5c;
  --shadow-soft: none;
  --shadow-card: none;
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0, rgba(255, 255, 255, 0.18) 1px, transparent 1px, transparent 148px),
    linear-gradient(90deg, rgba(92, 73, 55, 0.06) 0, rgba(92, 73, 55, 0.06) 1px, transparent 1px, transparent 148px),
    linear-gradient(180deg, #f5f0ea 0%, #f0e8df 44%, #f6f1eb 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.26) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.24), transparent 68%);
}

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

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

.page-shell {
  min-height: 100vh;
}

.progress-bar {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 30;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-warm));
  box-shadow: 0 0 18px rgba(127, 159, 135, 0.45);
}

.section-frame,
.site-header {
  width: min(calc(100% - 40px), var(--max-width));
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
  margin-top: 18px;
  border-top: 1px solid rgba(99, 84, 67, 0.24);
  border-bottom: 1px solid rgba(99, 84, 67, 0.12);
  backdrop-filter: blur(10px);
  background: rgba(248, 242, 235, 0.74);
  box-shadow: none;
}

.brand-lockup,
.brand-copy,
.site-nav,
.hero-actions,
.hero-notes,
.section-heading-split,
.footer-brand,
.footer-meta {
  display: flex;
}

.brand-lockup {
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(82, 109, 89, 0.22);
  background: linear-gradient(135deg, #efe3d0 0%, #d7e7db 100%);
  color: var(--accent-deep);
  font-size: 14px;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  box-shadow: none;
}

.brand-copy {
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong,
.footer-brand strong {
  font-family: "STSong", "Noto Serif SC", "Source Han Serif SC", serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-copy span,
.footer-brand p,
.footer-meta {
  color: var(--text-muted);
  font-size: 13px;
}

.site-nav {
  justify-content: center;
  gap: 28px;
}

.site-nav a,
.text-link {
  position: relative;
  color: var(--text-soft);
  font-size: 14px;
  transition: color 180ms ease;
}

.site-nav a::after,
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: currentColor;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active,
.text-link:hover {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a.is-active::after,
.text-link:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 36px;
  padding: 72px 0 28px;
  border-top: 1px solid rgba(88, 72, 56, 0.22);
}

.hero-copy {
  padding: 42px 18px 0 0;
  border-right: 1px solid rgba(88, 72, 56, 0.16);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--accent-deep);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: rgba(82, 109, 89, 0.34);
}

.hero h1,
.section-heading h2,
.editorial-copy h2 {
  margin: 0;
  font-family: "STSong", "Noto Serif SC", "Source Han Serif SC", serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.12;
}

.hero h1 {
  max-width: 9.5em;
  font-size: clamp(46px, 6vw, 84px);
}

.hero h1 span {
  color: var(--accent-deep);
}

.hero-lead,
.editorial-copy p,
.section-side-note,
.value-card p,
.service-card p,
.service-card li,
.method-timeline p,
.insight-copy p {
  color: var(--text-soft);
  line-height: 1.9;
}

.hero-lead {
  max-width: 640px;
  margin: 26px 0 0;
  font-size: 17px;
}

.hero-company {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

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

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border: 1px solid rgba(82, 109, 89, 0.2);
  font-size: 15px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent-deep), #6c876d);
  color: #f7f1e8;
  box-shadow: none;
}

.button-secondary {
  border: 1px solid rgba(82, 109, 89, 0.18);
  background: rgba(255, 250, 244, 0.64);
  color: var(--text);
}

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

.hero-notes {
  gap: 16px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.hero-note-card,
.visual-quote,
.visual-badge,
.value-card,
.service-card,
.editorial-aside,
.method-timeline article,
.insight-card {
  border: 1px solid var(--line);
  background: transparent;
  box-shadow: var(--shadow-soft);
  backdrop-filter: none;
}

.hero-note-card {
  flex: 1 1 230px;
  padding: 20px 20px 18px;
  border-top: 2px solid rgba(82, 109, 89, 0.5);
}

.hero-note-card strong,
.value-card h3,
.service-card h3,
.method-timeline h3,
.insight-copy h3 {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 600;
}

.hero-note-card p,
.value-card p {
  margin: 0;
  font-size: 14px;
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  gap: 18px;
  min-height: 760px;
  padding-left: 18px;
}

.visual-card,
.insight-card {
  overflow: hidden;
  border: 1px solid rgba(88, 72, 56, 0.16);
}

.visual-card img,
.insight-card img {
  height: 100%;
  object-fit: cover;
}

.visual-card-tall {
  grid-row: 1 / span 2;
  min-height: 680px;
  box-shadow: none;
}

.visual-card-wide {
  min-height: 280px;
  margin-top: 56px;
}

.visual-quote,
.visual-badge {
  position: absolute;
  padding: 22px 24px;
  background: rgba(245, 239, 232, 0.94);
}

.visual-quote {
  right: 36px;
  bottom: 148px;
  width: min(320px, calc(100% - 56px));
}

.visual-quote p,
.visual-badge span,
.insight-copy span {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.75;
}

.visual-badge {
  left: 42px;
  bottom: 28px;
  width: min(330px, calc(100% - 64px));
  border-top: 2px solid rgba(199, 139, 92, 0.7);
}

.visual-badge strong {
  display: block;
  margin-top: 10px;
  font-family: "STSong", "Noto Serif SC", serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
}

.value-strip,
.editorial-section,
.services-section,
.method-section,
.insights-section,
.site-footer {
  margin-top: 22px;
}

.value-strip,
.services-section,
.method-section,
.insights-section,
.site-footer {
  padding: 34px;
  background: transparent;
  border-top: 1px solid rgba(108, 84, 60, 0.18);
  border-bottom: 1px solid rgba(108, 84, 60, 0.1);
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2,
.editorial-copy h2 {
  max-width: 12em;
  font-size: clamp(30px, 3.2vw, 48px);
}

.value-grid,
.service-grid,
.method-timeline,
.insight-grid {
  display: grid;
  gap: 18px;
}

.value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(88, 72, 56, 0.12);
}

.value-card {
  padding: 22px;
  min-height: 220px;
  border-width: 0 1px 0 0;
}

.value-card:last-child {
  border-right: 0;
}

.value-card span,
.method-timeline span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent-warm);
  font-size: 12px;
  letter-spacing: 0.24em;
}

.editorial-section {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 22px;
  padding: 34px 0;
  border-top: 1px solid rgba(88, 72, 56, 0.18);
  border-bottom: 1px solid rgba(88, 72, 56, 0.1);
}

.editorial-copy {
  padding: 36px 28px 36px 0;
  border-right: 1px solid rgba(88, 72, 56, 0.14);
}

.editorial-copy p {
  max-width: 56ch;
  margin: 18px 0 0;
  font-size: 16px;
}

.editorial-aside {
  align-self: end;
  padding: 28px;
  border-top: 2px solid rgba(82, 109, 89, 0.5);
}

.editorial-number {
  margin-bottom: 14px;
  font-family: "STSong", "Noto Serif SC", serif;
  font-size: clamp(56px, 8vw, 96px);
  line-height: 1;
  color: var(--accent-deep);
}

.section-heading-split {
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.section-side-note {
  max-width: 300px;
  margin: 0;
  font-size: 14px;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(88, 72, 56, 0.12);
}

.service-card {
  min-height: 280px;
  padding: 24px;
  border-width: 0 1px 0 0;
}

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

.service-card-featured {
  background:
    linear-gradient(180deg, rgba(224, 236, 228, 0.32) 0%, rgba(255, 249, 241, 0.08) 100%);
}

.service-card p {
  margin: 0 0 18px;
  font-size: 15px;
}

.service-card ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-card li + li {
  margin-top: 10px;
}

.service-card li::before {
  content: "—";
  margin-right: 8px;
  color: var(--accent-warm);
}

.method-timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(88, 72, 56, 0.12);
}

.method-timeline article {
  padding: 24px;
  min-height: 216px;
  border-width: 0 1px 0 0;
}

.method-timeline article:last-child {
  border-right: 0;
}

.method-timeline p {
  margin: 0;
  font-size: 15px;
}

.text-link {
  align-self: center;
}

.insight-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(88, 72, 56, 0.12);
}

.insight-card {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  min-height: 280px;
  border-width: 0 1px 0 0;
}

.insight-card:last-child {
  border-right: 0;
}

.insight-copy {
  padding: 28px 26px;
}

.insight-copy h3 {
  margin-top: 12px;
  margin-bottom: 12px;
  font-family: "STSong", "Noto Serif SC", serif;
  font-size: 28px;
  line-height: 1.45;
}

.insight-copy p {
  margin: 0;
  font-size: 15px;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 26px;
  border-top: 1px solid rgba(88, 72, 56, 0.18);
}

.footer-main,
.footer-bottom,
.footer-nav,
.footer-records {
  display: flex;
}

.footer-main,
.footer-bottom {
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  align-items: center;
  gap: 16px;
}

.footer-brand p {
  margin: 4px 0 0;
}

.footer-meta {
  gap: 18px;
}

.footer-nav {
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav a,
.footer-records span,
.footer-records a {
  color: var(--text-muted);
  font-size: 13px;
}

.footer-nav a {
  transition: color 180ms ease;
}

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

.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(88, 72, 56, 0.12);
}

.footer-records {
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.footer-record-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  line-height: 1.6;
  transition: color 180ms ease;
}

.footer-record-link:hover {
  color: var(--text);
}

.footer-record-separator {
  color: rgba(88, 72, 56, 0.34);
}

.beian-link__icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: block;
  object-fit: contain;
}

.footer-record-link--with-icon {
  white-space: nowrap;
}

.reveal-block,
.reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 1120px) {
  .hero,
  .editorial-section,
  .service-grid,
  .method-timeline,
  .insight-grid,
  .value-grid,
  .insight-card {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
    grid-template-columns: 1fr 1fr;
  }

  .visual-card-tall {
    grid-row: auto;
    min-height: 560px;
  }

  .visual-card-wide {
    margin-top: 0;
  }

  .visual-quote {
    right: 18px;
    bottom: 112px;
  }

  .visual-badge {
    left: 18px;
  }

  .section-heading-split,
  .site-footer,
  .footer-meta,
  .footer-main,
  .footer-bottom,
  .footer-records {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-record-separator {
    display: none;
  }

  .hero-copy,
  .editorial-copy {
    border-right: 0;
    padding-right: 0;
  }

  .value-card,
  .service-card,
  .method-timeline article,
  .insight-card {
    border-right: 0;
    border-bottom: 1px solid rgba(88, 72, 56, 0.12);
  }

  .insight-card:last-child,
  .value-card:last-child,
  .service-card:last-child,
  .method-timeline article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto auto;
    padding: 14px 18px;
  }

  .menu-toggle {
    display: inline-block;
    justify-self: end;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(86, 69, 53, 0.08);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-header.is-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-copy {
    padding-top: 16px;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .hero-visual {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .visual-card-tall,
  .visual-card-wide {
    min-height: 340px;
  }

  .visual-quote,
  .visual-badge {
    position: relative;
    inset: auto;
    width: auto;
  }

  .value-strip,
  .services-section,
  .method-section,
  .insights-section,
  .site-footer {
    padding: 24px 0;
  }

  .editorial-copy {
    padding-right: 0;
  }
}

@media (max-width: 560px) {
  .section-frame,
  .site-header {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    font-size: 13px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .hero-lead,
  .editorial-copy p,
  .value-card p,
  .service-card p,
  .service-card li,
  .method-timeline p,
  .insight-copy p {
    font-size: 14px;
  }

  .hero-actions,
  .hero-notes {
    gap: 12px;
  }

  .button-primary,
  .button-secondary {
    width: 100%;
  }
}
