:root {
  --green-950: #0c2a23;
  --green-900: #12372e;
  --green-800: #1e4a3c;
  --green-700: #2e5b4d;
  --gold: #d2ae63;
  --gold-light: #efd895;
  --mist: #f7f8f4;
  --leaf: #b8c5b8;
  --ink: #18201d;
  --white: #ffffff;
  --line: rgba(18, 55, 46, 0.16);
  --shell: min(1240px, calc(100vw - 96px));
  --header-height: 76px;
  --shadow: 0 18px 50px rgba(11, 42, 34, 0.16);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --scroll-progress: 0;
  --hero-ribbon-scale: 0.35;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--mist);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

main {
  position: relative;
  overflow: clip;
}

::selection {
  color: var(--green-950);
  background: var(--gold-light);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--green-700) var(--mist);
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: var(--mist);
}

*::-webkit-scrollbar-thumb {
  background: var(--green-700);
  border: 2px solid var(--mist);
  border-radius: 999px;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}

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

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

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 650;
  line-height: 1.16;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.3rem, 4.6vw, 4.8rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--green-950);
  background: var(--gold-light);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(88px, 10vw, 150px);
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.brand-label,
.case-client {
  color: #806020;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 28px;
  color: var(--green-900);
  font-weight: 650;
  text-decoration: none;
}

.text-link span {
  transition: transform 260ms var(--ease-out);
}

.text-link:hover span {
  transform: translateX(6px);
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease, transform 220ms var(--ease-out), box-shadow 220ms ease;
}

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

.button:active {
  transform: translateY(0);
}

.button-gold {
  color: var(--green-950);
  background: var(--gold);
  box-shadow: 0 10px 28px rgba(5, 27, 21, 0.2);
}

.button-gold:hover {
  background: var(--gold-light);
  box-shadow: 0 14px 34px rgba(5, 27, 21, 0.28);
}

.button-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(11, 42, 34, 0.2);
}

.button-outline-light:hover {
  color: var(--green-950);
  border-color: var(--white);
  background: var(--white);
}

.button-outline-dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.54);
  background: transparent;
}

.button-outline-dark:hover {
  color: var(--green-950);
  border-color: var(--white);
  background: var(--white);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background-color 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.site-header.is-scrolled,
.site-header.menu-visible {
  background: rgba(12, 42, 35, 0.96);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 34px rgba(6, 25, 20, 0.18);
}

@supports (backdrop-filter: blur(14px)) {
  .site-header.is-scrolled,
  .site-header.menu-visible {
    background: rgba(12, 42, 35, 0.86);
    backdrop-filter: blur(14px);
  }
}

.header-inner {
  width: min(1400px, calc(100vw - 72px));
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  align-items: center;
  gap: 32px;
}

.wordmark {
  width: fit-content;
  min-height: 44px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  text-decoration: none;
}

.wordmark-cn {
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.wordmark-en {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.18em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.3vw, 36px);
  overscroll-behavior: contain;
}

.primary-nav a {
  position: relative;
  padding-block: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.91rem;
  font-weight: 520;
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 1px;
  background: var(--gold-light);
  transition: right 240ms var(--ease-out);
}

.primary-nav a:hover,
.primary-nav a[aria-current="true"] {
  color: var(--white);
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="true"]::after {
  right: 0;
}

.header-cta {
  min-height: 42px;
  padding: 9px 19px;
  color: var(--green-950);
  background: var(--gold);
  font-weight: 650;
  text-decoration: none;
  transition: background-color 200ms ease, transform 200ms var(--ease-out);
}

.header-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  color: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  margin: 7px auto;
  background: currentColor;
  transition: transform 220ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4.25px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(600px, 70svh, 760px);
  display: grid;
  align-items: center;
  color: var(--white);
  background-color: var(--green-950);
  background-image: url("assets/webp/hero-desktop-2172.webp");
  background-position: 58% center;
  background-size: cover;
  isolation: isolate;
}

.hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 31, 25, 0.93) 0%, rgba(12, 49, 39, 0.78) 34%, rgba(15, 45, 37, 0.18) 68%, rgba(15, 39, 34, 0.12) 100%),
    linear-gradient(0deg, rgba(7, 31, 25, 0.72) 0%, transparent 42%, rgba(7, 26, 22, 0.22) 100%);
}

.hero-inner {
  width: min(1400px, calc(100vw - 96px));
  margin-inline: auto;
  padding-top: calc(var(--header-height) + 40px);
}

.hero-copy {
  max-width: 1280px;
}

.hero h1 {
  max-width: 16em;
  font-size: clamp(3.1rem, 4.8vw, 5rem);
  font-weight: 620;
  line-height: 1.14;
  letter-spacing: -0.035em;
  text-shadow: 0 8px 32px rgba(8, 30, 24, 0.35);
}

.hero-title-line {
  display: block;
}

@media (min-width: 901px) {
  .hero-title-line:last-child {
    white-space: nowrap;
  }
}

.hero-support {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  letter-spacing: 0.22em;
}

.hero-support i {
  margin-inline: 0.28em;
  color: var(--gold-light);
  font-style: normal;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.hero-note {
  position: absolute;
  right: max(48px, calc((100vw - 1400px) / 2));
  bottom: 104px;
  max-width: 16em;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
}

.hero-ribbon {
  position: absolute;
  z-index: 2;
  left: max(48px, calc((100vw - 1400px) / 2 + 190px));
  right: max(56px, calc((100vw - 1400px) / 2));
  bottom: 82px;
  height: 30px;
  pointer-events: none;
}

.hero-ribbon-line {
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(210, 174, 99, 0.92) 12%, rgba(239, 216, 149, 0.72) 82%, var(--gold) 100%);
  transform: scaleX(var(--hero-ribbon-scale));
  transform-origin: left center;
}

.hero-ribbon-knot {
  position: absolute;
  top: 7px;
  right: -1px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: rgba(12, 42, 35, 0.55);
}

.scroll-cue {
  position: absolute;
  left: max(48px, calc((100vw - 1400px) / 2));
  bottom: 42px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  min-height: 44px;
}

.scroll-cue svg {
  width: 14px;
  height: 20px;
  fill: none;
  stroke: var(--gold-light);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.page-path {
  position: absolute;
  z-index: 4;
  top: clamp(600px, 70svh, 760px);
  right: max(28px, calc((100vw - 1440px) / 2 + 12px));
  bottom: 550px;
  width: 2px;
  pointer-events: none;
}

.page-path-track,
.page-path-progress {
  position: absolute;
  inset: 0;
  transform-origin: top;
}

.page-path-track {
  background: rgba(46, 91, 77, 0.16);
}

.page-path-progress {
  background: linear-gradient(180deg, var(--gold), var(--green-700) 72%, var(--gold));
  transform: scaleY(var(--scroll-progress));
}

/* Ecogoods */
.ecogoods {
  padding-bottom: 0;
  background: var(--mist);
}

.ecogoods-intro {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 11vw;
  align-items: end;
}

.ecogoods .section-heading h2 {
  margin-top: 18px;
  color: var(--green-900);
}

.section-copy {
  max-width: 36rem;
  padding-bottom: 8px;
  color: #3f4c47;
  font-size: 1.06rem;
}

.produce-rail {
  width: min(1440px, calc(100vw - 48px));
  margin: clamp(64px, 8vw, 112px) auto 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  background: var(--green-900);
  overflow: hidden;
}

.produce-item {
  position: relative;
  min-width: 0;
  aspect-ratio: 0.69;
  overflow: hidden;
  background: var(--green-900);
}

.produce-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 700ms var(--ease-out), filter 400ms ease;
}

.produce-item::after {
  content: "";
  position: absolute;
  inset: 52% 0 0;
  background: linear-gradient(180deg, transparent, rgba(6, 29, 23, 0.84));
}

