/* ========== Base ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Exact colors from Ardot design */
  --bg: #F8F8FA;
  --surface: #FCFCFD;
  --surface-white: #FFFFFF;
  --text-primary: #0E0E11; /* 文字主色 = 文字深色，全站统一 */
  --text-dark: #0E0E11;
  --text-secondary: #6E6E76;
  --text-tertiary: #9C9CA4;
  --muted: #9C9CA4; /* 源文件命名 muted —— CLIENTS 等英文标签色 */
  --accent: #E63A22;
  --accent-green: #22C55E;
  --values-accent: #C7B299; /* 价值观品牌米棕，顶层 token 统一管理 */
  /* 价值观 featured 卡 —— 玻璃质感一组 token（改这里即可整体换肤） */
  --values-glass-tint-1: rgba(214, 199, 178, 0.62); /* 玻璃主体渐变 起 */
  --values-glass-tint-2: rgba(199, 178, 153, 0.52); /* 玻璃主体渐变 中 */
  --values-glass-tint-3: rgba(176, 155, 128, 0.58); /* 玻璃主体渐变 止 */
  --values-glass-edge: rgba(255, 255, 255, 0.60);   /* 高光描边 */
  --values-glass-shadow: rgba(120, 100, 76, 0.20);  /* 外投影 */
  --values-glass-title: #241B10;                    /* featured 标题色（深字，保证对比度） */
  --values-glass-text: rgba(43, 33, 21, 0.74);      /* featured 描述色 */
  --values-glass-divider: rgba(88, 71, 50, 0.30);   /* featured 竖分割线 */
  --border: #E9E9ED;
  --card-image-bg: #E4E4E4;
  --tag-color: #B54920;
  --send-inactive: #DBDBE1;

  --sidebar-width: 56px;
  --topbar-height: 0px;         /* 顶部搜索栏已关闭，高度归零，避免主内容区顶部留白（各页 hero 自带 100px 顶距） */
  /* 流动内容宽度：在所有分辨率下，内容块右侧区域距左右均为 --content-padding(40px)。
     1920 设计稿时 = 1920-56-80 = 1784；>1920 自动放大填满，不再留大片空白。 */
  --content-max: calc(100vw - var(--sidebar-width) - 2 * var(--content-padding));
  --content-padding: 40px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-pill: 16px;
  --radius-full: 9999px;

  --font-sans: "Sarasa Gothic SC", "Sarasa UI SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Source Han Serif CN", "Noto Serif SC", "Songti SC", serif;
}

html {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg);
}

body {
  min-height: 100vh;
  cursor: none;
  overflow-x: clip;
  position: relative;
  background: var(--bg);
}

a {
  text-decoration: none;
  color: inherit;
}

/* ========== Background: grid + blur blobs ========== */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Grid pattern from design */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image: url("assets/grid.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.5;
  z-index: 2;
}

/* Blur blobs - light pastel colors */
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
}

.bg-blob--tl {
  top: -200px;
  left: -200px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, #FFD6CC 0%, #FFE8E0 40%, transparent 70%);
}

.bg-blob--br {
  bottom: -220px;
  right: -220px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, #D6E8FF 0%, #E0EDFF 40%, transparent 70%);
}

/* ========== Custom Cursor ========== */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--text-primary);
  border-radius: 50%;
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.2s ease;
}

.cursor-ring {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(14, 14, 17, 0.35);
  border-radius: 50%;
  transition: all 0.25s ease;
}

/* On dark backgrounds, invert the cursor to white so it stays visible */
.cursor--invert .cursor-dot {
  background: #FFFFFF;
}

.cursor--invert .cursor-ring {
  border-color: rgba(255, 255, 255, 0.85);
}

.cursor-text {
  position: absolute;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.25s ease;
  pointer-events: none;
}

.cursor--view {
  width: 64px;
  height: 64px;
}

.cursor--view .cursor-dot {
  transform: scale(0);
  opacity: 0;
}

.cursor--view .cursor-ring {
  border-radius: 50%;
  border: none;
  background: var(--accent);
  mix-blend-mode: normal;
}

.cursor--view .cursor-text {
  opacity: 1;
  transform: scale(1);
  color: #FFFFFF;
}

/* ========== Sidebar ========== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: rgba(252, 252, 253, 0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 100;
}

/* ============================================================
   移动端导航：汉堡按钮 + 左侧抽屉 + 遮罩
   桌面隐藏汉堡；≤768px 时 sidebar 收起为抽屉，右上角出现汉堡
   ============================================================ */
.nav-toggle {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 200;
  width: 44px;
  height: 44px;
  display: none;                 /* 桌面隐藏，移动端显示 */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(252, 252, 253, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-dark);
  transition: transform 0.3s ease, background 0.2s ease, top 0.3s ease;
}
.nav-toggle__bars {
  position: relative;
}
.nav-toggle__bars::before {
  position: absolute;
  left: 0;
  top: -6px;
}
.nav-toggle__bars::after {
  position: absolute;
  left: 0;
  top: 6px;
}
/* 打开态：中间横线消失，上下两线旋转成 X */
body.nav-open .nav-toggle__bars { background: transparent; }
body.nav-open .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle__bars::after  { top: 0; transform: rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 16, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 95;                  /* 在抽屉(110)之下，在内容(1)之上 */
}

/* 移动端顶栏 logo：默认隐藏，≤768px 才显示（与右上角汉堡等大） */
.mobile-bar { display: none; }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .topbar { display: none; }     /* 移动端隐藏顶部搜索，右上角留给汉堡 */

  /* 移动端安全网：防止任何子元素（如 values 桌面 overlap 卡）水平溢出导致整页横向滚动 */
  body { overflow-x: clip; }

  body.nav-open { overflow: hidden; }   /* 抽屉展开时锁定背景滚动 */

  .sidebar {
    width: min(120px, 40vw);
    align-items: stretch;
    padding: 0 18px;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 2px 0 24px rgba(0, 0, 0, 0.14);
    z-index: 110;
  }
  body.nav-open .sidebar { transform: translateX(0); }
  body.nav-open .nav-overlay { opacity: 1; visibility: visible; }

  /* 抽屉展开时：隐藏顶栏固定 logo，抽屉内显示居中的 logo，菜单与底部设置均居中 */
  body.nav-open .mobile-bar { display: none; }
  body.nav-open .sidebar .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 20px auto 0;
  }
  body.nav-open .sidebar .menu {
    align-items: center;
    margin-top: 40px;
  }
  body.nav-open .sidebar .settings {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* 抽屉内 logo 不再重复显示，logo 已提到顶栏左侧 */
  .sidebar .logo { display: none; }

  /* 移动端顶栏 logo：左上角，与右上角汉堡等大（44×44） */
  .mobile-bar {
    display: flex;
    position: fixed;
    top: 14px;
    left: 14px;
    width: 44px;
    height: 44px;
    z-index: 200;
    align-items: center;
    justify-content: center;
  }
  .mobile-bar__logo {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-bar__logo img {
    width: 100%;
    height: 100%;
    display: block;
  }

  .menu {
    margin-top: 40px;
    align-items: flex-start;
    gap: 22px;
  }
  .menu-item {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .menu-item span { font-size: 14px; line-height: 20px; }

  /* 让出常驻边栏宽度，内容全宽（--sidebar-width 归零后 main/section 自动全宽） */
  :root { --sidebar-width: 0px; }
}

/* 超宽屏强制关闭抽屉态，避免桌面误留 nav-open */
@media (min-width: 769px) {
  body.nav-open .sidebar { transform: none; }
  .nav-overlay { display: none; }
}

.logo {
  width: 32px;
  height: 32px;
  margin-top: 14px;
}

.logo img {
  width: 100%;
  height: 100%;
  display: block;
}

.menu {
  margin-top: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.menu-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--text-dark);
  transition: color 0.2s ease;
}

/* 联系菜单项：无页面，仅悬浮弹窗，不显示手型光标 */
.menu-item--contact {
  cursor: default;
}

.menu-item .ico {
  width: 20px;
  height: 20px;
  display: block;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

/* -on 图标绝对定位叠加在 -over 上，用 opacity 做淡入淡出切换 */
.menu-item .ico-on {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
}

.menu-item:hover .ico-over,
.menu-item.active .ico-over {
  opacity: 0;
}

.menu-item:hover .ico-on,
.menu-item.active .ico-on {
  opacity: 1;
}

.menu-item span {
  font-size: 11px;
  line-height: 14px;
  white-space: nowrap;
  font-family: var(--font-sans);
}

.settings {
  margin-top: auto;
  margin-bottom: 20px;
  position: relative;
}

.settings-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
}

.settings-icon img {
  width: 100%;
  height: 100%;
}

.settings-popover {
  position: absolute;
  bottom: 0;
  left: 28px; /* 设置图标右缘 + 8px 间隙（图标宽20、居中于56侧栏） */
  width: 280px;
  padding: 24px;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  pointer-events: none;
}

.settings-popover.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.settings-popover__head {
  display: flex;
  align-items: flex-start;
}

.settings-popover__logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: contain;
  flex-shrink: 0;
}

.settings-popover__info {
  margin-left: 10px;
}

.settings-popover__name {
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
  color: var(--text-primary);
}

.settings-popover__slogan {
  margin-top: 5px;
  font-size: 14px;
  line-height: 14px;
  color: #9C9CA4;
}

.settings-popover__divider {
  margin-top: 20px;
  height: 1px;
  background: var(--border);
}

.settings-popover__links {
  display: block;
}

.settings-popover__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  font-size: 14px;
  line-height: 24px;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.settings-popover__link:hover {
  color: var(--accent);
}

.settings-popover__lead {
  display: flex;
  align-items: center;
}

.settings-popover__badge {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  flex-shrink: 0;
}

.settings-popover__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.settings-popover__link-wrap {
  position: relative;
}

.settings-popover__link-wrap:first-child .settings-popover__link {
  margin-top: 20px;
}

.settings-popover__subpanel {
  position: absolute;
  bottom: 0; /* 从链接底部往「上」长，避免内容超出视口底部被截 */
  /* 距第一个弹窗外缘 8px：100%(linkWrap宽) + 弹窗外右padding24 + 边框1 + 间隙8 */
  left: calc(100% + 33px);
  min-width: 240px;
  padding: 6px 18px;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-6px, 8px); /* 从下往上弹 */
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

.settings-popover__link-wrap.is-open .settings-popover__subpanel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(0, 0);
}

.settings-popover__subpanel-row {
  display: block;
  font-size: 14px;
  line-height: 36px;
  color: #9C9CA4;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.15s ease;
}

a.settings-popover__subpanel-row:hover {
  color: var(--text-primary);
}

/* ========== Topbar ========== */
.topbar {
  position: fixed;
  top: 0;
  left: var(--sidebar-width);
  right: 0;
  height: var(--topbar-height);
  background: transparent;
  display: none;                 /* 全站关闭搜索：隐藏顶部搜索栏（含关于页 topbar--about，会继承此 display） */
  align-items: center;
  justify-content: flex-end;
  padding: 0 24px;
  z-index: 90;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  height: 36px;
  font-size: 14px;
  color: var(--text-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--surface);
  cursor: none;
  transition: border-color 0.2s ease, color 0.2s ease;
  font-family: "PingFang SC", var(--font-sans);
}

.search:hover {
  border-color: var(--text-tertiary);
  color: var(--text-secondary);
}

.search-kbd {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  height: 16px;
  font-family: "PingFang SC", var(--font-sans);
  font-size: 12px;
  line-height: 12px;
  color: var(--text-tertiary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

/* ========== Main ========== */
.main {
  margin-left: var(--sidebar-width);
  padding-top: var(--topbar-height);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ========== Hero ========== */
.hero {
  width: 100%;
  max-width: var(--content-max);
  padding: 60px var(--content-padding) 24px;
  text-align: center;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  line-height: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 64px);
  line-height: 1.25;
  font-weight: 900;
  margin-bottom: 24px;
  min-height: clamp(90px, 10vw, 160px);
  color: var(--text-primary);
}

.hero-title .line {
  display: inline;
}

.hero-title .highlight {
  color: var(--accent);
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent) 35%,
    #FF8A6E 50%,
    #FFC9B8 55%,
    var(--accent) 65%,
    var(--accent) 100%
  );
  background-size: 250% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineSweep 5s ease-in-out infinite;
}

