/* ============================================================
   limbo 个人站 —— 样式
   风格：粗野主义（硬边黑框 + 酸性绿 + 米色纸底）
   ============================================================ */

:root {
  --ink: #111;
  --paper: #edeae2;
  --acid: #c6f000;
  --muted: #5a574f;
  --muted-dark: #8a877f;
  --bw: 3px;                 /* 主边框宽度，移动端会调细 */
  --pad-x: 40px;             /* 区块横向内边距，随视口宽度调整 */

  /* 微软雅黑系黑体：字面更饱满，系统自带、零外链 */
  --font-disp: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC",
    "Hiragino Sans GB", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC",
    "Hiragino Sans GB", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC",
    "Hiragino Sans GB", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500; /* 雅黑 500 比默认 400 更扎实 */
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, blockquote, figure { margin: 0; }
ul { list-style: none; padding: 0; }
img { max-width: 100%; display: block; }

::selection { background: var(--acid); color: var(--ink); }
:focus-visible { outline: var(--bw) solid var(--ink); outline-offset: 2px; }

.disp { font-family: var(--font-disp); font-weight: 700; letter-spacing: -.02em; }
.mono { font-family: var(--font-mono); font-weight: 700; font-variant-ligatures: none; }
.upper { text-transform: uppercase; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 外壳 ---------- */

/* 通栏：内容铺满视口宽度，不做居中卡片 */
.shell {
  width: 100%;
  background: var(--paper);
}

.section { border-bottom: var(--bw) solid var(--ink); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  padding: 44px var(--pad-x) 28px;
}

.section-title {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1;
  text-transform: uppercase;
}

.section-note { font-size: 13px; color: var(--muted); }

/* ---------- 导航 ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  border-bottom: var(--bw) solid var(--ink);
  background: var(--acid);
}

/* 用 --pad-x 让 logo 左边缘和正文区块对齐 */
.nav-logo {
  display: flex;
  align-items: center;
  padding: 10px var(--pad-x);
  line-height: 0;
}
.nav-logo img {
  display: block;
  height: 52px;
  width: auto;
}

.nav-links { display: flex; align-items: stretch; }

.nav-link {
  display: flex;
  align-items: center;
  padding: 22px 20px;
  border-left: var(--bw) solid var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  transition: background .12s;
}

.nav-link:hover { background: var(--ink); color: var(--acid); }
.nav-link--cta { background: var(--ink); color: var(--acid); }
.nav-link--cta:hover { background: var(--paper); color: var(--ink); }

/* 汉堡按钮：仅移动端显示 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  border: 0;
  border-left: var(--bw) solid var(--ink);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- 跑马灯 ---------- */

.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-bottom: var(--bw) solid var(--ink);
  background: var(--ink);
  color: var(--acid);
}

.marquee-track {
  display: inline-block;
  padding: 10px 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  animation: marquee 24s linear infinite;
}

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

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 64px var(--pad-x) 48px;
  border-bottom: var(--bw) solid var(--ink);
  /* WebGL 失败 / reduced-motion 时的轻网格兜底 */
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* 内容压在 3D 背景之上 */
.hero-meta,
.hero-title,
.hero-body {
  position: relative;
  z-index: 1;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  font-size: 13px;
  color: var(--muted);
}

.hero-title {
  font-size: clamp(52px, 10vw, 132px);
  line-height: 1.22;
  letter-spacing: -.02em;
  text-transform: uppercase;
  /* 轻遮罩：粒子从字上划过时仍可读 */
  text-shadow:
    0 0 40px rgba(237, 234, 226, 0.95),
    0 0 80px rgba(237, 234, 226, 0.75);
}

/* 高亮词：文字 + 背后不规则 SVG 色块，不要方框 */
.hero-mark {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  background: none;
  box-shadow: none;
  margin: 0 .08em;
  padding: .12em .22em .18em;
  text-shadow: none;
}

.hero-mark-text {
  position: relative;
  z-index: 2;
}

.hero-blob {
  position: absolute;
  z-index: 0;
  overflow: visible;
  pointer-events: none;
}
.hero-blob path {
  fill: var(--acid);
  stroke: none;
}

/* AI：不规则斑，略歪 */
.hero-mark--ai {
  margin: 0 .16em .08em .12em;
  padding: .16em .3em .18em;
  transform: rotate(-2.5deg);
}
.hero-mark--ai .hero-blob {
  left: -22%;
  top: -20%;
  width: 144%;
  height: 140%;
  transform: rotate(4deg) scale(1.02, .96);
}

/* 业务：扁长不规则斑 + 底部双横线 */
.hero-mark--biz {
  margin: 0 .14em 0 .16em;
  padding: .12em .32em .34em;
  transform: rotate(1.2deg);
}
.hero-mark--biz .hero-blob {
  left: -12%;
  top: -16%;
  width: 124%;
  height: 128%;
  transform: rotate(-2deg) scale(1.04, .94);
}

/* 两条长短不一的手绘下划线 */
.hero-underlines {
  position: absolute;
  left: 0;
  bottom: -.06em;
  width: 100%;
  height: .42em;
  z-index: 3;
  overflow: visible;
  pointer-events: none;
}
.hero-underlines path {
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* 上线：更长、略粗 */
.hero-underlines path:first-child {
  stroke-width: 4;
  opacity: .92;
}
/* 下线：更短、略细、偏左 */
.hero-underlines path:last-child {
  stroke-width: 3;
  opacity: .78;
}

.hero-body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: end;
  margin-top: 56px;
}

.hero-lede {
  font-size: 21px;
  line-height: 1.5;
  font-weight: 500;
  max-width: 26em;
  text-shadow: 0 0 24px rgba(237, 234, 226, 0.9);
}

.hero-actions { display: flex; flex-direction: column; gap: 12px; }

@media (prefers-reduced-motion: reduce) {
  .hero-bg { display: none; }
}

/* ---------- 按钮 ---------- */

.cta {
  display: block;
  padding: 18px 24px;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: transform .1s, box-shadow .1s;
}

.cta:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }

