/*
 * [INPUT]: 与 taplore-pitch/deck/shared/tokens.css 同源色板；不依赖 Google Fonts CDN
 * [OUTPUT]: 移动端 H5 商户邀约视觉版式 · Apple 产品页式 · 一屏一主题
 * [POS]: taplore-merchant-h5 视觉核心，被 index.html 消费；与 ../taplore-pitch/merchant-invite/invite.css（A4 印刷版）独立
 * [PROTOCOL]: 变更时更新此头部，然后检查 CLAUDE.md
 *
 * 设计 brief:
 *  - 拨盘：DESIGN_VARIANCE 4 / MOTION_INTENSITY 2 / VISUAL_DENSITY 3
 *  - 色板：松石青 #2E4F4F 主动作为 accent · 米白 #F5F2EB 底 · 墨色 #1A1A1A 正文
 *  - 字体：PingFang SC 系统栈 + 烧卖故事自托管 LXGW WenKai Lite 子集，无 CDN 依赖
 *  - 编排：移动端纵向滚动 · scroll-snap proximity · 桌面端 480px 居中模拟手机框
 *  - 动效：仅 fade-in + 数字滚动 + details 折叠，无 parallax / 无炫技
 *  - 反 AI slop：禁圆角 + 左 border accent 卡片 / 禁 emoji 装饰 / 禁 SVG 画人物
 */

/* ────────────────────────────────────────────────────────────
 * 0 · Story Font · 自托管子集，保证 iOS / Android 一致
 * ──────────────────────────────────────────────────────────── */
@font-face {
  font-family: "Taplore Story";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/lxgw-wenkai-lite-story.woff2") format("woff2");
}

/* ────────────────────────────────────────────────────────────
 * 1 · Tokens
 * ──────────────────────────────────────────────────────────── */
:root {
  /* Brand · 与 deck/shared/tokens.css 同源 */
  --turquoise:       #2E4F4F;
  --turquoise-soft:  #4A7373;
  --mist-green:      #C9DDD8;
  --mist-green-soft: #DCE9E5;

  /* Paper · 米白纸 */
  --paper:           #F5F2EB;
  --paper-soft:      #FBFAF6;
  --paper-deep:      #EDE8DC;

  /* Ink · 墨色 */
  --ink:             #1A1A1A;
  --ink-2:           #424245;
  --gray:            #6E6E73;
  --gray-soft:       #86868B;
  --gray-mute:       #A1A1A6;

  /* Hairline */
  --hairline:        #D8D4C8;
  --hairline-soft:   #E5E0D5;

  /* Type */
  --font-sans:   -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-serif:  "Songti SC", "STSong", "宋体", "SimSun", serif;
  --font-story:  "Taplore Story", "LXGW WenKai", "Kaiti SC", "STKaiti", "KaiTi", sans-serif;
  --font-num:    "SF Pro Display", -apple-system, "Helvetica Neue", sans-serif;

  /* H5 container */
  --h5-max: 480px;

  /* Spacing rhythm */
  --pad-x: 28px;
  --pad-x-tight: 22px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-snap-type: y proximity;
}

