@charset "UTF-8";
/* ============================================================================
   颉博软件 JieBoSoft — 全站唯一样式表
   ----------------------------------------------------------------------------
   本站刻意不做构建：这一个文件就是全部样式，无框架、无预处理、无 Web 字体。
   中文 Web 字体子集动辄数 MB，系统字体栈把这项最大的开销直接归零。

   目录
     1. 设计令牌        Design tokens
     2. 重置与基础      Reset & base
     3. 排版与容器      Typography & layout
     4. 区块与眉标      Bands & eyebrows
     5. 按钮            Buttons
     6. 页头与导航      Header & nav
     7. 首屏            Hero
     8. 卡片与网格      Cards & grids
     9. 双板块带        Pillar band
    10. 案例与图墙      Cases & gallery
    11. 团队与生态      Team & ecosystem
    12. 表单            Forms
    13. 页脚            Footer
    14. 文章页          Article pages
    15. 对话框与浮层    Dialog & overlays
    16. 响应式          Responsive
    17. 动效与无障碍    Motion & a11y
   ============================================================================ */

/* ── 1. 设计令牌 ──────────────────────────────────────────────────────────
   对比度是算出来的，不是估的。规则由这些数字决定：

     #FFFFFF on #61D2B4 = 1.9:1   ✗ 未达 WCAG AA —— 永不允许
     #61D2B4 on #07201B = 9.3:1   ✓ 深色带上可用作品牌色文字
     #0B5C4B on #FFFFFF = 7.9:1   ✓ 白底上所有品牌色文字用这个

   因此：白底上的品牌色文字一律 --brand-ink；品牌按钮用 --brand-600 填充
   配深色文字；#61D2B4 作文字仅允许出现在 --night 上。
   ------------------------------------------------------------------------- */
:root {
  /* 品牌 */
  --brand: #61d2b4;      /* 旧站主色（old/files/css/main.css 中出现 42 次） */
  --brand-600: #3fbfa0;  /* 按钮填充；恒配 --ink 文字 */
  --brand-ink: #0b5c4b;  /* 白底上的品牌色文字 —— 7.9:1 */
  --brand-800: #0a3a31;  /* 标题 */
  --brand-tint: #e8f8f3; /* 浅色底 */
  --night: #07201b;      /* 深色带 */
  --night-2: #0b2c26;
  --night-3: #123a33;

  /* 中性 */
  --ink: #10201c;
  --muted: #5a6b66;
  --bg: #ffffff;
  --bg-alt: #f4fbfa;
  --line: #e2eeec;
  --line-2: #cfe3df;

  /* 眉标顶点色，随语境切换 */
  --marker: var(--brand-ink);

  /* 字体：系统栈，绝不加载 Web 字体 */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC",
    Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 字号 */
  --fs-1: clamp(2rem, 1.4rem + 2.6vw, 3.4rem);
  --fs-2: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  --fs-3: clamp(1.125rem, 1.03rem + 0.45vw, 1.375rem);
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.8125rem;
  --lh: 1.75;
  --lh-tight: 1.22;

  /* 间距与形状 */
  --sp-section: clamp(64px, 8vw, 112px);
  --sp-block: clamp(24px, 3vw, 40px);
  --container: 1120px;
  --container-wide: 1280px;
  --gap: 24px;
  --radius: 14px;
  --radius-sm: 9px;
  --radius-pill: 999px;
  --shadow: 0 6px 24px rgba(7, 32, 27, 0.08);
  --shadow-lg: 0 18px 48px rgba(7, 32, 27, 0.14);

  --header-h: 72px;
}

/* ── 2. 重置与基础 ────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* <picture> 只用于给同一张图提供 WebP 与 JPEG 两个来源，本身不该产生盒子。
   display: contents 让它对布局完全透明：里面的 <img> 就像直接挂在
   <picture> 的父元素下一样。

   这一点是必须的，不是洁癖 —— .case__media img 用的是 height:100%，
   而百分比高度要对着**有确定高度**的祖先解析。若 <picture> 生成盒子，
   它的高度是内容撑开的（auto），img 的 height:100% 就会退化成 auto，
   案例图的裁剪效果随之失效。 */
