/*
Theme Name: Huaxing
Theme URI: https://huaxingapparel.com/
Author: Huaxing Apparel
Author URI: https://huaxingapparel.com/
Description: Lightweight custom theme for Huaxing Apparel — pixel-perfect B2B custom menswear (OEM/ODM) manufacturer site. Static front page via front-page.php, SEO-ready (Rank Math), editable sub-pages.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: huaxing
*/

/* ==========================================================================
   HUAXING APPAREL — B2B Custom Menswear Manufacturer
   Design System / Global Stylesheet
   ========================================================================== */

:root {
  /* ===== STREETWEAR DARK SKIN — single source of truth (tweak here) ===== */
  /* Base blacks */
  --sk-bg: #0a0a0b;         /* page base (near-black) */
  --sk-bg-2: #101012;       /* alternating section — micro-contrast */
  --sk-bg-3: #060607;       /* deepest anchor — hero / footer / CTA / philosophy */
  --sk-surface: #141416;    /* cards / inputs */
  --sk-surface-2: #1b1b1e;  /* raised / hover */
  /* Bone-white text */
  --sk-text: #f2f1ee;                       /* primary — headings & body */
  --sk-text-2: rgba(242, 241, 238, 0.72);   /* secondary — bright enough for Windows */
  --sk-text-3: rgba(242, 241, 238, 0.50);   /* tertiary — de-emphasised labels only */
  /* Hairlines */
  --sk-line: rgba(255, 255, 255, 0.12);
  --sk-line-2: rgba(255, 255, 255, 0.22);
  /* Film grain intensity (set 0 to disable) */
  --grain: 0.03;
  /* Accent — monochrome bone, small-area emphasis only */
  --accent: #E8E4DB;
  --accent-on: #0a0a0b;

  /* ===== Semantic tokens → mapped onto the dark skin ===== */
  --bg: var(--sk-bg);
  --surface: var(--sk-surface);
  --surface-sunk: var(--sk-bg-2);
  --dark: var(--sk-bg-3);
  --dark-2: var(--sk-bg-3);
  --dark-surface: var(--sk-surface);
  --ink: var(--sk-text);
  --ink-2: var(--sk-text-2);
  --ink-3: var(--sk-text-3);
  --on-dark: var(--sk-text);
  --on-dark-2: var(--sk-text-2);
  --line: var(--sk-line);
  --line-dark: var(--sk-line);

  /* Type */
  --f-head: "Oswald", "Arial Narrow", sans-serif;
  --f-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --fs-display: clamp(40px, 5vw, 60px);
  --fs-h1: clamp(34px, 4vw, 48px);
  --fs-h2: clamp(28px, 3.2vw, 42px);
  --fs-h3: clamp(22px, 2.2vw, 26px);
  --fs-h4: 18px;
  --fs-body: 16px;
  --fs-lede: clamp(17px, 1.4vw, 20px);
  --fs-small: 14px;
  --fs-eyebrow: 12.5px;
  --tk-eyebrow: 0.18em;
  --tk-head: -0.005em;
  --tk-btn: 0.08em;
  --lh-tight: 1.1;
  --lh: 1.6;

  /* Spacing scale (8px base) */
  --s-1: 4px; --s-2: 8px; --s-3: 16px; --s-4: 24px;
  --s-5: 40px; --s-6: 64px; --s-7: 96px; --s-8: 128px;
  --section-y: clamp(72px, 9vw, 132px);

  /* Radius — sharp streetwear edges */
  --r-xs: 0; --r-sm: 0; --r-md: 2px;

  /* Container */
  --container: 1280px;
  --container-narrow: 1080px;
  --gutter: 24px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s; --dur-fast: 0.3s; --stagger: 90ms; --reveal-shift: 24px;

  /* Image treatment — full colour（老板要求不再灰暗）; hover 轻微提亮 */
  --img-filter: contrast(1.02);
  --img-filter-hover: contrast(1) brightness(1.05);

  /* ===== Legacy aliases — old --c-* names → dark skin (keeps existing rules working) ===== */
  --c-bg-dark: var(--sk-bg-3);
  --c-bg-darker: var(--sk-bg-3);
  --c-surface: var(--sk-surface);
  --c-surface-2: #1b1b1e;
  --c-border-dark: var(--sk-line);
  --c-bg-light: var(--sk-bg);
  --c-bg-light-2: var(--sk-bg-2);
  --c-border-light: var(--sk-line);
  --c-text-light: var(--sk-text);
  --c-text-light-dim: var(--sk-text-2);
  --c-text-dark: var(--sk-text);
  --c-text-dark-dim: var(--sk-text-2);
  --c-accent: var(--sk-text);
  --c-accent-dim: #26262a;
  --c-accent-light: var(--sk-text);
  --c-accent-2: var(--accent);
  --c-ink: var(--sk-text);
  --c-ink-dim: var(--sk-text-2);
  --c-line: var(--sk-line);
  --c-haze: var(--sk-bg);
  --c-haze-2: var(--sk-bg-2);
  --c-haze-hero: var(--sk-bg-2);
  --radius: var(--r-xs);
  --radius-lg: var(--r-md);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  background: var(--c-bg-light);
  color: var(--c-text-dark);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--f-head);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.12;
  margin: 0 0 16px;
  font-weight: 600;
}
p { margin: 0 0 16px; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { padding: 96px 0; }
@media (max-width: 768px) { section { padding: 64px 0; } }

.section-dark { background: var(--c-bg-dark); color: var(--c-text-light); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: var(--c-text-light-dim); }
.section-darker { background: var(--c-bg-darker); color: var(--c-text-light); }
.section-light { background: var(--c-bg-light); color: var(--c-text-dark); }
.section-white { background: var(--c-bg-light-2); color: var(--c-text-dark); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-head);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-dark-dim);
  margin-bottom: 14px;
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  display: inline-block;
}
.section-dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow { color: var(--c-text-light-dim); }

h1 { font-size: clamp(36px, 5.2vw, 64px); }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: 20px; }
.lede {
  font-size: 19px;
  max-width: 640px;
  color: var(--c-text-dark-dim);
}
.section-dark .lede,
.hero .lede,
.page-hero .lede { color: var(--c-text-light-dim); }

.section-head { margin-bottom: 56px; max-width: 820px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-head);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 16px 30px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
/* Primary CTA sits mostly on dark backgrounds (header, hero) → white fill, ink text */
.btn-primary { background: #fff; color: var(--c-text-dark); }
.btn-primary:hover { background: rgba(255,255,255,0.86); transform: translateY(-1px); }
/* On light sections, primary becomes ink fill, white text */
.section-light .btn-primary,
.section-white .btn-primary { background: var(--c-text-dark); color: #fff; }
.section-light .btn-primary:hover,
.section-white .btn-primary:hover { background: var(--c-accent-dim); }
.btn-outline-dark { border-color: var(--c-text-dark); color: var(--c-text-dark); background: transparent; }
.btn-outline-dark:hover { background: var(--c-text-dark); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,0.4); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--c-text-dark); }
.btn-block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------------- Header / Nav ---------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(11, 11, 13, 0.92);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--c-border-dark);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-head);
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
}
.brand .mark {
  width: 34px; height: 34px;
  background: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-head);
  font-size: 18px;
  color: var(--c-text-dark);
}
.brand .brand-logo {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
  padding: 3px;
  flex-shrink: 0;
}
.brand .sub { color: var(--c-text-light-dim); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-family: var(--f-head);
  font-size: 13.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--c-text-light-dim);
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; border-color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; display: block; }

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 80px; left: 0; right: 0;
    background: var(--c-bg-darker);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px var(--gutter) 32px;
    gap: 8px;
    border-bottom: 1px solid var(--c-border-dark);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
  }
  .nav-links a { width: 100%; padding: 12px 0; }
  .site-header.nav-open .nav-links {
    opacity: 1; transform: translateY(0); pointer-events: auto;
  }
  .nav-cta .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open { background: var(--c-bg-darker); }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  /* 高度随内容 + 留白自适应（不再强制占满整屏，避免大屏/高屏下方空一大块） */
  padding: clamp(124px, 15vh, 184px) 0 clamp(64px, 9vh, 112px);
  display: flex;
  align-items: center;
  background: var(--c-bg-dark);
  color: #fff;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 60% 40%, #000 10%, transparent 75%);
}
.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%);
  top: -200px; right: -200px;
  filter: blur(20px);
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .accent { color: rgba(244,243,241,0.52); }
.hero-actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero-tags {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 44px;
}
.hero-tags span {
  font-size: 12.5px;
  font-family: var(--f-head);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--c-border-dark);
  padding: 8px 14px;
  border-radius: 30px;
  color: var(--c-text-light-dim);
}

