:root {
  --bg: #fdfaf2;          /* 整体底色 · 浅米白 */
  --bg-soft: #f6f0e1;     /* 二级底色 */
  --bg-deep: #efe6d3;     /* 三级底色 */
  --ink: #1a140a;         /* 主文字 */
  --ink-2: #4a3a20;       /* 次级文字 */
  --ink-3: #8a7a5c;       /* 三级文字 */
  --yellow: #ffcb2b;      /* 主黄色 */
  --yellow-2: #ffd84a;    /* 亮黄 */
  --yellow-deep: #f0b400; /* 深黄 */
  --line: rgba(26, 20, 10, 0.12);
  --line-2: rgba(26, 20, 10, 0.06);
  --radius: 16px;
  --shadow-sm: 0 4px 16px rgba(26, 20, 10, 0.06);
  --shadow-md: 0 12px 40px rgba(26, 20, 10, 0.08);
  --shadow-lg: 0 24px 80px rgba(26, 20, 10, 0.12);

  --f-serif: 'Times New Roman', 'Source Serif Pro', 'Noto Serif SC', 'Songti SC', serif;
  --f-sans: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --f-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  font-family: var(--f-sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
em, i { font-style: italic; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--yellow); color: var(--ink); }

.container {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

/* ---------- 排版基础 ---------- */
.section {
  position: relative;
  padding: 120px 0;
  isolation: isolate;
}
.section-tag {
  font-family: var(--f-serif);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  display: inline-flex;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 32px;
}
.section-tag .num {
  font-family: var(--f-mono);
  color: var(--ink-3);
  font-size: 12px;
}
.section-tag em {
  color: var(--ink-3);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: 4px;
}

.section-title {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.section-title .reveal { display: block; }
.section-title .italic {
  font-weight: 600;
  font-style: italic;
  position: relative;
  display: inline-block;
}
.section-title .italic::after {
  content: '';
  position: absolute;
  left: -0.05em;
  right: -0.05em;
  bottom: 0.06em;
  height: 0.32em;
  background: var(--yellow);
  z-index: -1;
  opacity: 0.85;
}

/* 滚动揭示 */
.reveal {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s cubic-bezier(0.6, 0, 0.2, 1);
  transition-delay: var(--d, 0ms);
}
.reveal-fade {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.6, 0, 0.2, 1);
  transition-delay: var(--d, 0ms);
}
.section.in-view .reveal { transform: translateY(0); }
.section.in-view .reveal-fade { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   导航
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(253, 250, 242, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 32px;
  box-shadow: 0 1px 0 var(--line);
}
.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  width: 160px;
}
.nav-menu {
  display: flex;
  gap: 50px;
  align-items: center;
}
.nav-menu a {
  font-family: var(--f-serif);
  font-size: 16px;
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s;
}
.nav-menu a.active { color: var(--yellow-deep); }
.nav-menu a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 2px;
  height: 6px;
  background: var(--yellow);
  z-index: -1;
  border-radius: 1px;
}
.nav-cta {
  font-family: var(--f-serif);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  transition: background 0.3s, transform 0.3s;
}
.nav-cta:hover { background: var(--yellow); color: var(--ink); }
.nav-cta .cta-arrow { font-size: 16px; }

.nav-burger {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.nav-burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-burger.open span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  padding: 80px 32px 32px;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--f-serif);
  font-size: 28px;
}
.mobile-menu a .num { display: none; }

@media (max-width: 960px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-burger { display: flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

/* 满屏背景 · 静态浅色渐变 */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 85% 70% at 92% 8%, #ffe8a6 0%, rgba(255, 232, 166, 0.5) 22%, transparent 60%),
    radial-gradient(ellipse 70% 70% at 8% 95%, #fffbe9 0%, transparent 65%),
    linear-gradient(135deg, #fffbf0 0%, #fff5da 45%, #fffdf6 100%);
  animation: heroBgIn 1.2s ease-out both;
}
@keyframes heroBgIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* 大柔光圆 1：固定位置，颜色淡入淡出循环（取代扫光 + 浮动） */
.hero-bg::before {
  content: '';
  position: absolute;
  top: -15%;
  left: -10%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(closest-side, rgba(255, 217, 122, 0.55) 0%, rgba(255, 217, 122, 0) 70%);
  filter: blur(40px);
  pointer-events: none;
  animation: heroColorA 14s ease-in-out infinite;
  will-change: opacity, background;
}
/* 大柔光圆 2：右下，颜色反向交替 */
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -15%;
  width: 65vw;
  height: 65vw;
  background: radial-gradient(closest-side, rgba(255, 232, 166, 0.55) 0%, rgba(255, 232, 166, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
  animation: heroColorB 14s ease-in-out infinite -7s;
  will-change: opacity, background;
}
/* 中部第三个柔光轮替：让整屏颜色顺滑过渡而不是单点闪 */
.hero-bg-stack {
  position: absolute;
  inset: -10%;
  pointer-events: none;
  z-index: 0;
}
.hero-bg-stack i {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  filter: blur(60px);
  will-change: opacity;
}
.hero-bg-stack .stack-a {
  background: radial-gradient(closest-side at 30% 30%, rgba(255, 200, 80, 0.50) 0%, transparent 70%);
  animation: heroStackIn 18s ease-in-out infinite;
}
.hero-bg-stack .stack-b {
  background: radial-gradient(closest-side at 70% 60%, rgba(255, 240, 180, 0.55) 0%, transparent 70%);
  animation: heroStackIn 18s ease-in-out infinite -9s;
}
@keyframes heroColorA {
  0%, 100% { opacity: 0.7; background: radial-gradient(closest-side, rgba(255, 217, 122, 0.55) 0%, rgba(255, 217, 122, 0) 70%); }
  33%      { opacity: 1.0; background: radial-gradient(closest-side, rgba(255, 200, 80, 0.55) 0%, rgba(255, 200, 80, 0) 70%); }
  66%      { opacity: 0.85;background: radial-gradient(closest-side, rgba(255, 240, 180, 0.50) 0%, rgba(255, 240, 180, 0) 70%); }
}
@keyframes heroColorB {
  0%, 100% { opacity: 0.7; background: radial-gradient(closest-side, rgba(255, 232, 166, 0.55) 0%, rgba(255, 232, 166, 0) 70%); }
  33%      { opacity: 1.0; background: radial-gradient(closest-side, rgba(255, 240, 180, 0.50) 0%, rgba(255, 240, 180, 0) 70%); }
  66%      { opacity: 0.85;background: radial-gradient(closest-side, rgba(255, 200, 80, 0.55) 0%, rgba(255, 200, 80, 0) 70%); }
}
@keyframes heroStackIn {
  0%, 100% { opacity: 0;   }
  50%      { opacity: 0.85;}
}

/* 背景动画画布：浅黄系有机光斑流动（JS 绘制，叠加在渐变之上、内容之下） */
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
/* 上升光点（参考 process-dots） */
.hero-dots {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.hero-dots i {
  position: absolute;
  bottom: -10px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 217, 122, 0.85) 0%,
    rgba(255, 203, 43, 0.45) 55%,
    rgba(255, 232, 166, 0) 100%);
  animation: heroDotRise 14s linear infinite;
  will-change: transform, opacity;
}
@keyframes heroDotRise {
  0%   { transform: translate3d(0, 0, 0);       opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 0.5; }
  100% { transform: translate3d(20px, -110vh, 0); opacity: 0; }
}
/* 轻微颗粒噪点：增强玻璃/纸面质感 */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");
  background-size: 140px 140px;
}

/* 首屏作品案例 */
.hero-shows {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.hero-shows-stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-shows-item {
  position: absolute;
  left: 0;
  top: 0;
  width: 200px;
  height: 200px;
  background: var(--bg-soft);
  pointer-events: auto;
  cursor: pointer;
  overflow: hidden;
  opacity: 0;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><path d='M100 0 L186.6 50 L186.6 150 L100 200 L13.4 150 L13.4 50 Z'/></svg>") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><path d='M100 0 L186.6 50 L186.6 150 L100 200 L13.4 150 L13.4 50 Z'/></svg>") center / 100% 100% no-repeat;
  filter: drop-shadow(0 10px 22px rgba(40, 30, 10, 0.18));
  translate: 0 0;
  /* 显示：小 → 大；隐藏：大 → 小（由 .is-shown 切换 --s） */
  transform: translate(-50%, -50%) scale(var(--s, 0.55)) rotate(var(--r, 0deg));
  transition: filter 0.4s ease, opacity 0.9s ease, transform 0.9s ease;
  will-change: translate, transform, opacity;
}
.hero-shows-item.is-shown {
  --s: 1;
  opacity: var(--fo, 1);
}
.hero-shows-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.6, 0, 0.2, 1), filter 0.4s ease;
  filter: saturate(0.92) contrast(1.04);
}
.hero-shows-item.is-hover {
  filter: drop-shadow(0 18px 40px rgba(40, 30, 10, 0.32));
}
.hero-shows-item.is-hover img {
  transform: scale(1.06);
  filter: saturate(1.08) brightness(1.04);
}