picture {
  display: contents;
}

a {
  color: var(--brand-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--brand-800);
}

/* 焦点环：绝不使用 outline:none 除非有等效替代 */
:focus-visible {
  outline: 3px solid var(--brand-ink);
  outline-offset: 2px;
  border-radius: 4px;
}

/* 深色带上的焦点环换用亮色，否则不可见 */
.band--night :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--brand);
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--sp-block) 0;
}

/* 跳过链接 */
.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--brand-ink);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ── 3. 排版与容器 ────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.container--wide {
  max-width: var(--container-wide);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  line-height: var(--lh-tight);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--brand-800);
}

h1 {
  font-size: var(--fs-1);
}
h2 {
  font-size: var(--fs-2);
}
h3 {
  font-size: var(--fs-3);
}
h4 {
  font-size: 1.0625rem;
}

p {
  margin: 0 0 1.1em;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  color: var(--muted);
  line-height: 1.72;
  max-width: 62ch;
}

.band--night .lead {
  color: #b7d4cc;
}

.section-head {
  max-width: 68ch;
  margin-bottom: var(--sp-block);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  margin-bottom: 0;
}

/* 顶点分隔线：每页用三到四次，不滥用 */
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: var(--container);
  margin: var(--sp-section) auto 0;
  padding-inline: 20px;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line-2);
}

.divider i {
  width: 10px;
  height: 10px;
  background: var(--brand);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

/* ── 4. 区块与眉标 ────────────────────────────────────────────────────── */
.band {
  background: var(--bg);
  padding-block: var(--sp-section);
}

.band--alt {
  background: var(--bg-alt);
}

.band--night {
  background: var(--night);
  color: #dcefe9;
  --marker: var(--brand);
}

/* 首屏同为深色语境，眉标顶点色与深色带保持一致 */
.hero {
  --marker: var(--brand);
}

.band--night h2,
.band--night h3,
.band--night h4 {
  color: #fff;
}

.band--tight {
  padding-block: clamp(40px, 5vw, 64px);
}

.band--flush-top {
  padding-top: 0;
}

/* 眉标：12px 顶点字形 + 字距加宽标签，替代旧站的 <hr class="lines"> */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 0.9em;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-ink);
}

/* 深色语境（深色带与首屏）里眉标改用亮色 #61D2B4 —— 在 --night 上是 9.3:1。
   注意 .hero 本身不是 .band--night，必须单独列入，否则深色首屏上的眉标会
   沿用白底用的 --brand-ink（#0B5C4B），几乎看不见。 */
.band--night .eyebrow,
.hero .eyebrow {
  color: var(--brand);
}

.eyebrow::before {
  content: "";
  width: 0.85em;
  height: 0.85em;
  background-color: var(--marker);
  -webkit-mask: var(--apex) center / contain no-repeat;
  mask: var(--apex) center / contain no-repeat;
  flex: none;
}

:root {
  --apex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 0.6 11.4 11.4H0.6Z'/%3E%3C/svg%3E");
}

/* ── 5. 按钮 ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease,
    border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
}

.btn:active {
  transform: translateY(1px);
}

/* 主按钮：#3FBFA0 填充 + 深色文字 —— 白字在 #61D2B4 上只有 1.9:1 */
.btn--primary {
  background: var(--brand-600);
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(63, 191, 160, 0.35);
}

.btn--primary:hover {
  background: #35ab8f;
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  color: var(--brand-ink);
  border-color: var(--line-2);
}

.btn--ghost:hover {
  border-color: var(--brand-600);
  background: var(--brand-tint);
}

.band--night .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
}

.band--night .btn--ghost:hover {
  background: rgba(97, 210, 180, 0.14);
  border-color: var(--brand);
  color: #fff;
}

