/* =========================================================
   造物科技 · MAKER LAB
   科技公司门户：产品形态矩阵 + 作品列表
   基调：近白 + 深墨，网格与等宽字，克制的高级科技感
   ========================================================= */

:root {
  --ink: #0A1020;
  --ink-2: #1B2A3D;
  --body: #52616F;
  --muted: #8A97A5;
  --line: #E7EBF1;
  --line-soft: #F0F3F7;
  --bg: #FAFBFC;
  --card: #FFFFFF;

  --blue: #2563EB;
  --green: #07C160;
  --purple: #7C3AED;
  --amber: #F59E0B;
  --cyan: #0EA5E9;
  --pink: #EC4899;

  --grad: linear-gradient(100deg, #2563EB 0%, #7C3AED 45%, #06B6D4 100%);

  --radius: 18px;
  --radius-lg: 26px;
  --max: 1180px;

  --shadow-1: 0 1px 2px rgba(10, 16, 32, .04), 0 8px 24px -18px rgba(10, 16, 32, .3);
  --shadow-2: 0 2px 4px rgba(10, 16, 32, .04), 0 24px 48px -28px rgba(10, 16, 32, .34);

  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -.03em;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; }
svg { display: block; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.mono {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ---------- 背景网格与光斑 ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(10, 16, 32, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 16, 32, .05) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse 90% 62% at 50% 0%, #000 8%, transparent 72%);
  mask-image: radial-gradient(ellipse 90% 62% at 50% 0%, #000 8%, transparent 72%);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(560px 380px at 78% -6%, rgba(37, 99, 235, .13), transparent 65%),
    radial-gradient(520px 360px at 14% 4%, rgba(6, 182, 212, .12), transparent 68%),
    radial-gradient(600px 420px at 50% 42%, rgba(124, 58, 237, .05), transparent 70%);
  pointer-events: none;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}

.site-header.is-scrolled {
  background: rgba(250, 251, 252, .82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  transition: transform .4s var(--ease);
}
.brand-mark svg { width: 18px; height: 18px; }
.brand:hover .brand-mark { transform: rotate(-8deg); }

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name strong { font-size: 15.5px; color: var(--ink); letter-spacing: -.01em; }
.brand-name span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .18em;
  color: var(--muted);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  bottom: 3px;
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.nav a.is-active { color: var(--ink); font-weight: 600; }
.nav a.is-active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .22s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn svg { width: 16px; height: 16px; }

.btn-primary {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 10px 20px -12px rgba(10, 16, 32, .8);
}
.btn-primary:hover {
  background: #16233a;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px -14px rgba(10, 16, 32, .85);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { background: rgba(10, 16, 32, .05); }

.btn-outline {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
}
.btn-outline:hover { border-color: #C9D4E2; transform: translateY(-1px); box-shadow: var(--shadow-1); }

.btn-lg { height: 50px; padding: 0 24px; font-size: 15px; border-radius: 12px; }

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  border: 1px solid var(--line);
  background: #fff;
}
.menu-toggle span {
  display: block;
  width: 16px; height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.3px) rotate(-45deg); }

/* ---------- 首页 Hero ---------- */
.hero {
  padding: 158px 0 74px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  font-size: 12.5px;
  color: var(--ink-2);
  font-weight: 500;
  animation: riseIn .6s var(--ease) both;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(7, 193, 96, .15);
}
.hero-badge em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--muted);
}

.hero h1 {
  margin: 26px auto 0;
  max-width: 15em;
  font-size: clamp(38px, 5.6vw, 66px);
  line-height: 1.14;
  letter-spacing: -.045em;
  animation: riseIn .7s .05s var(--ease) both;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 620px;
  margin: 24px auto 0;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--body);
  animation: riseIn .7s .1s var(--ease) both;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
  animation: riseIn .7s .15s var(--ease) both;
}

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

/* 形态标签条 */
.stack-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 54px;
  animation: riseIn .7s .2s var(--ease) both;
}

