:root {
  --ink: #0e1511;
  --ink-2: #16241c;
  --paper: #f7f4ec;
  --paper-2: #fffdf7;
  --muted: #706d64;
  --line: rgba(14, 21, 17, 0.12);
  --line-dark: rgba(247, 244, 236, 0.16);
  --green: #1d4f3b;
  --green-2: #0f2d22;
  --orange: #e56b2c;
  --gold: #d7ad68;
  --blue: #155eef;
  --white: #ffffff;
  --radius: 8px;
  --page-x: clamp(18px, 5vw, 80px);
  --section-y: clamp(58px, 7vw, 96px);
  --h1: clamp(44px, 5vw, 68px);
  --h2: clamp(32px, 3.5vw, 48px);
  --h3: clamp(24px, 2.3vw, 34px);
  --lead: clamp(16px, 1.55vw, 20px);
  --body: 16px;
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.2s ease;
}

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

.cc-header {
  position: fixed;
  z-index: 60;
  inset: 0 0 auto 0;
  display: grid;
  grid-template-columns: minmax(170px, 230px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 76px;
  padding: 0 var(--page-x);
  color: #fff;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.cc-header.is-scrolled,
.cc-header.is-open {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 17, 13, 0.84);
  backdrop-filter: blur(18px);
}

.cc-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-weight: 900;
}

.cc-brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: #f7f4ec;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
}

.cc-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.62);
}

.cc-brand-text {
  font-size: 14px;
  letter-spacing: 0.13em;
}

.cc-nav {
  display: flex;
  justify-content: center;
  gap: clamp(15px, 2vw, 34px);
  font-size: 14px;
  font-weight: 800;
}

.cc-nav > a,
.cc-nav-group > a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.18s ease;
}

.cc-nav > a:hover,
.cc-nav-group > a:hover,
.cc-nav [aria-current="page"] {
  color: #fff;
}

.cc-nav-group {
  position: relative;
}

.cc-subnav {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  display: grid;
  min-width: 192px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(7, 17, 13, 0.96);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.cc-nav-group:hover .cc-subnav,
.cc-nav-group:focus-within .cc-subnav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cc-subnav a {
  padding: 12px 14px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.72);
}

.cc-subnav a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.cc-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.cc-lang {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(42px, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(7, 17, 13, 0.22);
}

.cc-lang button {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.cc-lang button:last-child {
  border-right: 0;
}

.cc-lang button.is-active {
  background: var(--paper);
  color: var(--ink);
}

.cc-menu {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: transparent;
  color: #fff;
}

.cc-menu span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(7, 17, 13, 0.24);
  color: #fff;
  backdrop-filter: blur(12px);
}

.btn-ghost-dark {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
  color: var(--ink);
}

.home-hero {
  position: relative;
  display: grid;
  min-height: 760px;
  overflow: hidden;
  background: #030705;
  color: #fff;
}

.home-hero-media,
.home-hero-media::after,
.home-hero-media img {
  position: absolute;
  inset: 0;
}

.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05) brightness(0.72);
  transform: scale(1.02);
}

.home-hero-media::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 17, 13, 0.88), rgba(7, 17, 13, 0.34), rgba(7, 17, 13, 0.66)),
    linear-gradient(0deg, rgba(7, 17, 13, 0.92), transparent 42%, rgba(7, 17, 13, 0.42));
}

.home-hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(1100px, calc(100vw - 36px));
  margin: 0 auto;
  padding-top: 82px;
  text-align: center;
}

.home-hero h1 {
  margin: 0;
  font-size: var(--h1);
  line-height: 1.02;
  letter-spacing: 0;
  text-shadow: 0 24px 80px rgba(0, 0, 0, 0.58);
}

.home-hero-copy > p:not(.eyebrow) {
  max-width: 820px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--lead);
  line-height: 1.72;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.hero-proof {
  position: relative;
  z-index: 1;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(820px, calc(100vw - 36px));
  margin: 0 auto 34px;
  border: 1px solid rgba(247, 244, 236, 0.16);
  background: rgba(247, 244, 236, 0.1);
  backdrop-filter: blur(16px);
}