/* 标题中文：逐字弹入 */
.hero-title-cn .hl-ch {
  display: inline-block;
  opacity: 0;
}
.section.in-view .hero-title-cn .hl-ch {
  animation: heroCharIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--d, 0ms) + 150ms);
}
@keyframes heroCharIn {
  from { opacity: 0; transform: translateY(0.55em) scale(1.2) rotate(10deg); }
  to   { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
}

/* SCROLL 提示：上下浮动 + 端点往返滑动 */
.hero-scroll {
  animation: heroScrollFloat 3.2s ease-in-out 1.6s infinite;
}
.hero-scroll i::after {
  animation: heroScrollDot 2.4s ease-in-out infinite;
}
@keyframes heroScrollFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes heroScrollDot {
  0%, 100% { left: 0; opacity: 1; }
  50%      { left: calc(100% - 6px); opacity: 0.35; }
}

/* 内容区跟随鼠标（JS 写入 transform） */
.hero-inner {
  will-change: transform;
}

/* 跑马灯：悬停暂停 */
.hero-marquee:hover .hero-marquee-track {
  animation-play-state: paused;
}

/* 尊重系统"减弱动效"偏好 */
@media (prefers-reduced-motion: reduce) {
  .hero-bg,
  .hero-scroll,
  .hero-scroll i::after,
  .hero-title-cn .hl-ch {
    animation: none;
  }
  .hero-title-cn .hl-ch { opacity: 1; }
  .hero-shows-item { transition: none; }
}

.hero-inner {
  position: relative;
  z-index: 2;
}

/* 主标题：黄蜂视觉 */
.hero-title {
  font-family: var(--f-serif);
  font-weight: 400;
  line-height: 0.95;
  color: var(--ink);
  margin-bottom: 56px;
}
.hero-title-cn {
  display: block;
  font-family: 'Noto Serif SC', 'Songti SC', 'Times New Roman', serif;
  font-weight: 900;
  font-size: clamp(64px, 11vw, 168px);
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.hero-title-en {
  display: block;
  margin-top: 12px;
}
.hero-title-en em {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(40px, 6.4vw, 102px);
  letter-spacing: -0.01em;
  line-height: 1;
}
.hero-title-en sup {
  font-family: Georgia, serif;
  font-size: 0.28em;
  font-style: normal;
  font-weight: 400;
  margin-left: 4px;
  vertical-align: top;
  position: relative;
  top: -0.4em;
  color: var(--ink);
}

/* 副标语 */
.hero-caption {
  position: relative;
  z-index: 3;
  max-width: 520px;
}
.hero-cn-tag {
  font-family: 'Noto Serif SC', 'Songti SC', serif;
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}
.hero-cn-tag em {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 600;
}
.hero-en-tag {
  font-family: 'Space Grotesk', var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-2);
  text-transform: uppercase;
  font-weight: 500;
}

/* 左下 SCROLL */
.hero-scroll {
  position: absolute;
  left: 32px;
  bottom: 110px;
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 3;
}
.hero-scroll span {
  font-family: 'Space Grotesk', var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-2);
  font-weight: 500;
}
.hero-scroll i {
  display: block;
  width: 80px;
  height: 1px;
  background: var(--ink-2);
  position: relative;
}
.hero-scroll i::after {
  content: '';
  position: absolute;
  right: -1px;
  top: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

/* 三列数据（标题下方左侧） */
.hero-stats {
  display: flex;
  gap: 120px;
  align-items: baseline;
  position: relative;
  z-index: 3;
  margin-top: 44px;
}
.hero-stat {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.hero-stat strong {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  display: flex;
  align-items: baseline;
}
.hero-stat strong span {
  display: inline-block;
}
.hero-stat em {
  font-family: 'Space Grotesk', var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  text-transform: uppercase;
  font-weight: 500;
}

/* 底部跑马灯 */
.hero-marquee {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 80px;
  background: var(--ink);
  color: var(--yellow);
  overflow: hidden;
  z-index: 5;
  display: flex;
  align-items: center;
}
.hero-marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  will-change: transform;
}
.hero-marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.hero-marquee-group span {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.06em;
  padding: 0 32px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.hero-marquee-group span::before {
  content: '✳';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  color: var(--yellow);
  margin-right: 64px;
  opacity: 0.85;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 640px) {
  .hero-marquee { height: 76px; }
  .hero-marquee-group span { font-size: 22px; padding: 0 22px; font-weight: 700; }
  .hero-marquee-group span::before { margin-right: 40px; font-size: 13px; }
  .hero-scroll { left: 20px; bottom: 78px; }
  .hero-stats { margin-top: 22px; gap: 22px; }
  .hero-scroll i { width: 56px; }

  /* 窄屏：文字整体上移到屏幕上部（约 9%~35%H），下半屏留给缩略图
     —— 覆盖 justify-content:center（column 主轴垂直居中），从顶部排布 */
  .hero {
    justify-content: flex-start;
    padding: 72px 0 48px;
  }
  .hero-inner { margin-top: 15vh; }
  .hero-title-cn { font-size: clamp(48px, 13.8vw, 87px); line-height: 0.95; }
  .hero-title-en em { font-size: clamp(30px, 8.6vw, 55px); }
  .hero-title { margin-bottom: 18px; }
  .hero-title-en { margin-top: 4px; }
  .hero-caption { max-width: 88%; }
  .hero-cn-tag { font-size: 17px; line-height: 1.35; margin-bottom: 8px; }
  .hero-en-tag { font-size: 10px; letter-spacing: 0.14em; }
  .hero-stats { margin-top: 16px; gap: 18px; }
  .hero-stats .hero-stat strong { font-size: 32px; line-height: 1; }
  .hero-stats .hero-stat em { font-size: 11px; letter-spacing: 0.16em; }
}

.about-head {
  margin-bottom: 32px;
}
.about-head .section-tag { margin-bottom: 0; }

.about-main {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
  padding-top: 0;
}

/* 左侧：标题 + 文字 */
.about-title {
  max-width: 580px;
  margin-bottom: 36px;
  position: relative;
  padding-bottom: 18px;
}
.about-title .reveal { display: block; }

.about-copy {
  max-width: 460px;
}
.about-copy p {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.95;
  margin-bottom: 16px;
}

/* 右侧：实物图拼贴 */
.about-visual {
  position: relative;
}
.about-collage {
  position: relative;
  max-width: 520px;
  margin-left: auto;
  aspect-ratio: 1 / 1.04;
}
.collage-main,
.collage-item {
  margin: 0;
  background: var(--bg);
  border: 10px solid var(--bg);
  outline: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: absolute;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s;
}
.collage-main img,
.collage-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
/* 主图（左上） */
.collage-main {
  top: 0; left: 0;
  width: 74%;
  transform: rotate(-1.6deg);
  z-index: 2;
}
.collage-main:hover {
  transform: rotate(-1.6deg) scale(1.03);
  box-shadow: var(--shadow-lg);
}
.collage-main figcaption {
  position: absolute;
  left: -16px;
  bottom: 22px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 14px;
  padding: 8px 20px;
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
/* 包装礼盒（右下） */
.collage-package {
  right: 0;
  bottom: 2%;
  width: 46%;
  transform: rotate(2.6deg);
  z-index: 3;
}
.collage-package:hover { transform: rotate(2.6deg) scale(1.04); z-index: 4; }
/* 制作车间（左下） */
.collage-factory {
  left: -2%;
  bottom: -3%;
  width: 36%;
  transform: rotate(-3.4deg);
  z-index: 3;
}
.collage-factory:hover { transform: rotate(-3.4deg) scale(1.05); z-index: 4; }
/* 圆章 */
.collage-stamp {
  position: absolute;
  top: 4%;
  right: 6%;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.15;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(-8deg);
  z-index: 5;
  box-shadow: 0 12px 30px rgba(240, 180, 0, 0.35);
  letter-spacing: 0.02em;
}
.collage-stamp em {
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 8px;
  letter-spacing: 0.3em;
  margin-top: 2px;
  text-indent: 0.3em;
}

/* 双统计条 */
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: 720px;
}
.stat {
  padding: 40px 32px 32px;
}
.stat:nth-child(2) {
  border-left: 1px solid var(--line);
}
.stat strong {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 64px;
  font-weight: 400;
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.stat strong .plus {
  font-size: 32px;
  color: var(--yellow);
  margin-left: 4px;
  font-family: Georgia, serif;
  font-weight: 400;
}
.stat > span {
  font-family: 'Noto Serif SC', 'Songti SC', serif;
  font-size: 14px;
  color: var(--ink-3);
  margin-top: 12px;
  display: block;
}

@media (max-width: 960px) {
  .about-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-title { font-size: clamp(36px, 7vw, 56px); }
  .about-visual { min-height: auto; }
  .about-collage { max-width: 460px; margin: 0 auto; }
  .about-stats { grid-template-columns: 1fr; max-width: 100%; }
  .stat { padding: 28px 24px; }
  .stat:nth-child(2) { border-left: none; border-top: 1px solid var(--line); }
  .stat strong { font-size: 48px; }
}

@media (max-width: 640px) {
  .about-collage { max-width: 400px; }
  .collage-main { width: 78%; border-width: 7px; }
  .collage-item { border-width: 6px; }
  .collage-package { width: 46%; }
  .collage-factory { width: 36%; }
  .collage-stamp { width: 64px; height: 64px; font-size: 13px; }
  .collage-main figcaption { font-size: 12px; left: -8px; }
}

/* ==========================================================================
   SERVICES · 服务（列表 + hover 缩略图）
   ========================================================================== */
.services {
  background: var(--bg-soft);   /* 淡米白 */
  position: relative;
  overflow: hidden;
}
.services-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hex-bg {
  position: absolute;
  width: 120px;
  height: 120px;
  background: var(--yellow);
  opacity: 0.18;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.services-bg .h1 { top: 12%; left: 4%; }
.services-bg .h2 { top: 24%; right: 8%; }
.services-bg .h3 { bottom: 18%; left: 12%; }
.services-bg .h4 { bottom: 8%; right: 16%; width: 80px; height: 80px; }
.services-bg .h5 { top: 60%; left: 35%; width: 100px; height: 100px; opacity: 0.12; }
.services-bg .h6 { top: 8%; right: 32%; width: 70px; height: 70px; opacity: 0.14; }

.services-head {
  position: relative;
  z-index: 1;
  margin-bottom: 56px;
}
.services-head .section-title {
  margin-bottom: 24px;
  max-width: 820px;
}
.services-sub {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 600px;
  line-height: 1.7;
}
.services-sub em {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
  display: inline-block;
  margin-top: 4px;
}

/* 列表 */
.services-list {
  position: relative;
  border-top: 1px solid var(--line);
}
.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1.4fr 1.6fr 100px;
  gap: 24px;
  align-items: center;
  padding: 36px 12px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: padding 0.4s, color 0.4s, background 0.4s;
}
.service-row::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: var(--yellow);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s cubic-bezier(0.6, 0, 0.2, 1);
  z-index: 0;
}
.service-row:hover { padding-left: 32px; padding-right: 32px; color: var(--ink); }
.service-row:hover::before { transform: scaleY(1); }
.service-row > * { position: relative; z-index: 1; }

.row-num {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.row-name {
  font-family: var(--f-serif);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.row-name em { font-style: italic; color: var(--ink-3); margin: 0 4px; }
.row-sub { font-style: italic; font-size: 22px; color: var(--ink-2); }
.row-desc {
  font-size: 16px;
  color: var(--ink-2);
  font-style: italic;
}
.row-year {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--ink-3);
  text-align: right;
  letter-spacing: 0.04em;
}
.row-year--hot {
  background: var(--ink);
  color: var(--yellow);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.1em;
  display: inline-block;
}

/* Hover 缩略图 */
.service-preview {
  position: fixed;
  top: 0; left: 0;
  width: 360px; height: 360px;
  pointer-events: none;
  z-index: 80;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.4s, transform 0.4s;
}
.service-preview.show { opacity: 1; transform: scale(1); }
.service-preview-inner {
  width: 100%; height: 100%;
  background: var(--ink);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.preview-illu {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2a2010 0%, #4a3010 60%, #ffcb2b 130%);
}
.preview-illu[data-illu="store"] {
  background: linear-gradient(135deg, #2a1a05, #6a3a08 60%, #ffcb2b 130%);
}
.preview-illu[data-illu="store"]::before {
  content: '店';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  font-family: var(--f-serif);
  font-size: 140px;
  color: rgba(255, 203, 43, 0.85);
  font-style: italic;
}
.preview-illu[data-illu="brand"] {
  background: linear-gradient(140deg, #0a0a18, #1a1830 60%, #ffcb2b 130%);
}
.preview-illu[data-illu="brand"]::before {
  content: 'B';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  font-family: var(--f-serif);
  font-size: 180px;
  color: rgba(255, 203, 43, 0.9);
  font-style: italic;
}
.preview-illu[data-illu="exhibition"] {
  background: linear-gradient(135deg, #18101a, #3a1a40 60%, #ffcb2b 130%);
}
.preview-illu[data-illu="exhibition"]::before {
  content: '展';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  font-family: var(--f-serif);
  font-size: 140px;
  color: rgba(255, 203, 43, 0.85);
  font-style: italic;
}
.preview-illu[data-illu="package"] {
  background: linear-gradient(135deg, #1a1208, #4a2a10 60%, #ffcb2b 130%);
}
.preview-illu[data-illu="package"]::before {
  content: '包';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  font-family: var(--f-serif);
  font-size: 140px;
  color: rgba(255, 203, 43, 0.85);
  font-style: italic;
}
.preview-illu[data-illu="monthly"] {
  background: linear-gradient(135deg, #ffd84a 0%, #ffcb2b 60%, #1a140a 140%);
}
.preview-illu[data-illu="monthly"]::before {
  content: 'M';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  font-family: var(--f-serif);
  font-size: 200px;
  color: rgba(26, 20, 10, 0.9);
  font-style: italic;
  font-weight: 700;
}
.preview-illu[data-illu="digital"] {
  background: linear-gradient(160deg, #08081a, #2a1830 60%, #ffcb2b 130%);
}
.preview-illu[data-illu="digital"]::before {
  content: '数';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  font-family: var(--f-serif);
  font-size: 140px;
  color: rgba(255, 203, 43, 0.85);
  font-style: italic;
}
.preview-illu[data-illu="print"] {
  background: linear-gradient(135deg, #1a0a05, #5a2010 60%, #ffcb2b 130%);
}
.preview-illu[data-illu="print"]::before {
  content: '印';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  font-family: var(--f-serif);
  font-size: 140px;
  color: rgba(255, 203, 43, 0.85);
  font-style: italic;
}
.preview-meta {
  position: relative;
  z-index: 2;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--bg);
}
.preview-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.7;
}
.preview-name {
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 400;
}
.preview-year {
  font-family: var(--f-mono);
  font-size: 11px;
  opacity: 0.6;
}

@media (max-width: 960px) {
  .services-list { border-top: 1px solid var(--line); }
  .service-row {
    grid-template-columns: 50px 1fr auto;
    grid-template-rows: auto auto;
    gap: 12px 16px;
    padding: 24px 0;
  }
  .service-row:hover { padding-left: 12px; padding-right: 12px; }
  .row-num { grid-column: 1; grid-row: 1; }
  .row-name { grid-column: 2; grid-row: 1; }
  .row-year { grid-column: 3; grid-row: 1; align-self: center; }
  .row-desc { grid-column: 2 / span 2; grid-row: 2; }
  .row-year { text-align: right; }
  .row-name { font-size: 26px; }
  .row-sub { font-size: 18px; display: block; }
  .service-preview { display: none; }   /* 移动端不显示悬浮预览 */
}

/* ==========================================================================
   MONTHLY · 包月设计（独立区块）
   ========================================================================== */
.monthly {
  background: var(--ink);
  color: var(--bg);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.monthly::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255, 203, 43, 0.28) 0%, rgba(255, 203, 43, 0) 70%);
  z-index: 0;
  pointer-events: none;
}
.monthly::after {
  content: 'MONTHLY';
  position: absolute;
  bottom: -40px; left: -20px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(120px, 18vw, 260px);
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  white-space: nowrap;
}
.monthly .container { position: relative; z-index: 1; }
.monthly-inner {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 80px;
  align-items: center;
}
.monthly-left .section-tag { color: rgba(253, 250, 242, 0.75); }
.monthly-left .section-tag .num { color: var(--yellow); }
.monthly-left .section-tag em { color: rgba(253, 250, 242, 0.4); }

.monthly-logo {
  position: relative;
  width: 96px; height: 96px;
  margin-bottom: 36px;
}
.monthly-logo-ring {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 0 1px rgba(255, 203, 43, 0.4), 0 12px 40px rgba(255, 203, 43, 0.35);
  animation: monthlyPulse 3s ease-in-out infinite;
}
@keyframes monthlyPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 1px rgba(255, 203, 43, 0.4), 0 12px 40px rgba(255, 203, 43, 0.35); }
  50% { transform: scale(1.06); box-shadow: 0 0 0 6px rgba(255, 203, 43, 0.2), 0 16px 60px rgba(255, 203, 43, 0.5); }
}
.monthly-logo-ring::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  width: 6px; height: 6px;
  background: var(--ink);
  border-radius: 50%;
  transform: translateX(-50%);
}
.monthly-logo-w {
  font-family: var(--f-serif);
  font-size: 44px;
  font-style: italic;
  font-weight: 700;
  color: var(--ink);
  transform: translateY(2px);
}

.monthly-title { color: var(--bg); margin-bottom: 20px; }
.monthly-title .italic::after { opacity: 0.9; }
.monthly-sub {
  font-size: 16px;
  color: rgba(253, 250, 242, 0.7);
  line-height: 1.8;
  margin-bottom: 44px;
}
.monthly-sub br { display: none; }

.monthly-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(253, 250, 242, 0.12);
}
.monthly-features li {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 22px 20px 22px 0;
  border-bottom: 1px solid rgba(253, 250, 242, 0.12);
}
.monthly-features li:nth-child(odd) { border-right: 1px solid rgba(253, 250, 242, 0.12); margin-right: 28px; padding-right: 28px; }
.mf-num {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--yellow);
  letter-spacing: 0.06em;
}
.mf-body { display: flex; flex-direction: column; gap: 2px; }
.mf-body strong {
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--bg);
}
.mf-body em {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 13px;
  color: rgba(253, 250, 242, 0.5);
}

/* 右侧价格卡 */
.monthly-right { display: flex; justify-content: flex-end; }
.monthly-card {
  width: 100%;
  max-width: 360px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 20px;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.monthly-card::before {
  content: 'M';
  position: absolute;
  top: -30px; right: -10px;
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 160px;
  color: rgba(26, 20, 10, 0.08);
  line-height: 1;
  pointer-events: none;
}
.mc-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(26, 20, 10, 0.6);
}
.mc-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.mc-price em {
  font-family: var(--f-serif);
  font-size: 26px;
  font-style: italic;
}
.mc-price strong {
  font-family: var(--f-serif);
  font-size: 84px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.mc-price span {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 16px;
  color: rgba(26, 20, 10, 0.7);
}
.mc-desc {
  font-size: 14px;
  color: rgba(26, 20, 10, 0.7);
}
.mc-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 18px 22px;
  background: var(--ink);
  color: var(--yellow);
  border: none;
  border-radius: 12px;
  font-family: var(--f-serif);
  font-size: 16px;
  cursor: pointer;
  text-align: left;
  transition: transform 0.3s, background 0.3s;
}
.mc-cta span { font-size: 18px; transition: transform 0.3s; }
.mc-cta:hover { background: #33270f; transform: translateY(-2px); }
.mc-cta:hover span { transform: translate(3px, -3px); }

@media (max-width: 960px) {
  .monthly-inner { grid-template-columns: 1fr; gap: 48px; }
  .monthly-right { justify-content: flex-start; }
  .monthly-card { max-width: 100%; }
  .monthly-features { grid-template-columns: 1fr; }
  .monthly-features li:nth-child(odd) { border-right: none; margin-right: 0; padding-right: 0; }
  .monthly-logo { width: 72px; height: 72px; margin-bottom: 24px; }
  .monthly-logo-w { font-size: 34px; }
}

/* ==========================================================================
   PROCESS · 服务流程（重新设计背景）
   ========================================================================== */
.process {
  background: var(--bg-deep);          /* 浅琥珀色 */
  color: var(--ink);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* === 新背景：刻度 + 径向光 + 横向细线 === */
.process-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
/* 大块柔光（左上 + 右下两个发光中心） */
.process-bg::before {
  content: '';
  position: absolute;
  top: -200px; left: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255, 203, 43, 0.35) 0%, rgba(255, 203, 43, 0) 70%);
  filter: blur(60px);
  animation: floatLight1 16s ease-in-out infinite;
}
.process-bg::after {
  content: '';
  position: absolute;
  bottom: -200px; right: -200px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(255, 203, 43, 0.25) 0%, transparent 65%);
  filter: blur(80px);
  animation: floatLight2 22s ease-in-out infinite;
}
@keyframes floatLight1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(120px, 80px) scale(1.15); }
}
@keyframes floatLight2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-140px, -100px) scale(1.2); }
}

