:root {
  --ink: #171d1b;
  --ink-soft: #36413d;
  --paper: #f7f8f5;
  --surface: #ffffff;
  --line: rgba(23, 29, 27, 0.14);
  --light-green: #edf4ef;
  --deep-green: #073c35;
  --green: #0e7a5b;
  --brass: #b6843d;
  --copper: #7f4d2f;
  --mist: #e8eee9;
  --shadow: 0 24px 70px rgba(15, 28, 24, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 48px;
  color: #fff;
  background: linear-gradient(180deg, rgba(5, 14, 13, 0.82), rgba(5, 14, 13, 0));
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(247, 248, 245, 0.92);
  box-shadow: 0 12px 34px rgba(11, 30, 24, 0.09);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  font-size: 17px;
  line-height: 1.15;
}

.brand small {
  margin-top: 2px;
  font-size: 11px;
  opacity: 0.72;
}

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

.site-nav a {
  position: relative;
  padding: 6px 0;
}

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

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.site-header.is-open .nav-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  color: var(--ink);
  background: var(--light-green);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.1) saturate(1.04);
  transform: scale(1.03);
  animation: heroDrift 950ms ease-out both;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 248, 245, 0.95) 0%, rgba(237, 244, 239, 0.86) 35%, rgba(237, 244, 239, 0.34) 66%, rgba(237, 244, 239, 0.03) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.04) 52%, rgba(7, 60, 53, 0.16));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 160px 48px 74px;
}

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

.hero h1 {
  margin: 0;
  font-size: 88px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 640px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 22px;
  line-height: 1.62;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

.button-primary {
  color: #07100e;
  background: var(--brass);
}

.button-ghost {
  color: var(--deep-green);
  border-color: rgba(7, 60, 53, 0.32);
  background: rgba(255, 255, 255, 0.5);
}

.button-ghost.light {
  color: var(--deep-green);
  border-color: rgba(7, 60, 53, 0.26);
  background: rgba(255, 255, 255, 0.54);
}

.hero-proof {
  display: grid;
  max-width: 760px;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 56px 0 0;
  border-top: 1px solid rgba(7, 60, 53, 0.2);
  border-bottom: 1px solid rgba(7, 60, 53, 0.2);
}

.hero-proof div {
  padding: 18px 20px 18px 0;
}

.hero-proof span {
  display: block;
  color: rgba(23, 29, 27, 0.58);
  font-size: 12px;
}

.hero-proof strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  font-weight: 700;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: 48px;
  bottom: 28px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
}

.scroll-cue::after {
  position: absolute;
  top: 13px;
  left: 16px;
  width: 8px;
  height: 8px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  content: "";
  transform: rotate(45deg);
  animation: cue 1.6s ease-in-out infinite;
}

.section {
  padding: 112px 0;
}

.section-inner {
  width: min(100% - 96px, 1180px);
  margin: 0 auto;
}

.split-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 92px;
  align-items: start;
}

.section-kicker {
  position: sticky;
  top: 112px;
  color: var(--ink-soft);
}

.section-kicker span {
  display: block;
  margin-bottom: 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-kicker p {
  margin: 0;
  font-size: 22px;
  line-height: 1.55;
}

.statement h2,
.section-head h2,
.method-copy h2,
.contact h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.2;
  letter-spacing: 0;
}

.statement p,
.method-copy p {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.services {
  background: var(--surface);
}

.services .section-head {
  max-width: 920px;
}

.section-head {
  max-width: 740px;
  margin-bottom: 54px;
}

#services-title {
  white-space: nowrap;
}

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

.service-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 330px;
  gap: 42px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.service-row:hover .service-index,
.service-row:focus-within .service-index {
  color: var(--brass);
}

.service-index {
  color: var(--green);
  font-size: 28px;
  font-weight: 800;
  transition: color 180ms ease;
}

.service-row h3,
.scenario-item h3,
.assurance-item h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
}

.service-row p,
.scenario-item p,
.assurance-item p {
  margin: 10px 0 0;
  color: var(--ink-soft);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  background: #fbfcfa;
}

.method-band {
  position: relative;
  overflow: hidden;
  padding: 86px 0;
  color: var(--ink);
  background: var(--light-green);
}

.method-visual {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}

.method-visual img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.18) saturate(1.04);
}

.method-band::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(237, 244, 239, 0.97), rgba(237, 244, 239, 0.9) 56%, rgba(237, 244, 239, 0.8)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(237, 244, 239, 0.72));
  content: "";
}