.cta--solid { background: var(--ink); color: var(--acid); border: var(--bw) solid var(--ink); }
.cta--ghost { background: transparent; color: var(--ink); border: var(--bw) solid var(--ink); }
.cta--acid  { background: var(--acid); color: var(--ink); border: var(--bw) solid var(--ink); }

/* ---------- 数据条 ---------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: var(--bw) solid var(--ink); }

.stat { padding: 32px 28px; border-right: var(--bw) solid var(--ink); }
.stat:last-child { border-right: 0; background: var(--acid); }
.stat-num { font-size: 44px; line-height: 1; }
.stat-label { margin-top: 10px; font-size: 12px; color: var(--muted); text-transform: uppercase; }
.stat:last-child .stat-label { color: var(--ink); }

/* ---------- 服务清单 ---------- */
/* flex 布局：有无 icon 都不会把文字挤进固定窄列（线上曾缺 icon 导致 48px 竖排） */

.svc-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px var(--pad-x);
  border-top: var(--bw) solid var(--ink);
  transition: background .12s, color .12s;
}

.svc-row:hover { background: var(--ink); color: var(--paper); }
.svc-row:hover .svc-num,
.svc-row:hover .svc-arrow { color: var(--acid); }
.svc-row:hover .svc-icon {
  background: var(--acid);
  color: var(--ink);
  border-color: var(--acid);
}
.svc-row:hover .svc-arrow { transform: translateX(8px); }

.svc-num {
  flex: 0 0 auto;
  min-width: 2.2em;
  font-size: 26px;
}
.svc-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  transition: background .12s, color .12s, border-color .12s;
}
.svc-icon svg { width: 22px; height: 22px; display: block; }
.svc-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.svc-title {
  font-size: clamp(22px, 3.2vw, 36px);
  line-height: 1.2;
}
.svc-desc {
  font-size: 15px;
  line-height: 1.55;
  opacity: .72;
  max-width: 52em;
}
.svc-arrow {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 30px;
  transition: transform .12s, color .12s;
}