/* ---------------- Stat bar ---------------- */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--c-border-dark);
}
.stat-bar .stat {
  padding: 36px var(--gutter);
  border-right: 1px solid var(--c-border-dark);
  text-align: center;
}
.stat-bar .stat:last-child { border-right: none; }
.stat .num {
  font-family: var(--f-head);
  font-size: 34px;
  color: #fff;
  display: block;
}
.stat .label {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text-light-dim);
}
@media (max-width: 768px) {
  .stat-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-bar .stat:nth-child(2) { border-right: none; }
}

/* ---------------- Grids / Cards ---------------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--c-bg-light-2);
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,0.08); }
.card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(14,14,16,0.05);
  color: var(--c-text-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; color: var(--c-text-dark-dim); font-size: 15px; }

.card-dark {
  background: var(--c-surface);
  border: 1px solid var(--c-border-dark);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.card-dark h3 { color: #fff; }
.card-dark p { color: var(--c-text-light-dim); font-size: 15px; margin-bottom: 0; }
.card-dark .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card-dark .icon svg { width: 26px; height: 26px; }

/* ---------------- Product Category Card ---------------- */
.product-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-border-dark);
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  color: #fff;
}
.product-card .pc-art {
  position: absolute; inset: 0;
  opacity: 0.9;
}
.product-card .pc-content { position: relative; z-index: 2; }
.product-card .pc-tag {
  font-family: var(--f-head);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-light-dim);
  margin-bottom: 8px;
  display: block;
}
.product-card h3 { margin-bottom: 6px; color: #fff; }
.product-card p { font-size: 13.5px; color: var(--c-text-light-dim); margin-bottom: 0; }
.product-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,11,13,0) 30%, rgba(11,11,13,0.92) 100%);
  z-index: 1;
}

/* ---------------- Process Steps ---------------- */
.process-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  counter-reset: step;
}
@media (max-width: 980px) { .process-track { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .process-track { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding-top: 20px;
  border-top: 2px solid rgba(244,243,241,0.40);
}
.step .step-num {
  font-family: var(--f-head);
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.06em;
}
/* steps on light backgrounds */
.section-light .step,
.section-white .step { border-top-color: var(--c-text-dark); }
.section-light .step .step-num,
.section-white .step .step-num { color: var(--c-text-dark); }
.step h3 { font-size: 16px; margin: 8px 0 8px; }
.step p { font-size: 13.5px; }

/* ---------------- Table ---------------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.data-table th, .data-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--c-border-light);
}
.data-table th {
  font-family: var(--f-head);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 12.5px;
  color: var(--c-text-dark-dim);
}
.section-dark .data-table th, .section-dark .data-table td { border-color: var(--c-border-dark); }
.section-dark .data-table th { color: var(--c-text-light-dim); }
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--c-border-light); }
.section-dark .table-wrap { border-color: var(--c-border-dark); }

/* ---------------- Placeholder note ---------------- */
.todo-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 194, 60, 0.15);
  border: 1px dashed var(--c-accent-2);
  color: #8a5a00;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 30px;
  margin-bottom: 18px;
}
.section-dark .todo-note { color: var(--c-accent-2); background: rgba(255,194,60,0.08); }

/* ---------------- Forms ---------------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--f-head);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-text-light-dim);
}
.field input, .field select, .field textarea {
  background: var(--c-surface);
  border: 1px solid var(--c-border-dark);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-family: var(--f-body);
  font-size: 15px;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(255,255,255,0.55); }
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-size: 12px; color: var(--c-text-light-dim); }
.form-status {
  margin-top: 16px;
  font-size: 14px;
  display: none;
}
.form-status.is-visible { display: block; }

/* ---------------- CTA Banner ---------------- */
.cta-banner {
  background: var(--c-bg-dark);
  color: #fff;
  padding: 88px 0;
  text-align: center;
  border-top: 1px solid var(--c-border-dark);
}
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p { color: var(--c-text-light-dim); max-width: 560px; margin: 0 auto 28px; }
.cta-banner .btn-outline-light:hover { color: var(--c-text-dark); }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--c-bg-darker); color: var(--c-text-light-dim); padding: 80px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--c-border-dark);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.footer-grid li { margin-bottom: 12px; font-size: 14.5px; }
.footer-grid a:hover { color: #fff; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { max-width: 320px; font-size: 14.5px; }
.social-row { display: flex; gap: 12px; margin-top: 20px; }
.social-row a {
  width: 38px; height: 38px;
  border: 1px solid var(--c-border-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { background: #fff; border-color: #fff; color: var(--c-text-dark); }
.social-row svg { width: 16px; height: 16px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { margin-left: 18px; }

/* ---------------- WhatsApp floating button ---------------- */
.float-whatsapp {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 999;
  transition: transform 0.2s;
}
.float-whatsapp:hover { transform: scale(1.08); }
.float-whatsapp svg { width: 28px; height: 28px; fill: #fff; }

/* ---------------- Page hero (sub-pages) ---------------- */
.page-hero {
  background: var(--c-bg-dark);
  color: #fff;
  padding: 168px 0 72px;
}
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.breadcrumb { font-size: 13px; color: var(--c-text-light-dim); margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { margin: 0 8px; }

/* ---------------- Reveal animation (scroll-reveal.js) ----------------
   初始隐藏态仅在 JS 可用时生效（html.js-reveal），无 JS / JS 失败时内容照常显示。
   只动 transform / opacity（GPU 加速，不重排）。错峰 delay 由 scroll-reveal.js 行内设置。 */
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* timeline 竖线随滚动"画出来" */
.js-reveal .timeline::before { transform: scaleY(0); transform-origin: top center; transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1); }
.js-reveal .timeline.is-drawn::before { transform: scaleY(1); }

/* 减少动效：全部直接显示、无过渡（无障碍 + 防晕动） */
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js-reveal .timeline::before { transform: none !important; transition: none !important; }
}

/* ---------------- Misc utilities ---------------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-12 { gap: 12px; }
.gap-20 { gap: 20px; }
.divider { height: 1px; background: var(--c-border-light); margin: 48px 0; }
.section-dark .divider { background: var(--c-border-dark); }
.pill {
  display: inline-block;
  font-size: 12.5px;
  font-family: var(--f-head);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 30px;
  background: rgba(14,14,16,0.05);
  color: var(--c-text-dark);
  margin: 0 6px 6px 0;
}
.section-dark .pill,
.page-hero .pill {
  background: rgba(255,255,255,0.08);
  color: var(--c-text-light);
}
.pill-link { cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.pill-link:hover { background: #fff; color: var(--c-text-dark); }
.section-light .pill-link:hover,
.section-white .pill-link:hover { background: var(--c-text-dark); color: #fff; }

/* ---------------- Category blocks (Products page) ---------------- */
.category-section:nth-of-type(even) { background: var(--c-bg-light-2); }
.category-block { align-items: center; gap: 56px; }
.category-block.reverse .cat-art { order: 2; }
.category-block.reverse .cat-copy { order: 1; }
@media (max-width: 640px) {
  .category-block.reverse .cat-art,
  .category-block.reverse .cat-copy { order: initial; }
}
.cat-art {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--c-border-light);
}
.cat-art .cat-art-label {
  position: absolute;
  bottom: 18px; left: 18px;
  font-family: var(--f-head);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  border: 1px dashed rgba(255,255,255,0.35);
  padding: 6px 12px;
  border-radius: 30px;
}
/* ---------------- Certification badges ---------------- */
.cert-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.cert-badge {
  font-family: var(--f-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-text-light);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 30px;
  padding: 14px 32px;
  background: rgba(255,255,255,0.04);
}

/* ---------------- FAQ list (landing pages) ---------------- */
.faq-list { display: grid; gap: 16px; max-width: 820px; }
.faq-item {
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-md, 10px);
  padding: 22px 24px;
  background: #fff;
}
.faq-item h3 { margin: 0 0 8px; font-size: 17px; }
.faq-item p { margin: 0; color: var(--c-text-dark-dim); font-size: 14.5px; }

.spec-list { margin: 24px 0 28px; }
.spec-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--c-text-dark-dim);
}
.spec-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 14px; height: 2px;
  background: var(--c-text-dark);
}
.section-dark .spec-list li::before { background: rgba(244,243,241,0.7); }
.spec-list b { color: var(--c-text-dark); font-weight: 600; }