.produce-item figcaption {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 18px;
  left: 18px;
  color: var(--white);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
}

.produce-item figcaption span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.produce-item:hover img {
  transform: scale(1.065);
  filter: saturate(1.06);
}

.produce-source-pair {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.produce-item-source-pair .produce-source-photo {
  object-position: 56% center;
}

.produce-item-source-pair .produce-detail-photo {
  position: absolute;
  z-index: 1;
  top: 14px;
  right: 14px;
  width: 46%;
  height: 34%;
  object-position: center;
  border: 3px solid rgba(247, 248, 244, 0.9);
  box-shadow: 0 10px 28px rgba(7, 30, 24, 0.24);
}

.produce-item-source-pair:hover .produce-detail-photo {
  transform: translateY(-2px) scale(1.025);
}

/* About */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(380px, 0.84fr);
  gap: clamp(54px, 8vw, 124px);
  align-items: center;
}

.about-media {
  position: relative;
}

.about-product-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  background: var(--green-900);
  box-shadow: var(--shadow);
}

.about-media p {
  position: absolute;
  right: -32px;
  bottom: -34px;
  width: min(320px, 72%);
  padding: 24px 28px;
  color: var(--green-950);
  background: var(--gold-light);
  font-size: 1.04rem;
  font-weight: 620;
  line-height: 1.55;
}

.about-copy h2 {
  color: var(--green-900);
}

.about-copy > p {
  max-width: 36rem;
  margin-top: 30px;
  color: #44514c;
  font-size: 1.06rem;
}

.about-roles {
  margin-top: 46px;
  border-top: 1px solid var(--line);
}

.about-roles > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.about-roles dt {
  color: var(--green-900);
  font-weight: 650;
}

.about-roles dd {
  color: #59625e;
}

/* Scenes */
.scenes {
  color: var(--white);
  background: var(--green-950);
}

.scenes-head {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  gap: 10vw;
  align-items: end;
}

.scenes-head h2 {
  color: var(--white);
}

.scenes-head > p {
  max-width: 30rem;
  color: rgba(255, 255, 255, 0.7);
}

.scene-list {
  margin-top: clamp(58px, 7vw, 90px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}

.scene-list li {
  min-height: 236px;
  padding: 34px 36px 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.scene-list li:not(:nth-child(3n + 1)) {
  padding-left: 36px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.scene-list svg {
  width: 44px;
  height: 44px;
  color: var(--gold-light);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scene-list h3 {
  margin-top: 26px;
  color: var(--white);
}

.scene-list p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.64);
}

/* Chain */
.chain {
  background: var(--mist);
}

.chain-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 10vw;
}

.chain-intro {
  position: sticky;
  top: calc(var(--header-height) + 50px);
  align-self: start;
}

.chain-intro h2 {
  color: var(--green-900);
}

.chain-intro p {
  max-width: 31rem;
  margin-top: 28px;
  color: #4d5a55;
}

.chain-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.chain-steps li {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 20px;
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
}

.chain-steps li > span {
  color: #806020;
  font-variant-numeric: tabular-nums;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
}

.chain-steps h3 {
  color: var(--green-900);
}

.chain-steps p {
  margin-top: 8px;
  color: #5d6763;
}

/* Services */
.services {
  background: #edf1ec;
}

.services-intro {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 12vw;
  align-items: end;
}

.services-intro h2 {
  color: var(--green-900);
}

.services-intro > p {
  max-width: 32rem;
  color: #46534e;
}

.service-editorial {
  margin-top: clamp(64px, 8vw, 108px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 62px);
}

.service-story {
  border-top: 2px solid var(--green-900);
}

.service-story:nth-child(2) {
  margin-top: 44px;
}

.service-story:nth-child(3) {
  margin-top: 88px;
}

.service-image {
  position: relative;
  margin-top: 18px;
  aspect-ratio: 1.06;
  overflow: hidden;
  background: var(--green-900);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out), filter 400ms ease;
}

