/*
Theme Name: 郑州双子环保科技 Gemini Duo Split
Theme URI: https://example.com/
Author: Duo工作室 (Studio Duo)
Author URI: https://example.com/
Description: 为郑州双子环保科技有限公司(虚构演示公司)定制的分屏对撞风企业主题。全站贯穿 50/50 硬分割:左侧深紫承载「设计说」,右侧青柠承载「工程说」,细字重与重字重互为镜像;对角线切割过渡、双色拼接按钮、产品卡双面翻转、喷淋塔左线框右色块 SVG。注册「双子产品」自定义文章类型与产品分类,内置演示内容兜底,零外部依赖。
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shuangzi-split
Tags: two-columns, custom-menu, custom-logo, featured-images, translation-ready
*/

/* ============================================================
   0. 双子变量表 —— 设计定的色,工程定的距
   ============================================================ */
:root {
  /* 双色对撞 */
  --purple: #5b21b6;        /* 设计侧:深紫 */
  --purple-deep: #43188c;
  --purple-tint: #f0eafa;
  --lime: #d0f224;          /* 工程侧:青柠 */
  --lime-deep: #a8c70d;
  --lime-tint: #f7fbdb;
  /* 中性 */
  --ink: #201730;
  --paper: #faf8f2;
  --line: rgba(32, 23, 48, 0.14);
  --line-inverse: rgba(250, 248, 242, 0.22);
  /* 字重对仗:左细右粗 */
  --w-design: 250;
  --w-eng: 800;
  --font-stack: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC",
    "Source Han Sans SC", sans-serif;
  /* 节奏 */
  --sp: clamp(3.5rem, 8vw, 6.5rem);
  --diag-h: 4.5rem;
  --radius: 4px;
  --header-h: 4.25rem;
  --maxw: 72rem;
}

/* ============================================================
   1. 基础复位与排印
   ============================================================ */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-stack);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: var(--w-eng);
}

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }

a { color: var(--purple); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; text-underline-offset: 3px; }

blockquote {
  margin: 1.5em 0;
  padding: 0.5em 0 0.5em 1.25em;
  border-left: 4px solid var(--purple);
  font-weight: var(--w-design);
}

table { border-collapse: collapse; width: 100%; }
th, td { border: 1px solid var(--line); padding: 0.55em 0.8em; text-align: left; }
th { background: var(--purple-tint); }

code, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--purple-tint);
  border-radius: var(--radius);
}
code { padding: 0.1em 0.35em; }
pre { padding: 1em; overflow-x: auto; }

/* 字重对仗工具类 */
.t-thin { font-weight: var(--w-design); letter-spacing: 0.06em; }
.t-heavy { font-weight: var(--w-eng); letter-spacing: 0; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  overflow: hidden;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  clip: auto; clip-path: none;
  width: auto; height: auto;
  position: fixed !important;
  left: 0.5rem; top: 0.5rem;
  z-index: 10000;
  padding: 0.75em 1.25em;
  background: var(--lime);
  color: var(--purple-deep);
  font-weight: var(--w-eng);
}

.skip-link { display: inline-block; }

/* ============================================================
   2. 布局容器
   ============================================================ */
.wrap {
  width: min(100% - 2.5rem, var(--maxw));
  margin-inline: auto;
}
.wrap--narrow { max-width: 46rem; }

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

/* 对角线切割过渡条 —— 两色在斜线上相撞 */
.diag { height: var(--diag-h); }
.diag--paper-ink   { background: linear-gradient(to right bottom, var(--paper) 49.7%, var(--ink) 50.3%); }
.diag--ink-paper   { background: linear-gradient(to left bottom, var(--ink) 49.7%, var(--paper) 50.3%); }
.diag--paper-ptint { background: linear-gradient(to right bottom, var(--paper) 49.7%, var(--purple-tint) 50.3%); }
.diag--ink-paper-r { background: linear-gradient(to right bottom, var(--ink) 49.7%, var(--paper) 50.3%); }
.diag--ptint-paper { background: linear-gradient(to left bottom, var(--purple-tint) 49.7%, var(--paper) 50.3%); }

