/* ============================================================
   图文叠加区块（BG BLOCK）
   ------------------------------------------------------------
   解决的问题：站点原本靠纯色底撑页面，长页看下来单调。
   本文件提供「照片做底 + 文字浮在上层」的区块组件。

   三条硬规则：
   1. 文字与图片分属两层，文字是真文本，不是烧进图里的像素。
   2. 遮罩按「文字在哪边、底色深浅」成对给出，保证正文对比度
      不低于 4.5:1 —— 图再花，字也必须清楚。
   3. 滑入动效只在 JS 就绪时启用（html.js-reveal）。JS 挂了、
      或用户开了「减少动效」，内容依然完整可见。

   依赖 token：site.css :root。删引用即回退。
   ============================================================ */

/* ============================================================
   一、文字滑入
   ============================================================ */
.bg-reveal{
  opacity:1;
  transform:none;
}
.js-reveal .bg-reveal{
  opacity:0;
  transform:translateX(-56px);
  transition:
    opacity .62s cubic-bezier(.22,.61,.36,1),
    transform .72s cubic-bezier(.22,.61,.36,1);
  will-change:opacity,transform;
}
.js-reveal .bg-reveal.is-in{
  opacity:1;
  transform:translateX(0);
}
/* 错峰：同一容器里按序号延迟 */
.js-reveal .bg-reveal:nth-child(2){transition-delay:.09s}
.js-reveal .bg-reveal:nth-child(3){transition-delay:.18s}
.js-reveal .bg-reveal:nth-child(4){transition-delay:.27s}
.js-reveal .bg-reveal:nth-child(5){transition-delay:.36s}

@media (prefers-reduced-motion:reduce){
  .js-reveal .bg-reveal{
    opacity:1 !important;
    transform:none !important;
    transition:none !important;
  }
}

/* ============================================================
   二、区块骨架
   ============================================================ */
.bgblock{
  position:relative;
  display:flex;
  align-items:center;
  min-height:620px;
  /* 2026-11-12：标题到区块边界的留白由 104 收到 48 */
  padding:48px 0;
  overflow:hidden;
  isolation:isolate;
}
/* 例外：7.4 全球布局的底图是一张固定比例的世界地图，区块变矮会把图裁掉。
   高度与贴底两栏文字的版式细节都写在 global-layout.css 的 #gl-map 里。 */
/* 2026-11-30：首屏避让固定导航。导航条是 position:fixed 的 64px（html{zoom:.9} 后约 71px），
   而首屏是「flex 居中 + 上下 48px 内边距」——视口一矮（≤约 820px 高，常见 1366×768），
   居中后的内容顶边会钻到导航 logo 底下，面包屑「首页 › 关于我们」被商标压住。
   给首屏单独加厚上留白，内容再多也不会顶到导航上。 */