.btn--sm {
  padding: 9px 18px;
  font-size: var(--fs-sm);
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* 居中按钮组（收尾 CTA 带）。刻意用类而非行内 style —— CSP 的
   style-src 不含 'unsafe-inline'，行内 style 属性会被浏览器直接忽略。 */
.btn-row--center {
  justify-content: center;
}

.text-link {
  font-weight: 600;
  color: var(--brand-ink);
  text-decoration: none;
  white-space: nowrap;
}

/* 间距工具类。
   站点的 CSP 是 style-src 'self'（无 'unsafe-inline'），因此行内 style 属性
   会被浏览器直接忽略 —— 需要临时上边距时必须用类。用于「查看全部…」段落、
   跟随在卡片网格之后的次级网格、以及占位说明段。 */
.mt-32 {
  margin-top: 32px;
}

.band--night .text-link {
  color: var(--brand);
}

.text-link::after {
  content: " →";
  transition: margin-left 0.16s ease;
  display: inline-block;
}

.text-link:hover::after {
  margin-left: 4px;
}

/* ── 6. 页头与导航 ────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  text-decoration: none;
}

.brand img {
  height: 42px;
  width: auto;
}

/* 箭头右侧的公司名。标识图本身已置为空 alt（纯装饰），品牌名由这行可见文字
   承载 —— 否则读屏软件会把同一个名字念两遍。 */
.brand__name {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--brand-800);
  white-space: nowrap;
}

.nav {
  margin-left: auto;
}

.nav__toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brand-800);
  cursor: pointer;
}

.nav__toggle-bars,
.nav__toggle-bars::before,
.nav__toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__toggle-bars::before,
.nav__toggle-bars::after {
  content: "";
  position: relative;
}

.nav__toggle-bars::before {
  top: -6px;
}
.nav__toggle-bars::after {
  top: 4px;
}

.nav[data-open="true"] .nav__toggle-bars {
  background: transparent;
}
.nav[data-open="true"] .nav__toggle-bars::before {
  transform: translateY(6px) rotate(45deg);
}
.nav[data-open="true"] .nav__toggle-bars::after {
  transform: translateY(-4px) rotate(-45deg);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  display: block;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.nav__link:hover {
  color: var(--brand-ink);
  background: var(--brand-tint);
}

.nav__link[aria-current="page"] {
  color: var(--brand-ink);
  font-weight: 700;
  background: var(--brand-tint);
}

.nav__item--cta {
  margin-left: 8px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brand-ink);
  text-decoration: none;
  white-space: nowrap;
}

.lang-switch:hover {
  border-color: var(--brand-600);
  background: var(--brand-tint);
}

.lang-switch svg {
  width: 16px;
  height: 16px;
  flex: none;
}

/* ── 7. 首屏 ──────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: #dcefe9;
  padding-block: clamp(64px, 9vw, 132px) clamp(72px, 9vw, 140px);
}

/* 顶点水印：品牌标识中的 upward 三角放大后作为背景母题 */
.hero::before {
  content: "";
  position: absolute;
  right: -6%;
  top: -14%;
  width: min(760px, 78vw);
  aspect-ratio: 1;
  background: var(--brand);
  opacity: 0.07;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    62% 78% at 76% 22%,
    rgba(97, 210, 180, 0.16),
    transparent 68%
  );
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: #fff;
  max-width: 22ch;
}

.hero .lead {
  color: #b7d4cc;
  max-width: 56ch;
}

.hero__actions {
  margin-top: 32px;
}

.hero--compact {
  padding-block: clamp(52px, 6vw, 88px) clamp(48px, 6vw, 84px);
}

.hero__meta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: var(--fs-sm);
  color: #93b8ae;
}

.hero__meta a {
  color: var(--brand);
  text-decoration: none;
}

.hero__meta a:hover {
  text-decoration: underline;
}

/* ── 8. 卡片与网格 ────────────────────────────────────────────────────── */
.grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* 四列：容器内容宽 1080px 时每列 252px，故下限设 230px 才能一行放下四张 */
.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.grid--tight {
  gap: 18px;
}

