/* ═══════════════════════════════════════════════════
   古籍水墨 · 宋代工笔花鸟
   纯静态版 · 系统字体（思源宋体已装系统，零下载）
   ═══════════════════════════════════════════════════ */

/* ─── Token ─── */
:root {
  /* 工笔矿物色谱 · 默认 = 奶黄加深半档 */
  --vermilion: #A83A2E;   /* 朱砂印章 */
  --rose: #7A2A1F;        /* 暗红 */
  --amber: #8A6D3B;       /* 古铜金 */
  --gold: #BE6515;        /* 鎏金 */
  --jade: #6A8A82;        /* 偏冷石绿 */
  --ink: #3E372A;         /* 柔墨 · 正文 */
  --ink-deep: #26221A;    /* 深墨 */
  --sub: #6B5F4E;         /* 暗棕 */
  --line: rgba(190, 101, 21, 0.3);  /* 金线 */
  --paper: #E2D9C3;       /* 深米 · 背景 */
  --paper-deep: #D2C7AA;  /* 深米 · 深 */
  --card: #ECE4D0;        /* 米卡 */
  --card-alt: #D5CAA9;    /* 暗米卡 */
  --cloud: #E2D9C3;       /* 祥云 */
  --seal: #A83A2E;        /* 印章红 */

  /* 字体（系统） */
  --font-heading: 'Source Han Serif SC', 'Noto Serif SC', 'Songti SC', 'STSong', 'SimSun', serif;
  --font-body: 'Source Han Serif SC', 'Noto Serif SC', 'Songti SC', 'STSong', 'SimSun', serif;
  --font-kai: 'Kaiti SC', 'STKaiti', 'KaiTi', '楷体', serif;

  /* 字距 / 行高 */
  --ls-tight: 0.04em;
  --ls-normal: 0.08em;
  --ls-wide: 0.2em;
  --ls-kicker: 0.42em;
  --ls-h1: 0.1em;
  --lh-tight: 1.25;
  --lh-normal: 1.6;
  --lh-relaxed: 1.8;

  /* 圆角（小而雅） */
  --rad-sm: 4px;
  --rad-md: 8px;
  --rad-lg: 10px;
  --rad-xl: 16px;

  /* 阴影（极浅宣纸厚度） */
  --sh-card: 0 2px 8px rgba(78, 73, 68, 0.07);
  --sh-modal: 0 4px 16px rgba(78, 73, 68, 0.12);
  --sh-img: 0 12px 40px rgba(38, 34, 26, 0.35);

  /* 各页主标题字号 · 22px · 调一处全站联动 */
  --title: 1.375rem;     /* 22px · slide title */
  --title-photos: var(--title);
  --title-default: var(--title);   /* intro / video / timeline / pricing / contact */

  /* intro 正文字间距 · token */
  --ls-paragraph: calc(var(--ls-tight) + 0.07em);  /* 0.11em · intro 段落 */

  /* intro slide 压缩布局 · 750px 以下高度 */
  --intro-img-h: 150px;   /* 肖像高度 */
  --intro-img-h-short: 110px; /* 750px 以下高度 */

  /* 字号系统 · 全部提取为 token · 避免硬编码 */
  --fs-2xs: 0.625rem;   /* 10px */
  --fs-xs:  0.75rem;    /* 12px */
  --fs-sm:  0.875rem;   /* 14px */
  --fs-base: 1rem;      /* 16px */
  --fs-md:  1.125rem;   /* 18px */
  --fs-lg:  1.25rem;    /* 20px */
  --fs-xl:  1.5rem;     /* 24px */
  --fs-2xl: 2rem;       /* 32px */
  --fs-3xl: 2.5rem;     /* 40px */
  --fs-4xl: 3rem;       /* 48px */
  --fs-special: 0.85rem;/* 13.6px · 灯箱提示 */

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-xxl: 32px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.125rem);
  line-height: var(--lh-relaxed);
  color: var(--ink);
  overflow-x: hidden;
  background: #E2D9C3;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  transition: background 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
p, li { font-feature-settings: "palt" 1; }

/* ─── Scroll-snap ─── */
.slides {
  height: 100vh;
  display: flex;               /* 横向排布 */
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}
.slide {
  flex: 0 0 100vw;             /* 每屏占满一屏宽 */
  width: 100vw;
  height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xxl) var(--space-xl);
  position: relative;
}