main > .bgblock:first-of-type{padding-top:120px}
.bgblock__bg{
  position:absolute;
  inset:0;
  z-index:-2;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  /* 兜底底色：背景图未下载完前显示此色，避免白屏闪一下 */
  background-color:#081120;
}
/* 浅底块的兜底色（与遮罩/配色一致，避免图未加载时露出白） */
.bgblock--light .bgblock__bg{background-color:#eef2f7;}
/* 遮罩层：由 modifier 决定方向与浓度 */
.bgblock__veil{
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
}
.bgblock .wrap{width:min(var(--max),calc(100% - var(--gutter) * 2));margin-inline:auto;position:relative}

/* ---------- 深底：白字，遮罩从左压到右 ---------- */
.bgblock--dark{color:#fff}
.bgblock--dark .bgblock__veil{
  background:
    linear-gradient(90deg,
      rgba(var(--scrim-ink),var(--scrim-0)) 0%,
      rgba(var(--scrim-ink),var(--scrim-1)) 30%,
      rgba(var(--scrim-ink),var(--scrim-2)) 54%,
      rgba(var(--scrim-ink),var(--scrim-3)) 78%,
      rgba(var(--scrim-ink),var(--scrim-4)) 100%),
    linear-gradient(180deg,rgba(8,17,32,.22),rgba(var(--scrim-ink),var(--scrim-4)) 40%,rgba(var(--scrim-ink),var(--scrim-2)));
}

/* ---------- 浅底：深字，遮罩从左压到右 ---------- */
.bgblock--light{color:var(--navy)}
.bgblock--light .bgblock__veil{
  background:
    linear-gradient(90deg,
      rgba(255,255,255,.96) 0%,
      rgba(255,255,255,.90) 32%,
      rgba(255,255,255,.66) 54%,
      rgba(255,255,255,.24) 78%,
      rgba(255,255,255,.04) 100%);
}

/* ---------- 高度档：首屏统一到 86vh ----------
   五个页面（关于我们 + 故事 / 澳龙 / 研产 / 社会责任）共用这一档。
   窄屏不硬撑 86vh，否则手机上首屏比内容还长。 */
.bgblock--tall{min-height:max(620px,86vh)}
@media (max-width:1023px){.bgblock--tall{min-height:0}}

/* ---------- 居中版（标题居中压在图中间） ---------- */
.bgblock--center{align-items:flex-start;padding-top:48px;min-height:560px}
.bgblock--center .bgblock__veil{
  background:
    linear-gradient(180deg,
      rgba(var(--scrim-ink),var(--scrim-0)) 0%,
      rgba(var(--scrim-ink),var(--scrim-1)) 34%,
      rgba(var(--scrim-ink),var(--scrim-2)) 62%,
      rgba(var(--scrim-ink),var(--scrim-1)) 100%);
}
.bgblock--center .bgblock__cap{
  text-align:center;
  margin-inline:auto;
  max-width:760px;
}

/* ============================================================
   三、文字层
   ============================================================ */
.bgblock__cap{max-width:640px}
.bgblock__cap.wide{max-width:780px}

/* 立体字：硬边多层，0 blur，任何字号都锐利 */
.bg-h1{
  margin:16px 0 0;
  font-size:var(--fs-display);
  line-height:var(--lh-display);
  letter-spacing:-.03em;
  font-weight:var(--fw-display);
  text-wrap:balance;
}
/* 两行标题（2026-11-28 关于我们首屏）：上行主体、下行说明。
   2026-11-30 房东反馈两行贴太紧，行距从 1 放到 1.16（仍比分页 h1 默认紧一档）。 */
.bg-h1--two{line-height:1.16}
@media (max-width:430px){
  /* 窄屏「药&食双厂宠物品牌」按 40px 会折成三行，降一档收成两行 */
  .bg-h1--two{font-size:36px}
}
@media (max-width:340px){
  .bg-h1--two{font-size:32px}
}

/* 单行标题（2026-11-30 业主定稿：关于我们首屏改成一行）。
   全文「雷米高与澳龙 药&食双厂宠物品牌」约 13.5 个字宽，用默认 64px 一行要 860px，
   而文字列最大 780px，所以按视口宽度收字号：1366 下约 49px、1440 以上封顶 52px。
   手机（<768px）不硬撑一行，让它自然折行，否则字号得压到 20 多 px 反而难看。 */
.bg-h1--one{
  font-size:clamp(32px,4.2vw,56px);
  line-height:1.24;
  letter-spacing:-.01em;
}
@media (min-width:768px){
  .bg-h1--one{white-space:nowrap}
}
.bgblock--dark .bg-h1{
  color:#fff;
  text-shadow:
    0 -1px 0 rgba(255,255,255,.50),
    0 1px 0 #17293f,
    0 2px 0 #132336,
    0 3px 0 #0f1d2d,
    0 4px 0 #0b1725,
    0 5px 0 #08121d,
    0 6px 0 #060e17,
    0 8px 8px rgba(0,0,0,.42);
}
.bgblock--light .bg-h1{
  color:var(--navy);
  text-shadow:
    0 1px 0 rgba(255,255,255,.98),
    0 2px 0 rgba(255,255,255,.72),
    0 3px 0 rgba(54,84,156,.11),
    0 5px 1px rgba(54,84,156,.07),
    0 8px 12px rgba(54,84,156,.14);
}

.bg-kicker{
  display:inline-flex;
  align-items:center;
  gap:11px;
  font-size:var(--fs-micro);
  font-weight:600;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.bg-kicker::before{
  content:"";
  width:24px;height:1px;
  background:currentColor;
  opacity:.6;
}
.bgblock--dark .bg-kicker{color:rgba(255,255,255,.76);text-shadow:0 1px 2px rgba(0,0,0,.5)}
.bgblock--light .bg-kicker{color:var(--brand)}

.bg-lead{
  margin:20px 0 0;
  font-size:var(--fs-body);
  line-height:var(--lh-body);
  max-width:100%;
  text-wrap:pretty;
}
.bgblock--dark .bg-lead{color:rgba(238,244,253,.92);text-shadow:0 1px 3px rgba(0,0,0,.55)}
.bgblock--light .bg-lead{color:var(--graphite)}

/* 要点列表：参考图 2 那种四行短句 */
.bg-list{
  margin:24px 0 0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:11px;
}
.bg-list li{
  position:relative;
  padding-left:18px;
  font-size:var(--fs-note);
  line-height:1.6;
  font-variant-numeric:tabular-nums;
}
.bg-list li::before{
  content:"";
  position:absolute;
  left:0;top:.62em;
  width:6px;height:1px;
  background:currentColor;
  opacity:.7;
}
.bgblock--dark .bg-list li{color:rgba(232,241,253,.92);text-shadow:0 1px 3px rgba(0,0,0,.55)}
.bgblock--light .bg-list li{color:var(--graphite)}

.bg-acts{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}

/* ============================================================
   四、底部半透明卡片（参考图 1）
   ============================================================ */
.bg-cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin-top:64px;
}
.bg-card{
  padding:24px 24px 26px;
  border-radius:6px;
  background:rgba(10,20,36,.66);
  border:1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter:blur(6px) saturate(1.1);
  backdrop-filter:blur(6px) saturate(1.1);
  transition:transform .28s ease,background-color .28s ease,border-color .28s ease;
}
.bg-card:hover{
  transform:translateY(-4px);
  background:rgba(10,20,36,.80);
  border-color:rgba(255,255,255,.28);
}
.bg-card h3{
  margin:0;
  font-size:var(--fs-body);
  line-height:1.5;
  font-weight:600;
  letter-spacing:-.01em;
  color:#fff;
}
.bg-card .en{
  display:block;
  margin-top:7px;
  font-size:var(--fs-micro);
  letter-spacing:.16em;
  text-transform:uppercase;
  color:rgba(180,205,235,.72);
}
.bg-card p{
  margin:14px 0 0;
  font-size:var(--fs-small);
  line-height:var(--lh-body);
  color:rgba(226,237,252,.85);
}

/* ============================================================
   五、右侧留白版（文字在左，图在右不被遮住）
   ============================================================ */
.bgblock--right .bgblock__bg{background-position:72% center}

/* ---------- 区块内的文字卡：浅底上保证可读 ---------- */
.bgblock--light .core-grid{gap:16px;margin-top:36px}
.bgblock--light .core{
  background:#fff;
  padding:24px 22px 22px;
  border-radius:10px;
  border-top-color:rgba(54,84,156,.22);
  box-shadow:0 4px 18px rgba(54,84,156,.10);
}
/* lint-ok: 实心底色卡，不是压图遮罩 */
.bgblock--dark .core-grid{gap:16px;margin-top:36px}
.bgblock--dark .core{
  background:rgba(8,17,32,.72);
  padding:24px 22px 22px;
  border-radius:10px;
  border-top-color:rgba(255,255,255,.24);
  -webkit-backdrop-filter:blur(5px);
  backdrop-filter:blur(5px);
}
.bgblock--dark .core h3{color:#fff}
.bgblock--dark .core p{color:rgba(226,237,252,.86)}
.bgblock--dark .core .n{color:var(--yellow)}

/* ============================================================
   五点五、page-hero 图片变体
   ------------------------------------------------------------
   faq / content / knowledge 原有首屏是纯色渐变。这里只对加了
   .page-hero--img 的页面生效，products 不受影响。
   ============================================================ */
.page-hero--img{
  position:relative;
  background:none;
  color:#fff;
  isolation:isolate;
  min-height:600px;
  display:flex;
  align-items:center;
  padding:120px 0 48px;
}
.page-hero--img .hero-bg{
  position:absolute;
  inset:0;
  z-index:-2;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}
.page-hero--img::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    linear-gradient(90deg,
      rgba(var(--scrim-ink),var(--scrim-0)) 0%,
      rgba(var(--scrim-ink),var(--scrim-1)) 28%,
      rgba(var(--scrim-ink),var(--scrim-2)) 54%,
      rgba(var(--scrim-ink),var(--scrim-3)) 80%,
      rgba(8,17,32,.03) 100%),
    linear-gradient(180deg,rgba(8,17,32,.18),rgba(8,17,32,0) 50%,rgba(var(--scrim-ink),var(--scrim-v1)));
}
.page-hero--img h1{
  color:#fff;
  text-shadow:
    0 -1px 0 rgba(255,255,255,.50),
    0 1px 0 #17293f,
    0 2px 0 #132336,
    0 3px 0 #0f1d2d,
    0 4px 0 #0b1725,
    0 5px 0 #08121d,
    0 6px 0 #060e17,
    0 8px 8px rgba(0,0,0,.42);
}
.page-hero--img .ph-lead{color:rgba(238,244,253,.92);text-shadow:0 1px 3px rgba(0,0,0,.55)}
.page-hero--img .eyebrow{color:rgba(255,255,255,.70)}
/* 右侧统计：半透明背衬，避免落在亮部看不清 */
.page-hero--img .ph-stats{
  padding:24px 22px;
  border-radius:12px;
  background:rgba(6,14,28,.50);
  border:1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
}

/* 兜底底色：背景图未下载完前显示深蓝，避免白屏（图文 hero 为深底白字，桌面/移动均需） */
.page-hero--img{background-color:#081120}

@media (max-width:1023px){
  .page-hero--img{min-height:0;padding:110px 0 40px}
  .page-hero--img::after{
    background:linear-gradient(180deg,
      rgba(8,17,32,.90) 0%,
      rgba(8,17,32,.84) 48%,
      rgba(8,17,32,.78) 100%);
  }
}

/* ============================================================
   五点六、证书缩略图 + 悬停放大
   ------------------------------------------------------------
   缩略图留在版面上，鼠标移上去用 fixed 浮层放大原图。
   纯 CSS 实现，不依赖 JS；触摸屏点击也能开（:focus-within）。
   ============================================================ */
.cert-mini-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin-top:40px;
}
.cert-mini{
  position:relative;
  margin:0;
  display:block;
  padding:10px;
  border-radius:var(--r-card);
  background:var(--white);
  border:1px solid var(--frost);
  box-shadow:0 2px 10px rgba(54,84,156,.06);
  cursor:default;
  transition:box-shadow .24s ease,border-color .24s ease,background-color .24s ease;
  outline:none;
  /* 注意：这里绝不能加 transform。transform 会让子元素 position:fixed
     的包含块从视口变成这张卡片，放大浮层和遮罩就会被锁在卡片范围里。 */
}
.cert-mini:hover,
.cert-mini:focus-visible{
  border-color:rgba(54,84,156,.30);
  box-shadow:0 16px 34px -18px rgba(54,84,156,.48);
  background:#fff;
}
.cert-mini img{
  width:100%;
  height:auto;
  display:block;
  border-radius:4px;
  background:#fff;
}
.cert-mini figcaption{
  padding:11px 4px 3px;
  font-size:var(--fs-micro);
  line-height:1.6;
  color:var(--smoke);
  text-align:center;
}
@media (max-width:820px){
  .cert-mini-row{grid-template-columns:1fr;gap:14px}
}

/* ============================================================
   五点七、地图航线层
   ------------------------------------------------------------
   底图与 SVG 线层必须用同一套铺法（object-fit:cover ↔
   preserveAspectRatio="slice"），否则窗口一变线就飞出大陆。
   ============================================================ */
.map-wrap{
  position:absolute;
  inset:0;
  overflow:hidden;
}
.map-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}
.map-lines{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  pointer-events:none;
}
@keyframes mapDash{
  to{stroke-dashoffset:-44}
}
.map-lines .route{
  animation:mapDash 2.4s linear infinite;
}
@media (prefers-reduced-motion:reduce){
  .map-lines .route{animation:none}
}

/* ============================================================
   五点八、区块淡背景
   ------------------------------------------------------------
   给原本纯白/纯米色的 section 铺一层很淡的照片，解决「整页只有
   纯色」的问题。浓度压在 .10–.14：能看出材质，但正文对比度不受
   影响（正文仍压在白底上，只是白底多了纹理）。
   用法：<section class="sec sec--white sec--bg" style="--sec-bg:url(...)">
   ============================================================ */
.sec--bg{
  position:relative;
  isolation:isolate;
  overflow:hidden;
}
.sec--bg::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:var(--sec-bg) center/cover no-repeat;
  opacity:.24;
  pointer-events:none;
}
/* 深底区块用更低的浓度，否则会脏 */
.sec--bg.sec--navy::before{opacity:.16}
.sec--bg.sec--cream::before{opacity:.26}