/* ==========================================================================
   DARK STREETWEAR SKIN — 街头暗黑潮牌皮肤（base 本就深色，此段做暗黑收尾 + 街头 polish）
   一黑到底 / 骨白单色 / 硬边 / 做旧图片。所有颜色走 :root 的 --sk-* 变量，集中可调。
   ========================================================================== */
body{ background:var(--sk-bg); color:var(--sk-text); }

/* 极细噪点颗粒（film grain）——强度由 --grain 控制，设 0 关闭；减动效时隐藏 */
body::after{
  content:""; position:fixed; inset:0; z-index:2147483000; pointer-events:none;
  opacity:var(--grain); mix-blend-mode:soft-light;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce){ body::after{ display:none; } }

/* ---- 板块：一黑到底 + 微层次 + 细线分隔 ---- */
.section-light{ background:var(--sk-bg); color:var(--sk-text); }
.section-white{ background:var(--sk-bg-2); color:var(--sk-text); }
.section-dark,.section-darker{ background:var(--sk-bg-3); color:var(--sk-text); }
.section-light + .section-white, .section-white + .section-light,
.section-white + .section-dark, .section-dark + .section-white,
.section-light + .section-dark, .section-dark + .section-light,
.section-white + .section-white, .section-light + .section-light{ border-top:1px solid var(--sk-line); }

/* ---- Header / Nav（近黑磨砂） ---- */
.site-header.is-scrolled,
.site-header.is-solid{ background:rgba(10,10,11,0.92); border-bottom-color:var(--sk-line); }
.site-header .brand{ color:var(--sk-text); }
.site-header .brand .sub{ color:var(--sk-text-2); }
.brand .brand-logo{ border:1px solid var(--sk-line); }
.site-header .nav-links a{ color:var(--sk-text-2); }
.site-header .nav-links a:hover,
.site-header .nav-links a.active{ color:var(--sk-text); border-color:var(--sk-text); }
.nav-toggle span{ background:var(--sk-text); }
@media (max-width:900px){
  .site-header .nav-links{ background:var(--sk-bg-3); border-bottom-color:var(--sk-line); }
  .site-header.nav-open{ background:var(--sk-bg-3); }
}