/* ---------- 合作流程：黑底标题 + 纸底硬边卡片 ---------- */

.process {
  border-bottom: var(--bw) solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.process-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  padding: 44px var(--pad-x) 32px;
}
.process-head-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.process-head .section-title { color: var(--acid); }
.process-head .section-note { color: var(--muted-dark); }
.process-head-aside {
  font-size: 13px;
  font-weight: 700;
  color: var(--acid);
  letter-spacing: .02em;
  padding: 10px 14px;
  border: 2px solid var(--acid);
  white-space: nowrap;
}

.process-body {
  background: var(--paper);
  color: var(--ink);
  padding: 22px var(--pad-x) 28px;
  border-top: var(--bw) solid var(--ink);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 0;
  transition: transform .12s, filter .12s;
}
.step:hover {
  transform: translate(-2px, -2px) rotate(-0.4deg);
  filter: drop-shadow(3px 3px 0 var(--ink));
}
.step:nth-child(2):hover { transform: translate(-2px, -2px) rotate(0.5deg); }
.step:nth-child(3):hover { transform: translate(-2px, -2px) rotate(-0.6deg); }
.step:nth-child(4):hover { transform: translate(-2px, -2px) rotate(0.35deg); }

/* 手绘外框：不规则填充 + 抖动描边 + 底边二次线 */
.step-frame {
  position: absolute;
  inset: -2px -3px -4px -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
.step-frame-fill {
  fill: var(--paper);
}
.step-frame-edge {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.8;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.step-frame-hatch {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  opacity: .55;
  vector-effect: non-scaling-stroke;
}
.step-frame-hatch--2 {
  stroke-width: 1.2;
  opacity: .35;
}

.step-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 36px 30px 40px;
}

.step-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--acid);
  color: var(--ink);
  margin-bottom: 18px;
  /* 略歪一点，贴合手绘卡 */
  transform: rotate(-2deg);
}
.step:nth-child(2) .step-icon { transform: rotate(1.5deg); }
.step:nth-child(3) .step-icon { transform: rotate(-1deg); }
.step:nth-child(4) .step-icon { transform: rotate(2deg); }
.step-icon svg { width: 22px; height: 22px; display: block; }
.step-n {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.step-title { margin-top: 10px; font-size: 24px; line-height: 1.15; }
.step-desc { margin-top: 12px; font-size: 14px; line-height: 1.6; opacity: .72; }

/* STEP 04 与其它卡同款纸底，不再单独上色 */

/* ---------- 案例轮播 ---------- */

.cases-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cases-nav { display: flex; gap: 8px; }

.cases-btn {
  width: 44px;
  height: 44px;
  border: var(--bw) solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background .12s, color .12s, transform .12s;
}
.cases-btn:hover {
  background: var(--ink);
  color: var(--acid);
}
.cases-btn:active { transform: translate(1px, 1px); }

.cases-carousel {
  padding: 0 var(--pad-x) 44px;
  --cases-gap: 20px;
  --cases-visible: 3;
}

.cases-viewport {
  overflow: hidden;
  container-type: inline-size;
  container-name: cases;
  /* 给 hover 位移 + 阴影留出空间，避免裁切 */
  padding: 4px 6px 14px 4px;
  margin: -4px -6px -14px -4px;
}

.cases-track {
  display: flex;
  gap: var(--cases-gap);
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.case {
  /* 相对视口宽度，而不是无限变宽的 track */
  flex: 0 0 calc((100cqi - (var(--cases-visible) - 1) * var(--cases-gap)) / var(--cases-visible));
  width: calc((100cqi - (var(--cases-visible) - 1) * var(--cases-gap)) / var(--cases-visible));
  min-width: 0;
  border: var(--bw) solid var(--ink);
  background: var(--paper);
  transition: transform .12s, box-shadow .12s;
}
.case:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }

/* 整卡可点（外链）或静态展示 */
.case-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  outline: none;
}
.case-link:focus-visible {
  outline: var(--bw) solid var(--ink);
  outline-offset: 3px;
}
.case-link--static { cursor: default; }