body {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, #f3efe5 0%, #e8e4d8 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "ss01" 1;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

/* ────────────────────────────────────────────────────────────
 * 2 · H5 container · 移动端 100% · 桌面 480px 居中浮起
 * ──────────────────────────────────────────────────────────── */
.h5 {
  max-width: var(--h5-max);
  margin: 0 auto;
  background: var(--paper);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  body {
    padding: 28px 0;
  }
  .h5 {
    box-shadow:
      0 1px 2px rgba(40, 40, 30, 0.04),
      0 24px 64px rgba(40, 40, 30, 0.10);
    border-radius: 2px;
    /* 桌面端模拟手机框：稍宽，但不破坏移动端比例 */
  }
}

/* ────────────────────────────────────────────────────────────
 * 2 · Section · 基础节奏 · 一屏一主题
 * ──────────────────────────────────────────────────────────── */
.section {
  padding: 64px var(--pad-x);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

@media (min-width: 768px) {
  .section { min-height: auto; padding: 88px var(--pad-x); }
}

/* fade-in on scroll · 由 IntersectionObserver 触发 */
[data-fade] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-fade].is-in {
  opacity: 1;
  transform: translateY(0);
}

/* 共通组件：eyebrow / sec-head */
.sec-eyebrow,
.research-eyebrow,
.mv-eyebrow,
.story-eyebrow,
.hero-meta {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 500;
}

.sec-head { margin-bottom: 36px; }
.sec-eyebrow { margin-bottom: 12px; }
.sec-title {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.sec-lead {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
}

em {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(transparent 58%, var(--mist-green) 58%, var(--mist-green) 92%, transparent 92%);
  padding: 0 1px;
}
strong { font-weight: 600; color: var(--ink); }

/* ────────────────────────────────────────────────────────────
 * 3 · S0 · Hero
 * ──────────────────────────────────────────────────────────── */
.section-hero {
  padding: 96px var(--pad-x) 96px;
  min-height: 100vh;
  justify-content: flex-start;
  gap: 22px;
}

/* Hero 已不再使用顶部小角标（hero-meta / hero-brand-logo / hero-sep / hero-kind）
 * 主标 + 副标 + 邀约语 + NFC 令牌图直接占据全场，无 chrome 干扰
 */
.hero-stage {
  margin-top: 0;
  padding: 0;
  text-align: center;
}
.hero-title {
  margin-bottom: 24px;
  line-height: 0;
}
/* 封面主 logo · 替换之前的 Taplore 文字标 · 高 88px，brand 站立感强 */
.hero-logo {
  display: block;
  height: 88px;
  width: auto;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
/* hero-rule 已删除（不再出现在 logo 与副标之间） */
.hero-tagline {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 28px;
}
.hero-invite {
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 2.05;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  padding-top: 18px;
  border-top: 1px solid var(--hairline-soft);
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.hero-invite strong {
  font-family: var(--font-serif);
  color: var(--turquoise);
  font-weight: 600;
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  padding: 0 8px;
}
.hero-image img {
  max-width: 82%;
  max-height: 228px;
  object-fit: contain;
}

/* Scroll hint · 双 chevron · 两个轻轻的下箭头，前后渐显，营造"向下"暗示 · 极简、安静、不喧宾 */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  pointer-events: none;
}
.scroll-hint .chevron {
  width: 11px;
  height: 11px;
  border-right: 1px solid var(--gray-soft);
  border-bottom: 1px solid var(--gray-soft);
  transform: rotate(45deg);
  opacity: 0.3;
  animation: chevron-pulse 2.2s ease-in-out infinite;
}
.scroll-hint .chevron:nth-child(2) {
  animation-delay: 0.45s;
}
@keyframes chevron-pulse {
  0%, 100% { opacity: 0.2; }
  50%      { opacity: 0.85; }
}

/* ────────────────────────────────────────────────────────────
 * 3.5 · S0.5 · 项目概览（破题章节）· A / B 两个方案
 *   A · Lead 叙述 + 三栏 key facts
 *   B · 极简宋体 statement-style 引言
 *   两个 variant 在 HTML 中并存，h5.js 根据 ?overview=a|b 切换显示
 * ──────────────────────────────────────────────────────────── */
.section-overview { background: var(--paper); }

.ov-head { margin-bottom: 28px; }
.ov-eyebrow {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 500;
  margin-bottom: 14px;
}
.ov-title {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.ov-lead {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 14px;
  max-width: 380px;
}
.ov-lead em {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(transparent 58%, var(--mist-green) 58%, var(--mist-green) 92%, transparent 92%);
  padding: 0 1px;
}
.ov-lead-secondary {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
  margin-bottom: 32px;
  max-width: 380px;
}
.ov-facts {
  list-style: none;
  border-top: 1px solid var(--hairline);
  margin: 0 0 32px;
  padding: 0;
}
.ov-fact {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline-soft);
  align-items: baseline;
}
.ov-fact:last-child { border-bottom: 1px solid var(--hairline); }
.ov-fact-label {
  font-family: var(--font-num);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--gray);
  text-transform: uppercase;
}
.ov-fact-value {
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.55;
}

/* —— 末尾承接句 —— */
.ov-bridge {
  font-family: var(--font-serif);
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--turquoise);
  letter-spacing: 0.04em;
  margin-top: 16px;
  padding-top: 16px;
}

/* ────────────────────────────────────────────────────────────
 * 4 · S1 · 4 步发现朱家角
 * ──────────────────────────────────────────────────────────── */
.section-step {
  padding-top: 64px;
  padding-bottom: 64px;
}
.step-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.step-num {
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 500;
  color: var(--turquoise);
  letter-spacing: 0.22em;
  font-variant-numeric: tabular-nums;
}
.step-num::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--turquoise);
  vertical-align: middle;
  margin-left: 10px;
  margin-bottom: 3px;
}
.step-title {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.step-body {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
  max-width: 360px;
}
.section-step-video .step-body {
  padding-bottom: 10px;
}
.step-image {
  margin-top: 12px;
  padding: 8px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.step-image img,
.step-image video {
  max-width: 86%;
  max-height: 360px;
  object-fit: contain;
}

/* 视频 step · 用白卡片包裹 video · 让视频白底变成"卡片"，与米白纸形成层次 · 极淡 shadow 浮起感 */
.video-card {
  background: #FFFFFF;
  border-radius: 18px;
  overflow: hidden;
  max-width: 86%;
  margin: 0 auto;
  position: relative;
  box-shadow:
    0 1px 2px rgba(40, 40, 30, 0.05),
    0 14px 36px rgba(40, 40, 30, 0.10);
  /* 极淡 hairline 包边，让卡片在米白纸上有"实体感"而非凭空浮起 */
  border: 1px solid rgba(40, 40, 30, 0.04);
}
.video-card video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 380px;
  max-width: none;
  background: #FFFFFF;
}
/* step-video container 的 padding 收掉，因为 video-card 自己已经控制宽度 */
.step-video {
  padding: 12px 0 8px;
}
.step-video img,
.step-video video {
  max-width: none;
}

/* ─── Step Carousel · S1-discover / S1-explore 多图横滑 ───────
 * 用 native horizontal scroll-snap，移动端 native 触感
 * 配 dots 指示器（JS 动态生成） + "← 左右滑动 →" 提示
 * 每张图配 figcaption 说明展现的功能
 * ──────────────────────────────────────────────────────────── */
.section-step-carousel .step-shell {
  padding-bottom: 0;
}

.carousel {
  --slide-w: min(78%, 320px);
  --slide-gap: 16px;
  margin-top: 44px;  /* 与上方文字多留呼吸 */
  margin-left: calc(var(--pad-x) * -1);
  margin-right: calc(var(--pad-x) * -1);
}
/* S4 mv-lead-secondary 已经自带 border-top + padding-top，无需再叠加大间距 */
.mv-carousel { margin-top: 22px; }

/* 左右滑动 affordance · 居中提示 + 两侧淡箭头 · 呼吸动效 · 透明度低不抢戏 */
.carousel-affordance {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 0 var(--pad-x) 18px;
  font-family: var(--font-num);
  font-size: 10.5px;
  letter-spacing: 0.20em;
  color: var(--gray);
  text-transform: uppercase;
  animation: ca-breathe 2.8s ease-in-out infinite;
  pointer-events: none;
  user-select: none;
}
.ca-arrow {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1;
  color: var(--gray);
  font-weight: 300;
}
.ca-text { white-space: nowrap; }

@keyframes ca-breathe {
  0%, 100% { opacity: 0.22; }
  50%      { opacity: 0.55; }
}

.carousel-track {
  display: flex;
  gap: var(--slide-gap);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0;
}
.carousel-track::-webkit-scrollbar { display: none; }

/* Ghost spacer · 让首尾 slide 都能 snap 到正中央 ·
   宽度 = 容器剩余空间一半 - 半个 gap，与所有 slide 居中数学一致 */
.carousel-track::before,
.carousel-track::after {
  content: "";
  flex: 0 0 calc((100% - var(--slide-w)) / 2 - var(--slide-gap) / 2);
  scroll-snap-align: none;
}

.carousel-slide {
  flex: 0 0 var(--slide-w);
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin: 0;
}

.carousel-frame {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.carousel-frame img {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
}

.carousel-slide figcaption {
  font-family: var(--font-sans);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--gray);
  line-height: 1.5;
  text-align: center;
  padding: 0 8px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  padding: 0 var(--pad-x);
}
.carousel-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hairline);
  transition: background 0.25s ease, transform 0.25s ease;
}
.carousel-dots .dot.is-active {
  background: var(--turquoise);
  transform: scale(1.15);
}