/* ---- Hero（近黑 + 白系微光网格） ---- */
.hero{ background:linear-gradient(180deg,#0d0d10 0%, var(--sk-bg-3) 100%); color:var(--sk-text); }
.hero h1{ color:var(--sk-text); }
.hero h1 .accent{ color:rgba(242,241,238,0.42); }
.hero .eyebrow,.hero .lede{ color:var(--sk-text-2); }
.hero-tags span{ border-color:var(--sk-line); color:var(--sk-text-2); }

/* ---- Page hero（子页顶部） ---- */
.page-hero{ background:var(--sk-bg-2); color:var(--sk-text); }
.page-hero h1{ color:var(--sk-text); }
.page-hero .eyebrow,.page-hero .lede{ color:var(--sk-text-2); }
.breadcrumb{ color:var(--sk-text-2); }
.breadcrumb a:hover{ color:var(--sk-text); }
.page-hero .pill{ background:rgba(255,255,255,0.06); color:var(--sk-text); border-color:var(--sk-line); }
.page-hero .pill-link:hover{ background:var(--sk-text); color:var(--accent-on); }

/* ---- 深色板块内元素（分隔线 / 表格 / 步骤） ---- */
.section-dark .divider{ background:var(--sk-line); }
.section-dark .data-table th,.section-dark .data-table td{ border-color:var(--sk-line); }
.section-dark .data-table th{ color:var(--sk-text-2); }
.section-dark .table-wrap{ border-color:var(--sk-line); }
.section-dark .step{ border-top-color:var(--sk-line-2); }
.section-dark .step .step-num{ color:var(--sk-text); }

/* ---- stat bar ---- */
.stat-bar{ border-top-color:var(--sk-line); }
.stat-bar .stat{ border-right-color:var(--sk-line); }
.stat .num{ color:var(--sk-text); }
.stat .label{ color:var(--sk-text-2); }

/* ---- 卡片：统一暗卡（硬边） ---- */
.card,.card-dark,.tier-card,.testimonial-card,.faq-list .faq-item{ background:var(--sk-surface); border-color:var(--sk-line); }
.card h3,.card-dark h3{ color:var(--sk-text); }
.card p,.card-dark p{ color:var(--sk-text-2); }
.card .icon,.card-dark .icon{ background:rgba(255,255,255,0.06); color:var(--sk-text); border-radius:var(--r-md); }

/* ---- 表单（暗底输入） ---- */
.field label{ color:var(--sk-text-2); }
.field input,.field select,.field textarea{ background:var(--sk-surface); border-color:var(--sk-line); color:var(--sk-text); }
.field input::placeholder,.field textarea::placeholder{ color:var(--sk-text-3); }
.field input:focus,.field select:focus,.field textarea:focus{ border-color:var(--sk-line-2); }
.field .hint{ color:var(--sk-text-2); }

/* ---- 认证徽章 ---- */
.cert-badge{ color:var(--sk-text); border-color:var(--sk-line); background:rgba(255,255,255,0.04); }

/* ---- 按钮系统（暗底：骨白填充 / 骨白细线描边） ---- */
.btn-primary,
.section-white .btn-primary,.section-light .btn-primary{ background:var(--sk-text); color:var(--accent-on); }
.btn-primary:hover,
.section-white .btn-primary:hover,.section-light .btn-primary:hover{ background:#ffffff; transform:translateY(-1px); }
.btn-outline-light,.btn-outline-dark{ border-color:var(--sk-line-2); color:var(--sk-text); background:transparent; }
.btn-outline-light:hover,.btn-outline-dark:hover{ background:var(--sk-text); color:var(--accent-on); }

/* ---- category even bg ---- */
.category-section:nth-of-type(even){ background:var(--sk-bg-2); }

/* ==========================================================================
   DYNAMIC EFFECTS — 动态效果（悬停 / 磨砂导航 / 步骤错峰淡入 / WhatsApp 脉冲）
   ========================================================================== */
/* 导航：滚动后磨砂玻璃 + 轻微阴影 */
.site-header.is-scrolled,
.site-header.is-solid{
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}

/* 产品卡片：悬停图片放大 1.05、卡片上移 4px，0.3s 过渡 */
.product-card{ transition: transform 0.3s ease, box-shadow 0.3s ease; }
.product-card .pc-art{ transition: transform 0.3s ease; }
.product-card:hover{ transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,0.12); }
.product-card:hover .pc-art{ transform: scale(1.05); }

/* How We Work 步骤：进入视口从左到右依次淡入（每个间隔 0.1s） */
.process-track .step.reveal:nth-child(1){ transition-delay: 0s; }
.process-track .step.reveal:nth-child(2){ transition-delay: 0.1s; }
.process-track .step.reveal:nth-child(3){ transition-delay: 0.2s; }
.process-track .step.reveal:nth-child(4){ transition-delay: 0.3s; }
.process-track .step.reveal:nth-child(5){ transition-delay: 0.4s; }
.process-track .step.reveal:nth-child(6){ transition-delay: 0.5s; }

/* WhatsApp 悬浮按钮：脉冲光晕 */
.float-whatsapp::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse{
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.45); }
  70%  { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* 尊重"减少动效"系统偏好 */
@media (prefers-reduced-motion: reduce){
  .float-whatsapp::after{ animation: none; }
  .process-track .step.reveal{ transition-delay: 0s !important; }
}

/* ==========================================================================
   COMPANY CULTURE — 企业文化（首页精简板块 + About 完整版）
   沿用现有 token：Oswald 标题 / Inter 正文 / 黑白灰 / 间距，无新风格
   ========================================================================== */
/* 深色文化板块（首页：philosophy） */
.culture-dark{ background:var(--c-bg-dark); color:#fff; }
.culture-dark .eyebrow{ color:rgba(244,243,241,0.62); }
.culture-dark h2{ color:#fff; }
.culture-statement{ font-size:clamp(30px,4.4vw,54px); color:#fff; margin-bottom:16px; }
.culture-sub{ color:rgba(244,243,241,0.62); font-size:18px; max-width:760px; }
.culture-link{ display:inline-flex; align-items:center; gap:8px; font-family:var(--f-head); text-transform:uppercase; letter-spacing:0.06em; font-size:13.5px; font-weight:600; color:#fff; border-bottom:1px solid rgba(255,255,255,0.4); padding-bottom:4px; transition:border-color .2s; }
.culture-link:hover{ border-color:#fff; }

/* 价值观小卡片（深色底用） */
.value-card{ background:var(--c-surface); border:1px solid var(--c-border-dark); border-radius:var(--radius-lg); padding:28px; }
.value-card h3{ color:#fff; font-size:18px; margin-bottom:10px; }
.value-card p{ color:rgba(244,243,241,0.62); font-size:14.5px; margin:0; }

/* 价值观设计感清单（About，浅色底） */
.values-list{ display:grid; grid-template-columns:repeat(2,1fr); gap:0 40px; border-top:1px solid var(--c-line,rgba(22,22,26,0.12)); margin-top:8px; }
.values-list .value-row{ position:relative; padding:24px 0 24px 28px; border-bottom:1px solid var(--c-line,rgba(22,22,26,0.12)); }
.values-list .value-row::before{ content:""; position:absolute; left:0; top:30px; width:14px; height:2px; background:var(--c-ink,#16161a); }
.values-list .value-row h3{ font-size:17px; margin:0 0 6px; }
.values-list .value-row p{ margin:0; color:var(--c-ink-dim,rgba(22,22,26,0.60)); font-size:14.5px; }
@media (max-width:640px){ .values-list{ grid-template-columns:1fr; gap:0; } }

/* 时间轴（About：How We Grew） */
.timeline{ position:relative; margin-top:12px; }
.timeline::before{ content:""; position:absolute; left:7px; top:8px; bottom:8px; width:2px; background:var(--c-line,rgba(22,22,26,0.16)); }
.timeline .tl-item{ position:relative; padding:0 0 38px 42px; }
.timeline .tl-item:last-child{ padding-bottom:0; }
.timeline .tl-item::before{ content:""; position:absolute; left:0; top:3px; width:16px; height:16px; border-radius:50%; background:var(--c-ink,#16161a); border:3px solid var(--c-bg-light,#f7f6f4); }
.timeline .tl-year{ font-family:var(--f-head); font-weight:700; letter-spacing:0.05em; font-size:15px; color:var(--c-ink,#16161a); display:inline-block; margin-bottom:4px; }
.timeline .tl-title{ font-family:var(--f-head); text-transform:uppercase; font-size:16px; margin:0 0 6px; }
.timeline .tl-item p{ margin:0; color:var(--c-ink-dim,rgba(22,22,26,0.60)); font-size:14.5px; max-width:680px; }

/* ==========================================================================
   MOBILE 优化（手机端响应式；不影响桌面端现有布局）
   ========================================================================== */
/* contact 两栏：桌面 1fr 1.4fr，手机单列堆叠（修复横向溢出根因） */
.contact-grid { grid-template-columns: 1fr 1.4fr; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr !important; gap: 40px !important; } }

/* 全局防横向溢出：安全网 + 超长英文/邮箱/URL 换行 */
html, body { overflow-x: hidden; max-width: 100%; }
p, li, a, h1, h2, h3, h4, .lede, .field label, .hint, .breadcrumb { overflow-wrap: break-word; word-wrap: break-word; }
img { max-width: 100%; height: auto; }

@media (max-width: 768px) {
  /* 询盘表单：单列、满宽、字号≥16px（防 iOS 聚焦自动缩放） */
  .form-grid { grid-template-columns: 1fr !important; }
  .field input, .field select, .field textarea { font-size: 16px; width: 100%; max-width: 100%; }
  .field input[type="file"] { font-size: 14px; }
  .card-dark { padding: 24px !important; }
  .btn { white-space: normal; }            /* 按钮文字过长时换行而非撑破 */

  /* header 留白：缩小 logo、降低行高，避免和汉堡挤在一起 */
  .nav-row { height: 64px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand .brand-logo { width: 36px; height: 36px; }

  /* 正文可读性：手机端把偏小的次要文字提到 ~16px */
  .card p, .product-card p, .step p, .value-card p,
  .values-list .value-row p, .timeline .tl-item p, .footer-grid li { font-size: 15.5px; }
  .lede { font-size: 17px; }

  /* WhatsApp 浮钮略缩 + 内移，减少遮挡表单提交按钮/内容 */
  .float-whatsapp { width: 52px; height: 52px; bottom: 18px; right: 16px; }
  .float-whatsapp svg { width: 24px; height: 24px; }
  #quote-form { padding-bottom: 8px; }
}

/* 极窄屏（≤400px）：大标题再收一档，避免难看断行 */
@media (max-width: 400px) {
  .hero h1 { font-size: 32px; }
  .page-hero h1 { font-size: 30px; }
  .culture-statement { font-size: 28px; }
  .container { padding: 0 18px; }
}

/* ==========================================================================
   首页新增：OUR WORK 滚动墙 + ONE-STOP 一体化定制（复用现有 token / 无第三方库）
   ========================================================================== */
/* One-Stop 四层定制 */
.tier-num { font-family: var(--f-head); font-weight: 700; font-size: 34px; line-height: 1; color: rgba(22,22,26,0.16); display: block; margin-bottom: 10px; }
.tier-card h3 { margin-bottom: 14px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.one-stop-tagline { text-align: center; font-family: var(--f-head); text-transform: uppercase; font-weight: 600; font-size: clamp(20px, 2.6vw, 30px); letter-spacing: 0.01em; margin: 48px auto 0; max-width: 820px; }

/* ==========================================================================
   导航整合改造 / 筛选画廊 / 一体化配图 / 工厂视频（复用现有 token，响应式）
   ========================================================================== */
/* ---- Part1: 导航下拉 ---- */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: -3px 0 0 6px; opacity: .6; transition: transform .2s; flex: 0 0 auto; }
.dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); min-width: 215px; background: rgba(11,11,13,.97); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--c-border-dark); border-radius: 10px; padding: 8px 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 1100; box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.nav-item:hover .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(4px); }
.dropdown a { display: block; padding: 11px 22px; font-family: var(--f-head); text-transform: uppercase; font-size: 12.5px; letter-spacing: .06em; color: var(--c-text-light-dim); border: none !important; white-space: nowrap; }
.dropdown a + a { border-top: 1px solid rgba(255,255,255,.08) !important; }
.dropdown a:hover { color: #fff; background: rgba(255,255,255,.05); }
@media (max-width: 900px) {
  .nav-item { flex-direction: column; align-items: flex-start; width: 100%; }
  .nav-item > a { width: 100%; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto; min-width: 0; background: transparent; border: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0 0 6px 14px; max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .nav-item.is-open .dropdown { max-height: 460px; }
  .nav-item.is-open .nav-caret { transform: rotate(225deg); }
  .dropdown a { padding: 10px 0; }
}

/* ---- Part2: Our Work 筛选画廊 ---- */
.gallery-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.gallery-filter button { font-family: var(--f-head); text-transform: uppercase; font-size: 12.5px; letter-spacing: .06em; font-weight: 600; padding: 9px 18px; border-radius: 30px; border: 1px solid var(--c-border-light); background: transparent; color: var(--c-text-dark-dim); cursor: pointer; transition: all .2s ease; }
.gallery-filter button:hover { border-color: var(--c-text-dark); color: var(--c-text-dark); }
.gallery-filter button.active { background: var(--c-text-dark); color: #fff; border-color: var(--c-text-dark); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-item { position: relative; aspect-ratio: 3/4; border-radius: var(--radius-lg); overflow: hidden; background: var(--c-surface); transition: opacity .3s ease, transform .3s ease; }
.gallery.is-switching .gallery-item { opacity: 0; transform: translateY(10px); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: transform .5s ease, filter .5s ease; }
.gallery-item:hover img { transform: scale(1.06); filter: grayscale(0); }
.gallery-item .gi-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 16px 14px; font-family: var(--f-head); text-transform: uppercase; font-size: 13px; letter-spacing: .05em; color: #fff; background: linear-gradient(transparent, rgba(11,11,13,.85)); opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
.gallery-item:hover .gi-cap { opacity: 1; transform: translateY(0); }
@media (max-width: 980px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ==========================================================================
   CUSTOMIZATION ZONE — 核心转化区（标题强视觉 / 面料·工艺分屏 / 9卡一站式服务）
   ========================================================================== */
/* 锚点跳转不被固定导航挡住 + 平滑滚动（html 已有 smooth） */
[id] { scroll-margin-top: 96px; }

/* 背景：深黑 + 中心微光 + 极淡工业网格线（::before 层缓慢漂移，90s 一格）
   桌面端顶部铺品牌平铺图（面辅料/吊牌/包装环绕、中心留白放标题），向下渐变融回深色 */
.cz {
  position: relative; overflow: hidden;
  background-color: #0b0b0c;
  background-image: radial-gradient(ellipse 62% 46% at 50% 0%, rgba(255,255,255,.045), transparent 70%);
}
.cz > .container { position: relative; z-index: 1; }
.cz::before {
  content: ""; position: absolute; inset: -140px 0 0 -140px; pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.022) 0 1px, transparent 1px 140px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.017) 0 1px, transparent 1px 140px);
  animation: cz-drift 90s linear infinite;
}
@keyframes cz-drift { to { transform: translate(140px, 140px); } }

/* 顶部标题强视觉区（居中，reveal 依次浮现） */
.cz-head { text-align: center; max-width: 880px; margin: 0 auto var(--s-7); }
.cz-head .eyebrow { justify-content: center; }
.cz-title { font-size: clamp(34px, 4.6vw, 64px); }
.cz-head .lede { max-width: 700px; margin-left: auto; margin-right: auto; }
.cz-sub { max-width: 700px; margin: 14px auto 0; font-size: 15px; line-height: 1.7; color: var(--sk-text-2); }
.cz-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.btn-arr { display: inline-block; transition: transform .25s ease; }
.btn:hover .btn-arr { transform: translateX(4px); }

/* 模块通用（顶部流动虚线 = 生产线传送带感） */
.cz-module { position: relative; margin-top: var(--s-6); padding-top: var(--s-6); }
.cz-module::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 8px, transparent 8px 16px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  animation: cz-dash 26s linear infinite;
}
@keyframes cz-dash { to { background-position: 160px 0; } }
.cz-num { display: block; font-family: var(--f-head); font-weight: 700; font-size: 14px; letter-spacing: .22em; color: var(--sk-text-3); margin-bottom: 10px; }
.cz-copy h3 { font-size: clamp(24px, 2.6vw, 34px); }
.cz-desc { margin: 0 0 16px; font-size: 15px; line-height: 1.7; color: var(--sk-text-2); }
.cz-copy .pill-row { margin-bottom: 18px; }
.tier-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
  font-family: var(--f-head); text-transform: uppercase; font-weight: 600; font-size: 12px; letter-spacing: .08em;
  color: var(--sk-text); border-bottom: 1px solid var(--sk-line-2); padding-bottom: 3px;
  transition: border-color .2s ease;
}
.tier-link:hover { border-color: var(--sk-text); }

/* 分屏模块（面料 / 工艺镜像） */
.cz-split { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.62fr); gap: clamp(24px, 3.5vw, 56px); align-items: center; }
.cz-split-rev { grid-template-columns: minmax(0, 1.62fr) minmax(0, .72fr); } /* 镜像时列宽同步反转，图格仍占宽列 */
.cz-split-rev .cz-copy { order: 2; }
.cz-split-rev .cz-grid6 { order: 1; }

/* 6 图拼贴：hover 放大 + 遮罩标题上浮；lead 图默认显示遮罩（视觉锚点） */
.cz-grid6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cz-shot { position: relative; margin: 0; aspect-ratio: 1/1; overflow: hidden; cursor: zoom-in; border-radius: var(--r-md); border: 1px solid var(--sk-line); background: var(--sk-surface); }
.cz-shot-lead { border-color: var(--sk-line-2); }
.cz-shot .czr { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.cz-shot .czr.is-active { opacity: 1; }
.cz-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.cz-shot:hover img { transform: scale(1.04); }
.cz-ol {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; padding: 14px;
  background: linear-gradient(transparent 42%, rgba(5,5,6,.88)); opacity: 0; transition: opacity .35s ease;
}
.cz-shot:hover .cz-ol, .cz-shot-lead .cz-ol { opacity: 1; }
.cz-ol b { font-family: var(--f-head); text-transform: uppercase; font-weight: 700; font-size: 13.5px; letter-spacing: .05em; color: #fff; transform: translateY(6px); transition: transform .35s ease; }
.cz-ol span { font-size: 12px; line-height: 1.5; color: rgba(242,241,238,.75); transform: translateY(6px); transition: transform .35s ease .05s; }
.cz-shot:hover .cz-ol b, .cz-shot:hover .cz-ol span, .cz-shot-lead .cz-ol b, .cz-shot-lead .cz-ol span { transform: translateY(0); }

/* 一站式服务 9 卡 */
.cz-mod-head { max-width: 700px; margin-bottom: var(--s-5); }
.cz-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cz-card {
  position: relative; display: block; padding: 20px 20px 30px;
  background: var(--sk-surface); border: 1px solid var(--sk-line); border-radius: var(--r-md);
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.cz-card:hover { border-color: var(--sk-line-2); background: var(--sk-surface-2); box-shadow: 0 14px 34px rgba(0,0,0,.38); }
.cz-card h4 { margin: 0 0 6px; font-size: 16px; }
.cz-card p { margin: 0 0 14px; font-size: 13.5px; line-height: 1.6; color: var(--sk-text-2); }
.cz-card-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cz-mini { position: relative; display: block; aspect-ratio: 1/1; overflow: hidden; cursor: zoom-in; border: 1px solid var(--sk-line); border-radius: var(--r-xs); }
.cz-mini .czr { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.cz-mini .czr.is-active { opacity: 1; }
.cz-mini img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cz-card:hover .cz-mini img { transform: scale(1.04); }
.cz-card-arr { position: absolute; right: 16px; bottom: 10px; font-size: 18px; color: var(--sk-text-2); transition: transform .25s ease, color .25s ease; }
.cz-card:hover .cz-card-arr { transform: translateX(4px); color: var(--sk-text); }

/* 巡展聚光（JS 轮流点亮；效果与 hover 相同，hover 时 JS 暂停交还） */
.cz-shot.is-live { border-color: var(--sk-line-2); }
.cz-shot.is-live img { transform: scale(1.04); }
.cz-shot.is-live .cz-ol { opacity: 1; }
.cz-shot.is-live .cz-ol b, .cz-shot.is-live .cz-ol span { transform: translateY(0); }
.cz-grid6.js-cycling .cz-shot-lead:not(.is-live):not(:hover) .cz-ol { opacity: 0; } /* 巡展时 lead 不再常亮，交给聚光 */
.cz-card.is-live { border-color: var(--sk-line-2); background: var(--sk-surface-2); box-shadow: 0 14px 34px rgba(0,0,0,.38); }
.cz-card.is-live .cz-card-imgs img { transform: scale(1.04); }
.cz-card.is-live .cz-card-arr { transform: translateX(4px); color: var(--sk-text); }

@media (prefers-reduced-motion: reduce) {
  .cz::before, .cz-module::before { animation: none; }
}

/* 平铺亮场头部：桌面 ≥1200px 用老板的品牌平铺图做顶部背景，头部文字转深色 */
/* 标题横幅：平铺原图（无滤镜无渐变），文字深色压在图片中心留白 */
.cz { padding-top: 0; }
.cz-hero { position: relative; overflow: hidden; margin-bottom: var(--s-6); }
.cz-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .3; /* ← 亮度旋钮：调 .2–.5 */ }
.cz-hero .cz-head { position: relative; z-index: 1; margin-bottom: 0; padding: clamp(88px, 10vw, 150px) var(--gutter) clamp(96px, 11vw, 170px); }

/* 移动端 */
@media (max-width: 980px) {
  .cz-split { grid-template-columns: 1fr; }
  .cz-split-rev .cz-copy { order: 1; }
  .cz-split-rev .cz-grid6 { order: 2; }
  .cz-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cz-grid6 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cz-cards { grid-template-columns: 1fr; }
  .cz-actions .btn { flex: 1 1 auto; min-width: 0; }
  .cz-ol { opacity: 1; } /* 手机无 hover，遮罩标题常显 */
  .cz-ol b, .cz-ol span { transform: none; }
}

/* ---- Part5: 工厂视频播放按钮 + modal ---- */
.video-frame { position: relative; }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 76px; height: 76px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); background: rgba(14,14,16,.45); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .25s ease, background .25s ease; z-index: 3; }
.play-btn:hover { transform: translate(-50%,-50%) scale(1.08); background: rgba(14,14,16,.65); }
.play-btn::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.video-modal { position: fixed; inset: 0; background: rgba(8,8,10,.92); display: none; align-items: center; justify-content: center; z-index: 100000; padding: 20px; }
.video-modal.is-open { display: flex; }
.video-modal-inner { position: relative; width: min(900px,100%); aspect-ratio: 16/9; background: var(--c-surface); border: 1px solid var(--c-border-dark); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; color: var(--c-text-light-dim); font-family: var(--f-head); text-transform: uppercase; letter-spacing: .06em; text-align: center; padding: 20px; overflow: hidden; }
.video-modal-inner iframe, .video-modal-inner video { width: 100%; height: 100%; border: 0; }
.video-modal-close { position: absolute; top: -44px; right: 0; background: none; border: none; color: #fff; font-size: 32px; line-height: 1; cursor: pointer; }

/* ---- Our Work — 连续滚动画廊（彩图大卡 / 悬停暂停 / 点卡开 lightbox / 街头幽灵字背景）---- */
/* Our Work 背景：工厂实拍垫底（压暗）+ 幽灵大字缓慢漂移 + 中心微光 */
#our-work {
  position: relative; overflow: hidden;
  background-color: #0a0a0b;
  background-image: radial-gradient(ellipse 58% 44% at 50% 34%, rgba(255,255,255,.05), transparent 72%);
}
#our-work > .container { position: relative; z-index: 2; }
#our-work::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("assets/images/our-work-bg-dark-atelier.webp") center / cover no-repeat;
  opacity: .6; filter: contrast(1.05) brightness(.9);
}
#our-work::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1500' height='860'%3E%3Cg font-family='Arial Black,Arial,sans-serif' font-weight='900' letter-spacing='10'%3E%3Ctext x='750' y='300' text-anchor='middle' font-size='168' fill='none' stroke='rgba(242,241,238,0.08)' stroke-width='2'%3ESTREETWEAR%3C/text%3E%3Ctext x='750' y='700' text-anchor='middle' font-size='168' fill='rgba(242,241,238,0.04)'%3ECUT %26 SEW%3C/text%3E%3C/g%3E%3Cg stroke='rgba(242,241,238,0.12)' stroke-width='2'%3E%3Cpath d='M120 130 l0 36 M102 148 l36 0'/%3E%3Cpath d='M1380 210 l0 36 M1362 228 l36 0'/%3E%3Cpath d='M220 730 l0 36 M202 748 l36 0'/%3E%3Cpath d='M1290 640 l0 36 M1272 658 l36 0'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 46% 44%;
  background-size: min(1500px, 130%) auto;
  animation: ow-drift 46s ease-in-out infinite alternate;
}
@keyframes ow-drift { to { background-position: 54% 44%; } }
@media (max-width: 640px) { #our-work::after { background-size: 220% auto; } }
@media (prefers-reduced-motion: reduce) { #our-work::after { animation: none; } }
.wk-marquee {
  /* 通栏出血：突破容器占满全屏宽 */
  width: 100vw; margin-left: calc(50% - 50vw);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.wk-track { display: flex; gap: 20px; width: max-content; padding: 6px var(--gutter); animation: wk-scroll 105s linear infinite; }
.wk-marquee:hover .wk-track { animation-play-state: paused; }
.wk-card {
  position: relative; margin: 0; flex: 0 0 auto; width: clamp(230px, 20vw, 300px); aspect-ratio: 3/4; overflow: hidden;
  border-radius: var(--r-md); background: var(--sk-surface); border: 1px solid var(--sk-line);
  cursor: zoom-in; transition: border-color .25s ease, transform .3s ease;
}
.wk-card:hover { border-color: var(--sk-line-2); transform: translateY(-4px); }
.wk-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.wk-card:hover img { transform: scale(1.05); }
.wk-name {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 46px 12px 12px; text-align: center;
  display: grid; gap: 2px;
  background: linear-gradient(transparent, rgba(8,8,10,.88));
}
.wk-name b { font-family: var(--f-head); text-transform: uppercase; font-weight: 700; font-size: 14.5px; letter-spacing: .05em; color: #fff; }
.wk-name span { font-family: var(--f-head); text-transform: uppercase; font-weight: 600; font-size: 10.5px; letter-spacing: .1em; color: rgba(242,241,238,.72); }
@keyframes wk-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) {
  .wk-marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; -webkit-mask-image: none; mask-image: none; }
  .wk-track { animation: none !important; }
  .wk-card { scroll-snap-align: start; width: 70vw; }
  .wk-name { font-size: 13.5px; padding: 36px 10px 12px; }
  #our-work { background-size: 200% auto; }
}
@media (prefers-reduced-motion: reduce) { .wk-track { animation: none !important; } }

/* Lightbox */
.wf-lightbox.lb-simple .lb-specs { display: none; }
.wf-lightbox { position: fixed; inset: 0; display: none; z-index: 100002; padding: 20px; }
.wf-lightbox.is-open { display: flex; align-items: center; justify-content: center; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(4,4,5,.92); }
.lb-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .9fr); max-width: 960px; width: 100%; max-height: 86vh; margin: 0; background: var(--sk-surface); border: 1px solid var(--sk-line); border-radius: var(--r-md); overflow: hidden; }
.lb-imgwrap { min-height: 0; background: #000; display: flex; align-items: center; justify-content: center; }
.lb-imgwrap img { width: 100%; height: 100%; max-height: 86vh; object-fit: contain; }
.lb-info { padding: 28px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; overflow-y: auto; }
.lb-info h3 { margin: 0; font-size: 22px; color: var(--sk-text); }
.lb-specs { display: grid; gap: 8px; font-size: 14px; color: var(--sk-text-2); }
.lb-specs b { color: var(--sk-text); font-weight: 600; }
.lb-close { position: absolute; top: 10px; right: 12px; z-index: 2; background: rgba(6,6,7,.7); border: 1px solid var(--sk-line); color: var(--sk-text); font-size: 26px; line-height: 1; width: 38px; height: 38px; cursor: pointer; border-radius: var(--r-xs); }
@media (max-width: 760px) {
  .lb-inner { grid-template-columns: 1fr; max-height: 92vh; }
  .lb-imgwrap img { max-height: 52vh; }
  .lb-info { padding: 20px; }
}

/* ==========================================================================
   DESIGN SYSTEM — base refinements (末尾统一覆盖，全部走新 token)
   ========================================================================== */
/* 垂直节奏 — 板块上下大留白 */
section { padding: var(--section-y) 0; }

/* 容器 */
.container { max-width: var(--container); }
.container-narrow { max-width: var(--container-narrow); margin-left: auto; margin-right: auto; padding: 0 var(--gutter); }

/* 字阶 — 收敛跳跃 + 字距 + 紧凑行高 */
h1, h2, h3, h4 { letter-spacing: var(--tk-head); line-height: var(--lh-tight); }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
.hero h1 { font-size: var(--fs-display); }
.lede { font-size: var(--fs-lede); }
.eyebrow { font-size: var(--fs-eyebrow); letter-spacing: var(--tk-eyebrow); }

/* 全局去居中 — 标题块默认左对齐（CTA 横幅仍居中作焦点锚点） */
.section-head.center { text-align: left; margin-left: 0; margin-right: 0; max-width: 820px; }
.section-head.center .eyebrow { justify-content: flex-start !important; }
.section-head.center .lede { margin-left: 0 !important; margin-right: 0 !important; }

/* 按钮 — 方正直角 + 字距；secondary = 现有 outline；新增 text-link */
.btn { border-radius: var(--r-xs); letter-spacing: var(--tk-btn); }
.btn-text { background: transparent; border: none; padding: 0; color: var(--ink); position: relative; }
.btn-text::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast); }
.btn-text:hover { color: var(--accent); }
.btn-text:hover::after { transform: scaleX(1); background: var(--accent); }

/* 药丸 → 细线方标签 */
.pill { border-radius: var(--r-xs); background: transparent; border: 1px solid var(--line); }
.section-dark .pill, .page-hero .pill { background: transparent; border-color: var(--line); }
.hero-tags span, .cert-badge, .gallery-filter button { border-radius: var(--r-xs); }

/* 小面积砖橙点缀 — 序号 / 文字链接 hover */
.tier-num { color: var(--accent); }
.culture-link:hover { border-color: var(--accent); color: var(--accent); }
.u-accent { color: var(--accent); }
.u-center { text-align: center; }

/* 图片统一滤镜（灰度+对比）+ hover 去灰 */

/* 进场动效 — 变量化（时长/缓动/位移），保留 reduced-motion 兼容 */
.js-reveal .reveal { transform: translateY(var(--reveal-shift)); transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.todo-note, .cat-art-label { border-radius: var(--r-xs); }

/* ==========================================================================
   PHASE-2 — Homepage funnel sections (全部使用阶段1 token)
   ========================================================================== */

/* ---- text-link refinement (used as "Learn More →") ---- */
.btn-text {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-head); text-transform: uppercase;
  font-size: 13px; font-weight: 600; letter-spacing: var(--tk-btn);
  width: fit-content;
}

/* ---- placeholder box (素材占位) ---- */
.ph-box {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 16px;
  background: var(--surface-sunk);
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  color: var(--ink-2);
  font-size: 13px; line-height: 1.5;
}
.section-dark .ph-box { background: rgba(255,255,255,0.04); border-color: var(--line-dark); color: var(--on-dark-2); }

/* removed: THREE WAYS section (.solution-*) — block deleted from front-page */

/* removed: From Idea / Comparison table / Numbers — sections deleted from front-page (.compare-note kept for Testimonials) */
.compare-note { margin-top: var(--s-3); font-size: 13px; color: var(--ink-2); }

/* ---- Testimonials ---- */
.testimonial-card {
  margin: 0; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: var(--s-4); display: flex; flex-direction: column;
}
.testimonial-card blockquote {
  margin: 0 0 var(--s-3); flex: 1;
  font-size: 15px; line-height: 1.7; color: var(--ink);
  position: relative; padding-top: 28px;
}
.testimonial-card blockquote::before {
  content: "\201C"; position: absolute; top: -6px; left: 0;
  font-family: var(--f-head); font-size: 44px; line-height: 1; color: var(--accent);
}
.testimonial-card figcaption { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--line); padding-top: var(--s-3); }
.testimonial-card .t-name { font-family: var(--f-head); text-transform: uppercase; font-size: 14px; letter-spacing: .04em; color: var(--ink); }
.testimonial-card .t-loc { font-size: 13px; color: var(--ink-2); }

/* ---- 11. FAQ accordion ---- */
.faq-list { max-width: 920px; }
.faq-list .faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); margin-bottom: var(--s-2); padding: 0; overflow: hidden; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; text-align: left; cursor: pointer;
  background: transparent; border: none; padding: 18px 22px;
  font-family: var(--f-head); text-transform: uppercase;
  font-size: 14.5px; letter-spacing: .02em; font-weight: 600; color: var(--ink);
}
.faq-ico { position: relative; flex: none; width: 14px; height: 14px; }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; background: var(--accent); transition: transform var(--dur-fast) var(--ease-out); }
.faq-ico::before { top: 6px; left: 0; width: 14px; height: 2px; }
.faq-ico::after { top: 0; left: 6px; width: 2px; height: 14px; }
.faq-item.is-open .faq-ico::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur) var(--ease-out); }
.faq-item.is-open .faq-a { max-height: 320px; }
.faq-a p { margin: 0; padding: 0 22px 20px; font-size: 14.5px; color: var(--ink-2); line-height: 1.65; }

/* ---- About: 6-cell numbers bar (merged from homepage Numbers) ---- */
.stat-bar-6 { grid-template-columns: repeat(3, 1fr); }
.stat-bar-6 .stat:nth-child(3n) { border-right: none; }
.stat-bar-6 .stat:nth-child(n+4) { border-top: 1px solid var(--c-line); }
@media (max-width: 768px) {
  .stat-bar-6 { grid-template-columns: repeat(2, 1fr); }
  .stat-bar-6 .stat:nth-child(3n) { border-right: 1px solid var(--c-line); }
  .stat-bar-6 .stat:nth-child(2n) { border-right: none; }
  .stat-bar-6 .stat:nth-child(n+3) { border-top: 1px solid var(--c-line); }
}

/* ==========================================================================
   STREETWEAR POLISH — 收尾（厚重标题 / 卡片hover细线 / 浅色hover残留修正）
   ========================================================================== */
h1, h2, h3, h4, .hero h1 { font-weight: 700; }
/* 卡片 hover：黑底阴影不可见 → 改细线高亮，保留上移 */
.card, .card-dark, .tier-card { transition: transform .2s ease, border-color .2s ease; }
.card:hover, .card-dark:hover, .tier-card:hover { border-color: var(--sk-line-2); box-shadow: none; }
/* 暗底下白底+浅字会看不见 → 骨白填充 + 近黑字 */
.social-row a:hover { background: var(--sk-text); border-color: var(--sk-text); color: var(--accent-on); }
.pill-link:hover { background: var(--sk-text); color: var(--accent-on); }

/* ==========================================================================
   HERO V3 — 整屏车缝工厂背景 + 居中文案 + 轻微车缝动效（纯 CSS，无库）
   ========================================================================== */
.hero{
  background:#060607;
  min-height:clamp(760px, 88vh, 880px);
  display:flex; align-items:center; justify-content:center;
  padding:132px 0 168px; /* 下留白略大 → 内容垂直居中偏上 */
  position:relative; overflow:hidden; text-align:center;
}
/* 背景独立层：极细微高频震动（≈7Hz、0.8px），模拟缝纫机运转机震；只震背景、文字纹丝不动 */
.hero-bg{
  position:absolute; inset:-6px; z-index:0;
  background:url("assets/images/hero-industrial-sewing-streetwear-manufacturer.webp") center center / cover no-repeat;
  animation:machine-tremble .14s linear infinite;
  will-change:transform;
}
@keyframes machine-tremble{
  0%,100%{ transform:translate3d(0,0,0); }
  50%{ transform:translate3d(0.3px,-0.8px,0); }
}
/* 深色遮罩（55–70%）：上下压重、中段稍透，保证居中文案清晰 */
.hero::before{
  content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(6,6,7,.72) 0%, rgba(6,6,7,.55) 45%, rgba(6,6,7,.80) 100%);
}
/* 光影扫过：极淡斜向光带，11s 一循环（transform 动画，不引起重排） */
.hero::after{
  content:""; position:absolute; top:-20%; bottom:-20%; left:-35%; width:30%; z-index:1;
  background:linear-gradient(100deg, transparent, rgba(242,241,238,.045), transparent);
  transform:skewX(-14deg); pointer-events:none;
  animation:hero-sweep 11s linear infinite;
}
@keyframes hero-sweep{ to{ transform:skewX(-14deg) translateX(560%); } }
/* 车线流动：一条细虚线，缝线缓慢走线 */
.hero .stitch-line{
  position:absolute; left:8%; right:8%; bottom:96px; height:2px; z-index:2;
  background-image:repeating-linear-gradient(90deg, rgba(242,241,238,.26) 0 9px, transparent 9px 17px);
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image:linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  animation:stitch-run 9s linear infinite;
}
@keyframes stitch-run{ to{ background-position:170px 0; } }
/* 剪刀沿虚线剪裁：内嵌 SVG 剪刀图标（纯白加粗描边、微倾斜剪裁姿态），从左剪到右 */
.hero .stitch-line::after{
  content:""; position:absolute; top:50%; left:0; width:40px; height:40px; margin-top:-20px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='4.5' cy='7' r='2.3'/%3E%3Ccircle cx='4.5' cy='17' r='2.3'/%3E%3Cpath d='M6.6 8.3 L21 15.6'/%3E%3Cpath d='M6.6 15.7 L21 8.4'/%3E%3C/svg%3E") center/contain no-repeat;
  filter:drop-shadow(0 0 8px rgba(255,255,255,.5));
  animation:needle-run 9s linear infinite;
}
@keyframes needle-run{
  from{ transform:translateX(0) rotate(-8deg); }
  to{ transform:translateX(84vw) rotate(-8deg); }
}