@keyframes shineSweep {
  0%   { background-position: 200% 0; }
  100% { background-position: -50% 0; }
}

.hero-subtitle {
  font-family: "PingFang SC", var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  color: var(--text-secondary);
}

/* ========== Inquiry Form (首页需求表单：列表式) ========== */
.inquiry-box {
  width: 100%;
  max-width: 1200px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  margin: 0 0 64px;
  padding: 22px 22px 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.04);
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.inquiry-form textarea {
  width: 100%;
  border: none;
  outline: none;
  resize: vertical;
  min-height: 150px;
  padding: 8px 10px;
  font-size: 15px;
  line-height: 28px;
  color: var(--text-primary);
  background: transparent;
  font-family: var(--font-sans);
}
.inquiry-form textarea::placeholder {
  color: var(--text-tertiary);
}

.inquiry-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* 内联"标签 + 输入"药丸：必填项 */
.inquiry-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-white);
  font-family: var(--font-sans);
  flex: 1 1 200px;
  min-width: 160px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.inquiry-pill:focus-within {
  border-color: var(--text-tertiary);
}

.inquiry-pill__label {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-primary);
  white-space: nowrap;
  flex: 0 0 auto;
  font-family: var(--font-sans);
}
.inquiry-pill__label i {
  color: #C75A4A;
  font-style: normal;
  margin-right: 2px;
}

.inquiry-pill input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  line-height: 22px;
  color: var(--text-primary);
  font-family: var(--font-sans);
}
.inquiry-pill input::placeholder {
  color: #DBDBE1;
}
/* 中和浏览器自动填充（autofill）的浅色背景条 */
.inquiry-pill input:-webkit-autofill,
.inquiry-pill input:-webkit-autofill:hover,
.inquiry-pill input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text-primary);
  -webkit-box-shadow: 0 0 0 1000px var(--surface-white) inset;
  transition: background-color 9999s ease-in-out 0s;
}

/* 上传需求文档：与 pill 等高 */
.upload {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 14px;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: border-color 0.2s ease;
  flex: 0 0 auto;
}
.upload:hover { border-color: var(--text-tertiary); }
.upload img {
  width: 16px;
  height: 16px;
}

/* 附件 chip 行：附件出现时换行显示 */
.inquiry-files {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}
.inquiry-files:empty { display: none; }
.inquiry-files__label { color: var(--text-tertiary); }
.inquiry-files__chip {
  padding: 4px 10px;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-secondary);
}

/* 发送按钮：右端圆形 */
.send {
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--send-inactive);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: not-allowed;
  transition: background 0.25s ease, transform 0.2s ease;
  flex: 0 0 auto;
}
.send:not(:disabled) {
  background: var(--text-dark);
  cursor: pointer;
}
.send:not(:disabled):hover {
  transform: scale(1.05);
}
.send img {
  width: 18px;
  height: 18px;
}

/* 提交成功/失败轻提示 */
.inquiry-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: var(--text-dark);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-family: var(--font-sans);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 50;
}
.inquiry-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ========== Portfolio ========== */
.portfolio {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-padding) 80px;
}

.portfolio-header {
  margin-bottom: 24px;
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 48px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.section-desc {
  font-family: "PingFang SC", var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  color: var(--text-secondary);
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.filter {
  height: 32px;
  padding: 0 16px;
  font-family: "PingFang SC", var(--font-sans);
  font-size: 14px;
  line-height: 24px;
  color: var(--text-dark);
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  cursor: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter:hover {
  border-color: var(--text-tertiary);
}

.filter.active {
  padding: 0 16px;
  color: var(--surface-white);
  background: var(--text-dark);
  border-color: var(--text-dark);
  font-size: 16px;
  font-weight: 500;
}

/* Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* 筛选切换时卡片淡入过渡 */
.portfolio-card {
  animation: cardIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--i, 0) * 0.04s);
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1440px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1100px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* 超宽屏（>1920）：内容区流动放大后，作品网格一行放更多 */
@media (min-width: 2000px) {
  .portfolio-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 2560px) {
  .portfolio-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* 首页作品区：单行横向滚动（仅作用于首页 #homePortfolio，不影响作品库页网格） */
#homePortfolio {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: 24px 0 56px; /* 上下内边距容纳卡片 hover 投影，避免被 overflow-y:hidden 裁切 */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

#homePortfolio .portfolio-card {
  flex: 0 0 320px;
  width: 320px;
  scroll-snap-align: start;
}

/* 自定义细滚动条 */
#homePortfolio::-webkit-scrollbar {
  height: 6px;
}
#homePortfolio::-webkit-scrollbar-track {
  background: transparent;
}
#homePortfolio::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 999px;
}
#homePortfolio::-webkit-scrollbar-thumb:hover {
  background: #d4d4da;
}

/* 窄屏下卡片略窄，保证一屏能露出约两张、滚动更顺手 */
@media (max-width: 640px) {
  #homePortfolio .portfolio-card {
    flex-basis: 78vw;
    width: 78vw;
  }
}

.portfolio-card {
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.card-visual {
  width: 100%;
  aspect-ratio: 428 / 321;
  position: relative;
  overflow: hidden;
  background: var(--card-image-bg);
  border-radius: 0;
}

.card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-card:hover .card-visual img {
  transform: scale(1.04);
}

/* 编辑风：卡片编号（黑底白字圆形徽章，左上角压图） */
.card-no {
  position: absolute;
  top: 12px;
  left: 14px;
  z-index: 2;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: #FFFFFF;
  background: rgba(0, 0, 0, 0.48);
  border-radius: 50%;
  letter-spacing: 0.02em;
}

/* Fallback gradients removed — all cards now use images from uijyys.com */

.card-info {
  padding: 21px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  isolation: isolate;
}

.card-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-dark);
}

.card-desc {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  color: var(--text-secondary);
}

.card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.card-tags {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--tag-color);
  line-height: 1.2;
}

.card-meta-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.card-year {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
}

.card-duration {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-tertiary);
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ========== Work Modal（脚印源设旧站风格：黑底 + 居中标题 + 信息块 + 满宽截图堆叠） ========== */
.work-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.work-modal--open { opacity: 1; }
.work-modal--closing { opacity: 0; }

.work-modal__backdrop {
  position: absolute;
  inset: 0;
  background: #000;
}

.work-modal__close {
  position: fixed;
  top: 22px;
  right: 26px;
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.work-modal__close:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: rotate(90deg);
}

.work-modal__scroll {
  position: relative;
  height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.work-modal__scroll::-webkit-scrollbar { width: 8px; }
.work-modal__scroll::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.18); border-radius: 4px; }

/* 旧站详情页：居中黑底，标题/信息块 + 满宽截图 */
.work-detail__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 88px 20px 100px;
  background: #000;
  color: #fff;
  min-height: 100vh;
}

.work-detail__loading {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  letter-spacing: 0.05em;
}

.work-detail__title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.25;
  color: #fff;
  padding-bottom: 28px;
  border-bottom: 1px solid #2a2a2a;
  margin: 0;
}

.work-detail__main {
  grid-area: main;
  min-width: 0;
}

.work-detail__meta {
  text-align: center;
  font-family: var(--font-sans);
  font-size: calc(0.72rem + 0.2vw);
  line-height: calc(1.5rem + 0.2vw);
  color: rgba(255, 255, 255, 0.62);
  padding: 22px 20px 0;
}
.work-detail__note {
  display: block;
  margin-top: 10px;
  font-size: calc(0.62rem + 0.15vw);
  color: rgba(255, 255, 255, 0.34);
  line-height: 1.7;
}

/* 满宽截图：从上到下一张接一张，复刻旧站长截图流 */
.work-detail__stack {
  margin-top: 30px;
}
.work-detail__img-wrap {
  position: relative;
}
.work-detail__img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}
/* 透明遮罩：盖在图片之上拦截“拖拽/右键另存为”指向图片本身；不挡页面滚动 */
.work-detail__img-shield {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: default;
}

@media (max-width: 640px) {
  .work-detail__inner { padding: 72px 12px 80px; }
  .work-modal__close { top: 14px; right: 14px; width: 38px; height: 38px; }
}

/* ========== 内容防护提示与模糊遮罩 ========== */
/* 右键/查看代码时的轻提示气泡 */
.protect-hint {
  position: fixed;
  left: 50%;
  bottom: 56px;
  transform: translateX(-50%) translateY(10px);
  z-index: 10000;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(14, 14, 17, 0.86);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.02em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.protect-hint.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* DevTools 打开时整页模糊遮罩（backdrop-filter 模糊其后页面，文字保持清晰） */
.devtools-warn {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(245, 245, 247, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.devtools-warn__msg {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #0E0E11;
  padding: 14px 26px;
  border: 1px solid rgba(14, 14, 17, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}
body.devtools-open .devtools-warn {
  display: flex;
}

.view-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 10px 24px;
  font-size: 13px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  background: var(--surface-white);
}

.view-more__arrow {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background-color: currentColor;
  -webkit-mask: url(assets/arrow.svg) no-repeat center / contain;
  mask: url(assets/arrow.svg) no-repeat center / contain;
  transition: transform 0.25s ease;
}

.view-more:hover {
  color: var(--surface-white);
  background: var(--text-dark);
  border-color: var(--text-dark);
}

.view-more:hover .view-more__arrow {
  transform: translateX(3px);
}

/* ========== Works page header layout ========== */
.works-hero {
  text-align: left;
  padding-top: 32px;
  padding-bottom: 24px;
}

.works-hero .section-title,
.works-hero .section-eyebrow,
.works-hero .section-desc {
  text-align: left;
}

/* 作品库标题与能力页标题一致：40px / 900 / 行高48px */
.works-hero .section-title {
  font-size: 40px;
  font-weight: 900;
  line-height: 48px;
  margin-bottom: 12px;
}

.works-hero .section-eyebrow {
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

/* ========== Utility ========== */
.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

/* Hide custom cursor on touch devices */
@media (hover: none) {
  body {
    cursor: auto;
  }
  .cursor {
    display: none;
  }
}

/* =============================================
   Capabilities Page
   ============================================= */

/* Shared left-aligned page hero (contact / about / capabilities) */
.page-hero {
  width: 100%;
  max-width: var(--content-max);
  padding: 40px var(--content-padding) 32px;
  text-align: left;
}

.page-hero .section-title {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
  margin-bottom: 12px;
}

.page-hero .section-eyebrow,
.page-hero .section-desc {
  text-align: left;
}

.page-hero .section-desc {
  max-width: 640px;
}

.cap-hero__line--accent {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.cap-hero__line--accent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 3px;
  background: var(--accent);
  opacity: 0.18;
  border-radius: 2px;
}

/* Section Head */
.cap-section-head {
  text-align: left;
  margin-bottom: 40px;
}

/* Services Grid — horizontal padding removed so cards align with section head (01 / 领域) */
.cap-services {
  width: 100%;
  max-width: var(--content-max);
  padding: 0;
}

.cap-services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.cap-service {
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.cap-service:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
  border-color: transparent;
}

.cap-service__icon {
  width: 48px;
  height: 48px;
  background: rgba(230,58,34,0.06);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.cap-service__tag {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tag-color);
  margin-bottom: 8px;
}

.cap-service__title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.cap-service__desc {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-secondary);
}

/* Advantages */
.cap-advantages {
  width: 100%;
  max-width: var(--content-max);
  padding: 32px var(--content-padding) 80px;
}

.cap-advantages__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.cap-adv {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cap-adv:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.05);
}

.cap-adv__num {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  opacity: 0.35;
  flex-shrink: 0;
  margin-top: -4px;
}

.cap-adv__content {
  flex: 1;
}

.cap-adv__title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.cap-adv__desc {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-secondary);
}

/* Process */
.cap-process {
  width: 100%;
  max-width: var(--content-max);
  padding: 0;
}

.cap-process__track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: start;
  position: relative;
}