.case-cover {
  position: relative;
  aspect-ratio: 4 / 3;
  border-bottom: var(--bw) solid var(--ink);
  overflow: hidden;
  background: #e5e1d8;
}

/* 网页产品截图：顶对齐裁切，优先露出主标题区 */
.case-cover--shot picture,
.case-cover--shot img {
  display: block;
  width: 100%;
  height: 100%;
}
.case-cover--shot img {
  object-fit: cover;
  object-position: top center;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}
.case:hover .case-cover--shot img { transform: scale(1.045); }

/* 有声绘本偏奶油色，给封面一点氛围底色 */
.case-cover--bunny { background: #f3ecdf; }

/* iOS 竖屏：居中「手机感」展示，避免硬裁切 */
.case-cover--device {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 90% at 50% 20%, #fff8f2 0%, transparent 55%),
    linear-gradient(165deg, #faf4ee 0%, #f0e4db 52%, #e7d8ce 100%);
  padding: 14px 0 10px;
}
/* picture 不参与布局，让 img 直接受 cover 的 flex 约束 */
.case-cover--device picture { display: contents; }
.case-cover--device img {
  display: block;
  width: auto;
  height: 96%;
  max-width: 54%;
  object-fit: contain;
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgba(17, 17, 17, .08),
    0 14px 28px rgba(17, 17, 17, .16);
  transition: transform .4s cubic-bezier(.22, 1, .36, 1), box-shadow .4s ease;
}
.case:hover .case-cover--device img {
  transform: translateY(-5px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(17, 17, 17, .1),
    0 18px 34px rgba(17, 17, 17, .2);
}

.case-meta {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}
.case-tag { font-family: var(--font-mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; }
.case-title { margin-top: 8px; font-size: 22px; line-height: 1.15; }
.case-desc { margin-top: 10px; font-size: 14px; line-height: 1.55; opacity: .72; flex: 1; }

.case-cta {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--ink);
  border-bottom: 2px solid var(--acid);
  align-self: flex-start;
  transition: color .12s, border-color .12s;
}
.case:hover .case-cta:not(.case-cta--muted) {
  color: #0a0a0a;
  border-color: var(--ink);
}
.case-cta--muted {
  border-bottom-color: transparent;
  color: var(--muted);
  font-weight: 500;
}

.cases-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.cases-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.cases-dot[aria-selected="true"],
.cases-dot:hover {
  background: var(--acid);
}
.cases-dot:active { transform: scale(0.92); }

@media (prefers-reduced-motion: reduce) {
  .cases-track { transition: none; }
  .case-cover--shot img,
  .case-cover--device img { transition: none; }
  .case:hover .case-cover--shot img,
  .case:hover .case-cover--device img { transform: none; }
}

/* ---------- 关于 + 原则 ---------- */

.about { display: grid; grid-template-columns: 1.3fr 1fr; border-bottom: var(--bw) solid var(--ink); }

.about-main { padding: 44px var(--pad-x); border-right: var(--bw) solid var(--ink); }
.about-lede { margin-top: 28px; font-size: 20px; line-height: 1.55; font-weight: 500; max-width: 30em; }
.about-text { margin-top: 22px; font-size: 16px; line-height: 1.7; opacity: .75; max-width: 34em; }

.about-entity {
  margin-top: 28px;
  padding: 18px;
  border: var(--bw) solid var(--ink);
  max-width: 38em;
  display: grid;
  gap: 14px;
  background: color-mix(in srgb, var(--paper) 88%, #fff);
}
.about-entity-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.about-entity-mark {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: var(--bw) solid var(--ink);
  background: var(--acid);
  color: var(--ink);
}
.about-entity-svg {
  width: 22px;
  height: 22px;
  display: block;
}
.about-entity-head-text {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.about-entity-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .55;
}
.about-entity-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}
.about-entity-loc {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.about-entity-loc-svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}
.about-entity-scope {
  font-size: 14px;
  line-height: 1.65;
  opacity: .72;
}
.about-entity-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.about-entity-point {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 10px;
  border: 2px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  background: var(--paper);
}
.about-entity-point-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--ink);
}
.about-entity-point-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.tag {
  border: var(--bw) solid var(--ink);
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}
.tag--acid { background: var(--acid); }

.principles {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px var(--pad-x);
  background: var(--acid);
}
.principles-label { font-family: var(--font-mono); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.principles-list { margin-top: 24px; }
.principles-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-top: var(--bw) solid var(--ink);
  font-family: var(--font-disp);
  font-weight: 700;
  letter-spacing: -.02em;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.25;
}
.principles-list li:last-child { border-bottom: var(--bw) solid var(--ink); }
.principles-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  color: var(--ink);
}
.principles-icon svg { width: 100%; height: 100%; display: block; }

