/* SOFT 软通集团 · 设计系统（见 docs/方案.md「设计方向」与 /brand/ 页）
   深墨蓝 + 白为主，青绿只做少量强调；细线代替阴影；无渐变、无发光；系统字体。 */

/* Manrope（OFL，自托管）：只管拉丁字母和越南文；中日韩泰印地文自动落到后面的系统字体 */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/static/fonts/manrope-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2039-203A, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/static/fonts/manrope-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/static/fonts/manrope-vietnamese.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }

:root {
  --ink: #0B1C2E;
  --ink-2: #16304A;
  --ink-3: #24435F;
  --white: #FFFFFF;
  --mist: #F4F6F8;
  --line: #DDE3E9;
  --line-ink: rgba(255, 255, 255, .14);
  --slate: #5B6B7C;           /* 白底 AA：5.6:1 */
  --slate-ink: #A9B6C4;       /* 墨蓝底 AA */
  --accent: #0E9384;          /* 青绿：白底 AA（大字 / 图形），链接用 --accent-text */
  --accent-text: #0B7A6E;     /* 白底 5.2:1 */
  --accent-ink: #3CC7B5;      /* 墨蓝底上的强调 */
  --tbd: #9A6B00;

  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
          "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 10vw, 128px);
  --r: 2px;                   /* 圆角克制：近乎直角 */
  --t: 180ms cubic-bezier(.2, .6, .2, 1);
}

/* 各语言的字体栈：日文、韩文优先用本语言字形，泰文、印地文用对应字体 */
:root:lang(ja) { --font: "Manrope", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", "Meiryo", sans-serif; }
:root:lang(ko) { --font: "Manrope", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }
:root:lang(th) { --font: "Manrope", "Thonburi", "Leelawadee UI", "Noto Sans Thai", "Tahoma", sans-serif; }
:root:lang(hi) { --font: "Manrope", "Kohinoor Devanagari", "Nirmala UI", "Noto Sans Devanagari", "Mangal", sans-serif; }
:lang(th) body, :lang(hi) body { line-height: 1.8; }
:lang(th) h1, :lang(th) h2, :lang(th) h3, :lang(hi) h1, :lang(hi) h2, :lang(hi) h3 { line-height: 1.4; letter-spacing: 0; }
:lang(th) .eyebrow, :lang(hi) .eyebrow { letter-spacing: .02em; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; font: 400 17px/1.7 var(--font); color: var(--ink); background: var(--white);
       -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -.02em; line-height: 1.22; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--white); }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--slate); }
.small { font-size: 14px; }
.ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; display: inline-block; vertical-align: -2px; margin-left: 6px; transition: transform var(--t); }