/* 基础刻度网格（细线，低透明） */
.process-ruler {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(26, 20, 10, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(26, 20, 10, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.7;
}
/* 顶部 + 底部刻度尺 */
.process-ruler-edge {
  position: absolute;
  left: 0; right: 0;
  height: 32px;
  background-image:
    linear-gradient(to right, rgba(26, 20, 10, 0.18) 1px, transparent 1px);
  background-size: 80px 100%;
}
.process-ruler-edge.top { top: 0; }
.process-ruler-edge.bottom { bottom: 0; transform: scaleY(-1); }

/* 3 条缓慢移动的对角光带 */
.process-stripes {
  position: absolute;
  inset: -50%;
  transform: rotate(-18deg);
  pointer-events: none;
}
.process-stripes span {
  position: absolute;
  left: -20%;
  width: 140%;
  height: 2px;
  background: linear-gradient(to right, transparent 0%, rgba(255, 203, 43, 0.55) 50%, transparent 100%);
  animation: stripeFlow 7s linear infinite;
}
.process-stripes span:nth-child(1) { top: 20%; animation-delay: 0s; }
.process-stripes span:nth-child(2) { top: 45%; animation-delay: 2.3s; }
.process-stripes span:nth-child(3) { top: 70%; animation-delay: 4.6s; }
@keyframes stripeFlow {
  from { transform: translateX(0); }
  to { transform: translateX(70%); }
}

/* 上升的小光点 */
.process-dots {
  position: absolute;
  inset: 0;
}
.process-dots i {
  position: absolute;
  width: 6px; height: 6px;
  background: var(--yellow);
  border-radius: 50%;
  bottom: -10px;
  opacity: 0;
  animation: dotRise 10s linear infinite;
  box-shadow: 0 0 12px var(--yellow);
}
@keyframes dotRise {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-110vh); opacity: 0; }
}