.cap-step {
  text-align: center;
  position: relative;
  padding: 0 16px;
}

.cap-step__marker {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent);
  color: #FFF;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.cap-step__title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.cap-step__desc {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-secondary);
}

/* Process connecting line (desktop only) */
@media (min-width: 769px) {
  .cap-process__track {
    position: relative;
  }

  .cap-process__track::before {
    content: '';
    position: absolute;
    top: 24px;
    left: calc(12.5% + 48px);
    right: calc(12.5% + 48px);
    height: 1px;
    background: var(--border);
    z-index: 1;
  }
}

/* CTA */
.cap-cta {
  width: 100%;
  max-width: var(--content-max);
  padding: 0 var(--content-padding) 64px;
}

.cap-cta__card {
  background: var(--text-dark);
  border-radius: 16px;
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cap-cta__card::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(230,58,34,0.2) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.cap-cta__card::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(34,197,94,0.15) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.cap-cta__title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cap-cta__desc {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.cap-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 32px;
  font-size: 14px;
  font-weight: 500;
  color: #FFF;
  background: var(--accent);
  border: none;
  border-radius: var(--radius-full);
  position: relative;
  z-index: 1;
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: none;
}

.cap-cta__btn:hover {
  background: #C42E1A;
  transform: scale(1.04);
}

/* Responsive */
@media (max-width: 1024px) {
  .cap-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .cap-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cap-advantages__grid {
    grid-template-columns: 1fr;
  }
  .cap-process__track {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }
  .cap-process__track::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .cap-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .cap-stat {
    padding: 24px 12px;
  }
  .cap-services__grid {
    grid-template-columns: 1fr;
  }
  .cap-process__track {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   About page
   ============================================= */
.about-stats {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 8px var(--content-padding) 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.about-stat {
  text-align: left;
  padding: 32px 28px;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.about-stat__num {
  font-family: var(--font-serif);
  font-size: clamp(36px, 3.6vw, 52px);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  display: block;
}

.about-stat__plus {
  color: var(--accent);
}

.about-stat__unit {
  font-size: 22px;
  color: var(--text-secondary);
}

.about-stat__label {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  font-family: var(--font-sans);
}

.about-story {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 32px var(--content-padding) 64px;
}

.about-story__head {
  margin-bottom: 24px;
}

.about-story__title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
}

.about-story__body {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-story__body p {
  font-size: 16px;
  line-height: 30px;
  color: var(--text-secondary);
  font-family: "PingFang SC", var(--font-sans);
}

.about-values {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-padding) 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-value {
  padding: 32px 28px;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-value:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.about-value__no {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.35;
  line-height: 1;
}

.about-value__title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 12px 0 8px;
}

.about-value__desc {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-secondary);
}

.about-cta {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-padding) 64px;
  text-align: left;
}

.about-cta__card {
  background: var(--text-dark);
  border-radius: 16px;
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-cta__card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -15%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(230, 58, 34, 0.2) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.about-cta__card-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.about-cta__card-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.about-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 32px;
  font-size: 14px;
  font-weight: 500;
  color: #FFF;
  background: var(--accent);
  border-radius: var(--radius-full);
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: none;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.about-cta__btn:hover {
  background: #C42E1A;
  transform: scale(1.04);
}

/* Industries */
.about-industries {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 32px var(--content-padding) 56px;
}

.about-industries__title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.about-industries__cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about-industries__cloud span {
  padding: 8px 20px;
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}

.about-industries__cloud span:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(230, 58, 34, 0.04);
}

/* Manifesto */
.about-manifesto {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 48px var(--content-padding) 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.manifesto-line {
  width: 48px;
  height: 2px;
  background: var(--accent);
  opacity: 0.3;
}

.about-manifesto blockquote {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--text-dark);
  text-align: center;
  max-width: 640px;
}

/* Timeline */
.about-timeline {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-padding) 64px;
}

.about-timeline__track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.about-tl-item {
  position: relative;
  padding-top: 20px;
}

.about-tl-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.about-tl-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  top: -3px;
  left: 0;
}

.about-tl-year {
  display: block;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 8px;
}

.about-tl-item p {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-secondary);
}

/* =============================================
   Contact page
   ============================================= */
.contact-wrap {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 8px var(--content-padding) 56px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
  align-items: stretch;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 22px;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

a.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  border-color: transparent;
}

.contact-card__label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-sans);
}

.contact-card__value {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  word-break: break-all;
}

.contact-card__hint {
  font-size: 13px;
  color: var(--text-tertiary);
  font-family: var(--font-sans);
}

.contact-form {
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form__head {
  margin-bottom: 4px;
}

.contact-form__title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.contact-form__sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 6px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.field__label {
  font-size: 12px;
  color: var(--text-secondary);
  font-family: var(--font-sans);
}

.field__input {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--text-primary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.2s ease;
}

.field__input:focus {
  border-color: var(--accent);
}

.field__input::placeholder {
  color: var(--text-tertiary);
}

.field__textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 24px;
}

.contact-form__submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 500;
  color: #FFF;
  background: var(--text-dark);
  border: none;
  border-radius: var(--radius-full);
  cursor: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-form__submit:hover {
  background: var(--accent);
  transform: scale(1.04);
}

.contact-form__submit img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.contact-socials {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-padding) 56px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-socials__label {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-family: var(--font-sans);
}

.contact-socials__list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social {
  padding: 6px 14px;
  font-size: 13px;
  color: var(--text-dark);
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
}

/* =============================================
   Partners marquee (site-wide)
   ============================================= */
.partners-marquee {
  width: 100%;
  height: 60px;
  box-sizing: border-box;
  margin-top: 40px;
  display: flex;
  align-items: center;
  background: rgba(252, 252, 253, 0.6);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.pm-inner {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-padding);
  display: flex;
  align-items: center;
  gap: 24px;
}

.pm-label {
  flex-shrink: 0;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9C9CA4;
  font-family: var(--font-sans);
  white-space: nowrap;
}

.pm-viewport {
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.pm-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  animation: pmScroll 38s linear infinite;
}

.pm-track:hover {
  animation-play-state: paused;
}

.pm-item {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  color: #9C9CA4;
  white-space: nowrap;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.pm-item:hover {
  opacity: 1;
  color: var(--accent);
}

.pm-sep {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@keyframes pmScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================
   Responsive for about / contact / marquee
   ============================================= */
@media (max-width: 1024px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-values { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .about-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .about-stat { padding: 20px 16px; }
  .contact-info { grid-template-columns: 1fr; }
  .contact-form__row { grid-template-columns: 1fr; }
  .pm-item { font-size: 16px; }
  .pm-track { gap: 36px; }
}

/* =============================================
   Contact: how-to-start / FAQ / location
   ============================================= */
.contact-start {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 16px var(--content-padding) 56px;
}

.contact-start__head {
  margin-bottom: 32px;
}

.contact-start__steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 16px;
}

.contact-step {
  padding: 24px;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.contact-step__marker {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 12px;
}

.contact-step__title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.contact-step__desc {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-secondary);
}

.contact-step__arrow {
  font-size: 28px;
  color: var(--border);
  align-self: center;
  padding-top: 12px;
}

.contact-faq {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 16px var(--content-padding) 56px;
}

.contact-faq__head {
  margin-bottom: 24px;
}

.contact-faq__grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-q {
  padding: 20px 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: none;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-q::after {
  font-size: 18px;
  color: var(--text-tertiary);
}

details[open] .faq-q::after {
  content: '\2212';
}

details:not([open]) .faq-q::after {
  content: '+';
}

.faq-a {
  padding: 0 0 20px;
  font-size: 14px;
  line-height: 24px;
  color: var(--text-secondary);
  font-family: "PingFang SC", var(--font-sans);
}

.contact-location {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-padding) 56px;
}

.contact-loc__card {
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px 48px;
  text-align: center;
}

.contact-loc__line {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.5;
}

.contact-loc__line--small {
  font-family: "PingFang SC", var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-tertiary);
  margin-top: 8px;
}

/* =============================================
   Responsive for about timeline / contact-step
   ============================================= */
@media (max-width: 1024px) {
  .about-timeline__track { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .contact-start__steps { grid-template-columns: 1fr; }
  .contact-step__arrow { display: none; }
}

@media (max-width: 640px) {
  .about-timeline__track { grid-template-columns: 1fr; }
  .about-manifesto blockquote { font-size: 20px; }
  .contact-loc__line { font-size: 18px; }
}

/* =============================================
   Capabilities V2 — Editorial / Premium
   ============================================= */

/* Scroll Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.40s; }
[data-reveal-delay="6"] { transition-delay: 0.48s; }

/* Ghost text — huge faint serif word behind each section */
.cap-ghost {
  position: absolute;
  top: -8px;
  right: var(--content-padding);
  font-family: var(--font-serif);
  font-size: clamp(80px, 13vw, 180px);
  font-weight: 900;
  line-height: 0.8;
  color: rgba(0, 0, 0, 0.022);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}

.cap-ghost--left {
  left: var(--content-padding);
  right: auto;
}

/* Intro */
.cap-intro {
  width: 100%;
  max-width: var(--content-max);
  padding: 48px var(--content-padding) 16px;
  position: relative;
  z-index: 1;
}

.cap-intro__title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin: 12px 0 16px;
}

.cap-intro__desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 480px;
  font-family: "PingFang SC", var(--font-sans);
}

/* Section containers */
.cap-list,
.cap-adv2,
.cap-flow {
  position: relative;
  width: 100%;
  max-width: var(--content-max);
  padding: 56px var(--content-padding) 80px;
  overflow: hidden;
  z-index: 1;
}

/* Section heads */
.cap-list__head,
.cap-adv2__head,
.cap-flow__head {
  position: relative;
  z-index: 1;
  margin-bottom: 48px;
}

.cap-list__title,
.cap-adv2__title,
.cap-flow__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 8px;
  line-height: 1.2;
}

/* ========== Services — Editorial Index ========== */
.cap-list__body {
  position: relative;
  z-index: 1;
}

.cap-list__row {
  display: grid;
  grid-template-columns: 56px 110px 1fr 1.3fr;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: padding 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: none;
}

/* Left accent bar on hover */
.cap-list__row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 0;
  background: var(--accent);
  transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Subtle warm tint background on hover */
.cap-list__row::after {
  content: '';
  position: absolute;
  left: -16px;
  right: -16px;
  top: 0;
  bottom: 0;
  background: rgba(230, 58, 34, 0.02);
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 4px;
  z-index: -1;
}

.cap-list__row:hover {
  padding-left: 24px;
}

.cap-list__row:hover::before {
  height: 70%;
}

.cap-list__row:hover::after {
  opacity: 1;
}

.cap-list__num {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  opacity: 0.12;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cap-list__row:hover .cap-list__num {
  color: var(--accent);
  opacity: 1;
}

.cap-list__tag {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tag-color);
  font-family: var(--font-sans);
}

.cap-list__name {
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.3s ease;
  position: relative;
  width: fit-content;
  max-width: 100%;
}

/* Arrow that slides in on row hover */
.cap-list__name::after {
  content: "\2197";
  position: absolute;
  left: calc(100% + 6px);
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  opacity: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85em;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.cap-list__row:hover .cap-list__name::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.cap-list__row:hover .cap-list__name {
  color: var(--accent);
}

.cap-list__desc {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-secondary);
  font-family: "PingFang SC", var(--font-sans);
}

/* ========== Advantages — Asymmetric Glass ========== */
.cap-adv2__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

/* Zigzag layout: 3+2 / 2+3 */
.cap-adv2__card:nth-child(1) { grid-column: span 3; }
.cap-adv2__card:nth-child(2) { grid-column: span 2; }
.cap-adv2__card:nth-child(3) { grid-column: span 2; }
.cap-adv2__card:nth-child(4) { grid-column: span 3; }