/* ────────────────────────────────────────────────────────────
 * 5 · S2 · 调研锚点 · 大字数字
 * ──────────────────────────────────────────────────────────── */
.section-research {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-soft) 100%);
}
.research-eyebrow {
  margin-bottom: 28px;
}
.research-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 8px 0 28px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 28px;
}
.research-stat {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-top: 14px;
}
.research-num {
  font-family: var(--font-num);
  font-size: 56px;
  font-weight: 200;
  color: var(--turquoise);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  min-width: 110px;
}
.research-unit {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--gray);
  font-weight: 400;
  letter-spacing: 0.04em;
}
.research-body {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-2);
  margin-bottom: 28px;
  max-width: 380px;
}
.research-takeaway {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
  letter-spacing: 0.04em;
  padding: 18px 0 0;
  border-top: 2px solid var(--turquoise);
  position: relative;
}
.research-takeaway::before {
  content: "";
  position: absolute;
  top: -2px; left: 0;
  width: 32px; height: 2px;
  background: var(--turquoise);
}

/* ────────────────────────────────────────────────────────────
 * 6 · S3 · Statement
 * ──────────────────────────────────────────────────────────── */
.section-statement {
  text-align: center;
  background: var(--paper-deep);
}
.statement-frame {
  padding: 36px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.statement-text {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.85;
  color: var(--ink);
  letter-spacing: 0.05em;
  font-weight: 400;
}
.statement-em {
  color: var(--turquoise);
  font-weight: 500;
  letter-spacing: 0.06em;
}

/* ────────────────────────────────────────────────────────────
 * 7 · S4 · 商户视角 walkthrough
 * ──────────────────────────────────────────────────────────── */
.mv-head { margin-bottom: 32px; }
.mv-eyebrow { margin-bottom: 12px; }
.mv-title {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.mv-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-2);
  max-width: 380px;
}
.mv-lead-secondary {
  margin-top: 14px;
  padding-top: 14px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray);
  max-width: 380px;
  border-top: 1px solid var(--hairline-soft);
}
.mv-lead-secondary strong { color: var(--turquoise); font-weight: 600; }
.mv-figures {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.mv-figures-single {
  gap: 0;
  margin-top: 12px;
}
.mv-figures-single .mv-fig-img img {
  max-width: 86%;
  max-height: 460px;
}
.mv-fig {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.mv-fig-img {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px;
}
.mv-fig-img img {
  max-width: 78%;
  max-height: 340px;
  object-fit: contain;
}
.mv-fig figcaption {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gray);
  text-transform: uppercase;
}

/* ────────────────────────────────────────────────────────────
 * 8 · S5 · 烧卖故事 · 折叠展开
 * ──────────────────────────────────────────────────────────── */
.section-story {
  background: var(--paper-soft);
}
.story-eyebrow { margin-bottom: 12px; }
.story-title {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.story-lead {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-2);
  margin-bottom: 28px;
  max-width: 380px;
}

.story-details {
  margin-bottom: 24px;
}
.story-details > summary {
  list-style: none;
  cursor: pointer;
  outline: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.story-details > summary::-webkit-details-marker { display: none; }
.story-details > summary::marker { display: none; content: ""; }

/* 烧卖 callout · 去除上下 hairline 框，让引子段落自然融入文字流，更克制 */
.story-summary {
  border: 0;
  padding: 0;
  display: block;
}
.story-summary-para {
  font-family: var(--font-story);
  font-size: 16px;
  line-height: 2.05;
  color: var(--ink-2);
  margin-bottom: 16px;
  letter-spacing: 0;
  text-align: justify;
  text-justify: inter-ideograph;
  font-weight: 400;
}
.story-summary-para:first-of-type { color: var(--ink); }
/* 「继续往下读」按钮 · pill 形态 · 米黄底 + hairline border + 松石青字 · 明显"可点"但不喧宾 */
.story-summary-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 11px 22px 12px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--turquoise);
  background: var(--paper-deep);
  border: 1px solid var(--turquoise);
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  align-self: flex-start;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-shadow:
    0 1px 2px rgba(46, 79, 79, 0.05),
    0 4px 12px rgba(46, 79, 79, 0.08);
}
.story-summary-cta:active {
  transform: scale(0.97);
  box-shadow: 0 1px 2px rgba(46, 79, 79, 0.05);
}
/* 展开后按钮转为"收起"形态：边框变淡、文字变灰、箭头翻转 */
.story-details[open] .story-summary-cta {
  color: var(--gray);
  border-color: var(--hairline);
  background: var(--paper-soft);
}
.story-details[open] .story-cta-text::after {
  content: "（点击收起）";
  font-size: 13.5px;
}
.story-details[open] .story-cta-text {
  font-size: 0;
}
.story-details[open] .story-cta-icon {
  transform: rotate(180deg);
  color: var(--gray);
}
.story-cta-icon {
  display: inline-block;
  font-size: 14px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.story-body {
  padding-top: 40px;
  animation: story-fade-in 0.5s ease forwards;
}
@keyframes story-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.story-body p {
  font-family: var(--font-story);
  font-size: 15.8px;
  line-height: 2.05;
  color: var(--ink-2);
  margin-bottom: 18px;
  letter-spacing: 0;
  text-align: justify;
  text-justify: inter-ideograph;
}
.story-body p:last-of-type { margin-bottom: 24px; }
.story-body em {
  background: linear-gradient(transparent 58%, var(--mist-green) 58%, var(--mist-green) 92%, transparent 92%);
  font-family: var(--font-story);
}

.story-end-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
}
.story-end-line {
  flex: 1;
  height: 1px;
  background: var(--hairline-soft);
}
.story-end-text {
  font-family: var(--font-num);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--gray);
  text-transform: uppercase;
}