.hero-proof article {
  min-width: 0;
  padding: 16px 20px;
  border-right: 1px solid rgba(247, 244, 236, 0.14);
}

.hero-proof article:last-child {
  border-right: 0;
}

.hero-proof span {
  display: block;
  font-size: clamp(19px, 2.1vw, 28px);
  font-weight: 950;
  line-height: 1.05;
}

.hero-proof strong {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.principle-band {
  padding: clamp(28px, 4vw, 44px) var(--page-x);
  background: var(--green-2);
  color: #fff;
  text-align: center;
}

.principle-band p {
  max-width: 1080px;
  margin: 0 auto;
  font-size: clamp(24px, 3.4vw, 42px);
  font-weight: 950;
  line-height: 1.12;
}

.section {
  padding: var(--section-y) var(--page-x);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(30px, 5vw, 72px);
  background: var(--paper-2);
}

.section-kicker h2,
.section-head h2,
.compact-contact h2,
.page-hero h1,
.detail-copy h2,
.case-copy-v2 h2,
.career-section h2 {
  margin: 0;
  font-size: var(--h2);
  line-height: 1.12;
  letter-spacing: 0;
}

.prose-block {
  align-self: end;
  color: #4d4a43;
  font-size: var(--body);
  line-height: 1.82;
}

.prose-block p {
  margin: 0 0 18px;
}

.prose-block p:last-child {
  margin-bottom: 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  max-width: 1280px;
  margin: 0 auto 26px;
}

.section-head h2 {
  max-width: 980px;
}

.section-head > p:not(.eyebrow) {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.section-head a {
  justify-self: end;
  padding-bottom: 8px;
  color: var(--green);
  font-weight: 900;
}

.solution-preview,
.product-preview,
.case-preview,
.org-section,
.honors-section-v2,
.scripts-section,
.product-grid-section {
  background: var(--paper);
}

.three-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
}

.feature-card {
  min-height: 300px;
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
}

.feature-card span,
.product-card span,
.case-copy-v2 .case-result-grid span,
.contact-card span,
.social-grid span,
.address-section span,
.org-grid-v2 span,
.honor-timeline-v2 time,
.career-card span,
.product-card .btn + span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature-card h3 {
  margin: 42px 0 0;
  font-size: var(--h3);
  line-height: 1.16;
}

.feature-card p {
  margin: 22px 0 0;
  color: #59554c;
  font-size: 16px;
  line-height: 1.82;
}

.dashboard-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1.28fr);
  gap: clamp(24px, 4.8vw, 62px);
  align-items: center;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background:
    linear-gradient(135deg, rgba(29, 79, 59, 0.36), transparent 40%),
    #07110d;
  color: #fff;
}

.dashboard-copy h2 {
  margin: 0;
  font-size: var(--h2);
  line-height: 1.12;
}

.dashboard-copy p:not(.eyebrow) {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
  line-height: 1.86;
}

.ops-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(247, 244, 236, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(13, 24, 17, 0.92);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.34);
}

.ops-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(247, 244, 236, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 244, 236, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000, transparent 78%);
}

.ops-panel > * {
  position: relative;
  z-index: 1;
}

.ops-top,
.ops-primary,
.ops-metrics article {
  border: 1px solid rgba(247, 244, 236, 0.12);
  background: rgba(5, 7, 6, 0.42);
}

.ops-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.ops-top span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.ops-top i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #54e58a;
  box-shadow: 0 0 18px rgba(84, 229, 138, 0.88);
}

.ops-primary {
  margin-top: 14px;
  padding: 22px;
}

