:root {
  --ink: #11130f;
  --ink-soft: #1b1e18;
  --paper: #f7f8f4;
  --soft: #ecefe9;
  --white: #ffffff;
  --lime: #d8ff47;
  --cyan: #57d7df;
  --coral: #ff8066;
  --muted: #697067;
  --line: rgba(17, 19, 15, 0.16);
  --shell: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 max(24px, calc((100vw - 1340px) / 2));
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.14);
  transition: background .25s ease, color .25s ease, height .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  height: 64px;
  color: var(--ink);
  background: rgba(247,248,244,.94);
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(17,19,15,.06);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; font-size: 16px; font-weight: 700; }
.brand-mark { position: relative; display: inline-block; width: 30px; height: 30px; transform: rotate(45deg); }
.brand-mark i { position: absolute; display: block; background: var(--lime); }
.brand-mark i:nth-child(1) { width: 7px; height: 30px; left: 2px; top: 0; }
.brand-mark i:nth-child(2) { width: 7px; height: 21px; left: 12px; top: 9px; background: var(--cyan); }
.brand-mark i:nth-child(3) { width: 7px; height: 13px; left: 22px; top: 17px; background: var(--coral); }
.desktop-nav { display: flex; gap: 34px; font-size: 14px; }
.desktop-nav a { position: relative; opacity: .82; transition: opacity .2s ease; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--lime); transition: right .2s ease; }
.desktop-nav a:hover { opacity: 1; }
.desktop-nav a:hover::after { right: 0; }
.header-cta { justify-self: end; padding: 10px 16px; color: var(--ink); background: var(--lime); font-size: 13px; font-weight: 700; border: 1px solid var(--lime); }
.menu-toggle, .mobile-nav { display: none; }

.hero {
  position: relative;
  min-height: 650px;
  height: 88svh;
  max-height: 900px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-shade { position: absolute; inset: 0; background: rgba(4, 7, 4, .16); pointer-events: none; }
.hero-content {
  position: relative;
  z-index: 2;
  width: var(--shell);
  height: 100%;
  margin: 0 auto;
  padding-top: clamp(145px, 19vh, 190px);
}
.eyebrow, .section-label { margin: 0 0 26px; font-size: 12px; line-height: 1.4; font-weight: 700; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.72); }
.eyebrow span { width: 34px; height: 2px; background: var(--lime); }
.hero h1 { max-width: 760px; margin: 0; font-size: 76px; line-height: 1.08; font-weight: 750; }
.hero-lead { max-width: 640px; margin: 28px 0 0; font-size: 20px; line-height: 1.8; color: rgba(255,255,255,.78); }
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 50px; padding: 0 22px; border: 1px solid transparent; font-size: 14px; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--lime); }
.button-primary:hover { background: var(--white); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.34); }
.button-ghost:hover { background: rgba(255,255,255,.1); }
.hero-facts { position: absolute; left: 0; right: 0; bottom: 36px; display: flex; gap: 48px; margin: 0; }
.hero-facts div { display: flex; align-items: center; gap: 11px; min-width: 170px; }
.hero-facts dt { color: var(--lime); font: 700 11px/1 Arial, sans-serif; }
.hero-facts dd { margin: 0; color: rgba(255,255,255,.64); font-size: 12px; }
.scroll-hint { position: absolute; z-index: 3; right: 32px; bottom: 38px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.54); font: 700 10px/1 Arial, sans-serif; transform: rotate(90deg); transform-origin: right center; }
.scroll-hint span { width: 42px; height: 1px; background: var(--lime); }