.service-story:hover .service-image img {
  transform: scale(1.018);
  filter: saturate(1.04) contrast(1.015);
}

.service-visual {
  display: grid;
  gap: 3px;
  isolation: isolate;
}

.service-visual::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 54% 0 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(7, 30, 24, 0.74));
}

.service-visual figcaption {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 15px;
  left: 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.service-visual-brand {
  grid-template-rows: 1.3fr 0.7fr;
  background: #eee5dc;
}

.service-visual-brand .service-visual-brand-result {
  object-fit: contain;
  background: #f2e9e0;
}

.service-visual-brand-process {
  object-position: center 52%;
}

.service-visual-media {
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  grid-template-rows: repeat(2, 1fr);
}

.service-visual-media-scene {
  grid-row: 1 / 3;
  object-position: 44% center;
}

.service-visual-media-content {
  grid-column: 2;
  grid-row: 1;
  object-position: center 18%;
}

.service-visual-media-story {
  grid-column: 2;
  grid-row: 2;
  object-position: center 24%;
}

.service-visual-commerce {
  grid-template-columns: minmax(0, 1.38fr) minmax(118px, 0.62fr);
  background: #f2f2ee;
}

.service-visual-commerce-shelf {
  object-position: 52% center;
}

.service-visual-commerce-app {
  object-position: center top;
}

.service-story > div:last-child {
  padding-top: 28px;
}

.service-story h3 {
  color: var(--green-900);
}

.service-story p {
  margin-top: 14px;
  color: #56615c;
}

/* Advantages */
.advantages {
  background: var(--white);
}

.advantage-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) 1.28fr;
  gap: 10vw;
}

.advantage-intro {
  position: sticky;
  top: calc(var(--header-height) + 50px);
  align-self: start;
}

.advantage-intro h2 {
  color: var(--green-900);
}

.advantage-intro p {
  max-width: 28rem;
  margin-top: 26px;
  color: #51605a;
}

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

.advantage-list article {
  position: relative;
  padding: 38px 0 38px 74px;
  border-bottom: 1px solid var(--line);
  counter-increment: advantage;
}

.advantage-list article::before {
  content: counter(advantage, decimal-leading-zero);
  position: absolute;
  top: 42px;
  left: 0;
  color: #806020;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
}

.advantage-list h3 {
  color: var(--green-900);
}

.advantage-list p {
  max-width: 42rem;
  margin-top: 12px;
  color: #5a6560;
}

/* Cases */
.cases {
  color: var(--white);
  background: var(--green-950);
}

.cases-heading {
  display: grid;
  grid-template-columns: 1fr 0.52fr;
  gap: 10vw;
  align-items: end;
}

.cases-heading h2 {
  color: var(--white);
}

.cases-heading p {
  color: rgba(255, 255, 255, 0.62);
}

.case-stream {
  margin-top: clamp(72px, 10vw, 140px);
}

.case-study {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(54px, 8vw, 120px);
  align-items: center;
}

.case-study + .case-study {
  margin-top: clamp(120px, 14vw, 200px);
}

.case-study-right {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
}

.case-media {
  overflow: hidden;
  background: var(--green-800);
}

.case-media > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.32;
  object-fit: cover;
}

.case-media-duo {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3px;
  background: var(--gold);
}

.case-media-duo img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.case-media-duo img:last-child {
  object-position: center top;
}

.case-media-store-app {
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(150px, 0.45fr);
  gap: 3px;
  background: var(--gold);
}

.case-media-store-app img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.case-media-store-app img:first-child {
  object-position: center;
}

.case-media-store-app img:last-child {
  object-position: center top;
}

.case-media-market {
  min-height: 460px;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr) minmax(150px, 0.72fr);
  grid-template-rows: repeat(2, 230px);
  gap: 3px;
  background: var(--gold);
}