/* ============================================================
   3. 双色拼接按钮 —— 一半归设计,一半归工程
   ============================================================ */
.btn-duo {
  display: inline-flex;
  align-items: stretch;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none !important;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-duo__l,
.btn-duo__r { padding: 0.9em 1.1em; display: inline-block; }
.btn-duo__l {
  background: var(--purple);
  color: var(--lime);
  font-weight: var(--w-design);
  letter-spacing: 0.08em;
}
.btn-duo__r {
  background: var(--lime);
  color: var(--purple-deep);
  font-weight: var(--w-eng);
}
.btn-duo:hover,
.btn-duo:focus {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn-ghost {
  display: inline-block;
  padding: 0.85em 1.4em;
  border: 2px solid currentColor;
  border-radius: var(--radius);
  font-weight: var(--w-eng);
  line-height: 1;
  text-decoration: none !important;
  transition: transform 0.2s ease;
}
.btn-ghost:hover, .btn-ghost:focus { transform: translateY(-2px); }

/* ============================================================
   4. 页头与导航
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(32, 23, 48, 0.12); }

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.brand a { text-decoration: none !important; }
.brand__link { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); }
.custom-logo { max-height: 2.6rem; width: auto; }

/* 双方块标:紫与青柠肩并肩 */
.brand__mark {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  width: 2.1rem; height: 2.1rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}
.brand__mark span:first-child { background: var(--purple); }
.brand__mark span:last-child { background: var(--lime); }

.brand__name { font-size: 1.2rem; white-space: nowrap; }
.brand__name .t-thin { color: var(--purple); }
.brand__name .t-heavy { color: var(--ink); }
.brand__tag {
  margin: 0;
  font-size: 0.78rem;
  color: var(--ink);
  opacity: 0.65;
  border-left: 1px solid var(--line);
  padding-left: 0.75rem;
  white-space: nowrap;
}

.site-nav .menu {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.site-nav .menu li { position: relative; }
.site-nav .menu a {
  display: block;
  padding: 0.5em 0.8em;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none !important;
  border-bottom: 2px solid transparent;
}
.site-nav .menu a:hover,
.site-nav .menu a:focus,
.site-nav .menu .current-menu-item > a,
.site-nav .menu .current_page_item > a {
  border-bottom-color: var(--lime-deep);
  color: var(--purple);
}
.site-nav .menu .sub-menu {
  list-style: none;
  margin: 0; padding: 0.4rem 0;
  position: absolute;
  left: 0; top: 100%;
  min-width: 11rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(32, 23, 48, 0.14);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}
.site-nav .menu li:hover > .sub-menu,
.site-nav .menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 0.55rem 0.6rem;
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  width: 1.35rem; height: 2px;
  background: var(--ink);
  margin: 4px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   5. 分屏 Hero —— 左紫细,右柠粗
   ============================================================ */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--header-h));
  overflow: hidden;
}
.hero__half {
  padding: clamp(3.5rem, 9vw, 7rem) clamp(1.5rem, 5vw, 5rem);
  display: flex;
  align-items: center;
}
.hero__half--design {
  background: var(--purple);
  color: var(--lime);
  justify-content: flex-start;
}
.hero__half--eng {
  background: var(--lime);
  color: var(--purple-deep);
  justify-content: flex-end;
  text-align: right;
}
.hero__inner { max-width: 26rem; position: relative; z-index: 2; }
.hero__half--eng .hero__inner { margin-left: auto; }

.hero__eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  border: 1px solid currentColor;
  padding: 0.3em 0.9em 0.3em 1.15em;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.hero__title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: var(--w-design);
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}
.hero__counter {
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  font-weight: var(--w-eng);
  line-height: 1.35;
  margin-bottom: 1.25rem;
}
.hero__note { font-size: 0.95rem; opacity: 0.85; margin-bottom: 2rem; }
.hero__half--design .btn-ghost { color: var(--lime); }

/* 塔骑在分割线上:左边看线,右边看色 */
.hero__tower {
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  width: clamp(180px, 22vw, 260px);
  z-index: 1;
  pointer-events: none;
}