.cap-adv2__card {
  position: relative;
  padding: 48px 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cap-adv2__card--sm {
  padding: 36px 32px;
}

.cap-adv2__card:hover {
  background: rgba(255, 255, 255, 0.52);
  border-color: rgba(230, 58, 34, 0.12);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.04);
}

.cap-adv2__num {
  font-family: var(--font-serif);
  font-size: clamp(48px, 5.5vw, 80px);
  font-weight: 900;
  color: rgba(230, 58, 34, 0.09);
  line-height: 1;
  display: block;
  margin-bottom: 20px;
  transition: color 0.5s ease;
}

.cap-adv2__card:hover .cap-adv2__num {
  color: rgba(230, 58, 34, 0.18);
}

.cap-adv2__name {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.cap-adv2__text {
  font-size: 14px;
  line-height: 24px;
  color: var(--text-secondary);
  font-family: "PingFang SC", var(--font-sans);
}

/* ========== Process — Vertical Flow ========== */
.cap-flow__body {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

/* Gradient connecting line */
.cap-flow__body::before {
  content: '';
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(230, 58, 34, 0.4) 0%,
    var(--border) 15%,
    var(--border) 85%,
    rgba(230, 58, 34, 0.4) 100%
  );
}

.cap-flow__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: start;
  gap: 32px;
  padding: 36px 0;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dot on the line */
.cap-flow__item::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 52px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--bg);
  transition: all 0.5s ease;
  z-index: 2;
}

.cap-flow__item:hover {
  transform: translateX(12px);
}

.cap-flow__item:hover::before {
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(230, 58, 34, 0.1);
}

.cap-flow__num {
  font-family: var(--font-serif);
  font-size: clamp(40px, 4vw, 60px);
  font-weight: 900;
  color: var(--text-primary);
  opacity: 0.06;
  line-height: 1;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cap-flow__item:hover .cap-flow__num {
  color: var(--accent);
  opacity: 0.2;
}

.cap-flow__content {
  padding-top: 6px;
}

.cap-flow__name {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.cap-flow__item:hover .cap-flow__name {
  color: var(--accent);
}

.cap-flow__desc {
  font-size: 14px;
  line-height: 24px;
  color: var(--text-secondary);
  font-family: "PingFang SC", var(--font-sans);
}

/* ========== CTA V2 ========== */
.cap-cta2 {
  width: 100%;
  max-width: var(--content-max);
  padding: 0 var(--content-padding) 80px;
  position: relative;
  z-index: 1;
}

.cap-cta2__inner {
  position: relative;
  background: var(--text-dark);
  border-radius: 20px;
  padding: 80px 56px;
  text-align: left;
  overflow: hidden;
}

.cap-cta2__glow {
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(230, 58, 34, 0.16) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  animation: ctaGlow 6s ease-in-out infinite alternate;
}

@keyframes ctaGlow {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.5; }
  100% { transform: translate(-30px, 20px) scale(1.1); opacity: 1; }
}

.cap-cta2__title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: #FFF;
  line-height: 1.15;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cap-cta2__desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
  font-family: "PingFang SC", var(--font-sans);
}

.cap-cta2__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 32px;
  font-size: 14px;
  font-weight: 500;
  color: #FFF;
  background: var(--accent);
  border-radius: var(--radius-full);
  position: relative;
  z-index: 1;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: none;
}

.cap-cta2__btn:hover {
  background: #C42E1A;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(230, 58, 34, 0.3);
}

.cap-cta2__arrow {
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url(assets/arrow.svg) no-repeat center / contain;
  mask: url(assets/arrow.svg) no-repeat center / contain;
  transition: transform 0.3s ease;
}

.cap-cta2__btn:hover .cap-cta2__arrow {
  transform: translateX(4px);
}

/* ========== Capabilities V2 Responsive ========== */
@media (max-width: 1024px) {
  .cap-list__row {
    grid-template-columns: 48px 90px 1fr;
  }
  .cap-list__desc {
    grid-column: 2 / -1;
    margin-top: 4px;
  }
  .cap-adv2__grid {
    grid-template-columns: 1fr;
  }
  .cap-adv2__card:nth-child(n) {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .cap-list__row {
    grid-template-columns: 40px 1fr;
    gap: 16px;
  }
  .cap-list__tag {
    grid-column: 2;
  }
  .cap-list__name {
    grid-column: 2;
  }
  .cap-list__desc {
    grid-column: 2;
  }
  .cap-adv2__card {
    padding: 32px 24px;
  }
  .cap-cta2__inner {
    padding: 48px 28px;
  }
}

/* ========================================================== */
/* ========== Contact Page — Editorial Style ================ */
/* ========================================================== */

/* Form — Glass Panel */
.ct-form-wrap {
  position: relative;
  width: 100%;
  max-width: var(--content-max);
  padding: 56px var(--content-padding) 80px;
  overflow: hidden;
  z-index: 1;
}

.ct-form-wrap__head {
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}

.ct-form {
  position: relative;
  z-index: 1;
  max-width: 860px;
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-md);
  padding: 48px;
}

.ct-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.ct-field {
  display: block;
  margin-bottom: 24px;
}

.ct-field__label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  margin-bottom: 10px;
}

.ct-field__input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font-size: 15px;
  font-family: "PingFang SC", var(--font-sans);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: all 0.3s ease;
  cursor: none;
}

.ct-field__input:focus {
  border-color: rgba(230, 58, 34, 0.4);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 4px rgba(230, 58, 34, 0.06);
}

.ct-field__input::placeholder {
  color: var(--text-placeholder);
}

.ct-field__textarea {
  height: 140px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 24px;
}

.ct-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 32px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-sans);
  color: #FFF;
  background: var(--accent);
  border: none;
  border-radius: var(--radius-full);
  cursor: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ct-form__submit:hover {
  background: #C42E1A;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(230, 58, 34, 0.3);
}

.ct-form__submit img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

/* Inline success state for contact form */
.ct-success {
  position: relative;
  z-index: 1;
  max-width: 860px;
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-md);
  padding: 72px 48px;
  text-align: center;
}

.ct-success__check {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 12px 32px rgba(230, 58, 34, 0.28);
}

.ct-success__title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.ct-success__desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-family: "PingFang SC", var(--font-sans);
}

/* FAQ — Editorial Accordion */
.ct-faq {
  position: relative;
  width: 100%;
  max-width: var(--content-max);
  padding: 56px var(--content-padding) 80px;
  overflow: hidden;
  z-index: 1;
}

.ct-faq__head {
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}

.ct-faq__body {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.ct-faq__item {
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.ct-faq__item:first-child {
  border-top: 1px solid var(--border);
}

.ct-faq__q {
  display: grid;
  grid-template-columns: 56px 1fr 24px;
  align-items: center;
  gap: 16px;
  padding: 28px 0;
  cursor: none;
  list-style: none;
  transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.ct-faq__q::-webkit-details-marker {
  display: none;
}

.ct-faq__item[open] .ct-faq__q {
  padding-left: 16px;
}

.ct-faq__q::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 0;
  background: var(--accent);
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ct-faq__item[open] .ct-faq__q::before {
  height: 60%;
}

.ct-faq__num {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  opacity: 0.12;
  transition: all 0.3s ease;
}

.ct-faq__item[open] .ct-faq__num {
  color: var(--accent);
  opacity: 1;
}

.ct-faq__q span:nth-child(2) {
  font-size: 16px;
  font-weight: 500;
  font-family: var(--font-sans);
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.ct-faq__item[open] .ct-faq__q span:nth-child(2) {
  color: var(--accent);
}

.ct-faq__icon {
  width: 16px;
  height: 16px;
  position: relative;
  transition: transform 0.3s ease;
}

.ct-faq__icon::before,
.ct-faq__icon::after {
  content: '';
  position: absolute;
  background: var(--text-secondary);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.ct-faq__icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
}

.ct-faq__icon::after {
  left: 50%;
  top: 0;
  width: 1.5px;
  height: 100%;
  transform: translateX(-50%);
}

.ct-faq__item[open] .ct-faq__icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.ct-faq__a {
  padding: 0 0 28px 72px;
  font-size: 14px;
  line-height: 24px;
  color: var(--text-secondary);
  font-family: "PingFang SC", var(--font-sans);
  max-width: 640px;
}

/* Socials + Location */
.ct-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  width: 100%;
  max-width: var(--content-max);
  padding: 0 var(--content-padding) 80px;
  position: relative;
  z-index: 1;
}

.ct-socials {
  position: relative;
}

.ct-socials__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 20px;
}

.ct-social {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 24px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: none;
  width: fit-content;
}

.ct-social:hover {
  color: var(--accent);
  border-color: rgba(230, 58, 34, 0.3);
  background: rgba(230, 58, 34, 0.04);
  transform: translateX(8px);
}

.ct-loc {
  background: var(--text-dark);
  border-radius: 16px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}

.ct-loc::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(230, 58, 34, 0.12) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.ct-loc__label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-sans);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.ct-loc__city {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  color: #FFF;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.ct-loc__note {
  font-size: 13px;
  line-height: 22px;
  color: rgba(255, 255, 255, 0.5);
  font-family: "PingFang SC", var(--font-sans);
  position: relative;
  z-index: 1;
}

/* ========== About + Contact Responsive ========== */
@media (max-width: 1024px) {
  .ct-form__row {
    grid-template-columns: 1fr;
  }
  .ct-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ct-form {
    padding: 32px 24px;
  }
  .ct-faq__a {
    padding-left: 56px;
  }
  .ct-loc {
    padding: 32px 24px;
  }
}

/* ========================================================== */
/* ========== Footprint Journey (capabilities) ============= */
/* ========================================================== */
.main > section {
  position: relative;
  z-index: 1;
}

.journey-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
  background: var(--border);
  z-index: 0;
  pointer-events: none;
}

.journey-rail__fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--accent) 0%, #FF8A6E 100%);
  transform: scaleY(0);
  transform-origin: top center;
  will-change: transform;
}

.journey-node {
  position: absolute;
  left: 0;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C9C9D0;
  transition: color 0.45s ease;
}

.journey-node svg {
  width: 16px;
  height: 22px;
  fill: currentColor;
  opacity: 0.45;
  transform: rotate(-10deg);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.journey-node__label {
  position: absolute;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.45s ease, color 0.45s ease;
  pointer-events: none;
}

.journey-node.is-active {
  color: var(--accent);
}

.journey-node.is-active svg {
  opacity: 1;
  transform: rotate(-10deg) scale(1.25);
}

.journey-node.is-active .journey-node__label {
  opacity: 1;
  color: var(--accent);
}

.journey-node.is-active::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(230, 58, 34, 0.3);
  border-radius: 50%;
  animation: fpStamp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fpStamp {
  from { transform: scale(0.4); opacity: 0.8; }
  to { transform: scale(1); opacity: 0; }
}

/* Footprint cursor trail (global) */
.trail-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 6;
  overflow: hidden;
}

.fp-trail {
  position: fixed;
  width: 14px;
  height: 19px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'><g fill='%23E63A22'><ellipse cx='12' cy='20' rx='6.6' ry='9'/><circle cx='12' cy='6' r='2.6'/><circle cx='7.4' cy='9.2' r='2.2'/><circle cx='16.6' cy='9.2' r='2.2'/><circle cx='4.8' cy='13.2' r='1.7'/><circle cx='19.2' cy='13.2' r='1.7'/></g></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.5;
  transform: translate(-50%, -50%);
  transition: opacity 0.9s ease, transform 0.9s ease;
  will-change: opacity, transform;
}

.fp-trail.is-fade {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.55);
}

@media (max-width: 1100px) {
  .journey-rail {
    display: none;
  }
}

/* =============================================
   Capabilities Page — Ardot 1:1 redesign
   ============================================= */

.cap-title {
  width: 100%;
  max-width: var(--content-max);
  padding: 32px var(--content-padding) 40px;
  text-align: left;
}

.cap-title__eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 12px;
}

