/* 星夥缘 · 个人官网（苹果风改版）
   黑白灰骨架 + 克制蓝点缀、超大标题、居中排版、大留白、细分割线、浅/深段落交替 */

:root {
  --bg: #ffffff;
  --bg-gray: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: #d2d2d7;
  --line-soft: rgba(0, 0, 0, 0.08);
  --accent: #0066cc;
  --accent-bright: #0071e3;
  --accent-hover: #0077ed;
  --panel: #f5f5f7;
  --panel-2: #e8e8ed;
  --radius: 18px;
  --shadow: 0 16px 44px rgba(0, 0, 0, 0.1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* 深色段落（作品 / 联系）：局部覆盖令牌，组件规则自动跟随 */
#works, #contact {
  background: #000000;
  color: #f5f5f7;
  --ink: #f5f5f7;
  --ink-2: #a1a1a6;
  --ink-3: #86868b;
  --line: rgba(255, 255, 255, 0.24);
  --line-soft: rgba(255, 255, 255, 0.14);
  --accent: #2997ff;
  --panel: #161617;
  --panel-2: #1d1d1f;
}

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

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(0, 113, 227, 0.22); }
img { max-width: 100%; }

/* ---------- 导航 ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  background: rgba(251, 251, 253, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line-soft);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink);
  color: #fff;
  font-size: 16px; font-weight: 700;
  border-radius: 9px;
}
.brand-name { font-size: 17px; font-weight: 600; letter-spacing: .01em; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  font-size: 14px; color: var(--ink); font-weight: 400;
  opacity: .82;
  transition: opacity .2s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.nav-cta {
  color: #fff; font-weight: 500;
  opacity: 1;
  background: var(--accent-bright);
  padding: 6px 15px;
  border-radius: 980px;
  transition: background .2s ease;
}
.nav-links a.nav-cta:hover { color: #fff; background: var(--accent-hover); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-gray);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid, .hero-glow { display: none; }
.hero-inner {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 148px 32px 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}
.hero-eyebrow {
  font-size: 16px; font-weight: 600;
  letter-spacing: .02em;
  color: var(--accent);
  margin-bottom: 26px;
}
.eyebrow-dot { display: none; }
.hero-title {
  font-size: clamp(56px, 9vw, 118px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-title .line {
  display: block;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: currentColor;
  color: inherit;
}
.hero-title .line-accent {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: currentColor;
  color: var(--accent);
}
.hero-trust {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px;
  font-size: 14.5px; font-weight: 500;
  color: var(--ink-3);
  letter-spacing: .02em;
}
.hero-trust i { font-style: normal; color: var(--line); }
.hero-role {
  margin-top: 20px;
  font-size: clamp(22px, 3.4vw, 38px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.role-sep { color: var(--ink-3); margin: 0 12px; font-weight: 400; }
.hero-sub {
  margin-top: 18px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 36em;
  text-wrap: balance;
}
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 26px;
  font-size: 16px; font-weight: 500;
  border-radius: 980px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary {
  background: var(--accent-bright);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn-ghost:hover { background: var(--accent); color: #fff; }

/* 头像卡 */
.hero-avatar { width: min(320px, 76vw); margin-top: 54px; }
.avatar-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.16);
}
.avatar-frame img {
  display: block;
  width: 100%; height: auto;
}
.avatar-frame .avatar-blur { display: none; }

/* 头像宽幅呈现（≥1200）：横向宽卡，面部不裁 */
@media (min-width: 1200px) {
  .hero-avatar { width: min(880px, 100%); margin-top: 60px; }
  .avatar-frame { aspect-ratio: 16 / 9; }
  .avatar-frame .avatar-blur { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(28px) brightness(0.94) saturate(1.15); transform: scale(1.25); }
  .avatar-frame .avatar-photo { position: relative; z-index: 1; height: 100%; object-fit: contain; }
}