/* ---------- 客户评价 ---------- */

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); }

.quote {
  display: flex;
  flex-direction: column;
  padding: 32px 30px 36px;
  border-top: var(--bw) solid var(--ink);
  border-right: var(--bw) solid var(--ink);
}
.quote:last-child { border-right: 0; }
.quote-mark {
  font-family: var(--font-disp);
  font-size: 38px;
  line-height: 1;
  color: var(--acid);
  -webkit-text-stroke: 1.5px var(--ink);
}
.quote-text {
  margin: 8px 0 28px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
  flex: 1;
}
.quote-who {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}
.quote-avatar {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border: 2px solid var(--ink);
  background: var(--paper);
  object-fit: cover;
  /* 方形硬边，贴合粗野主义；SVG 自带圆底也仍好看 */
}
.quote-who-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.quote-name {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: .01em;
}
.quote-role {
  font-size: 12px;
  line-height: 1.35;
  opacity: .9;
}

/* ---------- 联系 ---------- */

.contact { background: var(--ink); color: var(--paper); border-bottom: var(--bw) solid var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; }

.contact-main { padding: 56px var(--pad-x); border-right: var(--bw) solid var(--paper); }
.contact-label { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--acid); text-transform: uppercase; }
.contact-title { margin-top: 16px; font-size: clamp(40px, 7vw, 88px); line-height: 1; text-transform: uppercase; color: var(--acid); }
.contact-text { margin-top: 24px; font-size: 18px; line-height: 1.6; opacity: .8; max-width: 26em; }

.channels { margin-top: 40px; }

.channel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-top: var(--bw) solid var(--paper);
  transition: padding-left .12s, color .12s;
}
.channel:last-child { border-bottom: var(--bw) solid var(--paper); }
a.channel:hover { padding-left: 10px; color: var(--acid); }
a.channel:hover .channel-icon {
  border-color: var(--acid);
  color: var(--acid);
}

.channel-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.channel-icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 2px solid var(--muted-dark);
  color: var(--paper);
  transition: border-color .12s, color .12s;
}
.channel-icon svg { width: 16px; height: 16px; display: block; }
.channel-icon--fill svg { width: 15px; height: 15px; }
.channel-key { font-family: var(--font-mono); font-size: 13px; color: var(--muted-dark); }
.channel-val { font-family: var(--font-disp); font-weight: 700; letter-spacing: -.02em; font-size: 20px; text-align: right; }