.cap-title__main {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 900;
  line-height: 48px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.cap-title__desc {
  font-family: "PingFang SC", var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--text-secondary);
  max-width: 512px;
}

/* Section head — eyebrow | line | title */
.cap-section {
  width: 100%;
  max-width: var(--content-max);
  padding: 100px var(--content-padding) 0;  /* 模块间距 100；底部 0 由 last-child 兜底，避免叠加 */
}
.cap-section:last-child {
  padding-bottom: 100px;
}

.cap-section__head {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;  /* 模块标题→本模块内容 = 48 */
  height: 32px;
}

.cap-section__eyebrow {
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
}

.cap-section__line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.cap-section__title {
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  line-height: 32px;
  color: var(--text-primary);
  text-align: right;
}

/* Services — 4 columns，撑满内容区宽度以与下方 02/03/CTA 区块左右对齐（保持"距右 40px"框架） */
.cap-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cap-svc-card {
  position: relative;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px 26px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.cap-svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(230, 58, 34, 0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.cap-svc-card:hover {
  border-color: rgba(230, 58, 34, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(14, 14, 17, 0.06);
}

.cap-svc-card:hover::before {
  opacity: 1;
}

.cap-svc-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.cap-svc-card__titles {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  isolation: isolate;
}

.cap-svc-card__title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  color: var(--text-dark);
  margin: 0;
}

.cap-svc-card__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cap-svc-card__icon img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.cap-svc-card__bar {
  position: absolute;
  top: 20px;
  left: 0;
  width: 40px;
  height: 5px;
  background: var(--accent);
  opacity: 0.1;
  z-index: -1;
}

.cap-svc-card__tag {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  color: var(--accent);
  margin: 32px 0 0;
  display: block;
}

.cap-svc-card__desc {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: var(--text-secondary);
}

/* Advantages — 白色大背景 + 2×2 网格，单元格左侧描边线（长于单元格）+ 光标 */
.cap-adv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
}

.cap-adv__cell {
  position: relative;
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface-white);
}

/* 悬浮对应模块时，左侧 3px 红色竖线从上到下展开 */
.cap-adv__cell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.cap-adv__cell:hover::before {
  transform: scaleY(1);
}

/* 光标：默认暗态（灰），悬浮切换为亮态（绿）；指针事件禁用避免截获 cell 的 hover */
.cap-adv__cursor {
  position: absolute;
  top: 0;
  left: 20px;
  width: 16px;
  height: 16px;
  background-image: url(assets/cursor-dark.svg);
  background-size: 16px 16px;
  background-repeat: no-repeat;
  pointer-events: none;
}

.cap-adv__cell:hover .cap-adv__cursor {
  background-image: url(assets/cursor-light.svg);
}

.cap-adv__num {
  font-family: "D-DIN-PRO", "DIN Pro", var(--font-sans);
  font-size: 48px;
  font-weight: 700;
  line-height: 72px;
  color: var(--accent);
  margin-bottom: 8px;
  opacity: 0.25;
  transition: opacity 0.25s ease;
}

.cap-adv__cell:hover .cap-adv__num {
  opacity: 1;
}

.cap-adv__name {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  color: var(--text-dark);
}

.cap-adv__desc {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: var(--text-secondary);
  max-width: 706px;
}

/* Process — 卡片横排逐级向下移成台阶 + 底部一根横线串 4 节点 */
.cap-process {
  position: relative;
}

/* 底部时间轴 — 一根横线（track）+ 进度绿线 + 4 个节点（居中对齐到上方卡片列中心） */
.cap-timeline {
  position: relative;
  height: 16px;
  margin-top: 48px;            /* 进度线与上方「整体内容」（4 个模块）的垂直间距 = 48px */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}

.cap-timeline__track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 8px;                      /* 全宽：左对齐到时间轴起点，右内缩 8px（恢复原貌） */
  height: 2px;
  grid-column: 1 / -1;           /* 父级是 grid，绝对定位子默认落在第一格；强制跨越全部 4 列才能正确铺满 */
  transform: translateY(-50%);
  background: var(--border);
  z-index: 0;
}

.cap-timeline__green {
  position: absolute;
  top: 50%;
  left: 0;                       /* 进度绿线从最左端开始，随悬浮 idx 等比填充 */
  width: 0;
  height: 2px;
  grid-column: 1 / -1;           /* 同上：跨越全部 grid 列，避免被压到第一格 */
  transform: translateY(-50%);
  background: var(--accent-green);
  z-index: 1;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.cap-timeline__node {
  position: relative;
  z-index: 2;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  justify-self: center;            /* 节点居中对齐到所在列中心，与对应卡片正下方对齐 */
  background-image: url(assets/process-node-default.svg);
  background-size: 16px 16px;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
}

.cap-timeline__node.is-active {
  background-image: url(assets/process-node-active.svg);
  transform: scale(1.1);
}

/* 右侧卡片列：4 列横排，逐级向下移形成台阶；每列 stretch 占满整列高度（含下方空白），悬浮整列触发 */
.cap-process__cards {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cap-process__col {
  position: relative;
  display: flex;
  flex-direction: column;
}

.cap-process__card {
  position: relative;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0 0 0 16px;
  margin-top: calc((var(--i, 1) - 1) * 64px); /* 台阶：第 1 张最上，逐级向下移（落差加大） */
  transition: transform 0.25s ease;
}

/* 每张卡左侧描边竖线 */
.cap-process__card::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--border);
}

.cap-process__col:hover .cap-process__card {
  transform: translateX(4px);
}

.cap-process__name {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.cap-process__bar {
  position: absolute;
  top: 20px;
  left: 16px;
  width: 40px;
  height: 5px;
  background: var(--accent);
  opacity: 0.1;
  z-index: -1;
}

.cap-process__desc {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: var(--text-secondary);
}

/* CTA — black bar */
.cap-cta {
  width: 100%;
  max-width: var(--content-max);
  padding: 32px var(--content-padding) 64px;
}

.cap-cta__bar {
  background: var(--text-dark);
  border-radius: 24px;
  padding: 48px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}

.cap-cta__bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, -1000px) var(--my, -1000px),
                              rgba(230, 58, 34, 0.30) 0%,
                              rgba(230, 58, 34, 0.12) 35%,
                              transparent 65%);
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.cap-cta__text {
  position: relative;
  z-index: 1;
  max-width: 580px;
}

.cap-cta__title {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 600;
  line-height: 72px;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.cap-cta__desc {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: #F7F7FF;
  max-width: 516px;
}

.cap-cta__btn {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 200px;
  height: 64px;
  background: var(--accent);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  cursor: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.cap-cta__btn:hover {
  background: #C42E1A;
  transform: translateX(2px);
}

.cap-cta__arrow {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background-color: currentColor;
  -webkit-mask: url(assets/arrow.svg) no-repeat center / contain;
  mask: url(assets/arrow.svg) no-repeat center / contain;
  transition: transform 0.25s ease;
}

.cap-cta__btn:hover .cap-cta__arrow {
  transform: translateX(3px);
}

/* Reveal animation for capability page */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1280px) {
  .cap-services { grid-template-columns: repeat(2, 1fr); }
  .cap-process__cards { grid-template-columns: repeat(2, 1fr); }
  /* 窄屏取消台阶下移，避免错位 */
  .cap-process__card { margin-top: 0; }
  /* 时间轴节点按 4 列对齐，窄屏降列后隐藏 */
  .cap-timeline { display: none; }
}

/* 超宽屏（>1920）：服务卡只有 4 张，不再切 5 列（避免空槽）；
   通过基础规则的 460px 上限 + 居中实现自然留白。 */

@media (max-width: 768px) {
  .cap-title__main { font-size: 32px; line-height: 40px; }
  .cap-services { grid-template-columns: 1fr; }
  .cap-process__cards { grid-template-columns: 1fr; }
  .cap-process__card { margin-top: 0; }
  .cap-adv {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .cap-cta__bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }
  .cap-cta__title { font-size: 32px; line-height: 44px; }
  .cap-cta__btn { width: 100%; }
}

/* =============================================
   Button hover glow — 全站按钮悬浮光感
   ============================================= */
.view-more,
.cap-cta__btn,
.cap-cta2__btn,
.ct-form__submit {
  position: relative;
  overflow: hidden;
}

/* 斜向白色柔光带，hover 时从左向右扫过 */
.view-more::before,
.cap-cta__btn::before,
.cap-cta2__btn::before,
.ct-form__submit::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -75%;
  width: 55%;
  height: 120%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.28) 45%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0.28) 55%,
    transparent 100%
  );
  transform: skewX(-20deg);
  opacity: 0;
  transition: left 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.view-more:hover::before,
.cap-cta__btn:hover::before,
.cap-cta2__btn:hover::before,
.ct-form__submit:hover::before {
  left: 130%;
  opacity: 1;
}

/* 首页圆形发送按钮：柔光晕 */
.send {
  box-shadow: 0 0 0 0 rgba(230, 58, 34, 0);
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.send:hover {
  box-shadow: 0 0 24px rgba(230, 58, 34, 0.45), 0 0 60px rgba(230, 58, 34, 0.18);
}

/* =============================================
   Contact popover — 侧边栏「联系」悬浮弹窗
   ============================================= */
.menu-contact-wrap {
  position: relative;
}

.contact-popover {
  position: absolute;
  left: calc(100% + 18px);
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  width: auto;
  padding: 24px;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(14, 14, 17, 0.10);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.25s ease;
  z-index: 100;
}

/* 小箭头（指向侧边栏菜单项） */
.contact-popover::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -6px;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--surface-white);
  border-left: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  z-index: 1;
}

/* 显示由 JS hover-intent 控制：仅在「联系」项或弹窗本身 hover 时加 .is-open，
   鼠标在两者间移动不消失，离开两者延迟收起，杜绝 CSS :hover 误触发/间隙消失。
   不再使用透明 ::after 桥接层（隐藏时也会捕获 hover，曾有隐患）。 */
.contact-popover.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.contact-popover__head {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.contact-popover__logo {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.contact-popover__title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 24px;
}

.contact-popover__sub {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 16px;
  margin-top: 2px;
}

.contact-popover__body {
  display: grid;
  grid-template-columns: 280px auto;
  gap: 24px;
  align-items: start;
}

.contact-popover__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 左列标题与右侧「扫码添加微信」对齐（标题在卡片外） */
.contact-popover__col--info .contact-popover__label {
  margin-bottom: 10px;
}

/* 微信/邮箱背景卡片：280×112 实色背景 */
.contact-popover__box {
  width: 280px;
  height: 112px;
  background: #F8F8FA;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
}

.contact-popover__label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.contact-popover__row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 32px;
  color: var(--text-primary);
}

.contact-popover__row img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.contact-popover__qr {
  width: 112px;
  height: 112px;
  border-radius: 6px;
  display: block;
  background: #FFFFFF;
  padding: 4px;
  box-sizing: border-box;
  border: 1px solid var(--border);
}


/* 移动端：内容区改为流动宽度后，40px 边距在手机上会把内容挤太窄，
   故把 --content-padding 降到 16px，使移动端左右各空出 16px */