.ops-primary span,
.ops-primary small,
.ops-metrics span,
.ops-metrics small {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.ops-primary strong {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0;
  color: #fff;
  font-size: clamp(46px, 5.8vw, 74px);
  line-height: 1;
}

.ops-primary em,
.ops-metrics em {
  font-style: normal;
}

.ops-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.ops-metrics article {
  min-height: 112px;
  padding: 16px;
}

.ops-metrics strong {
  display: block;
  margin: 18px 0 8px;
  color: #fff;
  font-size: clamp(21px, 2vw, 29px);
  line-height: 1;
}

.ops-bars {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  gap: 8px;
  height: 146px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(247, 244, 236, 0.12);
  background: rgba(5, 7, 6, 0.3);
}

.ops-bars div {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  min-height: 30px;
  height: var(--bar);
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #f0b66f, var(--orange));
}

.ops-bars span {
  writing-mode: vertical-rl;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.product-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1280px;
  margin: 0 auto;
}

.tool-tile {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}

.tool-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) brightness(0.74);
  transition: transform 0.25s ease;
}

.tool-tile:hover img {
  transform: scale(1.04);
}

.tool-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 17, 13, 0.86), transparent 54%);
}

.tool-tile span {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 22px;
  left: 22px;
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 950;
}

.case-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
}

.case-pair article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
}

.case-pair img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
}

.case-pair div {
  padding: clamp(22px, 3vw, 34px);
}

.case-pair span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.case-pair h3 {
  margin: 12px 0 0;
  font-size: var(--h3);
  line-height: 1.14;
}

.case-pair p {
  margin: 18px 0 0;
  color: #5a564f;
  font-size: 16px;
  line-height: 1.78;
}

.compact-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  background: var(--paper-2);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.cc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 6vw, 96px);
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

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

.cc-footer strong {
  color: #fff;
  letter-spacing: 0.14em;
}

.cc-footer a {
  color: #fff;
  font-weight: 900;
}

.page-hero {
  display: grid;
  align-items: end;
  min-height: 520px;
  padding: 136px var(--page-x) clamp(56px, 7vw, 82px);
  background:
    linear-gradient(90deg, rgba(7, 17, 13, 0.88), rgba(7, 17, 13, 0.42)),
    url("./assets/farm-fushan-town.jpg") center / cover;
  color: #fff;
}

.product-hero {
  background:
    linear-gradient(90deg, rgba(7, 17, 13, 0.9), rgba(7, 17, 13, 0.44)),
    url("./assets/cloud-tree.png") center 42% / cover;
}

.cases-hero {
  background:
    linear-gradient(90deg, rgba(7, 17, 13, 0.88), rgba(7, 17, 13, 0.38)),
    url("./assets/farm-lees-grove.jpg") center / cover;
}

.about-hero,
.contact-hero {
  background:
    linear-gradient(90deg, rgba(7, 17, 13, 0.9), rgba(7, 17, 13, 0.48)),
    url("./assets/hero-fushan-real.jpg") center / cover;
}

.page-hero > div {
  max-width: 1040px;
}

.page-hero h1 {
  max-width: 980px;
  color: #fff;
}

.page-hero p:not(.eyebrow) {
  max-width: 820px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: var(--lead);
  line-height: 1.78;
}

.compact-hero {
  min-height: 500px;
}

.method-chain {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-inline: clamp(18px, 4vw, 72px);
  background: var(--ink);
}

.method-chain article {
  min-height: 260px;
  padding: clamp(24px, 3vw, 36px);
  background: #101b15;
  color: #fff;
}

.method-chain span {
  color: var(--gold);
  font-weight: 950;
}

.method-chain h3 {
  margin: 38px 0 0;
  font-size: var(--h3);
  line-height: 1.12;
}

.method-chain p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.76;
}

.detail-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(24px, 4.8vw, 62px);
  align-items: center;
  background: var(--paper-2);
}

.detail-band.reverse {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  background: var(--paper);
}

.detail-band.reverse > :first-child {
  order: 1;
}

.detail-copy p:not(.eyebrow),
.detail-copy li {
  color: #575249;
  font-size: 17px;
  line-height: 1.86;
}

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