.process .container { position: relative; z-index: 1; }

.process-head {
  margin-bottom: 64px;
  max-width: 760px;
}
.process-head .section-title { margin-bottom: 24px; }

/* ICON 步骤网格 */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.process-item {
  padding: 44px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: background 0.4s;
}
.process-item:nth-child(3n) { border-right: none; }
.process-item:hover { background: rgba(255, 203, 43, 0.10); }
.process-icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  color: var(--ink);
  transition: background 0.4s, color 0.4s, transform 0.4s, border-color 0.4s;
}
.process-icon svg { width: 30px; height: 30px; }
.process-item:hover .process-icon {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: translateY(-4px) rotate(-4deg);
  box-shadow: 0 12px 30px rgba(240, 180, 0, 0.35);
}
.process-step-num {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  display: block;
}
.process-step-name {
  font-family: var(--f-serif);
  font-size: 22px;
  margin-bottom: 10px;
  line-height: 1.3;
  font-weight: 600;
}
.process-step-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-2);
  font-style: italic;
}

@media (max-width: 640px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-item { border-right: none; border-bottom: 1px solid var(--line); padding: 32px 0 !important; }
  .process-item:last-child { border-bottom: none; }
}

/* ==========================================================================
   WORKS · 作品（轮播）
   ========================================================================== */