/* ============================================================
   五点十一、区块照片底（不占位、不动文字）
   ------------------------------------------------------------
   用途：内页模块铺一张与内容相关的实拍（车间 / 实验室 / 生产线），
   上面压一层同色遮罩把对比度拉回来。图在内容之下，不参与布局，
   文字位置、栏宽、行高完全不受影响。

   遮罩浓度是文字可读性与图可见度的平衡点：
   浅底 0.78、深底 0.84。再淡就看不见图，再浓就压不住深色文字。
   用法：<section class="sec tex" style="--tex-img:url(...)">
   ============================================================ */
.tex{
  position:relative;
  isolation:isolate;
  overflow:hidden;
}
.tex::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  /* 不用 background 简写带 var()：Chrome 对 shorthand 里的 var() 有时不解析，
     拆成四条独立属性最稳 */
  background-image:var(--tex-img);
  background-size:cover;
  /* 构图位置可按区块微调：--tex-pos 缺省居中 */
  background-position:var(--tex-pos,center);
  background-repeat:no-repeat;
}
.tex::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:rgba(255,255,255,.73);
  pointer-events:none;
}
/* 底图钉在视口上：滚动时图固定不动、内容从图上滑过。
   用浏览器原生 background-attachment:fixed —— 零抖动。
   【2026-11-10 定案】曾因「黑方块」嫌疑改走 JS transform 钉屏，
   但 JS 逐帧补偿天然滞后一帧，滚动时一抖一抖；现查明黑方块
   真凶是 .csr 区块上叠加的 620×620 光晕装饰层（.csr::after，
   site.css 与首页内联样式两处均已删除），与 fixed 无关，
   恢复原生 fixed。
   移动端 iOS 对 fixed 支持差，≤1023px 降级成普通滚动。 */