/* ---------- 标志 ---------- */
.wordmark { height: 22px; width: auto; color: var(--ink); overflow: visible; }
.wm-accent { stroke: var(--accent); }
.lockup { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.lockup .wordmark { height: 20px; color: inherit; }
.lockup-rule { width: 1px; height: 18px; background: currentColor; opacity: .35; }
.lockup-cn { font-size: 15px; font-weight: 600; letter-spacing: .18em; line-height: 1; white-space: nowrap; }
.lockup.xl { gap: 22px; }
.lockup.xl .wordmark { height: 52px; }
.lockup.xl .lockup-rule { height: 44px; }
.lockup.xl .lockup-cn { font-size: 22px; }

/* ---------- 顶栏 ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav-side .btn { white-space: nowrap; }
.brand { display: inline-flex; flex: none; }
.mainnav { display: flex; align-items: center; gap: 40px; }
.mainnav > ul { display: flex; gap: 32px; }
.mainnav > ul > li > a { font-size: 15px; color: var(--ink); position: relative; padding: 24px 0; white-space: nowrap; }
.mainnav > ul > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 16px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform var(--t); }
.mainnav > ul > li > a:hover::after, .mainnav > ul > li > a[aria-current]::after { transform: scaleX(1); }
.mainnav > ul > li > a[aria-current]::after { background: var(--accent); height: 2px; }
.nav-side { display: flex; align-items: center; gap: 20px; }
.langs { position: relative; font-size: 14px; }
.langs summary { list-style: none; cursor: pointer; color: var(--slate); display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; white-space: nowrap; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary:hover, .langs[open] summary { color: var(--ink); }
.langs .globe { margin: 0; }
.langs ul { position: absolute; right: 0; top: calc(100% + 8px); min-width: 168px; background: var(--white); border: 1px solid var(--line); padding: 6px 0; z-index: 60; }
.langs li a { display: block; padding: 8px 16px; color: var(--ink); }
.langs li a:hover { background: var(--mist); }
.langs ul { display: block; }
.langs li a[aria-current] { color: var(--accent-text); font-weight: 600; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; color: var(--ink); }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 1.5px; background: currentColor; margin: 0 auto; position: relative; transition: transform var(--t), background var(--t); }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.menu-btn[aria-expanded="true"] .bars { background: transparent; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 按钮与链接 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; font-size: 15px; font-weight: 500;
       border: 1px solid var(--ink); border-radius: var(--r); transition: background var(--t), color var(--t), border-color var(--t); white-space: nowrap; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn:hover .ic, .link:hover .ic, .link-light:hover .ic, a:hover > .more .ic { transform: translateX(3px); }
.link { color: var(--accent-text); font-weight: 500; display: inline-flex; align-items: center; }
.link:hover { color: var(--ink); }
.link-light { color: var(--white); display: inline-flex; align-items: center; border-bottom: 1px solid var(--line-ink); padding-bottom: 4px; }
.link-light:hover { border-color: var(--accent-ink); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 36px; }

/* ---------- 区块 ---------- */
.sec { padding: var(--sec) 0; }
.sec + .sec:not(.sec-ink):not(.sec-soft) { border-top: 1px solid var(--line); }
.sec-soft { background: var(--mist); }
.sec-ink { background: var(--ink); color: var(--white); }
.sec-ink .eyebrow { color: var(--accent-ink); }
.sec-ink .lede { color: var(--slate-ink); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 20px; }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head h2, .h2 { font-size: clamp(28px, 3.4vw, 40px); }
.h2 { margin-bottom: 40px; }
.h3 { font-size: 20px; margin: 40px 0 16px; }
.lede { font-size: 18px; color: var(--slate); margin-top: 20px; max-width: 720px; }
.lede.lg { font-size: clamp(18px, 1.6vw, 20px); }
.body-lg { font-size: 18px; max-width: 720px; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }

/* ---------- 插图（gen_art.py 生成的等轴测线稿）---------- */
.art { width: 100%; height: auto; overflow: visible; }
.art .l { stroke: var(--ink); stroke-width: 1.15; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.art path.l, .art line.l { fill: none; }
.art .f { fill: #FFFFFF; }
.art .m { fill: #EDF1F4; }
.art .k { fill: #D9E1E8; }
.art .m0 { fill: var(--mist); stroke: none; }
.art .o { fill: none; }
.art .t { stroke-opacity: .45; }
.art .d { stroke-opacity: .35; }
.art .a { stroke: var(--accent); }
.art .a2 { fill: #D3EEEA; }
.art .af { fill: var(--accent); }
.art .lf { fill: #FFFFFF; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.art .g { fill: none; stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.art .dash { stroke-dasharray: 3 5; }
.art-icon .l { stroke-width: 1.1; }
.sector-icon { display: block; width: 72px; height: 64px; margin-bottom: 20px; }
.sector-icon .art { width: 100%; height: 100%; }
.hero-art { position: relative; }
.hero-art .art { max-height: 560px; }
.hero-art { margin-right: calc(var(--gutter) * -0.5); }
.brand-art { width: 88px; height: 72px; margin-bottom: 24px; }
.brand-art .art { width: 100%; height: 100%; }
.page-head-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.page-art .art { max-height: 320px; }
.page-art.is-icon { justify-self: center; width: min(240px, 100%); }
.row-lead { display: grid; gap: 14px; }
.row-lead .sector-icon { width: 56px; height: 50px; margin: 0; }

/* 动效：只有航线虚线缓缓流动、指示灯轻微呼吸；减少动效时关闭 */
.art .flow { animation: flow 2.4s linear infinite; }
.art .pulse { animation: pulse 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes flow { to { stroke-dashoffset: -16; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.art .ring { fill: none; stroke: var(--accent); stroke-width: 1; opacity: .5; vector-effect: non-scaling-stroke; }
.art .ring.r2 { opacity: .25; }
.art .tx { font: 600 15px/1 var(--font); fill: var(--ink); letter-spacing: .02em; }
.art .tx.sm { font: 500 12px/1 var(--mono); fill: var(--slate); }

/* 深色区块里的插图：线条变浅 */
.sec-ink .art .l { stroke: rgba(255, 255, 255, .8); }
.sec-ink .art .f { fill: var(--ink-2); }
.sec-ink .art .g { stroke: rgba(255, 255, 255, .12); }
.sec-ink .art .a { stroke: var(--accent-ink); }
.sec-ink .art .af { fill: var(--accent-ink); }
.sec-ink .art .ring { stroke: var(--accent-ink); }
.sec-ink .art .tx { fill: var(--white); }
.sec-ink .art .tx.sm { fill: var(--slate-ink); }
.globe-wrap { max-width: 520px; justify-self: end; width: 100%; }
.lang-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.lang-chips a { display: inline-block; padding: 6px 14px; border: 1px solid var(--line-ink); color: var(--slate-ink); font-size: 14px; transition: border-color var(--t), color var(--t); }
.lang-chips a:hover, .lang-chips a[aria-current] { border-color: var(--accent-ink); color: var(--white); }

/* 区块编号 */
.eyebrow .idx { font-family: var(--mono); font-weight: 500; letter-spacing: 0; margin-right: 12px; padding-right: 12px; border-right: 1px solid currentColor; }

/* ---------- 首屏 ---------- */
.hero { padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 10vw, 128px); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero h1 { font-size: clamp(36px, 5.6vw, 68px); line-height: 1.1; letter-spacing: -.03em; font-weight: 700; }
/* 字母文字的标语长，按 CJK 的字号会排成四行（用户 10-31 嫌丑）：不强制断行（模板里 <br> 换成空格），字号小一档、各行均衡 */
:lang(en) .hero h1, :lang(ms) .hero h1, :lang(vi) .hero h1, :lang(hi) .hero h1, :lang(th) .hero h1 {
  font-size: clamp(30px, 3.6vw, 48px); line-height: 1.14; letter-spacing: -.025em; text-wrap: balance; }
/* 日文保留两行断句，字号小到一行放得下 */
:lang(ja) .hero h1 { font-size: clamp(30px, 3.7vw, 50px); }
@media (max-width: 920px) {                            /* 单栏时标题占满宽度，字号跟着放大 */
  :lang(en) .hero h1, :lang(ms) .hero h1, :lang(vi) .hero h1, :lang(hi) .hero h1, :lang(th) .hero h1 { font-size: clamp(30px, 6.4vw, 48px); }
  :lang(ja) .hero h1 { font-size: clamp(28px, 6.4vw, 48px); }
}
.hero .lede { margin-top: 28px; }

.org { margin: 0; border: 1px solid var(--line); }
.org-root { display: flex; align-items: center; gap: 16px; padding: 28px; border-bottom: 1px solid var(--line); }
.org-root .wordmark { height: 26px; }
.org-root span { font-size: 15px; letter-spacing: .18em; font-weight: 600; }
.org-nodes { display: grid; grid-template-columns: 1fr 1fr; counter-reset: n; }
.org-nodes li { padding: 24px 28px; display: grid; gap: 4px; border-top: 1px solid var(--line); position: relative; }
.org-nodes li:nth-child(-n+2) { border-top: 0; }
.org-nodes li:nth-child(odd) { border-right: 1px solid var(--line); }
.org-nodes .no { font: 500 12px/1 var(--mono); color: var(--accent-text); }
.org-nodes b { font-size: 17px; font-weight: 600; }
.org-nodes small { font-size: 13px; color: var(--slate); }
.org-nodes .is-pending b, .org-nodes .is-slot b { color: var(--slate); }
.org-nodes .is-slot b { font-weight: 500; }
.org-nodes .is-slot .no { color: var(--slate); }
.org-nodes li { padding: 18px 28px; }

/* ---------- 产业板块 ---------- */
.sector-list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.sector { border-bottom: 1px solid var(--line); }
.sector a, .slot-inner { display: flex; flex-direction: column; height: 100%; padding: 32px 28px 28px 0; border-right: 1px solid var(--line); margin-right: 28px; }
.sector:nth-child(4n) a, .sector:nth-child(4n) .slot-inner { border-right: 0; margin-right: 0; }
.sector.is-slot h3 { color: var(--slate); font-weight: 500; }
.sector.is-slot .no { color: var(--slate); }
.sector.is-slot p { font-size: 15px; color: var(--slate); }
.sector .no { font: 500 13px/1 var(--mono); color: var(--accent-text); margin-bottom: 16px; }
.sector h3 { font-size: 22px; margin-bottom: 8px; }
.tagline { font-size: 16px; color: var(--ink); margin: 2px 0 10px; }
.brandname { font-size: 13px; color: var(--slate); margin-bottom: 16px; }
.sector .tagline { flex: 1; font-size: 15px; color: var(--slate); }
.sector .brandname { color: var(--accent-text); }
.sector-row .tagline { font-size: 17px; margin-bottom: 8px; }

.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--slate); margin-top: 12px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.dot-off { background: transparent; border: 1px solid var(--slate); }
.more { display: inline-flex; align-items: center; font-size: 14px; font-weight: 500; margin-top: 20px; color: var(--ink); }
.sector a:hover h3 { color: var(--accent-text); }

.sector-rows { border-top: 1px solid var(--ink); }
.sector-row { display: grid; grid-template-columns: 96px 1fr 220px; gap: 32px; padding: 40px 0; border-bottom: 1px solid var(--line); align-items: start; }
.sector-row .no { font: 500 14px/1.9 var(--mono); color: var(--accent-text); }
.sector-row h2 { font-size: 26px; margin-bottom: 6px; }
.sector-row h2 a:hover { color: var(--accent-text); }
.sector-row p:not(.brandname):not(.tagline) { color: var(--slate); max-width: 640px; margin: 0; }
.row-side { display: grid; gap: 12px; justify-items: start; }
.row-side .status { margin: 0; }

/* ---------- 协同（分层图）---------- */
.stack { margin: 0; }
.stack > ol { display: grid; gap: 0; }
.layer { border: 1px solid var(--line-ink); padding: 24px 28px; position: relative; }
.layer + .layer { border-top: 0; }
.layer + .layer::before { content: ""; position: absolute; left: 50%; top: -14px; width: 1px; height: 28px; background: var(--accent-ink); }
.layer-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.layer-head b { font-weight: 600; font-size: 18px; }
.layer-head span { color: var(--slate-ink); font-size: 14px; }
.layer ul { display: flex; flex-wrap: wrap; gap: 8px; }
.layer li { font-size: 13px; padding: 6px 12px; border: 1px solid var(--line-ink); color: var(--slate-ink); }
.layer:last-child { background: var(--ink-2); }

/* ---------- 品牌卡 ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.brand-card { border: 1px solid var(--line); background: var(--white); padding: 36px 32px; display: flex; flex-direction: column; }
.brand-card h3 { font-size: 24px; }
.brand-card .latin { font-size: 14px; color: var(--slate); margin: 4px 0 0; }
.brand-card > p:not(.sector-tag):not(.latin) { color: var(--slate); font-size: 15px; margin: 20px 0 28px; flex: 1; }
.sector-tag { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); font-weight: 600; margin-bottom: 28px; }
.brand-links { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.brand-card.is-slot { border-style: dashed; background: transparent; }
.brand-card.is-slot h3 { color: var(--slate); }

/* ---------- 事实与案例 ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.fact { padding: 28px 24px 28px 0; border-right: 1px solid var(--line); margin-right: 24px; }
.fact:last-child { border-right: 0; margin-right: 0; }
.fact dt { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.01em; }
.fact dd { color: var(--slate); font-size: 15px; margin-top: 6px; }
.case-slot { margin-top: 48px; padding: 32px; border: 1px dashed var(--line); background: var(--white); display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
.case-slot h3 { font-size: 18px; }

/* ---------- 联系卡 ---------- */
.contact-card { border: 1px solid var(--ink); padding: 40px; }
.contact-card h3 { font-size: 24px; margin-bottom: 12px; }
.contact-card p { color: var(--slate); margin-bottom: 28px; }

/* ---------- 内页 ---------- */
.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.02em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--slate); margin-bottom: 28px; }
.crumbs a:hover { color: var(--ink); }
.prose-grid { display: grid; grid-template-columns: 240px 1fr; gap: 48px 64px; }
.prose-grid > h2 { font-size: 15px; letter-spacing: .1em; color: var(--slate); font-weight: 600; padding-top: 6px; }
.kv { display: grid; border-top: 1px solid var(--line); max-width: 760px; }
.kv > div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--slate); font-size: 15px; }
.kv.narrow { margin-top: 56px; }
.kv.narrow + p, .contact-list + p { margin-top: 20px; }
.offices { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--white); }
.office { padding: 36px 32px 8px 0; margin-right: 32px; border-right: 1px solid var(--line-ink, rgba(255,255,255,.16)); }
.office:last-child { border-right: 0; margin-right: 0; }
:lang(zh) .office h3, :lang(zh-hant) .office h3, :lang(ja) .office h3, :lang(ko) .office h3 { font-size: clamp(36px, 4.6vw, 60px); }
.office-no { font: 500 13px/1 var(--mono); color: var(--accent-ink); }
.office h3 { font-size: clamp(32px, 3.3vw, 48px); font-weight: 600; letter-spacing: -.02em; line-height: 1.05; margin: 28px 0 18px; }
.office-region { color: var(--white); font-size: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.office-tag { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--accent-ink); border: 1px solid currentColor; padding: 3px 8px; }
.office-geo { font: 500 13px/1 var(--mono); color: var(--slate-ink); margin-top: 12px; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.principles > div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.principles dt { font-weight: 600; font-size: 18px; margin-bottom: 6px; }
.principles dd { color: var(--slate); font-size: 15px; }
.principles.four { grid-template-columns: repeat(4, 1fr); border-top-color: var(--ink); }
.principles.four > div { border-bottom: 0; border-right: 1px solid var(--line); margin-right: 24px; }
.principles.four > div:last-child { border-right: 0; margin-right: 0; }
.tree { margin-top: 24px; }
.tree > li > b { display: inline-block; padding: 10px 16px; border: 1px solid var(--ink); font-weight: 600; }
.tree ol { margin: 0 0 0 24px; border-left: 1px solid var(--line); padding-top: 8px; }
.tree ol li { position: relative; padding: 10px 0 10px 28px; }
.tree ol li::before { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 1px; background: var(--line); }
.tree ol a { font-weight: 500; } .tree ol a:hover { color: var(--accent-text); }
.pending-list { display: grid; gap: 12px; }
.pending-list.wide { grid-template-columns: 1fr 1fr; max-width: 900px; }
.notice { margin: 32px 0 0; padding: 16px 20px; border-left: 2px solid var(--accent); background: var(--mist); font-size: 15px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.product { padding: 28px 24px 28px 0; margin-right: 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.product:last-child { border-right: 0; margin-right: 0; }
.product h3 { font-size: 20px; margin-bottom: 10px; }
.product p { color: var(--slate); font-size: 15px; flex: 1; }
.arch { border: 1px solid var(--line); }
.arch-root { display: flex; align-items: center; gap: 20px; padding: 32px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.arch-root .wordmark { height: 32px; }
.arch-root span { color: var(--slate); letter-spacing: .08em; }
.arch-children { display: grid; grid-template-columns: repeat(4, 1fr); }
.arch-children li { border-bottom: 1px solid var(--line); }
.arch-children li:nth-last-child(-n+4) { border-bottom: 0; }
.arch-children li { padding: 24px 32px; display: grid; gap: 8px; border-right: 1px solid var(--line); }
.arch-children li:nth-child(4n) { border-right: 0; }
.arch-children .muted { font-size: 13px; }
.news-list li { padding: 28px 0; border-bottom: 1px solid var(--line); }
.empty { padding: 64px 32px; border: 1px dashed var(--line); text-align: center; color: var(--slate); }
.empty p { margin: 0; }
.contact-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); border-top: 1px solid var(--ink); }
.contact-list li { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.contact-list h2 { font-size: 19px; margin-bottom: 4px; }
.contact-list .muted { font-size: 14px; }
.email { font-family: var(--mono); font-size: 15px; color: var(--accent-text); border-bottom: 1px solid currentColor; }
.email:hover { color: var(--ink); }

/* ---------- 待补充标记 ---------- */
.tbd { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.tbd-tag { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--tbd); border: 1px dashed currentColor; padding: 2px 8px; line-height: 1.6; border-radius: var(--r); }
.tbd-text { color: var(--slate); font-size: 15px; }
.sec-ink .tbd-tag { color: #E3B341; }
.is-pending h3, .is-pending h2 a { color: var(--slate); }

/* ---------- 品牌规范页 ---------- */
.logo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 48px 0; }
.logo-tile { margin: 0; min-height: 240px; display: grid; place-items: center; position: relative; padding: 48px 32px 64px; border: 1px solid var(--line); }
.logo-tile figcaption { position: absolute; left: 20px; bottom: 16px; font-size: 13px; color: var(--slate); }
.logo-tile.on-ink { background: var(--ink); color: var(--white); border-color: var(--ink); }
.logo-tile.on-ink .lockup, .logo-tile.on-ink .wordmark { color: var(--white); }
.logo-tile.on-ink .wm-accent { stroke: var(--accent-ink); }
.logo-tile.on-ink figcaption { color: var(--slate-ink); }
.logo-tile.on-steel { background: #C9CFD6; }
.logo-tile.on-steel .wordmark { color: #1D2733; }
.logo-tile .wordmark.xl { height: 52px; }
.donts { display: grid; gap: 8px; }
.donts li { padding-left: 24px; position: relative; color: var(--slate); }
.donts li::before { content: "×"; position: absolute; left: 0; color: var(--ink); }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.swatches li { display: grid; gap: 4px; }
.sw { height: 96px; border: 1px solid transparent; margin-bottom: 12px; }
.sw-ink { background: #22201C; } .sw-ink2 { background: #35322C; } .sw-white { background: #FFFDF9; border-color: var(--line); }
.sw-mist { background: #F6F1E8; border-color: var(--line); } .sw-slate { background: #6B6358; } .sw-teal { background: #B4532A; } .sw-deep { background: #2F6F68; }
.swatches code { font: 13px var(--mono); color: var(--slate); }
.swatches small { color: var(--slate); font-size: 14px; }
.type-scale { display: grid; gap: 20px; border-top: 1px solid var(--line); padding-top: 32px; margin-top: 32px; }
.t-display { font-size: clamp(32px, 4.4vw, 52px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; margin: 0; }
.t-h2 { font-size: 36px; font-weight: 600; margin: 0; } .t-h3 { font-size: 20px; font-weight: 600; margin: 0; } .t-body { margin: 0; max-width: 640px; }
.comp-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-bottom: 24px; }

/* ---------- 页脚 ---------- */
.foot { background: var(--ink); color: var(--slate-ink); padding: 80px 0 40px; font-size: 15px; position: relative; overflow: hidden; }
.foot-mark { position: absolute; right: -2%; bottom: -6%; width: min(62vw, 820px); color: rgba(255, 255, 255, .035); pointer-events: none; }
.foot-mark .wordmark { width: 100%; height: auto; color: inherit; }
.foot .foot-mark .wm-accent { stroke: rgba(60, 199, 181, .07); }
.foot .wrap { position: relative; }
.foot .lockup { color: var(--white); }
.foot .wm-accent { stroke: var(--accent-ink); }
.foot-top { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; padding-bottom: 56px; border-bottom: 1px solid var(--line-ink); }
.foot-brand p { margin: 20px 0 0; }
.foot .domain { font-family: var(--mono); font-size: 13px; color: var(--white); letter-spacing: .04em; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.foot h2 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; font-weight: 600; }
.foot ul { display: grid; gap: 10px; }
.foot a:hover { color: var(--white); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 28px; font-size: 13px; }
.foot-bottom p { margin: 0; }
.foot .muted { color: #7F8FA0; }

/* ---------- 进场：只有首屏以下的元素由 JS 加 .pre 先隐藏，进入视口再出现；减少动效时关闭 ---------- */
.reveal { transition: opacity 400ms ease, transform 400ms ease; }
.reveal.pre { opacity: 0; transform: translateY(8px); }
@media (prefers-reduced-motion: reduce) {
  .art .flow, .art .pulse { animation: none; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal.pre { opacity: 1; transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .sector-list, .facts, .product-grid, .principles.four, .arch-children { grid-template-columns: 1fr 1fr; }
  .sector:nth-child(4n) a, .sector:nth-child(4n) .slot-inner { border-right: 1px solid var(--line); margin-right: 28px; }
  .sector:nth-child(2n) a, .sector:nth-child(2n) .slot-inner, .fact:nth-child(2n), .product:nth-child(2n), .principles.four > div:nth-child(2n), .arch-children li:nth-child(2n) { border-right: 0; margin-right: 0; }
  .sector, .fact, .product, .principles.four > div, .arch-children li { border-bottom: 1px solid var(--line); }
  .brand-grid { grid-template-columns: 1fr 1fr; }
  .arch-children li:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .arch-children li:nth-last-child(-n+2) { border-bottom: 0; }
  .mainnav { gap: 24px; } .mainnav > ul { gap: 22px; }
}
@media (max-width: 920px) {
  .menu-btn { display: block; }
  .mainnav { position: fixed; inset: 72px 0 0 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0;
             padding: 8px var(--gutter) 32px; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity var(--t), visibility var(--t); }
  .mainnav.open { visibility: visible; opacity: 1; }
  .mainnav > ul { flex-direction: column; gap: 0; }
  .mainnav > ul > li > a { display: block; padding: 18px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .mainnav > ul > li > a::after { display: none; }
  .mainnav > ul > li > a[aria-current] { color: var(--accent-text); }
  .nav-side { justify-content: space-between; align-items: flex-start; padding-top: 24px; gap: 16px; flex-wrap: wrap; }
  .langs { flex: 1 1 100%; order: 2; }
  .langs summary { font-size: 15px; }
  .langs ul { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; border: 0; border-top: 1px solid var(--line); margin-top: 8px; padding: 4px 0 0; min-width: 0; }
  .langs li a { padding: 10px 0; }
  .nav-side .btn { order: 1; width: 100%; }
  .hero-grid, .split, .foot-top, .page-head-grid { grid-template-columns: 1fr; }
  .hero-art .art { max-height: 360px; }
  .page-art .art { max-height: 240px; }
  .prose-grid { grid-template-columns: 1fr; gap: 16px; }
  .prose-grid > h2 { padding-top: 32px; }
  .prose-grid > h2:first-child { padding-top: 0; }
  .sector-row { grid-template-columns: 64px 1fr; }
  .row-side { grid-column: 2; }
  .logo-grid, .swatches { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .lockup-cn { font-size: 13px; letter-spacing: .14em; } .lockup .wordmark { height: 17px; } .lockup { gap: 10px; }
  .sector-list, .facts, .product-grid, .principles, .principles.four, .brand-grid, .arch-children, .foot-cols, .logo-grid, .swatches, .pending-list.wide, .org-nodes { grid-template-columns: 1fr; }
  .sector a, .sector .slot-inner, .sector:nth-child(n) a, .sector:nth-child(n) .slot-inner, .fact, .product, .principles.four > div, .arch-children li { border-right: 0; margin-right: 0; padding-right: 0; }
  .arch-children li:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .arch-children li:last-child { border-bottom: 0; }
  .org-nodes li { border-right: 0 !important; border-top: 1px solid var(--line) !important; }
  .org-nodes li:first-child { border-top: 0 !important; }
  .kv > div { grid-template-columns: 1fr; gap: 4px; }
  .sector-row { grid-template-columns: 1fr; gap: 12px; }
  .row-side { grid-column: auto; }
  .contact-card { padding: 28px; }
  .contact-list { grid-template-columns: 1fr; }
  .offices { grid-template-columns: 1fr; }
  .office { border-right: 0; margin-right: 0; padding: 28px 0; border-bottom: 1px solid var(--line-ink, rgba(255,255,255,.16)); }
  .office:last-child { border-bottom: 0; }
  .office h3 { margin: 16px 0 12px; }
  .btn { width: 100%; }
  .actions .link { width: 100%; justify-content: center; }
  .brand-links .btn { width: auto; }
}
@media print {
  .topbar, .foot, .menu-btn { display: none; }
  .sec-ink { background: none; color: var(--ink); }
}

/* 法律页面、页脚链接 */
.legal { max-width: 820px; }
.legal p { color: var(--ink); }
.legal .h3 { margin-top: 36px; }
.foot-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.sec-tight { padding-top: 48px; }

/* ---------- 2026-10-30 和软通云首页统一：深色首屏、彩色机房插图（青绿 + 蓝两种色），区块标题放大 ----------
   仍然不用渐变、阴影、发光；颜色只用在插图和少量强调上。 */
:root {
  --c-teal: #3CC7B5; --c-blue: #4F8DF7;                        /* 插图的两种颜色（皮肤里叫主色 / 副色） */
  --hero-bg: var(--ink); --hero-fg: var(--white); --hero-sub: var(--slate-ink); --hero-eyebrow: var(--accent-ink);
  --hero-grid: rgba(255,255,255,.03);
  --hero-b1-bg: var(--white); --hero-b1-fg: var(--ink); --hero-b1-hover: #E7F4F2; --hero-b2-line: rgba(255,255,255,.4);
  --art-l: rgba(255,255,255,.55); --art-f: #1C3550; --art-m: #142A42; --art-k: #0F2236; --art-g: rgba(255,255,255,.07);
  --art-a2: var(--c-teal); --art-lf: var(--c-blue); --art-lf-line: var(--c-blue); --art-t: var(--c-blue);
}
.hero-ink { position: relative; overflow: hidden; background: var(--hero-bg); color: var(--hero-fg); border-bottom: 0; }
.hero-ink::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--hero-grid) 1px, transparent 1px), linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px);
  background-size: 56px 56px; }
.hero-ink .wrap { position: relative; }
.hero-ink .eyebrow { color: var(--hero-eyebrow); }
.hero-ink .lede { color: var(--hero-sub); }
.hero-ink .btn-dark { background: var(--hero-b1-bg); color: var(--hero-b1-fg); border-color: var(--hero-b1-bg); }
.hero-ink .btn-dark:hover { background: var(--hero-b1-hover); border-color: var(--hero-b1-hover); }
.hero-ink .btn-line { color: var(--hero-fg); border-color: var(--hero-b2-line); }
.hero-ink .btn-line:hover { background: var(--hero-fg); color: var(--hero-bg); border-color: var(--hero-fg); }
/* 首屏插图上色 */
.hero-ink .art .l { stroke: var(--art-l); }
.hero-ink .art .f { fill: var(--art-f); }
.hero-ink .art .m { fill: var(--art-m); }
.hero-ink .art .k { fill: var(--art-k); }
.hero-ink .art .g { stroke: var(--art-g); }
.hero-ink .art .t { stroke: var(--art-t); stroke-opacity: .9; }
.hero-ink .art .a { stroke: var(--c-teal); }
.hero-ink .art .a2 { fill: var(--art-a2); }
.hero-ink .art .af { fill: var(--c-teal); }
.hero-ink .art .lf { fill: var(--art-lf); stroke: var(--art-lf-line); }
.hero-ink .art .o { stroke: var(--c-blue); }
/* 首屏背景里沿网格跑的数据包 */
.hero-fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-fx i { position: absolute; display: block; background: var(--c-teal); opacity: 0; }
.hero-fx i:nth-child(-n+3) { height: 1px; width: 112px; left: -112px; animation: fx-x 10s linear infinite; }
.hero-fx i:nth-child(n+4) { width: 1px; height: 112px; top: -112px; animation: fx-y 12s linear infinite; }
.hero-fx i:nth-child(1) { top: 112px; animation-delay: .5s; }
.hero-fx i:nth-child(2) { top: 392px; animation-delay: 4s; animation-duration: 13s; }
.hero-fx i:nth-child(3) { top: 616px; animation-delay: 7s; }
.hero-fx i:nth-child(4) { left: 280px; animation-delay: 2s; }
.hero-fx i:nth-child(5) { left: 1008px; animation-delay: 6s; animation-duration: 14s; }
.hero-fx i:nth-child(2) { background: var(--c-blue); } .hero-fx i:nth-child(5) { background: var(--c-blue); }
@keyframes fx-x { 0% { transform: translateX(0); opacity: 0; } 5% { opacity: .9; } 85% { opacity: .9; } 100% { transform: translateX(1800px); opacity: 0; } }
@keyframes fx-y { 0% { transform: translateY(0); opacity: 0; } 5% { opacity: .9; } 85% { opacity: .9; } 100% { transform: translateY(1000px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-fx { display: none; } }

/* 浅底插图（板块小图、品牌图、内页图）也带一点颜色：青绿面 + 蓝色指示灯 */
.art .a2 { fill: #BFEAE4; }
.art .lf { fill: #DCE8FD; stroke: var(--c-blue); }
.art .t { stroke: var(--c-blue); stroke-opacity: .7; }

/* 区块标题放大，区块编号用等宽体 */
.sec-head h2, .h2 { font-size: clamp(30px, 3.8vw, 46px); letter-spacing: -.025em; }
:lang(zh) .hero h1 { font-size: clamp(40px, 6vw, 76px); }

/* 板块卡片：悬停时顶上一条青绿线 */
.sector a { position: relative; }
.sector a::before { content: ""; position: absolute; left: 0; right: 28px; top: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--t); }
.sector:nth-child(4n) a::before { right: 0; }
.sector a:hover::before { transform: scaleX(1); }
@media (max-width: 920px) { .hero-fx { display: none; } }
.brandname .brand-en { display: block; font-size: 12px; letter-spacing: .04em; color: var(--slate); margin-top: 2px; }
