/*
Theme Name: Chuangzhan · 包豪斯企业站
Theme URI: https://www.chuangzhan.xyz/
Author: 南京创展智能科技有限公司
Author URI: https://www.chuangzhan.xyz/
Description: 创展智能科技 B 端企业官网主题。包豪斯极简设计系统，模板结构锁死在主题里，内容全部走后台字段与自定义文章类型编辑；内置轻量 SEO 模块（TDK / canonical / OG / JSON-LD）、动态 sitemap、百度主动推送与每日定时更新引擎。
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.1
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: chuangzhan
Tags: business, custom-logo, featured-images, translation-ready, full-width-template, block-styles

本文件同时承载主题信息头与完整设计系统（13 节，见下方索引）。
设计变量集中在 :root，栅格与配色不开放给后台修改 —— 这是「模板锁死」的一部分。
*/

/* ==========================================================================
   南京创展智能科技有限公司 · 官网样式表
   Design language: Bauhaus / Helvetica / 严格栅格
   --------------------------------------------------------------------------
   结构索引：
     01. Design Tokens
     02. Reset & Base
     03. Typography
     04. Layout & Grid
     05. Components (Button / Label / Rule / Card)
     06. Header & Navigation
     07. Hero
     08. Section framework (编号标题)
     09. Blocks (能力 / 数据 / 产品 / 流程 / 差异 / CTA / 表单)
     10. Footer
     11. Responsive
     12. Motion / Print
     13. WordPress 组件（工艺笔记 / 长文 / 列表）
   WordPress 迁移提示：本表使用 CSS 自定义属性定义全部设计令牌，
   在 WordPress 中可直接将 :root 变量映射到主题的 get_theme_mod() 输出。
   ========================================================================== */

/* ==========================================================================
   01. Design Tokens
   ========================================================================== */
:root {
  /* 包豪斯三原色 */
  --red: #e0301e;
  --red-dark: #b82314;
  --blue: #12409b;
  --blue-dark: #0c2f74;
  --yellow: #f8c300;
  --yellow-dark: #d9a800;

  /* 中性色 */
  --ink: #111111;
  --ink-2: #3d3d3d;
  --ink-3: #767676;
  --paper: #f2f1ed;
  --surface: #ffffff;
  --line: rgba(17, 17, 17, 0.16);
  --line-strong: rgba(17, 17, 17, 0.85);

  /* 字体：Helvetica 风格 + 中文黑体回退，零外部依赖（国内网络更稳） */
  --font-sans: "Helvetica Neue", Helvetica, "Inter", "Segoe UI", Arial,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas,
    "Liberation Mono", monospace;

  /* 尺度 */
  --fs-display: clamp(2.75rem, 7.6vw, 7.25rem);
  --fs-h1: clamp(2.25rem, 5.4vw, 4.75rem);
  --fs-h2: clamp(1.85rem, 3.9vw, 3.5rem);
  --fs-h3: clamp(1.25rem, 1.8vw, 1.75rem);
  --fs-body: 1rem;
  --fs-lead: clamp(1.02rem, 1.25vw, 1.185rem);
  --fs-label: 0.75rem;
  --fs-mono: 0.8125rem;

  /* 间距 */
  --gutter: clamp(1.25rem, 2.6vw, 2.5rem);
  --page: clamp(1.25rem, 5vw, 5.5rem);
  --section-y: clamp(4.5rem, 9vw, 9.5rem);
  --maxw: 1440px;

  /* 动效 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.45s;
}

/* ==========================================================================
   02. Reset & Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
img { background: #e6e5e0; }

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

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

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

/* 跳转到主内容（可访问性） */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: var(--surface);
  padding: 0.75rem 1.25rem;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   03. Typography
   ========================================================================== */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.display {
  font-size: var(--fs-display);
  line-height: 0.92;
  letter-spacing: -0.05em;
  font-weight: 700;
}
.h1 { font-size: var(--fs-h1); line-height: 0.98; }
.h2 { font-size: var(--fs-h2); line-height: 1.02; }
.h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.02em; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.72;
  color: var(--ink-2);
  max-width: 46ch;
}

.body-lg { font-size: 1.0625rem; line-height: 1.78; color: var(--ink-2); }

