/*
Theme Name: Velaroom
Theme URI: https://hxshan.com/
Author: 环形山
Author URI: https://hxshan.com/
Description: 面向欧美市场的预制房 / 模块化建筑 B2B 独立站主题（展示 + 获取询单）。样式完全自包含，字体自托管、图标内联 SVG，零第三方请求。表单与转化追踪由插件「环迹 LeadPulse」接管，多语言与 SEO 标签由「环语 LinguaSEO」接管，授权与更新通道由「环枢 CraterHub」接管；主题本身不输出任何 SEO 标签、不写 <form>、不建线索表。
Version: 0.9.71
Requires at least: 6.0
Tested up to: 6.7
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: velaroom
Tags: one-column, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ================================================================
   Velaroom 设计系统（源自设计稿 site.css，逐字节保留）
   —— 设计令牌集中在下方 :root；业务样式按区块顺序排列。

   主题侧红线（见《环形山系列 · 通用规范》02 · 第二部分）：
   · 不输出 <title>/description/canonical/hreflang/og/twitter/robots/JSON-LD
   · 不写 <form>（表单由环迹渲染），不碰输出缓冲
   ================================================================ */

:root{
  --display:'Source Serif 4', 'Noto Serif SC', ui-serif, Georgia, 'Times New Roman', serif;
  --ui:'Inter', 'Noto Sans SC', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono:ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --bg:#ffffff;
  --surface:#f7f5f1;
  --surface-2:#efeae0;
  --ink:#0e0e0e;
  --ink-soft:#3a3a3a;
  --muted:#6f6f6f;
  --muted-2:#9a9a9a;
  --line:#e7e3da;
  --line-strong:#cdc7bb;
  --accent:#8a5a3c;
  --accent-soft:#c8a992;
  --on-accent:#ffffff;

  --radius:3px;
  --btn-radius:var(--radius);
  --head-weight:400;
  --head-track:-0.02em;
  --hero-tint-a:rgba(10,10,10,.28);
  --hero-tint-b:rgba(10,10,10,.62);

  --container:1240px;
  --wide:1400px;
  --gutter:40px;
  --sec:56px;          /* section vertical padding */
  --sec-tight:44px;
  --ease:cubic-bezier(.2,.7,.2,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{ margin:0; font-family:var(--ui); color:var(--ink); background:var(--bg); font-size:15.5px; line-height:1.45; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; overflow-x:clip; }
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; cursor:pointer; }

h1,h2,h3,h4{ margin:0; font-family:var(--display); font-weight:var(--head-weight); letter-spacing:var(--head-track); line-height:1.14; color:var(--ink); overflow-wrap:break-word; }
h1{ font-size:clamp(2rem, 4.2vw, 3.5rem); line-height:1.02; letter-spacing:-0.025em; }
h2{ font-size:clamp(1.55rem, 2.4vw, 2.1rem); line-height:1.08; letter-spacing:-0.02em; }
h3{ font-size:clamp(1.1rem, 1.35vw, 1.3rem); letter-spacing:-0.01em; line-height:1.2; }
p{ margin:0; }

.container{ width:100%; max-width:var(--container); margin-inline:auto; padding-inline:var(--gutter); }
.container.wide{ max-width:var(--wide); }

.eyebrow{ display:inline-flex; align-items:center; gap:9px; font-size:10.5px; font-weight:600; text-transform:uppercase; letter-spacing:0.16em; color:var(--muted); }
.eyebrow::before{ content:""; width:20px; height:1px; background:var(--accent); display:inline-block; }
.display-serif{ font-family:var(--display); font-weight:300; }
.lede{ font-size:1.02rem; line-height:1.5; color:var(--muted); max-width:66ch; }

/* ---------- Buttons ---------- */
.btn{ display:inline-flex; align-items:center; gap:9px; padding:12px 20px; border-radius:var(--btn-radius); font-size:13.5px; font-weight:500; letter-spacing:0.01em; border:1px solid transparent; transition:all .22s var(--ease); cursor:pointer; white-space:nowrap; }
.btn-primary{ background:var(--ink); color:var(--bg); }
.btn-primary:hover{ background:var(--accent); color:var(--on-accent); }
.btn-outline{ border-color:var(--line-strong); color:var(--ink); background:transparent; }
.btn-outline:hover{ border-color:var(--ink); background:var(--surface); }
.btn-ghost{ padding:6px 0; color:var(--ink); border-bottom:1px solid var(--line-strong); border-radius:0; }
.btn-ghost:hover{ border-color:var(--accent); color:var(--accent); }
.btn svg{ width:14px; height:14px; transition:transform .22s var(--ease); flex-shrink:0; }
.btn:hover svg{ transform:translateX(3px); }
.btn-lg{ padding:15px 26px; font-size:14.5px; }
.btn-block{ width:100%; justify-content:center; }

/* ---------- Top bar ---------- */
.top-bar{ background:var(--ink); color:#e8e5df; font-size:11.5px; letter-spacing:0.05em; text-transform:uppercase; text-align:center; padding:9px 16px; }
.top-bar strong{ color:#fff; font-weight:600; margin-inline:6px; }
.top-bar a{ color:#fff; text-decoration:underline; text-underline-offset:3px; margin-left:10px; }
@media (max-width:640px){ .top-bar{ font-size:10px; letter-spacing:0.02em; } .top-bar a{ display:none; } }

/* ---------- Header ---------- */
.site-header{ position:sticky; top:0; z-index:60; background:color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter:saturate(150%) blur(10px); border-bottom:1px solid var(--line); transition:box-shadow .25s var(--ease); }
.site-header.scrolled{ box-shadow:0 6px 22px -14px rgba(0,0,0,0.12); }
.site-header .inner{ position:relative; display:flex; align-items:center; justify-content:space-between; gap:24px; max-width:var(--container); margin-inline:auto; padding:16px var(--gutter); }
.logo{ display:inline-flex; align-items:baseline; gap:6px; font-family:var(--display); font-weight:500; font-size:21px; color:var(--ink); line-height:1; white-space:nowrap; letter-spacing:-0.01em; }
.logo .logo-mark{ display:inline-block; width:10px; height:10px; background:var(--accent); transform:rotate(45deg); align-self:center; margin-right:7px; flex-shrink:0; }
.logo .logo-tld{ font-family:var(--ui); font-size:9.5px; font-weight:600; letter-spacing:0.18em; color:var(--muted); text-transform:uppercase; margin-left:3px; }
@media (max-width:420px){ .logo .logo-tld{ display:none; } }

.primary-nav{ display:flex; align-items:center; gap:clamp(16px,1.8vw,26px); }
.primary-nav a.nav-link{ font-size:13.5px; font-weight:500; color:var(--ink); padding:7px 0; border-bottom:1px solid transparent; white-space:nowrap; }
.has-mega > a.nav-link{ display:inline-flex; align-items:center; }
.primary-nav a.nav-link:hover, .primary-nav a.nav-link.active{ border-color:var(--ink); }
.primary-nav .caret{ display:inline-block; flex-shrink:0; width:7px; height:7px; margin-left:5px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg) translateY(-2px); transition:transform .2s; }
.primary-nav .has-mega:hover .caret{ transform:rotate(-135deg) translateY(-1px); }

.nav-actions{ display:flex; align-items:center; gap:12px; }
.lang-switch{ font-size:12.5px; font-weight:600; color:var(--ink); padding:7px 11px; border:1px solid var(--line-strong); border-radius:var(--btn-radius); letter-spacing:0.02em; transition:.2s; }
.lang-switch:hover{ border-color:var(--ink); background:var(--surface); }
.icon-btn{ width:34px; height:34px; border-radius:var(--btn-radius); display:inline-flex; align-items:center; justify-content:center; color:var(--ink); background:transparent; border:1px solid transparent; transition:background .2s, border-color .2s; }
.icon-btn:hover{ background:var(--surface); border-color:var(--line); }
.icon-btn svg{ width:17px; height:17px; }

/* Mega menu — anchored to the header container so it can never overflow the viewport */
.mega{ position:absolute; top:100%; left:50%; transform:translateX(-50%); width:min(1080px, calc(100vw - 32px)); background:var(--bg); border:1px solid var(--line); border-top:none; padding:26px 32px; box-shadow:0 30px 60px -30px rgba(0,0,0,0.16); opacity:0; visibility:hidden; pointer-events:none; transition:opacity .2s var(--ease), visibility .2s; z-index:50; }
.mega::before{ content:""; position:absolute; top:-24px; left:0; right:0; height:24px; }
.has-mega:hover .mega{ opacity:1; visibility:visible; pointer-events:auto; }
.mega-grid{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:6px 36px; }
.mega .cat{ min-width:0; }
.mega .cat-title{ display:flex; justify-content:space-between; align-items:baseline; gap:10px; font-family:var(--display); font-size:14px; font-weight:500; color:var(--ink); padding:8px 0 4px; border-bottom:1px solid var(--line); }
.mega .cat-title .n{ font-family:var(--ui); font-size:9.5px; color:var(--muted); font-weight:600; letter-spacing:0.1em; flex-shrink:0; }
.mega .cat ul{ list-style:none; padding:5px 0 8px; margin:0; }
.mega .cat ul li a{ display:block; font-size:12.5px; color:var(--muted); padding:4px 0; transition:color .2s; }
.mega .cat ul li a:hover{ color:var(--accent); }
.mega-footer{ display:flex; justify-content:space-between; align-items:center; gap:16px; padding-top:16px; margin-top:16px; border-top:1px solid var(--line); font-size:12px; color:var(--muted); flex-wrap:wrap; }
.mega-footer a{ color:var(--ink); font-weight:500; }

.mobile-toggle{ display:none; width:38px; height:38px; align-items:center; justify-content:center; border:1px solid var(--line); border-radius:var(--btn-radius); background:transparent; }
.mobile-toggle span{ width:16px; height:1.5px; background:var(--ink); position:relative; display:block; transition:.2s; }
.mobile-toggle span::before,.mobile-toggle span::after{ content:""; position:absolute; width:16px; height:1.5px; background:var(--ink); left:0; transition:.2s; }
.mobile-toggle span::before{ top:-6px; } .mobile-toggle span::after{ top:6px; }
body.nav-open .mobile-toggle span{ background:transparent; }
body.nav-open .mobile-toggle span::before{ transform:translateY(6px) rotate(45deg); }
body.nav-open .mobile-toggle span::after{ transform:translateY(-6px) rotate(-45deg); }
@media (max-width:1180px){ .primary-nav, .nav-actions .btn-primary{ display:none; } .mobile-toggle{ display:inline-flex; } .site-header .inner{ min-height:70px; } }
.mobile-nav{ position:fixed; inset:70px 0 auto 0; background:var(--bg); padding:20px var(--gutter) 36px; border-bottom:1px solid var(--line); max-height:calc(100dvh - 70px); overflow:auto; transform:translateY(-100%); opacity:0; visibility:hidden; transition:.3s var(--ease); z-index:55; }
body.nav-open .mobile-nav{ transform:translateY(0); opacity:1; visibility:visible; }
.mobile-nav a{ display:flex; justify-content:space-between; align-items:center; padding:13px 0; border-bottom:1px solid var(--line); font-family:var(--display); font-size:18px; }
.mobile-nav a::after{ content:"→"; color:var(--muted); }
.mobile-nav .m-cta{ border:none; color:var(--accent); margin-top:14px; }
.mobile-nav a:last-child::after{ content:none; }

/* ---------- Home hero (fills exactly one screen; image never bleeds to screen 2) ---------- */
.hero{ position:relative; display:flex; height:calc(50svh); min-height:380px; max-height:520px; background:var(--surface); overflow:hidden; }
.hero-media{ position:absolute; inset:0; z-index:0; background:#d9d3c8; }
.hero-media img{ width:100%; height:100%; object-fit:cover; }
.hero-media::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(10,10,10,.22) 0%, rgba(10,10,10,.42) 50%, rgba(10,10,10,.74) 100%); }
.hero-inner{ position:relative; z-index:2; width:100%; max-width:var(--container); margin-inline:auto; padding:26px var(--gutter) 26px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; }
.hero-copy{ max-width:860px; color:#fff; display:flex; flex-direction:column; align-items:center; }
.hero-eyebrow{ display:inline-flex; align-items:center; gap:10px; padding:6px 12px; border:1px solid rgba(255,255,255,.4); border-radius:999px; font-size:10px; letter-spacing:0.15em; text-transform:uppercase; color:#f2eee5; backdrop-filter:blur(6px); background:rgba(255,255,255,.08); font-weight:600; }
.hero-eyebrow .dot{ width:6px; height:6px; border-radius:50%; background:var(--accent-soft); flex-shrink:0; }
.hero h1{ color:#fff; max-width:24ch; margin-top:14px; font-weight:300; font-size:clamp(1.9rem,3.6vw,3.2rem); line-height:1.06; text-shadow:0 2px 30px rgba(0,0,0,.38); }
.hero h1 em{ font-style:italic; color:#e5c9b1; }
.hero .sub{ max-width:52ch; margin-top:12px; color:rgba(255,255,255,.92); font-size:14.5px; line-height:1.5; text-shadow:0 1px 12px rgba(0,0,0,.35); }
.hero-actions{ display:flex; gap:12px; margin-top:22px; flex-wrap:wrap; justify-content:center; }
.hero-actions .btn-primary{ background:#fff; color:var(--ink); }
.hero-actions .btn-primary:hover{ background:var(--accent); color:#fff; }
.hero-actions .btn-outline{ border-color:rgba(255,255,255,.6); color:#fff; }
.hero-actions .btn-outline:hover{ background:rgba(255,255,255,.12); border-color:#fff; }
.hero-stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; width:100%; max-width:680px; margin-top:24px; padding-top:18px; border-top:1px solid rgba(255,255,255,.22); }
.hero-stats .stat{ color:#fff; text-align:center; }
.hero-stats .stat + .stat{ border-left:1px solid rgba(255,255,255,.2); padding-left:18px; }
.hero-stats .n{ font-family:var(--display); font-size:clamp(20px, 2.1vw, 27px); font-weight:400; line-height:1; letter-spacing:-0.02em; font-variant-numeric:tabular-nums; }
.hero-stats .l{ font-size:10px; color:rgba(255,255,255,.7); text-transform:uppercase; letter-spacing:0.11em; margin-top:5px; }
@media (max-width:820px){ .hero-stats{ grid-template-columns:1fr 1fr; gap:16px; } .hero-stats .stat + .stat{ border-left:none; padding-left:0; } .hero-stats .stat:nth-child(even){ border-left:1px solid rgba(255,255,255,.2); padding-left:14px; } }
@media (max-width:768px){ .hero{ height:auto; min-height:420px; max-height:none; } .hero-inner{ padding:24px var(--gutter) 24px; } .hero h1{ font-size:clamp(1.8rem,7vw,2.5rem); } }

/* ---------- Inner page hero / banner ---------- */
.page-hero{ padding:48px 0 32px; border-bottom:1px solid var(--line); background:var(--bg); }
.page-hero.center{ text-align:center; }
.page-hero.center .lede{ margin-inline:auto; }
.page-hero h1{ font-weight:300; margin-top:16px; max-width:22ch; }
.page-hero.center h1{ margin-inline:auto; }
.page-hero .lede{ margin-top:16px; max-width:100%; }
.breadcrumb{ font-size:12px; color:var(--muted); letter-spacing:0.01em; display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.breadcrumb a:hover{ color:var(--accent); }
.breadcrumb .sep{ opacity:.5; }
.breadcrumb .cur{ color:var(--ink); }
@media (max-width:768px){ .page-hero{ padding:32px 0 24px; } }

/* ---------- Section base ---------- */
section{ padding:var(--sec) 0; }
section.tight{ padding:var(--sec-tight) 0; }
.sec-head{ display:flex; justify-content:space-between; align-items:end; gap:32px; margin-bottom:36px; }
.sec-head .left{ max-width:660px; }
.sec-head h2{ margin-top:10px; }
.sec-head h2 em{ font-style:italic; font-weight:400; color:var(--accent); }
@media (max-width:1024px){ :root{ --gutter:32px; --sec:48px; --sec-tight:40px; } }
@media (max-width:768px){ :root{ --sec:40px; --sec-tight:34px; } .sec-head{ flex-direction:column; align-items:flex-start; gap:14px; margin-bottom:24px; } }
@media (max-width:640px){ :root{ --gutter:20px; } }

/* ---------- Categories grid (home) ---------- */
.cat-grid{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.cat-item{ background:var(--bg); padding:30px 28px; position:relative; display:flex; flex-direction:column; min-height:206px; transition:background .25s var(--ease); }
.cat-item:hover{ background:var(--surface); }
.cat-icon{ width:26px; height:26px; color:var(--ink); opacity:.7; margin-bottom:auto; }
.cat-icon svg{ width:100%; height:100%; stroke-width:1.2; }
.cat-name{ font-family:var(--display); font-size:18px; font-weight:500; margin-top:20px; letter-spacing:-0.01em; line-height:1.2; }
.cat-desc{ color:var(--muted); font-size:13px; margin-top:7px; line-height:1.5; }
.cat-meta{ display:flex; align-items:center; justify-content:space-between; margin-top:18px; padding-top:12px; border-top:1px solid var(--line); font-size:10.5px; color:var(--muted); text-transform:uppercase; letter-spacing:0.12em; }
.cat-arrow{ position:absolute; top:28px; right:28px; width:20px; height:20px; color:var(--muted-2); transition:transform .3s var(--ease), color .2s; }
.cat-item:hover .cat-arrow{ transform:translate(4px,-4px); color:var(--accent); }
@media (max-width:1080px){ .cat-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width:640px){ .cat-grid{ grid-template-columns:1fr; } .cat-item{ padding:24px 20px; min-height:0; } .cat-arrow{ top:20px; right:20px; } }

/* ---------- Compact category tiles (home) ---------- */
.cat-tiles{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.cat-tile{ background:var(--bg); display:flex; align-items:center; gap:13px; padding:16px 18px; transition:background .2s var(--ease); }
.cat-tile:hover{ background:var(--surface); }
.cat-tile .ct-icon{ width:22px; height:22px; color:var(--ink); opacity:.6; flex-shrink:0; }
.cat-tile .ct-icon svg{ width:100%; height:100%; stroke-width:1.2; }
.cat-tile .ct-name{ font-family:var(--display); font-size:15.5px; font-weight:500; letter-spacing:-0.01em; line-height:1.2; }
.cat-tile .ct-n{ margin-left:auto; font-family:var(--mono); font-size:11px; color:var(--muted-2); flex-shrink:0; }
.cat-tile:hover .ct-n{ color:var(--accent); }
@media (max-width:900px){ .cat-tiles{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width:520px){ .cat-tiles{ grid-template-columns:1fr; } }

/* ---------- Product / model cards ---------- */
.model-grid{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:26px; }
.model-grid.cols-4{ grid-template-columns:repeat(4, minmax(0,1fr)); }
.model-grid.cols-2{ grid-template-columns:repeat(2, minmax(0,1fr)); }
.model-card{ background:var(--bg); border:1px solid var(--line); border-radius:var(--radius); display:flex; flex-direction:column; overflow:hidden; transition:transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.model-card:hover{ transform:translateY(-4px); box-shadow:0 24px 44px -30px rgba(0,0,0,.18); border-color:var(--line-strong); }
.model-media{ aspect-ratio:3/2; overflow:hidden; position:relative; background:#d9d3c8; }
.model-media img{ width:100%; height:100%; object-fit:cover; transition:transform .8s var(--ease); }
.model-card:hover .model-media img{ transform:scale(1.05); }
.model-tag{ position:absolute; top:14px; left:14px; padding:5px 9px; background:rgba(255,255,255,.92); font-size:9.5px; letter-spacing:0.16em; text-transform:uppercase; color:var(--ink); font-weight:600; border-radius:2px; }
.model-body{ padding:20px 22px 22px; display:flex; flex-direction:column; flex:1; }
.model-code{ font-family:var(--mono); font-size:10.5px; letter-spacing:0.12em; text-transform:uppercase; color:var(--accent); font-weight:600; }
.model-name{ font-family:var(--display); font-size:19px; font-weight:500; margin-top:6px; letter-spacing:-0.01em; line-height:1.2; }
.model-specs{ display:flex; flex-wrap:wrap; gap:5px 14px; margin-top:14px; padding-top:14px; border-top:1px solid var(--line); }
.model-specs span{ font-size:11.5px; color:var(--muted); }
.model-specs strong{ color:var(--ink); font-weight:500; margin-right:4px; font-family:var(--display); font-size:12.5px; }
.model-cta{ margin-top:auto; padding-top:16px; display:flex; justify-content:space-between; align-items:center; gap:12px; }
.model-cta a{ font-size:12.5px; font-weight:500; border-bottom:1px solid var(--line-strong); padding-bottom:2px; }
.model-cta a:hover{ color:var(--accent); border-color:var(--accent); }
@media (max-width:1080px){ .model-grid.cols-4{ grid-template-columns:repeat(3, minmax(0,1fr)); } }
@media (max-width:900px){ .model-grid, .model-grid.cols-4{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width:640px){ .model-grid, .model-grid.cols-4, .model-grid.cols-2{ grid-template-columns:1fr; } }

/* ---------- Models band (home) ---------- */
.models{ background:var(--surface); }

/* ---------- Why ---------- */
.why-wrap{ display:grid; grid-template-columns:1.05fr 1fr; gap:64px; align-items:center; }
.why-media{ position:relative; aspect-ratio:4/5; overflow:hidden; border-radius:var(--radius); background:#d9d3c8; }
.why-media img{ width:100%; height:100%; object-fit:cover; }
.pillar-list{ margin-top:30px; border-top:1px solid var(--line); }
.pillar{ padding:16px 0; border-bottom:1px solid var(--line); display:grid; grid-template-columns:48px 1fr; gap:20px; align-items:baseline; transition:padding .3s var(--ease); }
.pillar:hover{ padding-left:10px; }
.pillar .idx{ font-family:var(--display); font-style:italic; font-size:13px; color:var(--accent); }
.pillar h3{ font-size:17px; font-weight:500; margin-bottom:4px; }
.pillar p{ font-size:13.5px; color:var(--muted); max-width:52ch; line-height:1.5; }
@media (max-width:960px){ .why-wrap{ grid-template-columns:1fr; gap:44px; } .why-media{ aspect-ratio:16/10; order:-1; } }

/* ---------- Process ---------- */
.process{ background:var(--surface); }
.steps{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); border-top:1px solid var(--line-strong); margin-top:16px; }
.step{ padding:26px 24px 30px; border-right:1px solid var(--line-strong); }
.step:last-child{ border-right:none; }
.step .num{ font-family:var(--display); font-style:italic; font-size:13px; color:var(--accent); }
.step h3{ font-family:var(--display); font-size:20px; font-weight:500; margin-top:12px; }
.step p{ margin-top:10px; color:var(--muted); font-size:13.5px; line-height:1.5; }
.step .duration{ display:inline-block; margin-top:16px; font-size:10.5px; color:var(--ink); padding:4px 9px; background:var(--bg); border:1px solid var(--line-strong); text-transform:uppercase; letter-spacing:0.12em; font-weight:600; }
@media (max-width:900px){ .steps{ grid-template-columns:1fr 1fr; } .step:nth-child(2){ border-right:none; } }
@media (max-width:560px){ .steps{ grid-template-columns:1fr; } .step{ border-right:none; border-bottom:1px solid var(--line-strong); } .step:last-child{ border-bottom:none; } }

/* ---------- Projects ---------- */
.proj-grid{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:26px; }
.proj-card{ position:relative; display:block; overflow:hidden; aspect-ratio:4/5; border-radius:var(--radius); background:#d9d3c8; }
.proj-card img{ width:100%; height:100%; object-fit:cover; transition:transform .8s var(--ease); }
.proj-card:hover img{ transform:scale(1.05); }
.proj-overlay{ position:absolute; inset:auto 0 0 0; padding:22px; color:#fff; background:linear-gradient(180deg, transparent 0%, rgba(10,10,10,.2) 35%, rgba(10,10,10,.72) 100%); }
.proj-cat{ font-size:9.5px; letter-spacing:0.18em; text-transform:uppercase; opacity:.85; font-weight:600; }
.proj-title{ font-family:var(--display); font-size:19px; margin-top:6px; font-weight:500; }
.proj-loc{ font-size:11.5px; opacity:.85; margin-top:3px; }
.proj-arrow{ position:absolute; top:18px; right:18px; width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.16); backdrop-filter:blur(6px); border:1px solid rgba(255,255,255,.4); display:flex; align-items:center; justify-content:center; color:#fff; transition:.3s; }
.proj-card:hover .proj-arrow{ background:#fff; color:var(--ink); }
@media (max-width:900px){ .proj-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .proj-grid{ grid-template-columns:1fr; } .proj-card{ aspect-ratio:4/3; } }

/* ---------- Insights ---------- */
.insights{ background:var(--surface); }
.insight-grid{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:26px; }
.insight-card{ background:var(--bg); border:1px solid var(--line); border-radius:var(--radius); padding:26px 24px 22px; display:flex; flex-direction:column; transition:transform .3s var(--ease), border-color .3s; }
.insight-card:hover{ transform:translateY(-4px); border-color:var(--line-strong); }
.insight-cat{ font-size:10px; color:var(--accent); text-transform:uppercase; letter-spacing:0.18em; font-weight:700; }
.insight-card h3{ margin-top:12px; font-size:19px; font-weight:500; line-height:1.28; }
.insight-card .excerpt{ margin-top:10px; color:var(--muted); font-size:13.5px; line-height:1.55; flex:1; }
.insight-meta{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:18px; padding-top:16px; border-top:1px solid var(--line); font-size:10.5px; color:var(--muted); text-transform:uppercase; letter-spacing:0.12em; }
@media (max-width:900px){ .insight-grid{ grid-template-columns:1fr; } }

/* ---------- CTA band ---------- */
.cta{ background:var(--ink); color:#f4efe6; padding:var(--sec) 0; position:relative; overflow:hidden; }
.cta::before{ content:""; position:absolute; inset:0; background:radial-gradient(1100px 380px at 18% 0%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 60%); }
.cta-wrap{ display:grid; grid-template-columns:1.1fr 1fr; gap:64px; align-items:center; position:relative; }
.cta h2{ color:#fff; font-size:clamp(1.7rem, 3vw, 2.5rem); font-weight:300; }
.cta h2 em{ color:#e5c9b1; font-style:italic; }
.cta .sub{ margin-top:16px; color:rgba(244,239,230,.72); font-size:15px; max-width:50ch; line-height:1.55; }
.cta-trust{ display:flex; gap:22px; margin-top:26px; font-size:11.5px; color:rgba(255,255,255,.6); flex-wrap:wrap; }
.cta-trust span{ display:inline-flex; align-items:center; gap:8px; }
.cta-trust svg{ width:14px; height:14px; color:var(--accent-soft); }
.form{ background:color-mix(in srgb, var(--ink) 88%, #000); padding:26px; border:1px solid rgba(255,255,255,.08); border-radius:var(--radius); }
.form h3{ color:#fff; font-size:18px; font-weight:500; }
.form .row{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:14px; }
.field label{ display:block; font-size:9.5px; color:rgba(255,255,255,.55); text-transform:uppercase; letter-spacing:0.14em; margin-bottom:5px; font-weight:600; }
.field input,.field select,.field textarea{ width:100%; background:transparent; border:1px solid rgba(255,255,255,.15); color:#fff; padding:11px 13px; font-size:13.5px; border-radius:2px; font-family:inherit; transition:border-color .2s; }
.field select option{ background:#181818; color:#fff; }
.field input:focus,.field select:focus,.field textarea:focus{ outline:none; border-color:var(--accent-soft); }
.field textarea{ min-height:76px; resize:vertical; }
.form .full{ margin-top:12px; }
.form .submit{ width:100%; margin-top:18px; background:#fff; color:var(--ink); padding:14px; border:none; font-weight:600; font-size:13px; letter-spacing:0.04em; text-transform:uppercase; border-radius:var(--btn-radius); transition:.2s; }
.form .submit:hover{ background:var(--accent); color:#fff; }
.form .note{ font-size:10.5px; color:rgba(255,255,255,.45); margin-top:10px; text-align:center; }
@media (max-width:960px){ .cta-wrap{ grid-template-columns:1fr; gap:36px; } }
@media (max-width:560px){ .form{ padding:20px; } .form .row{ grid-template-columns:1fr; } }

/* ---------- Footer ---------- */
footer{ background:#0a0a0a; color:#a8a294; padding:48px 0 26px; font-size:13px; }
footer .cols{ display:grid; grid-template-columns:1.8fr 1fr 1fr 1.3fr; gap:40px; }
footer h4{ color:#fff; font-family:var(--ui); font-size:10px; text-transform:uppercase; letter-spacing:0.16em; font-weight:600; margin:0 0 13px; }
footer ul{ list-style:none; padding:0; margin:0; }
footer ul li{ margin-bottom:6px; }
footer ul li a{ color:#a8a294; transition:color .2s; }
footer ul li a:hover{ color:#fff; }
.brand-block .logo{ color:#fff; margin-bottom:12px; }
.brand-block p{ max-width:34ch; line-height:1.5; font-size:12.5px; }
.news-form{ display:flex; margin-top:12px; border-bottom:1px solid rgba(255,255,255,.15); }
.news-form input{ flex:1; min-width:0; background:transparent; border:none; color:#fff; padding:8px 0; font-family:inherit; font-size:12.5px; outline:none; }
.news-form input::placeholder{ color:#5f5a4f; }
.news-form button{ background:transparent; border:none; color:#fff; padding:8px 8px; }
.socials{ display:flex; gap:9px; margin-top:15px; }
.socials a{ width:31px; height:31px; border:1px solid rgba(255,255,255,.15); border-radius:50%; display:inline-flex; align-items:center; justify-content:center; color:#a8a294; transition:.2s; }
.socials a:hover{ color:#fff; border-color:#fff; }
.socials svg{ width:13px; height:13px; }
.cert-row{ display:flex; flex-wrap:wrap; gap:18px; margin-top:38px; padding-top:22px; border-top:1px solid rgba(255,255,255,.08); font-size:10px; letter-spacing:0.12em; text-transform:uppercase; color:#7a7367; }
.cert-row span{ display:inline-flex; align-items:center; gap:7px; }
.cert-row span::before{ content:""; width:5px; height:5px; border:1px solid #7a7367; border-radius:50%; }
.copyright{ margin-top:22px; display:flex; justify-content:space-between; align-items:center; gap:12px; padding-top:18px; border-top:1px solid rgba(255,255,255,.08); font-size:11px; color:#5f5a4f; flex-wrap:wrap; }
.copyright .links a{ margin-left:16px; color:#5f5a4f; }
.copyright .links a:hover{ color:#a8a294; }
@media (max-width:1080px){ footer .cols{ grid-template-columns:1fr 1fr 1fr; gap:32px; } .brand-block{ grid-column:span 3; } }
@media (max-width:640px){ footer .cols{ grid-template-columns:1fr 1fr; gap:28px; } .brand-block{ grid-column:span 2; } .copyright{ flex-direction:column; align-items:flex-start; } .copyright .links a:first-child{ margin-left:0; } }

/* ---------- Floating CTAs ---------- */
.float-cta{ position:fixed; right:20px; bottom:20px; z-index:80; display:flex; flex-direction:column; gap:10px; }
.float-cta a{ width:48px; height:48px; border-radius:50%; background:var(--bg); color:var(--ink); display:inline-flex; align-items:center; justify-content:center; box-shadow:0 10px 28px -12px rgba(0,0,0,.3); border:1px solid var(--line); transition:transform .25s var(--ease); position:relative; }
.float-cta a:hover{ transform:translateY(-2px); }
.float-cta a.wa{ background:#25D366; color:#fff; border-color:#25D366; }
.float-cta svg{ width:21px; height:21px; }
.float-cta a::after{ content:attr(data-tip); position:absolute; right:56px; background:var(--ink); color:var(--bg); padding:6px 10px; font-size:11px; letter-spacing:0.04em; white-space:nowrap; opacity:0; pointer-events:none; transition:opacity .2s; border-radius:2px; }
.float-cta a:hover::after{ opacity:1; }
@media (max-width:640px){ .float-cta a{ width:44px; height:44px; } .float-cta a::after{ display:none; } }

/* ---------- Reveal ---------- */
.reveal{ opacity:0; transform:translateY(20px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){ .reveal{ opacity:1; transform:none; transition:none; } html{ scroll-behavior:auto; } }

/* ============================================================
   CATEGORY PAGE
   ============================================================ */
.subcat-chips{ display:flex; flex-wrap:wrap; gap:9px; margin-top:24px; margin-bottom:4px; }
.chip{ padding:8px 15px; border:1px solid var(--line-strong); border-radius:999px; font-size:12.5px; color:var(--ink); background:var(--bg); transition:.2s; }
.chip:hover{ border-color:var(--ink); }
.chip.active{ background:var(--ink); color:var(--bg); border-color:var(--ink); }

.cat-layout{ display:grid; grid-template-columns:236px minmax(0,1fr); gap:44px; align-items:start; }
/* 叶子/无筛选项分类页：筛选栏整块不渲染，退化为单列，避免产品区落入 236px 窄列导致卡片挤压变形 */
.cat-layout.no-filters{ grid-template-columns: minmax(0,1fr); }
@media (max-width:960px){ .cat-layout{ grid-template-columns:1fr; gap:28px; } }
.filters{ position:sticky; top:88px; border:1px solid var(--line); border-radius:var(--radius); background:var(--bg); }
@media (max-width:960px){ .filters{ position:static; } }
.filters .f-head{ display:flex; justify-content:space-between; align-items:center; padding:15px 18px; border-bottom:1px solid var(--line); font-size:11px; text-transform:uppercase; letter-spacing:0.12em; font-weight:600; }
.filters .f-head button{ background:none; border:none; color:var(--accent); font-size:12px; font-weight:600; }
.fgroup{ padding:16px 18px; border-bottom:1px solid var(--line); }
.fgroup:last-child{ border-bottom:none; }
.fgroup h4{ font-family:var(--ui); font-size:11px; text-transform:uppercase; letter-spacing:0.1em; font-weight:600; margin-bottom:10px; color:var(--ink); }
.fopt{ display:flex; align-items:center; gap:9px; padding:4px 0; font-size:13.5px; color:var(--muted); cursor:pointer; }
.fopt input{ accent-color:var(--accent); width:14px; height:14px; flex-shrink:0; }
.fopt:hover{ color:var(--ink); }
.fopt .count{ margin-left:auto; font-size:11.5px; color:var(--muted-2); }

.toolbar{ display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:22px; flex-wrap:wrap; }
.toolbar .count{ font-size:13.5px; color:var(--muted); }
.toolbar .count strong{ color:var(--ink); font-family:var(--display); font-weight:500; }
.sort{ display:inline-flex; align-items:center; gap:10px; font-size:13px; color:var(--muted); }
.sort select{ border:1px solid var(--line-strong); background:var(--bg); color:var(--ink); padding:8px 11px; font-family:inherit; font-size:13px; border-radius:var(--radius); }

.pager{ display:flex; justify-content:center; gap:8px; margin-top:44px; }
.pager a{ width:38px; height:38px; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--line-strong); border-radius:var(--radius); font-size:13.5px; color:var(--ink); transition:.2s; }
.pager a:hover{ border-color:var(--ink); }
.pager a.active{ background:var(--ink); color:var(--bg); border-color:var(--ink); }

.seo-block{ max-width:none; }
.seo-block h2{ font-weight:300; }
.seo-block p{ color:var(--ink-soft); margin-top:14px; line-height:1.6; }
.seo-cols{ display:grid; grid-template-columns:1fr 1fr; gap:36px; margin-top:32px; }
@media (max-width:768px){ .seo-cols{ grid-template-columns:1fr; gap:22px; } }
.faq{ margin-top:36px; border-top:1px solid var(--line); max-width:none; }
.faq details{ border-bottom:1px solid var(--line); }
.faq summary{ list-style:none; cursor:pointer; padding:18px 0; display:flex; justify-content:space-between; align-items:center; gap:20px; font-family:var(--display); font-size:18px; font-weight:500; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; font-size:22px; color:var(--accent); font-weight:300; flex-shrink:0; }
.faq details[open] summary::after{ content:"–"; }
.faq .a{ padding:0 0 20px; color:var(--muted); max-width:92ch; margin-top:-2px; line-height:1.65; }

/* ============================================================
   PRODUCT PAGE
   ============================================================ */
.product-hero{ display:grid; grid-template-columns:1.1fr minmax(0,1fr); gap:56px; align-items:start; padding:28px 0 60px; }
@media (max-width:960px){ .product-hero{ grid-template-columns:minmax(0,1fr); gap:32px; padding-top:20px; } }
.gallery{ min-width:0; }
.gallery .g-main, .gallery .g-thumbs{ min-width:0; }
.gallery{ position:sticky; top:88px; }
@media (max-width:960px){ .gallery{ position:static; } }
.gallery .g-main{ aspect-ratio:3/2; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:#d9d3c8; }
.gallery .g-main img{ width:100%; height:100%; object-fit:cover; }
.gallery .g-thumbs{ display:flex; gap:10px; overflow-x:auto; padding-bottom:4px; scrollbar-width:none; -ms-overflow-style:none; scroll-behavior:smooth; scroll-snap-type:x proximity; }
.gallery .g-thumbs::-webkit-scrollbar{ display:none; }
.gallery .g-thumbs button{ flex:0 0 auto; width:132px; aspect-ratio:3/2; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:#d9d3c8; padding:0; transition:border-color .2s; scroll-snap-align:start; }
/* thumbnail carousel rail with arrows (no native scrollbar) */
.gal-rail{ display:flex; align-items:center; gap:10px; margin-top:12px; }
.gal-rail .g-thumbs{ flex:1 1 auto; margin-top:0; }
.gal-arrow{ flex:0 0 auto; width:38px; height:38px; border:1px solid var(--line-strong); border-radius:50%; background:var(--bg); color:var(--ink); display:grid; place-items:center; cursor:pointer; transition:.2s var(--ease); }
.gal-arrow:hover{ background:var(--ink); color:var(--bg); border-color:var(--ink); }
.gal-arrow svg{ width:16px; height:16px; }
.gal-arrow[disabled]{ opacity:.3; pointer-events:none; }
.gal-count{ flex:0 0 auto; font-family:var(--mono); font-size:12px; color:var(--muted); letter-spacing:0.04em; padding-left:2px; }
.gallery .g-thumbs button.active, .gallery .g-thumbs button:hover{ border-color:var(--accent); }
.gallery .g-thumbs img{ width:100%; height:100%; object-fit:cover; }

.p-info .p-code{ font-family:var(--mono); font-size:11px; letter-spacing:0.12em; text-transform:uppercase; color:var(--accent); font-weight:600; }
.p-info h1{ font-size:clamp(1.9rem,3vw,2.6rem); font-weight:300; margin-top:8px; }
.p-info .p-short{ color:var(--muted); margin-top:14px; font-size:15px; line-height:1.55; }
.keyspecs{ display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius); margin-top:22px; overflow:hidden; }
.keyspecs div{ background:var(--bg); padding:13px 16px; }
.keyspecs dt{ font-size:10px; text-transform:uppercase; letter-spacing:0.1em; color:var(--muted); }
.keyspecs dd{ margin:5px 0 0; font-family:var(--display); font-size:17px; font-weight:500; }
.p-buy{ display:flex; gap:12px; margin-top:22px; flex-wrap:wrap; }
.p-assure{ display:flex; gap:20px; margin-top:18px; padding-top:18px; border-top:1px solid var(--line); font-size:11.5px; color:var(--muted); flex-wrap:wrap; }
.p-assure span{ display:inline-flex; align-items:center; gap:7px; }
.p-assure svg{ width:14px; height:14px; color:var(--accent); flex-shrink:0; }

.config{ margin-top:22px; }
.config h4{ font-family:var(--ui); font-size:11px; text-transform:uppercase; letter-spacing:0.12em; font-weight:600; margin-bottom:10px; }
.config-opts{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:10px; }
.config-opts label{ position:relative; border:1px solid var(--line-strong); border-radius:var(--radius); padding:12px; cursor:pointer; display:block; transition:.2s; }
.config-opts label:hover{ border-color:var(--ink); }
.config-opts input{ position:absolute; opacity:0; pointer-events:none; }
.config-opts label:has(input:checked){ border-color:var(--accent); background:var(--surface); box-shadow:inset 0 0 0 1px var(--accent); }
.config-opts .c-name{ font-family:var(--display); font-size:15px; font-weight:500; }
.config-opts .c-desc{ font-size:11.5px; color:var(--muted); margin-top:3px; line-height:1.4; }
@media (max-width:640px){ .config-opts{ grid-template-columns:1fr; } }

.tabs{ border-top:1px solid var(--line); }
.tab-nav{ display:flex; gap:8px; border-bottom:1px solid var(--line); flex-wrap:wrap; }
.tab-nav button{ background:none; border:none; padding:14px 4px; margin-right:22px; font-size:13.5px; font-weight:500; color:var(--muted); border-bottom:2px solid transparent; }
.tab-nav button.active{ color:var(--ink); border-color:var(--accent); }
.tab-panel{ display:none; padding:36px 0; }
.tab-panel.active{ display:block; }
.tabs .prose{ max-width:none; }
.tabs .prose > p, .tabs .prose > ul, .tabs .prose > ol{ max-width:72ch; }
.tabs .prose figure{ max-width:none; }
.spec-table{ width:100%; border-collapse:collapse; }
.spec-table th{ text-align:left; font-family:var(--ui); font-size:11px; text-transform:uppercase; letter-spacing:0.08em; color:var(--muted); font-weight:600; padding:12px 16px 12px 0; border-bottom:1px solid var(--line); vertical-align:top; width:34%; }
.spec-table td{ padding:12px 0; border-bottom:1px solid var(--line); font-size:14.5px; }
.incl-grid{ display:grid; grid-template-columns:1fr 1fr; gap:36px; }
@media (max-width:640px){ .incl-grid{ grid-template-columns:1fr; gap:24px; } }
.incl-grid h4{ font-family:var(--display); font-size:16px; font-weight:500; margin-bottom:12px; }
.incl-grid ul{ list-style:none; padding:0; margin:0; }
.incl-grid li{ padding:7px 0 7px 24px; position:relative; color:var(--ink-soft); font-size:13.5px; border-bottom:1px solid var(--line); line-height:1.5; }
.incl-grid li::before{ content:"✓"; position:absolute; left:0; color:var(--accent); }
.incl-grid li.no::before{ content:"—"; color:var(--muted-2); }

/* ============================================================
   ARTICLE / CONTENT PAGE — editorial redesign
   ============================================================ */
.read-progress{ position:fixed; top:0; left:0; height:2px; width:0; background:var(--accent); z-index:75; }

.article-hero{ padding:48px 0 0; }
.article-hero h1{ font-weight:300; max-width:none; margin-top:16px; font-size:clamp(2rem,4.2vw,3.3rem); line-height:1.06; letter-spacing:-0.025em; }
.article-hero .a-sub{ color:var(--muted); font-size:1.15rem; line-height:1.5; margin-top:18px; max-width:none; }
.article-meta{ display:flex; align-items:center; gap:14px; margin-top:26px; padding-top:22px; border-top:1px solid var(--line); font-size:13px; color:var(--muted); flex-wrap:wrap; }
.article-meta a:hover{ color:var(--accent); }
.avatar{ width:38px; height:38px; border-radius:50%; overflow:hidden; background:var(--surface-2); display:inline-flex; align-items:center; justify-content:center; font-family:var(--display); font-weight:600; color:var(--accent); font-size:15px; flex-shrink:0; }
/* 0.9.37 hotfix：演示头像用的是 150x100 建筑图，无约束会被 flex 压成竖长条。 */
.avatar img{ display:block; width:100%; height:100%; object-fit:cover; object-position:center; border-radius:inherit; flex:0 0 100%; }
.article-meta .dot{ width:3px; height:3px; border-radius:50%; background:var(--muted-2); }
.article-meta .who{ color:var(--ink); font-weight:600; }
.article-cover{ margin-top:32px; aspect-ratio:21/10; overflow:hidden; border-radius:var(--radius); background:#d9d3c8; }
.article-cover img{ width:100%; height:100%; object-fit:cover; }

.article-layout{ display:grid; grid-template-columns:210px minmax(0,1fr); gap:64px; align-items:start; padding-top:56px; }
.article-layout > .toc{ order:1; position:sticky; top:88px; }
.article-layout > .prose{ order:2; max-width:none; }
@media (max-width:960px){ .article-layout{ grid-template-columns:1fr; gap:32px; } }
.toc .toc-t{ font-size:10.5px; text-transform:uppercase; letter-spacing:0.14em; color:var(--muted); font-weight:600; margin-bottom:12px; }
.toc a{ display:block; font-size:12.5px; color:var(--muted); padding:6px 0 6px 14px; border-left:2px solid var(--line); transition:.2s; }
.toc a:hover, .toc a.active{ color:var(--accent); border-color:var(--accent); }
@media (max-width:960px){ .toc{ display:none; } }

/* generic prose (shared with product tabs) */
.prose{ max-width:700px; }
.prose h2{ font-weight:300; font-size:clamp(1.5rem,2.2vw,1.9rem); margin-top:40px; scroll-margin-top:100px; }
.prose h2:first-child{ margin-top:0; }
.prose h3{ font-weight:500; font-size:1.2rem; margin-top:28px; }
.prose p{ margin-top:14px; color:var(--ink-soft); font-size:16px; line-height:1.68; }
.prose ul, .prose ol{ margin-top:14px; padding-left:22px; color:var(--ink-soft); }
.prose li{ margin:6px 0; font-size:16px; line-height:1.65; }
.prose strong{ color:var(--ink); font-weight:600; }
.prose a{ color:var(--accent); border-bottom:1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.prose figure{ margin:30px 0; }
.prose figure img{ border-radius:var(--radius); }
.prose figcaption{ font-size:12.5px; color:var(--muted); margin-top:10px; text-align:center; }
.prose .callout{ margin:28px 0; padding:22px 24px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); }
.prose .callout .ct{ font-size:10.5px; text-transform:uppercase; letter-spacing:0.14em; color:var(--accent); font-weight:700; }
.prose .callout p{ margin-top:6px; font-size:15px; }
.prose table{ width:100%; border-collapse:collapse; margin:28px 0; font-size:14px; }
.prose th, .prose td{ text-align:left; padding:12px 14px; border-bottom:1px solid var(--line); }
.prose thead th{ font-family:var(--ui); font-size:11px; text-transform:uppercase; letter-spacing:0.06em; color:var(--muted); font-weight:600; border-bottom:1px solid var(--line-strong); }
.prose tbody tr:hover{ background:var(--surface); }
@media (max-width:640px){ .prose p, .prose li{ font-size:15.5px; } }

/* article-specific refinements */
.article-body{ counter-reset:sec; }
.article-body h2{ counter-increment:sec; display:flex; align-items:baseline; gap:14px; }
.article-body h2::before{ content:counter(sec,decimal-leading-zero); flex-shrink:0; white-space:nowrap; font-family:var(--display); font-style:italic; font-size:1em; font-weight:400; color:var(--accent); line-height:1; }
.article-body blockquote{ margin:34px auto; padding:0; border:none; text-align:center; font-family:var(--display); font-style:italic; font-weight:300; font-size:clamp(1.4rem,2.4vw,1.9rem); line-height:1.35; color:var(--ink); max-width:26ch; }
.article-body blockquote::before{ content:"\201C"; display:block; font-size:3rem; line-height:.4; color:var(--accent-soft); margin-bottom:14px; }
.article-body .keypoints{ margin:32px 0; padding:24px 26px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); }
.article-body .keypoints .kt{ font-size:10.5px; text-transform:uppercase; letter-spacing:0.14em; color:var(--accent); font-weight:700; margin-bottom:12px; }
.article-body .keypoints ul{ margin:0; padding-left:20px; }
.article-body .keypoints li{ font-size:15px; margin:7px 0; }

.author-box{ max-width:none; margin-top:48px; margin-bottom:8px; padding:24px; border:1px solid var(--line); border-radius:var(--radius); display:flex; gap:18px; align-items:flex-start; background:var(--bg); }
.author-box .avatar{ width:54px; height:54px; font-size:21px; }
.author-box .ab-role{ font-size:10.5px; text-transform:uppercase; letter-spacing:0.12em; color:var(--accent); font-weight:700; }
.author-box h4{ font-family:var(--display); font-size:18px; font-weight:500; margin:5px 0; }
.author-box p{ font-size:13.5px; color:var(--muted); line-height:1.55; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
@media (max-width:900px){ .about-hero{ grid-template-columns:1fr; gap:28px; } }
.about-hero h1{ font-weight:300; }
.about-hero .media{ aspect-ratio:4/3; overflow:hidden; border-radius:var(--radius); background:#d9d3c8; }
.about-hero .media img{ width:100%; height:100%; object-fit:cover; }
.stat-band{ background:var(--surface); border-block:1px solid var(--line); padding:44px 0; }
.stat-band .grid{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:28px; text-align:center; }
.stat-band .n{ font-family:var(--display); font-size:clamp(1.9rem,3vw,2.7rem); font-weight:300; letter-spacing:-0.02em; }
.stat-band .l{ font-size:11px; text-transform:uppercase; letter-spacing:0.12em; color:var(--muted); margin-top:6px; }
@media (max-width:640px){ .stat-band .grid{ grid-template-columns:1fr 1fr; gap:24px; } }
.value-grid{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:1px; background:var(--line); border:1px solid var(--line); }
.value-cell{ background:var(--bg); padding:30px 26px; }
.value-cell .vn{ font-family:var(--display); font-style:italic; color:var(--accent); font-size:14px; }
.value-cell h3{ font-size:19px; font-weight:500; margin-top:12px; }
.value-cell p{ color:var(--muted); font-size:13.5px; margin-top:8px; line-height:1.55; }
@media (max-width:900px){ .value-grid{ grid-template-columns:1fr; } }
.split-media{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
@media (max-width:900px){ .split-media{ grid-template-columns:1fr; gap:28px; } }
.split-media .m{ aspect-ratio:5/4; overflow:hidden; border-radius:var(--radius); background:#d9d3c8; }
.split-media .m img{ width:100%; height:100%; object-fit:cover; }
.timeline{ max-width:720px; margin:0 auto; border-left:1px solid var(--line-strong); }
.tl-item{ position:relative; padding:0 0 32px 32px; }
.tl-item::before{ content:""; position:absolute; left:-6px; top:4px; width:11px; height:11px; border-radius:50%; background:var(--accent); }
.tl-item .yr{ font-family:var(--mono); font-size:12px; color:var(--accent); font-weight:600; letter-spacing:0.04em; }
.tl-item h3{ font-size:18px; font-weight:500; margin:5px 0; }
.tl-item p{ color:var(--muted); font-size:13.5px; line-height:1.55; }
.cert-grid{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:1px; background:var(--line); border:1px solid var(--line); }
.cert-cell{ background:var(--bg); padding:26px 20px; text-align:center; }
.cert-cell .cn{ font-family:var(--display); font-size:20px; font-weight:500; }
.cert-cell .cl{ font-size:11.5px; color:var(--muted); margin-top:5px; }
@media (max-width:768px){ .cert-grid{ grid-template-columns:1fr 1fr; } }

/* ============================================================
   RESOURCES (blog index)
   ============================================================ */
.res-featured{ display:grid; grid-template-columns:1.15fr minmax(0,1fr); gap:48px; align-items:center; padding-bottom:48px; margin-bottom:48px; border-bottom:1px solid var(--line); }
@media (max-width:900px){ .res-featured{ grid-template-columns:1fr; gap:24px; } }
.res-featured .rf-media{ aspect-ratio:16/10; overflow:hidden; border-radius:var(--radius); background:#d9d3c8; }
.res-featured .rf-media img{ width:100%; height:100%; object-fit:cover; transition:transform .8s var(--ease); }
.res-featured a.rf-link:hover .rf-media img{ transform:scale(1.04); }
.res-featured .rf-cat{ font-size:10px; color:var(--accent); text-transform:uppercase; letter-spacing:0.18em; font-weight:700; }
.res-featured h2{ font-weight:300; margin-top:12px; }
.res-featured .excerpt{ color:var(--muted); margin-top:14px; font-size:15px; line-height:1.55; }

.post-list{ display:flex; flex-direction:column; }
.post-row{ display:grid; grid-template-columns:200px minmax(0,1fr) auto; gap:28px; align-items:center; padding:22px 0; border-top:1px solid var(--line); transition:background .2s; }
.post-row:hover{ background:var(--surface); }
.post-row .pr-media{ aspect-ratio:4/3; overflow:hidden; border-radius:var(--radius); background:#d9d3c8; }
.post-row .pr-media img{ width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease); }
.post-row:hover .pr-media img{ transform:scale(1.05); }
.post-row .pr-cat{ font-size:10px; color:var(--accent); text-transform:uppercase; letter-spacing:0.18em; font-weight:700; }
.post-row h3{ font-weight:500; font-size:19px; margin-top:6px; line-height:1.28; }
.post-row .pr-ex{ color:var(--muted); font-size:13.5px; margin-top:7px; max-width:60ch; line-height:1.5; }
.post-row .pr-meta{ font-size:11px; color:var(--muted-2); margin-top:10px; text-transform:uppercase; letter-spacing:0.1em; }
.post-row .pr-arrow{ width:40px; height:40px; border:1px solid var(--line-strong); border-radius:50%; display:inline-flex; align-items:center; justify-content:center; color:var(--ink); transition:.25s var(--ease); }
.post-row:hover .pr-arrow{ background:var(--ink); color:var(--bg); border-color:var(--ink); transform:translate(3px,-3px); }
@media (max-width:760px){ .post-row{ grid-template-columns:120px minmax(0,1fr); } .post-row .pr-arrow{ display:none; } .post-row h3{ font-size:17px; } .post-row .pr-ex{ display:none; } }
@media (max-width:480px){ .post-row{ grid-template-columns:1fr; gap:14px; } .post-row .pr-media{ aspect-ratio:16/9; } }

/* ============================================================
   AUTHOR PAGE
   ============================================================ */
.author-head{ display:grid; grid-template-columns:auto minmax(0,1fr); gap:40px; align-items:center; }
@media (max-width:640px){ .author-head{ grid-template-columns:1fr; gap:20px; } }
.author-head .big-avatar{ width:116px; height:116px; border-radius:50%; background:var(--surface-2); display:inline-flex; align-items:center; justify-content:center; font-family:var(--display); font-weight:500; color:var(--accent); font-size:46px; overflow:hidden; flex-shrink:0; }
.author-head .big-avatar img{ width:100%; height:100%; object-fit:cover; }
.author-head h1{ font-weight:300; margin-top:8px; }
.author-head .a-role{ font-size:10.5px; text-transform:uppercase; letter-spacing:0.18em; color:var(--accent); font-weight:700; }
.author-head .a-bio{ color:var(--muted); margin-top:12px; max-width:64ch; line-height:1.55; }
.author-stats{ display:flex; gap:28px; margin-top:18px; flex-wrap:wrap; }
.author-stats .as{ display:flex; flex-direction:column; }
.author-stats .as .n{ font-family:var(--display); font-size:23px; font-weight:400; }
.author-stats .as .l{ font-size:10.5px; text-transform:uppercase; letter-spacing:0.12em; color:var(--muted); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout{ display:grid; grid-template-columns:minmax(0,1fr) 1.1fr; gap:64px; align-items:start; }
@media (max-width:900px){ .contact-layout{ grid-template-columns:1fr; gap:36px; } }
.contact-info .ci-block{ padding:18px 0; border-bottom:1px solid var(--line); }
.contact-info .ci-block:first-child{ padding-top:0; }
.contact-info .ci-label{ font-size:10.5px; text-transform:uppercase; letter-spacing:0.14em; color:var(--muted); font-weight:600; }
.contact-info .ci-val{ font-family:var(--display); font-size:18px; margin-top:6px; }
.contact-info .ci-val a:hover{ color:var(--accent); }
.contact-info .ci-note{ font-size:13px; color:var(--muted); margin-top:5px; line-height:1.5; }
.form-card{ background:var(--bg); border:1px solid var(--line); border-radius:var(--radius); padding:30px; }
.form-card h3{ font-family:var(--display); font-size:21px; font-weight:500; }
.form-card .fc-sub{ color:var(--muted); font-size:13px; margin-top:6px; }
.field-l{ margin-top:16px; }
.field-l label{ display:block; font-size:10.5px; text-transform:uppercase; letter-spacing:0.12em; color:var(--muted); margin-bottom:6px; font-weight:600; }
.field-l input,.field-l select,.field-l textarea{ width:100%; background:var(--bg); border:1px solid var(--line-strong); color:var(--ink); padding:11px 13px; font-size:14px; border-radius:var(--radius); font-family:inherit; transition:border-color .2s; }
.field-l input:focus,.field-l select:focus,.field-l textarea:focus{ outline:none; border-color:var(--accent); }
.field-l textarea{ min-height:110px; resize:vertical; }
.form-card .grid2{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media (max-width:520px){ .form-card{ padding:22px; } .form-card .grid2{ grid-template-columns:1fr; } }
.form-card .submit{ width:100%; margin-top:20px; background:var(--ink); color:var(--bg); padding:14px; border:none; font-weight:600; font-size:13px; letter-spacing:0.04em; text-transform:uppercase; border-radius:var(--btn-radius); transition:.2s; }
.form-card .submit:hover{ background:var(--accent); color:#fff; }

/* ============================================================
   404
   ============================================================ */
.error-page{ min-height:56vh; display:grid; place-items:center; text-align:center; padding:64px 0; }
.error-page .code{ font-family:var(--display); font-size:clamp(4.5rem,14vw,9rem); font-weight:300; line-height:1; color:var(--surface-2); }
.error-page h1{ font-weight:300; margin-top:-1em; position:relative; }
.error-page p{ color:var(--muted); margin-top:14px; max-width:46ch; margin-inline:auto; }
.error-page .e-actions{ display:flex; gap:12px; justify-content:center; margin-top:28px; flex-wrap:wrap; }

/* ============================================================
   PRODUCT PAGE — redesign extras
   ============================================================ */
.p-trust{ display:flex; align-items:center; gap:14px; margin-top:14px; font-size:12.5px; color:var(--muted); flex-wrap:wrap; }
.p-trust .stars{ color:var(--accent); letter-spacing:2px; }
.p-metabar{ display:flex; flex-wrap:wrap; gap:0; margin-top:22px; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.p-metabar div{ flex:1 1 33.333%; min-width:0; padding:14px 16px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
.p-metabar div:nth-child(3n){ border-right:none; }
.p-metabar .mk{ font-size:10px; text-transform:uppercase; letter-spacing:0.12em; color:var(--muted); }
.p-metabar .mv{ font-family:var(--display); font-size:16px; font-weight:500; margin-top:4px; }
.p-price{ margin-top:20px; font-size:13px; color:var(--muted); }
.p-price b{ font-family:var(--display); font-size:18px; color:var(--ink); font-weight:500; margin-right:6px; }

.highlights{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; margin-top:8px; }
.hl{ background:var(--bg); padding:26px 22px; display:flex; flex-direction:column; gap:12px; }
.hl .hl-ic{ width:26px; height:26px; color:var(--accent); }
.hl .hl-ic svg{ width:100%; height:100%; stroke-width:1.3; }
.hl h4{ font-family:var(--display); font-size:16px; font-weight:500; }
.hl p{ font-size:13px; color:var(--muted); line-height:1.5; }
@media (max-width:820px){ .highlights{ grid-template-columns:1fr 1fr; } }
@media (max-width:480px){ .highlights{ grid-template-columns:1fr; } }

/* sticky mobile quote bar */
.quote-bar{ display:none; position:fixed; left:0; right:0; bottom:0; z-index:85; background:var(--bg); border-top:1px solid var(--line); padding:12px 16px; align-items:center; justify-content:space-between; gap:12px; box-shadow:0 -8px 24px -18px rgba(0,0,0,.3); }
.quote-bar .qb-price{ font-size:12px; color:var(--muted); }
.quote-bar .qb-price b{ display:block; font-family:var(--display); font-size:16px; color:var(--ink); font-weight:500; }
@media (max-width:640px){ .quote-bar{ display:flex; } .float-cta{ bottom:78px; } }

/* ============================================================
   PROJECT CASE-STUDY DETAIL
   ============================================================ */
.proj-hero{ position:relative; height:clamp(420px, 68vh, 720px); overflow:hidden; background:#d9d3c8; }
.proj-hero img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.proj-hero::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, transparent 40%, rgba(10,10,10,.55) 100%); }
.proj-hero .ph-cap{ position:absolute; left:0; right:0; bottom:0; z-index:2; }
.proj-hero .ph-cap .container{ padding-bottom:34px; }
.proj-hero .ph-cat{ display:inline-block; font-size:10.5px; letter-spacing:0.18em; text-transform:uppercase; color:#fff; background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.35); backdrop-filter:blur(6px); padding:6px 12px; border-radius:999px; font-weight:600; }
.proj-hero h1{ color:#fff; font-weight:300; margin-top:14px; max-width:20ch; }

.proj-meta{ display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:1px; background:var(--line); border-block:1px solid var(--line); }
.proj-meta .pm{ background:var(--bg); padding:20px 18px; }
.proj-meta .pmk{ font-size:10px; text-transform:uppercase; letter-spacing:0.12em; color:var(--muted); }
.proj-meta .pmv{ font-family:var(--display); font-size:19px; font-weight:500; margin-top:6px; }
@media (max-width:820px){ .proj-meta{ grid-template-columns:1fr 1fr 1fr; } }
@media (max-width:520px){ .proj-meta{ grid-template-columns:1fr 1fr; } }

/* video module */
.video-mod{ position:relative; aspect-ratio:16/9; border-radius:var(--radius); overflow:hidden; background:#111; cursor:pointer; }
.video-mod img{ width:100%; height:100%; object-fit:cover; opacity:.82; transition:transform .8s var(--ease), opacity .3s; }
.video-mod:hover img{ transform:scale(1.03); opacity:.7; }
.video-mod .vm-play{ position:absolute; inset:0; display:grid; place-items:center; }
.video-mod .vm-play span{ width:78px; height:78px; border-radius:50%; background:rgba(255,255,255,.92); display:grid; place-items:center; transition:transform .25s var(--ease), background .25s; box-shadow:0 12px 30px -10px rgba(0,0,0,.5); }
.video-mod:hover .vm-play span{ transform:scale(1.08); background:#fff; }
.video-mod .vm-play svg{ width:26px; height:26px; color:var(--ink); margin-left:4px; }
.video-mod .vm-label{ position:absolute; left:20px; bottom:18px; color:#fff; font-size:12px; letter-spacing:0.12em; text-transform:uppercase; font-weight:600; display:flex; align-items:center; gap:9px; }
.video-mod .vm-label::before{ content:""; width:8px; height:8px; border-radius:50%; background:#e0483d; box-shadow:0 0 0 4px rgba(224,72,61,.25); }
.video-mod iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }

.proj-body{ display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:64px; align-items:start; padding-top:56px; }
@media (max-width:960px){ .proj-body{ grid-template-columns:1fr; gap:36px; } }
.proj-side{ position:sticky; top:88px; }
@media (max-width:960px){ .proj-side{ position:static; } }
.proj-side .ps-block{ padding:20px 0; border-bottom:1px solid var(--line); }
.proj-side .ps-block:first-child{ padding-top:0; }
.proj-side h4{ font-family:var(--ui); font-size:10.5px; text-transform:uppercase; letter-spacing:0.14em; color:var(--muted); font-weight:600; margin-bottom:8px; }
.proj-side .psv{ font-family:var(--display); font-size:17px; }
.proj-side ul{ list-style:none; padding:0; margin:0; }
.proj-side li{ font-size:13.5px; color:var(--ink-soft); padding:5px 0; display:flex; justify-content:space-between; gap:12px; }
.proj-side li span:last-child{ color:var(--muted); }

.proj-gallery{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin:36px 0; }
.proj-gallery img{ width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:var(--radius); }
.proj-gallery img.wide{ grid-column:1 / -1; aspect-ratio:16/9; }
@media (max-width:520px){ .proj-gallery{ grid-template-columns:1fr; } }

.proj-nav{ display:flex; justify-content:space-between; gap:16px; margin-top:20px; padding-top:24px; border-top:1px solid var(--line); }
.proj-nav a{ font-size:13px; color:var(--muted); display:inline-flex; flex-direction:column; gap:3px; }
.proj-nav a b{ font-family:var(--display); font-size:16px; color:var(--ink); font-weight:500; }
.proj-nav a:hover b{ color:var(--accent); }
.proj-nav a.next{ text-align:right; }

/* project media gallery (images primary + one video item) */
.gallery.wide .g-main{ aspect-ratio:16/9; }
.gallery.wide .g-main iframe{ width:100%; height:100%; border:0; display:block; }
.gallery.wide .g-thumbs button{ aspect-ratio:16/10; position:relative; }
.gallery.wide .g-thumbs button.vthumb::after{ content:""; position:absolute; inset:0; background:rgba(10,10,10,.35); }
.gallery.wide .g-thumbs button.vthumb .vplay{ position:absolute; inset:0; display:grid; place-items:center; z-index:2; }
.gallery.wide .g-thumbs button.vthumb .vplay svg{ width:22px; height:22px; color:#fff; }

/* standalone video feature */
.video-feature{ margin-top:8px; }
.video-feature .vf-head{ display:flex; align-items:baseline; gap:16px; margin-bottom:18px; }
.video-feature .vf-head h2{ font-weight:300; }
.video-feature .vf-head h2 em{ font-style:italic; color:var(--accent); }
.video-feature .video-mod{ box-shadow:0 30px 60px -34px rgba(0,0,0,.35); }
.video-feature .vm-play span{ width:88px; height:88px; }
.video-feature .vm-play svg{ width:30px; height:30px; }

/* ============================================================
   TAGS · PROMO AD · RECOMMENDED PRODUCTS
   ============================================================ */
.tags{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:32px; padding-top:24px; border-top:1px solid var(--line); }
.tags .tg-label{ font-size:11px; text-transform:uppercase; letter-spacing:0.14em; color:var(--muted); font-weight:600; margin-right:6px; }
.tag{ font-size:12.5px; padding:6px 13px; border:1px solid var(--line-strong); border-radius:999px; color:var(--ink-soft); transition:.2s; }
.tag::before{ content:"#"; opacity:.45; margin-right:2px; }
.tag:hover{ border-color:var(--accent); color:var(--accent); background:var(--surface); }

.promo-ad{ position:relative; overflow:hidden; display:flex; align-items:center; justify-content:space-between; gap:28px; padding:28px 32px; border:1px solid var(--line); border-left:3px solid var(--accent); border-radius:var(--radius); background:linear-gradient(120deg, var(--surface) 0%, var(--surface-2) 100%); margin:36px 0; }
.promo-ad .pa-eyebrow{ font-size:10px; text-transform:uppercase; letter-spacing:0.18em; color:var(--accent); font-weight:700; }
.promo-ad .pa-t{ font-family:var(--display); font-size:21px; font-weight:500; margin-top:6px; line-height:1.2; }
.promo-ad .pa-s{ color:var(--muted); font-size:14px; margin-top:6px; max-width:52ch; line-height:1.5; }
.promo-ad .pa-cta{ flex-shrink:0; }
.promo-ad::after{ content:""; position:absolute; right:-40px; top:-40px; width:160px; height:160px; border-radius:50%; background:color-mix(in srgb, var(--accent) 12%, transparent); pointer-events:none; }
@media (max-width:640px){ .promo-ad{ flex-direction:column; align-items:flex-start; gap:18px; padding:24px; } }

.rec-products{ background:var(--surface); }
.rec-products .model-grid{ grid-template-columns:repeat(3, minmax(0,1fr)); }
@media (max-width:900px){ .rec-products .model-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){ .rec-products .model-grid{ grid-template-columns:1fr; } }

/* tag archive hero */
.tag-hero{ padding:48px 0 32px; border-bottom:1px solid var(--line); }
.tag-hero .th-hash{ font-family:var(--display); font-weight:300; font-size:clamp(2rem,4.5vw,3.4rem); letter-spacing:-0.02em; }
.tag-hero .th-hash span{ color:var(--accent); }
.tag-hero .th-desc{ color:var(--muted); margin-top:12px; max-width:60ch; }
.tag-hero .th-count{ font-size:12px; text-transform:uppercase; letter-spacing:0.14em; color:var(--muted); margin-top:14px; }
.tag-cloud{ display:flex; flex-wrap:wrap; gap:8px; margin-top:22px; }

/* ============================================================
   ALL-CATEGORIES DIRECTORY (categories.html)
   ============================================================ */
.cat-directory{ display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.cdir-item{ background:var(--bg); padding:30px 32px; transition:background .25s var(--ease); }
.cdir-item:hover{ background:var(--surface); }
.cdir-head{ display:flex; align-items:center; gap:13px; }
.cdir-head .ci-ic{ width:26px; height:26px; color:var(--accent); flex-shrink:0; }
.cdir-head .ci-ic svg{ width:100%; height:100%; stroke-width:1.2; }
.cdir-head h2{ font-size:20px; font-weight:500; letter-spacing:-0.01em; }
.cdir-head h2 a:hover{ color:var(--accent); }
.cdir-head .cdir-n{ margin-left:auto; font-family:var(--mono); font-size:11px; color:var(--muted); }
.cdir-sub{ list-style:none; padding:0; margin:16px 0 0; display:flex; flex-wrap:wrap; gap:8px; }
.cdir-sub a{ font-size:13px; padding:6px 12px; border:1px solid var(--line-strong); border-radius:999px; color:var(--ink-soft); transition:.2s; }
.cdir-sub a:hover{ border-color:var(--accent); color:var(--accent); background:var(--bg); }
.cdir-view{ display:inline-flex; align-items:center; gap:6px; margin-top:18px; font-size:13px; font-weight:500; color:var(--ink); border-bottom:1px solid var(--line-strong); padding-bottom:2px; }
.cdir-view:hover{ color:var(--accent); border-color:var(--accent); }
@media (max-width:820px){ .cat-directory{ grid-template-columns:1fr; } .cdir-item{ padding:24px 22px; } }

/* ============================================================
   ALL-TAGS INDEX (tags.html)
   ============================================================ */
.tag-cloud-lg{ display:flex; flex-wrap:wrap; gap:10px 20px; align-items:baseline; margin:8px 0 8px; }
.tag-cloud-lg a{ color:var(--ink); line-height:1.1; transition:color .2s; }
.tag-cloud-lg a:hover{ color:var(--accent); }
.tag-cloud-lg a::before{ content:"#"; opacity:.4; margin-right:1px; }
.tag-group{ margin-top:44px; }
.tag-group h3{ font-family:var(--ui); font-size:12px; text-transform:uppercase; letter-spacing:0.14em; color:var(--muted); font-weight:600; margin-bottom:18px; padding-bottom:12px; border-bottom:1px solid var(--line); }
.tag-list{ display:flex; flex-wrap:wrap; gap:10px; }
.tag-pill{ display:inline-flex; align-items:center; gap:8px; font-size:14px; padding:9px 15px; border:1px solid var(--line-strong); border-radius:999px; color:var(--ink); transition:.2s; }
.tag-pill:hover{ border-color:var(--accent); color:var(--accent); background:var(--surface); }
.tag-pill::before{ content:"#"; opacity:.4; }
.tag-pill .tp-n{ font-size:11px; color:var(--muted-2); font-family:var(--mono); }

/* ============================================================
   PRODUCT DETAIL — 2-column with sidebar
   ============================================================ */
.product-cols{ display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:56px; align-items:start; }
@media (max-width:960px){ .product-cols{ grid-template-columns:1fr; gap:40px; } }
.p-sidebar{ position:sticky; top:88px; display:flex; flex-direction:column; gap:22px; }
@media (max-width:960px){ .p-sidebar{ position:static; } }
.p-sidebar h4{ font-family:var(--ui); font-size:10.5px; text-transform:uppercase; letter-spacing:0.14em; color:var(--muted); font-weight:600; margin-bottom:14px; }
.side-card{ display:block; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:var(--bg); transition:border-color .2s, transform .3s var(--ease); }
.side-card:hover{ border-color:var(--line-strong); transform:translateY(-2px); }
.side-card + .side-card{ margin-top:12px; }
.side-card .sc-media{ aspect-ratio:16/9; overflow:hidden; background:#d9d3c8; }
.side-card .sc-media img{ width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease); }
.side-card:hover .sc-media img{ transform:scale(1.05); }
.side-card .sc-body{ padding:14px 16px 16px; }
.side-card .sc-cat{ font-size:9.5px; text-transform:uppercase; letter-spacing:0.16em; color:var(--accent); font-weight:700; }
.side-card .sc-title{ font-family:var(--display); font-size:16px; font-weight:500; margin-top:6px; line-height:1.25; }
.side-card .sc-meta{ font-size:11px; color:var(--muted-2); margin-top:6px; text-transform:uppercase; letter-spacing:0.08em; }


/* ================================================================
   WordPress 基础类（核心会往正文里塞这些类，主题必须认）
   —— 不是设计稿的一部分，是为「能用」补的最小集。
   ================================================================ */

/* 无障碍：屏幕阅读器专用文本（skip link、表单 label 等） */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; padding: 0; overflow: hidden;
  position: absolute !important; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: var(--bg); color: var(--ink); border-radius: var(--radius);
  box-shadow: 0 0 2px 2px rgba(0,0,0,.2); clip: auto !important; clip-path: none;
  display: block; font-size: 13px; font-weight: 600; height: auto; left: 12px;
  line-height: normal; padding: 14px 22px; text-decoration: none; top: 12px;
  width: auto; z-index: 100000;
}
.skip-link { position: absolute; left: -9999px; }

/* 图片与图注 */
.alignleft   { float: left;  margin: 4px 26px 20px 0; }
.alignright  { float: right; margin: 4px 0 20px 26px; }
.aligncenter { display: block; margin: 20px auto; }
.alignwide, .alignfull { max-width: none; }
img.alignleft, img.alignright { max-width: 46%; height: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text,
.wp-element-caption,
figcaption {
  font-size: 12.5px; color: var(--muted); margin-top: 9px; line-height: 1.6;
}
/*
 * [gallery] 短代码 / 核心图库块的兜底样式。
 * ★ 必须排除主题自己的产品图集：设计稿口径的 .gallery 是 sticky 容器 +
 *   .g-main 主图 + .gal-rail 缩略轨，不是网格。这条规则若不加 :not()，
 *   会因排在设计稿规则之后且同特异性，把图集切成多列 → 主图与缩略图错位。
 */
.gallery:not(.vl-gallery) { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 26px 0; }
.gallery:not(.vl-gallery) .gallery-item { margin: 0; }
.gallery:not(.vl-gallery) .gallery-icon img { width: 100%; height: auto; }

/* 文章详情页：正文里的块与短代码产物 */
.prose img, .article-body img { max-width: 100%; height: auto; border-radius: var(--radius); }
.prose .wp-block-image,
.article-body .wp-block-image { margin: 0 0 24px; }
.prose .wp-block-quote,
.article-body .wp-block-quote {
  border-left: 2px solid var(--accent); padding-left: 20px; margin: 26px 0;
  font-family: var(--display); font-size: 19px; line-height: 1.5; color: var(--ink);
}
.prose .wp-block-table,
.article-body .wp-block-table { overflow-x: auto; }
.prose .wp-block-separator,
.article-body .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.prose ul, .prose ol { padding-left: 22px; }
.prose code, .article-body code {
  font-family: var(--mono); font-size: .9em; background: var(--surface);
  border: 1px solid var(--line); border-radius: 2px; padding: 1px 5px;
}
.prose pre, .article-body pre {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; overflow-x: auto; font-family: var(--mono); font-size: 12.5px; line-height: 1.7;
}
.prose pre code { background: none; border: 0; padding: 0; }

/* 分页（the_posts_pagination / paginate_links 的产物） */
.pagination, .nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.nav-links .page-numbers {
  min-width: 38px; height: 38px; padding: 0 11px; display: inline-flex;
  align-items: center; justify-content: center; border: 1px solid var(--line-strong);
  border-radius: var(--radius); font-size: 13.5px; color: var(--ink); transition: .2s;
}
.nav-links .page-numbers:hover { border-color: var(--ink); }
.nav-links .page-numbers.current { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.nav-links .page-numbers.dots { border: 0; }

/* 搜索表单（WordPress 核心会给 searchform 加类） */
.search-form { display: flex; gap: 10px; align-items: center; }
.search-form input[type="search"] {
  flex: 1; min-width: 0; background: var(--bg); border: 1px solid var(--line-strong);
  color: var(--ink); padding: 11px 13px; font-family: inherit; font-size: 14px;
  border-radius: var(--radius);
}
.search-form input[type="submit"] {
  background: var(--ink); color: var(--bg); border: 0; padding: 12px 20px;
  font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; border-radius: var(--btn-radius); cursor: pointer;
}
.search-form input[type="submit"]:hover { background: var(--accent); color: #fff; }

/* 编辑器里给管理员看的占位提示（普通访客看不到） */
.vl-admin-note {
  padding: 14px 16px; border: 1px dashed var(--line-strong); border-radius: var(--radius);
  background: var(--surface); color: var(--muted); font-size: 12.5px; line-height: 1.7;
}
.vl-admin-note a { color: var(--accent); text-decoration: underline; }

/* 空态：设计稿没有，但因为「页面上一篇文章都没有」必须给一句人话 */
.vl-empty {
  padding: 56px 20px; text-align: center; border: 1px dashed var(--line-strong);
  border-radius: var(--radius); color: var(--muted); font-size: 14px; line-height: 1.8;
}
.vl-empty strong { color: var(--ink); display: block; margin-bottom: 6px; font-size: 16px; }

/* 面包屑容器：结构由主题出，内容由环语决定是否翻译；不留空壳高度 */
.breadcrumb:empty { display: none; }

/* 图标 sprite 容器：模板里已经带了 inline `position:absolute;width:0;height:0`，
   这里再兜一层。理由是内联样式一旦被某个优化插件（合并/清理 inline CSS）
   抹掉，`<svg>` 里装了 80 多个 <symbol> 的元素会按默认的 300×150 撑在 <body>
   最前面 —— 整站首屏多出一块空白，且不报任何错。样式层兜底成本是 1 条规则。 */
.vl-sprite { position: absolute !important; width: 0 !important; height: 0 !important; overflow: hidden; }

/* 居中页头（.page-hero.center）的横向对齐。
   设计稿在这三个块上各写了一句 inline `justify-content:center`；
   转成 vl_page_hero() / vl_chip_row() 之后 inline 没了，必须在这里补 ——
   否则「资源与指南」页的分类胶囊会整排贴在左边，而标题是居中的。 */
.page-hero.center .breadcrumb { justify-content: center; }
.page-hero.center .eyebrow { justify-content: center; }
.page-hero.center .subcat-chips { justify-content: center; }

/* ────────────────────────────────────────────────────────────────
   主题自己新增的组件（设计稿里没有，是「转 WordPress」才需要的）
   ──────────────────────────────────────────────────────────────── */

/* 自定义 Logo 图片（后台「基本设置 → Logo 图形」）：没配时不显示这个 img */
.logo-img { height: 28px; width: auto; display: inline-block; vertical-align: middle; }
footer .logo-img { height: 26px; filter: brightness(0) invert(1); opacity: .92; }

/* 顶栏搜索：图标按钮展开的那一条。
   设计稿只有一颗搜索图标（demo），这里的展开条是转 WP 后补的。 */
.vl-search-box {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 16px 0;
}
.vl-search-box[hidden] { display: none; }
.vl-search-box .search-form { max-width: 720px; }

/* 列表网格里的卡片链接块：整块可点时的默认态（设计稿已有 hover 视觉） */
.model-card .model-media > a { display: block; }

/* ────────────────────────────────────────────────────────────────
   内联 SVG 图标的尺寸契约（★ 静默 bug 高发区）
   ────────────────────────────────────────────────────────────────
   设计稿的每个 <svg> 都手写了 width/height，转成 vl_icon() 之后尺寸没了。
   如果这里不给兜底，没有父级 svg 规则的图标（.proj-arrow svg / .pr-arrow svg）
   会按 SVG 默认的 300×150 渲染 —— 布局当场炸开，而且不报任何错。

   兜底用 1em：跟当前字号走，配合下面的父级规则覆盖具体像素值。 */
.ci {
  width: 1em; height: 1em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.5;
}

/* 设计稿里靠 svg 属性写死、没有父级选择器的三处，按原值补齐 */
.proj-arrow svg { width: 16px; height: 16px; stroke-width: 1.5; }
.pr-arrow svg { width: 18px; height: 18px; stroke-width: 1.5; }

/* 播放键是实心三角：靠 path 自身的 fill/stroke 覆盖上面的描边默认值 */
.vm-play svg, .vthumb .vplay svg { fill: currentColor; stroke: none; }

/* ────────────────────────────────────────────────────────────────
   筛选栏：设计稿用的是 <input type="checkbox">，转 WP 后改成 <a>
   ────────────────────────────────────────────────────────────────
   两个原因：① 主题不写 <form>（线索表单归环迹，筛选属于导航，干脆也不碰）；
             ② 链接可分享、可被爬、无 JS 可用。
   代价是要自己把勾选框画出来 —— 就是下面这个 .fopt-ico。 */
.filters a.fopt { text-decoration: none; }
.filters .fopt-ico {
  width: 14px; height: 14px; flex-shrink: 0; position: relative;
  border: 1.5px solid var(--line-strong); border-radius: 3px;
  transition: background .18s var(--ease), border-color .18s var(--ease);
}
.filters a.fopt:hover .fopt-ico { border-color: var(--accent); }
.filters a.fopt.on { color: var(--ink); font-weight: 500; }
.filters a.fopt.on .fopt-ico { background: var(--accent); border-color: var(--accent); }
.filters a.fopt.on .fopt-ico::after {
  content: ''; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px;
  border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}

/* 排序下拉：跟着设计稿的 .sort 走，只补 select 本身 */
.toolbar .sort select {
  background: var(--bg); border: 1px solid var(--line-strong); color: var(--ink);
  font-family: inherit; font-size: 13px; padding: 8px 10px; border-radius: var(--radius);
}

/* 文章/产品详情页的 sticky 侧栏，在窄屏要放开 —— 否则会盖住正文 */
@media (max-width: 1024px) {
  .vl-search-box { padding: 12px 0; }
}

/* 无障碍：可见焦点，永不 outline:none */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible,
[tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* ================================================================
   主题自补层 —— 追加在最后，靠**源码顺序**压过上面同名的生成段落。

   ★ 为什么必须写在这里、而不是直接改上面的段落：
     本脚本会从设计稿 site.css **重出** style.css，手改上面的段落下一次重出就没了。
     凡是「核心 / 运行时会塞进来的结构」对应的样式，一律登记到这一段。

   只做两块：
     ① wp_nav_menu 的输出结构（只有站长在「外观 → 菜单」里指派了菜单时才出现）；
     ② 页脚栅格按**实际列数**分档（产品列可不显示、联系列可整列留空）。
   ================================================================ */

/* ---------- ① wp_nav_menu 输出：把核心多出来的 ul/li 摊平 ----------
   核心给的是 <ul><li class="menu-item"><a class="nav-link">，比内置兜底多一层 ul/li；
   设计稿的 .primary-nav 是裸 <a> 直接排的弹性容器 ——
   ★ 少了这几条，站长一配菜单页头就静默变竖排（不报错、门禁也不红）。 */
.primary-nav .primary-nav-list { display: flex; align-items: center; gap: clamp(16px,1.8vw,26px); list-style: none; margin: 0; padding: 0; }
.primary-nav .primary-nav-list > li { position: relative; }
/* 巨型下拉那一项必须退出定位链：.mega 是拿 .site-header .inner 当锚点的。 */
.primary-nav .primary-nav-list > li.has-mega { position: static; }
.primary-nav .primary-nav-list .sub-menu { position: absolute; top: 100%; left: 0; min-width: 196px; list-style: none; margin: 0; padding: 8px 0; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 22px 44px -30px rgba(0, 0, 0, 0.2); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s var(--ease), visibility .2s; z-index: 50; }
.primary-nav .primary-nav-list > li:hover > .sub-menu { opacity: 1; visibility: visible; pointer-events: auto; }
.primary-nav .primary-nav-list .sub-menu li { display: block; }
.primary-nav .primary-nav-list .sub-menu a { display: block; padding: 8px 16px; font-size: 12.5px; color: var(--muted); white-space: nowrap; transition: color .2s, background .2s; }
.primary-nav .primary-nav-list .sub-menu a:hover { color: var(--ink); background: var(--surface); }

/* 移动端抽屉跟着「页头主导航」菜单走时，wp_nav_menu 也会多包一层 ul —— 摊平即可。 */
.mobile-nav .mobile-nav-list { list-style: none; margin: 0; padding: 0; }
.mobile-nav .mobile-nav-list li { display: block; }
.mobile-nav .mobile-nav-list .caret { display: none; }

/* ---------- ② 页脚栅格：按实际列数分档 ----------
   模板会按「关掉了哪几列」在 .cols 上补 c2 / c3 / c4。
   带 .cN 的选择器特异性高于媒体查询里的 `footer .cols`，
   所以三档各自的响应式也要在这里补齐，否则小屏会卡在桌面档。 */
footer .cols.c4 { grid-template-columns: 1.8fr 1fr 1fr 1.3fr; }
footer .cols.c3 { grid-template-columns: 1.8fr 1fr 1.3fr; }
footer .cols.c2 { grid-template-columns: 2.2fr 1.3fr; }
@media (max-width: 1080px) {
  footer .cols.c4, footer .cols.c3, footer .cols.c2 { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 640px) {
  footer .cols.c4, footer .cols.c3, footer .cols.c2 { grid-template-columns: 1fr 1fr; }
}

/* ---------- ③ 页脚订阅容器 ----------
   设计稿本来就有 .news-form 那一组样式，只是 HTML 里那个 <form> 不能在主题里写
   —— 现在由环迹 LeadPulse 的表单插槽套上同一个类名（见 footer.php）。
   这里只补容器间距，不假设插槽内部结构。 */
.news-block { margin-top: 18px; }
.news-block h4 { margin-bottom: 8px; }

/* ---------- ④ 分页：paginate_links() 的当前页是 <span> ----------
   ★ 静默 bug 高发区：设计稿分页的当前页写成 `<a class="active">1</a>`，
     而 `paginate_links()` 输出的是 `<span class="page-numbers current">1</span>`
     —— 一个 <a>、一个 <span>，类名两套。设计稿那三条规则全挂在 `.pager a` 上，
     span 一条都命中不到，前台表现就是「第一个页码看上去完全没有样式」。
     这里把设计稿 `.pager a` 的三条规则原样扩到 `.pager .page-numbers`
     （a / span 通吃），值一字不改，只换选择器。 */
.pager .page-numbers { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: 13.5px; color: var(--ink); transition: .2s; }
.pager .page-numbers:hover { border-color: var(--ink); }
.pager .page-numbers.current, .pager .page-numbers.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pager .page-numbers.dots { border: 0; }

/* ---------- ⑤ 全部标签：A–Z 分组改成多列索引 ----------
   设计稿的 5 组是人工挑的语义分组（Building systems / Products / …），
   那五组在真实站点上没法自动派生 —— 所以主题按首字母分 A–Z。
   代价是 16 组单列排下来有十几屏、看着很碎（设计师第一眼就会说「很紧凑」）。
   这里排成响应式多列：一眼能扫完，A–Z 的可预期性也还在。 */
.tag-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 40px; align-items: start; }
.tag-groups .tag-group { margin-top: 32px; }
@media (max-width: 640px) { .tag-groups { grid-template-columns: 1fr; } }

/* ---------- ⑥ 产品详情页图集：正方形（覆盖设计稿源的 3:2） ----------
   李总要求详情页左侧图集用正方形。设计稿源 site.css 里写的是
   `.gallery .g-main{ aspect-ratio:3/2 }` 与 `.gallery .g-thumbs button{ aspect-ratio:3/2 }`，
   这里靠**源码顺序**压过它们（同特异性、晚出现者胜）。
   .wide 变体（视频）是 `.gallery.wide .g-main{aspect-ratio:16/9}`，特异性更高，不受影响。
   主图与缩略图都已 object-fit:cover，1:1 容器会把原图裁成正方形显示。 */
.gallery .g-main { aspect-ratio: 1 / 1; }
.gallery .g-thumbs button { aspect-ratio: 1 / 1; }

/* ---------- ⑦ v2.0：整句卖点 / 单组包含项 ----------
   采集数据 selling_points 是 5 条完整利益句（键留空），included.items
   是 6 条纯文本且无 yes/no 值（只出一组）。两块都不能沿用两段式/双列版式。 */
.hl--sentence p { font-size: 15px; line-height: 1.6; }
.hl--sentence h4 { display: none; }
.incl-grid--single { grid-template-columns: 1fr; }

/* ---------- ⑧ v2.1：Why this home · 4–8 条整句卖点清单 ----------
   李总 2026/11/06 定版：卖点不是 4 列卡片，而是右栏正文下方、
   关键规格上方的浅灰单块。采集数据 selling_points 是 4–8 条整句，
   塞进 repeat(4,1fr) 的四列网格会被压成 1/4 宽的多行碎句。
   全部用逻辑友好的 flex + gap，RTL 由浏览器自动翻转主轴。 */
.why-box { margin-top: 22px; padding: 22px 24px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.why-box .wb-title { font-size: 10.5px; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--muted); }
.why-box .wb-list { list-style: none; margin: 15px 0 0; padding: 0; }
.why-box .wb-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.why-box .wb-list li + li { margin-top: 12px; }
.why-box .wb-ic { flex: 0 0 15px; width: 15px; height: 15px; margin-top: 3px; color: var(--ink-soft); }
.why-box .wb-ic svg { width: 100%; height: 100%; stroke-width: 1.4; }
.why-box .wb-txt { min-width: 0; }
@media (max-width: 480px) { .why-box { padding: 18px 18px 16px; } .why-box .wb-list li { font-size: 13.5px; } }


/* ===== velaroom 0.9.37 · 设计稿同步层 START =====
   来源：2026/11/09–11/10 确认的 velaroom 设计草稿（本地设计稿 → 主题）。
   含卡片组件 / 订阅条 / 3 联系卡 / 参考库 / 工厂工序 / 解锁页两态。
   ============================================================ */

[hidden]{ display:none !important; }

/* 订阅条 */
.cd-sub{ background:var(--ink); color:#f4efe6; padding:42px 0; }
.cd-sub-inner{ display:grid; grid-template-columns:1.15fr .85fr; gap:48px; align-items:center; }
.cd-sub .eyebrow{ color:#c8a992; }
.cd-sub .eyebrow::before{ background:#c8a992; }
.cd-sub h2{ color:#fff; font-size:clamp(1.5rem,2.4vw,2rem); font-weight:300; margin:12px 0 10px; max-width:24ch; }
.cd-sub p{ color:#b8b2a7; font-size:13.5px; line-height:1.65; max-width:56ch; }
.cd-sub-form{ display:block; }
/* 只对文本类输入（排除 checkbox / radio），勾选框样式见下方 .ct-opt 覆盖 */
.cd-sub-form input:not([type="checkbox"]):not([type="radio"]){ flex:1 1 210px; min-width:0; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.2); color:#fff; padding:13px 14px; font:14px/1.4 Inter,sans-serif; border-radius:3px; }
.cd-sub-form input:not([type="checkbox"]):not([type="radio"]):focus{ outline:none; border-color:#c8a992; }
.cd-sub-form input:not([type="checkbox"]):not([type="radio"])::placeholder{ color:#8d877c; }
.cd-sub-form small{ flex-basis:100%; font-size:11px; color:#7a7367; }
.cd-sub-mini{ background:transparent; color:#f4efe6; padding:0 0 30px; border-bottom:1px solid rgba(255,255,255,.1); margin-bottom:28px; }
.cd-sub-mini .cd-sub-inner{ gap:24px; }
.cd-sub-mini h2{ font-size:19px; color:#fff; margin:6px 0 4px; max-width:none; }
.cd-sub-mini .eyebrow{ color:#c8a992; font-size:9.5px; }
.cd-sub-mini p{ color:#a8a294; font-size:12px; }
.cd-sub-mini .cd-sub-form input{ background:rgba(255,255,255,.06); }
footer .cd-sub .cd-sub-inner{ max-width:none; }

/* 0.9.37 · 订阅表单（方案A）：邮箱+按钮同行，整体压成 3 段。
   环迹 LeadPulse 前端样式把控件规格全抽成 CSS 变量（front.css 顶部注释明确要求：
   主题不要覆盖 .ct-input/.ct-submit 类，改在自己的作用域内重设变量，插件升级才不失效）。
   所以这里先重设变量，让 LeadPulse 默认规则自己渲出深色站配色；只有它硬编码的
   .ct-submit 文字色（color:#fff）需单独覆盖。结构零改动。 */
.cd-sub-form .ct-form-wrap{
  --ct-primary:#fff;
  --ct-primary-h:var(--accent);
  --ct-primary-soft:rgba(200,169,146,.14);
  --ct-ink:#fff;
  --ct-ink-2:#b8b2a7;
  --ct-gray:#7a7367;
  --ct-line:rgba(255,255,255,.2);
  --ct-line-soft:rgba(255,255,255,.12);
  --ct-red:#e6a3a3;
  --ct-green:#9bd6a0;
  --ct-input-bg:rgba(255,255,255,.07);
  --ct-input-color:#fff;
  --ct-input-border-c:rgba(255,255,255,.2);
  --ct-input-ph:#8d877c;
  --ct-input-radius:3px;
  --ct-focus-border:#c8a992;
  --ct-focus-ring:0 0 0 3px rgba(200,169,146,.18);
  --ct-label-color:#b8b2a7;
  --ct-label-size:11.5px;
  --ct-label-weight:400;
  --ct-label-mb:4px;
  --ct-field-gap:9px;
  --ct-submit-radius:3px;
  --ct-submit-shadow:none;
  --ct-submit-shadow-h:none;
  max-width:100%;
}
.cd-sub-form .ct-form{ width:100%; display:flex; flex-wrap:wrap; align-items:flex-end; gap:9px; }
.cd-sub-form .ct-fields{ flex:1 1 220px; min-width:0; display:flex; flex-wrap:wrap; gap:9px; margin:0; }
.cd-sub-form .ct-fields .ct-field{ min-width:0; width:auto; padding:0; margin:0; }
.cd-sub-form .ct-field:not(.ct-field-consent){ flex:1 1 220px; min-width:0; }
.cd-sub-form .ct-field.ct-field-consent{ flex-basis:100%; }
.cd-sub-form .ct-form-footer{ flex:0 0 auto; margin:0; align-items:stretch; }
.cd-sub-form .ct-opt.ct-consent{ display:flex; align-items:flex-start; gap:7px; font-size:11.5px; color:#b8b2a7; line-height:1.35; flex-wrap:nowrap; margin:0; }
.cd-sub-form .ct-opt.ct-consent input{ flex:0 0 16px; width:16px; height:16px; margin:2px 0 0; accent-color:var(--accent); }
.cd-sub-form .ct-opt.ct-consent .ct-consent-txt{ flex:1 1 auto; min-width:0; }
.cd-sub-form .ct-label{ display:block; margin-bottom:4px; font-size:11.5px; color:#b8b2a7; letter-spacing:.01em; font-weight:400; }
.cd-sub-form .ct-input{ width:100%; flex:1 1 auto; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.2); color:#fff; padding:11px 13px; font:14px/1.4 Inter,sans-serif; border-radius:3px; min-height:44px; }
.cd-sub-form .ct-input::placeholder{ color:#8d877c; }
.cd-sub-form .ct-input:focus{ outline:none; border-color:#c8a992; box-shadow:0 0 0 3px rgba(200,169,146,.18); }
.cd-sub-form .ct-submit{ background:#fff; color:var(--ink); border:none; padding:12px 22px; border-radius:3px; font:600 14px/1 Inter,sans-serif; white-space:nowrap; cursor:pointer; transition:.18s; min-height:44px; box-shadow:none; }
.cd-sub-form .ct-submit:hover{ background:var(--accent); color:#fff; }
.cd-sub-form .ct-msg{ margin-top:7px; font-size:11px; padding:8px 10px; border-radius:3px; }
.cd-sub-form .ct-msg.ct-ok{ color:#9bd6a0; background:rgba(155,214,160,.12); border:1px solid rgba(155,214,160,.3); }
.cd-sub-form .ct-msg.ct-bad{ color:#e6a3a3; background:rgba(230,163,163,.12); border:1px solid rgba(230,163,163,.3); }


/* 文章正文中段订阅卡 */
.cd-inline-sub{ margin:38px 0; padding:28px 30px; background:var(--surface); border:1px solid var(--line); border-left:4px solid var(--accent); border-radius:3px; }
.cd-inline-sub .eyebrow{ font-size:10px; }
.cd-inline-sub h3{ font-size:23px; font-weight:400; margin:10px 0 8px; }
.cd-inline-sub p{ color:var(--muted); font-size:13.5px; line-height:1.65; max-width:60ch; }
.cd-inline-sub .cd-inline-form{ display:flex; gap:10px; margin-top:16px; flex-wrap:wrap; }
.cd-inline-sub input:not([type="checkbox"]):not([type="radio"]){ flex:1 1 220px; min-width:0; background:#fff; border:1px solid var(--line-strong); padding:12px 13px; font:14px/1.4 Inter,sans-serif; border-radius:3px; }
.cd-inline-sub input[type="checkbox"]{ flex:0 0 16px; width:16px; height:16px; padding:0; margin:2px 0 0; accent-color:var(--accent); }
.cd-inline-sub input:focus{ outline:none; border-color:var(--accent); }
.cd-inline-sub small{ flex-basis:100%; color:var(--muted-2); font-size:11px; }

/* 3 个联系卡 */
.cd-contact3{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.cd-contact-card{ border:1px solid var(--line); border-radius:4px; background:var(--bg); padding:24px 24px; transition:.2s; }
.cd-contact-card:hover{ border-color:var(--accent); transform:translateY(-2px); }
.cd-contact-card .k{ font:600 10px/1 Inter,sans-serif; text-transform:uppercase; letter-spacing:.13em; color:var(--muted); }
.cd-contact-card .v{ display:block; margin-top:13px; font-family:var(--display); font-size:20px; line-height:1.3; word-break:break-word; }
.cd-contact-card .h{ display:block; margin-top:9px; font-size:12px; color:var(--muted); line-height:1.55; }

/* 0.9.37 修复 · 联系卡深色：footer 内白卡太扎眼，改深色半透明，与黑底融合 */
footer .cd-contact-card, .cd-contact3 .cd-contact-card{ background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.14); }
footer .cd-contact-card .k{ color:rgba(244,239,230,.6); }
footer .cd-contact-card .v{ color:#fff; }
footer .cd-contact-card .h{ color:rgba(244,239,230,.7); }
footer .cd-contact-card:hover{ border-color:var(--accent); background:rgba(255,255,255,.1); transform:translateY(-2px); }


/* 胶囊筛选 */
.cd-filters{ display:flex; flex-wrap:wrap; gap:9px; margin:0 0 28px; }
.cd-filter{ padding:8px 15px; border:1px solid var(--line-strong); border-radius:999px; font-size:12.5px; background:var(--bg); cursor:pointer; transition:.2s; }
.cd-filter:hover{ border-color:var(--ink); }
.cd-filter.active{ background:var(--ink); color:var(--bg); border-color:var(--ink); }
.pager a.active{ background:var(--ink); color:#fff; border-color:var(--ink); }

/* 文章卡片网格 */
.cd-cards{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.cd-card{ border:1px solid var(--line); border-radius:4px; background:var(--bg); overflow:hidden; display:flex; flex-direction:column; transition:transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.cd-card:hover{ transform:translateY(-4px); border-color:var(--line-strong); box-shadow:0 14px 30px rgba(14,14,14,.07); }
.cd-card-media{ aspect-ratio:16/9; overflow:hidden; background:var(--surface-2); }
.cd-card-media img{ width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease); }
.cd-card:hover .cd-card-media img{ transform:scale(1.05); }
.cd-card-body{ padding:20px 21px 18px; display:flex; flex-direction:column; flex:1; }
.cd-chip{ align-self:flex-start; font:600 9.5px/1 Inter,sans-serif; letter-spacing:.11em; text-transform:uppercase; color:var(--accent); background:var(--surface); border:1px solid var(--line); padding:7px 10px; border-radius:99px; }
.cd-card h3{ font-size:19px; font-weight:500; line-height:1.3; margin:14px 0 9px; }
.cd-card p{ font-size:13px; line-height:1.6; color:var(--muted); flex:1; }
.cd-meta{ display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:18px; padding-top:14px; border-top:1px solid var(--line); font-size:10.5px; text-transform:uppercase; letter-spacing:.1em; color:var(--muted); }
.cd-meta span:last-child{ color:var(--accent); font-size:15px; }
.article-layout > .prose.article-body{ max-width:68ch; }

/* About 工厂区 */
.cd-stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); margin:0 0 34px; }
.cd-stat{ background:var(--bg); padding:24px 20px; text-align:center; }
.cd-stat .n{ font-family:var(--display); font-size:clamp(1.7rem,2.6vw,2.3rem); font-weight:300; }
.cd-stat .l{ font:600 10px/1.4 Inter,sans-serif; text-transform:uppercase; letter-spacing:.1em; color:var(--muted); margin-top:8px; }
.cd-steps{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1px; background:var(--line); border:1px solid var(--line); }
.cd-step{ background:var(--bg); padding:22px 24px; }
.cd-step .k{ font:600 10px/1 Inter,sans-serif; letter-spacing:.11em; text-transform:uppercase; color:var(--accent); }
.cd-step h3{ font-size:19px; font-weight:500; margin:10px 0 8px; }
.cd-step p{ font-size:13px; line-height:1.6; color:var(--muted); }
.cd-step .d{ margin-top:12px; padding-top:10px; border-top:1px solid var(--line); font-size:11.5px; color:var(--ink-soft); line-height:1.55; }

/* 参考库栏目 */
.cd-notice{ background:var(--surface); border:1px solid var(--line); border-left:4px solid var(--accent); border-radius:3px; padding:16px 20px; font-size:13px; line-height:1.7; color:var(--ink-soft); margin-bottom:24px; }
.cd-notice b{ color:var(--ink); }
.cd-ref-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.cd-ref-card{ display:flex; flex-direction:column; border:1px solid var(--line); border-radius:4px; background:var(--bg); padding:20px 21px 18px; min-height:224px; transition:.2s; }
/* 0.9.37 · 案例卡 3 图（免版权 / 无水印） */
.cd-ref-gallery{ display:block; margin-bottom:2px; border-radius:3px; overflow:hidden; background:var(--surface); }
.cd-ref-gallery img{ display:block; width:100%; height:190px; object-fit:cover; transition:transform .35s ease; }
.cd-ref-card:hover .cd-ref-gallery img{ transform:scale(1.05); }
.cd-ref-card:hover{ border-color:var(--accent); transform:translateY(-3px); box-shadow:0 10px 26px rgba(14,14,14,.07); }
.cd-ref-top{ display:flex; justify-content:space-between; align-items:center; gap:10px; }
.cd-ref-no{ font-family:var(--display); font-size:26px; color:var(--accent); font-weight:300; line-height:1; }
.cd-ref-cat{ font:600 9.5px/1 Inter,sans-serif; letter-spacing:.09em; text-transform:uppercase; color:var(--muted); background:var(--surface); border:1px solid var(--line); padding:6px 9px; border-radius:99px; white-space:nowrap; }
.cd-ref-card h3{ font-size:19px; font-weight:500; line-height:1.28; margin:15px 0 8px; }
.cd-ref-place,.cd-ref-scale,.cd-ref-note{ font-size:12px; line-height:1.55; color:var(--muted); }
.cd-ref-scale{ color:var(--muted-2); margin-top:5px; }
.cd-ref-note{ margin-top:10px; }
.cd-ref-src{ margin-top:auto; padding-top:15px; font:600 10px/1 Inter,sans-serif; letter-spacing:.1em; text-transform:uppercase; color:var(--accent); }
.cd-ref-attr{ font-size:11px; color:var(--muted-2); margin-top:6px; }
/* 0.9.37 · 案例库分类筛选导航 + 空态 */
.cd-ref-nav{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:20px; }
.cd-ref-nav-item{ display:inline-flex; align-items:center; gap:7px; font:500 12.5px/1 Inter,sans-serif; color:var(--muted); border:1px solid var(--line); border-radius:99px; padding:9px 14px; transition:.15s; text-decoration:none; }
.cd-ref-nav-item span{ font-size:11px; color:var(--muted-2); background:var(--surface); border-radius:99px; padding:2px 7px; }
.cd-ref-nav-item:hover{ border-color:var(--accent); color:var(--ink); }
.cd-ref-nav-item.is-active{ background:var(--accent); border-color:var(--accent); color:#fff; }
.cd-ref-nav-item.is-active span{ background:rgba(255,255,255,.2); color:#fff; }
.cd-ref-empty{ font-size:13px; color:var(--muted); padding:30px 0; }
/* 0.9.37 · 案例库 hero 配图（免版权视觉图，右下角弱化） */
.page-hero--ref{ position:relative; }
.page-hero--ref::after{ content:""; position:absolute; inset:0; background-image:url("assets/demo-images/reference-hero.jpg"); background-size:cover; background-position:center; opacity:.16; pointer-events:none; }
.page-hero--ref .container{ position:relative; z-index:1; }

@media(max-width:960px){
  .cd-sub-inner,.cd-feature{ grid-template-columns:1fr; gap:24px; }
  .cd-cards,.cd-ref-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cd-steps{ grid-template-columns:1fr; }
  .cd-stats{ grid-template-columns:1fr 1fr; }
}
@media(max-width:640px){
  .cd-cards,.cd-ref-grid,.cd-contact3{ grid-template-columns:1fr; }
  .cd-ref-gallery img{ height:150px; }
}

/* ---- 解锁页 /welcome/ ---- */
[hidden]{ display:none !important; }
body.welcome-page{ background:var(--bg); }
.wk-wrap{ width:100%; max-width:1160px; margin-inline:auto; padding-inline:32px; }


/* header */
.wk-header{ border-bottom:1px solid var(--line); }
.wk-header .wk-wrap{ display:flex; align-items:center; justify-content:space-between; gap:20px; padding-block:20px; }
.wk-logo{ font-family:var(--display); font-size:25px; letter-spacing:-.03em; }
.wk-logo span{ font:400 11px/1 Inter,sans-serif; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin-left:10px; }
.wk-header-right{ display:flex; gap:22px; align-items:center; font-size:12.5px; color:var(--muted); }
.wk-header-right a:hover{ color:var(--accent); }

/* hero */
.wk-hero{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; padding-block:62px 46px; }
.wk-hero h1{ font-size:clamp(2.3rem,4.4vw,3.55rem); font-weight:300; margin-top:16px; max-width:16ch; }
.wk-hero .lede{ margin-top:18px; max-width:52ch; }
.wk-hero-note{ margin-top:20px; font-size:12.5px; color:var(--muted); display:flex; gap:10px; align-items:center; }
.wk-hero-media{ position:relative; aspect-ratio:4/3; overflow:hidden; border-radius:4px; background:var(--surface); }
.wk-hero-media img{ width:100%; height:100%; object-fit:cover; }
.wk-pack-badge{ position:absolute; left:20px; bottom:20px; right:20px; background:rgba(14,14,14,.92); color:#f4efe6; padding:16px 20px; border-radius:3px; }
.wk-pack-badge .t{ font:600 10.5px/1 Inter,sans-serif; letter-spacing:.16em; text-transform:uppercase; color:#c8a992; }
.wk-pack-badge .d{ margin-top:8px; font-family:var(--display); font-size:17px; }
.wk-pack-badge .d span{ color:#c8a992; }

/* section head */
.wk-sec{ padding-block:36px 0; }
.wk-sec-head{ display:flex; justify-content:space-between; align-items:end; gap:24px; margin-bottom:22px; }
.wk-sec-head h2{ margin-top:10px; }
.wk-sec-head h2 em{ font-style:italic; color:var(--accent); font-weight:400; }
.wk-sec-head .sub{ color:var(--muted); font-size:13.5px; max-width:46ch; }

/* 锁态：权益清单 + 订阅表单 */
.wk-lock-grid{ display:grid; grid-template-columns:1fr 400px; gap:44px; align-items:start; }
.wk-benefits{ display:grid; gap:12px; }
.wk-benefit{ display:grid; grid-template-columns:46px 1fr; gap:16px; padding:20px 22px; border:1px solid var(--line); border-radius:4px; background:#fff; transition:border-color .2s, transform .2s; }
.wk-benefit:hover{ border-color:var(--line-strong); transform:translateY(-2px); }
.wk-bn{ font-family:var(--display); font-size:27px; line-height:1; color:var(--accent); font-weight:300; }
.wk-benefit h3{ font-size:18px; margin:0 0 6px; font-weight:500; }
.wk-benefit p{ font-size:13.5px; line-height:1.62; color:var(--muted); }
.wk-form{ position:sticky; top:22px; background:var(--ink); color:#f4efe6; border-radius:4px; padding:30px; }
.wk-form .eyebrow{ color:#c8a992; }
.wk-form .eyebrow::before{ background:#c8a992; }
.wk-form h3{ color:#fff; font-size:25px; font-weight:300; margin:12px 0 6px; }
.wk-form .fc-sub{ font-size:13px; color:#a8a294; line-height:1.6; }
.wk-f{ margin-top:16px; }
.wk-f label{ display:block; font:600 10px/1 Inter,sans-serif; text-transform:uppercase; letter-spacing:.13em; color:#a8a294; margin-bottom:7px; }
.wk-f input,.wk-f select{ width:100%; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.18); color:#fff; padding:12px 13px; font:14px/1.4 Inter,sans-serif; border-radius:3px; }
.wk-f select option{ background:#181818; color:#fff; }
.wk-f input:focus,.wk-f select:focus{ outline:none; border-color:#c8a992; }
.wk-f input::placeholder{ color:#6f6a60; }
.wk-consent{ display:flex; gap:9px; align-items:flex-start; margin-top:16px; font-size:11.5px; line-height:1.55; color:#a8a294; }
.wk-consent input{ margin-top:2px; accent-color:#c8a992; }
.wk-submit{ width:100%; margin-top:20px; background:#fff; color:var(--ink); border:none; padding:15px; font:600 13px/1 Inter,sans-serif; letter-spacing:.04em; text-transform:uppercase; border-radius:3px; cursor:pointer; transition:.2s; }
.wk-submit:hover{ background:var(--accent); color:#fff; }
.wk-form .note{ text-align:center; font-size:11px; color:#7a7367; margin-top:12px; line-height:1.6; }

/* 解锁态 */
.wk-success{ display:flex; gap:16px; align-items:center; justify-content:space-between; flex-wrap:wrap; background:#f2f7f1; border:1px solid #cfe0ca; border-left:4px solid #6f9465; border-radius:4px; padding:16px 20px; }
.wk-success strong{ font-size:14px; color:#2f4a29; }
.wk-success span{ font-size:12.5px; color:#5a6b54; }
.wk-feature{ display:grid; grid-template-columns:1.15fr .85fr; gap:40px; background:var(--ink); color:#f4efe6; border-radius:4px; padding:38px 40px; margin-top:20px; }
.wk-feature .eyebrow{ color:#c8a992; }
.wk-feature .eyebrow::before{ background:#c8a992; }
.wk-feature h3{ color:#fff; font-size:29px; font-weight:300; margin:14px 0 12px; max-width:20ch; }
.wk-feature p{ color:#b8b2a7; font-size:14px; line-height:1.7; max-width:54ch; }
.wk-price{ display:inline-block; margin:18px 0 20px; font:500 12px/1 Inter,sans-serif; letter-spacing:.08em; text-transform:uppercase; color:#e5c9b1; border:1px solid rgba(229,201,177,.4); padding:9px 13px; border-radius:3px; }
.wk-steps{ border-left:1px solid rgba(255,255,255,.15); padding-left:28px; display:grid; gap:18px; align-content:center; }
.wk-step{ display:grid; grid-template-columns:28px 1fr; gap:12px; font-size:13.5px; line-height:1.55; color:#c9c3b8; }
.wk-step b{ font:600 13px/1.6 Inter,sans-serif; color:#c8a992; }
.wk-feature .btn-primary{ background:#fff; color:var(--ink); }
.wk-feature .btn-primary:hover{ background:var(--accent); color:#fff; }

/* 案例库 */
.wk-notice{ background:var(--surface); border:1px solid var(--line); border-left:4px solid var(--accent); border-radius:3px; padding:15px 18px; font-size:12.8px; line-height:1.7; color:var(--ink-soft); margin-bottom:20px; }
.wk-notice b{ color:var(--ink); }
.wk-actions{ display:flex; gap:10px; flex-wrap:wrap; margin:0 0 20px; }
.wk-ref-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; align-items:start; }
.wk-ref-card{ border:1px solid var(--line); border-radius:4px; background:#fff; transition:border-color .2s, box-shadow .2s; }
.wk-ref-card:hover{ border-color:var(--accent); }
.wk-ref-card[open]{ border-color:var(--accent); box-shadow:0 10px 26px rgba(14,14,14,.07); }
.wk-ref-card summary{ display:flex; flex-direction:column; min-height:186px; padding:18px 19px 16px; cursor:pointer; list-style:none; }
.wk-ref-card summary::-webkit-details-marker{ display:none; }
.wk-ref-card summary::marker{ content:""; }
.wk-ref-card summary:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }
.wk-ref-top{ display:flex; justify-content:space-between; align-items:center; gap:10px; }
.wk-ref-no{ font-family:var(--display); font-size:25px; color:var(--accent); font-weight:300; line-height:1; }
.wk-ref-cat{ font:600 9.5px/1 Inter,sans-serif; letter-spacing:.09em; text-transform:uppercase; color:var(--muted); background:var(--surface); border:1px solid var(--line); padding:6px 9px; border-radius:99px; white-space:nowrap; }
.wk-ref-name{ font-family:var(--display); font-size:18px; font-weight:500; line-height:1.25; margin:14px 0 7px; }
.wk-ref-place{ font-size:12px; color:var(--muted); }
.wk-ref-scale{ font-size:12px; color:var(--muted-2); margin-top:5px; line-height:1.5; }
.wk-ref-more{ margin-top:auto; padding-top:14px; font:600 10px/1 Inter,sans-serif; letter-spacing:.1em; text-transform:uppercase; color:var(--accent); }
.wk-ref-more-close{ display:none; }
.wk-ref-card[open] .wk-ref-more-open{ display:none; }
.wk-ref-card[open] .wk-ref-more-close{ display:inline; }
.wk-ref-detail{ border-top:1px solid var(--line); padding:16px 19px 18px; background:var(--surface); border-radius:0 0 4px 4px; }
.wk-ref-row{ margin-bottom:14px; }
.wk-ref-row .k{ display:block; margin-bottom:5px; font:600 9.5px/1.5 Inter,sans-serif; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); white-space:nowrap; }
.wk-ref-row .v{ display:block; font-size:12.3px; line-height:1.6; color:var(--ink-soft); }
.wk-ref-src{ padding-top:12px; border-top:1px dashed var(--line); font-size:11.2px; line-height:1.6; color:var(--muted-2); }
.wk-ref-src a{ color:var(--ink-soft); text-decoration:underline; text-decoration-color:var(--line-strong); text-underline-offset:2px; }
.wk-ref-src a:hover{ color:var(--accent); }

/* 验厂抵扣 */
.wk-credit{ display:grid; grid-template-columns:200px 1fr; gap:36px; background:var(--surface-2); border:1px solid var(--line); border-radius:4px; padding:34px 36px; margin-top:20px; }
.wk-credit-num{ font-family:var(--display); font-size:clamp(2.6rem,4vw,3.6rem); font-weight:300; line-height:1; letter-spacing:-.03em; }
.wk-credit-num small{ display:block; font:600 10.5px/1 Inter,sans-serif; letter-spacing:.14em; text-transform:uppercase; color:var(--accent); margin-bottom:12px; }
.wk-credit h3{ font-size:25px; font-weight:400; margin:0 0 10px; }
.wk-credit .lead{ font-size:14.5px; line-height:1.7; color:var(--ink-soft); max-width:62ch; }
.wk-cond{ margin:18px 0 0; padding:0; list-style:none; display:grid; grid-template-columns:1fr 1fr; gap:9px 26px; }
.wk-cond li{ font-size:12.5px; line-height:1.55; color:var(--muted); padding-left:16px; position:relative; }
.wk-cond li::before{ content:"—"; position:absolute; left:0; color:var(--accent); }
.wk-plant{ margin-top:18px; padding-top:14px; border-top:1px solid var(--line-strong); font-size:11.5px; letter-spacing:.02em; color:var(--ink-soft); line-height:1.6; }

/* 排产 + 下一步 + 联系 */
.wk-two{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:20px; }
.wk-mini{ border:1px solid var(--line); border-radius:4px; padding:24px 26px; background:#fff; }
.wk-mini .eyebrow{ font-size:10px; }
.wk-mini h3{ font-size:20px; margin:10px 0 8px; font-weight:500; }
.wk-mini p{ font-size:13px; line-height:1.6; color:var(--muted); }
.wk-mini .btn{ margin-top:16px; }
.wk-next{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:16px; }
.wk-next a{ border:1px solid var(--line); border-radius:4px; padding:20px 22px; font-size:14px; display:flex; justify-content:space-between; align-items:center; transition:.2s; }
.wk-next a:hover{ border-color:var(--ink); background:var(--surface); }
.wk-next a span:last-child{ color:var(--accent); }
.wk-contact{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:16px; }
.wk-contact a{ border:1px solid var(--line); border-radius:4px; padding:22px 22px; background:var(--bg); transition:.2s; }
.wk-contact a:hover{ border-color:var(--accent); transform:translateY(-2px); }
.wk-contact .k{ font:600 10px/1 Inter,sans-serif; text-transform:uppercase; letter-spacing:.13em; color:var(--muted); }
.wk-contact .v{ display:block; margin-top:12px; font-family:var(--display); font-size:19px; line-height:1.3; word-break:break-word; }
.wk-contact .h{ display:block; margin-top:8px; font-size:12px; color:var(--muted); }
.wk-private{ margin-top:18px; font-size:12px; color:var(--muted-2); text-align:center; }

/* footer */
.wk-footer{ border-top:1px solid var(--line); margin-top:56px; padding:26px 0 40px; }
.wk-footer .wk-wrap{ display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; font-size:11.5px; color:var(--muted); line-height:1.7; }
.wk-footer a:hover{ color:var(--accent); }

@media(max-width:960px){
  .wk-hero{ grid-template-columns:1fr; gap:32px; padding-block:44px 34px; }
  .wk-hero-media{ aspect-ratio:16/9; }
  .wk-lock-grid{ grid-template-columns:1fr; gap:28px; }
  .wk-form{ position:static; }
  .wk-feature{ grid-template-columns:1fr; gap:26px; padding:30px; }
  .wk-steps{ border-left:none; border-top:1px solid rgba(255,255,255,.15); padding-left:0; padding-top:24px; }
  .wk-ref-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .wk-credit{ grid-template-columns:1fr; gap:20px; padding:28px; }
}
@media(max-width:640px){
  .wk-wrap{ padding-inline:20px; }
  .wk-header-right{ gap:12px; font-size:11.5px; }
  .wk-sec-head{ flex-direction:column; align-items:flex-start; gap:10px; }
  .wk-ref-grid,.wk-two,.wk-next,.wk-contact,.wk-cond{ grid-template-columns:1fr; }
  .wk-ref-row{ margin-bottom:12px; }
  .wk-logo span{ display:none; }
}
/* ===== velaroom 0.9.37 · 设计稿同步层 END ===== */

/* ---- 0.9.37 · Reference Library: card links, pagination, case detail ---- */
.cd-ref-card h3 a{ color:inherit; text-decoration:none; }
.cd-ref-card h3 a:hover{ color:var(--accent); }
.cd-ref-actions{ display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; margin-top:auto; padding-top:15px; }
.cd-ref-more{ font:600 10.5px/1 Inter,sans-serif; letter-spacing:.08em; text-transform:uppercase; color:var(--accent); text-decoration:none; }
.cd-ref-more:hover{ text-decoration:underline; }
.cd-ref-src{ font:500 10px/1 Inter,sans-serif; letter-spacing:.06em; text-transform:uppercase; color:var(--muted-2); text-decoration:none; }
.cd-ref-src:hover{ color:var(--accent); }
.cd-ref-pager{ display:flex; justify-content:center; flex-wrap:wrap; gap:7px; margin-top:30px; }
.cd-ref-pg{ display:inline-flex; align-items:center; justify-content:center; min-width:36px; height:36px; padding:0 11px; border:1px solid var(--line); border-radius:99px; font:500 12.5px/1 Inter,sans-serif; color:var(--muted); background:#fff; text-decoration:none; transition:.15s; }
.cd-ref-pg:hover{ border-color:var(--accent); color:var(--ink); }
.cd-ref-pg.is-active{ background:var(--accent); border-color:var(--accent); color:#fff; }
.cd-ref-pager-info{ text-align:center; font-size:12px; color:var(--muted-2); margin-top:12px; }
.cd-ref-detail-wrap{ padding:46px 0 64px; background:var(--bg); }
.cd-ref-detail-head{ margin-bottom:30px; }
.cd-ref-detail-head h1{ font-size:clamp(2rem,4.3vw,3.3rem); font-weight:300; line-height:1.15; margin:14px 0 10px; max-width:22ch; }
.cd-ref-detail-lede{ font-size:14px; color:var(--muted); }
.cd-ref-detail-lede a{ color:var(--accent); }
.cd-ref-detail-gallery{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-bottom:34px; }
.cd-ref-detail-fig{ margin:0; background:var(--surface); border:1px solid var(--line); border-radius:4px; overflow:hidden; }
.cd-ref-detail-fig img{ display:block; width:100%; height:auto; aspect-ratio:480/315; object-fit:cover; }
.cd-ref-detail-fig.is-source{ border-color:var(--accent); }
.cd-ref-detail-fig figcaption{ font-size:11px; line-height:1.5; color:var(--muted-2); padding:8px 11px; border-top:1px solid var(--line); }
.cd-ref-detail-body{ display:grid; grid-template-columns:1.6fr .9fr; gap:44px; align-items:start; }
.cd-ref-detail-main h2{ font-size:23px; font-weight:400; margin:0 0 12px; }
.cd-ref-detail-main p{ font-size:14.5px; line-height:1.85; color:var(--ink); }
.cd-ref-detail-note{ font-size:12.5px; line-height:1.7; color:var(--muted); background:var(--surface); border-left:2px solid var(--line); padding:12px 15px; margin:18px 0 30px; }
.cd-ref-spec-table{ border-top:1px solid var(--line); }
.cd-ref-spec-row{ display:flex; justify-content:space-between; gap:18px; padding:11px 2px; border-bottom:1px solid var(--line); font-size:13px; }
.cd-ref-spec-row span{ color:var(--muted); }
.cd-ref-spec-row b{ font-weight:500; text-align:right; }
.cd-ref-detail-side{ background:var(--surface); border:1px solid var(--line); border-radius:4px; padding:20px 22px; }
.cd-ref-detail-side h3{ font-size:16px; font-weight:500; margin:0 0 14px; }
.cd-ref-glance{ display:flex; justify-content:space-between; gap:14px; padding:9px 0; border-top:1px solid var(--line); font-size:12.5px; }
.cd-ref-glance span{ color:var(--muted); }
.cd-ref-glance b{ font-weight:500; text-align:right; }
.cd-ref-source-box{ margin-top:40px; padding:22px 24px; border:1px solid var(--line); border-radius:4px; background:var(--surface); }
.cd-ref-source-box span{ font:600 10px/1 Inter,sans-serif; letter-spacing:.12em; text-transform:uppercase; color:var(--muted-2); }
.cd-ref-source-box p{ font-size:13px; line-height:1.7; color:var(--muted); margin:9px 0 14px; }
.cd-ref-source-box a{ display:inline-block; font:600 11px/1 Inter,sans-serif; letter-spacing:.08em; text-transform:uppercase; color:var(--accent); text-decoration:none; }
.cd-ref-source-box a:hover{ text-decoration:underline; }
.cd-ref-detail-pn{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:34px; }
.cd-ref-detail-pn a{ display:flex; flex-direction:column; gap:6px; padding:16px 18px; border:1px solid var(--line); border-radius:4px; text-decoration:none; }
.cd-ref-detail-pn a:hover{ border-color:var(--accent); }
.cd-ref-detail-pn a:last-child{ text-align:right; }
.cd-ref-detail-pn span{ font:600 10px/1 Inter,sans-serif; letter-spacing:.1em; text-transform:uppercase; color:var(--muted-2); }
.cd-ref-detail-pn b{ font-size:14px; font-weight:500; color:var(--ink); }
.cd-ref-related{ margin-top:44px; }
.cd-ref-related h2{ font-size:21px; font-weight:400; margin-bottom:16px; }
.cd-ref-related-list{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.cd-ref-related-list a{ display:flex; flex-direction:column; gap:5px; padding:15px 17px; border:1px solid var(--line); border-radius:4px; text-decoration:none; }
.cd-ref-related-list a:hover{ border-color:var(--accent); }
.cd-ref-related-list span{ font:600 9.5px/1 Inter,sans-serif; letter-spacing:.1em; text-transform:uppercase; color:var(--muted-2); }
.cd-ref-related-list b{ font-size:14px; font-weight:500; color:var(--ink); }
.cd-ref-related-list em{ font-size:11.5px; font-style:normal; color:var(--muted); }
@media(max-width:860px){
  .cd-ref-detail-body{ grid-template-columns:1fr; gap:26px; }
  .cd-ref-related-list{ grid-template-columns:1fr; }
}
@media(max-width:640px){
  .cd-ref-detail-gallery{ grid-template-columns:1fr; }
  .cd-ref-detail-pn{ grid-template-columns:1fr; }
  .cd-ref-detail-pn a:last-child{ text-align:left; }
  .cd-ref-detail-wrap{ padding:32px 0 48px; }
}


/* ── 0.9.37 hotfix · inline 订阅卡适配环迹 LeadPulse 真实 DOM ──
   该模块本版起在 single.php 停用（与页脚统一订阅位重复），
   样式留作可复用组件：将来任一页再调用也不会错位。 */
.cd-inline-sub .cd-inline-form{ display:block; }
.cd-inline-form .ct-form-wrap{ display:block; margin:0; }
.cd-inline-form .ct-form{ display:flex; flex-wrap:wrap; align-items:flex-end; gap:9px; }
.cd-inline-form .ct-fields{ flex:1 1 220px; min-width:0; display:flex; flex-wrap:wrap; gap:9px; margin:0; }
.cd-inline-form .ct-field{ min-width:0; width:auto; padding:0; margin:0; }
.cd-inline-form .ct-field:not(.ct-field-consent){ flex:1 1 220px; }
.cd-inline-form .ct-field.ct-field-consent{ flex-basis:100%; }
.cd-inline-form .ct-form-footer{ flex:0 0 auto; margin:0; }
.cd-inline-form .ct-opt.ct-consent{ display:flex; align-items:flex-start; gap:7px; font-size:11.5px; color:var(--muted); line-height:1.35; flex-wrap:nowrap; margin:0; }
.cd-inline-form .ct-label{ display:block; margin-bottom:4px; font-size:11.5px; color:var(--muted); }
.cd-inline-form .ct-input{ width:100%; min-height:44px; background:#fff; border:1px solid var(--line-strong); color:var(--ink); padding:11px 13px; border-radius:3px; }
.cd-inline-form .ct-input:focus{ outline:none; border-color:var(--accent); }
.cd-inline-form .ct-submit{ min-height:44px; }

/* 0.9.37 · 主导航 Home：输出层前插的菜单项与数据库菜单同构，
   这里补齐 WP 标准菜单类的定位与当前页高亮，避免出现「写了 class 没样式」。 */
.primary-nav .primary-nav-list > li.menu-item{ position:relative; }
.primary-nav .primary-nav-list > li.menu-item.current-menu-item > a.nav-link{ border-color:var(--ink); }

/* ── 0.9.37 hotfix C · 巨型下拉遮挡主菜单 ──────────────────────────────
   .mega::before 是一条整宽 24px 的透明 hover 桥接层，原本继承 .mega 的
   pointer-events:auto；下拉展开后它正好压在右侧 5 个主菜单的下半部 ——
   看得见、点不到，而且鼠标落上去仍算 .has-mega:hover，下拉不会收。
   ① 桥接层只做视觉桥、不接事件；② 关闭留 120ms 宽限防闪烁；
   ③ 主菜单链接抬到下拉之上，双保险。 */
.mega::before{ pointer-events:none; }
.mega{ transition:opacity .2s var(--ease) .12s, visibility .2s .12s; }
.has-mega:hover .mega{ transition-delay:0s; }
.primary-nav .primary-nav-list > li > a.nav-link{ position:relative; z-index:60; }

/* ── 0.9.37 hotfix D · 作者社媒图标 ────────────────────────────── */
.vl-socials{ display:flex; flex-wrap:wrap; gap:7px; margin-top:12px; }
.vl-social{ width:30px; height:30px; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--line); border-radius:var(--btn-radius); color:var(--muted); background:var(--bg); transition:.2s; }
.vl-social:hover{ color:var(--accent); border-color:var(--accent); background:var(--surface); }
.vl-social svg{ width:15px; height:15px; }
.vl-social span{ font-size:12px; font-weight:700; }
.vl-social-fields{ border:0; margin-top:8px; }
.vl-social-fields th{ padding:4px 12px 4px 0; font-weight:500; width:110px; }
.vl-social-fields td{ padding:4px 0; }
.author-head .vl-socials{ margin-top:18px; }

/* ── 0.9.37 hotfix D · 语言切换器（hover 即展开，无需点击） ────── */
.vl-lang{ position:relative; flex:0 0 auto; }
.vl-lang .lang-switch{ display:inline-flex; align-items:center; gap:6px; cursor:pointer; background:transparent; }
.vl-lang-code{ font-size:12px; font-weight:700; letter-spacing:.06em; }
.vl-lang-caret{ width:10px; height:10px; transition:transform .2s; }
.vl-lang:hover .vl-lang-caret,.vl-lang.is-open .vl-lang-caret{ transform:rotate(180deg); }
.vl-lang::after{ content:""; position:absolute; top:100%; left:-8px; right:-8px; height:10px; }
.vl-lang-list{ position:absolute; top:calc(100% + 9px); right:0; min-width:172px; list-style:none; margin:0; padding:6px; background:var(--bg); border:1px solid var(--line-strong); border-radius:var(--btn-radius); box-shadow:0 24px 48px -28px rgba(0,0,0,.22); opacity:0; visibility:hidden; pointer-events:none; transition:opacity .18s var(--ease),visibility .18s; z-index:90; }
.vl-lang:hover .vl-lang-list,.vl-lang:focus-within .vl-lang-list,.vl-lang.is-open .vl-lang-list{ opacity:1; visibility:visible; pointer-events:auto; transition-delay:0s; }
.vl-lang-item a{ display:flex; align-items:center; gap:10px; padding:7px 9px; border-radius:3px; font-size:12px; color:var(--ink); text-decoration:none; white-space:nowrap; }
.vl-lang-item a:hover{ background:var(--surface); }
.vl-lang-item b{ font-size:11px; font-weight:700; letter-spacing:.06em; width:22px; color:var(--muted); }
.vl-lang-item span{ color:var(--muted); }
.vl-lang-item.is-active a{ background:var(--surface); }
.vl-lang-item.is-active b{ color:var(--accent); }
.vl-lang-mobile-slot{ margin-top:16px; border-top:1px solid var(--line); padding-top:14px; }
.vl-lang-mobile-wrap{ display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; }
.vl-lang-mobile-label{ font-size:12px; color:var(--muted); text-transform:uppercase; letter-spacing:.1em; }
.vl-lang-mobile-list{ display:flex; flex-wrap:wrap; gap:8px; }
.vl-lang-mobile-list a{ font-size:12px; font-weight:600; padding:6px 10px; border:1px solid var(--line-strong); border-radius:var(--btn-radius); color:var(--muted); }
.vl-lang-mobile-list a.is-active{ color:var(--accent); border-color:var(--accent); }

/* ── 0.9.37 hotfix D · 巨型下拉彻底不遮挡主菜单 ──────────────────
   上一版给关闭留了 120ms 宽限，鼠标从 Products 快速移到右侧菜单时，
   浮层仍以 pointer-events:auto 覆盖那一瞬间，点击被吃掉（内页最明显）。
   ① 关掉延迟；② 其他主菜单项整体抬到浮层之上；③ JS 进入即收起。 */
.mega{ transition-delay:0s !important; }
.has-mega:hover .mega{ transition-delay:0s !important; }
.primary-nav .primary-nav-list > li:not(.has-mega){ position:relative; z-index:70; }
.primary-nav .primary-nav-list > li:not(.has-mega) > a.nav-link{ position:relative; z-index:71; pointer-events:auto; }
body.vl-mega-off .has-mega .mega{ opacity:0 !important; visibility:hidden !important; pointer-events:none !important; transition:none !important; transition-delay:0s !important; }

/* ── 0.9.37 hotfix D · 案例详情页真实照片左右切换图集 ───────────── */
.cd-ref-slideshow{ display:block; margin-bottom:34px; outline:none; }
.cd-ref-slideshow-stage{ position:relative; background:var(--surface); border:1px solid var(--line); border-radius:4px; overflow:hidden; }
.cd-ref-slideshow-fig{ display:none; margin:0; }
.cd-ref-slideshow-fig.is-active{ display:block; }
.cd-ref-slideshow-fig img{ display:block; width:100%; height:auto; max-height:78vh; object-fit:contain; background:var(--surface); }
.cd-ref-slideshow-fig figcaption{ font-size:11px; line-height:1.5; color:var(--muted-2); padding:9px 12px; border-top:1px solid var(--line); }
.cd-ref-slideshow-fig figcaption a{ color:var(--accent); }
.cd-ref-slideshow-nav{ position:absolute; top:34%; width:38px; height:38px; display:flex; align-items:center; justify-content:center; border:1px solid var(--line-strong); border-radius:50%; background:rgba(255,255,255,.94); color:var(--ink); font-size:23px; line-height:1; cursor:pointer; transition:.2s; }
.cd-ref-slideshow-nav:hover{ background:var(--ink); color:#fff; border-color:var(--ink); }
.cd-ref-slideshow-nav.is-prev{ left:14px; }
.cd-ref-slideshow-nav.is-next{ right:14px; }
.cd-ref-slideshow-bar{ display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:10px; }
.cd-ref-slideshow-count{ font-size:11px; font-weight:600; letter-spacing:.08em; color:var(--muted); }
.cd-ref-slideshow-dots{ display:flex; gap:6px; }
.cd-ref-slideshow-dot{ width:8px; height:8px; padding:0; border:1px solid var(--line-strong); border-radius:50%; background:transparent; cursor:pointer; }
.cd-ref-slideshow-dot.is-active{ background:var(--accent); border-color:var(--accent); }
@media(max-width:640px){
  .cd-ref-slideshow-nav{ width:32px; height:32px; font-size:19px; top:32%; }
  .cd-ref-slideshow-fig figcaption{ font-size:10.5px; }
}