/* 右侧：主联系卡（浅底反差） */
.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 48px var(--pad-x);
  background: var(--paper);
  color: var(--ink);
}
.contact-card-kicker { font-family: var(--font-mono); font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.contact-card-title { font-size: clamp(32px, 4vw, 44px); line-height: 1.05; }
.contact-card-text { font-size: 15px; line-height: 1.55; opacity: .78; max-width: 28em; }

/* 微信：小码 + 文案横向并排，别占半屏 */
.wechat-box {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 420px;
  padding: 14px;
  border: var(--bw) solid var(--ink);
  background: #fff;
}

.wechat-qr {
  margin: 0;
  flex: none;
  width: 128px;
  height: 128px;
  border: 2px solid var(--ink);
  background: #fff;
  overflow: hidden;
}
.wechat-qr picture,
.wechat-qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wechat-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wechat-meta-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--muted);
}
.wechat-meta-hint {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

.copy-field {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--ink);
  background: var(--acid);
}
.copy-value {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: clamp(16px, 2.2vw, 20px);
  letter-spacing: -.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.copy-btn {
  flex: none;
  border: 0;
  border-left: 2px solid var(--ink);
  background: var(--ink);
  color: var(--acid);
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .12s, color .12s;
}
.copy-btn:hover { background: var(--acid); color: var(--ink); }
.copy-btn[data-copied="true"] { background: var(--acid); color: var(--ink); }

.contact-hint { font-family: var(--font-mono); font-size: 12px; color: var(--muted); line-height: 1.6; }

@media (max-width: 520px) {
  .wechat-box {
    flex-direction: column;
    align-items: stretch;
    max-width: none;
  }
  .wechat-qr {
    width: 140px;
    height: 140px;
    align-self: center;
  }
}

/* ---------- 页脚 ---------- */

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 28px var(--pad-x);
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-self: start;
  line-height: 0;
}
.footer-brand img {
  display: block;
  height: 36px;
  width: auto;
}
.footer-beian {
  justify-self: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  white-space: nowrap;
}
.footer-beian:hover { border-bottom: 2px solid var(--ink); }
.footer-meta {
  justify-self: end;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}

/* ---------- 404 ---------- */