/* 小标签：包豪斯式宽字距全大写 */
.label {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}
.label--red { color: var(--red); }
.label--blue { color: var(--blue); }
.label--yellow { color: var(--yellow-dark); }
.label--on-dark { color: rgba(255, 255, 255, 0.72); }

.mono {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.04em;
}

/* 带下划线的强调 */
.ul-solid {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: var(--red);
}
.ul-blue {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: var(--blue);
}

/* ==========================================================================
   04. Layout & Grid
   ========================================================================== */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--page);
}
.wrap--narrow { max-width: 1080px; }
.wrap--flush { padding-inline: 0; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 6rem); }
.section--paper { background: var(--paper); }
.section--surface { background: var(--surface); }
.section--ink { background: var(--ink); color: var(--surface); }
.section--ink .lead,
.section--ink .body-lg { color: rgba(255, 255, 255, 0.76); }

.grid { display: grid; gap: var(--gutter); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-12 { grid-template-columns: repeat(12, 1fr); }

.rule {
  height: 1px;
  border: 0;
  background: var(--line-strong);
  margin: 0;
}
.rule--soft { background: var(--line); }

/* ==========================================================================
   05. Components
   ========================================================================== */

/* --- 按钮 --- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--surface);
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.6rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .btn-arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn--red { --btn-bg: var(--red); --btn-bd: var(--red); --btn-fg: #fff; }
.btn--red:hover { --btn-bg: var(--red-dark); --btn-bd: var(--red-dark); }
.btn--blue { --btn-bg: var(--blue); --btn-bd: var(--blue); --btn-fg: #fff; }
.btn--blue:hover { --btn-bg: var(--blue-dark); --btn-bd: var(--blue-dark); }
.btn--yellow { --btn-bg: var(--yellow); --btn-bd: var(--yellow); --btn-fg: var(--ink); }
.btn--yellow:hover { --btn-bg: var(--yellow-dark); --btn-bd: var(--yellow-dark); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--surface); --btn-bd: var(--ink); }
.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.45);
}
.btn--ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }

/* --- 几何装饰 --- */
.shape { display: block; }
.shape--circle { border-radius: 50%; }
.shape--triangle {
  width: 0;
  height: 0;
  border-left: 0.5em solid transparent;
  border-right: 0.5em solid transparent;
  border-bottom: 0.87em solid currentColor;
}

/* --- 卡片 --- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 2.4vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -28px rgba(17, 17, 17, 0.45);
}
.card__idx {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.16em;
  color: var(--ink-3);
}
.card__title { font-size: var(--fs-h3); letter-spacing: -0.02em; }
.card__text { color: var(--ink-2); margin: 0; }
.card__foot { margin-top: auto; padding-top: 1.1rem; }

.card--red { border-top: 4px solid var(--red); }
.card--blue { border-top: 4px solid var(--blue); }
.card--yellow { border-top: 4px solid var(--yellow); }

/* --- 编号标题 --- */
.sec-head {
  display: flex;
  align-items: baseline;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: clamp(2.25rem, 4.5vw, 4rem);
}
.sec-head__num {
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  letter-spacing: 0.18em;
  color: var(--red);
  flex: none;
  padding-top: 0.35em;
}
.sec-head__title {
  font-size: var(--fs-h2);
  line-height: 1.02;
  letter-spacing: -0.035em;
  flex: 1 1 auto;
}
.sec-head__aside {
  flex: none;
  max-width: 30ch;
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ==========================================================================
   06. Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 241, 237, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
}

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand__mark {
  width: 1.75rem;
  height: 1.75rem;
  flex: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.brand__mark i { display: block; }
.brand__mark i:nth-child(1) { background: var(--red); border-radius: 50% 0 0 0; }
.brand__mark i:nth-child(2) { background: var(--blue); }
.brand__mark i:nth-child(3) { background: var(--yellow); }
.brand__mark i:nth-child(4) { background: var(--ink); border-radius: 0 0 50% 0; }
.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand__cn {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand__en {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.25rem); }
.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 0.35rem 0;
  position: relative;
  transition: color var(--dur) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 600; }

.header-cta { flex: none; }

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 0.7rem;
  width: 1.35rem;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 1.05rem; }