/* ─── 装饰元素 ─── */
.kicker {
  display: block;
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: var(--ls-kicker);
  color: var(--vermilion);
  margin-bottom: 12px;
}
.rule {
  width: 90px;
  height: 3px;
  background: linear-gradient(90deg, var(--vermilion), var(--amber));
  border-radius: 2px;
  margin: 16px auto 24px;
}
.tagline {
  display: inline-block;
  background: var(--vermilion);
  color: var(--paper);
  padding: 0.35em 0.97em;
  border-radius: var(--rad-sm);
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: var(--ls-wide);
}
.tagline-wrap { margin-top: 20px; opacity: 0.85; }
.num { font-size: var(--fs-sm); font-weight: 700; color: var(--vermilion); letter-spacing: 0.1em; opacity: 0.8; }
.sub { display: block; color: var(--sub); font-size: var(--fs-xs); margin-top: 8px; letter-spacing: var(--ls-tight); }
.seal {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 2px solid var(--seal); border-radius: var(--rad-sm);
  color: var(--seal); font-family: var(--font-heading); font-size: var(--fs-sm); font-weight: 700;
  letter-spacing: 0.08em; line-height: 1.3; writing-mode: vertical-rl; flex-shrink: 0;
}

/* ─── 通用标题 ─── */
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: var(--ls-normal); }

/* 各页主标题 · 集中变量 · 不依赖 .slide h2 优先级覆盖 */
.photos-title    { font-size: var(--title-photos);  font-weight: 700; color: var(--ink); }
.intro-title     { font-size: var(--title-default);  font-weight: 700; color: var(--ink); }
.video-title,
.timeline-title,
.pricing-title,
.contact-title   { font-size: var(--title-default);  font-weight: 700; color: var(--ink); }
.slide h2 {
  font-weight: 700; line-height: var(--lh-tight); color: var(--ink);
}