/* 居中文案 */
.hero-center{ position:relative; z-index:3; max-width:940px; margin:0 auto; }
.hero-center .eyebrow{ justify-content:center; }
.hero h1{ font-size:clamp(42px, 5.6vw, 84px); line-height:1.0; margin-bottom:22px; }
.hero h1 .accent{ display:block; color:rgba(242,241,238,.45); }
.hero .lede{ max-width:720px; margin-left:auto; margin-right:auto; }
.hero-actions{ justify-content:center; }
.hero-actions .btn{ min-width:232px; justify-content:center; }
.hero-tags{ justify-content:center; margin-top:40px; }
.hero-tags span{
  text-transform:uppercase; font-size:12px; letter-spacing:.08em;
  background:rgba(6,6,7,.55); border-color:var(--sk-line); padding:9px 16px;
}

/* 移动端：居中不变；机器/手偏右 → 背景左移保持文字区暗；关扫光省性能 */
@media (max-width:768px){
  .hero{ min-height:720px; padding:116px 0 132px; }
  .hero-bg{ background-position:26% center; }
  .hero::after{ display:none; }
  .hero .stitch-line{ bottom:78px; animation-duration:12s; }
  .hero .stitch-line::after{ animation-duration:12s; }
  .hero h1{ font-size:clamp(42px, 11vw, 52px); }
}
@media (prefers-reduced-motion: reduce){
  .hero::after{ display:none; }
  .hero-bg{ animation:none; }
  .hero .stitch-line{ animation:none; }
  .hero .stitch-line::after{ display:none; }
}