@media (max-width: 640px) {
  :root {
    --content-padding: 16px;
  }
  /* 首页需求表单：左右空出 16px，不占满屏幕 */
  .inquiry-box {
    width: auto;
    margin: 0 var(--content-padding) 64px;
  }
  /* 首页作品区：移动端取消横向滑动，改为单列竖排 */
  #homePortfolio {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    overflow-x: visible;
    flex-wrap: wrap;
    padding-bottom: 0;
  }
  #homePortfolio .portfolio-card {
    flex: 1 1 auto;
    width: auto;
    max-width: 100%;
  }
  /* 消除与 max-width:content-max 重复计算的左右内边距：
     移动端内容区只保留居中带来的那一个 16px，避免卡片区出现"双重 16" */
  .hero {
    padding-left: 0;
    padding-right: 0;
    margin: 0 auto;
  }
  .portfolio {
    padding: 0 0 80px;
  }
  /* 能力页内容区：去掉与 max-width:content-max 重复的左右 16px。
     注意 .cap-section(3528) / .cap-cta(3896) 基础样式均定义在本媒体查询之后，
     故用 body 前缀提升特异性，确保移动端覆盖不被基础样式覆盖 */
  body .cap-section {
    padding-left: 0;
    padding-right: 0;
    margin: 0 auto;
  }
  body .cap-cta {
    padding-left: 0;
    padding-right: 0;
    margin: 0 auto;
  }
  /* 作品库 hero：
     1) 去掉与 max-width:content-max 重复计算的左右 16px（只保留居中带来的一个 16px）；
     2) 底部留白给 SCROLL，避免与标题/描述重合；
     3) SCROLL left 归零，与内容左边缘对齐，去掉它与 content-padding 之间残留的 16px 错位 */
  /* 注意：.ab-hero 基础样式定义在本媒体查询之后（行 4307），
     故这里用 body 前缀提升特异性，确保移动端覆盖不被基础样式覆盖 */
  body .ab-hero {
    min-height: auto;
    padding: 84px 0 40px;
    justify-content: flex-start;
  }
  body .ab-hero__scroll {
    bottom: 20px;
    left: 0;
  }
  /* 移动端允许描述换行，避免长文本被 white-space:nowrap 裁切 */
  body .ab-hero__desc {
    white-space: normal;
  }
  /* 分类：移动端改为横向滚动，不换行 */
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 20px;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter {
    flex: 0 0 auto;
  }
}

/* ========================================================== */
/* ========== About Page — Premium Redesign ================= */
/* ========================================================== */

/* ===== Hero ===== */
.ab-hero {
  position: relative;
  width: 100%;
  max-width: var(--content-max);
  padding: 100px var(--content-padding) 0;  /* 标题整体距顶部 = 100 */
  margin-bottom: 40px;                       /* 内容区距 SCROLL = 40 */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.ab-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.ab-hero__ghost {
  position: absolute;
  top: 100px;
  right: var(--content-padding);
  font-family: var(--font-serif);
  font-size: 200px;
  font-weight: 900;
  line-height: 200px;
  color: rgba(14, 14, 17, 0.022);
  letter-spacing: -0.04em;
  user-select: none;
  white-space: nowrap;
}

.ab-hero__mesh {
  position: absolute;
  top: -35%;
  right: -8%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(230, 58, 34, 0.05) 0%, transparent 60%);
  border-radius: 50%;
}

.ab-hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.ab-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 12px;
  opacity: 0;
  animation: abFadeIn 0.8s ease 0.1s forwards;
}

.ab-hero__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: abPulse 2s ease-in-out infinite;
}

@keyframes abPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}

.ab-hero__title {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 900;
  line-height: 60px;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.ab-hero__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px);
  animation: abWordIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--w, 0) * 0.15s + 0.2s);
}

.ab-hero__word--accent {
  color: var(--accent);
  margin-left: 0.12em;
}

@keyframes abWordIn {
  to { opacity: 1; transform: translateY(0); }
}

.ab-hero__desc {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  color: var(--text-secondary);
  max-width: 720px;
  white-space: nowrap;  /* 描述一行显示，不换行（与关于 hero 一致） */
  opacity: 0;
  animation: abFadeIn 1s ease 0.6s forwards;
}

@keyframes abFadeIn {
  to { opacity: 1; }
}

.ab-hero__scroll {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;   /* 距描述文字 24 */
  z-index: 1;
  opacity: 0;
  animation: abFadeIn 1s ease 1s forwards;
}

.ab-hero__scroll-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.ab-hero__scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: abScrollLine 2s ease-in-out infinite;
}

@keyframes abScrollLine {
  0% { left: -100%; }
  60% { left: 0; }
  100% { left: 100%; }
}

.ab-hero__scroll-text {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-tertiary);
}

/* ===== Section (shared layout) ===== */
.ab-section {
  position: relative;
  width: 100%;
  max-width: var(--content-max);
  padding: 100px var(--content-padding) 0;  /* 模块间距 100；底部 0 由 last-child 兜底 */
  z-index: 1;
}
.ab-section:last-child {
  padding-bottom: 100px;
}

/* 能力页：紧随 hero 的第一个模块，顶部 40px 间距由 .ab-hero 的 margin-bottom 提供，避免与自身 padding-top:100 叠加 */
.ab-hero + .cap-section {
  padding-top: 0;
}

.ab-section__head {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;  /* 模块标题→本模块内容 = 48 */
  height: 32px;
}

.ab-section__eyebrow {
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
}

.ab-section__line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.ab-section__title {
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  line-height: 32px;
  color: var(--text-primary);
  text-align: right;
}

/* ===== Dark Section Variant (Stats) ===== */
.ab-section--dark {
  background: #0B0B0E;
  border-radius: 24px;
  padding: 56px 48px 64px;
  max-width: min(1040px, calc(var(--content-max) - 200px));
  margin: 0 var(--content-padding) 0;
  overflow: hidden;
  position: relative;
}

.ab-section--dark::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(230, 58, 34, 0.12) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.ab-section--dark .ab-section__index {
  color: var(--accent);
}

.ab-section--dark .ab-section__eyebrow {
  color: rgba(255, 255, 255, 0.4);
}

.ab-section--dark .ab-section__line {
  background: linear-gradient(to right, rgba(255, 255, 255, 0.1), transparent);
}

.ab-section--dark .ab-section__title {
  color: #FFFFFF;
}

/* ===== Story ===== */
.ab-story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.ab-story__left {
  position: relative;
}

.ab-story__year {
  position: absolute;
  top: -60px;
  left: -12px;
  font-family: var(--font-serif);
  font-size: clamp(100px, 12vw, 160px);
  font-weight: 900;
  line-height: 1;
  color: rgba(230, 58, 34, 0.06);
  letter-spacing: -0.04em;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

.ab-story__text {
  position: relative;
  z-index: 1;
  max-width: 540px;
}

.ab-story__lead {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.ab-story__text p {
  font-size: 15px;
  line-height: 28px;
  color: var(--text-secondary);
  font-family: "PingFang SC", var(--font-sans);
  margin-bottom: 18px;
}

.ab-story__media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
  will-change: transform;
}

.ab-story__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.ab-story__media:hover img {
  transform: scale(1.05);
}

.ab-story__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(11, 11, 14, 0.7) 100%
  );
  pointer-events: none;
}

.ab-story__tag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ab-story__tag-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
}

.ab-story__tag-year {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
}

@media (max-width: 1024px) {
  .ab-story {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ab-story__year {
    position: relative;
    top: auto;
    left: auto;
    font-size: 100px;
    margin-bottom: -30px;
  }
  .ab-story__media { aspect-ratio: 16 / 10; }
}

@media (max-width: 640px) {
  .ab-story__media { aspect-ratio: 4 / 3; }
}

/* ===== Stats (on dark background) ===== */
.ab-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.ab-stat {
  position: relative;
  padding: 36px 28px 32px;
  background: #0B0B0E;
  transition: background 0.4s ease;
}

.ab-stat:hover {
  background: rgba(230, 58, 34, 0.04);
}

.ab-stat__num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(40px, 4.5vw, 60px);
  font-weight: 900;
  line-height: 1.1;
  background: linear-gradient(135deg, #FFFFFF 0%, rgba(255, 255, 255, 0.5) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.ab-stat:hover .ab-stat__num {
  background: linear-gradient(135deg, var(--accent) 0%, #FF8A6E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ab-stat__bar {
  display: block;
  width: 32px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 1px;
  margin-bottom: 20px;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease;
}

.ab-stat:hover .ab-stat__bar {
  width: 60px;
  background: var(--accent);
}

.ab-stat__tag {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 8px;
}

.ab-stat__name {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: #FFFFFF;
  line-height: 24px;
  margin-bottom: 10px;
}

.ab-stat__desc {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 1024px) {
  .ab-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .ab-stats { grid-template-columns: 1fr; }
}

/* ===== Industries — Orbital Bubbles ===== */
/* ===== 03 — Industries: Center Quote + Floating Dark Bubbles ===== */
.ab-industries {
  position: relative;
  width: 100%;
  max-width: min(1784px, calc(var(--content-max) - 200px));
  height: 600px;
  margin: 40px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Center quote block */
.ab-industries__center {
  position: relative;
  z-index: 5;
  text-align: center;
  pointer-events: none;
  max-width: 480px;
}

.ab-industries__mark {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(64px, 9vw, 110px);
  font-weight: 900;
  line-height: 0.55;
  color: rgba(0, 0, 0, 0.07);
  margin-bottom: 16px;
  user-select: none;
}

.ab-industries__text {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.7vw, 24px);
  font-weight: 600;
  line-height: 1.85;
  color: var(--text-primary);
  margin: 0;
}

.ab-industries__line {
  display: block;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal] .ab-industries__line {
  opacity: 0;
  transform: translateY(16px);
}

[data-reveal].revealed .ab-industries__line {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal].revealed .ab-industries__line:nth-child(1) { transition-delay: 0.15s; }
[data-reveal].revealed .ab-industries__line:nth-child(2) { transition-delay: 0.35s; }
[data-reveal].revealed .ab-industries__line:nth-child(3) { transition-delay: 0.55s; }

/* Large decorative ring (matches Ellipse 25 in design — ~577px thin circle) */
.ab-industries__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 520px;
  height: 520px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(230, 58, 34, 0.08);
  z-index: 0;
  pointer-events: none;
  animation: indRingPulse 8s ease-in-out infinite;
}

@keyframes indRingPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50%      { transform: translate(-50%, -50%) scale(1.04); opacity: 1; }
}

/* Bubble container */
.ab-industries__bubble-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: visible;
  pointer-events: none;
}

/* Individual bubble — light capsule (per design: white bg, dark text, ringed dot) */
.ab-ind-bubble {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.10);
  box-shadow:
  0 2px 14px rgba(0, 0, 0, 0.05),
  inset 0 1px 0 rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  pointer-events: auto;
  cursor: default;
  box-sizing: border-box;
  /* Spawn + float up + fade out */
  animation: indBubbleRise var(--dur, 5s) cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--delay, 0s);
  opacity: 0;
  transform: translateY(var(--startY, 28px)) scale(var(--startS, 0.75));
}

/* Subtle ringed bullet on the left */
.ab-ind-bubble::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: transparent;
  flex-shrink: 0;
}

/* Size variants — capsule scales with text length */
.ab-ind-bubble--sm { font-size: 12px; padding: 6px 14px; }
.ab-ind-bubble--md { font-size: 13px; padding: 9px 18px; }
.ab-ind-bubble--lg { font-size: 14px; padding: 11px 22px; }

@keyframes indBubbleRise {
  0%   { opacity: 0;   transform: translateY(var(--startY, 28px)) scale(var(--startS, 0.75)); }
  8%   { opacity: 0.95; transform: translateY(calc(var(--startY, 28px) * 0.15)) scale(1); }
  82%  { opacity: 0.95; transform: translateY(-6px) scale(1); }
  100% { opacity: 0;   transform: translateY(-18px) scale(0.92); }
}

/* Hover effect */
.ab-ind-bubble:hover {
  background: #E63A22;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 8px 32px rgba(230, 58, 34, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  z-index: 10;
  animation-play-state: paused;
  transform: translateY(0) scale(1.08);
}

@media (max-width: 1200px) {
  .ab-industries { max-width: min(1400px, calc(var(--content-max) - 160px)); height: 540px; }
  .ab-industries__ring { width: 420px; height: 420px; }
}

@media (max-width: 768px) {
  .ab-industries { max-width: 100%; height: 500px; }
  .ab-industries__center { max-width: 300px; }
  .ab-industries__mark { font-size: 52px; margin-bottom: 10px; }
  .ab-industries__text { font-size: 15px; line-height: 1.7; }
  .ab-industries__ring { width: 320px; height: 320px; }
  .ab-ind-bubble--sm { --bs: 54px; font-size: 10px; }
  .ab-ind-bubble--md { --bs: 72px; font-size: 11px; }
  .ab-ind-bubble--lg { --bs: 90px; font-size: 12px; }
}

