:root {
  --ink: #151918;
  --muted: #626966;
  --line: #d9dedb;
  --paper: #ffffff;
  --soft: #f3f5f3;
  --forest: #153f32;
  --forest-2: #0e2e25;
  --signal: #b7d9cb;
  --blue: #315d72;
  --max: 1240px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid #77a996;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 100;
  height: var(--header-height);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(21, 25, 24, 0.12);
}

.site-header.is-overlay {
  position: absolute;
  inset: 0 0 auto;
  color: var(--paper);
  background: rgba(8, 14, 12, 0.35);
  border-bottom-color: rgba(255, 255, 255, 0.22);
}

.site-header.is-scrolled {
  position: fixed;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(12, 24, 19, 0.08);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--paper);
  background: var(--forest);
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-family: Georgia, serif;
  font-size: 14px;
}

.is-overlay:not(.is-scrolled) .brand-mark {
  color: var(--ink);
  background: var(--paper);
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy small {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  opacity: 0.72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  position: relative;
  padding-block: 24px;
  font-size: 14px;
  white-space: nowrap;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid var(--forest);
  border-radius: 2px;
  color: var(--paper);
  background: var(--forest);
  font-weight: 650;
  line-height: 1.25;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.is-overlay:not(.is-scrolled) .nav-cta {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.button:hover,
.nav-cta:hover {
  color: var(--paper);
  background: var(--forest-2);
  border-color: var(--forest-2);
}

.button.is-light {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.button.is-ghost {
  color: inherit;
  background: transparent;
  border-color: currentColor;
}

.button.is-ghost:hover {
  color: var(--ink);
  background: var(--paper);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 19px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  content: "";
}

.hero {
  position: relative;
  display: grid;
  min-height: 88svh;
  align-items: end;
  overflow: hidden;
  color: var(--paper);
  background: #1a211f;
}

.hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(5, 12, 10, 0.48);
  content: "";
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding-block: 150px 86px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 700;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  background: currentColor;
  content: "";
}

.hero .eyebrow,
.dark-band .eyebrow,
.contact-band .eyebrow {
  color: var(--signal);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.22;
  letter-spacing: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 24px;
  font-family: "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", serif;
  font-size: 68px;
  font-weight: 600;
}

h2 {
  margin-bottom: 24px;
  font-family: "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", serif;
  font-size: 42px;
  font-weight: 600;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.hero-lead {
  max-width: 670px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-strip {
  position: relative;
  z-index: 2;
  color: var(--ink);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.service-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.service-strip-item {
  min-height: 112px;
  padding: 25px 28px;
  border-left: 1px solid var(--line);
}

.service-strip-item:last-child {
  border-right: 1px solid var(--line);
}

.service-strip-item strong,
.service-strip-item span {
  display: block;
}

.service-strip-item strong {
  margin-bottom: 2px;
  color: var(--forest);
  font-family: Georgia, serif;
  font-size: 24px;
}

.service-strip-item span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding-block: 112px;
}

.section.is-soft {
  background: var(--soft);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 52px;
}

.section-heading > :last-child {
  color: var(--muted);
}

.intro-grid,
.feature-grid,
.contact-grid,
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  align-items: center;
  gap: 72px;
}

.intro-grid img,
.feature-grid img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
}

.lead-copy {
  color: var(--muted);
  font-size: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 3px;
  color: var(--forest);
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

.text-link::after {
  content: "→";
}

.service-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-item {
  min-height: 260px;
  padding: 30px 24px;
  background: var(--paper);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-item-number {
  display: block;
  margin-bottom: 54px;
  color: var(--blue);
  font-family: Georgia, serif;
  font-size: 15px;
}

.service-item p {
  color: var(--muted);
  font-size: 14px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.process-step {
  min-height: 275px;
  padding: 34px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.process-step:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.process-step strong {
  display: block;
  margin-bottom: 66px;
  color: var(--signal);
  font-family: Georgia, serif;
  font-size: 16px;
}

.process-step p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.dark-band {
  color: var(--paper);
  background: var(--forest-2);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 20px;
}

.gallery-grid.is-even {
  grid-template-columns: 1fr 1fr;
}

.gallery-column {
  display: grid;
  gap: 20px;
}

.gallery-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #e5e8e6;
}

.gallery-figure.is-tall img {
  aspect-ratio: 4 / 5;
}

.gallery-figure.is-wide img {
  aspect-ratio: 16 / 9;
}

.gallery-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-figure:hover img {
  transform: scale(1.018);
}

.gallery-figure figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 52px 20px 20px;
  color: var(--paper);
  background: linear-gradient(to top, rgba(6, 13, 11, 0.86) 0%, rgba(6, 13, 11, 0.55) 46%, rgba(6, 13, 11, 0) 100%);
}

.gallery-figure figcaption span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.answer-item {
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.answer-item p,
.prose p,
.prose li {
  color: var(--muted);
}

.community-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.community-list li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
  font-size: 14px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 25px 48px 25px 0;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 23px;
  right: 4px;
  color: var(--forest);
  content: "+";
  font-size: 24px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 860px;
  padding: 0 48px 24px 0;
  color: var(--muted);
}

.contact-band {
  color: var(--paper);
  background: var(--forest);
}

.contact-grid {
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 22px;
  padding-top: 12px;
}

.contact-details div {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.contact-details span,
.contact-details strong {
  display: block;
}

.contact-details span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.contact-details strong {
  margin-top: 4px;
  font-size: 18px;
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 500px;
  align-items: end;
  overflow: hidden;
  color: var(--paper);
  background: var(--forest-2);
}

.page-hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(5, 12, 10, 0.56);
  content: "";
}

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

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding-block: 110px 62px;
}

.page-hero h1 {
  margin-bottom: 18px;
  font-size: 56px;
}

.page-hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.breadcrumb a:hover {
  color: var(--paper);
}

.detail-grid {
  align-items: start;
}

.detail-nav {
  position: sticky;
  top: 100px;
  padding: 28px;
  background: var(--soft);
  border-top: 3px solid var(--forest);
}

.detail-nav strong {
  display: block;
  margin-bottom: 14px;
}

.detail-nav a {
  display: block;
  padding-block: 8px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.prose h2 {
  margin-top: 68px;
  font-size: 34px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 34px;
}

.prose blockquote {
  margin: 38px 0;
  padding: 28px 30px;
  color: var(--forest);
  background: var(--soft);
  border-left: 4px solid var(--forest);
  font-family: "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", serif;
  font-size: 22px;
}

.prose img {
  width: 100%;
  margin-block: 36px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.fact-table {
  width: 100%;
  border-collapse: collapse;
}

.fact-table th,
.fact-table td {
  padding: 18px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.fact-table th {
  width: 24%;
  color: var(--forest);
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: #101513;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 54px;
  padding-block: 64px 48px;
}

.footer-brand p {
  max-width: 360px;
  margin-top: 18px;
  font-size: 14px;
}

.footer-column strong {
  display: block;
  margin-bottom: 16px;
  color: var(--paper);
}

.footer-column a,
.footer-column span {
  display: block;
  margin-block: 8px;
  font-size: 14px;
}

.footer-column a:hover {
  color: var(--paper);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
}

.mobile-contact {
  display: none;
}

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

@media (max-width: 1040px) {
  .site-nav {
    gap: 16px;
  }

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

  h1 {
    font-size: 58px;
  }

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

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

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

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

  .container {
    width: min(calc(100% - 32px), var(--max));
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    z-index: 99;
    inset: var(--header-height) 0 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 24px;
    color: var(--ink);
    background: var(--paper);
  }

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

  .site-nav a {
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

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

  .site-nav .nav-cta {
    margin-top: 20px;
    color: var(--paper) !important;
    background: var(--forest) !important;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-content {
    padding-block: 126px 58px;
  }

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

  h2 {
    font-size: 36px;
  }

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

  .service-strip-item:nth-child(3) {
    border-top: 1px solid var(--line);
  }

  .service-strip-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .section {
    padding-block: 80px;
  }

  .section-heading,
  .intro-grid,
  .feature-grid,
  .contact-grid,
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .intro-grid img,
  .feature-grid img {
    min-height: 420px;
  }

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

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

  .detail-nav {
    position: static;
    order: -1;
  }

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

@media (max-width: 560px) {
  body {
    padding-bottom: 62px;
  }

  .brand-copy small {
    display: none;
  }

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

  h2 {
    font-size: 31px;
  }

  .hero {
    min-height: 76svh;
  }

  .hero-media {
    object-position: 58% center;
  }

  .hero-lead {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .service-strip-item {
    min-height: 96px;
    padding: 18px 15px;
  }

  .service-strip-item strong {
    font-size: 20px;
  }

  .service-list,
  .process-grid,
  .answer-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-item {
    min-height: 0;
  }

  .service-item-number,
  .process-step strong {
    margin-bottom: 24px;
  }

  .process-step {
    min-height: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

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

  .intro-grid img,
  .feature-grid img {
    min-height: 330px;
  }

  .page-hero {
    min-height: 430px;
  }

  .page-hero-content {
    padding-block: 90px 48px;
  }

  .fact-table,
  .fact-table tbody,
  .fact-table tr,
  .fact-table th,
  .fact-table td {
    display: block;
    width: 100%;
  }

  .fact-table th {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .fact-table td {
    padding-top: 4px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .mobile-contact {
    position: fixed;
    z-index: 120;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    min-height: 62px;
    color: var(--ink);
    background: var(--paper);
    border-top: 1px solid var(--line);
  }

  .mobile-contact a {
    display: grid;
    place-items: center;
    font-weight: 700;
  }

  .mobile-contact a:last-child {
    color: var(--paper);
    background: var(--forest);
  }
}