.nav-toggle span:nth-child(2) { top: 1.35rem; }
.nav-toggle span:nth-child(3) { top: 1.65rem; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(0.3rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-0.3rem) rotate(-45deg); }

/* ==========================================================================
   07. Hero
   ========================================================================== */
.hero {
  padding-top: clamp(3rem, 6vw, 6rem);
  padding-bottom: clamp(3.5rem, 7vw, 7rem);
  border-bottom: 1px solid var(--line-strong);
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: end;
}
.hero__copy { grid-column: 1 / span 7; }
.hero__media { grid-column: 8 / -1; position: relative; }

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.hero__eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 2px;
  background: var(--red);
  flex: none;
}

.hero__title { margin-bottom: 1.6rem; }
.hero__title .accent { color: var(--red); }

.hero__sub {
  font-size: var(--fs-lead);
  color: var(--ink-2);
  max-width: 40ch;
  margin-bottom: 2.25rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.hero__meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hero__meta-item .mono { display: block; color: var(--ink-3); margin-bottom: 0.3rem; }
.hero__meta-item strong {
  display: block;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* Hero 几何装饰 */
.hero__shape {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.hero__shape--circle {
  width: clamp(8rem, 18vw, 17rem);
  height: clamp(8rem, 18vw, 17rem);
  background: var(--yellow);
  border-radius: 50%;
  top: 1.75rem;
  right: 7%;
  opacity: 0.92;
}
.hero__shape--sq {
  width: clamp(3.5rem, 6vw, 5.5rem);
  height: clamp(3.5rem, 6vw, 5.5rem);
  background: var(--blue);
  top: -1.5rem;
  left: -1.5rem;
}

.hero__media figure { position: relative; }
.hero__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line-strong);
}
.hero__media figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ==========================================================================
   08. Page Hero（内页）
   ========================================================================== */
.page-hero {
  padding-block: clamp(3.5rem, 7vw, 7rem) clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--line-strong);
  position: relative;
  overflow: hidden;
}
.page-hero__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: end;
}
.page-hero__copy { grid-column: 1 / span 7; }
.page-hero__aside { grid-column: 9 / -1; }
.page-hero__title { margin-bottom: 1.25rem; }
.page-hero__desc { color: var(--ink-2); max-width: 44ch; }

.breadcrumb {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 2rem;
}
.breadcrumb a:hover { color: var(--red); }

/* ==========================================================================
   09. Blocks
   ========================================================================== */

/* --- 能力（三大业务） --- */
.capability { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.capability__item {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.capability__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 46px -30px rgba(17, 17, 17, 0.5);
}
.capability__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.capability__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.capability__item:hover .capability__media img { transform: scale(1.04); }
.capability__tag {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.5rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}
.capability__tag--red { background: var(--red); }
.capability__tag--blue { background: var(--blue); }
.capability__tag--yellow { background: var(--yellow); color: var(--ink); }
.capability__body { padding: clamp(1.4rem, 2.2vw, 2rem); display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.capability__list { list-style: none; margin: 0.5rem 0 0; padding: 0; }
.capability__list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.65;
}
.capability__list li + li { margin-top: 0.45rem; }
.capability__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--red);
}
.capability__item:nth-child(2) .capability__list li::before { background: var(--blue); }
.capability__item:nth-child(3) .capability__list li::before { background: var(--yellow); }