.story-foot-note {
  font-size: 13px;
  line-height: 1.8;
  color: var(--gray);
  padding-top: 24px;
  margin-top: 4px;
  max-width: 380px;
  /* 去除 border-top，避免与上方 .story-end-hint 的 hairline 视觉重复 */
}

/* ────────────────────────────────────────────────────────────
 * 9 · S6 / S7 · 卡片列表 (editorial style)
 * ──────────────────────────────────────────────────────────── */
.card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.card-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline-soft);
  align-items: baseline;
}
.card-item:first-child {
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
}
.card-item:last-child { border-bottom: 1px solid var(--hairline); }
.card-num {
  font-family: var(--font-num);
  font-size: 16px;
  font-weight: 400;
  color: var(--turquoise);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.card-title {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 8px;
}
.card-desc {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-2);
}

/* ────────────────────────────────────────────────────────────
 * 10 · S8 · 合作流程
 * ──────────────────────────────────────────────────────────── */
.flow-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.flow-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 22px 0;
  align-items: baseline;
  position: relative;
}
.flow-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 48px;
  bottom: -4px;
  width: 1px;
  background: var(--hairline-soft);
}
.flow-num {
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 500;
  color: var(--turquoise);
  letter-spacing: 0.04em;
  background: var(--paper);
  padding: 4px 0;
  width: 28px;
  text-align: left;
  border-top: 1px solid var(--turquoise);
  font-variant-numeric: tabular-nums;
}
.flow-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.flow-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray);
}