.oops {
  min-height: calc(100vh - 200px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 80px var(--pad-x);
  border-bottom: var(--bw) solid var(--ink);
}
.oops-code { font-size: clamp(96px, 22vw, 260px); line-height: .82; text-transform: uppercase; }
.oops-text { font-size: 20px; line-height: 1.6; max-width: 30em; }
.oops-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.oops-actions .cta { display: inline-block; }

/* ============================================================
   响应式
   ============================================================ */

/* 超宽屏：加大留白，别让正文贴着屏幕边缘 */
@media (min-width: 1600px) {
  :root { --pad-x: 72px; }
}

@media (max-width: 1024px) {
  :root { --pad-x: 28px; }

  .hero-body { grid-template-columns: 1fr; align-items: start; gap: 32px; }
  .hero-lede { font-size: 19px; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-actions .cta { flex: 1 1 220px; }

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

  .cases-carousel { --cases-visible: 2; }

  .about { grid-template-columns: 1fr; }
  .about-main { border-right: 0; border-bottom: var(--bw) solid var(--ink); }

  .quotes { grid-template-columns: 1fr; }
  .quote { border-right: 0; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-main { border-right: 0; border-bottom: var(--bw) solid var(--paper); }
}

/* 平板 / 窄屏：导航收成汉堡，避免 4 个链接挤成一行 */
@media (max-width: 900px) {
  .nav { flex-wrap: wrap; }
  .nav-logo {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .nav-logo img { height: 44px; }
  .nav-toggle {
    display: flex;
    min-height: 56px;
    padding: 0 18px;
  }
  .nav-links {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    border-top: var(--bw) solid var(--ink);
  }
  .nav-links[data-open="true"] { display: flex; }
  .nav-link {
    border-left: 0;
    border-bottom: var(--bw) solid var(--ink);
    padding: 16px var(--pad-x);
  }
  .nav-links .nav-link:last-child { border-bottom: 0; }
}

@media (max-width: 720px) {
  :root { --bw: 2px; --pad-x: 18px; }

  html { scroll-padding-top: 64px; }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 28px var(--pad-x) 18px;
  }
  .section-title { font-size: clamp(30px, 9vw, 44px); }
  .section-note { font-size: 12px; line-height: 1.4; }

  /* 首屏：字号 / 行高 / 高亮块收一收，别撑破手机屏 */
  .hero { padding: 32px var(--pad-x) 28px; }
  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 22px;
    font-size: 11px;
    line-height: 1.45;
  }
  .hero-title {
    font-size: clamp(36px, 11.5vw, 48px);
    line-height: 1.32;
    letter-spacing: -.01em;
  }
  .hero-mark {
    margin: 0 .04em;
    padding: .08em .14em .12em;
  }
  .hero-mark--ai {
    margin: 0 .08em .02em .06em;
    padding: .1em .18em .12em;
    transform: rotate(-1.8deg);
  }
  .hero-mark--ai .hero-blob {
    left: -16%;
    top: -16%;
    width: 132%;
    height: 132%;
  }
  .hero-mark--biz {
    margin: 0 .08em 0 .1em;
    padding: .06em .18em .22em;
    transform: rotate(.8deg);
  }
  .hero-mark--biz .hero-blob {
    left: -10%;
    top: -12%;
    width: 120%;
    height: 122%;
  }
  .hero-underlines { height: .38em; bottom: -.02em; }
  .hero-underlines path:first-child { stroke-width: 2.6; }
  .hero-underlines path:last-child { stroke-width: 2; }
  .hero-body { margin-top: 28px; gap: 24px; }
  .hero-lede { font-size: 16px; line-height: 1.55; max-width: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .cta { flex: none; width: 100%; }
  .cta { padding: 16px 18px; font-size: 14px; }

  /* 数据条 2×2 */
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat {
    padding: 20px 16px;
    border-bottom: var(--bw) solid var(--ink);
  }
  .stat:nth-child(2n) { border-right: 0; }
  .stats > .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .stat-num { font-size: 30px; }
  .stat-label { font-size: 11px; line-height: 1.35; }

  /* 服务行 */
  .svc-row {
    gap: 10px;
    padding: 20px var(--pad-x);
  }
  .svc-num { min-width: 1.6em; font-size: 16px; }
  .svc-icon { width: 36px; height: 36px; }
  .svc-icon svg { width: 18px; height: 18px; }
  .svc-title { font-size: clamp(18px, 5.5vw, 24px); line-height: 1.2; }
  .svc-desc { font-size: 13px; line-height: 1.5; }
  .svc-arrow { font-size: 20px; }

  .process-head {
    padding: 32px var(--pad-x) 24px;
    align-items: flex-start;
  }
  .process-head-aside {
    white-space: normal;
    font-size: 12px;
    padding: 8px 12px;
  }
  .process-body { padding: 16px var(--pad-x) 22px; }
  .process-grid { grid-template-columns: 1fr; gap: 12px; }
  .step-inner { padding: 30px 24px 34px; }
  .step-icon { width: 40px; height: 40px; margin-bottom: 14px; }
  .step-icon svg { width: 20px; height: 20px; }
  .step-title { font-size: 22px; }
  .step-frame-edge { stroke-width: 2.4; }

  .cases-toolbar { width: 100%; justify-content: space-between; }
  .cases-carousel { --cases-visible: 1; --cases-gap: 14px; padding-bottom: 32px; }
  .case-cover { aspect-ratio: 16 / 10; }
  .case-meta { padding: 18px; }
  .case-title { font-size: 20px; }
  .case-desc { font-size: 13px; }
  .cases-btn { width: 40px; height: 40px; }

  .about-main,
  .principles { padding: 32px var(--pad-x); }
  .about-lede { font-size: 17px; margin-top: 20px; }
  .about-text { font-size: 15px; margin-top: 16px; }
  .about-entity { margin-top: 20px; padding: 14px; gap: 12px; }
  .about-entity-mark { width: 40px; height: 40px; }
  .about-entity-svg { width: 20px; height: 20px; }
  .about-entity-name { font-size: 15px; }
  .about-entity-scope { font-size: 13px; }
  .about-entity-points { grid-template-columns: 1fr; gap: 6px; }
  .about-entity-point { font-size: 12px; padding: 8px 10px; }
  .tags { gap: 8px; margin-top: 24px; }
  .tag { padding: 6px 10px; font-size: 12px; }
  .principles-list li { font-size: 18px; padding: 14px 0; gap: 12px; }
  .principles-icon { width: 24px; height: 24px; margin-top: 1px; }

  .quote { padding: 24px var(--pad-x) 28px; }
  .quote-text { font-size: 16px; margin-bottom: 20px; }

  .contact-main,
  .contact-card { padding: 36px var(--pad-x); }
  .contact-title { font-size: clamp(34px, 12vw, 48px); }
  .contact-text { font-size: 15px; margin-top: 18px; }
  .contact-card-title { font-size: clamp(26px, 8vw, 34px); }
  .channels { margin-top: 28px; }
  .channel {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 0;
  }
  .channel-icon { width: 28px; height: 28px; }
  .channel-icon svg { width: 14px; height: 14px; }
  .channel-val {
    font-size: 16px;
    text-align: left;
    word-break: break-all;
    padding-left: 40px;
  }
  a.channel:hover { padding-left: 0; }

  .footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 12px;
    padding: 24px var(--pad-x);
  }
  .footer-brand,
  .footer-beian,
  .footer-meta {
    justify-self: center;
    text-align: center;
  }
  .footer-beian { white-space: normal; }
  .footer-meta { font-size: 11px; }

  .oops { min-height: 60vh; padding: 48px var(--pad-x); }
  .oops-text { font-size: 17px; }
}

/* 超窄机（iPhone SE 等）再收一档 */
@media (max-width: 380px) {
  :root { --pad-x: 14px; }

  .hero-title { font-size: 34px; line-height: 1.34; }
  .stat-num { font-size: 26px; }
  .svc-row { gap: 8px; }
  .svc-icon { width: 32px; height: 32px; }
  .svc-icon svg { width: 16px; height: 16px; }
  .nav-logo img { height: 38px; }
}

/* 尊重系统的「减少动态效果」设置 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ============================================================
   个人版补充：文字 logo / 关于我简介 / 静态心得行
   ============================================================ */

/* 文字版导航 logo */
.nav-logo--text {
  line-height: 1;
  text-decoration: none;
}
.nav-logo-text {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-transform: lowercase;
  color: var(--ink);
}
.nav-logo-dot { color: var(--acid); }

/* 文字版页脚品牌 */
.footer-brand--text {
  line-height: 1;
  text-decoration: none;
}
.footer-brand-text {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-transform: lowercase;
  color: var(--ink);
}
.footer-brand-dot { color: var(--acid); }

/* 心得行：去掉 hover 反白（这些是笔记不是链接） */
.svc-row--static { cursor: default; }
.svc-row--static:hover { background: transparent; color: var(--ink); }
.svc-row--static:hover .svc-num { color: var(--ink); }
.svc-row--static:hover .svc-icon {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--ink);
}

/* 关于我：个人简介键值列表 */
.about-bio {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  border-top: var(--bw) solid var(--ink);
}
.about-bio-row {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 16px 0;
  border-bottom: var(--bw) solid var(--ink);
}
.about-bio-key {
  flex: 0 0 auto;
  width: 90px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
}
.about-bio-val {
  font-size: 18px;
  line-height: 1.4;
}
.about-bio-link {
  text-decoration: none;
  color: var(--ink);
  border-bottom: 2px solid var(--acid);
  transition: color .12s;
}
.about-bio-link:hover { color: var(--ink); background: var(--acid); }

@media (max-width: 900px) {
  .nav-logo-text { font-size: 20px; }
}
@media (max-width: 720px) {
  .about-bio-key { width: 72px; }
  .about-bio-val { font-size: 16px; }
}