/* ===== Manifesto — Cinematic Full Bleed ===== */
.ab-manifesto {
  position: relative;
  width: 100%;
  max-width: min(1040px, calc(var(--content-max) - 200px));
  padding: 100px var(--content-padding);
  text-align: center;
  z-index: 1;
  overflow: hidden;
  border-radius: 24px;
  margin: 0 var(--content-padding) 0;
}

.ab-manifesto__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0B0B0E 0%, #1A1A1F 100%);
  z-index: 0;
}

.ab-manifesto__bg::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(230, 58, 34, 0.1) 0%, transparent 60%);
  border-radius: 50%;
}

.ab-manifesto__bg::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.04) 0%, transparent 60%);
  border-radius: 50%;
}

.ab-manifesto__mark {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(100px, 12vw, 180px);
  font-weight: 900;
  line-height: 0.5;
  color: rgba(230, 58, 34, 0.15);
  margin-bottom: 20px;
  user-select: none;
}

.ab-manifesto__quote {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 600;
  line-height: 1.7;
  color: #FFFFFF;
  max-width: 720px;
  margin: 0 auto 32px;
}

.ab-manifesto__line-text {
  display: inline-block;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* When section is hidden (data-reveal not yet revealed), animate line texts from invisible */
[data-reveal] .ab-manifesto__line-text {
  opacity: 0;
  transform: translateY(20px);
}

[data-reveal].revealed .ab-manifesto__line-text {
  opacity: 1;
  transform: translateY(0);
}

.ab-manifesto.revealed .ab-manifesto__line-text:nth-child(1) { transition-delay: 0.2s; }
.ab-manifesto.revealed .ab-manifesto__line-text:nth-child(3) { transition-delay: 0.4s; }
.ab-manifesto.revealed .ab-manifesto__line-text:nth-child(5) { transition-delay: 0.6s; }

.ab-manifesto__line {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 20px;
  border-radius: 1px;
}

.ab-manifesto__sig {
  position: relative;
  z-index: 1;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== Values — Premium Glass Cards ===== */
.ab-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.ab-values__card {
  position: relative;
  padding: 48px 40px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.5s ease;
  cursor: none;
}

.ab-values__card--sm {
  padding: 36px 32px;
}

.ab-values__card:hover {
  border-color: rgba(230, 58, 34, 0.15);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.06);
}

/* Light sweep follows mouse */
.ab-values__sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 58, 34, 0.08) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  z-index: 0;
}

.ab-values__card:hover .ab-values__sweep {
  opacity: 1;
}

.ab-values__num {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 900;
  color: rgba(230, 58, 34, 0.1);
  line-height: 1;
  margin-bottom: 20px;
  transition: color 0.5s ease;
}

.ab-values__card:hover .ab-values__num {
  color: rgba(230, 58, 34, 0.2);
}

.ab-values__body {
  position: relative;
  z-index: 1;
}

.ab-values__name {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.ab-values__text {
  font-size: 14px;
  line-height: 24px;
  color: var(--text-secondary);
  font-family: "PingFang SC", var(--font-sans);
}

@media (max-width: 1024px) {
  .ab-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ab-values {
    grid-template-columns: 1fr;
  }
  .ab-values__card:nth-child(1) {
    grid-column: span 1;
  }
  .ab-section--dark {
    padding: 40px 24px 48px;
  }
  .ab-manifesto {
    padding: 64px 24px;
  }
}

/* ===== Parallax utility ===== */
[data-parallax] {
  will-change: transform;
}

/* =============================================
   About page — new design (ab2-)
   ============================================= */

/* Topbar variant for about page: keep search on the right */
.topbar--about {
  /* inherits base topbar flex-end */
}

/* About page: hero goes flush to top — overlap topbar (banner bg covers it) */
.main.about-page {
  padding-top: 0;
}

/* About page: search box — white text on semi-transparent black */
.topbar--about .search {
  color: #FFFFFF;
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.25);
}

.topbar--about .search:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.5);
}

.topbar--about .search-kbd {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ----- Hero (建筑图作为大背景 + 左上角 logo + 文字与 01 故事叠层) ----- */
.ab2-hero {
  position: relative;
  width: 100%;
  max-width: calc(100vw - var(--sidebar-width));
  min-height: 600px;
  overflow: hidden;
  color: #FFFFFF;
}

.ab2-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Background cut image: full content-width banner, building on the right */
.ab2-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
  pointer-events: none;
}

/* Foreground overlay (logo + text + story sit on top of the bg image) */
.ab2-hero__overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 600px;
  /* 左右 padding = 2×content-padding，使 banner 文字左缘与下方 section 内容对齐（桌面 80px / 移动 40px from tab） */
  padding: 100px calc(2 * var(--content-padding)) 0;  /* 底部 0：下方 02 区块 padding-top:80 即构成 80px 间距，不二次叠加 */
  box-sizing: border-box;
}

.ab2-hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.ab2-hero__eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}

.ab2-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.ab2-hero__desc {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 26px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 720px;  /* 与上方 content 列宽一致，末尾对齐 */
  white-space: nowrap;  /* 描述一行显示，不换行 */
}

/* 01 — OUR STORY sits right under CAPABILITIES+title+desc, 64px gap */
.ab2-hero__story {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;  /* 与上方 content 同列宽，左右对齐 */
  margin-top: 64px;
}

/* 正文跟随 720 列宽，末尾与上方文字对齐 */
.ab2-hero__story .ab2-story {
  max-width: 100%;
}

.ab2-hero__story .ab2-section__head {
  margin-bottom: 16px;
}

.ab2-hero__story .ab2-section__eyebrow,
.ab2-hero__story .ab2-section__title {
  color: #FFFFFF;
}

.ab2-hero__story .ab2-section__line {
  background: rgba(255, 255, 255, 0.25);
}

.ab2-hero__story .ab2-story__text p {
  color: rgba(255, 255, 255, 0.82);
}

.ab2-hero__story .ab2-story__text p strong {
  color: #FFFFFF;
  font-weight: 600;
}

/* ----- Shared Section ----- */
/* about 页与能力/作品库等页一致：.main 水平居中，section 用 content-max 居中，
   内容距左侧 tab 与右侧屏均为 80px（section 40px 居中间距 + 自身 40px padding） */
.main.about-page {
  align-items: center;
}

.ab2-section {
  width: 100%;
  max-width: var(--content-max);  /* 与 .cap-section 一致：居中 + content-padding 左右内距，左右间距同能力/作品库页 */
  padding: 100px var(--content-padding) 0;  /* 上 100（标题→上方区块）；下 0（避免与下一 section 上 padding 叠加成双倍） */
}

.ab2-section:last-child {
  padding-bottom: 100px;  /* 末个模块底部留白（页面无 partners-marquee 时的兜底） */
}

/* 桌面端：合作方滚动条（partners-marquee，JS 全站注入到 .main 末尾）会作为 .ab2-section 之后的下一个元素，
   此时 VALUES 段不再是 :last-child。让「最后一个 .ab2-section」底部留 80px，
   使「末段 → PARTNERS」的间距 = 80(margin)+40+28 = 148px，与首页/作品库 .portfolio(80px) → PARTNERS 一致。 */
@media (min-width: 641px) {
  .ab2-section:last-of-type {
    padding-bottom: 80px;
  }
}

.ab2-section__head {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;  /* 标题→本模块内容区域 = 48px（所有带标题模块一致） */
  height: 32px;
}

.ab2-section__eyebrow {
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
}

.ab2-section__line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.ab2-section__title {
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  line-height: 32px;
  color: var(--text-primary);
  text-align: right;
}

/* ----- Story ----- */
.ab2-story {
  max-width: 820px;
}

.ab2-story__lead {
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.ab2-story__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ab2-story__text p {
  font-size: 13px;
  line-height: 22px;
  color: var(--text-secondary);
  font-family: "PingFang SC", var(--font-sans);
}

.ab2-story__text p strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* 01 OUR STORY 现在叠在 Hero 内部（白字），不需要独立的白底 section 样式 */

/* 间距模型（所有带标题的模块统一，数字背后 / 我们服务的行业 / 价值观 一致）：
   - 标题→上方区块 = 80px：由本 section 的 padding-top:80 控制（上一 section 的 padding-bottom 为 0，不二次叠加）
   - 标题→本模块内容 = 40px：由 .ab2-section__head 的 margin-bottom:40 控制
   不再用「上下各 40 拼 80」的写法，避免间距被算两次、代码里也读不到 80。 */

.ab2-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.ab2-stat {
  position: relative;
  min-width: 0;
  padding: 48px 36px;  /* 数字距卡片左上 48px，左右 36 略收紧避免窄屏溢出 */
  background: var(--surface-white);
  transition: background 0.25s ease;
}

/* 区块之间的竖分割线：固定 80px 高、垂直居中（替代原来的通高缝） */
.ab2-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 80px;
  background: var(--border);
  pointer-events: none;
}

.ab2-stat:hover {
  background: #FFFFFF;
}

/* 数字：单独一行，48/72，D-DIN-PRO 粗体 */
.ab2-stat__num {
  display: block;
  font-family: "D-DIN-PRO", "DIN Pro", var(--font-sans);
  font-size: 48px;
  line-height: 72px;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

/* 数字下方浅色横线：长 48，描边色，距数字 6；
   红色填充层从左到右出现（hover 时 width 0→100%） */
.ab2-stat__line {
  position: relative;
  display: block;
  width: 48px;
  height: 1px;
  margin-top: 6px;
  background: var(--border);
  overflow: hidden;
}

.ab2-stat__line::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: var(--accent);
  transition: width 0.45s ease;
}

/* CLIENTS 英文标签：12/15，距横线 44，muted 色 */
.ab2-stat__tag {
  display: block;
  margin-top: 44px;
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* 中文名：位于英文标签与描述之间，18/22，距英文 8，距描述 12 */
.ab2-stat__zh {
  display: block;
  margin-top: 8px;
  font-family: "PingFang SC", var(--font-sans);
  font-size: 18px;
  line-height: 22px;
  font-weight: 600;
  color: var(--text-primary);
}

/* 描述：14/22，距中文名 12 */
.ab2-stat__desc {
  margin-top: 12px;
  font-size: 14px;
  line-height: 22px;
  color: var(--text-secondary);
  font-family: "PingFang SC", var(--font-sans);
}

/* 悬浮某张卡片：数字变主色调，下方横线红色从左到右填充 */
.ab2-stat:hover .ab2-stat__num {
  color: var(--accent);
}

.ab2-stat:hover .ab2-stat__line::after {
  width: 100%;
}

/* ----- Industries ----- */
.ab2-industries {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0 0 8px;
}

.ab2-industries__quote {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 880px;
  pointer-events: none;
}

.ab2-industries__mark {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(72px, 9vw, 120px);
  font-weight: 900;
  line-height: 0.55;
  color: rgba(0, 0, 0, 0.06);
  margin-top: 40px;
  margin-bottom: 24px;
  user-select: none;
}

.ab2-industries__quote p {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.6vw, 32px);
  line-height: 1.875;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 60px;
}

/* ===== Industry Hover Preview (anchored to the hovered cell, clickable) ===== */
.industry-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9000;
  width: 280px;
  pointer-events: none;       /* 默认不捕获鼠标，避免 (0,0) 隐形热区在导航区误触发 show() */
  opacity: 0;
  transform: scale(0.92);
  transform-origin: center;
  transition: opacity 0.18s ease, transform 0.18s ease;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  cursor: default;
  background: var(--surface-white);
}
.industry-preview.is-visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;       /* 仅显示时可交互（移入浮层查看） */
}
.industry-preview__img {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: cover;
  background: var(--surface-mute);
}
.industry-preview__overlay {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.industry-preview__tag {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-tertiary);
}
.industry-preview__title {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--text-primary);
}
.industry-preview__cta {
  margin-top: 4px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
}
.industry-preview.is-empty .industry-preview__img { display: none; }
.industry-preview.is-empty .industry-preview__overlay { padding: 20px 16px; }
.industry-preview.is-empty .industry-preview__title { font-size: 14px; color: var(--text-secondary); }
.industry-preview.is-empty .industry-preview__cta { display: none; }