@media (min-width:1024px){
  .tex::before{background-attachment:fixed}
}

.tex--deep::after{
  background:rgba(8,17,32,.80);
}
/* 浅底 tex 里的正文（2026-11-12）：不再加白色描边。
   白描边把每个字包一圈，整段发灰发虚，比底图的亮部更伤可读性；
   改由统一字阶层把文字加大、加深。深底 .tex--deep / .tex--show
   的投影由下面各自规则保留。 */
.tex p, .tex li, .tex dd, .tex .d{
  text-shadow:none;
}
.tex--deep p, .tex--deep li, .tex--deep .d{
  text-shadow:0 1px 2px rgba(0,0,0,.55);
}

/* 米色区块：遮罩带一点米色调，避免和白底区块撞色 */
.tex--cream::after{
  background:rgba(238,243,251,.74);
}

/* ---------- 五点十一·一、两档变体 ----------
   .tex--show  深底但要让画面「看得见」：宠物、现场这类图，
               压到 .58 就够白字读，再浓就只剩一块黑板。
   .tex--soft  浅底但想保留画面细节：遮罩从 .73 收到 .66，
               配 .tex p 的白色描边，深色正文依旧贴得住。 */
.tex--show::after{
  background:
    linear-gradient(180deg,rgba(8,17,32,.80) 0%,rgba(8,17,32,.74) 44%,rgba(8,17,32,.84) 100%),
    radial-gradient(78% 62% at 18% 46%,rgba(8,17,32,.30),rgba(8,17,32,0) 72%);
}
.tex--show::before{filter:saturate(1.05) brightness(1.03)}
.tex--show p,.tex--show li,.tex--show .d,.tex--show span{
  text-shadow:0 1px 3px rgba(0,0,0,.72);
}