/* ═══════ 1 · 封面 ═══════ */
.slide-cover { overflow: hidden; flex-direction: column; }
.cover-content {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center; padding: 0 var(--space-xl);
  max-width: 1200px; width: 100%; min-height: 100vh; z-index: 2;
}
.cover-name {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800; line-height: var(--lh-tight); color: var(--ink);
  letter-spacing: var(--ls-h1); transform: translateY(-10px);
}
/* 杜知远淡入 + 金色闪一次 */
@keyframes cover-name-flash {
  0%   { opacity: 0; color: var(--ink); }
  20%  { opacity: 1; color: var(--gold-bright, #F0BC5E); text-shadow: 0 0 12px var(--gold-bright, #F0BC5E); }
  60%  { opacity: 1; color: var(--ink); text-shadow: none; }
  100% { opacity: 1; color: var(--ink); }
}
.cover-name-anim { animation: cover-name-flash 4s ease-out forwards; }
@media (prefers-reduced-motion: reduce) {
  .cover-name-anim { animation: none; opacity: 1; }
}
.cover-content .rule { margin: 18px 0 18px; }
.cover-subtitle {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 500; line-height: var(--lh-normal); color: var(--sub);
  letter-spacing: var(--ls-wide); display: inline-block; text-align: center; margin: 0;
}
.cover-cloud {
  position: absolute; bottom: 4%; right: 3%;
  width: clamp(140px, 16vw, 220px); height: auto;
  pointer-events: none; z-index: 1;
  mix-blend-mode: multiply; opacity: 0.7;
  transform: translateY(20px);
}
[data-theme="c"] .cover-cloud {
  mix-blend-mode: screen;
  opacity: 0.85;
}
/* 最后一页 · 页底装饰（与首页 cover-cloud 完全一致处理） */
.contact-deco {
  position: absolute;
  bottom: 4%;
  left: 4%;
  transform: scaleY(-1) translateY(-20px);   /* 垂直翻转 + 微调 */
  width: clamp(140px, 16vw, 220px);
  height: auto;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
  opacity: 0.7;
}
[data-theme="c"] .contact-deco {
  mix-blend-mode: screen;
  opacity: 0.85;
}

/* ═══════ 2 · 人物简介 ═══════ */
.intro-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 37px;
  align-items: center; max-width: 1200px; width: 100%;
  padding-top: 90px;             /* 以 video slide 为基准对齐 */
}
.intro-image {
  position: relative; border-radius: var(--rad-xl); box-shadow: var(--sh-img);
  border: 1px solid var(--line); overflow: hidden; aspect-ratio: 600/800;
  background: var(--card);
  height: var(--intro-img-h);
  margin: 0 auto;
  transform: translateY(-90px);
}
.text-accent {  /* 文本强调色 · 与 kicker 一致 */
  color: var(--vermilion);
  font-weight: 700;
}
.intro-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.intro-seal { position: absolute; right: 14px; bottom: 14px; background: var(--card); opacity: 0.9; }
.intro-image-placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  font-size: var(--fs-xs); color: var(--sub); letter-spacing: var(--ls-wide);
  text-align: center; padding: 1rem;
}
.intro-text { display: flex; flex-direction: column; gap: 10px; transform: translateY(-90px); /* 文字下移 5px（-95 → -90） */ }
.intro-text .kicker { text-align: center; margin-bottom: -5px; }  /* 取消 gap 10px 中间填充，与 rule 紧贴 */
.intro-text .rule { margin: 2px auto 12px; }  /* 下移 2px，与标题间距 12px */
.intro-paragraph { text-indent: 2em; color: #FBF1D9; font-weight: 700; letter-spacing: var(--ls-paragraph); }
.intro-paragraph--motto {  /* 策划格言·加重 */
  text-indent: 0;
  text-align: center;
  margin-top: var(--space-md);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: var(--ls-wide);
}

/* ═══════ 2 · 活动风采（照片墙） ═══════ */
.photos-inner { 
  position: absolute;
  top: 32px; left: 24px; right: 24px; bottom: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 10px;
  display: flex; flex-direction: column;
}
.photos-header { text-align: center; margin-bottom: var(--space-xl); flex-shrink: 0; }
.photos-rule { margin: 14px auto 18px; }
/* 大量小照片网格：占满剩余高度，内部独立滚动，不传递给下一页 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  flex: 1; min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  align-content: start;                 /* 行从顶部排，不拉伸 */
  padding: 2px;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--rad-md);
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--card);
  transition: box-shadow 0.3s ease;
  aspect-ratio: 1 / 1;
}
.gallery-item--breathe { animation: gallery-breathe 3s ease-in-out infinite; }
.gallery-item--breathe:nth-child(2) { animation-delay: .4s; }
.gallery-item--breathe:nth-child(3) { animation-delay: .8s; }
.gallery-item--breathe:nth-child(4) { animation-delay: 1.2s; }
.gallery-item--breathe:nth-child(5) { animation-delay: 1.6s; }
.gallery-item--breathe:nth-child(n+6) { animation-delay: 2s; }
.gallery-item:hover { box-shadow: 0 6px 20px rgba(38,34,26,.2); animation-play-state: paused; }
.gallery-item img { width: 100%; height: auto; display: block; }
@keyframes gallery-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.025); }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-item--breathe { animation: none; }
}