.works {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.works-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.works-shape {
  position: absolute;
  top: 10%; right: -120px;
  width: 500px; height: 500px;
  background: var(--yellow);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  opacity: 0.18;
}

.works-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 32px;
  flex-wrap: wrap;
}
.works-head-left { max-width: 720px; }
.works-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}
.works-count {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.works-count em {
  font-style: normal;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
}
.works-arrows {
  display: flex;
  gap: 8px;
}
.works-arrow {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}
.works-arrow svg { width: 22px; height: 22px; }
.works-arrow:hover:not(:disabled) {
  background: var(--ink);
  color: var(--yellow);
  border-color: var(--ink);
}
.works-arrow:disabled { opacity: 0.3; cursor: not-allowed; }

.works-track-wrap {
  overflow: hidden;
  padding-bottom: 28px;
}
.works-track {
  display: flex;
  gap: 28px;
  transition: transform 0.7s cubic-bezier(0.6, 0, 0.2, 1);
  cursor: grab;
  touch-action: pan-y; /* 允许纵向滚动页面，横向手势交由 JS 处理 */
  will-change: transform;
}
.works-track:active { cursor: grabbing; }

.work-card {
  flex: 0 0 calc((100% - 56px) / 3);
  background: var(--bg);
  cursor: pointer;
  position: relative;
}
.work-num {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.work-cover {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.6, 0, 0.2, 1);
}
.work-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.7s cubic-bezier(0.6, 0, 0.2, 1);
}
.work-cover-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(10, 6, 0, 0.55), rgba(10, 6, 0, 0.08) 55%, transparent);
  pointer-events: none;
}
.work-cover-label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 3;
  color: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.work-cover-label span {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.work-cover-label strong {
  font-family: var(--f-serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.work-info {
  padding: 24px 4px 0;
}
.work-info h3 {
  font-family: var(--f-serif);
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 8px;
}
.work-info p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 16px;
}
.work-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.work-tags span {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink-2);
}

.work-card:hover .work-cover { transform: translateY(-6px); }
.work-card:hover .work-cover-img { transform: scale(1.05); }

.works-progress {
  height: 2px;
  background: var(--line);
  position: relative;
  margin-top: 12px;
}
.works-progress-bar {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 33.33%;
  background: var(--ink);
  transition: transform 0.7s cubic-bezier(0.6, 0, 0.2, 1);
}

@media (max-width: 1024px) {
  .work-card { flex: 0 0 calc((100% - 28px) / 2); }
}
@media (max-width: 640px) {
  .work-card { flex: 0 0 100%; }
  .works-head { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   CTA · 联系（合并卡片）
   ========================================================================== */
.cta {
  background: var(--ink);
  color: var(--bg);
  padding: 120px 0 48px;
}
.cta-inner { display: flex; flex-direction: column; gap: 80px; }
.cta-text {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: end;
}
.cta-text .section-tag { color: var(--ink-3); }
.cta-text .section-tag .num { color: var(--ink-3); }
.cta-text .section-tag em { color: rgba(253, 250, 242, 0.4); }
.cta-title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--bg);
}
.cta-title .italic { font-style: italic; position: relative; display: inline-block; font-weight: 600;}
.cta-title .italic::after {
  content: '';
  position: absolute;
  left: -0.04em; right: -0.04em;
  bottom: 0.06em;
  height: 0.32em;
  background: var(--yellow);
  z-index: -1;
}
.cta-sub {
  font-size: 17px;
  color: rgba(253, 250, 242, 0.7);
  margin-top: 24px;
  max-width: 520px;
  line-height: 1.7;
}
.cta-sub br + em { display: none; }

/* 联系合并块 */
.contact-block {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 0;
  background: #22180a;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 203, 43, 0.18);
}
.contact-block-left {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-block-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(253, 250, 242, 0.5);
}
.contact-block-title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--bg);
}
.contact-block-title em {
  font-style: italic;
  position: relative;
  display: inline-block;
  color: var(--yellow);
}
.contact-block-desc {
  font-size: 14px;
  color: rgba(253, 250, 242, 0.6);
  line-height: 1.7;
}
.contact-block-desc br { display: none; }
.contact-block-desc::after {
  content: '';
  display: block;
}