/* --- 数据条 --- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
.stat {
  padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1rem, 2vw, 2rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat__num {
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  display: block;
  margin-bottom: 0.75rem;
}
.stat__num sup { font-size: 0.4em; vertical-align: super; letter-spacing: 0; }
.stat__label { display: block; margin-bottom: 0.4rem; }
.stat__note { font-size: 0.875rem; color: var(--ink-2); margin: 0; line-height: 1.6; }

/* --- 产品线 --- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.product {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.product:hover { transform: translateY(-5px); box-shadow: 0 22px 46px -30px rgba(17, 17, 17, 0.5); }
.product__media { aspect-ratio: 1 / 1; overflow: hidden; background: #e6e5e0; }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.product:hover .product__media img { transform: scale(1.05); }
.product__body { padding: 1.4rem 1.5rem 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.product__no { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.18em; color: var(--ink-3); }
.product__title { font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.01em; }
.product__text { font-size: 0.9375rem; color: var(--ink-2); margin: 0; }

/* --- 流程 --- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
.process__step {
  padding: clamp(1.5rem, 2.6vw, 2.5rem) clamp(1rem, 2vw, 1.75rem);
  border-right: 1px solid var(--line);
  position: relative;
}
.process__step:last-child { border-right: 0; }
.process__no {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--line);
  display: block;
  margin-bottom: 1rem;
  transition: color var(--dur) var(--ease);
}
.process__step:hover .process__no { color: var(--red); }
.process__title { font-size: 1.1875rem; font-weight: 700; margin-bottom: 0.6rem; }
.process__text { font-size: 0.9375rem; color: var(--ink-2); margin: 0; }

/* --- 差异 / 为什么 --- */
.diff { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.diff--4 { grid-template-columns: repeat(4, 1fr); gap: 0; }
.diff--4 .diff__item { border: 1px solid var(--line); border-right: 0; }
.diff--4 .diff__item:last-child { border-right: 1px solid var(--line); }
.diff__item {
  padding: clamp(1.6rem, 2.6vw, 2.4rem);
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.diff__badge {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  flex: none;
}
.diff__badge--red { background: var(--red); border-radius: 50%; }
.diff__badge--blue { background: var(--blue); }
.diff__badge--yellow { background: var(--yellow); color: var(--ink); }

/* --- 行业场景矩阵（包豪斯表格网格） --- */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
  background: var(--surface);
}
.scene {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(1.4rem, 2.4vw, 2.1rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: background var(--dur) var(--ease);
}
.scene:hover { background: var(--paper); }
.scene__no {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  color: var(--red);
}
.scene__name { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; }
.scene__text { font-size: 0.9375rem; color: var(--ink-2); margin: 0; }

/* --- 交付物清单 --- */
.deliver {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.deliver__item {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.deliver__item::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background: var(--blue);
  flex: none;
  transform: translateY(-0.15em);
}
.deliver__item strong { color: var(--ink); font-weight: 600; }

/* --- 图文交错 --- */
.split {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: center;
}
/* grid-row: 1 —— 强制图文同处一行，使 HTML 中 copy / media 的先后顺序不影响布局 */
.split__media { grid-column: 1 / span 6; grid-row: 1; }
.split__copy { grid-column: 8 / -1; grid-row: 1; }
.split--flip .split__media { grid-column: 7 / -1; grid-row: 1; order: 2; }
.split--flip .split__copy { grid-column: 1 / span 5; grid-row: 1; order: 1; }
.split__media img { width: 100%; border: 1px solid var(--line-strong); }

/* 图片说明（用于标注示意图，避免误导） */
.media-note {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0.75rem 0 0;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
}

/* --- CTA 带 --- */
.cta-band {
  background: var(--ink);
  color: var(--surface);
  padding-block: clamp(3.5rem, 7vw, 7rem);
  position: relative;
  overflow: hidden;
}
.cta-band__inner {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: end;
}
.cta-band__copy { grid-column: 1 / span 7; }
.cta-band__side { grid-column: 9 / -1; text-align: right; }
.cta-band .label--on-dark { margin-bottom: 1.25rem; }
.cta-band__title { margin-bottom: 1.25rem; }
.cta-band__text { color: rgba(255, 255, 255, 0.72); max-width: 46ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: flex-end; }
.cta-band__shape {
  position: absolute;
  right: -4rem;
  top: -4rem;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: var(--red);
  opacity: 0.18;
  pointer-events: none;
}

/* --- 自有品牌 --- */
.brandband {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(1.75rem, 3vw, 3rem);
}
.brandband__logo {
  grid-column: 1 / span 3;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--red);
  line-height: 1.1;
}
.brandband__logo small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  margin-top: 0.4rem;
  font-weight: 400;
}
.brandband__copy { grid-column: 4 / span 6; }
.brandband__side { grid-column: 10 / -1; text-align: right; }

/* --- 联系信息 / 表单 --- */
.contact-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.contact-info { grid-column: 1 / span 5; }
.contact-form-wrap { grid-column: 7 / -1; }

.info-block { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.info-block:first-of-type { border-top: 1px solid var(--line-strong); }
.info-block dt {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.55rem;
}
.info-block dd { margin: 0; font-size: 1.0625rem; line-height: 1.65; }
.info-block dd a:hover { color: var(--red); }
.info-block .todo {
  color: var(--ink-3);
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.15rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  font-size: 0.9375rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--blue);
}
.form-note {
  font-size: 0.8125rem;
  color: var(--ink-3);
  margin-top: 1rem;
  line-height: 1.6;
}

/* --- 表格（工商信息 / FAQ） --- */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.data-table caption {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: 0.9rem;
}
.data-table th,
.data-table td {
  text-align: left;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.data-table th {
  width: 34%;
  font-weight: 600;
  color: var(--ink-3);
  background: rgba(17, 17, 17, 0.03);
}

/* --- FAQ --- */
.faq { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
  padding-top: 1.35rem;
}
.faq__a { color: var(--ink-2); margin: 0 0 1.35rem; max-width: 72ch; }

/* --- 面包屑/标记 --- */
.tag {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tag--red { background: var(--red); border-color: var(--red); color: #fff; }
.tag--blue { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ==========================================================================
   10. Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: var(--surface);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.footer__brand { grid-column: 1 / span 4; }
.footer__col { grid-column: span 2; }
.footer__col--wide { grid-column: span 3; }
.footer__brand .brand__cn { color: #fff; }
.footer__brand .brand__en { color: rgba(255, 255, 255, 0.5); }
.footer__brand p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9375rem;
  margin-top: 1.25rem;
  max-width: 34ch;
}
.footer__title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.1rem;
}
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li + li { margin-top: 0.55rem; }
.footer__list a { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.78); }
.footer__list a:hover { color: var(--yellow); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer__bottom a:hover { color: var(--yellow); }

/* ==========================================================================
   11. Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process__step:nth-child(2n) { border-right: 0; }
  .process__step:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 0; }
  .diff { grid-template-columns: 1fr; }
  .diff--4 { grid-template-columns: repeat(2, 1fr); }
  .diff--4 .diff__item { border-right: 1px solid var(--line); }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .brandband__logo { grid-column: 1 / -1; }
  .brandband__copy { grid-column: 1 / span 8; }
  .brandband__side { grid-column: 9 / -1; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line-strong);
    padding: 0.5rem var(--page) 1.5rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .header-cta { display: none; }

  .hero__copy,
  .page-hero__copy { grid-column: 1 / -1; }
  .hero__media,
  .page-hero__aside { grid-column: 1 / -1; margin-top: 1rem; }
  .hero__meta { grid-template-columns: repeat(2, 1fr); }
  .page-hero__aside { max-width: 44ch; }

  .grid-3,
  .grid-2,
  .capability { grid-template-columns: 1fr; }
  .split__media,
  .split__copy,
  .split--flip .split__media,
  .split--flip .split__copy {
    grid-column: 1 / -1;
    grid-row: auto;
    order: initial;
  }
  .split--flip .split__media { order: initial; }

  .cta-band__copy { grid-column: 1 / -1; }
  .cta-band__side { grid-column: 1 / -1; text-align: left; margin-top: 1.75rem; }
  .cta-band__actions { justify-content: flex-start; }

  .contact-info,
  .contact-form-wrap { grid-column: 1 / -1; }
  .contact-form-wrap { margin-top: 1rem; }

  .footer__brand { grid-column: 1 / -1; }
  .footer__col { grid-column: span 4; }
  .footer__col--wide { grid-column: span 6; }
}

@media (max-width: 620px) {
  .grid-4,
  .products,
  .process,
  .stats { grid-template-columns: 1fr; }
  .diff--4 { grid-template-columns: 1fr; }
  .scene-grid { grid-template-columns: 1fr; }
  .deliver { grid-template-columns: 1fr; }
  .stat { border-right: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .process__step { border-right: 0; border-bottom: 1px solid var(--line); }
  .process__step:last-child { border-bottom: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .hero__meta { grid-template-columns: 1fr; gap: 1.25rem; }

  /* 移动端堆叠后，桌面版的装饰块会正好压在眉标文字上。
     给 Hero 留出专属的顶部空间：黄色圆归位到右上角空区，不再压字；
     蓝色方块贴住图片左上角，完整可见而不是被视口切一半。 */
  .hero { padding-top: 7rem; }
  .hero__shape--circle {
    width: 5.5rem;
    height: 5.5rem;
    top: 1.25rem;
    right: 0.75rem;
  }
  .hero__shape--sq {
    width: 2.75rem;
    height: 2.75rem;
    top: -0.75rem;
    left: -0.75rem;
  }

  .sec-head { flex-direction: column; gap: 0.75rem; }
  .sec-head__aside { max-width: none; }
  .footer__col,
  .footer__col--wide { grid-column: 1 / -1; }
  .data-table th { width: 38%; }
}

/* ==========================================================================
   12. Motion / Print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .site-header,
  .cta-band,
  .nav,
  .skip-link { display: none !important; }
  /* 打印时强制显示所有渐显区块，避免出现空白 */
  [data-reveal],
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 1.5rem; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.75em; }
}

/* ==========================================================================
   13. Scroll Reveal（配合 assets/js/main.js 的 data-reveal）
   渐进增强：默认可见，只有在 JS 启用时（html.js）才隐藏后淡入。
   —— 保证无 JS、打印、爬虫抓取时内容始终可读，不出现空白区块。
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   14. 工艺笔记 / 长文 / 通用列表（WordPress 侧新增组件）
   --------------------------------------------------------------------------
   静态站没有这些类，它们服务于「每日更新」这条内容线。
   视觉语言不变：12 栏栅格、1px 发丝线、等宽小标签、无圆角无阴影。
   ========================================================================== */

/* --- 笔记列表 --- */
.notes {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--gutter);
}

