:root {
  --forest: #245f43;
  --forest-dark: #173f30;
  --leaf: #79c66a;
  --mint: #ecf8e9;
  --paper: #f8fbf5;
  --white: #fff;
  --ink: #20382c;
  --muted: #6b7f70;
  --line: #dbead8;
  --serif: Georgia, "Songti SC", serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}
.shell {
  width: min(1160px, calc(100% - 64px));
  margin: auto;
}
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  color: var(--forest-dark);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(36, 95, 67, 0.16);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--forest);
  border-radius: 50%;
  color: var(--forest);
  font-family: var(--serif);
  font-size: 20px;
}
.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}
.brand strong {
  font-size: 16px;
}
.brand small {
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}
.nav {
  display: flex;
  gap: 30px;
}
.nav a {
  color: var(--forest);
  font-size: 13px;
  text-decoration: none;
}
.nav a:hover {
  color: var(--leaf);
}
.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--forest-dark);
  background: linear-gradient(
    145deg,
    #f7fcf5 0%,
    var(--mint) 58%,
    #dff2d7 100%
  );
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.52;
  background-image:
    linear-gradient(
      115deg,
      transparent 0 42%,
      rgba(121, 198, 106, 0.28) 42.1%,
      transparent 42.3%
    ),
    linear-gradient(
      25deg,
      transparent 0 67%,
      rgba(36, 95, 67, 0.15) 67.1%,
      transparent 67.3%
    ),
    linear-gradient(90deg, rgba(36, 95, 67, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(36, 95, 67, 0.07) 1px, transparent 1px);
  background-size:
    auto,
    auto,
    72px 72px,
    72px 72px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 86%);
  animation: network-drift 16s ease-in-out infinite alternate;
}
.hero::after {
  content: "";
  position: absolute;
  width: 680px;
  height: 210px;
  bottom: -105px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid rgba(121, 198, 106, 0.75);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px rgba(121, 198, 106, 0.08),
    0 0 0 58px rgba(121, 198, 106, 0.05);
  animation: orbit-breathe 7s ease-in-out infinite;
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  text-align: center;
  padding-top: 55px;
  animation: fade-up 0.8s ease both;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--forest);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.hero h1 {
  margin: 0;
  font-size: clamp(52px, 6.4vw, 86px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-shadow: 0 5px 18px rgba(36, 95, 67, 0.08);
}
.hero h1 em {
  display: block;
  color: var(--leaf);
  font-style: normal;
}
.hero-copy {
  max-width: 560px;
  margin: 26px auto 0;
  color: #587264;
  font-size: 16px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  padding: 12px 24px;
  background: var(--forest);
  color: #f2ffe8;
  font-weight: 700;
  text-decoration: none;
  border-radius: 3px;
  box-shadow: 0 8px 18px rgba(36, 95, 67, 0.14);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.button:hover {
  background: #2d8058;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(36, 95, 67, 0.19);
}
.text-link {
  color: var(--forest);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.25s ease;
}
.text-link span {
  color: var(--forest);
  font-size: 20px;
}
.text-link:hover {
  color: var(--leaf);
}
.hero-scroll {
  position: absolute;
  z-index: 1;
  bottom: 25px;
  left: 50%;
  color: var(--forest);
  font-size: 26px;
  transform: translateX(-50%);
  animation: scroll-pulse 1.8s ease-in-out infinite;
}
.section {
  padding: 120px 0;
  animation: section-in 0.8s ease both;
}
.section-soft {
  background: var(--mint);
}
.two-col {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 90px;
}
.section h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.prose {
  max-width: 700px;
  color: #405d4b;
}
.prose p {
  margin: 0 0 18px;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.facts dt {
  color: var(--muted);
  font-size: 12px;
}
.facts dd {
  margin: 5px 0 0;
  font-weight: 700;
  font-size: 14px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 38px;
}
.heading-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}
.product-card {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 44px;
  align-items: end;
  padding: 42px;
  background: var(--white);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(72, 117, 76, 0.13);
}
.product-card:after {
  content: "";
  position: absolute;
  right: -160px;
  top: -220px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(121, 198, 106, 0.34);
  border-radius: 50%;
  box-shadow:
    0 0 0 35px rgba(121, 198, 106, 0.045),
    0 0 0 70px rgba(121, 198, 106, 0.03);
  animation: orbit-breathe 8s ease-in-out infinite;
}
.product-copy,
.product-tags,
.product-shot {
  position: relative;
  z-index: 1;
}
.product-number {
  color: var(--forest);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.product-card h3 {
  margin: 24px 0 12px;
  font-size: 44px;
  letter-spacing: -0.05em;
}
.product-card p {
  max-width: 620px;
  margin: 8px 0;
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.product-tags {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-tags span {
  padding: 7px 10px;
  border-left: 2px solid var(--leaf);
  background: #f4faef;
  color: var(--forest);
  font-size: 12px;
}
.product-shot {
  grid-column: 1/-1;
  margin: 26px 0 0;
}
.product-shot img {
  display: block;
  width: min(100%, 560px);
  height: 230px;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--line);
  filter: saturate(0.82);
  transition:
    filter 0.3s ease,
    transform 0.3s ease;
}
.product-card:hover .product-shot img {
  filter: saturate(1);
  transform: scale(1.015);
}
.product-shot figcaption {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
}
.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}
.service-list div {
  display: grid;
  grid-template-columns: 45px 1fr;
  padding: 20px 15px 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  transition:
    padding-left 0.25s ease,
    color 0.25s ease;
}
.service-list div:hover {
  padding-left: 8px;
  color: var(--forest);
}
.service-list b {
  color: var(--forest);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 38px;
}
.case-grid article {
  min-height: 250px;
  padding: 27px;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.case-grid article:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(72, 117, 76, 0.11);
}
.case-grid span {
  color: var(--forest);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.case-grid h3 {
  margin: auto 0 10px;
  font-size: 24px;
}
.case-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.contact-box {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 90px;
}
.document-section {
  padding: 90px 0;
  background: var(--mint);
  border-top: 1px solid var(--line);
}
.document {
  max-width: 820px;
}
.document h2 {
  margin-bottom: 16px;
}
.document h3 {
  margin: 30px 0 7px;
  font-size: 18px;
}
.document p {
  color: #405d4b;
}
.footer {
  padding: 26px 0;
  background: var(--forest-dark);
  color: #b8c9bb;
  font-size: 12px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.footer span:first-child {
  color: var(--leaf);
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes network-drift {
  from {
    transform: translate3d(-10px, 0, 0);
  }
  to {
    transform: translate3d(10px, -8px, 0);
  }
}
@keyframes orbit-breathe {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.75;
  }
  50% {
    transform: translateX(-50%) scale(1.04);
    opacity: 1;
  }
}
@keyframes scroll-pulse {
  0%,
  100% {
    transform: translate(-50%, 0);
    opacity: 0.7;
  }
  50% {
    transform: translate(-50%, 7px);
    opacity: 1;
  }
}
@keyframes section-in {
  from {
    opacity: 0.55;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 760px) {
  .shell {
    width: min(100% - 36px, 560px);
  }
  .header-inner {
    min-height: 74px;
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
    gap: 12px;
  }
  .nav {
    gap: 16px;
    flex-wrap: wrap;
  }
  .hero {
    min-height: 720px;
  }
  .hero-content {
    padding-top: 95px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero-copy {
    font-size: 15px;
  }
  .two-col,
  .contact-box {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .section {
    padding: 80px 0;
  }
  .section-heading {
    display: block;
  }
  .heading-note {
    text-align: left;
    margin-top: 14px;
  }
  .product-card {
    grid-template-columns: 1fr;
    padding: 28px 25px;
    gap: 28px;
  }
  .product-card h3 {
    font-size: 38px;
  }
  .product-tags {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .service-list,
  .case-grid,
  .facts {
    grid-template-columns: 1fr;
  }
  .case-grid article {
    min-height: 190px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 6px;
  }
}

/* Palette studies: sunny summer leaves and clear sky water. */
.theme-leaf {
  --forest: #2f7d4d;
  --forest-dark: #225837;
  --leaf: #75d64d;
  --mint: #effbe7;
  --paper: #fbfdf8;
  --ink: #244b31;
  --line: #d8ebd4;
}
.theme-leaf .hero {
  background: linear-gradient(145deg, #fbfff5 0%, #e6f8d7 58%, #cceebd 100%);
}
.theme-leaf .hero::before {
  background-image:
    linear-gradient(
      115deg,
      transparent 0 42%,
      rgba(117, 214, 77, 0.26) 42.1%,
      transparent 42.3%
    ),
    linear-gradient(
      25deg,
      transparent 0 67%,
      rgba(47, 125, 77, 0.14) 67.1%,
      transparent 67.3%
    ),
    linear-gradient(90deg, rgba(47, 125, 77, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(47, 125, 77, 0.07) 1px, transparent 1px);
}
.theme-sky {
  --forest: #237aa4;
  --forest-dark: #245872;
  --leaf: #27bfd3;
  --mint: #e9f8fb;
  --paper: #fbfeff;
  --ink: #244c61;
  --line: #d5eaf0;
}
.theme-sky .hero {
  background: linear-gradient(145deg, #f8feff 0%, #d9f3f7 58%, #bde7ef 100%);
}
.theme-sky .hero::before {
  background-image:
    linear-gradient(
      115deg,
      transparent 0 42%,
      rgba(39, 191, 211, 0.24) 42.1%,
      transparent 42.3%
    ),
    linear-gradient(
      25deg,
      transparent 0 67%,
      rgba(35, 122, 164, 0.14) 67.1%,
      transparent 67.3%
    ),
    linear-gradient(90deg, rgba(35, 122, 164, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(35, 122, 164, 0.07) 1px, transparent 1px);
}
.theme-sky .hero::after {
  border-color: rgba(39, 191, 211, 0.66);
  box-shadow:
    0 0 0 28px rgba(39, 191, 211, 0.08),
    0 0 0 58px rgba(39, 191, 211, 0.05);
}