.tag-matrix span {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 900;
}

.dashboard-mini {
  display: grid;
  align-content: center;
  min-height: 340px;
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(229, 107, 44, 0.22), transparent 44%),
    var(--green-2);
  color: #fff;
}

.dashboard-mini span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.dashboard-mini strong {
  margin-top: 26px;
  font-size: clamp(58px, 7vw, 96px);
  line-height: 0.9;
}

.dashboard-mini p {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.76;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 22px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--orange);
}

.media-stack {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 14px;
  align-items: stretch;
}

.media-stack img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
}

.product-grid-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1fr);
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
}

.product-card.highlight {
  grid-column: 1 / -1;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
}

.product-card img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.product-card div {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(24px, 4vw, 46px);
}

.product-card h2 {
  margin: 16px 0 0;
  font-size: var(--h3);
  line-height: 1.14;
}

.product-card p {
  margin: 20px 0 28px;
  color: #59554d;
  font-size: var(--body);
  line-height: 1.8;
}

.scripts-section {
  border-top: 1px solid var(--line);
}

.script-grid-v2 {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
}

.script-grid-v2 article {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}

.script-grid-v2 article:first-child {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1fr);
}

.script-grid-v2 img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.script-grid-v2 div {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(26px, 4vw, 46px);
}

.script-grid-v2 span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.script-grid-v2 h3 {
  margin: 16px 0 0;
  font-size: var(--h3);
  line-height: 1.14;
}

.script-grid-v2 p {
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.82;
}

.script-grid-v2 a {
  margin-top: 18px;
  color: #fff;
  font-weight: 900;
}

.script-dev {
  min-height: 360px;
  background:
    linear-gradient(135deg, rgba(229, 107, 44, 0.22), transparent 48%),
    var(--green-2) !important;
}

.case-detail {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  background: var(--paper-2);
}

.case-detail.reverse {
  background: var(--paper);
}

.case-detail.reverse .case-media {
  order: 2;
}

.case-media img {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
  border-radius: var(--radius);
}

.case-copy-v2 p:not(.eyebrow) {
  color: #59554d;
  font-size: 17px;
  line-height: 1.86;
}

.case-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.case-result-grid article {
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.case-result-grid strong {
  display: block;
  margin-top: 18px;
  line-height: 1.42;
}

.case-gallery,
.cocoa-gallery {
  display: grid;
  grid-template-columns: 0.72fr 1fr 1fr;
  gap: 14px;
  padding-top: 0;
  background: var(--paper-2);
}

.cocoa-gallery {
  grid-template-columns: 1fr 0.82fr 1.18fr;
  background: var(--paper);
}

.case-gallery img,
.cocoa-gallery img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
}

.org-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1280px;
  margin: 0 auto;
}

.org-grid-v2 article {
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
}

.org-grid-v2 h3 {
  margin: 34px 0 0;
  font-size: var(--h3);
}

.org-grid-v2 p {
  color: #59554d;
  line-height: 1.78;
}

.honors-section-v2 {
  border-top: 1px solid var(--line);
}

.honor-timeline-v2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1280px;
  margin: 0 auto;
  background: var(--line);
  border: 1px solid var(--line);
}

.honor-timeline-v2 article {
  min-height: 300px;
  padding: 24px;
  background: #fffdf8;
}

.honor-timeline-v2 h3 {
  margin: 22px 0 20px;
  font-size: 24px;
  line-height: 1.25;
}

.honor-timeline-v2 p {
  color: #5e5a52;
  line-height: 1.62;
}

.career-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.48fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  background: var(--green-2);
  color: #fff;
}

.career-section p:not(.eyebrow) {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
  line-height: 1.82;
}

.career-card {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.career-card strong {
  display: block;
  margin-top: 18px;
  font-size: 26px;
  line-height: 1.15;
}

.career-card p {
  margin-bottom: 26px;
}

.contact-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  background: var(--paper-2);
}