.tex--soft::after{background:rgba(255,255,255,.66)}
/* .tex--mid：介于 .66 与 .82 之间，给「图要看得见、上面又压着字」的区块 */
.tex--mid::after{background:rgba(255,255,255,.74)}
/* .tex--air：内容全在白卡片里、只有标题压图的区块，遮罩可以放到 .46，
   让照片真的看得见 */
.tex--air::after{background:rgba(255,255,255,.46)}

/* 车间这类明暗反差大的照片，0.66 会剩下一片中灰，深色正文压不住；
   要 .82 才回到「浅底」的感觉。 */
.tex--pale::after{background:rgba(255,255,255,.82)}
.tex--pale p,.tex--pale li,.tex--pale dd,.tex--pale .d{text-shadow:none}
.tex--soft.tex--cream::after{background:rgba(238,243,251,.68)}
/* 2026-11-12：浅底各变体一律不发白光。曾把 .tex p 的白光晕收回成
   一道极淡下缘，实测在航拍、车间这类明暗反差大的图上仍发灰，
   现统一关闭，靠字阶层的字号与字色保证可读性。 */
.tex--soft p,.tex--soft li,.tex--soft dd,.tex--soft .d{text-shadow:none}

/* ============================================================
   六、响应式
   ============================================================ */
@media (max-width:1023px){
  .bgblock{min-height:520px;padding:36px 0}
  .bgblock__cap{max-width:none}
  /* 窄屏文字占满宽度，遮罩改成竖向压暗，否则左侧一片白 */
  .bgblock--light .bgblock__veil{
    background:linear-gradient(180deg,
      rgba(255,255,255,.94) 0%,
      rgba(255,255,255,.86) 48%,
      rgba(255,255,255,.80) 100%);
  }
  .bgblock--dark .bgblock__veil{
    background:linear-gradient(180deg,
      rgba(8,17,32,.90) 0%,
      rgba(8,17,32,.84) 48%,
      rgba(8,17,32,.78) 100%);
  }
  .bg-cards{grid-template-columns:1fr;gap:14px;margin-top:44px}
}
@media (max-width:820px){
  .bgblock .wrap{width:calc(100% - 40px)}
}