.hero__badge {
  margin: 0;
  position: absolute;
  left: 50%;
  top: clamp(1.5rem, 4vw, 3rem);
  transform: translateX(-50%);
  z-index: 3;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5em 1.4em;
  border-radius: 999px;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

/* ============================================================
   6. 喷淋塔 SVG 双面画法:左半线框 / 右半色块
   ============================================================ */
.tower { width: 100%; height: auto; }
.tower .tower-wire * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.tower .tower-fill * { stroke: none; }
.tower .tower-fill .t-shell { fill: currentColor; opacity: 0.92; }
.tower .tower-fill .t-pack { fill: currentColor; opacity: 0.55; }
.tower .tower-fill .t-flow { fill: currentColor; opacity: 0.35; }
.tower .tower-fill .t-base { fill: currentColor; opacity: 0.75; }
.tower .tower-seam { stroke: currentColor; stroke-width: 1; stroke-dasharray: 3 5; opacity: 0.6; }
/* 在紫底上整塔用青柠,在纸底上左紫右紫填充 */
.tower--hero .tower-half-l { color: var(--lime); }
.tower--hero .tower-half-r { color: var(--purple-deep); }
.tower--card .tower-half-l { color: var(--purple); }
.tower--card .tower-half-r { color: var(--lime-deep); }

/* ============================================================
   7. 双引言条 设计说/工程说
   ============================================================ */
.quote-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.quote-duo__half { padding: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 4vw, 4rem); }
.quote-duo__half--design {
  background: var(--lime);
  color: var(--purple-deep);
  text-align: right;
}
.quote-duo__half--eng {
  background: var(--purple);
  color: var(--lime);
}
.quote-duo__half p {
  margin: 0 0 0.4em;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}
.quote-duo__half--design p { font-weight: var(--w-design); letter-spacing: 0.04em; }
.quote-duo__half--eng p { font-weight: var(--w-eng); }
.quote-duo__half cite {
  font-style: normal;
  font-size: 0.85rem;
  opacity: 0.8;
  letter-spacing: 0.15em;
}

/* ============================================================
   8. 区块标题 —— 编号 + 细粗对半的标题
   ============================================================ */
.sec-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.sec-head__no {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--purple);
  border: 1px solid var(--purple);
  padding: 0.15em 0.7em 0.15em 0.95em;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
.sec-head__title { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: 0.5rem; }
.sec-head__title .t-thin { color: var(--purple); }
.sec-head__duo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em 1.5em;
  font-size: 0.95rem;
  margin: 0;
}
.say-d { font-weight: var(--w-design); color: var(--purple); letter-spacing: 0.04em; }
.say-e { font-weight: var(--w-eng); color: var(--ink); }
.say-d::before { content: "设计说 / "; font-size: 0.82em; opacity: 0.7; letter-spacing: 0.2em; }
.say-e::before { content: "工程说 / "; font-size: 0.82em; opacity: 0.7; letter-spacing: 0.2em; }

/* 深底区块里的标题反色 */
.on-ink { color: var(--paper); }
.on-ink .sec-head__no { color: var(--lime); border-color: var(--lime); }
.on-ink .sec-head__title .t-thin { color: var(--lime); }
.on-ink .say-d { color: var(--lime); }
.on-ink .say-e { color: var(--paper); }

/* ============================================================
   9. 两面工艺(金浩丰板材 + 原理流)
   ============================================================ */
.craft-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.craft-card__half { padding: clamp(1.5rem, 4vw, 2.75rem); }
.craft-card__half--design {
  background: var(--purple);
  color: var(--lime);
}
.craft-card__half--eng {
  background: var(--lime);
  color: var(--purple-deep);
}
.craft-card__label {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  opacity: 0.85;
  display: block;
  margin-bottom: 0.75rem;
}
.craft-card__half h3 { font-size: 1.35rem; }
.craft-card__half--design h3 { font-weight: var(--w-design); letter-spacing: 0.05em; }
.craft-card__half p { margin-bottom: 0; font-size: 0.98rem; }
.craft-card__supplier {
  grid-column: 1 / -1;
  background: var(--ink);
  color: var(--paper);
  padding: 1rem clamp(1.5rem, 4vw, 2.75rem);
  font-size: 0.95rem;
  text-align: center;
}
.craft-card__supplier strong { color: var(--lime); font-weight: var(--w-eng); }