.section-shell { width: var(--shell); margin: 0 auto; }
.band-light { background: var(--paper); }
.band-soft { background: var(--soft); }
.band-dark { color: var(--white); background: var(--ink); }
.band-accent { background: var(--lime); }
.section-label { color: #535a51; }
.intro { padding: 108px 0; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr); gap: 100px; align-items: end; }
.intro h2, .section-heading h2, .process-title h2, .about h2, .contact h2 { margin: 0; font-size: 48px; line-height: 1.25; font-weight: 700; }
.intro-copy p { margin: 0 0 28px; color: #4f554e; font-size: 16px; line-height: 1.95; }
.text-link { display: inline-flex; gap: 14px; align-items: center; padding-bottom: 6px; border-bottom: 1px solid var(--ink); font-size: 14px; font-weight: 700; }

.services { padding: 112px 0 124px; }
.section-heading { display: grid; grid-template-columns: 1fr 400px; gap: 80px; align-items: end; margin-bottom: 52px; }
.section-heading > p { margin: 0; color: #5f665e; font-size: 15px; line-height: 1.85; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 360px; padding: 32px; overflow: hidden; background: var(--paper); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--card-accent); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.service-card:hover::after { transform: scaleX(1); }
.accent-lime { --card-accent: var(--lime); }
.accent-cyan { --card-accent: var(--cyan); }
.accent-coral { --card-accent: var(--coral); }
.accent-ink { --card-accent: var(--ink); }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.service-no { font: 700 12px/1 Arial, sans-serif; color: var(--muted); }
.service-symbol { display: grid; place-items: center; width: 42px; height: 42px; font-size: 24px; background: var(--card-accent); border-radius: 50%; }
.service-card h3 { margin: 72px 0 18px; font-size: 25px; }
.service-card p { max-width: 470px; margin: 0; color: #565d55; line-height: 1.85; }
.service-card ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.service-card li { padding: 7px 11px; font-size: 12px; border: 1px solid var(--line); }

.capabilities { padding: 120px 0; }
.heading-on-dark .section-label { color: var(--lime); }
.heading-on-dark > p { color: rgba(255,255,255,.58); }
.capability-list { border-top: 1px solid rgba(255,255,255,.18); }
.capability-list article { display: grid; grid-template-columns: 80px 260px 1fr; gap: 38px; align-items: center; min-height: 138px; border-bottom: 1px solid rgba(255,255,255,.18); }
.capability-list span { color: var(--lime); font: 700 12px/1 Arial, sans-serif; }
.capability-list h3 { margin: 0; font-size: 21px; }
.capability-list p { max-width: 580px; margin: 0; color: rgba(255,255,255,.58); line-height: 1.8; }

.process { padding: 120px 0; }
.process-layout { display: grid; grid-template-columns: 380px 1fr; gap: 110px; }
.process-title { position: sticky; top: 100px; align-self: start; }
.process-title h2 { font-size: 40px; }
.process-title > p:last-child { margin-top: 26px; color: var(--muted); line-height: 1.8; }
.process-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-steps li { display: grid; grid-template-columns: 70px 1fr; gap: 26px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.process-steps span { color: #7a8278; font: 700 12px/1 Arial, sans-serif; padding-top: 7px; }
.process-steps h3 { margin: 0 0 11px; font-size: 21px; }
.process-steps p { margin: 0; color: #5d645b; line-height: 1.8; }

.about { padding: 120px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; }
.about-body { padding-top: 42px; }
.about-body p { color: #555c54; line-height: 1.9; }
.about-body .about-lead { margin-top: 0; color: var(--ink); font-size: 20px; line-height: 1.7; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 40px 0 0; }
.about-values div { padding-top: 18px; border-top: 3px solid var(--ink); }
.about-values dt { font-size: 19px; font-weight: 700; }
.about-values dd { margin: 8px 0 0; color: var(--muted); font-size: 12px; }

.contact { padding: 105px 0; }
.contact-inner { position: relative; }
.contact .section-label { color: var(--ink); }
.contact h2 { max-width: 760px; font-size: 54px; }
.contact p:not(.section-label) { max-width: 660px; margin: 24px 0 34px; font-size: 17px; line-height: 1.8; }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover { background: #2b3027; }

.site-footer { padding: 64px 0 28px; color: var(--white); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 54px; }
.brand-footer { margin-bottom: 16px; }
.footer-grid > div > p { margin: 0; color: rgba(255,255,255,.48); font-size: 13px; }
.footer-nav { display: flex; gap: 28px; align-items: start; color: rgba(255,255,255,.65); font-size: 13px; }
.copyright { grid-column: 1 / -1; margin: 0; padding-top: 25px; color: rgba(255,255,255,.38); font-size: 12px; border-top: 1px solid rgba(255,255,255,.12); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  :root { --shell: min(100% - 36px, 720px); }
  .site-header { height: 66px; padding: 0 18px; grid-template-columns: 1fr auto; }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; color: inherit; background: transparent; border: 0; }
  .menu-toggle span { position: absolute; width: 22px; height: 2px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle span:first-child { transform: translateY(-4px); }
  .menu-toggle span:last-child { transform: translateY(4px); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
  .mobile-nav { position: absolute; top: 66px; left: 0; right: 0; display: none; padding: 18px; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 35px rgba(17,19,15,.12); }
  .mobile-nav.open { display: grid; }
  .mobile-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .hero { min-height: 660px; height: 86svh; max-height: 820px; }
  .hero-content { padding-top: 138px; }
  .hero h1 { max-width: 560px; font-size: 54px; }
  .hero-lead { max-width: 540px; font-size: 17px; }
  .hero-facts { gap: 24px; }
  .hero-facts div { min-width: 0; }
  .scroll-hint { display: none; }
  .intro-grid, .section-heading, .process-layout, .about-grid { grid-template-columns: 1fr; gap: 42px; }
  .intro h2, .section-heading h2, .about h2 { font-size: 40px; }
  .section-heading > p { max-width: 620px; }
  .process-title { position: static; }
  .capability-list article { grid-template-columns: 48px 220px 1fr; gap: 22px; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 30px); }
  .brand { font-size: 14px; }
  .brand-mark { width: 26px; height: 26px; }
  .brand-mark i:nth-child(1) { width: 6px; height: 26px; }
  .brand-mark i:nth-child(2) { width: 6px; height: 18px; left: 11px; top: 8px; }
  .brand-mark i:nth-child(3) { width: 6px; height: 11px; left: 20px; top: 15px; }
  .hero { min-height: 640px; height: 84svh; }
  .hero-content { padding-top: 122px; }
  .eyebrow { max-width: 280px; font-size: 10px; }
  .hero h1 { max-width: 330px; font-size: 43px; line-height: 1.18; }
  .hero-lead { max-width: 340px; margin-top: 21px; font-size: 15px; line-height: 1.75; }
  .hero-actions { align-items: stretch; flex-direction: column; width: 205px; margin-top: 28px; }
  .hero-facts { bottom: 24px; gap: 10px; }
  .hero-facts div { display: block; flex: 1; }
  .hero-facts dt { margin-bottom: 7px; }
  .hero-facts dd { font-size: 10px; line-height: 1.4; }
  .intro, .services, .capabilities, .process, .about { padding: 80px 0; }
  .intro h2, .section-heading h2, .about h2, .process-title h2 { font-size: 32px; }
  .section-heading { margin-bottom: 34px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 330px; padding: 26px; }
  .service-card h3 { margin-top: 58px; }
  .capability-list article { grid-template-columns: 42px 1fr; gap: 16px; padding: 25px 0; }
  .capability-list article p { grid-column: 2; }
  .about-body { padding-top: 0; }
  .about-values { gap: 8px; }
  .about-values div { min-width: 0; }
  .about-values dd { line-height: 1.5; }
  .contact { padding: 78px 0; }
  .contact h2 { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav { flex-wrap: wrap; }
  .copyright { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