.stack-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
  backdrop-filter: blur(6px);
  transition: transform .25s var(--ease), border-color .25s, background .25s;
}
.stack-chip:hover { transform: translateY(-2px); border-color: #C9D4E2; background: #fff; }
.stack-chip i {
  width: 6px; height: 6px;
  border-radius: 2px;
  background: var(--c, var(--blue));
}
.stack-chip em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .06em;
}

/* 统计 */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 660px;
  margin: 56px auto 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  animation: riseIn .7s .25s var(--ease) both;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.2;
}
.stat strong em { font-style: normal; font-size: 13px; color: var(--muted); margin-left: 2px; }
.stat span { font-size: 12.5px; color: var(--muted); }

/* ---------- 区块标题 ---------- */
.section { padding: 84px 0; }
.section-tight { padding: 56px 0 84px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 36px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--ink);
  opacity: .35;
}

.section-head h2 {
  font-size: clamp(26px, 3.1vw, 38px);
  letter-spacing: -.04em;
}

.section-note {
  max-width: 330px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  text-align: right;
  padding-bottom: 4px;
}

/* ---------- 能力矩阵 ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cap-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 22px 20px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: transform .38s var(--ease), box-shadow .38s var(--ease), border-color .3s;
}

.cap-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c), transparent 85%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}

.cap-card:hover {
  transform: translateY(-5px);
  border-color: #D8E0EA;
  box-shadow: var(--shadow-2);
}
.cap-card:hover::before { transform: scaleX(1); }

.cap-card.is-live { cursor: pointer; }

.cap-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.cap-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cap-index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: #B8C3CF;
  transition: color .3s;
}
.cap-card:hover .cap-index { color: var(--c); }

.cap-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #067647;
  background: #E9F9F0;
}
.cap-badge::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.cap-badge.is-soon { color: var(--muted); background: #F2F5F8; }

.cap-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 9%, #fff);
  border: 1px solid color-mix(in srgb, var(--c) 16%, #fff);
  margin-bottom: 18px;
  transition: transform .4s var(--ease);
}
.cap-icon svg { width: 21px; height: 21px; }
.cap-card:hover .cap-icon { transform: translateY(-2px) scale(1.04); }

.cap-card h3 {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: 19px;
  letter-spacing: -.02em;
  margin-bottom: 7px;
}
.cap-card h3 em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .14em;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
}

.cap-desc {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--body);
  flex: 1;
}

.cap-case {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
}
.cap-case span:first-child {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--muted);
  flex-shrink: 0;
}
.cap-case strong {
  color: var(--ink);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cap-enter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.cap-enter svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.cap-card:hover .cap-enter svg { transform: translateX(4px); }
.cap-card.is-live:hover .cap-enter { color: var(--c); }

/* 规划中卡片 */
.cap-card.is-soon {
  background: rgba(255, 255, 255, .5);
  border-style: dashed;
  box-shadow: none;
  cursor: default;
}
.cap-card.is-soon:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
}
.cap-card.is-soon::before { display: none; }
.cap-card.is-soon .cap-icon { opacity: .55; }
.cap-card.is-soon h3 { color: #8494A6; }
.cap-card.is-soon .cap-enter { color: #A3AFBB; font-weight: 500; }
.cap-card.is-soon .cap-desc { color: #93A1AF; }
.cap-card.is-soon .cap-case { border-top-style: dashed; }
.cap-card.is-soon .cap-case strong { color: #93A1AF; font-weight: 500; }

/* ---------- 流程 ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step {
  position: relative;
  padding: 30px 26px 32px 0;
  border-right: 1px solid var(--line);
}
.step:last-child { border-right: 0; }
.step:not(:first-child) { padding-left: 26px; }

.step-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
  margin-bottom: 14px;
  display: block;
}
.step h3 { font-size: 16.5px; margin-bottom: 7px; letter-spacing: -.01em; }
.step p { font-size: 13.5px; line-height: 1.72; color: var(--body); }

/* ---------- 关于条 ---------- */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding-top: 60px;
  border-top: 1px solid var(--line);
}
.about-strip h2 {
  font-size: clamp(25px, 2.9vw, 34px);
  letter-spacing: -.035em;
  margin-bottom: 18px;
}
.about-strip p { font-size: 15px; line-height: 1.9; }
.about-strip p + p { margin-top: 14px; }

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: start;
}
.fact {
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}
.fact strong {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -.01em;
}
.fact span { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* ---------- CTA ---------- */
.cta-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 46px 50px;
  border-radius: var(--radius-lg);
  background: #0A1020;
  overflow: hidden;
  box-shadow: 0 40px 80px -50px rgba(10, 16, 32, .9);
}
.cta-card::before {
  content: "";
  position: absolute;
  width: 560px; height: 560px;
  right: -140px; top: -280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, .55), transparent 62%);
  pointer-events: none;
}
.cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 90% 0%, #000, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 100% at 90% 0%, #000, transparent 72%);
  pointer-events: none;
}
.cta-copy { position: relative; z-index: 1; }
.cta-copy h2 {
  color: #fff;
  font-size: clamp(23px, 2.6vw, 32px);
  line-height: 1.35;
  letter-spacing: -.03em;
  margin-bottom: 10px;
}
.cta-copy p { font-size: 14.5px; color: rgba(255, 255, 255, .62); }