/* ============================================================
   五点十三、浅底照片上的正文对比度
   ------------------------------------------------------------
   照片一铺，15.5px 的深灰在图上就「发虚」：字细、色浅、还带着
   白色描边。三处一起收：字号加半号、颜色压到近黑、描边彻底去掉。
   ============================================================ */
.tex--soft .prose-body p,
.tex--pale .prose-body p{font-size:var(--fs-body);line-height:var(--lh-body)}

.tex--soft p,.tex--soft li,.tex--soft dd,.tex--soft .d,
.tex--pale p,.tex--pale li,.tex--pale dd,.tex--pale .d,
.tex--soft .lede,.tex--pale .lede{
  color:var(--fc-body);
  text-shadow:none;
}
/* 小字块（矩阵行、说明）跟着提一档，不然只有正文变大、旁边还是灰的 */
.tex--soft .matrix .d,.tex--pale .matrix .d{color:var(--fc-body)}
.tex--soft .eyebrow,.tex--pale .eyebrow{color:var(--brand)}

/* ============================================================
   五点十四、城市带（首页五大基地那张图）
   ------------------------------------------------------------
   原做法是在左端盖一层白色渐变，让细尖自然消失。区块一旦铺了照片，
   这层白就成了一道「莫名白边」。改成给图片自己打遮罩，透出的是底图。
   ============================================================ */
