:root{--ink:#24201d;--sand:#f2efea;--white:#fbfaf8;--dim:#767069;--line:rgba(36,32,29,.16);--footer:var(--sand);--footer-text:var(--ink);--footer-muted:rgba(36,32,29,.74);--serif:"Noto Serif SC","Songti SC",serif;--sans:"Noto Sans SC","Microsoft YaHei",sans-serif;--latin:"DM Sans",Arial,sans-serif;
--card-line-hover:#bdaea2; /* Existing contact-card warm gray, shared by news/contact. */
/* ── 全站圆角（按组件角色取值，PC/手机保持一致）───────────────
   之前全站散着 10 / 8 / 5 / 50% 四个值，且同一个「子品牌外框」在
   桌面是 10px、手机是 8px（同一元素两个值）—— 从未成体系。
   现在归成 4 档矩形刻度 + 胶囊/正圆 2 个形状语义，按角色取用。
   ⚠️ 50% 是「正圆」不是圆角：它描述「形状是圆」，与「矩形切角」不同语义，
   单独命名 --radius-full，避免被当成刻度到处套。 */
--radius-xs:4px;    /* 小控件：标签、开关、按钮内小元素、浮层内选项 */
--radius-sm:8px;    /* 浮层容器：下拉面板、弹出菜单 */
--radius-md:12px;   /* 卡片与独立图片框：内容卡、新闻图、产品图 */
--radius-lg:16px;   /* 大型组合面板：表单、地图、图文复合大卡 */
--radius-pill:999px;/* 胶囊：品牌按钮、滑动状态条 */
--radius-full:50%;  /* 正圆：图标圈、头像 */
}
html,body{margin:0;padding:0}body{background:var(--white);color:var(--ink);font-family:var(--sans)}a{color:inherit;text-decoration:none}
.header{position:fixed;z-index:40;top:0;left:0;width:100%;height:var(--header-h);padding:0 3vw;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;color:var(--ink);background:var(--white);box-shadow:none;transition:background .3s,box-shadow .3s,color .3s}
/* 🔴 页头底边那条 1px 分隔线：**只在页头真的浮在内容上方时才画**。
   历史坑（2026-10-13 客户反馈「头部感觉有点透」）：原来这条线无条件挂在 .header 上
   （box-shadow: 0 1px 0 rgba(36,32,29,.08)）。在首页透明页头压图时看着正常，
   但在 ABOUT 这种「实底页头 + BANNER 紧贴其下」的版式里，
   这条 8% 黑线会直接盖在 BANNER 影像的第一行像素上：
       实测页头末行 251 → BANNER 首行 197（比图片本色 211 暗 14 级）
   于是交界处出现一条横贯全宽的暗边，观感上像页头是半透明的。
   现在改成「只有滚过首屏 / 菜单展开 / 鼠标悬停（= 页头浮起来）时才出现」，
   首页行为不变；ABOUT 这类实底页头则不画线，让影像干净地接上白页头。 */