/* 原理五步流 */
.flow {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  counter-reset: flowstep;
}
.flow__step {
  background: var(--paper);
  padding: 1.25rem 1rem 1.1rem;
  position: relative;
  counter-increment: flowstep;
}
.flow__step:nth-child(odd) { background: var(--purple-tint); }
.flow__step:nth-child(even) { background: var(--lime-tint); }
.flow__step::before {
  content: counter(flowstep, decimal-leading-zero);
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  color: var(--purple);
  margin-bottom: 0.4rem;
}
.flow__step strong { display: block; font-weight: var(--w-eng); margin-bottom: 0.25rem; }
.flow__step small { display: block; font-size: 0.82rem; line-height: 1.55; opacity: 0.8; }
.flow__result {
  text-align: center;
  font-size: 1.05rem;
  margin: 0;
}
.flow__result strong {
  color: var(--purple);
  font-weight: var(--w-eng);
  font-size: 1.4em;
}

/* ============================================================
   10. 双子产品:双视角翻转卡
   ============================================================ */
.section-products { background: var(--ink); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.flip { perspective: 1200px; min-height: 23.5rem; }
.flip__inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0.1, 0.2, 1);
}
@media (hover: hover) {
  .flip:hover .flip__inner { transform: rotateY(180deg); }
}
.flip.is-flipped .flip__inner { transform: rotateY(180deg); }
.flip__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.flip__front {
  background: var(--purple);
  color: var(--lime);
  border: 2px solid var(--purple);
}
.flip__back {
  background: var(--lime);
  color: var(--purple-deep);
  border: 2px solid var(--lime);
  transform: rotateY(180deg);
}
.flip__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  opacity: 0.85;
  margin-bottom: 0.75rem;
}
.flip__model { font-size: 1.5rem; margin-bottom: 0.35rem; }
.flip__front .flip__model { font-weight: var(--w-design); letter-spacing: 0.06em; }
.flip__front .flip__model strong { font-weight: var(--w-eng); }
.flip__name { font-size: 0.95rem; opacity: 0.9; margin-bottom: 1rem; }
.flip__copy { font-size: 0.95rem; flex-grow: 1; }
.flip__thumb { margin: -0.5rem 0 0.75rem; }
.flip__thumb img { width: 100%; height: 8.5rem; object-fit: cover; border-radius: var(--radius); }
.flip__specs {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.9rem;
  flex-grow: 1;
}
.flip__specs li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.32em 0;
  border-bottom: 1px dashed rgba(67, 24, 140, 0.35);
}
.flip__specs li span:last-child { font-weight: var(--w-eng); }
.flip__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}
.flip__link { color: inherit; font-weight: var(--w-eng); font-size: 0.92rem; }
.flip__hint {
  background: none;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  font: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  padding: 0.3em 0.9em;
  cursor: pointer;
}
.flip__hint:hover, .flip__hint:focus { background: rgba(255, 255, 255, 0.14); }

/* 配套三小件 */
.aux-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.aux-card {
  border: 1px solid var(--line-inverse);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  color: var(--paper);
}
.aux-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.aux-card h3::before {
  content: "+";
  color: var(--lime);
  margin-right: 0.5em;
  font-weight: var(--w-eng);
}
.aux-card p { margin: 0; font-size: 0.9rem; opacity: 0.8; }

/* ============================================================
   11. 应用行业 —— 上紫下柠的小对撞块
   ============================================================ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.industry {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.industry:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--ink); }
.industry__d {
  background: var(--purple);
  color: var(--lime);
  padding: 1.1rem 1.25rem;
  font-weight: var(--w-design);
  letter-spacing: 0.03em;
  font-size: 0.95rem;
}
.industry__e {
  background: var(--lime);
  color: var(--purple-deep);
  padding: 1.1rem 1.25rem;
  font-weight: var(--w-eng);
  font-size: 0.92rem;
  flex-grow: 1;
}
.industry:nth-child(even) .industry__d { background: var(--lime); color: var(--purple-deep); }
.industry:nth-child(even) .industry__e { background: var(--purple); color: var(--lime); }
.industry h3 {
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
  font-weight: inherit;
}
.industry p { margin: 0; }
.industry__tag {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  opacity: 0.8;
  margin-bottom: 0.3rem;
}

/* ============================================================
   12. 双签案例
   ============================================================ */