.phone-big {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  background: var(--yellow);
  border-radius: 14px;
  color: var(--ink);
  transition: transform 0.4s, background 0.4s;
}
.phone-big:hover { transform: translateY(-4px); background: var(--yellow-2); }
.phone-big-label {
  font-family: var(--f-mono);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  display: block;
  color: rgba(26, 20, 10, 0.7);
}
.phone-big-num {
  font-family: var(--f-serif);
  font-size: 38px;
  display: block;
  margin-top: 4px;
  letter-spacing: 0.01em;
}
.phone-big-num strong {
  font-weight: 700;
  letter-spacing: 0.02em;
}
.phone-big-icon {
  font-size: 28px;
  font-family: var(--f-serif);
  font-style: italic;
}

.contact-block-meta {
  padding-top: 16px;
  border-top: 1px solid rgba(253, 250, 242, 0.1);
}
.contact-block-meta-item {
  font-size: 13px;
}
.contact-block-meta-item em {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(253, 250, 242, 0.4);
  margin-bottom: 6px;
  font-style: normal;
}
.contact-block-meta-item strong {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 14px;
  color: var(--bg);
}

/* 右侧 QR */
.contact-block-right {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  position: relative;
}
.contact-block-right::before {
  content: '';
  position: absolute;
  top: 24px; right: 24px;
  width: 14px; height: 14px;
  background: #4a3910;
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.qr-tag {
  font-family: var(--f-mono);
  font-size: 16px;
  letter-spacing: 0.12em;
}
.qrcode {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: var(--bg);
  border-radius: 14px;
  padding: 22px;
  position: relative;
}
.qrcode-hint {
  font-size: 16px;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.qr-dot {
  width: 6px; height: 6px;
  background: var(--yellow-deep);
  border-radius: 50%;
  display: inline-block;
  font-style: normal;
  position: relative;
  box-shadow: 0 0 0 3px rgba(240, 180, 0, 0.2);
}
.qrcode-foot {
  font-family: var(--f-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: rgba(26, 20, 10, 0.5);
  text-transform: uppercase;
}

.cta-bottom {
  text-align: center;
  padding-top: 56px;
  border-top: 1px solid rgba(253, 250, 242, 0.08);
  font-size: 12px;
  color: rgba(253, 250, 242, 0.5);
  font-family: var(--f-mono);
  letter-spacing: 0.08em;
}

@media (max-width: 960px) {
  .cta-text { grid-template-columns: 1fr; gap: 32px; }
  .contact-block { grid-template-columns: 1fr; }
  .contact-block-left, .contact-block-right { padding: 40px 28px; }
  .contact-block-meta { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   弹窗
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.modal.show { opacity: 1; pointer-events: all; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 20, 10, 0.74);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal-panel {
  position: relative;
  width: 100%;
  max-width: 880px;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  background: var(--bg);
  border-radius: 16px;
  padding: 64px;
  transform: scale(0.94) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.6, 0, 0.2, 1);
}
.modal.show .modal-panel { transform: scale(1) translateY(0); }
.modal-panel--lg { max-width: 1080px; }
.modal-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-size: 24px;
  font-family: var(--f-serif);
  line-height: 1;
  transition: transform 0.3s, background 0.3s;
  z-index: 10;
}
.modal-close:hover { transform: rotate(90deg); background: var(--yellow); color: var(--ink); }

/* 服务弹窗 */
.service-modal-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 32px;
  margin-bottom: 32px;
}
.service-modal-num {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
}
.service-modal-title {
  font-family: var(--f-serif);
  font-size: 42px;
  font-weight: 600;
  margin: 8px 0 16px;
  letter-spacing: -0.01em;
}
.service-modal-title em {
  font-style: italic;
  color: var(--ink-3);
  margin: 0 6px;
}
.service-modal-tag {
  font-family: var(--f-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  padding: 8px 15px;
  background: var(--yellow);
  border-radius: 999px;
}
.service-modal-desc {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 40px;
}
.service-modal-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 40px;
}
.service-modal-list-item {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 24px;
  transition: background 0.3s, transform 0.3s;
}
.service-modal-list-item:hover { background: var(--yellow); transform: translateY(-2px); }
.service-modal-list-item strong {
  display: block;
  font-family: var(--f-serif);
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 500;
}
.service-modal-list-item span {
  font-size: 13px;
  color: var(--ink-2);
  font-style: italic;
}
.service-modal-flow {
  background: var(--ink);
  color: var(--bg);
  padding: 24px 28px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
}
.service-modal-flow span:first-child { font-style: italic; opacity: 0.7; margin-right: 8px; }
.service-modal-flow strong {
  font-family: var(--f-serif);
  font-size: 16px;
  font-weight: 500;
}
.service-modal-flow .arrow {
  color: var(--yellow);
  font-size: 16px;
}

/* 包月套餐弹窗 */
.monthly-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.monthly-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px 28px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.monthly-plan-card:hover {
  transform: translateY(-4px);
  border-color: var(--yellow);
  box-shadow: 0 16px 40px rgba(26, 20, 10, 0.08);
}
.monthly-plan-card.is-hot {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.monthly-plan-flag {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  padding: 8px 16px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.08em;
  border-radius: 999px;
  white-space: nowrap;
}
.monthly-plan-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}
.monthly-plan-head h3 {
  font-family: var(--f-serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
}
.monthly-plan-head em {
  font-family: var(--f-mono);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}
.is-hot .monthly-plan-head em { color: rgba(255, 255, 255, 0.5); }
.monthly-plan-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.is-hot .monthly-plan-desc { color: rgba(255, 255, 255, 0.65); }
.monthly-plan-images {
  width: fit-content;
  padding: 5px 10px;
  border: 1px dashed var(--ink-3);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.is-hot .monthly-plan-images {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--yellow);
}
.monthly-plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 20px;
}
.monthly-plan-price em {
  font-size: 20px;
  font-style: normal;
  color: var(--ink-2);
}
.monthly-plan-price strong {
  font-family: var(--f-serif);
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}
.monthly-plan-price span {
  font-size: 13px;
  color: var(--ink-3);
}
.is-hot .monthly-plan-price em,
.is-hot .monthly-plan-price span { color: rgba(255, 255, 255, 0.55); }
.is-hot .monthly-plan-price strong { color: var(--yellow); }
.monthly-plan-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  flex: 1;
}
.monthly-plan-list li {
  position: relative;
  padding: 7px 0 7px 20px;
  font-size: 13px;
  color: var(--ink-2);
}
.monthly-plan-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 8px; height: 8px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--yellow);
}
.is-hot .monthly-plan-list { border-color: rgba(255, 255, 255, 0.15); }
.is-hot .monthly-plan-list li { color: rgba(255, 255, 255, 0.75); }
@media (max-width: 900px) {
  .monthly-plan-grid { grid-template-columns: 1fr; }
}