.notes--archive {
	grid-template-columns: 1fr;
	gap: 0;
	border-top: 1px solid var(--line);
}

.note {
	padding-top: 1.5rem;
	border-top: 1px solid var(--line-strong);
}

.notes--archive .note {
	display: grid;
	grid-template-columns: 10rem 1fr;
	grid-template-areas:
		"meta title"
		"meta text";
	gap: .35rem 2rem;
	padding: 1.75rem 0;
	border-top: 1px solid var(--line);
}

.notes--archive .note__meta { grid-area: meta; }
.notes--archive .note__title { grid-area: title; }
.notes--archive .note__text  { grid-area: text; }

.note__meta {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin-bottom: .85rem;
	font-size: .75rem;
	letter-spacing: .08em;
	color: var(--ink-3);
}

.note__topic {
	padding: .18rem .5rem;
	border: 1px solid var(--line-strong);
	font-family: var(--font-mono);
	font-size: .6875rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.note__title {
	margin: 0 0 .6rem;
	font-size: 1.3125rem;
	line-height: 1.35;
	letter-spacing: -0.02em;
	font-weight: 700;
}

.note__title a {
	color: var(--ink);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color .18s ease;
}

.note__title a:hover {
	border-bottom-color: var(--red);
}

.note__text {
	margin: 0;
	color: var(--ink-2);
	font-size: .9375rem;
	line-height: 1.75;
}

/* --- 单篇笔记 --- */
.note-single__head {
	padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem);
	background: var(--surface);
}