.section-cases { background: var(--purple-tint); }
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.case {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.case__band {
  display: flex;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}
.case__band span {
  flex: 1;
  padding: 0.45em 1em;
  text-align: center;
  white-space: nowrap;
}
.case__band span:first-child { background: var(--purple); color: var(--lime); font-weight: var(--w-design); }
.case__band span:last-child { background: var(--lime); color: var(--purple-deep); font-weight: var(--w-eng); }
.case__body { padding: 1.4rem 1.5rem 0.5rem; flex-grow: 1; }
.case__body h3 { font-size: 1.15rem; }
.case__body p { font-size: 0.93rem; opacity: 0.88; }
.case__sigs { border-top: 1px solid var(--line); }
.sig { margin: 0; padding: 0.9rem 1.5rem; font-size: 0.88rem; }
.sig cite { display: block; font-style: normal; font-size: 0.8rem; margin-top: 0.3rem; opacity: 0.75; }
.sig--d {
  border-left: 4px solid var(--purple);
  font-weight: var(--w-design);
  letter-spacing: 0.02em;
  background: var(--purple-tint);
}
.sig--e {
  border-left: 4px solid var(--lime-deep);
  font-weight: var(--w-eng);
  background: var(--lime-tint);
}

/* ============================================================
   13. 关于双子 —— 两支队伍各占半屏
   ============================================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.about-split__half { padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4.5rem); }
.about-split__half--design {
  background: var(--purple);
  color: var(--lime);
  text-align: right;
}
.about-split__half--eng { background: var(--lime); color: var(--purple-deep); }
.about-split__half h3 { font-size: 1.5rem; }
.about-split__half--design h3 { font-weight: var(--w-design); letter-spacing: 0.08em; }
.about-split__half p { font-size: 0.97rem; }
.about-split__half ul { list-style: none; padding: 0; margin: 1rem 0 0; font-size: 0.92rem; }
.about-split__half li { padding: 0.3em 0; border-bottom: 1px dashed currentColor; }
.about-split__half--design li { border-bottom-color: rgba(208, 242, 36, 0.4); }
.about-split__half--eng li { border-bottom-color: rgba(67, 24, 140, 0.35); }

.about-stats {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(1.75rem, 4vw, 2.75rem) 0;
}
.about-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat b {
  display: block;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: var(--w-eng);
  color: var(--lime);
  line-height: 1.2;
}
.stat span { font-size: 0.85rem; opacity: 0.8; letter-spacing: 0.1em; }

/* ============================================================
   14. 双周记(新闻)
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.news-card {
  border: 1px solid var(--line);
  border-top: 4px solid var(--purple);
  border-radius: var(--radius);
  background: #fff;
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-card:nth-child(even) { border-top-color: var(--lime-deep); }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(32, 23, 48, 0.12); }
.news-card time {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--purple);
  margin-bottom: 0.5rem;
}
.news-card h3 { font-size: 1.1rem; }
.news-card h3 a { color: var(--ink); }
.news-card p { font-size: 0.92rem; opacity: 0.85; flex-grow: 1; }
.news-card .more { font-size: 0.88rem; font-weight: var(--w-eng); }

/* ============================================================
   15. 约双子聊(联系 CTA)
   ============================================================ */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.contact-split__half { padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4.5rem); }
.contact-split__half--design {
  background: var(--lime);
  color: var(--purple-deep);
  text-align: right;
}
.contact-split__half--eng { background: var(--purple); color: var(--lime); }
.contact-split__half h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.contact-split__half--design h2 { font-weight: var(--w-design); letter-spacing: 0.06em; }
.contact-list { list-style: none; margin: 1.25rem 0 1.75rem; padding: 0; font-size: 0.97rem; }
.contact-list li { padding: 0.35em 0; }
.contact-list b { font-weight: var(--w-eng); margin-right: 0.6em; letter-spacing: 0.1em; }
.contact-list a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.contact-split .btn-duo { border-color: var(--paper); }