.case-media-market img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-media-market .market-store {
  grid-column: 1;
  grid-row: 1 / 3;
  object-position: 54% center;
}

.case-media-market .market-shelf {
  grid-column: 2;
  grid-row: 1;
  object-position: 52% center;
}

.case-media-market .market-display {
  grid-column: 2;
  grid-row: 2;
  object-position: 48% center;
}

.case-media-market .market-app {
  grid-column: 3;
  grid-row: 1 / 3;
  object-fit: contain;
  object-position: center top;
  background: #eef1ed;
}

.case-media-stack {
  position: relative;
  min-height: 570px;
  overflow: visible;
  background: transparent;
}

.case-media-stack img:first-child {
  width: 84%;
  height: 500px;
  object-fit: cover;
}

.case-media-stack img:last-child {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  height: 310px;
  object-fit: cover;
  border: 10px solid var(--green-950);
}

.case-client {
  color: var(--gold-light);
}

.case-copy h3 {
  margin-top: 22px;
  color: var(--white);
  font-size: clamp(2rem, 3.1vw, 3.5rem);
}

.case-copy > p:not(.case-client) {
  max-width: 36rem;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.68);
}

.case-evidence {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px 48px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.case-evidence dt {
  color: var(--gold-light);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 620;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.case-evidence dd {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.82rem;
}

/* Belief */
.belief {
  min-height: 680px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green-950);
  overflow: hidden;
}

.belief-media {
  position: absolute;
  inset: 0;
}

.belief-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.belief-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 30, 24, 0.95) 0%, rgba(8, 38, 30, 0.78) 48%, rgba(9, 33, 27, 0.4) 100%);
}

.belief-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.belief-copy {
  position: relative;
}

.belief-copy h2 {
  max-width: 11em;
  color: var(--white);
}

.belief-copy p {
  max-width: 38rem;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

/* Contact */
.contact {
  color: var(--white);
  background: var(--green-900);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.52fr);
  gap: clamp(64px, 11vw, 150px);
  align-items: center;
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy > p {
  max-width: 41rem;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.06rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.copy-status {
  min-height: 1.75em;
  margin-top: 14px !important;
  color: var(--gold-light) !important;
  font-size: 0.9rem !important;
}

.contact-meta {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 8px 22px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-meta span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.86rem;
}

.contact-meta strong {
  font-weight: 560;
  font-variant-numeric: tabular-nums;
}

.contact-poster {
  max-width: 390px;
  justify-self: end;
}

.contact-poster img {
  width: 100%;
  max-height: 580px;
  object-fit: cover;
  object-position: center 82%;
  box-shadow: 0 24px 60px rgba(5, 27, 21, 0.35);
}

.contact-poster figcaption {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  text-align: center;
}

/* Footer */
.site-footer {
  padding-block: 44px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--green-950);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr auto auto;
  gap: 56px;
  align-items: end;
}

.footer-grid strong {
  color: var(--white);
  font-size: 1rem;
}

.footer-grid div p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer-grid nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.84rem;
  text-decoration: none;
}

.footer-grid nav a:hover {
  color: var(--white);
}

.footer-grid > p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  white-space: nowrap;
}