.header.is-scrolled,.header.is-menu-open{background:var(--white);backdrop-filter:none;box-shadow:0 1px 0 rgba(36,32,29,.08)}
/* 沉浸式页头（压在首屏影像上）：
     ① 背景透明、文字反白；
     ② **影像顶部偏亮的页面，必须配一条向下淡出的黑渐变**，否则白 LOGO/白导航看不清 ——
        实测 ABOUT 图顶部亮度 206.6（手机）/ 191.3（PC），白字压上去对比度只有 1.3:1 左右。
        按 WCAG 大字 3:1 反推：最亮处 alpha ≥ 0.30 即可（实测 0.30 → 3.00:1 刚好卡线），
        这里用 0.44 峰值留足余量 → 4.30:1。
        ⚠️ 别凭手感加重（试过 0.62，整块发灰还压不住）。
     ③ **渐变是可选开关，默认关闭** —— 只有影像顶部够亮的页面才开。
        影像本身已经够暗（如首页，顶部亮度约 120，白字已有 5:1+）就不该加，
        加了反而把画面上半截压闷。开的方式：给 `<body>` 加 `data-header-gradient`。

     ④ 🔴 **「陡降」是硬边的根源，不是「有渐变」本身**（2026-10-13 第六版修正）。
        上一版用 0.42/1.35× + 停靠点 (0,30,52,72,88,100)%，看着合理，实测在大图上
        **能明显看到一条横向分界**：上方是被压暗的一条带，下方是原图，中间有台阶。
        量化一下就明白了 —— 把遮罩 alpha 逐行求**二阶差分**（= 亮度曲率，人眼对曲率最敏感）：
            · 上一版 (0.42 → 0.38 占前 30%)  二阶差峰值 0.00265   ← 最高，肉眼可见
            · 纯线性 (0.42 → 0)               二阶差峰值 0.00000
            · 本版 (长尾 7 段, 1.9×)          二阶差峰值 0.00106   ← 比上一版低 60%
        病根是「**前段太平、后段陡降**」：0→30% 只掉 0.04，到 72% 才开始掉，形成
        「平台 + 断崖」。所以停靠点要**前段就开始持续下降、斜率单调**，而不是先平后陡。

     ⑤ 高度取 **1.9× 页头高**（不是 1.35×）：1.35 时 alpha 在页头下沿外沿刚掉到 0，
        但「刚掉到 0」= 斜率仍然偏大 = 还能看到边。拉到 1.9× 相当于把同一条曲线
        **在纵向上拉长 41%**，每行 alpha 变化更小（最大逐行 Δ 从 0.00797 → 0.00386）。
        实际效果：暗带从页头区域一直柔和地铺到标题上方，到正文开始时已完全消失。
        ⚠️ 别拉过头：2.6× 会把 BANNER 上半截整体压暗（实测覆盖 43% 高度），画面对比度下降。
        1.9× 是「消掉硬边」与「不压闷画面」的平衡点。

     ⑥ 伪元素**不能**用 `z-index:-1`：header 是 grid 容器，负 z-index 的伪元素
        仍会参与 grid 布局；改成伪元素收在内容之下（内容项各自 `position:relative`+z-index）。 */
