:root {
  color-scheme: light;
  --ink: #12211c;
  --muted: #66726d;
  --line: #dbe4df;
  --paper: #f6f8f6;
  --white: #ffffff;
  --green: #28755e;
  --green-dark: #17392f;
  --gold: #d9972f;
  --coral: #cf5b4f;
  --shadow: 0 24px 70px rgba(16, 35, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100% - 40px));
  margin: 18px auto 0;
  padding: 12px 14px 12px 18px;
  color: #fff;
  background: rgba(18, 33, 28, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 42px rgba(16, 35, 29, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--gold));
  border-radius: 7px;
  font-size: 13px;
  letter-spacing: 0;
}

.brand-text {
  white-space: nowrap;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: currentColor;
  opacity: 0.88;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.14);
  opacity: 1;
}

.is-scrolled .site-nav a:hover {
  background: #eef4f0;
}

.nav-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
}

.nav-action {
  color: var(--ink);
  background: #fff;
}

.is-scrolled .nav-action {
  color: #fff;
  background: var(--green);
}

.hero {
  position: relative;
  min-height: min(760px, 92vh);
  padding: 150px max(24px, calc((100vw - 1180px) / 2)) 36px;
  overflow: hidden;
  color: #fff;
  background: #14241e;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("hero-workspace.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 22, 17, 0.9) 0%, rgba(10, 22, 17, 0.66) 38%, rgba(10, 22, 17, 0.18) 74%),
    linear-gradient(180deg, rgba(9, 18, 14, 0.62), rgba(9, 18, 14, 0.12) 58%, rgba(9, 18, 14, 0.78));
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-copy {
  width: min(650px, 100%);
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.65;
}

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

.button.primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 14px 34px rgba(40, 117, 94, 0.28);
}

.button.primary:hover {
  background: #236750;
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(820px, 100%);
  margin-top: 72px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
}

.hero-stats div {
  padding: 22px;
  background: rgba(15, 31, 25, 0.36);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: 18px;
}

.hero-stats span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.intro {
  padding-top: 76px;
  padding-bottom: 70px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 70px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.16;
  letter-spacing: 0;
}

.intro p,
.section-head p,
.feature-copy p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 420px;
}

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

.service-card {
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(16, 35, 29, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(40, 117, 94, 0.35);
  box-shadow: var(--shadow);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
}

.service-icon.warm {
  background: var(--gold);
}

.service-icon.coral {
  background: var(--coral);
}

.service-icon.ink {
  background: var(--green-dark);
}

.service-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 26px 0 12px;
  font-size: 22px;
}

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

.feature-band {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 82px max(24px, calc((100vw - 1180px) / 2));
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18, 33, 28, 0.98), rgba(20, 58, 48, 0.96)),
    radial-gradient(circle at 84% 12%, rgba(217, 151, 47, 0.26), transparent 28%);
}

.feature-copy .section-kicker {
  color: #f2b955;
}

.feature-copy p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.72);
}

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

.work-list a {
  min-height: 72px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

.work-list a:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.13);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  min-height: 245px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.process-list span {
  display: block;
  color: var(--green);
  font-weight: 800;
}

.process-list h3 {
  margin: 44px 0 12px;
  font-size: 22px;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.92fr 0.72fr;
  gap: 58px;
  align-items: start;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 80px;
  padding: 74px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-copy p {
  margin-top: 20px;
  max-width: 620px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f9fbfa;
  color: var(--ink);
  outline: none;
}

.contact-form input,
.contact-form select {
  height: 48px;
  padding: 0 14px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 116px;
  padding: 12px 14px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(40, 117, 94, 0.12);
}

.contact-form .button {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 22px;
  padding: 28px 20px 34px;
  color: #5d6864;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer a:hover {
  color: var(--green);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  .hero-stats,
  .intro-grid,
  .feature-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .contact-section {
    padding: 42px;
  }
}

@media (max-width: 680px) {
  .site-header {
    width: calc(100% - 24px);
    margin-top: 12px;
    padding: 10px 10px 10px 12px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .brand-text {
    font-size: 15px;
  }

  .nav-action {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero {
    padding: 118px 20px 28px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(10, 22, 17, 0.92), rgba(10, 22, 17, 0.7) 58%, rgba(10, 22, 17, 0.88)),
      linear-gradient(90deg, rgba(10, 22, 17, 0.84), rgba(10, 22, 17, 0.2));
  }

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

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .button {
    padding: 0 14px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    margin-top: 46px;
  }

  .hero-stats div {
    padding: 18px;
  }

  .section {
    width: calc(100% - 32px);
    padding: 62px 0;
  }

  .intro {
    padding-top: 56px;
    padding-bottom: 50px;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 14px;
  }

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

  .service-card,
  .process-list li {
    min-height: auto;
  }

  .feature-band {
    gap: 34px;
    padding: 60px 20px;
  }

  .contact-section {
    width: calc(100% - 32px);
    margin-bottom: 48px;
    padding: 32px 20px;
  }
}