/* ============================================================
   16. 页脚
   ============================================================ */
.site-footer { background: var(--ink); color: var(--paper); }
.footer-seam {
  height: 6px;
  background: linear-gradient(90deg, var(--purple) 50%, var(--lime) 50%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-block: clamp(2.5rem, 6vw, 4rem) 2rem;
}
.footer-grid h4 {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--lime);
  margin-bottom: 1rem;
}
.footer-grid p { font-size: 0.92rem; opacity: 0.85; }
.footer-brand .brand__name .t-thin { color: var(--lime); }
.footer-brand .brand__name .t-heavy { color: var(--paper); }
.footer-duo { font-size: 0.88rem; margin-top: 0.9rem; }
.footer-duo .say-d { color: var(--lime); }
.footer-duo .say-e { color: var(--paper); }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { padding: 0.25em 0; }
.footer-menu a { color: var(--paper); opacity: 0.85; font-size: 0.93rem; }
.footer-menu a:hover { color: var(--lime); opacity: 1; }
.footer-contact { list-style: none; margin: 0; padding: 0; font-size: 0.92rem; }
.footer-contact li { padding: 0.25em 0; opacity: 0.9; }
.footer-contact a { color: var(--paper); }
.footer-supplier {
  border-top: 1px solid var(--line-inverse);
  padding: 1rem 0;
  font-size: 0.85rem;
  text-align: center;
  opacity: 0.85;
}
.footer-supplier .wrap { max-width: 56rem; }
.footer-supplier strong { color: var(--lime); font-weight: var(--w-eng); }
.footer-legal {
  border-top: 1px solid var(--line-inverse);
  padding: 1rem 0;
  font-size: 0.8rem;
  text-align: center;
  opacity: 0.65;
}
.footer-legal .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5em 1.5em; }

/* ============================================================
   17. 内页通用(页首横幅 / 正文 / 侧栏 / 分页)
   ============================================================ */
.page-hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  min-height: 11rem;
}
.page-hero__title {
  background: var(--purple);
  color: var(--lime);
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-hero__title h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: var(--w-design);
  letter-spacing: 0.05em;
  margin: 0;
}
.page-hero__title .page-hero__crumb {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  opacity: 0.8;
  margin-bottom: 0.6rem;
}
.page-hero__meta {
  background: var(--lime);
  color: var(--purple-deep);
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-weight: var(--w-eng);
  font-size: 0.95rem;
  text-align: right;
}
.page-hero__meta p { margin: 0.15em 0; }

.content-area { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content h2 { font-size: 1.5rem; margin-top: 1.8em; }
.entry-content h2::before { content: "// "; color: var(--lime-deep); font-weight: var(--w-eng); }
.entry-content h3 { font-size: 1.2rem; margin-top: 1.5em; }
.entry-content img { border-radius: var(--radius); }
.entry-thumb { margin: 0 0 1.75rem; }
.entry-thumb img { width: 100%; border-radius: var(--radius); }
.entry-meta {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--purple);
  margin-bottom: 1.5rem;
}
.entry-meta span + span::before { content: " · "; opacity: 0.5; }

