/* ==========================================================================
   微功夫 www.wgf.hk
   Design language: technical editoral, inspired by modeldial.com
   ========================================================================== */

@font-face {
  font-family: "GeistSans";
  src: url("../fonts/geist-sans-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "GeistMono";
  src: url("../fonts/geist-mono-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #fbfcfe;
  --surface-3: #f1f3f7;
  --ink: #1a1e26;
  --ink-2: #333b49;
  --muted: #5f6a7f;
  --muted-2: #66707e;
  --line: #e3e6ec;
  --line-strong: #cdd3dd;
  --blue: #345de3;
  --blue-ink: #2447bd;
  --blue-soft: #eef2ff;
  --green: #1c7a56;
  --amber: #9a5b17;
  --red: #a6433c;
  --cta-bg: #14181f;
  --cta-ink: #f3f5f9;
  --cta-muted: #a8b1c2;
  --cta-line: #2b3341;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  --radius: 12px;
  --wrap: 1240px;
  --pad: 40px;
  --sans: "GeistSans", -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  --mono: "GeistMono", ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0b0f15;
  --surface: #11161e;
  --surface-2: #0e131a;
  --surface-3: #161c26;
  --ink: #edf1f7;
  --ink-2: #c3ccda;
  --muted: #93a0b4;
  --muted-2: #78879c;
  --line: #1e2632;
  --line-strong: #2e3848;
  --blue: #6e91ff;
  --blue-ink: #9db3ff;
  --blue-soft: #151d2e;
  --green: #4ecf9a;
  --amber: #e0a462;
  --red: #e0827a;
  --cta-bg: #0e131a;
  --cta-ink: #f3f5f9;
  --cta-muted: #9aa6b9;
  --cta-line: #242d3a;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(760px 420px at 82% -8%, rgba(52, 93, 227, 0.09), transparent 62%),
    radial-gradient(620px 380px at -6% 42%, rgba(52, 93, 227, 0.045), transparent 60%);
}
[data-theme="dark"] body::before {
  background:
    radial-gradient(880px 480px at 80% -10%, rgba(78, 116, 255, 0.16), transparent 63%),
    radial-gradient(700px 420px at -8% 48%, rgba(78, 116, 255, 0.07), transparent 60%);
}

main, header, footer, .mobile-menu { position: relative; z-index: 1; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px;
  transition: top 0.15s ease;
}
.skip:focus { top: 12px; }

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.wrap { width: min(var(--wrap), calc(100% - var(--pad) * 2)); margin-inline: auto; }

.label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; letter-spacing: 0.06em; color: var(--muted);
  font-family: var(--mono); text-transform: uppercase;
}

.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); display: inline-block; }
.dot-green { background: var(--green); box-shadow: 0 0 0 3px rgba(28, 122, 86, 0.16); }

.arrow { display: inline-block; transition: transform 0.18s ease; }
a:hover .arrow, .text-link:hover .arrow { transform: translateX(3px); }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); font-size: 13.5px; font-weight: 550;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 3px;
}
.text-link:hover { color: var(--blue); border-color: var(--blue); }