/* 作品弹窗 */
.work-modal-head {
  position: relative;
  overflow: hidden;
  margin: -64px -64px 0;
  padding: 80px 64px 56px;
  background: linear-gradient(135deg, #2a2010 0%, #4a3010 60%, #ffcb2b 130%);
  color: var(--bg);
  border-radius: 16px 16px 0 0;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
}
/* 案例图片：铺满头部，暗色渐变压暗保证文字可读 */
.work-modal-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.55;
  z-index: 0;
}
.work-modal-head::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 8, 5, 0.45) 0%, rgba(10, 8, 5, 0.15) 45%, rgba(10, 8, 5, 0.62) 100%);
  z-index: 0;
}
.work-modal-head-content {
  position: relative;
  z-index: 1;
}
.work-modal-num {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  opacity: 0.7;
}
.work-modal-title {
  font-family: var(--f-serif);
  font-size: 60px;
  font-weight: 400;
  margin: 8px 0 12px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.work-modal-sub {
  font-style: italic;
  font-size: 15px;
  opacity: 0.8;
}

/* 作品图片列表：网格展示全部案例图 */
.work-gallery {
  padding: 32px 0 8px;
}
.work-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.work-gallery-item {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}
.work-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.work-gallery-item:hover img { transform: scale(1.03); }

/* 宽屏（屏幕最大化）时一排显示 3 个 */
@media (min-width: 1200px) {
  .work-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 图片放大查看（Lightbox） */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.lightbox.show { opacity: 1; pointer-events: all; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 4, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lightbox-figure {
  position: relative;
  margin: 0;
  max-width: min(1080px, 92vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.6, 0, 0.2, 1);
}
.lightbox.show .lightbox-figure { transform: scale(1); }
.lightbox-figure img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  object-fit: contain;
}
.lightbox-caption {
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 14px;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 26px;
  font-family: var(--f-serif);
  line-height: 1;
  transition: transform 0.3s, background 0.3s;
  z-index: 10;
}
.lightbox-close:hover { transform: rotate(90deg); background: var(--yellow); color: var(--ink); }

.work-modal-body {
  padding: 24px 0 0;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
}
.work-modal-info-row {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.work-modal-info-row label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  display: block;
  margin-bottom: 4px;
}
.work-modal-info-row strong,
.work-modal-info-row p {
  font-family: var(--f-serif);
  font-size: 16px;
  font-weight: 500;
}
.work-modal-detail h3 {
  font-family: var(--f-serif);
  font-size: 22px;
  margin: 24px 0 12px;
  font-weight: 500;
}
.work-modal-detail h3:first-child { margin-top: 0; }
.work-modal-detail p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 12px;
}
.work-modal-deliverables {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}
.work-modal-deliverables li {
  background: var(--bg-soft);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-family: var(--f-serif);
  font-style: italic;
}

@media (max-width: 760px) {
  .modal-panel { padding: 40px 24px; }
  .work-modal-head { margin: -40px -24px 0; padding: 60px 24px 36px; min-height: 180px; }
  .work-modal-title { font-size: 38px; }
  .service-modal-title { font-size: 30px; }
  .work-modal-body { grid-template-columns: 1fr; }
  .work-modal-deliverables { grid-template-columns: 1fr 1fr; }
  .service-modal-list { grid-template-columns: 1fr; }
  .work-gallery-grid { grid-template-columns: 1fr; }
  .work-gallery-item { aspect-ratio: 4 / 3; }
  .lightbox { padding: 20px; }
  .lightbox-figure img { max-height: 74vh; }
  .phone-big { display: block;}
  .phone-big-num{font-size: 32px;}
  .phone-big-icon{display: none;}
}

/* ==========================================================================
   客服悬浮按钮（右下角 · 闪动 · hover 显示二维码/电话）
   ========================================================================== */
.kf-fab {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 90;           /* 高于页面内容，低于导航(100)/菜单(99)/弹窗(200) */
}
.kf-fab-btn {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(240, 180, 0, 0.35);
  transition: transform 0.3s ease;
  animation: kfPulse 1.6s ease-out infinite;
}
.kf-fab-btn:hover { transform: scale(1.08); }
.kf-fab-ico { display: flex; }
.kf-fab-ico svg { width: 27px; height: 27px; }
.kf-fab-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ff4d3d;
  border: 2px solid var(--yellow);
  animation: kfBlink 1.2s ease-in-out infinite;
}
.kf-fab-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--yellow-2);
  animation: kfPing 1.6s ease-out infinite;
  pointer-events: none;
}
@keyframes kfPulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(240, 180, 0, 0.35); }
  50%      { box-shadow: 0 10px 26px rgba(240, 180, 0, 0.35), 0 0 0 10px rgba(255, 203, 43, 0); }
}
@keyframes kfPing {
  0%          { transform: scale(1);    opacity: 0.9; }
  75%, 100%   { transform: scale(1.75); opacity: 0; }
}
@keyframes kfBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.25; }
}
.kf-fab-btn:hover .kf-fab-ping { animation: none; opacity: 0; }