/* 关于区数据带（原 Hero 数据带搬家至此：白底、发丝线分隔的安静横排） */
.about-stats {
  position: relative;
  width: 100%;
  margin: 46px auto 0;
  padding: 34px 0 2px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.about-stats::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
.stat { text-align: center; }
.stat-top {
  display: flex; align-items: baseline; justify-content: center; gap: 5px;
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.stat-unit { font-size: 17px; font-weight: 500; color: var(--ink-2); }
.stat-top-text { font-size: clamp(21px, 2.8vw, 32px); letter-spacing: -0.01em; padding-top: 6px; }
.stat-label { margin-top: 6px; font-size: 14px; color: var(--ink-3); letter-spacing: .04em; }


/* ---------- 通用区块 ---------- */
.section { padding: 130px 0; position: relative; }
.section-inner { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.section-kicker {
  font-size: 14px; font-weight: 600;
  letter-spacing: .3em;
  color: var(--accent);
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(38px, 5.4vw, 62px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.section-head { margin-bottom: 64px; text-align: center; }
.section-desc { margin: 18px auto 0; font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 42em; }

/* ---------- 关于 ---------- */
#about { background: #fff; }
.about-inner { max-width: 900px; margin-left: auto; margin-right: auto; }
.about-inner .section-kicker, .about-inner .section-title { text-align: center; }
.about-text { font-size: clamp(30px, 4.8vw, 48px); font-weight: 700; line-height: 1.42; letter-spacing: -0.01em; color: var(--ink); text-align: left; text-wrap: balance; margin-bottom: 36px; }
.about-text strong { color: var(--ink); font-weight: 700; }
.about-points { list-style: none; text-align: left; }
.about-points li {
  display: flex; gap: 18px; align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 16px; line-height: 1.65; color: var(--ink-2);
}
.about-points li:first-child { border-top: 1px solid var(--line-soft); margin-top: 22px; }
.about-points strong { flex: none; min-width: 7em; color: var(--ink); font-weight: 700; }
@media (max-width: 600px) {
  .about-points li { flex-direction: column; gap: 2px; }
}

/* ---------- 技术栈 ---------- */
#stack { background: var(--bg-gray); }
.stack-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stack-card {
  position: relative;
  padding: 40px;
  background: #fff;
  border-radius: var(--radius);
  transition: transform .3s ease, box-shadow .3s ease;
}
.stack-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stack-index {
  position: absolute; top: 26px; right: 34px;
  font-size: 30px; font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px #d2d2d7;
  line-height: 1;
}
.stack-title { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.stack-desc { margin-top: 10px; font-size: 15.5px; color: var(--ink-2); max-width: 30em; }
.chip-row { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center;
  font-size: 14.5px; font-weight: 500; color: var(--ink);
  background: var(--panel);
  border-radius: 980px;
  padding: 7px 15px;
}
.chip-core {
  background: rgba(0, 102, 204, 0.08);
  color: var(--accent);
  font-weight: 600;
}
.chip-core em {
  font-style: normal;
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  background: var(--accent-bright); color: #fff;
  border-radius: 980px;
  padding: 1.5px 8px;
  margin-left: 9px;
}

/* ---------- 作品：精选轮播（深色段） ---------- */
.showcase { position: relative; }
.showcase-viewport {
  overflow: hidden;
}
.showcase-track {
  display: flex;
  transition: transform .6s cubic-bezier(.28, .11, .32, 1);
  will-change: transform;
}
.showcase-slide {
  position: relative;
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.showcase-media {
  display: block;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 6px 22px rgba(0, 0, 0, 0.45);
  aspect-ratio: 16 / 10;
}
.showcase-media img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.showcase-slide:hover .showcase-media img { transform: scale(1.025); }
.showcase-body {
  display: flex; flex-direction: column;
  justify-content: flex-start; align-items: center;
  text-align: center;
  padding: 38px 40px 6px;
}
.showcase-index { display: none; }
.product-tag {
  display: block;
  font-size: 14px; font-weight: 600; letter-spacing: .04em;
  color: var(--accent);
  margin-bottom: 12px;
}
.showcase-name {
  display: block;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.showcase-desc { display: block; margin-top: 12px; font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.product-link {
  display: inline-flex; align-items: center; gap: 3px;
  margin-top: 18px;
  font-size: 17px; font-weight: 400;
  color: var(--accent);
}
.product-link svg { transition: transform .25s ease; }
.showcase-slide:hover .product-link svg { transform: translateX(2px); }
.showcase-slide-text {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 6px 22px rgba(0, 0, 0, 0.4);
  justify-content: center;
}
.showcase-slide-text .showcase-body { padding: 76px 48px; }
.showcase-slide-text .showcase-desc { font-size: 18px; }
.showcase-controls {
  margin-top: 30px;
  display: flex; align-items: center; justify-content: center; gap: 20px;
}
.showcase-arrow {
  width: 44px; height: 44px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.showcase-arrow:hover { background: rgba(255, 255, 255, 0.16); }
.showcase-arrow:active { transform: scale(0.94); }
.showcase-arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.showcase-dots { display: flex; align-items: center; justify-content: center; gap: 2px; flex-wrap: wrap; }
.showcase-dot {
  width: 22px; height: 22px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: none; background: none;
  cursor: pointer;
}
.showcase-dot::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.32);
  transition: width .25s ease, background .25s ease;
}
.showcase-dot:hover::after { background: rgba(255, 255, 255, 0.6); }
.showcase-dot.is-active::after { width: 20px; background: #f5f5f7; }
.showcase-dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 50%; }

/* ---------- 作品：全部产品（标签筛选） ---------- */
.works-all { margin-top: 52px; }
.works-all-toggle {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 26px;
  font-family: var(--font);
  font-size: 17px; font-weight: 600; color: var(--ink);
  background: var(--panel);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: background .2s ease;
}
.works-all-toggle:hover { background: var(--panel-2); }
.works-all-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.works-all-chevron { color: var(--ink-3); flex: none; transition: transform .25s ease; }
.works-all-toggle[aria-expanded="true"] .works-all-chevron { transform: rotate(180deg); }
.works-all-body { padding-top: 26px; }
.works-all-body[hidden] { display: none; }
.works-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.works-tab {
  font-family: var(--font);
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  padding: 8px 20px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 980px;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.works-tab:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.55); }
.works-tab.is-active { color: #000; background: #f5f5f7; border-color: #f5f5f7; }
.works-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.all-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.all-tile {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px;
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.all-tile:hover { transform: translateY(-2px); background: var(--panel-2); border-color: var(--line); }
.all-tile[hidden] { display: none; }
.all-tile-media {
  flex: none; width: 76px; height: 48px;
  border-radius: 9px; overflow: hidden;
  background: #000;
}
.all-tile-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.all-tile-initial {
  flex: none; width: 76px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 700; color: var(--accent);
  background: rgba(41, 151, 255, 0.14);
  border-radius: 9px;
}
.all-tile-text { min-width: 0; }
.all-tile-name {
  display: block;
  font-size: 15px; font-weight: 600;
  color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.all-tile-desc {
  display: block; margin-top: 2px;
  font-size: 12.5px; color: var(--ink-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- 服务（存量样式，令牌跟随） ---------- */
.open-badge {
  display: inline-block;
  vertical-align: middle;
  font-size: 14.5px; font-weight: 600; letter-spacing: .06em;
  color: #fff;
  background: var(--accent-bright);
  border-radius: 980px;
  padding: 5px 15px;
  margin-left: 12px;
  transform: translateY(-4px);
}
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative;
  padding: 38px 34px;
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-index {
  font-size: 15px; font-weight: 700; letter-spacing: .2em;
  color: var(--accent);
  margin-bottom: 18px;
}
.service-name { font-size: 24px; font-weight: 700; }
.service-desc { margin-top: 12px; font-size: 15.5px; color: var(--ink-2); }
.service-fit, .service-get, .service-flow {
  margin-top: 18px;
  font-size: 14.5px; color: var(--ink-2); line-height: 1.7;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: start;
}
.service-label {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 8px;
  margin-top: 2px;
  white-space: nowrap;
}

/* ---------- 合作流程（存量样式，令牌跟随） ---------- */
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.process-step {
  position: relative;
  padding: 30px 24px 28px;
  background: var(--panel);
  border-radius: var(--radius);
  transition: transform .3s ease, box-shadow .3s ease;
}
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.process-num {
  font-size: 36px; font-weight: 700; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.2px #c7c7cc;
}
.process-name { margin-top: 18px; font-size: 19px; font-weight: 700; line-height: 1.4; }
.process-desc { margin-top: 10px; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }

/* ---------- 常见问题（存量样式，令牌跟随） ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 920px; }
.faq-item {
  background: var(--panel);
  border-radius: 16px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 28px;
  font-size: 18px; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 26px; font-weight: 400; line-height: 1;
  color: var(--accent);
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 28px 24px; font-size: 15.5px; line-height: 1.85; color: var(--ink-2); max-width: 46em; }

/* ---------- 联系（深色段） ---------- */
.contact-inner { text-align: center; max-width: 900px; margin-left: auto; margin-right: auto; }
.contact-title { font-size: clamp(40px, 6vw, 72px); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
.contact-desc { margin: 20px auto 0; font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.contact-email {
  display: inline-block;
  margin-top: 42px;
  font-size: clamp(26px, 5.2vw, 52px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  border-bottom: 3px solid var(--accent);
  padding-bottom: 6px;
  transition: color .25s ease, border-color .25s ease;
  word-break: break-all;
}
.contact-email:hover { color: var(--accent); }
.contact-ways {
  margin-top: 48px;
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: center;
}
.contact-item {
  display: inline-flex; align-items: baseline; gap: 11px;
  padding: 13px 22px;
  background: var(--panel);
  border-radius: 980px;
}
.contact-platform { font-size: 14px; font-weight: 600; color: var(--accent); }
.contact-how { font-size: 14.5px; color: var(--ink-2); }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--line-soft); background: var(--bg-gray); }
.footer-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 52px 32px 44px;
  display: flex; flex-direction: column; gap: 26px;
}
.footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 9px 24px; }
.footer-links a { font-size: 13.5px; color: #424245; transition: color .2s ease; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-copy { font-size: 13px; color: var(--ink-3); }

/* ---------- 滚动渐入 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 1s cubic-bezier(.28, .11, .32, 1) var(--d, 0ms),
    transform 1s cubic-bezier(.28, .11, .32, 1) var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

/* 首屏 Hero 不参与滚动渐入：头像是 LCP 元素，避免渲染延迟 */
.hero .reveal { opacity: 1; transform: none; transition: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-card { max-width: 640px; }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .stack-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .section { padding: 96px 0; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .nav-inner { padding: 11px 20px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 13px; }
  .nav-links a.nav-cta { padding: 5px 13px; font-size: 13px; }
  .process-steps { grid-template-columns: 1fr; }
  .faq-item summary { padding: 19px 22px; font-size: 16.5px; }
  .faq-a { padding: 0 22px 20px; }
  .hero-inner { padding: 118px 20px 56px; }
  .about-stats { padding: 28px 0 4px; }
  .section { padding: 76px 0; }
  .section-inner { padding: 0 20px; }
  .footer-inner { padding: 44px 20px 38px; }
  .stack-card { padding: 30px 26px; }
  .btn { padding: 11px 24px; font-size: 15.5px; }
}
@media (max-width: 430px) {
  .brand-name { display: none; }
  .nav-links .nav-optional { display: none; }
  .hero-eyebrow { font-size: 14px; }
}

/* ---------- Hero 文本链 ---------- */
.hero-actions { align-items: center; }
.hero-contact-link {
  font-size: 16px; font-weight: 500;
  color: var(--accent);
  transition: color .2s ease;
}
.hero-contact-link:hover { color: var(--accent-hover); text-decoration: underline; }

/* ---------- 文章 ---------- */
#articles { background: #fff; }
.article-featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card {
  display: flex; flex-direction: column;
  padding: 30px;
  background: var(--panel);
  border-radius: var(--radius);
  transition: transform .3s ease, box-shadow .3s ease;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; letter-spacing: .06em;
  color: var(--ink-3);
}
.article-meta .meta-sep { color: var(--accent); }
.article-card-title {
  margin-top: 16px;
  font-size: 21px; font-weight: 650; line-height: 1.5;
  letter-spacing: -0.01em;
}
.article-index { margin-top: 44px; border-top: 1px solid var(--line); }
.article-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 28px;
  padding: 16px 10px;
  border-bottom: 1px solid var(--line-soft);
  transition: background .2s ease;
}
.article-row:hover { background: rgba(0, 0, 0, 0.025); }
.article-row[hidden] { display: none; }
.article-row-title { font-size: 16.5px; font-weight: 550; line-height: 1.55; transition: color .2s ease; }
.article-row:hover .article-row-title { color: var(--accent); }
.article-row-date {
  flex: none;
  font-size: 13.5px; font-weight: 500; letter-spacing: .04em;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.article-more-btn {
  margin: 30px auto 0;
  display: flex; width: fit-content;
  align-items: center; gap: 8px;
  font-family: var(--font);
  font-size: 15px; font-weight: 500; color: var(--accent);
  padding: 10px 24px;
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 980px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.article-more-btn:hover { background: var(--accent); color: #fff; }
.article-more-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.article-more-btn svg { transition: transform .25s ease; }
.article-more-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.articles-note { margin-top: 32px; font-size: 14.5px; color: var(--ink-3); letter-spacing: .02em; text-align: center; }

/* ---------- 合作 ---------- */
#cooperate { background: #fff; }
.coop-panel {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  padding: 52px;
  background: var(--panel);
  border-radius: var(--radius);
}
.coop-panel .section-kicker { margin-bottom: 12px; }
.coop-title { font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
.coop-desc { margin-top: 14px; font-size: 16px; line-height: 1.85; color: var(--ink-2); max-width: 24em; }
.coop-btn { margin-top: 26px; padding: 11px 26px; font-size: 15px; }
.coop-services { list-style: none; }
.coop-services li { padding: 15px 0; border-bottom: 1px solid var(--line-soft); }
.coop-services li:first-child { padding-top: 4px; }
.coop-services li:last-child { border-bottom: none; }
.coop-services strong { display: block; font-size: 17.5px; font-weight: 700; }
.coop-services span { display: block; margin-top: 3px; font-size: 14.5px; color: var(--ink-2); }
.coop-flow {
  margin-top: 22px;
  font-size: 15px; font-weight: 600; letter-spacing: .03em;
  color: var(--accent);
}

/* ---------- 文章页 ---------- */
.article-top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 251, 253, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
}
.article-top-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 13px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.back-link { font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color .2s ease; }
.back-link:hover { color: var(--ink); }
.article-main { max-width: 720px; margin: 0 auto; padding: 76px 24px 30px; }
.article-kicker {
  font-size: 13px; font-weight: 600;
  letter-spacing: .3em;
  color: var(--accent);
  margin-bottom: 18px;
}
.article-h1 { font-size: clamp(29px, 4.8vw, 43px); font-weight: 700; line-height: 1.32; letter-spacing: -0.015em; }
.article-page-meta {
  margin-top: 20px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 14px; color: var(--ink-3); letter-spacing: .03em;
}
.article-page-meta .meta-sep { color: var(--accent); }
.article-body { margin-top: 44px; }
.article-body p { font-size: 17px; line-height: 1.95; color: #333336; margin-bottom: 22px; }
.article-body p.article-lede { background: var(--bg-gray); border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; padding: 18px 22px; color: var(--ink); }
.article-body h2 { font-size: 23px; font-weight: 700; line-height: 1.4; color: var(--ink); margin: 46px 0 16px; letter-spacing: -0.01em; }
.article-body ul { margin: 0 0 22px; padding-left: 1.25em; }
.article-body li { font-size: 17px; line-height: 1.9; color: #333336; margin-bottom: 9px; }
.article-body strong { color: var(--ink); font-weight: 700; }
.author-card {
  margin-top: 68px;
  display: flex; gap: 20px; align-items: center;
  padding: 26px 28px;
  background: var(--panel);
  border-radius: var(--radius);
}
.author-card img { width: 66px; height: 66px; border-radius: 16px; flex: none; object-fit: cover; }
.author-name { font-size: 17px; font-weight: 600; letter-spacing: .02em; }
.author-desc { margin-top: 4px; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.author-desc a { color: var(--accent); }
.article-footer {
  margin-top: 70px;
  border-top: 1px solid var(--line);
  padding: 34px 24px 40px;
  text-align: center;
  font-size: 13.5px; color: var(--ink-3);
}

/* ---------- 响应式补充 ---------- */
@media (max-width: 1080px) {
  .article-featured { grid-template-columns: 1fr; }
  .article-card { max-width: 680px; margin-left: auto; margin-right: auto; width: 100%; }
}
@media (max-width: 900px) {
  .coop-panel { grid-template-columns: 1fr; gap: 34px; padding: 38px 34px; }
  .all-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .coop-panel { padding: 32px 26px; }
  .article-top-inner { padding: 12px 20px; }
  .article-main { padding: 54px 20px 24px; }
  .author-card { flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px; }
  .all-grid { grid-template-columns: 1fr; }
  .article-row { flex-direction: column; gap: 2px; padding: 14px 6px; }
  .showcase-body { padding: 28px 22px 4px; }
  .showcase-slide-text .showcase-body { padding: 44px 26px; }
  .showcase-controls { gap: 12px; margin-top: 22px; }
  .works-all-toggle { padding: 17px 20px; font-size: 16px; }
}

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

/* ---------- 大屏适配（≥1600 / ≥2100） ----------
   常规屏（≤1440）呈现不动；大屏逐档放宽容器、放大视觉主体，
   正文行宽保持可读范围，版面随视口舒展而非拉满边。 */
@media (min-width: 1600px) {
  .nav-inner { max-width: 1400px; }
  .article-top-inner { max-width: 1400px; }
  .footer-inner { max-width: 1400px; }

  .section { padding: 160px 0; }
  .section-inner { max-width: 1400px; }
  #works .section-inner { max-width: 1560px; }
  .section-head { margin-bottom: 72px; }
  #works .section-head { margin-bottom: 56px; }
  .section-title { font-size: 72px; }
  .section-desc { font-size: 19px; }

  .hero-inner { max-width: 1120px; padding-top: 144px; }
  .hero-eyebrow { font-size: 17px; }
  .hero-title { font-size: 134px; }
  .hero-role { font-size: 44px; }
  .hero-sub { font-size: 21px; max-width: 40em; }
  .hero-avatar { width: 1000px; }
  .stat-top { font-size: 48px; }
  .stat-top-text { font-size: 38px; }

  .showcase-body { padding: 44px 48px 8px; }
  .showcase-name { font-size: 50px; }
  .showcase-desc { font-size: 18px; }
  .showcase-slide-text .showcase-body { padding: 96px 64px; }
  .showcase-controls { margin-top: 36px; }
  .showcase-arrow { width: 48px; height: 48px; }

  .all-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }

  .stack-card { padding: 44px; }
  .stack-title { font-size: 28px; }

  .article-card { padding: 34px; }
  .article-card-title { font-size: 22px; }
  .article-row-title { font-size: 17.5px; }

  .about-inner { max-width: 940px; }
  .about-text { font-size: 54px; }

  .coop-panel { padding: 60px; gap: 64px; }
  .coop-title { font-size: 42px; }

  .contact-inner { max-width: 960px; }
  .contact-title { font-size: 84px; }
  .contact-email { font-size: 60px; }
}

@media (min-width: 2100px) {
  .nav-inner { max-width: 1620px; }
  .article-top-inner { max-width: 1620px; }
  .footer-inner { max-width: 1620px; }

  .section { padding: 190px 0; }
  .section-inner { max-width: 1620px; }
  #works .section-inner { max-width: 1800px; }
  .section-head { margin-bottom: 80px; }
  #works .section-head { margin-bottom: 64px; }
  .section-title { font-size: 82px; }
  .section-desc { font-size: 20px; }

  .hero-inner { max-width: 1400px; padding-top: 160px; }
  .hero-eyebrow { font-size: 18px; }
  .hero-title { font-size: 168px; }
  .hero-role { font-size: 52px; }
  .hero-sub { font-size: 22px; max-width: 40em; }
  .hero-avatar { width: 1240px; }
  .stat-top { font-size: 54px; }
  .stat-top-text { font-size: 42px; }
  .stat-label { font-size: 15px; }

  .showcase-body { padding: 52px 56px 10px; }
  .showcase-name { font-size: 58px; }
  .showcase-desc { font-size: 19px; }
  .showcase-slide-text .showcase-body { padding: 120px 80px; }
  .showcase-slide-text .showcase-desc { font-size: 20px; }
  .showcase-arrow { width: 54px; height: 54px; }

  .all-grid { gap: 16px; }
  .all-tile { padding: 14px 16px; }
  .all-tile-media, .all-tile-initial { width: 88px; height: 56px; }

  .stack-card { padding: 52px; }
  .stack-title { font-size: 30px; }

  .article-card { padding: 38px; }
  .article-card-title { font-size: 23px; }

  .about-inner { max-width: 980px; }
  .about-text { font-size: 56px; }

  .coop-panel { padding: 68px; }
  .coop-title { font-size: 46px; }

  .contact-inner { max-width: 1020px; }
  .contact-title { font-size: 96px; }
  .contact-email { font-size: 68px; }
}