.post-list { display: grid; gap: 1.5rem; }
.post-card {
  border: 1px solid var(--line);
  border-left: 5px solid var(--purple);
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.post-card:nth-child(even) { border-left-color: var(--lime-deep); }
.post-card:hover { transform: translateX(4px); box-shadow: 0 10px 26px rgba(32, 23, 48, 0.1); }
.post-card h2 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.post-card h2 a { color: var(--ink); }
.post-card .entry-meta { margin-bottom: 0.6rem; }
.post-card p { margin: 0; font-size: 0.95rem; opacity: 0.88; }

.pagination, .post-nav {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.pagination .page-numbers {
  display: inline-block;
  min-width: 2.4em;
  text-align: center;
  padding: 0.45em 0.7em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none !important;
  font-size: 0.92rem;
}
.pagination .page-numbers.current {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--lime);
  font-weight: var(--w-eng);
}
.pagination .page-numbers:hover { border-color: var(--purple); color: var(--purple); }
.post-nav { justify-content: space-between; }
.post-nav a { font-size: 0.92rem; max-width: 46%; }

/* 侧栏 */
.widget-area { display: grid; gap: 1.5rem; }
.widget {
  border: 1px solid var(--line);
  border-top: 4px solid var(--lime-deep);
  background: #fff;
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}
.widget:nth-child(odd) { border-top-color: var(--purple); }
.widget-title, .widget .wp-block-heading {
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.9rem;
}
.widget ul { list-style: none; margin: 0; padding: 0; font-size: 0.93rem; }
.widget li { padding: 0.3em 0; border-bottom: 1px dashed var(--line); }
.widget li:last-child { border-bottom: none; }

/* 搜索表单:双色拼接输入框 */
.search-form {
  display: flex;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 30rem;
}
.search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  border: none;
  padding: 0.8em 1em;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
.search-form input[type="search"]:focus { outline: 2px solid var(--purple); outline-offset: -2px; }
.search-form button {
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: var(--w-eng);
  padding: 0 1.4em;
  background: linear-gradient(105deg, var(--purple) 50%, var(--lime) 50%);
  color: var(--paper);
  text-shadow: 0 0 6px rgba(32, 23, 48, 0.4);
  letter-spacing: 0.2em;
}

/* 404:被劈开的数字 */
.error-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 55vh;
}
.error-hero__half {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 7vw, 5rem);
}
.error-hero__half--design {
  background: var(--purple);
  color: var(--lime);
  text-align: right;
  align-items: flex-end;
}
.error-hero__half--eng { background: var(--lime); color: var(--purple-deep); }
.error-hero__code {
  font-size: clamp(4.5rem, 14vw, 9rem);
  line-height: 1;
  margin: 0 0 0.2em;
}
.error-hero__half--design .error-hero__code { font-weight: var(--w-design); }
.error-hero__half--eng .error-hero__code { font-weight: var(--w-eng); }
.error-hero p { max-width: 22rem; }
.error-hero .search-form { margin-top: 1rem; border-color: var(--purple-deep); }