.note-single__meta {
	display: flex;
	align-items: center;
	gap: .75rem;
	flex-wrap: wrap;
	margin: 1.5rem 0 1rem;
	font-size: .75rem;
	letter-spacing: .08em;
	color: var(--ink-3);
}

.note-single__title {
	margin: 0;
	max-width: 22ch;
}

.note-single__lead {
	margin-top: 1.25rem;
	max-width: 44rem;
}

.note-single__cover {
	margin: 0 0 clamp(2rem, 4vw, 3rem);
}

.note-single__cover img {
	display: block;
	width: 100%;
	height: auto;
}

.note-single__body {
	padding: clamp(2rem, 4vw, 3rem) 0 0;
}

.note-single__related {
	margin-top: clamp(2.5rem, 5vw, 4rem);
	padding-top: 2rem;
	border-top: 1px solid var(--line-strong);
}

.related-block {
	display: grid;
	grid-template-columns: 12rem 1fr;
	gap: 1rem 2rem;
	padding: .9rem 0;
	border-bottom: 1px solid var(--line);
}

.related-block ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.related-block li {
	padding: .15rem 0;
}

.related-block a {
	color: var(--ink);
	text-decoration: none;
	border-bottom: 1px solid var(--line-strong);
}

.related-block a:hover {
	border-bottom-color: var(--red);
}