/* 图文并排时让图片列按内容高度对齐顶部，而不是被拉伸到与文字等高 */
.grid--start {
  align-items: start;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}

/* 卡片顶边 3px 品牌色条，hover 时从中点向两侧展开 —— 读作"顶点上升" */
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--brand-600);
  transform: scaleX(0);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--line-2);
}

.card:hover::before,
.card:focus-within::before {
  transform: scaleX(1);
}

.card h3 {
  margin-bottom: 0.5em;
  font-size: 1.125rem;
}

.card p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--brand) 16%, #fff);
  color: var(--brand-ink);
  flex: none;
}

.card__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card__list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.card__list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 7px;
}

.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  background: var(--brand-600);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.card__list li:last-child {
  margin-bottom: 0;
}

.card__foot {
  margin-top: auto;
  padding-top: 20px;
}

.card--plain {
  background: transparent;
  border: 0;
  padding: 0;
}

.card--plain:hover {
  transform: none;
  box-shadow: none;
}

.card--plain::before {
  display: none;
}

/* 编号步骤 / 流程 */
.steps {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  padding: 26px 24px 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand-600);
  font-family: var(--font-mono);
}

.steps h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.4em;
}

.steps p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--muted);
}

/* ── 9. 双板块带 ────────────────────────────────────────────────────────
   两个业务板块必须视觉完全对等 —— 这是首页的核心主张，布局不能削弱它。
   同网格、同尺寸、同字号、同内部结构、同色、同字重。
   --------------------------------------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: var(--gap);
}

.pillar {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.4vw, 44px);
  background: var(--night-2);
  border: 1px solid var(--night-3);
  border-radius: var(--radius);
  color: #cfe6df;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease,
    transform 0.2s ease;
}

.pillar:hover {
  background: var(--night-3);
  border-color: var(--brand);
  transform: translateY(-2px);
  color: #cfe6df;
}

.pillar__mark {
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  background: var(--brand);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  flex: none;
}

.pillar h3 {
  margin-bottom: 0.45em;
  color: #fff;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
}

.pillar__sub {
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
  font-weight: 700;
}

.pillar p {
  color: #a9c9c1;
  margin-bottom: 20px;
}

.pillar__list {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
}

.pillar__list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: #cfe6df;
}

.pillar__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 9px;
  height: 9px;
  background: var(--brand);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.pillar__foot {
  margin-top: auto;
  font-weight: 600;
  color: var(--brand);
}

.pillar__foot::after {
  content: " →";
  display: inline-block;
  transition: margin-left 0.16s ease;
}

.pillar:hover .pillar__foot::after {
  margin-left: 4px;
}

/* ── 10. 案例与图墙 ───────────────────────────────────────────────────── */
.case-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.case {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.case:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.case__media {
  aspect-ratio: 16 / 9;
  background: var(--brand-tint);
  overflow: hidden;
}

.case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.case:hover .case__media img {
  transform: scale(1.04);
}

.case__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 26px;
}

.case__tag {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin-bottom: 10px;
}

.case h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5em;
}

.case p {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.case__foot {
  margin-top: auto;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brand-ink);
}

.case-date {
  font-size: var(--fs-xs);
  color: var(--muted);
}

/* 图墙 */
.gallery {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery figure {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--night);
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.gallery figure:hover img {
  transform: scale(1.05);
  opacity: 1;
}

.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 16px 14px;
  background: linear-gradient(transparent, rgba(7, 32, 27, 0.88));
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
}