.method-band .section-inner {
  width: min(100% - 96px, 1080px);
}

.method-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(480px, 1fr);
  gap: 58px;
  align-items: center;
}

.method-copy h2 {
  font-size: 38px;
}

#method-title br {
  display: block;
}

#method-title {
  font-size: 34px;
}

.method-copy p {
  max-width: 520px;
  color: var(--ink-soft);
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.method-steps li {
  position: relative;
  display: grid;
  min-height: 168px;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px 16px;
  align-content: start;
  padding: 24px;
  border: 1px solid rgba(14, 122, 91, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  counter-increment: step;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.method-steps li:hover {
  border-color: rgba(182, 132, 61, 0.52);
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-3px);
}

.method-steps li::before {
  color: var(--brass);
  content: "0" counter(step);
  font-size: 18px;
  font-weight: 800;
}

.method-steps strong {
  display: block;
  font-size: 20px;
}

.method-steps span {
  display: block;
  grid-column: 2;
  margin-top: 0;
  color: var(--ink-soft);
}

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

.scenario-item {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.46);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.scenario-item:hover {
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.scenario-item span {
  display: block;
  margin-bottom: 72px;
  color: var(--green);
  font-weight: 800;
}

.assurance {
  background: var(--mist);
}

.assurance-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 42px;
}

.assurance-item {
  padding: 28px 0;
  border-top: 1px solid rgba(23, 29, 27, 0.18);
}

.contact {
  position: relative;
  overflow: hidden;
  padding: 104px 48px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(128, 188, 159, 0.98), rgba(88, 155, 124, 0.94)),
    #6fac8d;
}

.contact::before {
  position: absolute;
  inset: auto 0 0 0;
  height: 8px;
  background: linear-gradient(90deg, rgba(7, 60, 53, 0.76), rgba(182, 132, 61, 0.68), rgba(127, 77, 47, 0.54));
  content: "";
}

.contact-inner {
  width: min(100%, 980px);
  margin: 0 auto;
}

.contact h2 {
  max-width: 760px;
}

.contact address {
  margin-top: 30px;
  color: var(--ink-soft);
  font-style: normal;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 48px;
  color: var(--ink-soft);
  background: #fff;
  font-size: 13px;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

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

@keyframes heroDrift {
  from {
    opacity: 0.4;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1.03);
  }
}

@keyframes cue {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
  }
  50% {
    transform: translateY(5px) rotate(45deg);
  }
}

@media (max-width: 980px) {
  .site-header {
    height: 68px;
    padding: 0 24px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    color: var(--ink);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-header.is-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 10px;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-content {
    padding: 132px 24px 58px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-proof {
    grid-template-columns: repeat(3, 1fr);
    max-width: 420px;
    margin-top: 38px;
  }

  .hero-proof div {
    padding: 14px 0;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding: 82px 0;
  }

  .section-inner {
    width: min(100% - 48px, 1180px);
  }

  .split-layout,
  .method-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .section-kicker {
    position: static;
  }

  .statement h2,
  .section-head h2,
  .method-copy h2,
  .contact h2 {
    font-size: 32px;
  }

  #services-title {
    white-space: normal;
  }

  #method-title {
    font-size: 30px;
  }

  .service-row {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 22px;
  }

  .tag-list {
    grid-column: 2;
    justify-content: flex-start;
  }

  .method-band {
    padding: 72px 0;
  }

  .method-band .section-inner {
    width: min(100% - 48px, 1080px);
  }

  .method-copy h2 {
    font-size: 32px;
  }

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

@media (max-width: 640px) {
  .brand small {
    display: none;
  }

  .hero h1 {
    font-size: 48px;
  }

  #method-title {
    font-size: 26px;
  }

  .hero-content {
    padding: 118px 24px 48px;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .hero-proof {
    max-width: none;
  }

  .hero-proof strong {
    font-size: 14px;
  }

  .button {
    width: 100%;
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .tag-list {
    grid-column: auto;
  }

  .scenario-grid,
  .assurance-list {
    grid-template-columns: 1fr;
  }

  .scenario-item {
    min-height: auto;
  }

  .scenario-item span {
    margin-bottom: 42px;
  }

  .method-steps {
    grid-template-columns: 1fr;
  }

  .method-steps li {
    min-height: auto;
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 20px;
  }

  .contact {
    padding: 82px 24px;
  }

  .site-footer {
    display: block;
    padding: 24px;
  }

  .site-footer a {
    display: inline-block;
    margin-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