/* ═══════ 4 · 影音留痕 ═══════ */
.video-container { width: 100%; max-width: 1200px; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.video-header { text-align: center; margin-bottom: var(--space-md); }
.video-subtitle { letter-spacing: var(--ls-wide); color: var(--sub); margin-top: var(--space-sm); }
.scroll-hint {
  display: block;
  text-align: center;
  margin: var(--space-xxl) auto 0;
  font-size: 1.6rem;
  letter-spacing: -0.3em;
  color: var(--gold);
  opacity: .85;
  animation: scroll-hint-bob 1.8s ease-in-out infinite;
}
@keyframes scroll-hint-bob {
  0%, 100% { transform: translateY(0); opacity: .65; }
  50%      { transform: translateY(6px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-hint { animation: none; }
}
.video-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: var(--space-xxl); align-items: start;
}
.video-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--rad-lg); box-shadow: var(--sh-card); overflow: hidden; }
.video-frame { padding: 12px 12px 0; }
.video-frame video { width: 100%; aspect-ratio: 16/9; border-radius: var(--rad-md); background: #000; object-fit: cover; }
.video-card-body { padding: var(--space-xl); }
.video-card-title { font-size: var(--fs-lg); font-weight: 700; color: var(--vermilion); letter-spacing: var(--ls-normal); }
.video-card-desc { margin-top: var(--space-sm); color: var(--sub); letter-spacing: var(--ls-tight); }

/* ═══════ 5 · 年轮 · 里程碑 ═══════ */
.timeline-inner { width: 100%; max-width: 1000px; height: 100%; display: flex; flex-direction: column; }
.timeline-header { text-align: center; margin-bottom: var(--space-xxl); flex-shrink: 0; }
.timeline-rule { margin: 14px auto 18px; }
.timeline-subtitle { letter-spacing: var(--ls-wide); color: var(--sub); margin-top: var(--space-sm); }
.timeline { list-style: none; position: relative; padding-top: 5px; }
@keyframes marquee-up {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
.timeline.marquee { animation: marquee-up 60s linear infinite; }
.timeline::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0;
  width: 2px; background: linear-gradient(180deg, rgba(176,80,62,.25), var(--amber), rgba(176,80,62,.25));
}
.timeline-item { position: relative; width: 100%; padding: 8px 0; box-sizing: border-box; }
.timeline-item:nth-child(odd) { left: 0; padding-right: var(--space-xxl); text-align: right; }
.timeline-item:nth-child(even) { left: 50%; padding-left: var(--space-xxl); text-align: left; }
.timeline-item::before {
  content: ''; position: absolute; top: 8px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--vermilion); border: none;
  box-sizing: content-box; z-index: 1; box-shadow: none;
}
.timeline-item:nth-child(odd)::before { right: -7px; }
.timeline-item:nth-child(even)::before { left: -7px; }
.timeline-content {
  display: flex; flex-direction: column;
  background: transparent; border: none; border-radius: 0;
  padding: 0; box-shadow: none; gap: 0;
}
.timeline-year { font-size: var(--fs-lg); font-weight: 700; color: var(--amber); letter-spacing: var(--ls-tight); }
.timeline-event { font-size: var(--fs-base); color: var(--ink); line-height: 1.2; margin: 0; }
.timeline-desc { font-size: var(--fs-sm); color: var(--sub); letter-spacing: var(--ls-tight); }

/* 单条 timeline · 强制居右（覆盖默认 odd/even） */
/* 单条 timeline · 线条居左，卡片贴左线右侧 */
.timeline-item--right { left: 0 !important; padding-left: var(--space-xxl) !important; padding-right: 0 !important; text-align: left !important; }
.timeline-item--right::before { left: -7px !important; right: auto !important; }

/* ═══════ 6 · 合作之约 ═══════ */
.pricing-inner { 
  position: absolute;
  top: 32px; left: 24px; right: 24px; bottom: 0;
  max-width: 1200px;
  margin: 0 auto;
  display: flex; flex-direction: column;
}
.pricing-header { text-align: center; margin-bottom: 4px; flex-shrink: 0; }
.pricing-rule { margin: 10px auto 10px; }
.pricing-subtitle { letter-spacing: var(--ls-wide); color: var(--sub); margin-top: var(--space-sm); }
/* 三联屏纵向排列 */
.pricing-grid {
  display: grid; grid-template-columns: 1fr; max-width: 720px; margin: 0 auto;
  gap: var(--space-xl); align-items: stretch;
}
/* ═══════ 灰色卡片变体 · 双 selector 强制覆盖 class 背景 ═══════ */
.pricing-card.pricing-card--gray {
  background: #F8F8F8 !important;
  border-color: #E2D9C3 !important;
}

.pricing-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--rad-lg);
  box-shadow: var(--sh-card); overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pricing-card:hover { transform: translateY(-3px); box-shadow: var(--sh-modal); }