.pill {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 11px; color: var(--muted); letter-spacing: 0.02em; white-space: nowrap;
  background: var(--surface-2);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border-radius: 999px;
  font-size: 13.5px; font-weight: 550; letter-spacing: 0.01em;
  border: 1px solid transparent; transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-primary:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { height: 36px; padding: 0 15px; font-size: 12.5px; }
.btn-block { width: 100%; }

.icon-btn {
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  color: var(--ink-2); transition: border-color 0.16s ease, color 0.16s ease;
}
.icon-btn:hover { border-color: var(--line-strong); color: var(--ink); }
.icon-btn svg { width: 17px; height: 17px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: 72px;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(var(--wrap), calc(100% - var(--pad) * 2));
  height: 100%; margin-inline: auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand-mark { width: 26px; height: 26px; color: var(--ink); }
.wordmark { font-size: 18px; font-weight: 650; letter-spacing: -0.04em; line-height: 1; }
.brand-sub {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em;
  color: var(--muted-2); padding-left: 2px; transform: translateY(1px);
}
.nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  padding: 8px 12px; border-radius: 8px; font-size: 13.5px; color: var(--muted);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-link:hover { color: var(--ink); background: var(--surface-3); }
.nav-link.is-active { color: var(--ink); font-weight: 550; }
.header-actions { display: flex; align-items: center; gap: 8px; justify-self: end; }
.menu-btn { display: none; flex-direction: column; gap: 5px; }
.menu-btn span { width: 15px; height: 1.5px; background: currentColor; display: block; transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: 72px; left: 0; right: 0; bottom: 0; z-index: 99;
  background: var(--bg); padding: 24px var(--pad) 40px;
  display: flex; flex-direction: column; gap: 2px;
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  padding: 16px 4px; font-size: 20px; font-weight: 550; letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { margin-top: 20px; border: 0; text-align: center; background: var(--ink); color: var(--bg); border-radius: 999px; font-size: 15px; padding: 14px; }

/* ---------- hero ---------- */
.hero { padding: 84px 0 68px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(360px, 0.82fr); gap: 56px; align-items: start; }
.hero-copy { padding-top: 8px; }
.hero h1 {
  margin: 20px 0 0;
  font-size: clamp(38px, 4.1vw, 56px);
  line-height: 1.12;
  font-weight: 650;
  letter-spacing: -0.038em;
}
.hero-h1-sub {
  display: block; margin-top: 14px;
  font-size: 0.5em; line-height: 1.45; font-weight: 500;
  letter-spacing: -0.015em; color: var(--ink-2); max-width: 22em;
}
.hero-lede {
  margin-top: 26px; max-width: 33em; color: var(--muted);
  font-size: 15.5px; line-height: 1.85;
}
.hero-actions { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.hero-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px;
  margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--muted-2);
}
.live { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); font-size: 12px; }

.hero-panel {
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  box-shadow: 0 18px 50px -32px rgba(20, 30, 60, 0.35);
  overflow: hidden;
}
[data-theme="dark"] .hero-panel { box-shadow: 0 24px 70px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255,255,255,0.03); }
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line);
  font-size: 10px; letter-spacing: 0.12em; color: var(--muted);
}
.panel-tag { border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; font-size: 10px; letter-spacing: 0; line-height: 1.2; }
.hero-tel:hover { color: var(--blue); }
.index-body { padding: 18px 16px 6px; }
.index-lede { font-size: 12px; line-height: 1.7; color: var(--muted); margin: 0 2px 10px; max-width: 30em; }
.index-list li { border-top: 1px solid var(--line); }
.index-list li:first-child { border-top: 0; }
.index-list a { display: grid; grid-template-columns: 24px 76px 1fr 16px; align-items: center; gap: 8px; padding: 14px 2px; }
.index-list .idx { font-size: 9.5px; color: var(--blue); letter-spacing: 0.04em; }
.index-list .name { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.index-list .note { font-size: 11px; color: var(--muted); }
.index-list .arrow { font-size: 11px; color: var(--muted-2); text-align: right; }
.index-list a:hover .name { color: var(--blue); }
.index-list a:hover .arrow { color: var(--blue); transform: translateX(3px); }
.panel-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 16px; border-top: 1px solid var(--line);
  font-size: 10.5px; color: var(--muted-2); background: var(--surface-2);
}
.panel-foot a { display: inline-flex; align-items: center; gap: 5px; }
.panel-foot .arrow { font-size: 10px; color: var(--muted-2); transition: transform .18s ease; }
.panel-foot a:hover { color: var(--blue); }
.panel-foot a:hover .arrow { color: var(--blue); transform: translateX(2px); }

/* ---------- facts ---------- */
.fact-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface-2); }
.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { font-size: 30px; font-weight: 450; letter-spacing: -0.045em; line-height: 1.15; }
.fact strong .unit { font-size: 15px; margin-left: 3px; color: var(--muted); }
.fact span { font-size: 11.5px; color: var(--muted); }
.fact em { font-style: normal; font-size: 11px; color: var(--muted-2); }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 36px; }
.section-head h2 { margin-top: 10px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.35; font-weight: 600; letter-spacing: -0.03em; max-width: 20em; }
.section-lede { max-width: 380px; color: var(--muted); font-size: 13.5px; line-height: 1.8; padding-bottom: 4px; }

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.section-side { max-width: 380px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.section-side .section-lede { padding-bottom: 0; }
.service-card {
  position: relative; border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  padding: 24px 26px 26px; min-height: 236px;
  display: flex; flex-direction: column; transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.service-card:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: 0 16px 40px -30px rgba(20,30,60,.35); }
.service-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.service-head .index { font-size: 10.5px; color: var(--muted-2); letter-spacing: 0.08em; }
.service-en { font-size: 9.5px; color: var(--muted-2); letter-spacing: 0.12em; }
.service-card h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.03em; }
.service-card h3 a:hover { color: var(--blue); }
.service-card > p { margin-top: 9px; color: var(--muted); font-size: 13px; line-height: 1.75; max-width: 34em; }
.service-fit { margin-top: 10px; font-size: 11.5px; color: var(--muted); line-height: 1.6; }
.service-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 20px; }
.service-links a {
  font-size: 11.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 10px; background: var(--surface-2); transition: color .15s ease, border-color .15s ease;
}
.service-links a:hover { color: var(--blue); border-color: var(--blue); }
.service-arrow { position: absolute; right: 22px; bottom: 20px; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 13px; }
.service-card:hover .service-arrow { border-color: var(--blue); color: var(--blue); }

.approach-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 72px; align-items: start; }
.approach-copy { position: sticky; top: 104px; }
.approach-copy h2 { margin: 10px 0 18px; font-size: clamp(26px, 2.7vw, 34px); line-height: 1.35; font-weight: 600; letter-spacing: -0.03em; }
.approach-copy p { color: var(--muted); font-size: 14px; line-height: 1.9; max-width: 30em; }
.approach-copy .text-link { margin-top: 22px; }
.step-list li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.step-list li:last-child { border-bottom: 1px solid var(--line); }
.step-no { font-size: 10.5px; color: var(--muted-2); padding-top: 4px; letter-spacing: 0.06em; }
.step-list h3 { font-size: 16.5px; font-weight: 600; letter-spacing: -0.02em; }
.step-list p { margin-top: 6px; color: var(--muted); font-size: 13.5px; line-height: 1.8; max-width: 42em; }