/* 17 个行业分类：整齐网格（图标 + 名称），替换随机气泡 */
.ab2-industries__grid {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  width: 100%;
  max-width: var(--content-max);
  gap: 0;
  background: var(--surface-white);
  border-radius: 8px;
  overflow: hidden;
}

.ab2-industry {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  aspect-ratio: 1 / 1;
  width: 100%;
  text-align: center;
  background: var(--surface-white);
  transition: background 0.25s ease, transform 0.25s ease;
}

.ab2-industry img {
  width: clamp(28px, 24%, 60px);
  height: clamp(28px, 24%, 60px);
  object-fit: contain;
  transition: transform 0.25s ease;
}

.ab2-industry span {
  font-size: 14px;
  line-height: 1.35;
  color: var(--text-secondary);
  transition: color 0.25s ease;
}

.ab2-industry:hover {
  background: rgba(199, 178, 153, 0.18);  /* 米棕浅底，与下方价值观玻璃卡呼应，去掉浅红 */
}

.ab2-industry:hover img {
  transform: scale(1.08);
}

.ab2-industry:hover span {
  color: var(--values-glass-title);  /* 深棕文字，呼应价值观玻璃卡，去掉红色 */
}

/* ----- Values ----- */
.ab2-values {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--content-max);  /* 1784 */
  height: 320px;
}

/* 默认 320×320 圆形，相邻 overlap 34 → 5 个排满正好 1784；白底去掉，仅描边 */
.ab2-values__card {
  position: relative;
  flex-shrink: 0;
  z-index: 1;
  width: 320px;
  height: 320px;
  border-radius: 160px;       /* 50% 圆角 = 圆形 */
  border: 1px solid var(--border);
  background: transparent;     /* 去掉白色背景，透出页面底色 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s ease,
              border-color 0.3s ease;
  overflow: hidden;
  box-sizing: border-box;
}

.ab2-values__card:not(:first-child) {
  margin-left: -34px;
}

/* featured 状态：640 宽玻璃卡，标题在图标下、右侧描述+竖分割线
   质感构成 = 左上柔光 + 米棕半透明渐变 + 背景虚化 + 白色高光描边 + 内高光/内暗边 + 大柔投影 */
.ab2-values__card--featured {
  z-index: 4;                  /* 始终压在普通卡之上 */
  width: 640px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 0 80px;            /* 图标区距左 80；描述距右 80 */
  background:
    radial-gradient(120% 150% at 14% 12%,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(255, 255, 255, 0.10) 46%,
      transparent 70%),
    linear-gradient(135deg,
      var(--values-glass-tint-1) 0%,
      var(--values-glass-tint-2) 52%,
      var(--values-glass-tint-3) 100%);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  border-color: var(--values-glass-edge);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.70),
    inset 0 -1px 1px rgba(140, 118, 92, 0.14),
    0 22px 54px var(--values-glass-shadow);
}

/* 极细噪点层：压掉大面积渐变的色带(banding)，同时给玻璃一点实体颗粒 */
.ab2-values__card--featured::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='0.6'/></svg>");
  background-size: 160px 160px;
}

/* 内容压在噪点层之上 */
.ab2-values__lead,
.ab2-values__divider,
.ab2-values__desc {
  position: relative;
  z-index: 1;
}

/* 左区域：图标(60) + 标题(20/26)，标题在图标下方，间距 14，两者水平居中对齐 */
.ab2-values__lead {
  display: flex;
  flex-direction: column;
  align-items: center;        /* 文字与图标居中对齐 */
  text-align: center;
  gap: 14px;
  flex-shrink: 0;
}

.ab2-values__icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
}
/* 玻璃版为浅色底 —— featured 沿用黑色图标（白色图标在浅玻璃上会糊掉）。
   若日后换回深色底方案，把下面两条对调即可启用白色图标。 */
.ab2-values__icon-active { display: none; }
.ab2-values__card--featured .ab2-values__icon-normal { display: block; }
.ab2-values__card--featured .ab2-values__icon-active { display: none; }

/* 名称：normal 与 featured 共用，featured 时为白色 */
.ab2-values__name {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
  color: var(--text-primary);
}
.ab2-values__card--featured .ab2-values__name { color: var(--values-glass-title); }

/* 竖分割线：描述文字与左侧图标之间，左右各留 40 */
.ab2-values__divider {
  display: none;
  width: 1px;
  height: 140px;
  margin: 0 40px;
  background: var(--values-glass-divider);
  flex-shrink: 0;
}
.ab2-values__card--featured .ab2-values__divider { display: block; }

/* 右侧描述区 */
.ab2-values__desc {
  display: none;
  flex: 1;
}
.ab2-values__card--featured .ab2-values__desc { display: block; }

.ab2-values__text {
  font-size: 14px;
  line-height: 32px;
  color: var(--values-glass-text);
  font-family: "PingFang SC", var(--font-sans);
}

/* 4 个加号图标：absolute 在容器中，由 JS 根据 featured 位置动态计算 left */
.ab2-values__plus {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  pointer-events: none;
  z-index: 0;                 /* 置于最底层：普通卡透明可透出，featured 实底自然遮盖，避免错位显示 */
  opacity: 0.5;
}

/* hover 扫光：一条浅浅的倾斜白光带，从左扫到右一次（用 animation 避免移出时反向回扫）
   放在内容之上、screen 混合，像玻璃被光照过的反光；overflow:hidden 已裁切在圆角内 */
.ab2-values__card::after {
  content: "";
  position: absolute;
  top: -20%;
  left: 0;
  width: 45%;
  height: 140%;
  transform: translateX(-180%) skewX(-15deg);
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 3;                 /* 噪点(0) < 内容(1) < 光束(3) */
  opacity: 0;
  border-radius: inherit;
}
.ab2-values__card:hover::after {
  opacity: 1;
  animation: ab2-value-shimmer 0.8s ease forwards;
}
@keyframes ab2-value-shimmer {
  0%   { transform: translateX(-180%) skewX(-15deg); }
  100% { transform: translateX(360%) skewX(-15deg); }
}

/* Responsive */
@media (max-width: 1200px) {
  .ab2-values {
    flex-wrap: wrap;
  }
  .ab2-values__card {
    flex: 1 1 calc(33.333% - 14px);
  }
  .ab2-values__card--featured {
    flex: 1 1 100%;
  }
}

@media (max-width: 1024px) {
  .ab2-hero {
    min-height: 480px;
  }
  .ab2-hero__story {
    padding-top: 48px;
  }
  .ab2-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ab2-stat:not(:last-child)::after {
    display: none;
  }
  .ab2-stat {
    padding: 40px 32px;
  }
  /* 2x2 时给左上 / 右下两张画一道不重叠的横分隔，做“四宫格”视觉 */
  .ab2-stat:nth-child(1)::after,
  .ab2-stat:nth-child(2)::after {
    display: block;
    width: calc(100% - 0px);
    height: 1px;
    left: 50%;
    right: auto;
    top: auto;
    bottom: 0;
    transform: translateX(-50%);
  }
  .ab2-stat:nth-child(3)::after,
  .ab2-stat:nth-child(4)::after {
    display: block;
    width: 1px;
    height: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }
  .ab2-values__card {
    flex: 1 1 calc(50% - 10px);
  }
  .ab2-values__card--featured {
    flex: 1 1 100%;
  }
}

@media (max-width: 640px) {
  /* ====== 04 VALUES 移动端：5 张卡改为竖排卡片列表 ======
     桌面端是 320px 固定圆卡 + 640px featured + JS overlap 布局，
     移到窄屏这套布局会溢出/错位（5×320=1600px 远超 343px 内容宽）。 */
  .ab2-values {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .ab2-values__card {
    width: 100%;
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    border-radius: 24px;
    padding: 24px 28px;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden; /* 保留以裁切 shimmer 光带 */
  }
  .ab2-values__card:not(:first-child) {
    margin-left: 0;
  }
  .ab2-values__card--featured {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 28px;
    border-radius: 24px;
  }
  /* 桌面 overlap 用的 + 号图标：移动端隐藏 */
  .ab2-values__plus {
    display: none;
  }
  /* 桌面仅 featured 展示描述；移动端所有卡都展示，方便直接阅读 */
  .ab2-values__desc {
    display: block;
    margin-top: 14px;
  }
  /* 桌面 featured 的竖分割线：移动端改为横线分隔 lead 与 desc，所有卡都显示 */
  .ab2-values__divider {
    display: block;
    width: 100%;
    height: 1px;
    margin: 16px 0;
  }
  /* 移动端 lead 改为左对齐横排（图标 + 名称），不再是居中圆内布局 */
  .ab2-values__lead {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 12px;
  }
  .ab2-values__icon {
    width: 40px;
    height: 40px;
  }
  .ab2-values__text {
    line-height: 24px;
  }

  /* ====== 02 数字区移动端：单列堆叠 ======
     桌面 4 列、≤1024 为 2×2；≤640 仍 2×2 时每张卡 ~171px，
     描述文字易溢出。改为单列后每张卡获得完整 ~343px 宽度。 */
  .ab2-stats {
    grid-template-columns: 1fr;
  }

  /* ====== 移动端文字强制换行安全网 ======
     实测发现窄屏下 CJK 长句（如"从上市企业到初创团队，覆盖证券、医疗、教育..."）
     scrollWidth 超过容器但未在汉字间断行，导致整段右溢出。默认 word-break:normal
     配合 CJK break 应可换行，但部分渲染环境/字体下不生效，故显式强制：
     word-break:break-all 允许在任何字符间断行；overflow-wrap:anywhere 同义强化。 */
  .ab2-stat__desc,
  .ab2-values__text,
  .ab2-industries__quote p,
  .ab2-hero__desc,
  .ab2-story__text p,
  .ab2-hero__title {
    word-break: break-all;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 640px) {
  .ab2-hero {
    min-height: 420px;
    padding: 0;
    box-sizing: border-box;
  }
  .ab2-hero__overlay {
    min-height: 420px;
    padding: 56px var(--content-padding) 0;  /* 左右间距与全站一致 = 20px */
  }
  .ab2-hero__story {
    padding-top: 28px;
  }
  /* 移动端：去掉与 max-width:content-max 重复的左右 16px，仅保留居中带来的单 16px，
     与上方 hero 文字左缘对齐（避免 section 标题处出现双倍 16） */
  .ab2-section {
    padding: 48px 0 40px;
  }
  /* 移动端描述允许换行，避免 white-space:nowrap 在窄屏被裁切 */
  .ab2-hero__desc {
    white-space: normal;
  }
  .ab2-section__head {
    gap: 12px;
    margin-bottom: 28px;
  }
  .ab2-section__eyebrow {
    font-size: 11px;
  }
  .ab2-section__title {
    font-size: 17px;
  }
  .ab2-stat {
    grid-template-columns: 1fr;
    padding: 32px 28px;
  }
  /* 移动端：上下两条横线作为全宽分隔，保留视觉 */
  .ab2-stat:not(:last-child)::after,
  .ab2-stat:nth-child(1)::after,
  .ab2-stat:nth-child(2)::after,
  .ab2-stat:nth-child(3)::after,
  .ab2-stat:nth-child(4)::after {
    display: block;
    width: 100%;
    height: 1px;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
  }
  .ab2-industries {
    gap: 0;
    min-height: 0;
  }
  .ab2-industries__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 100%;
  }
  .ab2-industry {
    width: 100%;
  }
  .ab2-industry img {
    width: 44px;
    height: 44px;
  }
  .ab2-values__card {
    flex: 1 1 100%;
  }
  .ab2-values__card--featured {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
}

@media (hover: none) {
  .ab2-values__card:hover {
    transform: none;
  }
}