/* 产品详情 */
.product-hero { margin-bottom: 0; }
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.product-figure {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: linear-gradient(105deg, var(--purple-tint) 50%, var(--lime-tint) 50%);
  padding: 2rem 3rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
.product-figure img { width: 100%; border-radius: var(--radius); }
.spec-block { margin-top: 2.5rem; }
.spec-block h2 { font-size: 1.3rem; }
.spec-table th { width: 38%; background: var(--purple-tint); font-weight: var(--w-eng); }
.spec-table tr:nth-child(even) td { background: var(--lime-tint); }
.spec-note { font-size: 0.85rem; opacity: 0.7; margin-top: 0.6rem; }

.inquiry-cta {
  margin-top: 2.5rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.inquiry-cta__half { padding: 1.5rem 1.75rem; }
.inquiry-cta__half--design {
  background: var(--purple);
  color: var(--lime);
  font-weight: var(--w-design);
}
.inquiry-cta__half--eng { background: var(--lime); color: var(--purple-deep); }
.inquiry-cta__half h3 { font-size: 1.1rem; font-weight: inherit; }
.inquiry-cta__half p { font-size: 0.92rem; margin-bottom: 0.9rem; }
.inquiry-cta__half a { color: inherit; font-weight: var(--w-eng); text-decoration: underline; text-underline-offset: 3px; }

/* 评论区(轻量) */
.comments-area { margin-top: 3rem; border-top: 2px solid var(--ink); padding-top: 2rem; }
.comment-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.comment-list .comment { border-left: 3px solid var(--purple-tint); padding: 0.75rem 0 0.75rem 1.25rem; margin-bottom: 1rem; }
.comment-form label { display: block; font-size: 0.9rem; margin-bottom: 0.25rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.6em 0.8em;
  font: inherit;
  margin-bottom: 1rem;
  background: #fff;
}
.comment-form .submit {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: linear-gradient(105deg, var(--purple) 50%, var(--lime) 50%);
  color: var(--paper);
  text-shadow: 0 0 6px rgba(32, 23, 48, 0.45);
  font: inherit;
  font-weight: var(--w-eng);
  padding: 0.75em 1.75em;
  cursor: pointer;
  letter-spacing: 0.15em;
}

/* ============================================================
   18. 入场动画(html.js 才隐藏,no-js 直接可见)
   ============================================================ */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
html.js .reveal.is-in { opacity: 1; transform: none; }
html.js .reveal:nth-child(2) { transition-delay: 0.08s; }
html.js .reveal:nth-child(3) { transition-delay: 0.16s; }
html.js .reveal:nth-child(4) { transition-delay: 0.24s; }

[data-drift] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  [data-drift] { transform: none !important; }
}

/* ============================================================
   19. 响应式:≤ 1024 收紧,≤ 768 上下堆叠仍对撞
   ============================================================ */
@media (max-width: 1024px) {
  .product-grid, .case-grid, .news-grid, .aux-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow__step:last-child { grid-column: 1 / -1; }
  .brand__tag { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --diag-h: 2.5rem; }

  /* 汉堡导航:紫底柠字的整屏抽屉 */
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: linear-gradient(180deg, var(--purple) 0%, var(--purple) 62%, var(--lime) 62%);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 890;
    padding: 2rem 1.5rem;
  }
  .nav-open .site-nav { transform: translateX(0); }
  .site-nav .menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    /* 紫底随菜单伸长:分界线永远压在末项之下,柠字不落柠底 */
    background: var(--purple);
    margin: 0 -1.5rem;
    padding: 0 1.5rem 1.5rem;
  }
  .site-nav .menu a {
    color: var(--lime);
    font-size: 1.2rem;
    font-weight: var(--w-eng);
    padding: 0.75em 0.25em;
    border-bottom: 1px solid rgba(208, 242, 36, 0.25);
  }
  .site-nav .menu a:hover,
  .site-nav .menu a:focus,
  .site-nav .menu .current-menu-item > a { color: var(--paper); border-bottom-color: var(--lime); }
  .site-nav .menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    background: none;
    border: none;
    box-shadow: none;
    padding-left: 1.25rem;
  }
  .site-nav .menu .sub-menu a { font-size: 1rem; font-weight: 400; }
  .nav-open body, body.nav-open { overflow: hidden; }

  /* 分屏全部转为上下堆叠,颜色对撞保留 */
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__half { padding: 3.5rem 1.5rem; }
  .hero__half--eng { justify-content: flex-start; text-align: left; }
  .hero__half--eng .hero__inner { margin-left: 0; }
  .hero__badge {
    position: static;
    transform: none;
    display: block;
    border-radius: 0;
    text-align: center;
    order: -1;
    padding: 0.7em 1rem;
  }
  .hero__tower {
    position: static;
    transform: none;
    width: 100%;
    order: 3;
    padding: 2rem 0 0;
    background: linear-gradient(90deg, var(--purple) 50%, var(--lime) 50%);
    display: flex;
    justify-content: center;
    pointer-events: auto;
  }
  .hero__tower .tower { width: min(58vw, 15rem); }

  .quote-duo, .craft-card, .about-split, .contact-split,
  .page-hero, .error-hero, .inquiry-cta { grid-template-columns: 1fr; }
  .quote-duo__half--design, .about-split__half--design,
  .contact-split__half--design, .error-hero__half--design,
  .hero__half--eng { text-align: left; align-items: flex-start; }
  .page-hero__meta { text-align: left; }

  .product-grid, .case-grid, .news-grid, .aux-grid,
  .industry-grid, .content-grid, .product-layout,
  .about-stats__grid, .footer-grid { grid-template-columns: 1fr; }
  .about-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; }
  .flow__step:last-child { grid-column: auto; }

  .product-figure { position: static; padding: 1.5rem; }
  .flip { min-height: 21rem; }
  .footer-legal .wrap { flex-direction: column; gap: 0.25em; }
}