.pricing-card--popular { border: 2px solid var(--vermilion); transform: scale(1.02); }
.pricing-card--popular:hover { transform: scale(1.02) translateY(-3px); }
.pricing-badge {
  position: absolute; top: var(--space-md); right: var(--space-md);
  padding: 4px 10px; background: var(--vermilion); color: var(--paper);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--ls-tight);
  border-radius: var(--rad-sm); line-height: 1.4;
}
.pricing-card-header { padding: var(--space-xl) var(--space-xl) var(--space-lg); text-align: center; border-bottom: 1px solid var(--line); }
.pricing-plan-name { font-size: var(--fs-lg); font-weight: 700; color: var(--ink); letter-spacing: var(--ls-normal); }
.pricing-price { margin-top: var(--space-md); }
.pricing-amount { font-size: var(--fs-xl); font-weight: 700; color: var(--vermilion); letter-spacing: var(--ls-tight); }
.pricing-desc { margin-top: var(--space-sm); font-size: var(--fs-sm); color: var(--sub); letter-spacing: var(--ls-tight); }
.pricing-features { list-style: none; padding: var(--space-lg) var(--space-xl); flex: 1; display: flex; flex-direction: column; gap: var(--space-md); }
.pricing-feature { position: relative; padding-left: var(--space-xl); font-size: var(--fs-sm); color: var(--ink); letter-spacing: var(--ls-tight); }
.pricing-feature::before {
  content: ''; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px;
  background: var(--vermilion); border-radius: 2px; opacity: 0.85;
}
.pricing-cta { padding: var(--space-lg) var(--space-xl) var(--space-xl); text-align: center; }
.pricing-btn {
  display: inline-block; padding: 8px var(--space-xxl);
  background: var(--vermilion); color: var(--paper);
  font-size: var(--fs-base); font-weight: 500; letter-spacing: var(--ls-normal);
  text-decoration: none; border-radius: var(--rad-sm);
  transition: background-color 0.2s ease;
}
.pricing-btn:hover { background: var(--rose); }

/* ═══════ 7 · 邀约洽谈 ═══════ */
.slide-contact { flex-direction: column; position: relative; }
.slide-pricing { flex-direction: column; position: relative; }
.slide-photos { flex-direction: column; position: relative; }
.slide-video { flex-direction: column; }
.contact-card {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-lg);
  width: 100%; max-width: 440px; padding: var(--space-xxl);
  background: var(--card);
  border: 2px solid var(--gold); border-radius: var(--rad-lg);
  box-shadow: var(--sh-card), inset 0 0 0 1px rgba(255, 215, 130, 0.25);
}
.contact-title { font-size: var(--fs-xl); font-weight: 700; color: var(--ink); letter-spacing: var(--ls-normal); }
.contact-rule { margin: 4px 0 10px; }
.contact-qr {
  width: 160px; height: 160px;
  border-radius: var(--rad-md);
  border: 1px solid var(--line);
  background: var(--card);
  padding: 6px;
  box-shadow: 0 6px 20px rgba(38,34,26,.12);
  margin-bottom: var(--space-sm);
}
.contact-name { font-size: var(--fs-lg); font-weight: 500; letter-spacing: var(--ls-wide); }
.contact-email {
  color: var(--vermilion); text-decoration: none; letter-spacing: var(--ls-tight);
  border-bottom: 1px dashed rgba(176,80,62,.4); padding-bottom: 2px;
}
.contact-email:hover { color: var(--rose); }
.contact-socials { display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap; justify-content: center; }
.social-link {
  color: var(--sub); text-decoration: none; padding: 6px 14px;
  border: 1px solid var(--line); border-radius: var(--rad-sm); background: var(--card-alt);
  letter-spacing: var(--ls-normal); font-size: var(--fs-sm);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.social-link:hover { color: var(--vermilion); border-color: var(--vermilion); }
.social-divider { color: var(--sub); }

/* ─── 右侧导航点 ─── */
.section-dots {
  position: fixed; right: 8px; top: 8px;
  z-index: 100; display: flex; flex-direction: row; align-items: center;
  gap: 7px; padding: 5px 8px;
  background: rgba(38,34,26,.06); border: 1px solid rgba(141,109,59,.25); border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  transform: translateY(-6px);
}
.section-dots.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.section-dot {
  width: 6px; height: 6px; border-radius: 50%;
  border: 1px solid var(--amber); background: transparent; cursor: pointer; padding: 0;
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.section-dot:hover { border-color: var(--vermilion); background: var(--vermilion); opacity: .6; }
.section-dot[aria-current="true"] {
  background: var(--vermilion); border-color: var(--vermilion);
  transform: scale(1.25); box-shadow: 0 0 0 3px rgba(176,80,62,.15);
}
.section-dot:focus-visible { outline: 2px solid var(--vermilion); outline-offset: 2px; }

@media (min-width: 768px) and (max-width: 1023px) {
  .intro-grid { gap: var(--space-xl); }
  .timeline-item:nth-child(odd) { padding-right: var(--space-xl); }
  .timeline-item:nth-child(even) { padding-left: var(--space-xl); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ─── 照片大图灯箱（fixed 覆盖，不占滑动流） ─── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(24, 20, 16, 0.96);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; color: #fff;
  font-size: var(--fs-2xl); cursor: pointer; z-index: 1001;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.lightbox-close:hover { background: rgba(255,255,255,.15); }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.08); border: none; color: var(--paper);
  font-size: var(--fs-4xl); cursor: pointer; padding: .8rem 1.2rem; z-index: 1001;
  border-radius: var(--rad-md);
}
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.18); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-content {
  position: absolute; inset: 0;   /* 恒等于灯箱满幅：img 的居中不依赖内容收缩，微信 XWEB 下也稳定 */
  display: flex; align-items: center; justify-content: center;
}
.lightbox-content img {
  max-width: 92vw; max-height: 78vh; object-fit: contain;
  border-radius: var(--rad-md); box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox-timer {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: var(--paper); font-size: var(--fs-base); background: rgba(38,34,26,.6);
  padding: .5rem 1rem; border-radius: 20px; display: none;
}
.lightbox-timer.active { display: block; }
.lightbox-hint {
  position: absolute; bottom: 2.75rem; left: 50%; transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--fs-special); letter-spacing: .12em;
  background: rgba(0, 0, 0, 0.45);
  padding: .45rem 1rem; border-radius: 16px;
  opacity: 0; transition: opacity .35s ease;
  pointer-events: none;
  white-space: nowrap;
}
.lightbox-hint.show { opacity: 1; }
@media (max-width: 767px) {
  .lightbox-hint { font-size: var(--fs-xs); padding: .35rem .8rem; }
}

@media (max-width: 767px) {
  /* 竖屏横滑：内容超高的屏内部滚动，避免裁切 */
  .slide-video .video-container,
  .slide-intro .intro-grid {
    height: 100%;
    overflow-y: auto;
  }
  .gallery-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 0.35rem !important; row-gap: 0.35rem; align-content: start; flex: 1; min-height: 0; overflow-y: auto; }
  .intro-grid { grid-template-columns: 1fr !important; gap: var(--space-lg) !important; padding-top: 110px; }
  .lightbox-prev { left: .5rem; }
  .lightbox-next { right: .5rem; }
}