.contact-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.contact-card strong {
  display: block;
  margin-top: 38px;
  font-size: clamp(19px, 2vw, 25px);
  overflow-wrap: anywhere;
}

.contact-card p {
  color: #5c574f;
  line-height: 1.76;
}

.social-contact-section {
  background: var(--paper);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}

.social-grid article {
  position: relative;
  min-height: 280px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
}

.social-grid h3 {
  margin: 18px 0 0;
  font-size: var(--h3);
  line-height: 1.14;
}

.social-grid p {
  color: #5c574f;
  line-height: 1.78;
}

.social-grid a {
  color: var(--green);
  font-weight: 900;
}

.wechat-card {
  overflow: visible;
}

.wechat-name {
  cursor: default;
  width: fit-content;
}

.qr-popover {
  position: absolute;
  z-index: 3;
  top: 92px;
  left: clamp(24px, 4vw, 38px);
  width: 210px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 22px 70px rgba(14, 21, 17, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.wechat-name:hover + .qr-popover,
.wechat-name:focus + .qr-popover,
.wechat-card:hover .qr-popover,
.wechat-card:focus-within .qr-popover,
.qr-popover:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.qr-popover img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.qr-popover small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  text-align: center;
}

.address-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: 0;
  background: var(--paper);
}

.address-section div {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
}