/* ==========================================================================
   WHY HUAXING — 信任点六卡（序号 / 小标签 / 图标上浮 / 底部 CTA）
   ========================================================================== */
.why-card { position: relative; }
.card-num {
  position: absolute; top: 18px; right: 20px;
  font-family: var(--f-head); font-weight: 700; font-size: 13px; letter-spacing: .18em;
  color: var(--sk-text-3);
}
.card .icon { transition: transform .25s ease; }
.card:hover .icon { transform: translateY(-3px) scale(1.05); }
.why-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.why-tags .pill { font-size: 11px; padding: 4px 10px; }
.why-cta { margin-top: var(--s-6); text-align: center; }
.why-cta-title {
  font-family: var(--f-head); text-transform: uppercase; font-weight: 700;
  font-size: clamp(22px, 2.8vw, 34px); color: var(--sk-text); margin-bottom: 10px;
}
.why-cta-sub { max-width: 680px; margin: 0 auto 22px; font-size: 14.5px; line-height: 1.7; color: var(--sk-text-2); }

/* ==========================================================================
   FACTORY TOUR — About 页工厂实拍网格（流程顺序，标签常显）
   ========================================================================== */
.ft-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ft-shot { position: relative; margin: 0; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--r-md); border: 1px solid var(--sk-line); background: var(--sk-surface); }
.ft-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.ft-shot:hover img { transform: scale(1.04); }
.ft-shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 12px 10px; display: grid; gap: 1px;
  background: linear-gradient(transparent, rgba(5,5,6,.88));
}
.ft-shot b { font-family: var(--f-head); text-transform: uppercase; font-weight: 700; font-size: 13px; letter-spacing: .05em; color: #fff; }
.ft-shot span { font-size: 11.5px; color: rgba(242,241,238,.72); }
@media (max-width: 980px) { .ft-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   BLOG — 知识库（列表卡片 / 文章正文排版 / 文末 CTA）
   ========================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.blog-card { background: var(--sk-surface); border: 1px solid var(--sk-line); border-radius: var(--r-md); overflow: hidden; transition: border-color .25s ease, transform .25s ease; }
.blog-card:hover { border-color: var(--sk-line-2); transform: translateY(-4px); }
.blog-card-link { display: block; }
.blog-card-media { aspect-ratio: 16/9; background: var(--sk-bg-2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-mono { font-family: var(--f-head); font-weight: 700; font-size: 42px; letter-spacing: .1em; color: var(--sk-text-3); }
.blog-card-body { padding: 20px 20px 22px; display: grid; gap: 8px; }
.blog-card-date { font-family: var(--f-head); text-transform: uppercase; font-size: 11px; letter-spacing: .12em; color: var(--sk-text-3); }
.blog-card-body h2 { margin: 0; font-size: 19px; line-height: 1.25; color: var(--sk-text); }
.blog-card-body p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--sk-text-2); }
.blog-card-more { font-family: var(--f-head); text-transform: uppercase; font-weight: 600; font-size: 12px; letter-spacing: .08em; color: var(--sk-text); }
.blog-pagination { margin-top: var(--s-6); text-align: center; }
.blog-pagination .nav-links { display: inline-flex; gap: 8px; }
.blog-pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--sk-line); color: var(--sk-text-2); border-radius: var(--r-xs); font-family: var(--f-head); }
.blog-pagination .page-numbers.current, .blog-pagination .page-numbers:hover { background: var(--sk-text); color: var(--accent-on); border-color: var(--sk-text); }