/* ── intro slide · 移动端固定区域 · 仅隐藏溢出 · 不改其他属性 ── */
@media (max-width: 767px) {
  .slide-intro .intro-grid {
    overflow: hidden !important;            /* 溢出隐藏 · 防止出现滚动条 */
  }
}

/* ─── 无障碍 ─── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ═══════════════════════════════════════════════════
   主题切换 · 朱砂金 + 奶黄加深半档
   默认 = 奶黄加深半档（保留原作风格）
   ═══════════════════════════════════════════════════ */

/* ── 主题 A · 紫金 ── */
[data-theme="a"] {
  --vermilion: #C2412A;
  --rose: #8A2E1E;
  --amber: #8B6D3B;
  --gold: #D4A24C;
  --gold-bright: #F0C97A;
  --ink: #F0E5D0;
  --ink-deep: #BFA68A;
  --sub: #BFA68A;
  --line: rgba(212, 162, 76, 0.25);
  --paper: #2A1F3D;
  --paper-deep: #1A1230;
  --card: #3F2D52;
  --card-alt: #352548;
  --cloud: #5A4570;
  --seal: #C2412A;
  --sh-card: 0 2px 8px rgba(0, 0, 0, 0.5);
  --sh-modal: 0 4px 16px rgba(0, 0, 0, 0.55);
  --sh-img: 0 16px 50px rgba(0, 0, 0, 0.6);
}
[data-theme="a"] body {
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(63, 45, 82, 0.6) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 90% 100%, rgba(212, 162, 76, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #2A1F3D 0%, #1F1530 50%, #1A1230 100%);
  background-attachment: fixed;
}
[data-theme="a"] .cover-cloud {
  mix-blend-mode: screen;
  opacity: 0.55;
}
[data-theme="a"] .tagline {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #2A1F3D;
}
[data-theme="a"] .timeline::before {
  background: linear-gradient(180deg, rgba(0,0,0,0), var(--gold), var(--gold-bright), var(--gold), rgba(0,0,0,0));
  box-shadow: 0 0 12px rgba(212, 162, 76, 0.3);
}
[data-theme="a"] .timeline-item::before {
  background: var(--gold-bright);
  border-color: #2A1F3D;
}
[data-theme="a"] .theme-fab {
  background: rgba(20, 14, 32, 0.85);
}

/* ── 主题 C · 朱砂金（默认） ── */
[data-theme="c"] {
  --vermilion: #FFD080;
  --rose: #B88A3E;
  --amber: #B88A3E;
  --gold: #F0BC5E;
  --ink: #F5E8D0;
  --ink-deep: #D4B488;
  --sub: #D4B488;
  --line: rgba(240, 188, 94, 0.3);
  --paper: #8B2E22;
  --paper-deep: #6B1F18;
  --card: #A03828;
  --card-alt: #8A2E22;
  --cloud: #B54232;
  --seal: #FFD080;
  --sh-card: 0 2px 8px rgba(0, 0, 0, 0.3);
  --sh-modal: 0 4px 16px rgba(0, 0, 0, 0.4);
  --sh-img: 0 12px 40px rgba(0, 0, 0, 0.5);
}
[data-theme="c"] body {
  background: linear-gradient(180deg, #AE4D41 0%, #9E4236 50%, #823328 100%);  /* 朱砂背景淡一档 */
}
[data-theme="c"] .tagline {
  background: linear-gradient(180deg, var(--gold-bright, #FFD080), var(--gold, #F0BC5E));
  color: #6B1F18;
}
[data-theme="c"] .seal {
  border-color: var(--seal);
  color: var(--seal);
  background: var(--card);
}
[data-theme="c"] .timeline::before {
  background: linear-gradient(180deg, rgba(0,0,0,0), var(--gold), var(--gold-bright, #FFD080), var(--gold), rgba(0,0,0,0));
  box-shadow: 0 0 12px rgba(240, 188, 94, 0.3);
}
[data-theme="c"] .timeline-item::before {
  background: var(--gold-bright, #FFD080);
  border-color: #6B1F18;
  box-shadow: 0 0 0 1px rgba(240, 188, 94, 0.3);
}
[data-theme="c"] .pricing-card--popular {
  border: 2px solid var(--gold-bright, #FFD080);
  box-shadow: 0 0 0 1px rgba(240, 188, 94, 0.2), var(--sh-modal);
}
[data-theme="c"] .pricing-card--popular::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at top, rgba(240, 188, 94, 0.12), transparent 60%);
  pointer-events: none;
}
[data-theme="c"] .pricing-btn {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-bright, #FFD080);
}
[data-theme="c"] .pricing-btn:hover {
  background: var(--gold);
  color: #6B1F18;
}
[data-theme="c"] .pricing-feature::before { background: var(--gold-bright, #FFD080); }
[data-theme="c"] .social-link { background: transparent; color: var(--sub); border-color: rgba(240, 188, 94, 0.3); }
[data-theme="c"] .social-link:hover { color: var(--gold-bright, #FFD080); border-color: var(--gold); }
[data-theme="c"] .contact-qr { background: #F5E8D0; border-color: rgba(240, 188, 94, 0.3); }

/* ── FAB · 左下角横向主题切换器 · 仅首页可见 ── */
.theme-fab {
  position: fixed;
  left: 14px; bottom: 16px;
  z-index: 90;
  display: flex; flex-direction: row; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: rgba(38, 28, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 100px;
  box-shadow: 0 6px 18px var(--sh-card);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  transform: translateY(8px);
}
.theme-fab.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
[data-theme="c"] .theme-fab {
  background: rgba(20, 14, 24, 0.78);
}
.theme-fab-dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  cursor: pointer;
  position: relative;
  padding: 0;
  background: transparent;
  transition: transform 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}
.theme-fab-dot::before {
  content: '';
  position: absolute; inset: 1.5px;
  border-radius: 50%;
  background: var(--dot-bg, var(--card));
}
.theme-fab-dot:hover { transform: scale(1.15); }
.theme-fab-dot[aria-pressed="true"] {
  border-color: var(--gold);
  transform: scale(1.15);
}
.theme-fab-dot-label {
  position: absolute;
  left: 50%; bottom: calc(100% + 8px);
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: var(--fs-2xs);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  letter-spacing: 0.12em;
}
.theme-fab-dot:hover .theme-fab-dot-label,
.theme-fab-dot-label.show { opacity: 1; }

@media (max-width: 767px) {
  /* 左下角 + 移动端调整 */
  .theme-fab {
    left: 10px; bottom: 10px;
    padding: 7px 12px; gap: 7px;
    background: rgba(38, 28, 16, 0.85);
  }
  [data-theme="c"] .theme-fab {
    background: rgba(20, 14, 24, 0.85);
  }
  .theme-fab-dot { width: 20px; height: 20px; }
  .theme-fab-dot-label { font-size: var(--fs-2xs); padding: 3px 6px; bottom: calc(100% + 6px); }
}

/* ═══════ 第6页服务卡 class（阶段3提炼） ═══════ */
.service-card {
  background: #FBF8F1;
  border: 1px solid #D4A24C;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(62, 55, 42, 0.12);
  overflow: hidden;
}
.service-card__header {
  background: linear-gradient(180deg, #AE4D41 0%, #9E4236 50%, #823328 100%);
  padding: 10px 22px;
  border-bottom: 1px solid rgba(212, 162, 76, 0.5);
}
.service-card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #F5E8D0;
  letter-spacing: 0.12em;
  margin: 0 0 2px;
  text-align: left;
}
.service-card__sub {
  font-family: var(--font-kai);
  font-size: 12px;
  color: rgba(245, 232, 208, 0.85);
  letter-spacing: 0.3em;
  margin: 0;
  text-align: left;
}
.service-card__body {
  padding: 20px 26px;
}
.service-card__section {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #A83A2E;
  letter-spacing: 0.1em;
  margin: 0 0 6px;
}
.service-card__text {
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 1.7;
  color: #3E372A;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
  text-align: justify;
}
.service-card__lead {
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 1.7;
  color: #3E372A;
  letter-spacing: 0.06em;
  margin: 0 0 18px;
  text-align: justify;
  text-indent: 2em;
}
.service-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-card__item {
  font-family: var(--font-heading);
  font-size: 15px;
  color: #3E372A;
  letter-spacing: 0.06em;
  padding: 7px 0;
  border-bottom: 1px solid rgba(212, 162, 76, 0.25);
}
.service-card__item:last-child {
  border-bottom: none;
}
.service-card__cta {
  display: inline-block;
  padding: 8px 36px;
  background: #A83A2E;
  color: #FBF8F1;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-decoration: none;
  border-radius: 6px;
}
.service-card__cta-wrap {
  text-align: center;
  padding: 0 22px 18px;
}

/* ═══════ 第4页视频卡 class（阶段3提炼） ═══════ */
.channel-link {
  display: block;
  max-width: 520px;
  margin: 24px auto 0;
  border: 1px solid var(--gold);
  border-radius: var(--rad-lg);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--sh-card);
  text-decoration: none;
  color: inherit;
}
.channel-link + .channel-link {
  margin-top: 32px;
}
.channel-cover {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.channel-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.channel-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .35);
  transition: transform .3s ease, background .3s ease;
}
.channel-play .play-triangle {
  margin-left: 4px;
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent #FBF1D9;
}
.channel-caption {
  max-width: 520px;
  margin: 14px auto 0;
  font-size: var(--fs-base);
  color: var(--ink);
  text-align: left;
  letter-spacing: 0.06em;
  line-height: var(--lh-normal);
}
.channel-link .channel-caption {
  max-width: 100%;
  margin: 12px 0 0;
  text-align: center;
}
.channel-qr {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 520px;
  margin: 36px auto 0;
  padding: 20px 24px;
  border: 1px solid var(--gold);
  border-radius: var(--rad-lg);
  background: var(--card);
  box-shadow: var(--sh-card);
}