.cta-actions { position: relative; z-index: 1; display: flex; gap: 10px; flex-shrink: 0; }

.btn-white { color: var(--ink); background: #fff; height: 48px; padding: 0 22px; }
.btn-white:hover { background: #F2F5F9; transform: translateY(-1px); }

.btn-line {
  height: 48px;
  padding: 0 22px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
}
.btn-line:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 30px 0 40px;
  margin-top: 84px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; flex: 1; }
.footer-brand .brand-mark { width: 28px; height: 28px; border-radius: 8px; }
.footer-brand .brand-mark svg { width: 15px; height: 15px; }
.footer-brand p { font-size: 13px; color: var(--muted); }

.footer-links { display: flex; gap: 22px; }
.footer-links a { font-size: 13px; color: var(--body); transition: color .2s; }
.footer-links a:hover { color: var(--ink); }

.copyright { font-size: 12px; color: #9AA7B4; font-family: var(--mono); letter-spacing: .02em; }

/* ---------- 作品页 ---------- */
.page-hero {
  padding: 140px 0 56px;
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 30px;
}
.breadcrumb a { transition: color .2s; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb svg { width: 13px; height: 13px; opacity: .5; }
.breadcrumb span { color: var(--ink-2); }

.page-hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.page-title { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.page-icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 15px;
  color: var(--c, var(--blue));
  background: color-mix(in srgb, var(--c, var(--blue)) 9%, #fff);
  border: 1px solid color-mix(in srgb, var(--c, var(--blue)) 16%, #fff);
}
.page-icon svg { width: 25px; height: 25px; }

.page-hero h1 {
  font-size: clamp(32px, 4.2vw, 50px);
  letter-spacing: -.045em;
}
.page-hero h1 em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--muted);
  font-weight: 500;
  display: block;
  margin-top: 8px;
}

.page-desc {
  max-width: 560px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--body);
  margin-top: 14px;
}

.page-stats {
  display: flex;
  gap: 34px;
  flex-shrink: 0;
  padding-bottom: 6px;
}
.page-stat strong {
  display: block;
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.page-stat span { font-size: 12px; color: var(--muted); }

/* 作品卡 */
.work-list { padding: 64px 0 0; }

.work-card {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 0;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: box-shadow .4s var(--ease), border-color .3s;
}
.work-card:hover { box-shadow: var(--shadow-2); border-color: #D8E0EA; }

.work-body {
  padding: 40px 40px 34px;
  display: flex;
  flex-direction: column;
}

.work-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.work-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--c, var(--blue));
  background: color-mix(in srgb, var(--c, var(--blue)) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--c, var(--blue)) 15%, #fff);
  padding: 3px 9px;
  border-radius: 6px;
}
.work-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: #067647;
}
.work-status::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.work-body h2 {
  font-size: clamp(23px, 2.4vw, 30px);
  letter-spacing: -.035em;
  margin-bottom: 6px;
}
.work-sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 16px;
}
.work-body > p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--body);
}

.work-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}
.work-feats li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
}
.work-feats li::before {
  content: "";
  flex-shrink: 0;
  width: 5px; height: 5px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--c, var(--blue));
  opacity: .5;
}