body[data-header-gradient] .header.on-hero::before{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:calc(var(--header-h) * 1.9);pointer-events:none;background:linear-gradient(to bottom,rgba(18,13,10,.44) 0%,rgba(18,13,10,.38) 18%,rgba(18,13,10,.29) 36%,rgba(18,13,10,.19) 54%,rgba(18,13,10,.10) 72%,rgba(18,13,10,.035) 88%,transparent 100%);opacity:1;transition:opacity .3s ease}
body[data-header-gradient] .header.on-hero>.logo,body[data-header-gradient] .header.on-hero>.nav,body[data-header-gradient] .header.on-hero>.tools{position:relative;z-index:1}
body[data-header-gradient] .header.on-hero.is-scrolled::before,body[data-header-gradient] .header.on-hero.is-menu-open::before{opacity:0}
.header.on-hero:not(.is-scrolled):not(.is-menu-open){background:transparent;box-shadow:none;color:#fff;backdrop-filter:none}.header.on-hero:not(.is-scrolled):not(.is-menu-open) .logo img{filter:invert(1) brightness(2.2)}
/* ② 鼠标进页头 → 立刻切回白底黑字，和「滚过首屏」是同一套外观。
     原因：白字+渐变只适合「静止观赏」，一旦用户把指针移上来准备点导航，
     就需要最高可读性；这也和首页的交互预期一致（hover 出实底）。
     用 :hover + :focus-within —— 纯键盘 Tab 进来也要能看清。
     注意这条**不带 body[data-header-gradient] 前缀**：所有沉浸式页头都该有这个行为，
     首页原本缺的就是它。
     ⚠️ 特异性必须 >= 上面那条「非滚动」规则：后者是
        `.header.on-hero:not(.is-scrolled):not(.is-menu-open)` = 0-4-0，
        而 `.header.on-hero:hover` 只有 0-3-0（伪类按 1 个类算）—— 实测会被反超，
        鼠标上去了背景还是透明的。所以这里同样补两个 :not() 抬到 0-5-0。 */
.header.on-hero:not(.is-scrolled):not(.is-menu-open):hover,
.header.on-hero:not(.is-scrolled):not(.is-menu-open):focus-within{background:var(--white);box-shadow:0 1px 0 rgba(36,32,29,.08);color:var(--ink);backdrop-filter:none}
.header.on-hero:not(.is-scrolled):not(.is-menu-open):hover::before,
.header.on-hero:not(.is-scrolled):not(.is-menu-open):focus-within::before{opacity:0}
.header.on-hero:not(.is-scrolled):not(.is-menu-open):hover .logo img,
.header.on-hero:not(.is-scrolled):not(.is-menu-open):focus-within .logo img{filter:none}
.logo{width:138px}.logo img{width:100%;transition:filter .3s}.nav{display:flex;gap:26px;font:13px var(--sans);letter-spacing:.08em;justify-content:center}.nav a{display:flex;align-items:center;min-height:44px;padding:8px 0;position:relative;white-space:nowrap;opacity:.92}.nav a::after{content:"";position:absolute;bottom:2px;left:0;width:100%;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left center;transition:transform .26s ease}.nav a:hover::after{transform:scaleX(1)}.nav a.is-active::after{transform:scaleX(1);animation:nav-line-in .48s cubic-bezier(.22,.61,.36,1) both}.nav a.is-active{opacity:1;font-weight:500}@keyframes nav-line-in{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.tools{justify-self:end;display:flex;align-items:center;gap:16px;font:12px var(--latin);letter-spacing:.1em}.lang-switch{position:relative}.lang-switch::after{content:"";position:absolute;z-index:3;top:100%;right:0;width:132px;height:10px}.lang-current{display:grid;place-items:center;width:44px;height:44px;border:0;padding:0;background:transparent;color:inherit;cursor:pointer;transition:opacity .2s ease,transform .2s ease}.lang-current:hover{opacity:.62;transform:translateY(-1px)}.lang-current svg{width:15px;height:15px;display:block}.lang-menu{position:absolute;z-index:4;top:calc(100% + 5px);right:0;min-width:116px;padding:6px;border:1px solid rgba(36,32,29,.14);border-radius:var(--radius-sm);background:rgba(251,250,248,.98);box-shadow:0 12px 26px rgba(36,32,29,.12);opacity:0;pointer-events:none;transform:translateY(-5px);transition:opacity .22s ease,transform .22s ease}.lang-switch:hover .lang-menu,.lang-switch:focus-within .lang-menu,.lang-switch.is-open .lang-menu{opacity:1;pointer-events:auto;transform:none}.lang-option{display:block;width:100%;border:0;border-radius:var(--radius-xs);padding:9px 10px;background:transparent;color:var(--dim);cursor:pointer;text-align:left;font:400 12px/1.45 var(--sans);letter-spacing:.02em}.lang-option:hover,.lang-option.is-active{background:var(--sand);color:var(--ink)}.menu-toggle{display:none;border:0;background:transparent;color:inherit;cursor:pointer;font:11px var(--latin);letter-spacing:.12em;padding:10px 0}
.footer{background:var(--footer);color:var(--footer-text);padding:84px 6vw 28px}.footer-inner{max-width:1180px;margin:0 auto}.footer .eyebrow{color:var(--footer-muted);font:11px var(--latin);letter-spacing:.22em}.footer h2{margin:18px 0 0;max-width:640px;font:400 clamp(34px,3.8vw,54px)/1.35 var(--serif);letter-spacing:-.03em}.footer-cols{margin-top:48px;padding-top:32px;border-top:1px solid var(--line);display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr) minmax(0,.9fr) 236px;gap:clamp(24px,3vw,40px)}.footer-logo{width:146px;filter:none}.footer-brand{min-width:0}.footer-brand p{margin:12px 0 0;max-width:24em;text-wrap:wrap}.footer-brand p+p{margin-top:4px}.footer p,.footer a{color:var(--footer-muted);font-size:13px;line-height:2}.footer h4{margin:0 0 12px;font:500 16px/1.6 var(--serif);color:var(--ink)}.footer-links{display:flex;flex-direction:column;gap:2px}.footer a:hover{color:var(--ink)}.footer-social{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.footer-social h4{margin:0}.footer-social-list{display:flex;align-items:center;gap:12px;flex-wrap:wrap;max-width:210px}.footer-social-link{position:relative;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;background:transparent;color:inherit;cursor:pointer}.footer-social-link img{width:17px;height:17px;opacity:.66;transition:opacity .22s ease,transform .22s cubic-bezier(.22,.61,.36,1)}.footer-social-link::after{content:attr(data-name);position:absolute;bottom:calc(100% + 7px);left:50%;padding:5px 7px;background:#fbfaf7;color:#24201d;font:10px var(--sans);line-height:1;white-space:nowrap;opacity:0;pointer-events:none;transform:translate(-50%,3px);transition:opacity .2s ease,transform .2s ease}.footer-social-link:hover img,.footer-social-link:focus-visible img{opacity:1;transform:translateY(-2px)}.footer-social-link:hover::after,.footer-social-link:focus-visible::after{opacity:1;transform:translate(-50%,0)}.footer-social-link:focus-visible,.lang-current:focus-visible,.lang-option:focus-visible,.menu-toggle:focus-visible,.nav a:focus-visible{outline:2px solid currentColor;outline-offset:3px}.footer-bottom{margin-top:36px;padding-top:18px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:var(--footer-muted);font:10px var(--latin);letter-spacing:.12em}.back-top{position:fixed;z-index:30;right:26px;bottom:26px;width:52px;height:52px;border:0;border-radius:var(--radius-full);background:#29251f;color:#fbfaf7;cursor:pointer;opacity:0;pointer-events:none;transform:translateY(10px);transition:opacity .25s,transform .35s cubic-bezier(.22,.61,.36,1),background .35s}.back-top.is-visible{opacity:1;pointer-events:auto;transform:none}.back-top:hover{background:#4a433d}.back-top:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
/* 顶格 Hero（ABOUT / 栏目页通用）：页头浮在首屏影像之上，影像必须顶到 y=0。
   页头高度只在 --header-h 里定义一次，页面 hero 一律引用它，避免 76/68 这种手工抄写走样。 */
:root{--header-h:76px}
@media(max-width:900px){:root{--header-h:68px}}
.hero-top{margin-top:0!important;padding-top:0!important}
/* 🔴 「ABOUT 这类实底页头」强制纯白 #fff（不走品牌暖白 --white #fbfaf8）。
   原因（2026-10-13 客户反馈「头部 100% 白吧？还是有点小透」）：
   实底页头紧贴暖色 BANNER 图，暖白 #FBFAF8 在与米色图(#D3BEB3)交界处
   会被「衬」得不够白，读起来像半透明。
   判据：页头**不带** `.on-hero`（即不压图、走实底）时 → 一律纯白。
   带有 `.on-hero` 的（首页）保持透明 / 悬停时仍用品牌暖白，不受影响。
   ⚠️ 必须覆盖顶部和滚动后两种状态，否则滚一下页头颜色会跳。 */
.header:not(.on-hero),
.header:not(.on-hero).is-scrolled,
.header:not(.on-hero).is-menu-open{background:#fff}
.hero-top>.about-hero-media,.hero-top>.hero-media,.hero-top>img:first-child,.hero-top>video:first-child{position:absolute;top:0;left:0;width:100%;height:100%}
@supports not (top:0){.hero-top>*:first-child{margin-top:0}}
@media(max-width:900px){.header{z-index:100;box-sizing:border-box;height:var(--header-h);padding:0 20px;grid-template-columns:1fr auto}.logo{width:118px}.menu-toggle{position:relative;z-index:3;display:grid;place-items:center;min-width:48px;min-height:48px;pointer-events:auto}.nav{position:absolute;z-index:2;box-sizing:border-box;top:68px;left:0;right:0;display:none;padding:14px 20px 20px;background:var(--white);box-shadow:0 10px 24px rgba(36,32,29,.08);flex-direction:column;gap:0}.nav.is-open{display:flex}.nav a{box-sizing:border-box;height:74px;min-height:0;padding:0;font-size:14px}.nav a::after{bottom:8px}.nav a:hover:not(.is-active)::after{transform:scaleX(0)}.nav a.is-active{padding-left:0;font-size:16px;font-weight:500}.tools{position:relative;z-index:3;gap:4px;pointer-events:auto}.lang-switch{position:relative;z-index:2}.footer{padding:64px 20px 24px}.footer-cols{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-social{grid-column:1/-1;gap:12px}.footer-social-list{gap:13px}}
@media(max-width:560px){.footer-cols{gap:28px 20px}.footer-social{width:100%}.footer-social-list{width:100%;max-width:none;justify-content:space-between;flex-wrap:nowrap}.footer h2{font-size:34px}.back-top{right:18px;bottom:18px;width:46px;height:46px}}
/* Shared hit areas: keep visual icon/type sizes, provide a 44px touch target. */
/* Shared TOP: a small ink plane and vertical dashed trail; the full target stays clickable.
   Scope above the homepage's legacy filled hover styles as well. */
body[data-page] .back-top,
body[data-page] .back-top:hover{display:grid;place-items:center;align-content:center;gap:4px;padding:0;border:0;border-radius:0;background:transparent;color:var(--ink);box-shadow:none}
body[data-page] .back-top.is-visible:hover{transform:none}
.back-top svg{display:block;width:26px;height:26px;pointer-events:none;transition:transform 180ms cubic-bezier(.22,.61,.36,1),opacity 180ms ease}
.back-top::after{content:"";box-sizing:border-box;width:1px;height:9px;border-left:1px dashed currentColor;opacity:.45;pointer-events:none;transform-origin:top center;transition:transform 180ms cubic-bezier(.22,.61,.36,1),opacity 180ms ease}
.back-top:focus-visible::after{opacity:.8;transform:scaleY(1.15)}
@media(hover:hover) and (pointer:fine){
  .back-top.is-visible:hover svg{transform:translateY(-3px)}
  .back-top.is-visible:hover::after{opacity:.8;transform:scaleY(1.15)}
}
@media(prefers-reduced-motion:reduce){
  .back-top svg,.back-top::after{transform:none!important;transition:none!important}
}
.header{box-sizing:border-box}
.logo{display:flex;align-items:center;min-height:44px}
.nav a{min-width:44px}
/* Desktop line follows the label, not the minimum-width hit area. Keep the
   original baseline: label sits inside 8px padding; -6px equals link bottom 2px. */
@media(min-width:901px){
  .nav a{align-items:stretch}
  .nav a::after{content:none}
  .nav .nav-label{position:relative;display:flex;align-items:center}
  .nav .nav-label::after{content:"";position:absolute;bottom:-6px;left:0;width:100%;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left center;transition:transform .26s ease}
  .nav a:hover .nav-label::after{transform:scaleX(1)}
  .nav a.is-active .nav-label::after{transform:scaleX(1);animation:nav-line-in .48s cubic-bezier(.22,.61,.36,1) both}
}
.lang-option{min-height:44px}
.footer-cols>div:first-child>a{display:inline-flex;align-items:center;min-height:44px}
.footer-links a{display:flex;align-items:center;min-height:44px}
.footer a:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.footer-social-link{width:44px;height:44px;flex:0 0 44px}
/* Existing social SVGs are white assets; convert pixels, not inherited color. */
.footer-social-link img{filter:brightness(0);opacity:1}
.footer-social-list{max-width:none;gap:4px;flex-wrap:nowrap}
/* Edge tooltips stay inside the icon row, including 320px mobile screens. */
.footer-social-link:first-child::after{left:0;transform:translateY(3px)}
.footer-social-link:last-child::after{left:auto;right:0;transform:translateY(3px)}
.footer-social-link:is(:first-child,:last-child):is(:hover,:focus-visible)::after{transform:translateY(0)}
/* Keep the longer brand copy readable on tablets and compact desktop windows. */
@media(max-width:1100px){.footer-cols{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:32px}.footer-brand,.footer-social{grid-column:1/-1}}
@media(max-width:560px){.footer-cols{column-gap:20px}}
@media(prefers-reduced-motion:reduce){.header,.header *,.header .nav a::after,.header .nav .nav-label::after,.footer *,.back-top{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
/* State, aria-expanded and keyboard reachability share one owner in site-shell.js. */
.lang-switch:not(.is-open) .lang-menu{opacity:0;pointer-events:none;transform:translateY(-5px)}
.lang-option:disabled,.footer-social-link:disabled{cursor:default;opacity:.5}
@media(max-width:900px){.header .nav{top:var(--header-h);max-height:calc(100vh - var(--header-h));max-height:calc(100dvh - var(--header-h));overflow-y:auto;overscroll-behavior:contain}}