/* Motion: content remains visible when JavaScript is unavailable. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 780ms var(--ease-out), transform 780ms var(--ease-out);
}

.js [data-reveal="image"] {
  transform: translateY(16px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
}

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

.js [data-reveal="hero"] {
  transform: translateY(16px);
}

@media (max-width: 1120px) {
  :root {
    --shell: min(100% - 64px, 1120px);
  }

  .header-inner {
    width: calc(100vw - 48px);
    grid-template-columns: 1fr auto auto;
    gap: 20px;
  }

  .wordmark-en {
    display: none;
  }

  .primary-nav {
    gap: 18px;
  }

  .primary-nav a {
    font-size: 0.85rem;
  }

  .hero-inner {
    width: calc(100vw - 72px);
  }

  .about-grid,
  .advantage-layout {
    gap: 64px;
  }

  .about-grid {
    grid-template-columns: 1fr 0.9fr;
  }

  .scene-list li {
    padding-right: 26px;
  }

  .scene-list li:not(:nth-child(3n + 1)) {
    padding-left: 26px;
  }

  .case-study,
  .case-study-right {
    gap: 56px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
    --shell: calc(100vw - 48px);
  }

  .header-inner {
    width: calc(100vw - 36px);
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: block;
    grid-column: 2;
  }

  .header-cta {
    display: none;
  }

  .primary-nav {
    position: fixed;
    z-index: 101;
    top: var(--header-height);
    right: 0;
    left: 0;
    height: calc(100svh - var(--header-height));
    padding: 42px 28px 64px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    color: var(--white);
    background: var(--green-950);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-16px);
    transition: visibility 0s linear 260ms, opacity 260ms ease, transform 260ms var(--ease-out);
  }

  .primary-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .primary-nav a {
    width: 100%;
    padding-block: 17px;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 1.35rem;
  }

  .hero {
    min-height: 680px;
    background-image: url("assets/webp/hero-tablet-960x720.webp");
    background-position: center;
  }

  .hero-inner {
    width: calc(100vw - 48px);
  }

  .hero h1 {
    font-size: clamp(2.8rem, 7vw, 4.3rem);
  }

  .hero-note {
    display: none;
  }

  .hero-ribbon {
    left: 190px;
    right: 24px;
  }

  .scroll-cue {
    left: 24px;
  }

  .page-path {
    right: auto;
    left: 12px;
  }

  .ecogoods-intro,
  .scenes-head,
  .services-intro,
  .cases-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .produce-rail {
    width: 100%;
    padding-inline: 24px;
    grid-auto-flow: column;
    grid-auto-columns: minmax(210px, 35vw);
    grid-template-columns: none;
    gap: 3px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    background: var(--mist);
    scrollbar-color: var(--gold) transparent;
  }

  .produce-item {
    scroll-snap-align: start;
  }

  .about-grid,
  .chain-layout,
  .advantage-layout {
    grid-template-columns: 1fr;
    gap: 74px;
  }

  .about-media {
    width: calc(100% - 26px);
  }

  .chain-intro,
  .advantage-intro {
    position: static;
  }

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

  .scene-list li:not(:nth-child(3n + 1)) {
    padding-left: 0;
    border-left: 0;
  }

  .scene-list li:nth-child(even) {
    padding-left: 28px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }

  .service-editorial {
    grid-template-columns: 1fr;
    gap: 72px;
  }

  .service-story,
  .service-story:nth-child(2),
  .service-story:nth-child(3) {
    margin-top: 0;
    display: grid;
    grid-template-columns: minmax(200px, 0.75fr) 1.25fr;
    gap: 34px;
  }

  .service-image {
    margin-top: 18px;
  }

  .case-study,
  .case-study-right {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .case-study-right .case-copy {
    order: 2;
  }

  .case-study-right .case-media {
    order: 1;
  }

  .contact-grid {
    grid-template-columns: 1fr 300px;
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
  }

  .footer-grid > p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: calc(100vw - 36px);
  }

  html {
    scroll-padding-top: 78px;
  }

  .section {
    padding-block: 84px;
  }

  h2 {
    font-size: clamp(2.1rem, 10vw, 3.1rem);
  }

  .wordmark-cn {
    font-size: 0.92rem;
  }

  .hero {
    min-height: 720px;
    background-image: url("assets/webp/hero-mobile-390x720.webp");
    background-position: center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 31, 25, 0.91) 0%, rgba(12, 49, 39, 0.66) 66%, rgba(15, 45, 37, 0.18) 100%),
      linear-gradient(0deg, rgba(7, 31, 25, 0.76) 0%, transparent 50%, rgba(7, 26, 22, 0.25) 100%);
  }

  .hero-inner {
    width: calc(100vw - 36px);
    padding-top: 96px;
  }

  .hero h1 {
    max-width: 8.5em;
    font-size: clamp(2.55rem, 11.1vw, 3.45rem);
    line-height: 1.18;
  }

  .hero-support {
    max-width: 19em;
    font-size: 0.96rem;
    letter-spacing: 0.14em;
  }

  .hero-actions {
    margin-top: 32px;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-ribbon {
    left: 122px;
    bottom: 72px;
  }

  .scroll-cue {
    left: 18px;
    bottom: 36px;
  }

  .page-path {
    top: 720px;
    left: 8px;
    bottom: 480px;
  }

  .brand-label,
  .case-client {
    font-size: 0.9rem;
  }

  .section-copy,
  .about-copy > p,
  .contact-copy > p {
    font-size: 1rem;
  }

  .produce-rail {
    padding-inline: 18px;
    grid-auto-columns: 72vw;
  }

  .about-grid {
    gap: 66px;
  }

  .about-media {
    width: calc(100% - 18px);
  }

  .about-media p {
    right: -18px;
    bottom: -32px;
    width: 84%;
    padding: 19px 20px;
    font-size: 0.94rem;
  }

  .about-roles > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .scene-list {
    grid-template-columns: 1fr;
  }

  .scene-list li,
  .scene-list li:nth-child(even),
  .scene-list li:not(:nth-child(3n + 1)) {
    min-height: 0;
    padding: 28px 0;
    border-left: 0;
  }

  .scene-list li {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 0 18px;
  }

  .scene-list h3 {
    margin-top: 0;
    align-self: center;
  }

  .scene-list p {
    grid-column: 2;
  }

  .scene-list svg {
    width: 42px;
    height: 42px;
  }

  .chain-steps li {
    grid-template-columns: 54px 1fr;
    gap: 14px;
  }

  .service-story,
  .service-story:nth-child(2),
  .service-story:nth-child(3) {
    display: block;
  }

  .service-image {
    aspect-ratio: 1.08;
  }

  .advantage-list article {
    padding-left: 46px;
  }

  .case-study + .case-study {
    margin-top: 120px;
  }

  .case-media-duo {
    grid-template-columns: 1fr 0.68fr;
  }

  .case-media-duo img {
    min-height: 360px;
  }

  .case-media-store-app {
    min-height: 380px;
    grid-template-columns: minmax(0, 1.38fr) minmax(120px, 0.62fr);
  }

  .case-media-store-app img {
    height: 380px;
  }

  .case-media-market {
    min-height: 0;
    grid-template-columns: minmax(0, 1.2fr) minmax(110px, 0.8fr);
    grid-template-rows: 250px 132px;
  }

  .case-media-market .market-store {
    grid-column: 1;
    grid-row: 1;
  }

  .case-media-market .market-app {
    grid-column: 2;
    grid-row: 1;
  }

  .case-media-market .market-shelf {
    grid-column: 1;
    grid-row: 2;
  }

  .case-media-market .market-display {
    grid-column: 2;
    grid-row: 2;
  }

  .case-media-stack {
    min-height: 430px;
  }

  .case-media-stack img:first-child {
    width: 92%;
    height: 330px;
  }

  .case-media-stack img:last-child {
    width: 52%;
    height: 220px;
    border-width: 7px;
  }

  .case-copy h3 {
    font-size: 2rem;
  }

  .case-evidence {
    gap: 24px;
  }

  .belief {
    min-height: 620px;
  }

  .belief-media::after {
    background: linear-gradient(90deg, rgba(7, 30, 24, 0.92), rgba(8, 38, 30, 0.72));
  }

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

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

  .contact-actions {
    flex-direction: column;
  }

  .contact-actions .button {
    width: 100%;
  }

  .contact-poster {
    width: min(100%, 340px);
    justify-self: center;
  }

  .contact-poster img {
    max-height: 560px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    align-items: start;
  }

  .footer-grid > p {
    grid-column: auto;
  }
}

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

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