.post-hero h1 { max-width: 900px; }
.post-thumb { margin-bottom: var(--s-5); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--sk-line); }
.post-thumb img { width: 100%; display: block; }
.post-body { font-size: 16.5px; line-height: 1.8; color: var(--sk-text-2); }
.post-body h2 { margin: 40px 0 14px; color: var(--sk-text); }
.post-body h3 { margin: 28px 0 10px; color: var(--sk-text); }
.post-body p { margin: 0 0 18px; }
.post-body ul, .post-body ol { margin: 0 0 18px 20px; padding: 0; list-style: disc; display: grid; gap: 8px; }
.post-body ol { list-style: decimal; }
.post-body a { color: var(--sk-text); text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: #fff; }
.post-body table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 14.5px; }
.post-body th, .post-body td { border: 1px solid var(--sk-line); padding: 10px 12px; text-align: left; }
.post-body th { font-family: var(--f-head); text-transform: uppercase; font-size: 12.5px; letter-spacing: .06em; color: var(--sk-text); background: var(--sk-surface); }
.post-body img { border-radius: var(--r-md); border: 1px solid var(--sk-line); margin: 6px 0 18px; }
.post-body blockquote { margin: 0 0 18px; padding: 14px 18px; border-left: 2px solid var(--sk-line-2); color: var(--sk-text); background: var(--sk-surface); }
.post-cta { margin-top: var(--s-6); padding: 32px; }
.post-cta h3 { margin-bottom: 8px; }
.post-cta p { margin-bottom: 20px; }
.post-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.post-related { margin-top: var(--s-6); }
.post-related-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.post-related-links a { font-family: var(--f-head); text-transform: uppercase; font-weight: 600; font-size: 12px; letter-spacing: .07em; padding: 9px 14px; border: 1px solid var(--sk-line); border-radius: var(--r-xs); color: var(--sk-text-2); transition: all .2s ease; }
.post-related-links a:hover { color: var(--sk-text); border-color: var(--sk-line-2); }
@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } .post-body { font-size: 16px; } }