.address-section p {
  margin: 18px 0 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

@media (max-width: 1120px) {
  .cc-header {
    grid-template-columns: 1fr auto;
  }

  .cc-nav {
    position: fixed;
    inset: 76px 0 0 0;
    display: none;
    align-content: start;
    justify-content: stretch;
    gap: 0;
    padding: 22px;
    background: rgba(7, 17, 13, 0.97);
    overflow-y: auto;
  }

  body.menu-open .cc-nav {
    display: grid;
  }

  .cc-nav > a,
  .cc-nav-group > a {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 22px;
  }

  .cc-subnav {
    position: static;
    display: grid;
    min-width: 0;
    margin: 4px 0 10px;
    padding: 0 0 8px 14px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .cc-subnav a {
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.68);
  }

  .cc-menu {
    display: block;
  }

  .split-section,
  .dashboard-section,
  .detail-band,
  .detail-band.reverse,
  .case-detail,
  .case-detail.reverse,
  .career-section,
  .compact-contact {
    grid-template-columns: 1fr;
  }

  .detail-band.reverse > :first-child,
  .case-detail.reverse .case-media {
    order: 0;
  }

  .three-grid,
  .product-strip,
  .method-chain,
  .org-grid-v2,
  .honor-timeline-v2,
  .contact-grid-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid-section,
  .product-card,
  .product-card.highlight,
  .script-grid-v2,
  .script-grid-v2 article:first-child {
    grid-template-columns: 1fr;
  }

  .product-card img,
  .script-grid-v2 img {
    height: 360px;
    min-height: 0;
  }

  .contact-actions,
  .section-head a {
    justify-content: flex-start;
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .cc-header {
    min-height: 68px;
    padding-inline: 16px;
  }

  .cc-brand-mark {
    width: 38px;
    height: 38px;
  }

  .cc-brand-text {
    font-size: 13px;
  }

  .cc-lang button {
    min-width: 42px;
    min-height: 34px;
    padding-inline: 8px;
    font-size: 11px;
  }

  .cc-nav {
    inset: 68px 0 0 0;
  }

  .home-hero {
    min-height: 760px;
  }

  .home-hero-copy {
    text-align: left;
  }

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

  .hero-cta {
    justify-content: flex-start;
  }

  .hero-proof,
  .ops-metrics,
  .case-result-grid,
  .hero-proof,
  .case-pair,
  .case-gallery,
  .cocoa-gallery,
  .social-grid,
  .address-section,
  .tag-matrix {
    grid-template-columns: 1fr;
  }

  .hero-proof article {
    border-right: 0;
    border-bottom: 1px solid rgba(247, 244, 236, 0.14);
  }

  .hero-proof article:last-child {
    border-bottom: 0;
  }

  .section,
  .page-hero {
    padding-inline: 16px;
  }

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

  .section-head {
    grid-template-columns: 1fr;
  }

  .section-kicker h2,
  .section-head h2,
  .compact-contact h2,
  .page-hero h1,
  .detail-copy h2,
  .case-copy-v2 h2,
  .career-section h2 {
    font-size: 38px;
  }

  .three-grid,
  .product-strip,
  .method-chain,
  .org-grid-v2,
  .honor-timeline-v2,
  .contact-grid-v2,
  .media-stack {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .method-chain article,
  .tool-tile,
  .contact-card,
  .org-grid-v2 article,
  .honor-timeline-v2 article {
    min-height: auto;
  }

  .feature-card h3,
  .method-chain h3,
  .org-grid-v2 h3 {
    margin-top: 34px;
  }

  .ops-primary strong {
    font-size: 58px;
  }

  .ops-bars {
    height: 145px;
    gap: 6px;
    padding: 12px;
  }

  .tool-tile {
    min-height: 280px;
  }

  .product-card img {
    height: 320px;
  }

  .script-grid-v2 img,
  .script-dev,
  .media-stack img {
    min-height: 320px;
  }

  .case-gallery img,
  .cocoa-gallery img {
    height: 320px;
  }

  .qr-popover {
    position: static;
    width: min(220px, 100%);
    margin-top: 16px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }

  .cc-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Visual system refinement: keep every page in one calm company scale. */
.home-hero {
  min-height: clamp(660px, 78svh, 760px);
}

.home-hero-copy {
  width: min(980px, calc(100vw - 36px));
}

.home-hero h1 {
  max-width: 900px;
  margin-inline: auto;
}

.home-hero-media img {
  transform: none;
}

.page-hero {
  min-height: clamp(430px, 58svh, 520px);
}

.compact-hero {
  min-height: clamp(400px, 52svh, 480px);
}

.section-head {
  margin-bottom: clamp(22px, 3vw, 34px);
}

.section-head h2 {
  max-width: 840px;
}

.feature-card,
.tool-tile,
.product-card,
.case-pair article,
.org-grid-v2 article,
.honor-timeline-v2 article,
.contact-card,
.social-grid article {
  box-shadow: 0 18px 50px rgba(14, 21, 17, 0.04);
}

.feature-card h3,
.case-pair h3,
.org-grid-v2 h3,
.social-grid h3,
.script-grid-v2 h3,
.product-card h2 {
  font-size: clamp(23px, 2vw, 30px);
}

.feature-card p,
.case-pair p,
.product-card p,
.script-grid-v2 p,
.case-copy-v2 p:not(.eyebrow),
.detail-copy p:not(.eyebrow),
.detail-copy li,
.career-section p:not(.eyebrow),
.social-grid p,
.contact-card p {
  font-size: 16px;
  line-height: 1.72;
}

.feature-card h3 {
  margin-top: 34px;
}

.feature-card p {
  margin-top: 16px;
}

.tool-tile {
  min-height: 260px;
}

.tool-tile span {
  font-size: clamp(21px, 1.8vw, 26px);
}

.product-card {
  min-height: 300px;
}

.product-card div,
.script-grid-v2 div {
  padding: clamp(22px, 3vw, 38px);
}

.script-grid-v2 img,
.script-dev {
  min-height: 320px;
}

.case-gallery img,
.cocoa-gallery img {
  height: clamp(240px, 24vw, 300px);
}

.org-grid-v2 article,
.honor-timeline-v2 article {
  min-height: 260px;
}

.contact-card strong {
  margin-top: 28px;
}

@media (max-width: 1120px) {
  .home-hero {
    min-height: 700px;
  }

  .product-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ops-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --page-x: 16px;
    --section-y: 54px;
    --h1: clamp(34px, 10vw, 38px);
    --h2: clamp(28px, 8vw, 32px);
    --h3: clamp(22px, 6vw, 26px);
    --lead: 16px;
    --body: 15px;
  }

  body {
    font-size: 15px;
  }

  .btn {
    min-height: 44px;
    padding-inline: 16px;
    font-size: 13px;
  }

  .home-hero {
    min-height: 640px;
  }

  .home-hero-copy {
    width: calc(100vw - 32px);
    padding-top: 62px;
  }

  .home-hero h1 {
    margin-inline: 0;
    font-size: var(--h1);
    line-height: 1.08;
  }

  .home-hero-copy > p:not(.eyebrow) {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.66;
  }

  .hero-cta {
    gap: 10px;
    margin-top: 22px;
  }

  .hero-proof {
    width: calc(100vw - 32px);
    margin-bottom: 18px;
  }

  .hero-proof article {
    padding: 10px 12px;
  }

  .hero-proof span {
    font-size: 18px;
  }

  .hero-proof strong {
    margin-top: 4px;
    font-size: 12px;
  }

  .principle-band {
    padding-block: 24px;
  }

  .principle-band p {
    font-size: 22px;
    line-height: 1.22;
    text-align: left;
  }

  .section {
    padding-block: var(--section-y);
  }

  .page-hero {
    min-height: 420px;
    padding-top: 116px;
    padding-bottom: 42px;
  }

  .page-hero p:not(.eyebrow) {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.66;
  }

  .section-kicker h2,
  .section-head h2,
  .compact-contact h2,
  .page-hero h1,
  .detail-copy h2,
  .case-copy-v2 h2,
  .career-section h2,
  .dashboard-copy h2 {
    font-size: var(--h2);
    line-height: 1.18;
  }

  .section-head > p:not(.eyebrow),
  .dashboard-copy p:not(.eyebrow),
  .prose-block,
  .detail-copy p:not(.eyebrow),
  .detail-copy li,
  .case-copy-v2 p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.72;
  }

  .feature-card {
    padding: 20px;
  }

  .feature-card h3,
  .method-chain h3,
  .org-grid-v2 h3 {
    margin-top: 24px;
  }

  .dashboard-section {
    gap: 24px;
  }

  .ops-panel {
    padding: 16px;
  }

  .ops-primary {
    padding: 16px;
  }

  .ops-primary strong {
    font-size: 42px;
  }

  .ops-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ops-metrics article {
    min-height: 92px;
    padding: 12px;
  }

  .ops-metrics strong {
    margin-top: 12px;
    font-size: 22px;
  }

  .ops-bars {
    height: 118px;
  }

  .product-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .tool-tile {
    min-height: 164px;
  }

  .tool-tile span {
    inset: auto 14px 14px 14px;
    font-size: 20px;
    line-height: 1.16;
  }

  .product-card {
    min-height: auto;
  }

  .product-card img {
    height: 190px;
  }

  .product-card div,
  .script-grid-v2 div,
  .case-pair div {
    padding: 20px;
  }

  .product-card p {
    margin: 14px 0 20px;
  }

  .script-grid-v2 img,
  .script-dev,
  .media-stack img {
    min-height: 210px;
  }

  .script-dev {
    min-height: 260px;
  }

  .case-gallery,
  .cocoa-gallery {
    gap: 10px;
  }

  .case-gallery img,
  .cocoa-gallery img {
    height: 190px;
  }

  .case-result-grid article {
    min-height: auto;
    padding: 16px;
  }

  .org-grid-v2 article,
  .honor-timeline-v2 article,
  .contact-card,
  .social-grid article {
    padding: 20px;
  }

  .honor-timeline-v2 h3 {
    font-size: 21px;
  }

  .contact-grid-v2 {
    gap: 10px;
  }

  .contact-card strong {
    margin-top: 18px;
    font-size: 20px;
  }

  .social-grid article {
    min-height: auto;
  }
}