.work-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 28px;
}
.work-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--ink);
  transition: background .25s, transform .25s var(--ease), box-shadow .25s;
}
.work-link:hover { background: #16233a; transform: translateY(-1px); box-shadow: 0 14px 24px -14px rgba(10,16,32,.8); }
.work-link svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.work-link:hover svg { transform: translate(2px, -2px); }

.work-hint { font-size: 12.5px; color: var(--muted); }

/* 作品预览视觉 */
.work-visual {
  position: relative;
  background:
    radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--c, var(--blue)) 10%, transparent), transparent 60%),
    linear-gradient(160deg, #F7F9FC 0%, #EEF3F8 100%);
  border-left: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 40px 34px;
  min-height: 380px;
  overflow: hidden;
}
.work-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10,16,32,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,16,32,.045) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000, transparent 78%);
}

/* 浏览器预览 */
.mock-browser {
  position: relative;
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #E3EAF2;
  box-shadow: 0 26px 50px -30px rgba(10, 16, 32, .5);
  overflow: hidden;
  transform: rotate(-1.4deg);
  transition: transform .5s var(--ease);
}
.work-card:hover .mock-browser { transform: rotate(0deg) translateY(-3px); }

.mock-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 30px;
  padding: 0 11px;
  background: #FBFCFE;
  border-bottom: 1px solid #EDF2F7;
}
.mock-dots { display: flex; gap: 4px; }
.mock-dots i { width: 6px; height: 6px; border-radius: 50%; background: #DDE5EE; }
.mock-dots i:nth-child(1) { background: #FFB3A7; }
.mock-dots i:nth-child(2) { background: #FFD79A; }
.mock-dots i:nth-child(3) { background: #A7E8C4; }
.mock-url {
  flex: 1;
  height: 16px;
  border-radius: 5px;
  background: #F2F6FA;
  display: flex;
  align-items: center;
  padding: 0 8px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .06em;
  color: #A5B4C2;
}

.mock-page { padding: 14px; }
.mock-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.mock-logo { width: 46px; height: 8px; border-radius: 3px; background: #D9E4EF; }
.mock-menu { display: flex; gap: 6px; }
.mock-menu i { width: 16px; height: 5px; border-radius: 3px; background: #E8EFF6; }

.mock-hero {
  border-radius: 10px;
  background: linear-gradient(135deg, #EAF3FF 0%, #F3F9FF 60%, #FFF4E8 100%);
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.mock-hero-copy { flex: 1; }
.mock-hero-copy span { display: block; border-radius: 3px; background: #C3D8F0; }
.mock-hero-copy span:nth-child(1) { width: 78%; height: 9px; }
.mock-hero-copy span:nth-child(2) { width: 55%; height: 6px; margin-top: 6px; background: #DCE9F7; }
.mock-pill {
  display: block;
  width: 44px; height: 14px;
  border-radius: 999px;
  margin-top: 10px;
  background: linear-gradient(135deg, #60A5FA, #2563EB);
}
.mock-art {
  width: 64px; height: 54px;
  border-radius: 8px;
  background: linear-gradient(150deg, #93C5FD, #3B82F6);
  flex-shrink: 0;
}

.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.mock-cards div { border-radius: 7px; background: #F4F8FC; border: 1px solid #EDF3F9; padding: 7px; }
.mock-cards i { display: block; height: 24px; border-radius: 5px; margin-bottom: 5px; }
.mock-cards div:nth-child(1) i { background: #DBEAFE; }
.mock-cards div:nth-child(2) i { background: #DCFCE7; }
.mock-cards div:nth-child(3) i { background: #FFEDD5; }
.mock-cards span { display: block; height: 4px; border-radius: 2px; background: #E5EDF5; }
.mock-cards span + span { margin-top: 3px; width: 60%; }

/* 手机预览 */
.mock-phone {
  position: relative;
  width: 208px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid #E3EAF2;
  box-shadow: 0 28px 52px -30px rgba(10, 16, 32, .55);
  padding: 9px;
  transform: rotate(1.6deg);
  transition: transform .5s var(--ease);
}
.work-card:hover .mock-phone { transform: rotate(0deg) translateY(-3px); }

.mock-screen {
  border-radius: 19px;
  overflow: hidden;
  background: #FFF9FB;
}
.mock-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px 0;
  font-family: var(--mono);
  font-size: 7px;
  color: #B08E9C;
}
.mock-notch {
  width: 44px; height: 9px;
  border-radius: 999px;
  background: #F4E3E9;
  margin: 4px auto 0;
}

.mock-ph-head {
  padding: 10px 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mock-ph-head strong {
  font-size: 9.5px;
  color: #8C3A56;
  font-weight: 700;
}
.mock-search {
  height: 20px;
  margin: 8px 12px 0;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #F3E1E8;
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 4px;
}
.mock-search i { width: 6px; height: 6px; border-radius: 50%; border: 1px solid #E4B9C8; }

.mock-flowers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding: 10px 12px 0;
}
.flower {
  border-radius: 9px;
  background: #fff;
  border: 1px solid #F6E7ED;
  padding: 5px;
}
.flower i {
  display: block;
  height: 44px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
.flower i::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 16px; height: 16px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, .75);
  box-shadow:
    0 -10px 0 -3px rgba(255, 255, 255, .75),
    0 10px 0 -3px rgba(255, 255, 255, .75),
    -10px 0 0 -3px rgba(255, 255, 255, .75),
    10px 0 0 -3px rgba(255, 255, 255, .75);
}
.f1 i { background: linear-gradient(150deg, #FBCFE8, #F472B6); }
.f2 i { background: linear-gradient(150deg, #FDE68A, #F59E0B); }
.f3 i { background: linear-gradient(150deg, #DDD6FE, #A78BFA); }
.f4 i { background: linear-gradient(150deg, #FECDD3, #FB7185); }
.flower span { display: block; height: 4px; width: 70%; border-radius: 2px; background: #F0DDE5; margin-top: 5px; }
.flower span + span { width: 42%; margin-top: 3px; background: #FBEDF2; }
.flower b {
  display: block;
  height: 5px;
  width: 55%;
  margin-top: 5px;
  border-radius: 2px;
  background: #F9A8C4;
}

.mock-tabbar {
  display: flex;
  justify-content: space-around;
  padding: 9px 0 7px;
  margin-top: 10px;
  background: #fff;
  border-top: 1px solid #F7E9EF;
}
.mock-tabbar i { width: 12px; height: 12px; border-radius: 3px; background: #F3E3EA; }
.mock-tabbar i:first-child { background: #EC4899; }

/* 作品页小提示 */
.work-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 26px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #F7F9FC;
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--body);
  line-height: 1.75;
}
.work-note svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: var(--muted); }
.work-note strong { color: var(--ink); font-weight: 600; }

/* 后续作品占位 */
.next-slot {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 16px;
  border: 1px dashed var(--line);
  background: rgba(255, 255, 255, .55);
}
.next-slot .plus {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #F2F5F9;
  color: #A3AFBB;
  flex-shrink: 0;
}
.next-slot .plus svg { width: 17px; height: 17px; }
.next-slot p { flex: 1; font-size: 13.5px; color: var(--muted); }
.next-slot strong { display: block; color: var(--ink-2); font-size: 14px; margin-bottom: 2px; }
.next-slot a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.next-slot a svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.next-slot a:hover svg { transform: translateX(3px); }

/* ---------- 二维码弹窗 ---------- */
.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .28s, visibility .28s;
}
.qr-modal.is-open { visibility: visible; opacity: 1; }

.qr-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 26, .5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.qr-dialog {
  position: relative;
  width: min(390px, 100%);
  padding: 32px 30px 26px;
  border-radius: 22px;
  background: #fff;
  text-align: center;
  box-shadow: 0 50px 90px -40px rgba(8, 14, 26, .7);
  transform: translateY(14px) scale(.98);
  transition: transform .36s var(--ease);
}
.qr-modal.is-open .qr-dialog { transform: translateY(0) scale(1); }

.qr-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.qr-close:hover { background: #F2F5F9; color: var(--ink); }
.qr-close svg { width: 15px; height: 15px; }

.qr-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: #067647;
  background: #E9F9F0;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.qr-dialog h3 { font-size: 20px; letter-spacing: -.02em; }
.qr-desc { margin: 8px 0 20px; font-size: 13.5px; color: var(--body); line-height: 1.7; }

.qr-frame {
  position: relative;
  width: 208px;
  margin: 0 auto;
  padding: 12px;
  border-radius: 14px;
  background: #F8FAFC;
  border: 1px solid var(--line);
}
.qr-frame canvas { width: 100%; height: auto; display: block; border-radius: 5px; }
.qr-hint {
  position: absolute;
  left: 50%;
  bottom: 5px;
  transform: translateX(-50%);
  font-size: 9.5px;
  letter-spacing: .1em;
  color: #fff;
  background: rgba(10, 16, 32, .5);
  padding: 2px 8px;
  border-radius: 999px;
  pointer-events: none;
}

.qr-tip { margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.qr-tip strong { color: var(--ink-2); }

/* ---------- 无障碍 ---------- */
.skip-link {
  position: absolute;
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  z-index: 999;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 16px);
  padding: 11px 20px;
  border-radius: 10px;
  background: rgba(10, 16, 32, .95);
  color: #fff;
  font-size: 13px;
  box-shadow: 0 20px 40px -20px rgba(10, 16, 32, .9);
  opacity: 0;
  pointer-events: none;
  transition: opacity .26s, transform .26s var(--ease);
  z-index: 300;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 滚动显现 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-strip { gap: 44px; }
  .nav { gap: 0; }
  .nav a { padding: 8px 11px; font-size: 13.5px; }
}

@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .24s, transform .24s var(--ease), visibility .24s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 11px 12px; font-size: 14.5px; border-radius: 8px; }
  .nav a::after { display: none; }
  .nav a:hover { background: #F5F8FB; }

  .nav-actions .btn-ghost { display: none; }
  .menu-toggle { display: flex; }
  .nav-inner { gap: 12px; }
  .nav-actions { margin-left: auto; }

  .hero { padding: 128px 0 56px; }
  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section-note { text-align: left; max-width: 100%; }

  .process { grid-template-columns: 1fr 1fr; }
  .step { border-bottom: 1px solid var(--line); }
  .step:nth-child(2n) { border-right: 0; }
  .step:nth-child(n+3) { border-bottom: 0; }
  .step:not(:first-child) { padding-left: 20px; }
  .step { padding-right: 20px; }

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

  .cta-card { flex-direction: column; align-items: flex-start; padding: 34px 30px; }

  .work-card { grid-template-columns: 1fr; }
  .work-visual { border-left: 0; border-top: 1px solid var(--line); min-height: 320px; padding: 34px 24px; }
  .page-hero-inner { flex-direction: column; align-items: flex-start; gap: 26px; }
  .footer-inner { flex-wrap: wrap; gap: 16px; }
  .copyright { width: 100%; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero h1 { font-size: clamp(32px, 8.6vw, 42px); }
  .hero-sub { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .stack-bar { gap: 6px; margin-top: 40px; }
  .stack-chip { height: 32px; padding: 0 12px; font-size: 12px; }
  .stack-chip em { display: none; }

  .stats { grid-template-columns: 1fr; gap: 14px; padding: 18px 0; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); padding-top: 14px; }

  .cap-grid { grid-template-columns: 1fr; }
  .cap-card { padding: 20px 18px 18px; }

  .process { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 0 !important; }
  .step:last-child { border-bottom: 0; }

  .about-facts { grid-template-columns: 1fr; }

  .cta-actions { width: 100%; flex-direction: column; }
  .cta-actions .btn { width: 100%; }

  .page-hero { padding: 116px 0 40px; }
  .page-stats { gap: 24px; }
  .work-body { padding: 26px 22px 24px; }
  .work-feats { grid-template-columns: 1fr; }
  .work-foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .work-link { justify-content: center; }
  .work-hint { text-align: center; }
  .work-visual { min-height: 280px; }
  .mock-phone { width: 180px; }
  .next-slot { flex-wrap: wrap; }
  .next-slot a { margin-left: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