/* ---------- tables ---------- */
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
thead th {
  text-align: left; font-size: 10.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted-2); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap;
  background: var(--surface-2);
}
tbody td { padding: 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background 0.12s ease; }
tbody tr:hover { background: var(--surface-2); }
.col-idx { width: 46px; color: var(--muted-2) !important; font-size: 10.5px; }
.col-title { min-width: 320px; }
.col-title a { font-size: 14px; font-weight: 550; color: var(--ink); letter-spacing: -0.01em; }
.col-title a:hover { color: var(--blue); }
.col-title span { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; margin-top: 3px; font-size: 11.5px; color: var(--muted); line-height: 1.55; }
.col-cluster { width: 110px; }
.col-date { width: 100px; font-size: 11px; color: var(--muted-2) !important; }
.col-read { width: 82px; font-size: 11px; color: var(--muted-2) !important; }
.col-arrow { width: 34px; color: var(--muted-2) !important; text-align: right; }
.col-kw { width: 170px; font-size: 10.5px; color: var(--muted) !important; }
.compare-table table { font-size: 13.5px; }
.compare-table th:first-child, .compare-table td:first-child { padding-left: 20px; }
.compare-table td { line-height: 1.7; }
.compare-table td:first-child { color: var(--ink); font-weight: 550; width: 140px; }
.compare-table th { padding-top: 14px; padding-bottom: 14px; }
.compare-table + .text-link { margin-top: 20px; }
.insight-table table { font-size: 13px; }
.insight-table .col-cluster .pill { min-width: 64px; justify-content: center; }
.insight-table tr.is-hidden { display: none; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 72px; align-items: start; }
.faq-copy h2 { margin: 10px 0 16px; font-size: clamp(26px, 2.6vw, 32px); font-weight: 600; letter-spacing: -0.03em; }
.faq-copy p { color: var(--muted); font-size: 13.5px; line-height: 1.8; max-width: 24em; }
.faq-copy .text-link { margin-top: 20px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 19px 2px; cursor: pointer; list-style: none;
  font-size: 14.5px; font-weight: 550; letter-spacing: -0.01em; line-height: 1.6;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 14px; height: 14px; flex: 0 0 14px; margin-top: 4px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--muted); border-radius: 1px; transition: transform 0.2s ease, opacity .2s ease; }
.faq-icon::before { left: 0; right: 0; top: 6px; height: 1.5px; }
.faq-icon::after { top: 0; bottom: 0; left: 6px; width: 1.5px; }
.faq-item[open] .faq-icon::after { transform: scaleY(0); opacity: 0; }
.faq-item[open] summary { color: var(--blue); }
.faq-body { padding: 0 24px 20px 2px; max-width: 66ch; }
.faq-body p { color: var(--muted); font-size: 13.5px; line-height: 1.9; }
.faq-src { margin-top: 8px; font-size: 12px !important; color: var(--muted-2) !important; }
.faq-src a { color: var(--blue); }
.faq-block { margin: 64px 0 0; }
.faq-block h2 { margin: 10px 0 20px; font-size: 26px; font-weight: 600; letter-spacing: -0.03em; }

/* ---------- CTA ---------- */
.cta-band { margin: 88px 0; background: var(--cta-bg); color: var(--cta-ink); border-radius: 18px; overflow: hidden; position: relative; }
/* 直接挂在 main 下的 CTA（首页/洞察/标签页）没有 .wrap 包裹，需要自己收进容器 */
main > .cta-band { width: min(var(--wrap), calc(100% - var(--pad) * 2)); margin-inline: auto; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(620px 320px at 88% 0%, rgba(72, 108, 255, 0.22), transparent 62%);
  pointer-events: none;
}
.cta-inner { position: relative; display: grid; grid-template-columns: 1fr 460px; gap: 56px; padding: 52px 48px; }
.cta-copy .label { color: var(--cta-muted); }
.cta-copy h2 { margin: 12px 0 14px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.35; font-weight: 600; letter-spacing: -0.03em; color: var(--cta-ink); max-width: none; }
.cta-copy > p { color: var(--cta-muted); font-size: 13.5px; line-height: 1.85; max-width: 30em; }
.cta-contact { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 28px; }
.cta-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--cta-line); font-size: 11.5px; color: var(--cta-muted); }
.cta-contact a { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--cta-ink); border-bottom: 1px solid var(--cta-line); padding-bottom: 4px; }
.cta-contact .mono { font-size: 9.5px; color: var(--cta-muted); letter-spacing: .1em; }