/* 悬浮面板 */
.kf-panel {
  position: absolute;
  right: 0;
  bottom: 78px;
  width: 216px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 18px 16px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  pointer-events: none;
}
.kf-fab:hover .kf-panel,
.kf-fab.open .kf-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.kf-panel-head { margin-bottom: 14px; }
.kf-panel-head strong {
  display: block;
  font-family: var(--f-serif);
  font-size: 18px;
  letter-spacing: 0.04em;
}
.kf-panel-head span {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.kf-qr {
  width: 128px;
  height: 128px;
  margin: 0 auto 16px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: #fff;
}
.kf-qr img { width: 100%; height: 100%; object-fit: cover; }
.kf-phone {
  display: block;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  transition: color 0.3s;
}
.kf-phone span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  margin-bottom: 2px;
}
.kf-phone strong {
  font-family: var(--f-mono);
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.kf-phone:hover strong { color: var(--yellow-deep); }
.kf-tip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--ink-3);
}
.kf-tip em {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2bb673;
  font-style: normal;
  animation: kfBlink 1.6s ease-in-out infinite;
}

@media (max-width: 760px) {
  .kf-fab { right: 18px; bottom: 18px; z-index: 85; }
  .kf-fab-btn { width: 54px; height: 54px; }
  .kf-fab-ico svg { width: 24px; height: 24px; }
  .kf-panel { bottom: 68px; width: 200px; }
}
