/* =========================================================
   About page — Chengda
   Blocks follow the "About Us" template:
   Who We Are (narrative) -> key numbers -> manufacturing
   bases -> Enterprise Honor.  Same locks as design.css:
   one accent, radius 2px, no serif.
   ========================================================= */

/* ---------- 5-up metric band (design.css ships 4-up) ---------- */
@media (min-width: 1081px) {
  .metrics-5 { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 861px) and (max-width: 1080px) {
  .metrics-5 { grid-template-columns: repeat(3, 1fr); }
  .metrics-5 .metric { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .metrics-5 .metric:nth-child(-n+3) { border-top: 0; }
  .metrics-5 .metric:nth-child(3n+1) { border-left: 0; }
}

/* ---------- who we are ---------- */
.ab-who {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.ab-who h2 {
  margin: 14px 0 26px;
  font-size: clamp(30px, 3.7vw, 50px);
  line-height: 1.06;
  letter-spacing: -.032em;
  font-weight: 640;
}
.ab-who-figure {
  margin: 0;
  /* 2026-12-02：原 4/3 会把 16:9 的厂区图裁掉两侧、看着“变形” → 改成与源图同比例，零裁切 */
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-panel);
  background: #EDEFF2;
}
.ab-who-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-who-text p {
  margin: 0 0 18px;
  font-size: 15.5px;
  line-height: 1.76;
  color: var(--text-2);
}
.ab-who-text p:first-child {
  font-size: 17.5px;
  line-height: 1.62;
  color: var(--text);
  letter-spacing: -.008em;
}
.ab-who-text p:last-child { margin-bottom: 0; }

/* ---------- full-bleed band ---------- */
.ab-band {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ab-band-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(66px, 7.5vw, 116px) var(--pad);
}
.ab-sub {
  margin: 0;
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-2);
}

/* ---------- manufacturing bases ---------- */
.ab-bases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
}
.ab-base {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  overflow: hidden;
}
.ab-base-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #E9ECEF;
}
.ab-base-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s var(--ease);
}
.ab-base:hover .ab-base-img img { transform: scale(1.035); }
.ab-base-body { padding: 20px 22px 24px; }
.ab-base-loc {
  display: block;
  margin-bottom: 8px;
  font-size: 11.5px;
  font-weight: 560;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}
.ab-base-name {
  margin: 0;
  font-size: 17.5px;
  line-height: 1.28;
  letter-spacing: -.016em;
  font-weight: 640;
}
.ab-base-desc {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
}
.ab-base-note {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 9px;
  font-size: 11.5px;
  letter-spacing: .02em;
  color: var(--text-2);
  background: #F1F3F5;
  border-radius: 999px;
}

/* ---------- enterprise honor ---------- */
.ab-honor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.ab-honor-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-2);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ab-honor-item::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  margin-top: 7px;
  background: var(--accent);
  border-radius: 1px;
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .ab-bases { grid-template-columns: repeat(2, 1fr); }
  .ab-honor-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .ab-who { grid-template-columns: 1fr; }
  .ab-who h2 { margin-bottom: 20px; }
  .ab-who-figure { aspect-ratio: 16 / 9; margin: 0 0 28px; }
}
@media (max-width: 700px) {
  .ab-bases { grid-template-columns: 1fr; }
  .ab-honor-grid { grid-template-columns: 1fr; }
}