.tex .fac-city{
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 9%);
  mask-image:linear-gradient(90deg,transparent 0%,#000 9%);
}
.tex .fac-city::after{display:none}

/* ============================================================
   五点十五、窄屏不许出框
   ------------------------------------------------------------
   .iso-band 是四个 ISO 卡的内联四列栅格，420px 以下第四格会被裁掉；
   1fr 的最小值又默认取 min-content，长数字会把格子撑破。
   这里统一成 2 列 + minmax(0,…)。
   ============================================================ */
@media (max-width:820px){
  .iso-band{grid-template-columns:1fr 1fr !important}
  .st-kpi{grid-template-columns:repeat(2,minmax(0,1fr))}
  .csr-facts,.pillars{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:430px){
  .iso-band{grid-template-columns:minmax(0,1fr) !important}
}

/* ============================================================
   2026-11-12 定案 · 浅底底图区块统一遮罩
   ------------------------------------------------------------
   所有「实拍图做底 + 文字压在上面」的浅底区块，统一用 48% 的
   均匀白色遮罩，并给底图加对比/饱和补偿，不再逐块调浓度。

   为什么是均匀遮罩而不是左右渐变：长正文一行能伸到 60% 宽，
   渐变在 42% 之后就开始放行，后半句会糊在图上；纯色遮罩整块
   亮度一致，多长的句子都在同一个底上。48% 是三档实测
   （58/48/38）里文字全可读、图又没糊成一片的那一档。

   深底区块 .tex--deep / .tex--show 配白字，保留原深色遮罩，不受影响。
   回退：删掉本段即回到各变体自己的遮罩。
   ============================================================ */
.tex:not(.tex--deep):not(.tex--show)::after{
  background:rgba(255,255,255,.48);
}
.tex:not(.tex--deep):not(.tex--show)::before{
  filter:contrast(1.18) saturate(1.45) brightness(.9);
}

/* ============================================================
   2026-11-12 · 底图区块文字可读性加固
   ------------------------------------------------------------
   问题：车间、实验室这类图明暗反差大（暗管道挨着亮天窗），
   深色正文压上去就在暗部消失。只靠加厚白色遮罩会把图糊掉，
   所以改从文字本身下手。

   规则：
   · 浅底（深色字）——加厚字重 + 三层白色柔光，字从杂乱背景里
     浮出来，底色不用再加浓；
   · 深底（.tex--deep / .tex--show，白字）——沿用原有深色投影，
     不在此处覆盖。
   ============================================================ */
.tex:not(.tex--deep):not(.tex--show) h2,
.tex:not(.tex--deep):not(.tex--show) h3,
.tex:not(.tex--deep):not(.tex--show) h4,
.tex:not(.tex--deep):not(.tex--show) b,
.tex:not(.tex--deep):not(.tex--show) strong{
  font-weight:700;
}
.tex:not(.tex--deep):not(.tex--show) p,
.tex:not(.tex--deep):not(.tex--show) li,
.tex:not(.tex--deep):not(.tex--show) dd,
.tex:not(.tex--deep):not(.tex--show) .lede,
.tex:not(.tex--deep):not(.tex--show) span{
  font-weight:600;
}

/* 深底面板豁免：研发卡是白字，不套浅底的白描边与加粗 */
.tex:not(.tex--deep):not(.tex--show) .rdcard p{
  font-weight:400;
  text-shadow:none;
  letter-spacing:.02em;
  color:rgba(238,243,251,.94);
}
.tex:not(.tex--deep):not(.tex--show) .rdcard h3{
  font-weight:600;
}

/* 矩阵副标题（品牌名下的说明行）在图上等于隐形，底色块内单独加深 */
.tex:not(.tex--deep):not(.tex--show) .matrix-row .b em{
  color:var(--fc-body);
  font-weight:500;
}