.inquiry-form { display: flex; flex-direction: column; gap: 10px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 10.5px; color: var(--cta-muted); letter-spacing: 0.04em; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; color: var(--cta-ink);
  border: 1px solid var(--cta-line); border-radius: 8px; padding: 10px 12px;
  font-size: 13px; transition: border-color .15s ease, background .15s ease;
}
.field textarea { resize: vertical; min-height: 76px; }
.field input::placeholder, .field textarea::placeholder { color: var(--cta-muted); opacity: 0.8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: rgba(79, 116, 232, 0.06); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%238b95a7' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-position: calc(100% - 12px) 50%; background-size: 10px 7px; background-repeat: no-repeat; padding-right: 32px; }
.field select option { background: #14181f; color: #f3f5f9; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: start; font-size: 12px; color: var(--cta-muted); line-height: 1.65; margin: 2px 0 4px; }
.consent input { appearance: none; -webkit-appearance: none; margin: 2px 0 0; width: 16px; height: 16px; border: 1px solid var(--line-strong); border-radius: 4px; background: transparent; position: relative; }
.consent input:checked { background: var(--blue); border-color: var(--blue); }
.consent input:checked::after { content: ""; position: absolute; left: 4.5px; top: 1px; width: 5px; height: 9px; border: 1.6px solid #fff; border-top: 0; border-left: 0; transform: rotate(42deg); }
.consent a { color: var(--cta-ink); text-decoration: underline; text-underline-offset: 2px; }
.cta-band .btn-primary { background: #fff; color: #14181f; border-color: #fff; height: 44px; }
.cta-band .btn-primary:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.captcha-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.captcha-field input { letter-spacing: 0.24em; font-variant-numeric: tabular-nums; }
.captcha-refresh {
  display: block; padding: 0; border: 1px solid var(--cta-line); border-radius: 10px;
  background: #fff; cursor: pointer; overflow: hidden; line-height: 0;
  transition: border-color .15s ease, transform .15s ease;
}
.captcha-refresh:hover { border-color: var(--blue); }
.captcha-refresh:active { transform: scale(0.98); }
.captcha-img { display: block; width: 132px; height: 44px; }
@media (max-width: 560px) {
  .captcha-row { grid-template-columns: 1fr; }
  .captcha-refresh, .captcha-img { width: 100%; }
  .captcha-img { height: 48px; object-fit: cover; }
}

.form-note { font-size: 11px; color: var(--cta-muted); line-height: 1.6; text-align: center; }
.form-status { font-size: 12px; color: var(--cta-ink); min-height: 18px; text-align: center; }
.form-status.is-error { color: #ffb4ae; }
.form-status.is-ok { color: #8fe3bd; }

/* ---------- 表单结果弹窗 ---------- */
.site-dialog {
  border: 0; padding: 0; background: transparent; color: var(--ink);
  width: min(460px, calc(100vw - 32px)); max-width: none;
}
.site-dialog::backdrop { background: rgba(10, 14, 22, 0.55); backdrop-filter: saturate(120%) blur(3px); }
.dlg-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 30px 28px 22px;
  box-shadow: 0 28px 70px rgba(8, 12, 20, 0.32);
}
.dlg-icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px;
  background: color-mix(in srgb, var(--blue) 12%, #fff); color: var(--blue);
}
.dlg-icon svg { width: 22px; height: 22px; }
.site-dialog[data-tone="warn"] .dlg-icon { background: color-mix(in srgb, var(--amber) 14%, #fff); color: var(--amber); }
.site-dialog[data-tone="error"] .dlg-icon { background: color-mix(in srgb, var(--red) 12%, #fff); color: var(--red); }
.dlg-title { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 8px; }
.dlg-text { font-size: 13.5px; line-height: 1.85; color: var(--muted); margin: 0; }
.dlg-actions { display: flex; gap: 10px; margin-top: 22px; }
.site-dialog [hidden] { display: none !important; }   /* .btn 的 display 会盖掉 hidden 属性 */
.dlg-actions .btn { height: 42px; padding: 0 20px; font-size: 13px; }
.dlg-close { background: var(--surface-3); border-color: var(--line); color: var(--ink-2); }
.dlg-close:hover { border-color: var(--line-strong); }
.dlg-foot { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11.5px; line-height: 1.7; color: var(--muted-2); }
.dlg-foot a { color: var(--blue-ink); }
@media (max-width: 520px) {
  .dlg-card { padding: 24px 20px 18px; }
  .dlg-actions { flex-direction: column-reverse; }
  .dlg-actions .btn { width: 100%; }
}

/* ---------- article ---------- */
.progress-bar { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; background: transparent; }
.progress-bar span { display: block; height: 100%; width: 0; background: var(--blue); }

.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 7px;
  padding: 26px 0 0; font-size: 11.5px; color: var(--muted-2);
}
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { color: var(--line-strong); }

.page-head { padding: 30px 0 44px; border-bottom: 1px solid var(--line); margin-bottom: 44px; }
.page-head h1 {
  margin: 14px 0 0; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.28;
  font-weight: 650; letter-spacing: -0.035em; max-width: 22em;
}
.page-deck { margin-top: 18px; max-width: 62ch; color: var(--muted); font-size: 15px; line-height: 1.85; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: 12px; color: var(--muted); }
.meta-row time { font-family: var(--mono); }

.article-layout { display: grid; grid-template-columns: minmax(0, 720px) 250px; gap: 64px; align-items: start; }
/* 页面级双栏（无文章目录）：右侧栏推到容器右边缘，与上方满宽区块对齐 */
.article-layout.align-end { grid-template-columns: minmax(0, 1fr) 250px; }
.article-aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 28px; }
.toc { border-left: 1px solid var(--line); padding-left: 16px; display: flex; flex-direction: column; gap: 3px; }
.toc .label { margin-bottom: 8px; }
.toc a { font-size: 12px; color: var(--muted); padding: 5px 0; line-height: 1.5; transition: color .15s ease; }
.toc a:hover, .toc a.is-active { color: var(--blue); }
.aside-cta { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: var(--surface); }
.aside-cta .label { margin-bottom: 6px; }
.aside-cta p:not(.label) { font-size: 12.5px; color: var(--muted); line-height: 1.7; margin-bottom: 12px; }

.prose { font-size: 16px; line-height: 1.95; color: var(--ink-2); max-width: 720px; }
.prose > * + * { margin-top: 18px; }
.prose .lead { font-size: 18px; line-height: 1.85; color: var(--ink); letter-spacing: -0.01em; }
.prose h2 {
  position: relative; margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 26px; line-height: 1.45; font-weight: 600; letter-spacing: -0.03em; color: var(--ink);
  counter-increment: sec;
}
.prose h2::before {
  content: counter(sec, decimal-leading-zero);
  display: inline-block; margin-right: 10px; vertical-align: 3px;
  font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--blue); letter-spacing: 0.08em;
}
.prose { counter-reset: sec; }
.prose h3 { margin-top: 34px; font-size: 18.5px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.prose p { color: var(--ink-2); }
.prose a { color: var(--blue-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(52, 93, 227, 0.35); text-decoration-color: color-mix(in srgb, var(--blue) 35%, transparent); }
.prose a:hover { text-decoration-color: var(--blue); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose code { font-family: var(--mono); font-size: 0.88em; background: var(--surface-3); padding: 2px 5px; border-radius: 4px; }
.prose ul, .prose ol { padding-left: 0; display: flex; flex-direction: column; gap: 8px; }
.prose ul li, .prose ol li { position: relative; padding-left: 22px; line-height: 1.85; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 0.78em; width: 5px; height: 5px; background: var(--blue); border-radius: 1px; }
.prose ol { counter-reset: item; }
.prose ol li { counter-increment: item; }
.prose ol li::before { content: counter(item, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--mono); font-size: 10px; color: var(--muted-2); line-height: 2.4; }
.prose blockquote { border-left: 2px solid var(--blue); padding: 2px 0 2px 18px; color: var(--ink); font-size: 16px; }
.prose .callout {
  background: var(--blue-soft); border: 1px solid var(--line); border-color: color-mix(in srgb, var(--blue) 16%, var(--line));
  border-radius: 10px; padding: 16px 18px;
}
.prose .callout p { font-size: 14px; color: var(--ink-2); line-height: 1.8; }
.prose .table-wrap { margin-top: 24px; }
.prose table { font-size: 13px; }
.prose td, .prose th { padding: 11px 13px; }
.prose-figure { margin: 30px 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.prose-figure picture { display: block; }
.prose-figure img { width: 100%; height: auto; background: var(--surface-2); }
.prose-figure figcaption { padding: 11px 16px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted); line-height: 1.6; }
.article-tail { max-width: none; }
.article-tail .faq-block, .article-tail .related { max-width: 720px; }

.related { margin-top: 64px; padding-bottom: 72px; }
.related .section-head { margin-bottom: 22px; }
.related .section-head h2 { font-size: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.article-card {
  display: flex; flex-direction: column; gap: 10px; padding: 20px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  transition: border-color .16s ease, transform .16s ease;
}
.article-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.card-index { font-size: 10px; color: var(--muted-2); }
.article-card h3 { font-size: 15.5px; font-weight: 600; line-height: 1.55; letter-spacing: -0.02em; }
.article-card p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; color: var(--muted); line-height: 1.7; }
.card-more { margin-top: auto; padding-top: 10px; font-size: 11px; color: var(--muted-2); display: flex; gap: 6px; align-items: center; }

/* ---------- category ---------- */
.cat-head h1 { max-width: 20em; }
.cat-stats { display: flex; gap: 44px; margin-top: 32px; }
.cat-stats div { display: flex; flex-direction: column; gap: 3px; }
.cat-stats strong { font-size: 20px; font-weight: 450; letter-spacing: -0.03em; }
.cat-stats span { font-size: 10.5px; color: var(--muted-2); }
.cat-children { margin-top: 64px; }
.other-clusters { margin-top: 56px; padding-bottom: 64px; }
.cluster-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.cluster-links a {
  display: flex; align-items: center; gap: 10px; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
  font-size: 14px; font-weight: 550;
}
.cluster-links a .mono { font-size: 10px; color: var(--muted-2); }
.cluster-links a .arrow { margin-left: auto; color: var(--muted-2); }
.cluster-links a:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- insights ---------- */
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; flex-wrap: wrap; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 13px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  font-size: 12px; color: var(--muted); transition: all .15s ease;
}
.chip span { font-size: 9.5px; color: var(--muted-2); }
.chip:hover { border-color: var(--line-strong); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip.is-active span { color: inherit; opacity: 0.66; }
.search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; height: 34px; background: var(--surface); min-width: 220px; }
.search svg { width: 14px; height: 14px; color: var(--muted-2); flex: 0 0 14px; }
.search input { border: 0; background: transparent; outline: none; font-size: 12.5px; width: 100%; }
.search input::placeholder { color: var(--muted-2); }
.empty-state { padding: 48px 0; text-align: center; color: var(--muted); font-size: 13px; }

/* ---------- FAQ page ---------- */
.faq-page-grid { display: grid; grid-template-columns: 1fr 260px; gap: 64px; align-items: start; }
.faq-group { margin-bottom: 44px; }
.faq-group h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; }
.faq-aside { position: sticky; top: 100px; }

/* ---------- contact ---------- */
.contact-tail { padding-bottom: 72px; }
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: start; padding-bottom: 16px; }
.inquiry-form-lg { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px; gap: 12px; }
.inquiry-form-lg .field > span { color: var(--muted); }
.inquiry-form-lg .field input, .inquiry-form-lg .field select, .inquiry-form-lg .field textarea { border-color: var(--line-strong); color: var(--ink); background-color: var(--surface-2); }
.inquiry-form-lg .field input::placeholder, .inquiry-form-lg .field textarea::placeholder { color: var(--muted-2); opacity: 1; }
.inquiry-form-lg .field input:focus, .inquiry-form-lg .field select:focus, .inquiry-form-lg .field textarea:focus { border-color: var(--blue); background-color: var(--surface-2); }
.inquiry-form-lg .field select option { background: var(--surface); color: var(--ink); }
.inquiry-form-lg .captcha-refresh { border-color: var(--line-strong); background: var(--surface-2); }
.inquiry-form-lg .captcha-refresh:hover { border-color: var(--blue); }
.inquiry-form-lg .consent { color: var(--muted); font-size: 12px; line-height: 1.65; }
.inquiry-form-lg .consent input { width: 16px; height: 16px; margin: 2px 0 0; }
.inquiry-form-lg .consent a { color: var(--ink); }
.inquiry-form-lg .form-note { color: var(--muted-2); }
.inquiry-form-lg .form-status { color: var(--ink); }
.inquiry-form-lg .form-status.is-error { color: var(--red); }
.inquiry-form-lg .form-status.is-ok { color: var(--green); }
.contact-info { display: flex; flex-direction: column; gap: 26px; padding-top: 6px; }
.info-block { border-top: 1px solid var(--line); padding-top: 18px; }
.info-block .label { margin-bottom: 12px; }
.info-line { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.info-line span { font-size: 11.5px; color: var(--muted); }
.info-line strong { font-size: 13.5px; font-weight: 550; font-family: var(--mono); letter-spacing: -0.01em; }
.info-address { font-size: 13.5px; line-height: 1.8; color: var(--ink-2); }
.info-note { margin-top: 10px; font-size: 11.5px; color: var(--muted-2); line-height: 1.7; }
.contact-body { max-width: 720px; margin: 56px 0 0; }

/* ---------- about / cases ---------- */
.about-facts { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; margin-bottom: 44px; }
.about-facts .fact { padding: 22px 24px; }
.about-facts .fact:first-child { padding-left: 24px; }
.notice {
  border: 1px solid var(--line); border-left: 2px solid var(--amber); border-radius: 0 10px 10px 0;
  background: var(--surface-2); padding: 14px 18px; font-size: 12.5px; color: var(--muted);
  line-height: 1.8; margin-bottom: 24px;
}
.scene-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.scene-card { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 24px; }
.scene-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.scene-head .mono { font-size: 10px; color: var(--muted-2); }
.scene-en { font-size: 9.5px; letter-spacing: 0.12em; }
.scene-card h2, .scene-card h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.scene-pain { margin-top: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.75; }
.scene-card ul { margin-top: 16px; display: flex; flex-direction: column; gap: 7px; }
.scene-card li { position: relative; padding-left: 18px; font-size: 12.5px; color: var(--ink-2); line-height: 1.7; }
.scene-card li::before { content: ""; position: absolute; left: 2px; top: 0.7em; width: 5px; height: 5px; background: var(--blue); border-radius: 1px; }
.scene-card .text-link { margin-top: 18px; font-size: 12px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface-2); margin-top: 0; }
.footer-inner { width: min(var(--wrap), calc(100% - var(--pad) * 2)); margin-inline: auto; padding: 56px 0 40px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.footer-desc { margin: 16px 0 22px; max-width: 28em; font-size: 12.5px; color: var(--muted); line-height: 1.8; }
.footer-brand address { display: flex; flex-direction: column; gap: 7px; font-style: normal; font-size: 12px; color: var(--muted); }
.footer-brand address a { font-family: var(--mono); font-size: 11.5px; }
.footer-brand address a:hover { color: var(--blue); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col h3 { font-size: 10.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; font-family: var(--mono); }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 12.5px; color: var(--ink-2); }
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  width: min(var(--wrap), calc(100% - var(--pad) * 2)); margin-inline: auto;
  padding: 18px 0 26px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center;
  font-size: 11px; color: var(--muted-2);
}
.footer-legal { display: flex; gap: 16px; }
.footer-legal a:hover { color: var(--ink); }
.footer-note { margin-left: auto; }

/* ---------- 404 ---------- */
.notfound { padding: 96px 0 120px; }
.nf-code { font-size: 12px; color: var(--blue); letter-spacing: 0.14em; }
.notfound h1 { margin: 14px 0 16px; font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.04em; font-weight: 650; }
.nf-links { display: flex; gap: 10px; margin-top: 28px; }
.nf-nav { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.nf-nav a:hover { color: var(--blue); }

/* ---------- pagination & tags ---------- */
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.pager-step { display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; color: var(--muted); background: var(--surface); }
.pager-step:hover { color: var(--ink); border-color: var(--line-strong); }
.pager-num { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 6px; border: 1px solid transparent; border-radius: 8px; font-size: 12px; color: var(--muted); }
.pager-num:hover { border-color: var(--line); color: var(--ink); }
.pager-num.is-current { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.tag-cloud { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.tag-cloud .label { margin-right: 4px; }
.tag-link { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--muted); background: var(--surface); transition: color .15s ease, border-color .15s ease; }
.tag-link:hover { color: var(--blue); border-color: var(--blue); }
.tag-link .mono { font-size: 9.5px; color: var(--muted-2); }
.tag-link.is-current { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.tag-link.is-current .mono { color: inherit; opacity: .66; }

.tag-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 26px 0 4px; padding-top: 20px; border-top: 1px solid var(--line); }
.tag-row .label { margin-right: 4px; }

.tag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tag-card { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .15s ease; }
.tag-card:hover { border-color: var(--line-strong); }
.tag-head { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted-2); letter-spacing: .1em; }
.tag-card h2 { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.tag-card p { font-size: 12px; color: var(--muted); line-height: 1.7; }
.tag-card .card-more { margin-top: auto; }

/* ---------- photo gallery ---------- */
.photo-section { padding: 10px 0 6px; }
.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; }
.photo-item { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.photo-item img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.photo-item.is-wide { grid-column: 1 / -1; }
.photo-item.is-wide img { aspect-ratio: 2 / 1; }
.photo-item figcaption { padding: 10px 12px 12px; font-size: 11.5px; line-height: 1.6; color: var(--muted); }

/* ---------- column: stages & project types ---------- */
.stage-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.stage-card, .type-card { display: flex; flex-direction: column; gap: 8px; padding: 18px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.stage-head, .type-head { display: flex; align-items: center; justify-content: space-between; font-size: 10px; color: var(--muted-2); letter-spacing: .08em; }
.stage-card h3, .type-card h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.stage-out, .type-fit { font-size: 11.5px; color: var(--muted); line-height: 1.7; }
.stage-need, .type-out { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 10.5px; color: var(--muted-2); line-height: 1.6; }
.stage-need .mono, .type-out .mono { display: block; font-size: 9.5px; letter-spacing: .06em; margin-bottom: 3px; color: var(--muted); white-space: nowrap; }
.stage-wrap { margin-bottom: 56px; }
.type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  :root { --pad: 28px; }
  .approach-grid, .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .approach-copy { position: static; }
  .cta-inner { grid-template-columns: 1fr 400px; gap: 32px; padding: 40px 32px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 220px; gap: 40px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .contact-grid { grid-template-columns: 1fr 300px; gap: 32px; }
}

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-panel { width: 100%; max-width: 620px; margin-inline: auto; }
  .cta-inner { grid-template-columns: 1fr; padding: 40px 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 48px; }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(1), .fact:nth-child(2) { border-bottom: 1px solid var(--line); }
  .service-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section-head .text-link { align-self: flex-start; }
  .section-lede { max-width: none; }
  .cta-inner { grid-template-columns: 1fr; padding: 34px 24px; }
  .cta-band { margin: 64px 0; border-radius: 14px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { display: none; }
  .related-grid { grid-template-columns: 1fr; }
  .cluster-links { grid-template-columns: 1fr; }
  .faq-page-grid { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .tag-grid { grid-template-columns: repeat(2, 1fr); }
  .stage-grid { grid-template-columns: repeat(3, 1fr); }
  .type-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-note { margin-left: 0; width: 100%; }
  .article-tail { max-width: none; }
  .prose { max-width: none; }
  .cat-stats { gap: 28px; }
  .col-title { min-width: 240px; }
}

@media (max-width: 620px) {
  :root { --pad: 20px; }
  body { font-size: 14.5px; }
  .header-inner { gap: 12px; }
  .header-cta { display: none; }
  .hero h1 { font-size: 34px; letter-spacing: -0.03em; }
  .hero-h1-sub { font-size: 0.56em; }
  .hero-lede { font-size: 14.5px; }
  .hero-meta { gap: 8px 14px; font-size: 10.5px; }
  .hero-actions .btn { flex: 1; }
  .fact { padding: 18px 14px; }
  .fact strong { font-size: 24px; }
  .section-head h2 { font-size: 24px; }
  .page-head { padding: 22px 0 30px; margin-bottom: 30px; }
  .page-head h1 { font-size: 30px; }
  .page-deck { font-size: 14px; }
  .prose { font-size: 15.5px; line-height: 1.9; }
  .prose .lead { font-size: 17px; }
  .prose h2 { font-size: 22px; margin-top: 40px; }
  .prose h3 { font-size: 17px; }
  .cta-copy h2 { font-size: 26px; }
  .field-row { grid-template-columns: 1fr; }
  .inquiry-form-lg { padding: 20px 16px; }
  .footer-bottom { gap: 8px 18px; }
  .filter-bar { align-items: stretch; }
  .search { width: 100%; }
  .chips { overflow-x: auto; padding-bottom: 4px; flex-wrap: nowrap; }
  .chip { flex: 0 0 auto; }
  .col-date, .col-read, .col-cluster { display: none; }
  .insight-table th.col-date, .insight-table th.col-read, .insight-table th.col-cluster { display: none; }
  .article-card { padding: 18px; }
  .progress-bar { display: none; }
  .tag-grid { grid-template-columns: 1fr; }
  .stage-grid, .type-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .tag-cloud { gap: 6px; }
  .tag-link { height: 26px; padding: 0 9px; font-size: 11.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* entry motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 0.6s cubic-bezier(.2,.7,.3,1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.05s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.1s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.15s; }
  .hero-copy > *:nth-child(5) { animation-delay: 0.2s; }
  .hero-panel { animation: rise 0.7s 0.12s cubic-bezier(.2,.7,.3,1) both; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* ---------- contact refinements (2026-11-06) ---------- */
/* 表单与右栏：桌面端收窄右栏比例，避免中等宽度把字段挤成两条窄列 */
.contact-grid { grid-template-columns: minmax(0, 1fr) minmax(252px, .58fr); gap: 48px; padding-bottom: 8px; }

/* 卡片内节奏：内边距放宽，字段行距加大 */
.inquiry-form-lg { padding: 28px; gap: 14px; border-radius: 16px; box-shadow: 0 1px 2px rgba(26, 30, 38, .03); }
.inquiry-form-lg .field-row { gap: 14px; }

/* 提交区四层分开：勾选 / 按钮 / 说明 / 状态 */
.inquiry-form-lg .consent { margin: 4px 0 2px; font-size: 12.5px; }
.inquiry-form-lg .btn-block { margin-top: 6px; }
.inquiry-form-lg .form-note { margin-top: 0; font-size: 11.5px; }
.inquiry-form-lg .form-status { margin: 0; font-size: 12.5px; line-height: 1.6; }
.inquiry-form-lg .form-status:not(:empty) { margin-top: 4px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); }
.inquiry-form-lg .form-status.is-ok:not(:empty) { border-color: rgba(28, 122, 86, .22); background: rgba(28, 122, 86, .05); }
.inquiry-form-lg .form-status.is-error:not(:empty) { border-color: rgba(166, 67, 60, .22); background: rgba(166, 67, 60, .05); }

/* 右侧信息栏：首块标签与卡片内首行对齐，行距更稳 */
.contact-info { padding-top: 8px; gap: 24px; }
.info-block { padding-top: 19px; }
.info-line { padding: 8px 0; }
.info-address { line-height: 1.85; }

/* 表单区与下方正文的过渡 */
.contact-body { margin-top: 64px; }

/* 中等宽度提前切单列，右侧信息改为横向三块 */
@media (max-width: 1000px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-info { flex-direction: row; flex-wrap: wrap; gap: 22px 36px; padding-top: 0; }
  .info-block { flex: 1 1 220px; padding-top: 18px; }
}

@media (max-width: 620px) {
  .inquiry-form-lg { padding: 20px 16px; gap: 12px; }
  .inquiry-form-lg .consent { font-size: 12px; }
  .inquiry-form-lg .form-status:not(:empty) { padding: 10px 12px; }
  .contact-body { margin-top: 44px; }
}

/* 字段可读性：标签 11.5px，输入框加高；移动端 16px 规避 iOS 聚焦缩放 */
.inquiry-form-lg .field > span { font-size: 11.5px; letter-spacing: .02em; }
.inquiry-form-lg .field input,
.inquiry-form-lg .field select,
.inquiry-form-lg .field textarea { padding: 11px 14px; font-size: 13.5px; border-radius: 9px; }
.inquiry-form-lg .field textarea { min-height: 96px; padding-top: 12px; }

@media (max-width: 620px) {
  .inquiry-form-lg .field input,
  .inquiry-form-lg .field select,
  .inquiry-form-lg .field textarea { font-size: 16px; }
}

/* ---------- scene photos (2026-11-06) ---------- */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.photo-strip figure { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.photo-strip img { display: block; width: 100%; height: 196px; object-fit: cover; }
.photo-strip figcaption { padding: 13px 15px 15px; font-size: 11.5px; line-height: 1.7; color: var(--muted); }
.photo-strip figcaption .mono { display: block; margin-bottom: 5px; font-size: 9.5px; letter-spacing: .1em; color: var(--muted-2); }

.photo-wide { margin: 32px 0 34px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.photo-wide img { display: block; width: 100%; height: clamp(200px, 28vw, 300px); object-fit: cover; }
.photo-wide figcaption { padding: 13px 16px; border-top: 1px solid var(--line); font-size: 11.5px; line-height: 1.7; color: var(--muted); }

.photo-note { margin: 12px 0 30px; font-size: 10.5px; color: var(--muted-2); }

@media (max-width: 860px) {
  .photo-strip { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .photo-strip img { height: 210px; }
  .photo-wide { margin-top: 28px; border-radius: 12px; }
}