/* ────────────────────────────────────────────────────────────
 * 11 · S9 · 项目进展 timeline
 * ──────────────────────────────────────────────────────────── */
.progress-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.progress-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline-soft);
  align-items: baseline;
}
.progress-item:last-child { border-bottom: 1px solid var(--hairline); }
.progress-mark {
  font-family: var(--font-num);
  font-size: 16px;
  font-weight: 500;
  color: var(--turquoise);
  text-align: center;
  line-height: 1;
}
.progress-item.ongoing .progress-mark {
  color: var(--gray-soft);
  font-size: 24px;
  line-height: 0.6;
}
.progress-item.highlight .progress-mark { color: var(--turquoise); }

.progress-stage {
  display: block;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.progress-detail {
  display: block;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--gray);
}
.progress-item.highlight .progress-detail em {
  color: var(--turquoise);
  background: none;
  font-weight: 600;
}

/* ────────────────────────────────────────────────────────────
 * 12 · S10 · CTA
 * ──────────────────────────────────────────────────────────── */
.section-cta {
  padding-top: 80px;
  padding-bottom: 64px;
  background: var(--paper-deep);
}
.cta-statement {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.85;
  color: var(--ink);
  letter-spacing: 0.04em;
  margin-bottom: 36px;
}

.cta-contact {
  border-top: 2px solid var(--turquoise);
  padding-top: 24px;
  margin-bottom: 56px;
  position: relative;
}
.cta-contact::before {
  content: "";
  position: absolute;
  top: -2px; left: 0;
  width: 32px; height: 2px;
  background: var(--turquoise);
}
.cta-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 12px;
}
.cta-label {
  font-family: var(--font-num);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--gray);
  text-transform: uppercase;
  min-width: 90px;
}
.cta-value {
  font-size: 17px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.cta-hint {
  font-size: 13px;
  color: var(--gray);
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 4px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.cta-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  border-radius: 0;
}
.cta-btn:active { transform: scale(0.98); opacity: 0.85; }

.cta-btn-primary {
  background: var(--turquoise);
  color: var(--paper);
}
.cta-btn-secondary {
  background: transparent;
  color: var(--turquoise);
  border: 1px solid var(--turquoise);
}
.cta-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  line-height: 1;
}
.cta-icon-svg {
  display: block;
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.cta-signoff {
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  text-align: left;
}
.cta-company {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}
.cta-date {
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.16em;
  color: var(--gray);
  text-transform: uppercase;
}

/* ────────────────────────────────────────────────────────────
 * 13 · Toast
 * ──────────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 22px;
  font-size: 14px;
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

/* ────────────────────────────────────────────────────────────
 * 14 · Accessibility · reduced motion
 * ──────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-fade] { opacity: 1; transform: none; }
}

/* ────────────────────────────────────────────────────────────
 * 15 · 小屏适配 · iPhone SE 等 < 380px
 * ──────────────────────────────────────────────────────────── */
@media (max-width: 380px) {
  :root { --pad-x: 22px; }
  .hero-logo { height: 72px; }
  .hero-tagline { font-size: 16px; }
  .step-title, .sec-title, .mv-title, .story-title { font-size: 23px; }
  .research-num { font-size: 48px; min-width: 90px; }
  .statement-text { font-size: 22px; }
  .cta-statement { font-size: 22px; }
}