/* ---- Testimonials：星级 ---- */
.t-stars { display: block; color: var(--sk-text); letter-spacing: 3px; font-size: 14px; margin-bottom: 10px; }

/* ---- Testimonials 点击看原图 ---- */
.testimonial-card[data-proof] { cursor: zoom-in; transition: border-color .25s ease, transform .25s ease; }
.testimonial-card[data-proof]:hover { border-color: var(--sk-line-2); transform: translateY(-3px); }
.t-view { display: block; margin-top: 6px; font-family: var(--f-head); text-transform: uppercase; font-size: 10.5px; letter-spacing: .1em; color: var(--sk-text-3); }
.testimonial-card:hover .t-view { color: var(--sk-text); }
/* 宽截图模式：单列大图 */
.wf-lightbox.lb-wide .lb-inner { grid-template-columns: 1fr; max-width: 1240px; }
.wf-lightbox.lb-wide .lb-imgwrap img { max-height: 74vh; }
.wf-lightbox.lb-wide .lb-info { padding: 16px 24px; }

/* ============ Facts page (/factory-capabilities/) ============ */
.facts-page table { width: 100%; max-width: 920px; border-collapse: collapse; margin: 0 0 12px; font-size: 15px; }
.facts-page td { padding: 12px 16px; border: 1px solid var(--sk-line); color: var(--sk-text-2); vertical-align: top; line-height: 1.55; }
.facts-page td:first-child { width: 34%; color: var(--sk-text); font-weight: 600; background: var(--sk-surface); }
.facts-list { max-width: 920px; margin: 0 0 12px; padding-left: 20px; color: var(--sk-text-2); font-size: 15px; display: grid; gap: 8px; }
.facts-page .section-head { margin-top: 40px; }
@media (max-width: 640px) { .facts-page td:first-child { width: 42%; } .facts-page table { font-size: 14px; } }