/* ── 11. 团队与生态 ───────────────────────────────────────────────────── */
.team-strip {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.team-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.eco-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.eco {
  padding: 28px 26px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.eco h3 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 1.0625rem;
  margin-bottom: 16px;
}

.eco h3 small {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.eco ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  color: var(--muted);
}

.eco li {
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
}

.eco li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/* 统计条 */
.stats {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.stats dt,
.stats b {
  display: block;
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--brand-600);
  font-family: var(--font-mono);
}

.stats dd {
  margin: 8px 0 0;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.band--night .stats dd {
  color: #9dc0b7;
}

/* 角色 / 岗位条带 */
.roles {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.role {
  padding: 24px 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand-600);
  border-radius: var(--radius-sm);
}

.role h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.35em;
}

.role p {
  margin: 0 0 12px;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.role a {
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
}

/* ── 12. 表单 ─────────────────────────────────────────────────────────── */
.form {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: clamp(26px, 3vw, 40px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brand-800);
}

.field .req {
  color: #b3261e;
  margin-left: 3px;
}

.field .hint {
  font-size: var(--fs-xs);
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.field textarea {
  resize: vertical;
  min-height: 150px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px rgba(97, 210, 180, 0.28);
  outline: none;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--brand-ink);
  outline-offset: 1px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.check input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  flex: none;
  accent-color: var(--brand-600);
}

/* 蜜罐：视觉与辅助技术都隐藏，但保留在 DOM 中供机器人填写 */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.form__status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  background: var(--brand-tint);
  border: 1px solid var(--line-2);
  color: var(--brand-800);
}

.form__status[hidden] {
  display: none;
}

.form__status--error {
  background: #fdf1f0;
  border-color: #f2c9c5;
  color: #8c1d18;
}

.form__status a {
  font-weight: 600;
}

/* 联系信息列表 */
.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list li:last-child {
  border-bottom: 0;
}

.contact-list svg {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex: none;
  stroke: var(--brand-ink);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-list b {
  display: block;
  font-size: var(--fs-sm);
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-list a {
  text-decoration: none;
  font-weight: 500;
  color: var(--brand-ink);
}

.contact-list a:hover {
  text-decoration: underline;
}

/* 二维码 */
.qr-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.qr-btn {
  display: block;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: center;
  font: inherit;
  font-size: var(--fs-xs);
  color: var(--muted);
}

.qr-btn img {
  width: 132px;
  height: 132px;
  object-fit: contain;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px;
  margin-bottom: 8px;
}

.qr-btn:hover img {
  border-color: var(--brand-600);
}

/* ── 13. 页脚 ─────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--night);
  color: #9dc0b7;
  padding-block: clamp(48px, 5vw, 72px) 28px;
  font-size: var(--fs-sm);
}

.footer-grid {
  display: grid;
  gap: 40px var(--gap);
  grid-template-columns: minmax(240px, 1.5fr) repeat(2, minmax(150px, 1fr));
  padding-bottom: 40px;
  border-bottom: 1px solid var(--night-3);
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-size: var(--fs-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.2em;
}

/* 与下方简介段落的间距挪到链接上：img 若自带 margin-bottom，在 inline-flex 里
   会把图片的盒模型撑高，与旁边的公司名对不齐。 */
.site-footer .brand {
  margin-bottom: 18px;
}

.site-footer .brand img {
  height: 40px;
}

.site-footer .brand__name {
  color: #fff;
}

.site-footer p {
  color: #9dc0b7;
}

/* 34ch 只用于品牌简介，不要限制底部法务行 —— 否则版权与备案号会被挤成窄条 */
.footer-grid > div > p {
  max-width: 34ch;
}

.footer-bottom p {
  max-width: none;
  margin: 0;
}

.footer-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav li {
  margin-bottom: 11px;
}

.footer-nav a {
  color: #9dc0b7;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: var(--fs-xs);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 0;
}

.footer-legal a {
  color: #9dc0b7;
}

.footer-legal a:hover {
  color: var(--brand);
}

.icp {
  text-decoration: none;
}

/* ── 14. 文章页 ───────────────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: var(--fs-xs);
  color: #93b8ae;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.55;
}

.breadcrumb a {
  color: var(--brand);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.prose {
  max-width: 72ch;
}

.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.75rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  color: #33443f;
}

.prose figure {
  margin: 2em 0;
}

.prose figure img {
  width: 100%;
  border-radius: var(--radius);
}

.prose blockquote {
  margin: 1.8em 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--brand-600);
  color: var(--brand-800);
  font-size: 1.0625rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
  color: #93b8ae;
}

.post-nav {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: var(--sp-section);
  padding-top: var(--sp-block);
  border-top: 1px solid var(--line);
}

.post-nav a {
  display: block;
  padding: 20px 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.post-nav a:hover {
  border-color: var(--brand-600);
  transform: translateY(-2px);
}

.post-nav small {
  display: block;
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-bottom: 6px;
}

.post-nav b {
  font-size: 1rem;
  color: var(--brand-800);
}

.post-nav--next {
  text-align: right;
}

/* 待补内容提示（客户 TODO） */
.placeholder-note {
  padding: 20px 22px;
  background: #fffaf0;
  border: 1px dashed #e0c48a;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  color: #7a5b16;
}

/* ── 15. 对话框与浮层 ─────────────────────────────────────────────────── */
dialog {
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  background: var(--bg);
  max-width: min(420px, calc(100vw - 40px));
  /* .dialog__close 是 absolute 定位，必须由 dialog 作为定位上下文，
     否则关闭按钮会跑到视口角落 */
  position: relative;
}

dialog::backdrop {
  background: rgba(7, 32, 27, 0.62);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.dialog__body {
  padding: 28px;
  text-align: center;
}

.dialog__body img {
  width: 100%;
  max-width: 280px;
  margin: 0 auto 18px;
  border-radius: var(--radius-sm);
}

.dialog__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 50%;
  font: inherit;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--brand-800);
  cursor: pointer;
}

.dialog__close:hover {
  background: var(--brand-tint);
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--night);
  border-radius: 50%;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.back-to-top i {
  width: 13px;
  height: 13px;
  background: var(--brand);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.back-to-top:hover {
  transform: translateY(-2px);
}

.back-to-top[data-show="true"] {
  opacity: 1;
  visibility: visible;
}

/* 滚动揭示 */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 无 JS 时揭示元素必须可见 */
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ── 16. 响应式 ─────────────────────────────────────────────────────────
   移动优先；断点 480 / 768 / 1024 / 1200。文字用 em 以抗浏览器缩放。
   -------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --header-h: 64px;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 20px 22px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav[data-open="false"] .nav__list {
    display: none;
  }

  .nav__link {
    padding: 13px 12px;
    font-size: 1rem;
  }

  .nav__item--cta {
    margin: 10px 0 0;
  }

  .nav__item--cta .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .pillars {
    grid-template-columns: 1fr;
  }

  .form {
    grid-template-columns: 1fr;
  }

  .grid,
  .case-grid,
  .eco-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero::before {
    right: -22%;
    top: -6%;
    width: 96vw;
    opacity: 0.06;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .post-nav--next {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 16px;
  }

  .btn {
    width: 100%;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .lang-switch {
    margin-left: 6px;
    padding: 7px 11px;
  }

  .qr-btn img {
    width: 112px;
    height: 112px;
  }
}

@media (min-width: 1200px) {
  .band {
    padding-block: var(--sp-section);
  }
}

/* 打印：去掉深色与装饰，只留内容 */
@media print {
  .site-header,
  .back-to-top,
  .hero::before,
  .hero::after,
  .nav__toggle {
    display: none !important;
  }

  .band--night,
  .hero,
  .site-footer {
    background: #fff !important;
    color: #000 !important;
  }

  /* 页脚的深底在打印时变白底，白色的公司名会看不见 */
  .site-footer .brand__name {
    color: #000;
  }

  .band--night h2,
  .band--night h3,
  .hero h1 {
    color: #000 !important;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }
}

/* ── 17. 动效与无障碍 ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero::before {
    opacity: 0.05;
  }

  .card:hover,
  .case:hover,
  .pillar:hover,
  .post-nav a:hover,
  .back-to-top:hover {
    transform: none;
  }
}

@media (prefers-contrast: more) {
  .lead,
  .card p,
  .case p {
    color: #2c3a36;
  }

  .band--night {
    background: #04120f;
  }

  .band--night .lead,
  .band--night p {
    color: #dcefe9;
  }
}