/* --- 正文排版 --- */
.prose {
	font-size: 1rem;
	line-height: 1.9;
	color: var(--ink-2);
}

.prose > * + * {
	margin-top: 1.25em;
}

.prose h2 {
	margin-top: 2em;
	font-size: 1.375rem;
	line-height: 1.4;
	letter-spacing: -0.02em;
	font-weight: 700;
}

.prose h3 {
	margin-top: 1.75em;
	font-size: 1.125rem;
	line-height: 1.5;
	letter-spacing: -0.015em;
	font-weight: 700;
}

.prose p {
	margin: 0;
}

.prose ul,
.prose ol {
	margin: 1.25em 0 0;
	padding-left: 1.25em;
}

.prose li {
	margin-bottom: .5em;
}

.prose a {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.prose a:hover {
	color: var(--red);
}

.prose blockquote {
	margin: 1.75em 0 0;
	padding: .25rem 0 .25rem 1.25rem;
	border-left: 2px solid var(--red);
	color: var(--ink-2);
}

.prose code {
	font-family: var(--font-mono);
	font-size: .875em;
	padding: .12em .35em;
	background: var(--paper);
}

.prose figure {
	margin: 1.75em 0 0;
}

.prose figure img {
	display: block;
	width: 100%;
	height: auto;
}

.prose figcaption {
	margin-top: .75rem;
	font-family: var(--font-mono);
	font-size: .75rem;
	letter-spacing: .08em;
	color: var(--ink-3);
}

.prose table {
	width: 100%;
	margin-top: 1.75em;
	border-collapse: collapse;
}

.prose th,
.prose td {
	padding: .7rem .9rem;
	border: 1px solid var(--line-strong);
	text-align: left;
	font-size: .9375rem;
}

.prose th {
	background: var(--paper);
	font-weight: 700;
}

.page-links {
	margin-top: 2.5rem;
	font-family: var(--font-mono);
	font-size: .8125rem;
}

/* --- 归档分页 --- */
.pagination {
	margin-top: clamp(2rem, 4vw, 3rem);
	padding-top: 1.5rem;
	border-top: 1px solid var(--line-strong);
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: baseline;
}

.pagination .page-numbers {
	font-family: var(--font-mono);
	font-size: .8125rem;
	letter-spacing: .06em;
	color: var(--ink-2);
	text-decoration: none;
}

.pagination .page-numbers:hover {
	color: var(--red);
}

.pagination .page-numbers.current {
	color: var(--ink);
	border-bottom: 2px solid var(--red);
}

/* --- 表单状态 --- */
.form-status {
	margin-bottom: 1.5rem;
	padding: 1rem 1.25rem;
	border: 1px solid var(--line-strong);
	font-size: .9375rem;
	line-height: 1.7;
}

.form-status--ok {
	border-color: var(--blue);
	background: rgba(18, 64, 155, .06);
}

.form-status--error {
	border-color: var(--red);
	background: rgba(224, 48, 30, .06);
	color: var(--red);
}

/* --- 搜索框 --- */
.search-form {
	display: flex;
	gap: .5rem;
	align-items: stretch;
}

.search-form label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.search-form input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	padding: .75rem 1rem;
	border: 1px solid var(--line-strong);
	background: var(--paper);
	font-family: inherit;
	font-size: .9375rem;
	color: var(--ink);
}

.search-form input[type="search"]:focus {
	outline: 2px solid var(--ink);
	outline-offset: -1px;
}

/* --- 响应式 --- */
@media (max-width: 900px) {
	.notes {
		grid-template-columns: repeat(2, 1fr);
	}
	.related-block {
		grid-template-columns: 1fr;
		gap: .35rem;
	}
}

@media (max-width: 620px) {
	.notes {
		grid-template-columns: 1fr;
	}
	.notes--archive .note {
		grid-template-columns: 1fr;
		grid-template-areas:
			"meta"
			"title"
			"text";
		gap: .35rem;
	}
	.note__title {
		font-size: 1.1875rem;
	}
}
