/* ================================================================
   金陵水脉 — 水墨新韵 Design System
   ================================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&family=Noto+Serif+SC:wght@400;600;700;900&family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Ink-wash palette */
  --ink:        #1C1C1E;
  --ink-soft:   #2C2C2E;
  --ink-mid:    #636366;
  --ink-light:  #8E8E93;
  --paper:      #F0EDE6;
  --paper-warm: #E8E3D8;
  --paper-deep: #DDD7CB;

  /* Water-jade accent */
  --jade:       #1A5C52;
  --jade-deep:  #0F4439;
  --jade-light: #2A8C7A;

  /* Antique gold */
  --gold:       #C9A96E;
  --gold-light: #DFC89A;
  --gold-muted: rgba(201,169,110,0.15);

  /* Ink blue */
  --blue-ink:   #2D4A5C;
  --blue-ink-l: #3D6A82;

  /* Vermillion */
  --vermillion: #B5453A;
  --vermillion-soft: rgba(181,69,58,0.08);

  /* Semantic */
  --bg:         var(--paper);
  --bg-alt:     var(--paper-warm);
  --text:       var(--ink-soft);
  --text-sub:   var(--ink-mid);
  --text-faint: var(--ink-light);
  --accent:     var(--jade);
  --accent-hover: var(--jade-deep);

  /* Spacing scale */
  --space-xs:   4px;
  --space-sm:   8px;
  --space-md:   16px;
  --space-lg:   24px;
  --space-xl:   40px;
  --space-2xl:  64px;
  --space-3xl:  96px;

  /* Typography — DS unified stacks（仅两类：标题衬线 / 正文无衬线，不引入网络字体） */
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --font-body:    "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", Arial, sans-serif;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(28,28,30,0.06), 0 1px 2px rgba(28,28,30,0.04);
  --shadow-md:  0 4px 16px rgba(28,28,30,0.08), 0 1px 4px rgba(28,28,30,0.04);
  --shadow-lg:  0 12px 40px rgba(28,28,30,0.12), 0 4px 12px rgba(28,28,30,0.06);
  --shadow-glow: 0 0 30px rgba(26,92,82,0.15);

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 0.2s var(--ease-out);
  --t-normal: 0.35s var(--ease-out);
  --t-slow: 0.6s var(--ease-out);

  --max-w: 1200px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text);
  line-height: 1.8;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Subtle paper texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.16);
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; font-family: inherit; }
input { font-family: inherit; }
a:focus-visible, button:focus-visible, [role="button"]:focus-visible, [role="tab"]:focus-visible,
summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--color-teal-700);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(198,169,110,0.25);
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ================================================================
   HEADER — 公共单行导航（全站统一组件，所有页面共用）
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  height: 84px;
  background: var(--color-paper);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.3s var(--ease-out);
}

.site-header.scrolled {
  box-shadow: 0 2px 14px rgba(23, 101, 95, 0.08);
}

.site-header-inner {
  max-width: 1520px;
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.site-header-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.site-header-name {
  font-family: 'Ma Shan Zheng', var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-teal-700);
  letter-spacing: 3px;
  white-space: nowrap;
}

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

.site-header-nav a {
  position: relative;
  padding: 13px 16px;
  font-size: 16px;
  line-height: 1;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.2s var(--ease-out);
}

.site-header-nav a:hover { color: var(--color-teal-700); }
.site-header-nav a.active { color: var(--color-teal-700); }

.site-header-nav a::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s var(--ease-out);
}
.site-header-nav a:hover::after,
.site-header-nav a.active::after { transform: scaleX(1); }

/* 移动端汉堡按钮 */
.site-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: auto;
}

.site-hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-teal-700);
  border-radius: 1px;
  transition: transform 0.2s var(--ease-out), opacity 0.2s var(--ease-out);
}

.site-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-hamburger.open span:nth-child(2) { opacity: 0; }
.site-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动端下拉菜单 */
.site-mobile-menu {
  display: none;
  position: fixed;
  top: 84px;
  left: 0;
  right: 0;
  z-index: 1100;
  background: var(--color-paper);
  border-bottom: 1px solid var(--color-border);
  padding: 12px 0 16px;
  box-shadow: 0 12px 24px rgba(23, 101, 95, 0.1);
}

.site-mobile-menu.open { display: flex; flex-direction: column; }

.site-mobile-menu a {
  padding: 13px var(--page-pad);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 1px;
}

.site-mobile-menu a:hover { background: var(--color-water-soft); color: var(--color-teal-700); }
.site-mobile-menu a.active { color: var(--color-teal-700); font-weight: 600; }

@media (max-width: 900px) {
  .site-header { height: 64px; }
  .site-header-nav { display: none; }
  .site-hamburger { display: flex; }
  .site-header-logo { width: 40px; height: 40px; }
  .site-header-name { font-size: 20px; }
  .site-mobile-menu { top: 64px; }
}

/* ================================================================
   SKIP LINK — 跳转正文（全站）
   ================================================================ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 3000;
  padding: 10px 20px;
  background: var(--color-teal-700);
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}

.skip-link:focus { left: 8px; top: 8px; }

/* ================================================================
   BACK TO TOP — 返回顶部（全站）
   ================================================================ */
.site-to-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: var(--color-teal-700);
  color: var(--color-paper);
  border: 1px solid var(--color-teal-700);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;
}

.site-to-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-to-top:hover {
  background: var(--color-teal-900);
  border-color: var(--color-teal-900);
}

.site-to-top:focus-visible {
  outline: 2px solid var(--color-teal-500);
  outline-offset: 2px;
}

.site-to-top svg {
  width: 20px;
  height: 20px;
}

/* ================================================================
   HERO — Full-bleed carousel with Ken Burns
   ================================================================ */
.hero {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: var(--ink);
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

/* Dark gradient overlay — left-side weighted */
.hero-slide-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(28,28,30,0.82) 0%,
    rgba(28,28,30,0.55) 40%,
    rgba(28,28,30,0.15) 100%
  );
}

.hero-slide-content {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  text-align: left;
  color: #fff;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  padding: 0 var(--space-xl);
}

.hero-slide-content h2 {
  font-family: 'Ma Shan Zheng', var(--font-display);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 8px;
  margin-bottom: 12px;
  line-height: 1.2;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
  color: #fff;
}

.hero-slide-content h2 .hero-title-img {
  height: 64px;
  width: auto;
  display: block;
  margin-bottom: 4px;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.3));
}

.hero-slide-content .hero-slogan {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--gold-light);
  letter-spacing: 4px;
  margin-bottom: 10px;
  font-weight: 400;
}

.hero-slide-content .hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  letter-spacing: 1px;
  margin-bottom: 32px;
  max-width: 420px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 14px;
  align-items: center;
}

/* Hero arrows */
.hero-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 var(--space-md);
  z-index: 5;
  pointer-events: none;
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  pointer-events: all;
  transition: all var(--t-fast);
  border: 1px solid rgba(255,255,255,0.15);
}

.hero-arrow svg {
  width: 18px;
  height: 18px;
}

.hero-arrow:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.05);
}

.hero-dots {
  position: absolute;
  bottom: 68px;
  left: var(--space-xl);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all var(--t-normal);
}

.hero-dot.active {
  background: var(--gold);
  width: 28px;
  border-radius: 4px;
}

/* Hero wave bottom decoration */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 4;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 60px;
  display: block;
}

/* ================================================================
   DESIGN LOGIC — 水文化如何成为日常设计
   ================================================================ */
.design-logic {
  background: var(--paper);
  overflow: hidden;
  position: relative;
}
.design-logic::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(26,92,82,0.06), transparent 62%);
  pointer-events: none;
}

.design-logic-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
  z-index: 1;
}
.design-logic-header h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 3px;
  margin-bottom: 14px;
}
.design-logic-lead {
  max-width: 640px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-sub);
  letter-spacing: 0.3px;
}

.design-logic-track {
  position: relative;
  padding-top: 44px;
}

/* 抽象水脉线 */
.design-logic-river {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 96px;
  z-index: 1;
  pointer-events: none;
}
.design-logic-river .river-bg { opacity: 1; }
.design-logic-river .river-fg {
  stroke-dasharray: 10 8;
  stroke-dashoffset: 0;
  transition: none;
}
@keyframes design-logic-flow {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -360; }
}
.design-logic-river .river-highlight {
  stroke-dasharray: 18 10;
  stroke-dashoffset: 0;
  animation: design-logic-flow 7s linear infinite;
}

/* 四个节点 */
.design-logic-nodes {
  position: relative;
  z-index: 2;
  display: flex;
  gap: var(--space-lg);
}
.design-logic-node {
  flex: 1;
  min-width: 0;
  text-align: center;
  cursor: pointer;
  position: relative;
  outline: none;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.design-logic-track.in-view .design-logic-node {
  opacity: 1;
  transform: none;
}
.design-logic-track.in-view .design-logic-node:nth-child(1) { transition-delay: 0.06s; }
.design-logic-track.in-view .design-logic-node:nth-child(2) { transition-delay: 0.16s; }
.design-logic-track.in-view .design-logic-node:nth-child(3) { transition-delay: 0.26s; }
.design-logic-track.in-view .design-logic-node:nth-child(4) { transition-delay: 0.36s; }
.design-logic-node:focus-visible {
  outline: 2px solid var(--jade);
  outline-offset: 6px;
  border-radius: var(--r-md);
}

/* 水脉线到标记的竖向连接 */
.node-connector {
  width: 2px;
  height: 40px;
  margin: 0 auto 12px;
  background: linear-gradient(to bottom, rgba(201,169,110,0.55), rgba(26,92,82,0.45));
  transition: background var(--t-normal);
}

/* 节点内容 */
.node-content { transition: transform var(--t-normal); }
.design-logic-node:not(.active):hover .node-content { transform: translateY(-3px); }
.node-marker {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 1px solid rgba(26,92,82,0.35);
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: border-color var(--t-normal), background var(--t-normal);
}
.water-ripple {
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--jade);
  border-radius: 50%;
  position: relative;
  transition: border-color var(--t-normal);
}
.water-ripple::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
}
@keyframes design-logic-pulse {
  0%   { box-shadow: 0 0 0 1px var(--gold), 0 0 0 0 rgba(26,92,82,0.28); }
  75%  { box-shadow: 0 0 0 1px var(--gold), 0 0 0 14px rgba(26,92,82,0); }
  100% { box-shadow: 0 0 0 1px var(--gold), 0 0 0 0 rgba(26,92,82,0); }
}

/* 当前节点 — 深水青 + 古金细线高亮 */
.design-logic-node.active .node-connector {
  background: linear-gradient(to bottom, var(--gold), var(--jade-deep));
}
.design-logic-node.active .node-marker {
  border-color: var(--gold);
  background: rgba(26,92,82,0.06);
  animation: design-logic-pulse 2.6s var(--ease-out) infinite;
}
.design-logic-node.active .water-ripple { border-color: var(--jade-deep); }
.design-logic-node.active .water-ripple::before { border-color: var(--gold); }

.node-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 1px;
  padding-top: 16px;
  position: relative;
  transition: color var(--t-normal);
}
.node-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: width 0.5s var(--ease-out);
}
.design-logic-node.active .node-title { color: var(--jade-deep); }
.design-logic-node.active .node-title::before { width: 72px; }

/* 两行以内正文 */
.node-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-sub);
  max-width: 260px;
  margin: 0 auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 点击展开的解释 */
.node-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  margin-top: 12px;
  transition: max-height 0.5s var(--ease-out), opacity 0.4s var(--ease-out), visibility 0.4s var(--ease-out);
}
.design-logic-node.active .node-detail {
  max-height: 240px;
  opacity: 1;
  visibility: visible;
}
.node-detail p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-sub);
  max-width: 280px;
  margin: 0 auto;
  text-align: left;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 30px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all var(--t-fast);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--color-teal-700);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-teal-900);
  box-shadow: 0 4px 16px rgba(23,101,95,0.25);
}

.btn-outline {
  background: transparent;
  color: var(--color-teal-700);
  border: 1px solid var(--color-border-strong);
}

.btn-outline:hover {
  background: var(--color-teal-700);
  color: #fff;
}

.btn-sm {
  min-height: 32px;
  padding: 6px 18px;
  font-size: 14px;
}

.btn svg { width: 16px; height: 16px; }

/* ================================================================
   SECTIONS — Rhythm & Spacing
   ================================================================ */
.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--ink);
  color: rgba(255,255,255,0.8);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

/* Water wave divider — SVG-based */
.water-divider {
  width: 80px;
  height: 20px;
  margin: 20px auto 0;
  opacity: 0.5;
}

.water-divider svg { width: 100%; height: 100%; }

/* Decorative wave line for section headers */
.wave-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}

.wave-line-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.wave-line-bar {
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 1px;
}

.wave-line-bar:last-child {
  background: linear-gradient(90deg, transparent, var(--gold));
}

/* ================================================================
   CARDS — Refined & Textured
   ================================================================ */
.card {
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid rgba(28,28,30,0.06);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--t-normal);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(26,92,82,0.1);
}

.card-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(26,92,82,0.06);
  color: var(--jade);
  font-size: 12px;
  border-radius: var(--r-full);
  font-weight: 500;
}

.card-tag.gold { background: var(--gold-muted); color: #9A7B3A; }
.card-tag.blue { background: rgba(45,74,92,0.08); color: var(--blue-ink); }
.card-tag.red { background: var(--vermillion-soft); color: var(--vermillion); }

/* ================================================================
   HOMEPAGE: About Section
   ================================================================ */
#about {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}
#about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/金缕蓝烟.jpg') center/cover no-repeat;
  opacity: 0.06;
  pointer-events: none;
}

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-text h3 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--ink);
  letter-spacing: 2px;
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.about-text h3 .accent { color: var(--jade); }
.about-text h3 .accent-gold { color: var(--gold); }

.about-slogan-wave {
  width: 120px;
  margin-bottom: 6px;
}
.about-slogan-wave svg {
  width: 100%;
  height: 12px;
  display: block;
}

.about-text .about-slogan {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: var(--space-lg);
  font-weight: 400;
}

.about-text p {
  font-size: 16px;
  line-height: 2;
  color: var(--text-sub);
  margin-bottom: var(--space-md);
}

.about-map-card {
  background: linear-gradient(135deg, var(--paper-warm), #fff);
  border-radius: var(--r-lg);
  border: 1px solid rgba(201,169,110,0.15);
  padding: var(--space-xl);
  text-align: center;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-map-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/金缕蓝烟.jpg') center/cover no-repeat;
  opacity: 0.06;
  pointer-events: none;
}

.about-map-card .map-icon {
  font-size: 36px;
  margin-bottom: var(--space-md);
  opacity: 0.5;
}

.about-map-card .map-title {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.about-map-card .map-desc {
  font-size: 14px;
  color: var(--text-sub);
  letter-spacing: 1px;
}

.about-map-card .map-note {
  margin-top: var(--space-lg);
  font-size: 12px;
  color: var(--text-faint);
}

/* ================================================================
   HOMEPAGE: Five Modules
   ================================================================ */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}

.module-card {
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid rgba(28,28,30,0.06);
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--jade), var(--gold));
  opacity: 0;
  transition: opacity var(--t-fast);
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26,92,82,0.12);
}

.module-card:hover::before { opacity: 1; }

.module-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  transition: transform var(--t-normal);
}

.module-card:hover .module-icon {
  transform: scale(1.08);
}

.module-icon svg {
  width: 24px;
  height: 24px;
}

.module-icon.green  { background: rgba(26,92,82,0.08); color: var(--jade); }
.module-icon.blue   { background: rgba(45,74,92,0.08); color: var(--blue-ink); }
.module-icon.gold   { background: var(--gold-muted); color: var(--gold); }
.module-icon.teal   { background: rgba(42,140,122,0.08); color: #2A8C7A; }
.module-icon.red    { background: var(--vermillion-soft); color: var(--vermillion); }

.module-card h4 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
  letter-spacing: 2px;
  margin-bottom: 4px;
  font-weight: 700;
}

.module-card p {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.5;
}

/* ================================================================
   HOMEPAGE: Water Journey — Cognitive Flow
   ================================================================ */
.water-journey {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 100%);
}

.water-journey::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(26,92,82,0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(201,169,110,0.03) 0%, transparent 50%);
  pointer-events: none;
}

.journey-scroll-hint {
  text-align: center;
  margin-bottom: 48px;
  color: var(--text-faint);
  font-size: 14px;
  letter-spacing: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.6s ease;
}

.journey-scroll-hint.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  animation: bounce-down 2s ease-in-out infinite;
}

@keyframes bounce-down {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(8px); opacity: 1; }
}

.journey-track {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* SVG River Wave */
.journey-river {
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  width: 100%;
  height: 200px;
  z-index: 1;
  pointer-events: none;
}

.river-bg {
  opacity: 1;
}

.river-fg {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  transition: stroke-dashoffset 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.river-fg.animate {
  stroke-dashoffset: 0;
}

/* Nodes Container */
.journey-nodes {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.journey-node {
  flex: 1;
  max-width: 210px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.journey-node:focus-visible {
  outline: 2px solid var(--jade);
  outline-offset: 4px;
  border-radius: var(--r-md);
}

/* Node Pin */
.node-pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  transition: transform 0.3s ease;
}

.journey-node.active .node-pin {
  transform: scale(1.05);
}

.node-num {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 2px;
  font-weight: 600;
  transition: color 0.3s;
}

.journey-node.active .node-num {
  color: var(--jade);
}

.node-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper-deep);
  border: 2px solid var(--gold-light);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.journey-node.active .node-dot {
  background: var(--jade);
  border-color: var(--jade);
  box-shadow: 0 0 0 4px rgba(26,92,82,0.12), 0 0 20px rgba(26,92,82,0.15);
  transform: scale(1.15);
}

.node-dot::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--jade-light);
  opacity: 0;
  animation: pulse-ring 2.5s ease-in-out infinite;
}

.journey-node.active .node-dot::after {
  animation: pulse-ring 2.5s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0; }
  50% { transform: scale(1.4); opacity: 0.25; }
}

/* Node Card */
.node-card {
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid rgba(28,28,30,0.06);
  padding: 16px 14px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.node-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--jade), var(--gold));
  opacity: 0;
  transition: opacity 0.3s;
}

.journey-node.active .node-card {
  border-color: rgba(26,92,82,0.18);
  box-shadow: 0 8px 32px rgba(26,92,82,0.1), 0 2px 8px rgba(26,92,82,0.06);
  transform: translateY(-6px);
}

.journey-node.active .node-card::before {
  opacity: 1;
}

.journey-node:not(.active):hover .node-card {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Node Content */
.node-header {
  margin-bottom: 8px;
}

.node-verb {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 4px;
  margin-bottom: 2px;
  font-weight: 400;
}

.node-header h4 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
  letter-spacing: 3px;
  font-weight: 700;
}

.node-desc {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 12px;
}

.node-btn {
  display: inline-block;
  padding: 5px 18px;
  font-size: 12px;
  background: var(--jade);
  color: #fff;
  border-radius: var(--r-full);
  letter-spacing: 1px;
  transition: all 0.3s ease;
  pointer-events: auto;
}

.node-btn:hover {
  background: var(--jade-deep);
  box-shadow: 0 4px 12px rgba(26,92,82,0.25);
  transform: translateY(-1px);
}

.node-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Preview Panel (expandable) */
.node-preview {
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 0;
  opacity: 0;
  transform: translateY(-8px);
}

.journey-node.active .node-preview {
  max-height: 260px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(26,92,82,0.08);
  opacity: 1;
  transform: translateY(0);
}

.node-preview img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: var(--r-sm);
  margin-bottom: 10px;
  transition: transform 0.6s ease;
}

.journey-node.active .node-preview img {
  transform: scale(1);
}

.node-value {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--jade);
  letter-spacing: 1px;
  font-style: italic;
  line-height: 1.7;
  opacity: 0.9;
}

/* ================================================================
   HOMEPAGE: Preview Grid
   ================================================================ */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.preview-card {
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid rgba(28,28,30,0.06);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-normal);
}

.preview-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.preview-card-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
  overflow: hidden;
}

.preview-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/金缕蓝烟.jpg') center/cover no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.preview-card-img.map-bg    { background: linear-gradient(135deg, #E8F0EC, #D4E4DA); }
.preview-card-img.culture-bg { background: linear-gradient(135deg, #E5EBF0, #D0DAE2); }
.preview-card-img.virtue-bg  { background: linear-gradient(135deg, #F0EBE0, #E2D8C8); }
.preview-card-img.route-bg   { background: linear-gradient(135deg, #EAE5F0, #D8D0E2); }

.preview-card-body {
  padding: var(--space-lg);
}

.preview-card-body h4 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: 1px;
  font-weight: 700;
}

.preview-card-body p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}

.preview-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(28,28,30,0.06);
}

.point-count {
  font-size: 14px;
  color: var(--jade);
  font-weight: 600;
}

/* ================================================================
   HOMEPAGE: CTA Banner with 金缕蓝烟
   ================================================================ */
.cta-banner {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ink) 0%, #1A2A30 50%, var(--jade-deep) 100%);
}

.cta-banner-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/金缕蓝烟.jpg') center/cover no-repeat;
  opacity: 0.15;
}

.cta-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201,169,110,0.1) 0%, transparent 60%);
}

.cta-banner .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-banner h3 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 28px;
  letter-spacing: 5px;
  margin-bottom: 10px;
  font-weight: 700;
}

.cta-banner .cta-sub {
  color: var(--gold-light);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 32px;
  font-family: var(--font-display);
}

.cta-banner .btns {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.cta-wave-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
}
.cta-wave-bottom svg {
  width: 100%;
  height: 48px;
  display: block;
}
.cta-wave-bottom svg path {
  fill: var(--ink);
}

/* ================================================================
   FOOTER — 浅色米白/浅水青
   ================================================================ */
.footer {
  background: var(--color-water-soft);
  color: var(--color-text-muted);
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
}

/* Wave top decoration（旧版深色装饰保留，未在页面中使用） */
.footer-wave {
  line-height: 0;
  background: linear-gradient(135deg, var(--color-water) 0%, #E9F0ED 50%, var(--color-water-soft) 100%);
  position: relative;
}

.footer-wave svg {
  width: 100%;
  height: 48px;
  display: block;
  fill: var(--color-paper);
}

.footer-inner {
  padding: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--content-gap);
  margin-bottom: 32px;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--color-teal-900);
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.footer-brand .slogan {
  font-size: 14px;
  color: var(--color-gold);
  letter-spacing: 1px;
  margin-bottom: 14px;
  font-family: var(--font-display);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.footer-col h4 {
  font-family: var(--font-display);
  color: var(--color-teal-700);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted);
  padding: 4px 0;
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer-col a:hover { color: var(--color-teal-700); }

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--color-text-soft);
}

@media (max-width: 768px) {
  .footer { padding: 36px 0; }
}

/* ================================================================
   INNER PAGE BANNER
   ================================================================ */
.inner-banner {
  background: linear-gradient(135deg, var(--ink) 0%, #1A2A30 50%, var(--jade-deep) 100%);
  padding: 96px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.inner-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url('../images/金缕蓝烟.jpg') center/cover no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.inner-banner::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 48px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 1;
}

.inner-banner h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 8px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.inner-banner h2 .accent { color: var(--gold); }

.inner-banner p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin: 0 auto;
}

.inner-banner .water-divider {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  opacity: 0.4;
}

/* ================================================================
   MAP PAGE
   ================================================================ */
#map {
  width: 100%;
  height: 420px;
  min-height: 420px;
  border-radius: var(--r-md);
  border: 1px solid rgba(28,28,30,0.08);
  box-shadow: var(--shadow-sm);
  z-index: 0;
}

.filter-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-row .filter-bar { flex: 1; }

.search-group {
  display: flex;
  gap: 6px;
  align-items: center;
}

.point-search-input {
  padding: 7px 14px;
  border: 1px solid rgba(28,28,30,0.1);
  border-radius: var(--r-sm);
  font-size: 14px;
  width: 160px;
  outline: none;
  transition: border-color var(--t-fast);
  font-family: inherit;
  background: #fff;
}

.point-search-input:focus { border-color: var(--jade); }

.map-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 16px;
}

.map-sidebar {
  max-height: 420px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.point-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.point-item {
  background: #fff;
  border-radius: var(--r-sm);
  border: 1px solid rgba(28,28,30,0.06);
  padding: 10px 12px;
  cursor: pointer;
  transition: all var(--t-fast);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.point-item:hover, .point-item.active {
  border-color: var(--jade);
  box-shadow: 0 2px 8px rgba(26,92,82,0.08);
  background: rgba(26,92,82,0.02);
}

.point-item-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.point-item-info { flex: 1; min-width: 0; }

.point-item-info h5 {
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.point-item-info p {
  font-size: 12px;
  color: var(--text-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Floating Point Card */
.point-floating-card {
  position: fixed;
  width: 300px;
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid rgba(28,28,30,0.08);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  z-index: 1500;
  animation: cardFadeIn 0.25s var(--ease-out);
}

@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.pfc-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(28,28,30,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-faint);
  cursor: pointer;
  transition: background var(--t-fast);
}

.pfc-close:hover { background: rgba(28,28,30,0.1); }

.point-floating-card h4 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.pfc-type {
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 500;
}

.pfc-row {
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.pfc-label {
  font-size: 12px;
  color: var(--text-faint);
  min-width: 30px;
  flex-shrink: 0;
}

.pfc-intro {
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
  margin: 8px 0;
  padding-bottom: 8px;
}

.pfc-poem {
  font-size: 14px;
  color: var(--blue-ink);
  font-style: italic;
  line-height: 1.7;
  padding: 8px 0;
  border-top: 1px solid rgba(28,28,30,0.06);
  border-bottom: 1px solid rgba(28,28,30,0.06);
  margin-bottom: 4px;
  font-family: var(--font-display);
}

.pfc-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.water-tooltip {
  background: var(--ink) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--r-sm) !important;
  padding: 4px 10px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 1px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}

.water-tooltip::before { border-top-color: var(--ink) !important; }

.leaflet-water-marker { background: none !important; border: none !important; }

.leaflet-control-attribution {
  font-size: 12px !important;
  background: rgba(255,255,255,0.7) !important;
}

.leaflet-control-zoom a {
  background: #fff !important;
  color: var(--ink) !important;
  border-color: rgba(28,28,30,0.08) !important;
}

.filter-bar {
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid rgba(28,28,30,0.06);
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-tag {
  padding: 5px 14px;
  border-radius: var(--r-full);
  font-size: 14px;
  background: transparent;
  color: var(--text-sub);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--t-fast);
}

.filter-tag:hover, .filter-tag.active {
  background: rgba(26,92,82,0.06);
  color: var(--jade);
  border-color: rgba(26,92,82,0.2);
}

/* ================================================================
   CULTURE PAGE
   ================================================================ */
.culture-intro {
  max-width: 800px;
  margin: 0 auto var(--space-xl);
  text-align: center;
}

.culture-intro p {
  font-size: 16px;
  line-height: 2;
  color: var(--text-sub);
}

.relation-map {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.relation-center {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink), var(--jade-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(28,28,30,0.25);
}

.relation-node {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 1px;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-normal);
}

.relation-node:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.culture-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.culture-card {
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid rgba(28,28,30,0.06);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--t-normal);
}

.culture-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.culture-card-header {
  padding: 28px 28px 0;
}

.culture-card-header .num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--paper-deep);
  line-height: 1;
  margin-bottom: 8px;
}

.culture-card-header h4 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.culture-card-header .question {
  font-size: 14px;
  color: var(--gold);
  font-style: italic;
  font-family: var(--font-display);
}

.culture-card-body {
  padding: 16px 28px 28px;
}

.culture-card-body p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 12px;
}

.culture-card-body .keywords {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.culture-card-body .btn { margin-top: 4px; }

/* ================================================================
   VIRTUE PAGE
   ================================================================ */
.virtue-hero-text {
  text-align: center;
  padding: 60px 0 40px;
}

.virtue-hero-text .big {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 12px;
  margin-bottom: 8px;
}

.virtue-hero-text .small {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--gold);
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.virtue-hero-text p {
  font-size: 16px;
  color: var(--text-sub);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.9;
}

.virtue-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.virtue-card {
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid rgba(28,28,30,0.06);
  padding: 28px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--t-normal);
}

.virtue-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.virtue-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 20px;
}

.virtue-card:nth-child(1) .virtue-card-icon { background: rgba(45,74,92,0.08); }
.virtue-card:nth-child(2) .virtue-card-icon { background: rgba(26,92,82,0.08); }
.virtue-card:nth-child(3) .virtue-card-icon { background: var(--gold-muted); }
.virtue-card:nth-child(4) .virtue-card-icon { background: var(--vermillion-soft); }
.virtue-card:nth-child(5) .virtue-card-icon { background: rgba(42,140,122,0.08); }

.virtue-card h4 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.virtue-card .desc {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.7;
}

.virtue-card .peace {
  font-size: 12px;
  color: var(--gold);
  margin-top: 8px;
  font-weight: 500;
}

.virtue-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 48px 0;
  flex-wrap: wrap;
}

.virtue-flow-item {
  padding: 10px 18px;
  background: #fff;
  border-radius: var(--r-sm);
  border: 1px solid rgba(28,28,30,0.06);
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 1px;
  box-shadow: var(--shadow-sm);
}

.virtue-flow-arrow {
  font-size: 20px;
  color: var(--gold);
}

.virtue-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: 40px;
}

.virtue-case-card {
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid rgba(28,28,30,0.06);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-normal);
}

.virtue-case-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.virtue-case-card h4 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.virtue-case-card .tags {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.virtue-case-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}

.virtue-action {
  text-align: center;
  padding: 60px 0 0;
}

.virtue-action p {
  font-size: 16px;
  color: var(--text);
  max-width: 500px;
  margin: 0 auto 24px;
  line-height: 1.9;
}

/* ================================================================
   ROUTES PAGE
   ================================================================ */
.route-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 40px;
  flex-wrap: wrap;
}

.route-flow-step {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #fff;
  border-radius: var(--r-full);
  border: 1px solid rgba(28,28,30,0.06);
  font-size: 14px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.route-flow-step .icon { font-size: 16px; }

.route-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.route-card {
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid rgba(28,28,30,0.06);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--t-normal);
}

.route-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.route-card-banner {
  height: 110px;
  display: flex;
  align-items: flex-end;
  padding: 16px 24px;
  position: relative;
  overflow: hidden;
}

.route-card-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/金缕蓝烟.jpg') center/cover no-repeat;
  opacity: 0.12;
}

.route-card-banner.green  { background: linear-gradient(135deg, #0F4439, var(--jade)); }
.route-card-banner.teal   { background: linear-gradient(135deg, #1A3A4A, var(--blue-ink)); }
.route-card-banner.blue   { background: linear-gradient(135deg, #1A2A4A, #2D5A7C); }
.route-card-banner.gold   { background: linear-gradient(135deg, #6A5A2A, #9A7B3A); }

.route-card-banner h4 {
  font-family: var(--font-display);
  font-size: 20px;
  color: #fff;
  letter-spacing: 3px;
  position: relative;
  z-index: 1;
}

.route-card-banner .route-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border-radius: var(--r-full);
  color: #fff;
  font-size: 12px;
  z-index: 1;
}

.route-card-body { padding: 18px 24px; }

.route-card-body .theme {
  font-size: 14px;
  color: var(--gold);
  font-style: italic;
  margin-bottom: 12px;
  font-family: var(--font-display);
}

.route-points-list {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.route-point-tag {
  padding: 4px 10px;
  background: var(--paper-warm);
  border-radius: var(--r-full);
  font-size: 12px;
  color: var(--text);
}

.route-point-arrow {
  color: var(--gold);
  font-size: 12px;
}

.route-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(28,28,30,0.06);
}

.route-duration {
  font-size: 14px;
  color: var(--text-sub);
}

.route-virtues {
  display: flex;
  gap: 6px;
}

.route-virtue-tag {
  padding: 3px 10px;
  background: rgba(26,92,82,0.06);
  color: var(--jade);
  font-size: 12px;
  border-radius: var(--r-full);
}

/* ================================================================
   SHOP PAGE
   ================================================================ */
.shop-filters {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.shop-filters .filter-group {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.shop-filters .divider {
  width: 1px;
  height: 24px;
  background: rgba(28,28,30,0.08);
  margin: 0 8px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.product-card {
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid rgba(28,28,30,0.06);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--t-normal);
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.product-img {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: linear-gradient(135deg, var(--paper-warm), var(--paper));
  position: relative;
  overflow: hidden;
}

.product-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/金缕蓝烟.jpg') center/cover no-repeat;
  opacity: 0.06;
}

.product-img .theme-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  background: rgba(28,28,30,0.75);
  color: var(--gold-light);
  font-size: 12px;
  border-radius: var(--r-full);
  backdrop-filter: blur(4px);
  z-index: 1;
}

.product-body { padding: 14px 16px; }

.product-body h4 {
  margin-bottom: 4px;
}

.product-body .desc {
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 10px;
  line-height: 1.6;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-size: 20px;
  color: var(--vermillion);
  font-weight: 700;
}

.product-price small {
  font-size: 12px;
  font-weight: 400;
}

.product-actions {
  display: flex;
  gap: 6px;
}

.product-actions button {
  padding: 4px 14px;
  border-radius: var(--r-sm);
  font-size: 12px;
  transition: all var(--t-fast);
}

.add-cart-btn {
  background: var(--paper-warm);
  color: var(--ink);
  border: 1px solid rgba(28,28,30,0.08);
}

.add-cart-btn:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.buy-now-btn {
  background: var(--jade);
  color: #fff;
}

.buy-now-btn:hover {
  background: var(--jade-deep);
}

/* Product image carousel */
.product-carousel {
  position: relative;
  padding: 0;
  background: var(--paper-warm);
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.carousel-slide.active {
  opacity: 1;
  position: relative;
}

.carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: #fff;
  width: 18px;
  border-radius: 3px;
}

.product-img-single {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
}

/* Shop concept banner */
.shop-concept {
  margin-top: 64px;
  background: linear-gradient(135deg, var(--ink) 0%, #1A2A30 50%, var(--jade-deep) 100%);
  border-radius: var(--r-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.shop-concept::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/金缕蓝烟.jpg') center/cover no-repeat;
  opacity: 0.1;
}

.shop-concept > * { position: relative; z-index: 1; }

.shop-concept h3 {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-weight: 700;
}

.shop-concept p {
  font-size: 14px;
  line-height: 1.9;
  opacity: 0.8;
  max-width: 480px;
}

.shop-concept .btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ================================================================
   ABOUT PAGE
   ================================================================ */
.page-about {
  background:
    url('../images/金缕蓝烟.jpg') center/cover no-repeat fixed,
    var(--paper);
  background-blend-mode: soft-light;
}
.page-about .section {
  background: transparent;
}
.page-about .section-alt {
  background: rgba(240,237,230,0.7);
}
.about-hero-intro {
  max-width: 800px;
  margin: 0 auto var(--space-xl);
  text-align: center;
}

.about-hero-badge {
  display: inline-block;
  padding: 4px 16px;
  background: rgba(26,92,82,0.06);
  color: var(--jade);
  font-size: 14px;
  border-radius: var(--r-full);
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-weight: 500;
}

.about-hero-intro h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
  letter-spacing: 2px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.about-hero-intro p {
  font-size: 16px;
  line-height: 2;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.about-hero-intro strong { color: var(--ink); }

/* Water Systems Row */
.water-systems-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.water-system-item {
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid rgba(28,28,30,0.06);
  padding: 24px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-normal);
}

.water-system-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.ws-icon { font-size: 32px; margin-bottom: 10px; }

.ws-name {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.ws-desc {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.6;
}

/* Content Blocks */
.about-content-section { padding: 60px 0; }

.about-content-block {
  max-width: 800px;
  margin: 0 auto;
}

.about-content-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(201,169,110,0.15);
}

.about-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink), var(--jade-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.about-content-header h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
  letter-spacing: 2px;
}

.about-content-body p {
  font-size: 16px;
  line-height: 2;
  color: var(--text-sub);
  margin-bottom: 20px;
}

.about-content-body strong { color: var(--ink); }

/* Highlight Cards */
.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0;
}

.about-highlight-card {
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid rgba(28,28,30,0.06);
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-normal);
}

.about-highlight-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.ahc-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.ahc-icon.blue   { background: rgba(45,74,92,0.08); }
.ahc-icon.green  { background: rgba(26,92,82,0.08); }
.ahc-icon.gold   { background: var(--gold-muted); }
.ahc-icon.teal   { background: rgba(42,140,122,0.08); }

.about-highlight-card h4 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.about-highlight-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Five Modules Flow */
.about-modules-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 0;
}

.amf-item {
  text-align: center;
  padding: 14px 18px;
  background: #fff;
  border-radius: var(--r-sm);
  border: 1px solid rgba(28,28,30,0.06);
  box-shadow: var(--shadow-sm);
  min-width: 90px;
}

.amf-num {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 4px;
}

.amf-label {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 2px;
}

.amf-arrow { font-size: 20px; color: var(--gold); }

/* Quote Block */
.about-quote-block {
  background: rgba(26,92,82,0.03);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 24px 28px;
  margin: 24px 0;
  position: relative;
}

.about-quote-mark {
  font-size: 36px;
  color: var(--gold-light);
  line-height: 1;
  position: absolute;
  top: 8px;
  left: 14px;
  font-family: Georgia, serif;
}

.about-quote-text {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
  letter-spacing: 3px;
  font-weight: 600;
  padding-left: 36px;
  margin-bottom: 8px;
}

.about-quote-attr {
  font-size: 14px;
  color: var(--text-sub);
  text-align: right;
  font-family: var(--font-display);
}

/* Virtues Row */
.about-virtues-row {
  display: flex;
  gap: 10px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.about-virtue-tag {
  padding: 7px 18px;
  background: linear-gradient(135deg, var(--ink), var(--jade-deep));
  color: #fff;
  border-radius: var(--r-full);
  font-size: 14px;
  letter-spacing: 2px;
  box-shadow: 0 2px 8px rgba(28,28,30,0.15);
}

/* CTA Card */
.about-cta-card {
  background: linear-gradient(135deg, var(--ink) 0%, #1A2A30 50%, var(--jade-deep) 100%);
  border-radius: var(--r-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.about-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/金缕蓝烟.jpg') center/cover no-repeat;
  opacity: 0.08;
}

.about-cta-card > * { position: relative; z-index: 1; }

.about-cta-left h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: #fff;
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.about-cta-left p {
  font-size: 14px;
  color: var(--gold-light);
  letter-spacing: 1px;
}

.about-cta-right {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ================================================================
   TOPIC DETAIL PAGES
   ================================================================ */
.topic-banner {
  padding: 48px 0 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.topic-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/金缕蓝烟.jpg') center/cover no-repeat;
  opacity: 0.06;
  pointer-events: none;
}

.topic-back {
  display: inline-block;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin-bottom: 16px;
  transition: color var(--t-fast);
}

.topic-back:hover { color: #fff; }

.topic-badge {
  display: inline-block;
  background: rgba(201,169,110,0.2);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 4px 14px;
  border-radius: var(--r-full);
  margin-bottom: 12px;
}

.topic-banner .topic-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 4px;
  margin-bottom: 8px;
  color: #fff;
}

.topic-question {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1px;
}

.topic-intro-block {
  max-width: 800px;
  margin: 0 auto;
}

.topic-quote {
  font-size: 16px;
  color: var(--text);
  line-height: 1.9;
  text-align: center;
  font-family: var(--font-display);
  padding: 20px 32px;
  border-left: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
  background: rgba(201,169,110,0.04);
  border-radius: var(--r-sm);
}

.topic-content {
  max-width: 800px;
  margin: 0 auto;
}

.topic-section { margin-bottom: 32px; }

.topic-section p {
  font-size: 16px;
  color: var(--text);
  line-height: 2;
  margin-bottom: 12px;
  text-indent: 2em;
}

.topic-section-title {
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(26,92,82,0.1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.topic-section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--jade);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.topic-poem-block {
  background: rgba(45,74,92,0.04);
  border-left: 3px solid var(--blue-ink);
  padding: 18px 24px;
  margin: 16px 0;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  text-align: center;
}

.topic-poem-block p {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--blue-ink);
  line-height: 2;
  margin-bottom: 4px;
  text-indent: 0 !important;
  text-align: center;
}

.topic-poem-block cite {
  display: block;
  font-size: 14px;
  color: var(--text-sub);
  margin-top: 12px;
  font-style: normal;
  text-align: right;
}

.topic-table-wrap {
  margin: 24px 0 32px;
  overflow-x: auto;
}

.topic-table-title {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 12px;
}

.topic-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.7;
}

.topic-table th {
  background: var(--jade);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
}

.topic-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(28,28,30,0.06);
  color: var(--text);
}

.topic-table tbody tr:hover { background: rgba(26,92,82,0.02); }

.topic-references {
  margin-top: 40px;
  padding: 20px 24px;
  background: rgba(201,169,110,0.05);
  border-radius: var(--r-md);
  border: 1px solid rgba(201,169,110,0.12);
}

.topic-references h4 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 12px;
}

.topic-references li {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
  padding: 3px 0 3px 16px;
  position: relative;
}

.topic-references li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.topic-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid rgba(28,28,30,0.06);
}

.topic-nav-label {
  font-size: 12px;
  color: var(--text-sub);
  margin: 0 12px;
}

.topic-nav-link {
  font-size: 14px;
  color: var(--jade);
  font-weight: 500;
  transition: color var(--t-fast);
}

.topic-nav-link:hover { color: var(--jade-deep); }

.topic-nav-disabled {
  font-size: 14px;
  color: var(--text-faint);
  opacity: 0.5;
}

/* ================================================================
   CART SIDEBAR
   ================================================================ */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  height: 100vh;
  background: #fff;
  z-index: 2001;
  box-shadow: -4px 0 24px rgba(28,28,30,0.12);
  transition: right 0.35s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.cart-sidebar.open { right: 0; }

.cart-sidebar-header {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(28,28,30,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-sidebar-header h3 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
  letter-spacing: 2px;
}

.cart-sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(28,28,30,0.05);
  align-items: center;
}

.cart-item-img {
  width: 56px;
  height: 56px;
  border-radius: var(--r-sm);
  background: var(--paper-warm);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.cart-item-info { flex: 1; }

.cart-item-info h4 {
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 4px;
}

.cart-item-info .price {
  font-size: 16px;
  color: var(--vermillion);
  font-weight: 600;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.cart-item-qty button {
  width: 24px;
  height: 24px;
  border-radius: var(--r-sm);
  background: var(--paper-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text);
}

.cart-item-qty span {
  font-size: 14px;
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  color: var(--text-faint);
  font-size: 16px;
  background: none;
  padding: 4px;
  transition: color var(--t-fast);
}

.cart-item-remove:hover { color: var(--vermillion); }

.cart-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--text-sub);
}

.cart-empty .icon { font-size: 48px; margin-bottom: 16px; opacity: 0.4; }

.cart-sidebar-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(28,28,30,0.06);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.cart-total span { font-size: 14px; color: var(--text-sub); }
.cart-total strong { font-size: 20px; color: var(--vermillion); }

.cart-sidebar-footer .btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 8px;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,28,30,0.3);
  z-index: 2000;
  display: none;
  backdrop-filter: blur(2px);
}

.cart-overlay.active { display: block; }

/* ================================================================
   MODAL
   ================================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,28,30,0.5);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(6px);
}

.modal-overlay.active { display: flex; }

.modal {
  background: #fff;
  border-radius: var(--r-lg);
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: modalIn 0.3s var(--ease-out);
}

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

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(28,28,30,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-sub);
  z-index: 1;
  transition: background var(--t-fast);
}

.modal-close:hover { background: rgba(28,28,30,0.1); }

.modal-header {
  padding: 28px 28px 14px;
  border-bottom: 1px solid rgba(28,28,30,0.06);
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
  letter-spacing: 2px;
}

.modal-header p {
  font-size: 14px;
  color: var(--text-sub);
  margin-top: 4px;
}

.modal-body { padding: 20px 28px 28px; }

.modal-body p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 12px;
}

/* ================================================================
   SCROLL REVEAL ANIMATIONS
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ================================================================
   SCROLLBAR
   ================================================================ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(28,28,30,0.12); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(28,28,30,0.2); }

/* ================================================================
   MICRO-ANIMATIONS
   ================================================================ */

/* 1. Hero Banner — subtle water wave */
@keyframes hero-water-shift {
  0%, 100% { transform: scale(1.05) translateX(0); }
  50% { transform: scale(1.06) translateX(-6px); }
}
.hero-slide.active .hero-slide-bg {
  animation: hero-water-shift 10s ease-in-out infinite;
}

/* 2. Wave-line draw on scroll */
.wave-line-bar {
  transform-origin: center;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}
.wave-line.animate .wave-line-bar:first-child {
  width: 40px;
  opacity: 1;
}
.wave-line.animate .wave-line-bar:last-child {
  width: 40px;
  opacity: 1;
}
.wave-line.animate .wave-line-dot {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s;
  transform: scale(1.3);
}

/* 3. Map marker ripple */
@keyframes marker-ripple {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(3); opacity: 0; }
}
.marker-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: 50%;
  border: 2px solid var(--jade);
  animation: marker-ripple 0.5s ease-out forwards;
  pointer-events: none;
  z-index: -1;
}

/* 4. Virtue card click ripple */
@keyframes virtue-ripple {
  0% { transform: scale(0); opacity: 0.3; }
  100% { transform: scale(4); opacity: 0; }
}
.virtue-card {
  position: relative;
  overflow: hidden;
}
.virtue-ripple-el {
  position: absolute;
  border-radius: 50%;
  background: var(--jade);
  width: 40px;
  height: 40px;
  margin-left: -20px;
  margin-top: -20px;
  pointer-events: none;
  animation: virtue-ripple 0.6s ease-out forwards;
}

/* 5. Water droplets → "和" symbol */
@keyframes drop-fall {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translateY(var(--fall-y, 60px)) scale(0.3); opacity: 0; }
}
@keyframes he-reveal {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}
.he-animation-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}
.he-droplet {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--jade);
  animation: drop-fall 0.8s ease-in forwards;
}
.he-char {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--jade);
  opacity: 0;
  animation: he-reveal 0.5s ease-out 0.6s forwards;
}

/* 6. All card hovers — unified 2-4px lift + shadow only */
.module-card:hover,
.preview-card:hover,
.virtue-card:hover,
.virtue-case-card:hover,
.route-card:hover,
.product-card:hover,
.water-system-item:hover,
.about-highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Ensure consistent transition durations (300-800ms) */
.card,
.module-card,
.preview-card,
.virtue-card,
.virtue-case-card,
.route-card,
.product-card,
.water-system-item,
.about-highlight-card {
  transition-duration: 0.4s !important;
}

/* ================================================================
   REDUCED MOTION
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-slide-bg { transform: scale(1) !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .wave-line-bar { width: 32px !important; }
  .wave-line-dot { transform: none !important; }
  .marker-ripple { display: none !important; }
  .virtue-ripple-el { display: none !important; }
  .he-droplet { display: none !important; }
  .he-char { opacity: 1 !important; animation: none !important; }
  .journey-node { transform: none !important; }
  .node-preview { max-height: none !important; opacity: 1 !important; }
  .river-fg { stroke-dashoffset: 0 !important; }
  .design-logic-node { opacity: 1; transform: none; }
  .design-logic-river .river-highlight { animation: none; }
  .design-logic-node.active .node-marker { animation: none; }
  .design-logic-node.active .node-detail { max-height: none; }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .modules-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .culture-cards { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero { height: 440px; }
  .hero-slide-content { left: 0; padding: 0 var(--space-lg); }
  .hero-slide-content h2 { font-size: 36px; letter-spacing: 4px; }
  .hero-slide-content .hero-slogan { font-size: 16px; }
  .hero-slide-content .hero-sub { font-size: 14px; max-width: 300px; }
  .hero-dots { left: var(--space-lg); }

  .about-section { grid-template-columns: 1fr; gap: var(--space-xl); }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  /* Water Journey — Mobile Timeline */
  .journey-river { display: none; }
  .journey-track { padding: 0; }
  .journey-track::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 27px;
    width: 2px;
    background: linear-gradient(180deg, var(--gold-light), var(--jade), var(--gold-light));
    z-index: 1;
    opacity: 0.4;
  }
  .journey-nodes {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .journey-node {
    max-width: 100%;
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }
  .node-pin {
    margin-bottom: 0;
    padding-top: 8px;
    flex-shrink: 0;
    width: 54px;
  }
  .node-card { flex: 1; text-align: left; }
  .journey-node.active .node-card { transform: translateY(-2px); }
  .node-preview img { height: 120px; }
  /* Design Logic — Mobile vertical timeline */
  .design-logic-header { margin-bottom: var(--space-xl); }
  .design-logic-river { display: none; }
  .design-logic-track { padding-top: 0; }
  .design-logic-nodes {
    flex-direction: column;
    gap: 22px;
    padding-left: 34px;
  }
  .design-logic-nodes::before {
    content: '';
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 9px;
    width: 2px;
    background: linear-gradient(180deg, rgba(201,169,110,0.5), rgba(26,92,82,0.5), rgba(201,169,110,0.5));
    opacity: 0.5;
  }
  .design-logic-node {
    text-align: left;
    transform: translateX(26px);
  }
  .design-logic-track.in-view .design-logic-node { transform: none; }
  .node-connector { display: none; }
  .node-marker {
    position: absolute;
    left: -34px;
    top: 0;
    margin: 0;
    width: 20px;
    height: 20px;
    border-width: 1px;
  }
  .water-ripple { width: 12px; height: 12px; border-width: 1px; }
  .water-ripple::before { display: none; }
  .node-title { font-size: 16px; padding-top: 0; text-align: left; }
  .node-title::before { display: none; }
  .node-desc, .node-detail p { max-width: none; text-align: left; }
  .node-detail { margin-top: 10px; }
  .preview-grid { grid-template-columns: 1fr; }
  #map { height: 320px; min-height: 320px; }
  .map-layout { grid-template-columns: 1fr; }
  .map-sidebar { max-height: 240px; }
  .filter-row { flex-direction: column; align-items: stretch; }
  .search-group { justify-content: flex-end; }
  .virtue-cards { grid-template-columns: repeat(2, 1fr); }
  .route-cards { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-concept { flex-direction: column; text-align: center; padding: 32px; }
  .shop-concept .btns { justify-content: center; }
  .footer-content { grid-template-columns: 1fr; }
  .virtue-cases { grid-template-columns: 1fr; }
  .water-systems-row { grid-template-columns: repeat(3, 1fr); }
  .about-highlights { grid-template-columns: 1fr; }
  .about-modules-flow { flex-wrap: wrap; gap: 6px; }
  .amf-arrow { display: none; }
  .about-cta-card { flex-direction: column; text-align: center; padding: 32px; }
  .about-cta-right { justify-content: center; }
  .cta-banner .btns { flex-direction: column; align-items: center; }
  .section { padding: var(--space-2xl) 0; }
}

@media (max-width: 480px) {
  .modules-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .module-card { padding: var(--space-lg) var(--space-sm); }
  .product-grid { grid-template-columns: 1fr; }
  .virtue-cards { grid-template-columns: 1fr 1fr; }
  .hero { height: 380px; }
  .hero-slide-content h2 { font-size: 36px; }
  .journey-node { gap: 12px; }
  .node-pin { width: 44px; }
  .node-num { font-size: 12px; }
  .node-header h4 { font-size: 16px; }
  .node-preview img { height: 100px; }
  .design-logic-nodes { padding-left: 30px; gap: 18px; }
  .node-marker { left: -30px; width: 18px; height: 18px; }
  .design-logic-header h3 { font-size: 20px; }
}

/* ================================================================
   DESIGN SYSTEM (DS) — 全局设计令牌与基础排版规范（第二步）
   ================================================================
   说明：
   - 本块为纯增量设计系统层，供后续逐页接入（第三步起）。
   - 不覆盖既有页面样式；旧变量、旧组件全部保留。
   - 字体仅两类：标题衬线 var(--font-display) / 正文无衬线 var(--font-body)。
   - 文字限制：正文不小于14px、主正文16px；页面主标题不超过64px、
     内容区一级标题不超过40px；正文段落最大宽约760px（长文阅读不超过820px）；
     居中仅用于 Hero / 主路径图 / 章节总览 / 引文或结语。
   - 色彩：米白为主背景；浅水青仅作区块底色；深青绿用于标题/主按钮/重点线；
     金色仅用于强调、编号、细短线、当前状态；不用大面积纯黑与高饱和渐变。
   - 交互：固定交互元素圆角不超过20px，卡片12px，图片容器18–20px；
     胶囊仅用于标签与徽章，不作大块容器。
   - 本块不全局覆盖 h1/h2/h3，不改页面结构，新类暂不套用到任何元素。
   ================================================================ */

:root {
  /* --- DS 色彩令牌 ---
     与既有旧变量对应关系（供后续逐页迁移）：
     --color-paper≈--paper / --color-teal-700≈--jade / --color-teal-900≈--jade-deep
     --color-gold≈--gold / --color-gold-soft≈--gold-light / --color-text-muted≈--ink-mid */
  --color-paper: #F5F1E8;
  --color-paper-strong: #EFE9DC;
  --color-water: #E7F1EF;
  --color-water-soft: #F2F7F5;
  --color-surface: #FFFFFF;
  --color-teal-900: #123F3D;
  --color-teal-700: #17655F;
  --color-teal-500: #4D8680;
  --color-text: #203C3A;
  --color-text-muted: #687775;
  --color-text-soft: #8A9692;
  --color-gold: #C6A15B;
  --color-gold-soft: #E2D1A5;
  --color-border: rgba(23, 101, 95, 0.16);
  --color-border-strong: rgba(23, 101, 95, 0.28);
  --shadow-card: 0 10px 28px rgba(36, 66, 62, 0.08);
  --shadow-card-hover: 0 16px 34px rgba(36, 66, 62, 0.13);

  /* --- DS 间距与宽度令牌 --- */
  --page-max: 1280px;
  --page-pad: clamp(20px, 4vw, 64px);
  --section-space: clamp(72px, 9vw, 136px);
  --section-space-compact: clamp(48px, 6vw, 88px);
  --content-gap: clamp(20px, 3vw, 40px);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* ================================================================
   DS — 基础排版类（暂不替换任何页面结构）
   ================================================================ */

/* 眉题 / 分类 / 模块名称 */
.ds-overline {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--color-gold);
}

/* 首屏主标题 */
.ds-hero-title {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1.18;
  font-weight: 600;
  color: var(--color-teal-900);
  max-width: 10em;
}
@media (max-width: 1024px) {
  .ds-hero-title { font-size: 36px; }
}
@media (max-width: 768px) {
  .ds-hero-title { font-size: 36px; }
}

/* Hero 副标题 / 核心引导句 */
.ds-hero-lead {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.7;
  font-weight: 500;
  color: var(--color-teal-700);
}
@media (max-width: 768px) {
  .ds-hero-lead { font-size: 20px; }
}

/* 页面一级内容区标题 */
.ds-section-title {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.28;
  font-weight: 600;
  color: var(--color-teal-900);
}
@media (max-width: 1024px) {
  .ds-section-title { font-size: 28px; }
}
@media (max-width: 768px) {
  .ds-section-title { font-size: 28px; }
}

/* 区块说明 */
.ds-section-lead {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.8;
  color: var(--color-text-muted);
}
@media (max-width: 768px) {
  .ds-section-lead { font-size: 16px; }
}

/* 二级内容标题 */
.ds-subsection-title {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.35;
  color: var(--color-teal-900);
}
@media (max-width: 768px) {
  .ds-subsection-title { font-size: 20px; }
}

/* 卡片标题 */
.ds-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.4;
  color: var(--color-teal-900);
}
@media (max-width: 768px) {
  .ds-card-title { font-size: 20px; }
}

/* 正文（主） */
.ds-body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-text-muted);
}

/* 正文（辅助说明） */
.ds-body-sm {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* 图注 / 说明 */
.ds-caption {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-soft);
}

/* 标签 / 元信息 */
.ds-label {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--color-teal-700);
}

/* 文化引文 */
.ds-quote {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.6;
  color: var(--color-teal-900);
}
@media (max-width: 768px) {
  .ds-quote { font-size: 20px; }
}

/* 标签 / 元信息胶囊（史实 / 文献记载 / 文化阐释 / 当代转化 / 地方传说 …） */
.ds-tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  color: var(--color-teal-700);
  background: var(--color-water-soft);
  border: 1px solid var(--color-border);
  white-space: nowrap;
}

/* 引文分型块 —— 按资料来源分层呈现：
   诗文 .ds-poem（米白底 + 金色短竖线，保留换行）
   史籍记载 .ds-cite--source（青绿左边条 + 顶部标签）
   当代阐释/转化 .ds-cite--interpret（白底 + 顶部标签）
   地方传说 .ds-cite--legend（米白底 + 金色左边条 + 顶部标签）
   标签文字由页面填写，如「文献记载」「文化阐释」「当代转化」「地方传说」 */
.ds-cite {
  position: relative;
  padding: 22px 26px 24px;
  border-radius: var(--radius-md);
}
.ds-cite + .ds-cite { margin-top: 16px; }
.ds-cite .ds-cite-label {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 11px;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: #fff;
  border: 1px solid var(--color-border);
  margin-bottom: 14px;
}
.ds-cite .ds-body { margin: 0; }
.ds-cite .ds-caption { margin: 12px 0 0; }

/* 史籍记载：浅青绿底 + 青绿左边条 */
.ds-cite--source {
  background: var(--color-water-soft);
  border-left: 3px solid var(--color-teal-500);
}
.ds-cite--source .ds-cite-label { color: var(--color-teal-700); }

/* 当代阐释 / 当代转化：白底，突出的是思考而非古语 */
.ds-cite--interpret {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.ds-cite--interpret .ds-cite-label { color: var(--color-teal-700); }

/* 地方传说：米白底 + 金色左边条，优先级低于史实 */
.ds-cite--legend {
  background: var(--color-paper-strong);
  border-left: 3px solid var(--color-gold);
}
.ds-cite--legend .ds-cite-label {
  color: var(--color-text-muted);
  border-color: rgba(201, 169, 110, 0.3);
}

/* 诗文引文：米白底 + 金色短竖线，保留换行 */
.ds-poem {
  position: relative;
  margin: 0;
  padding: 30px 34px 26px;
  background: var(--color-paper-strong);
  border-radius: var(--radius-md);
}
.ds-poem::before {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 0;
  width: 3px;
  border-radius: 2px;
  background: var(--color-gold);
}
.ds-poem .ds-quote {
  display: block;
  margin: 0;
  white-space: pre-line;
}
.ds-poem .ds-caption {
  display: block;
  margin: 16px 0 0;
  text-align: right;
  font-style: normal;
}

/* 数字序号（01 / 02 …，金色衬线） */
.ds-num {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
  color: var(--color-gold);
}

/* 阅读宽度：标准正文约 760px，点位资料阅读器约 820px */
.ds-article { max-width: 760px; }
.ds-article--wide { max-width: 820px; }

/* ================================================================
   DS — 基础交互组件（按钮 / 卡片 / 图片框 / 区块标题 / 点睛线）
   ================================================================ */

.ds-button-primary,
.ds-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 30px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out),
              box-shadow 0.25s var(--ease-out),
              background-color 0.25s ease,
              border-color 0.25s ease;
}

.ds-button-primary {
  background: var(--color-teal-700);
  color: var(--color-paper);
  border: 1px solid var(--color-teal-700);
}
.ds-button-primary:hover {
  transform: translateY(-2px);
  background: var(--color-teal-900);
  border-color: var(--color-teal-900);
}

.ds-button-secondary {
  background: transparent;
  color: var(--color-teal-700);
  border: 1px solid var(--color-border-strong);
}
.ds-button-secondary:hover {
  transform: translateY(-2px);
  background: var(--color-water-soft);
  border-color: var(--color-teal-700);
}

.ds-button-primary:active,
.ds-button-secondary:active {
  transform: translateY(0);
}

.ds-button-primary:focus-visible,
.ds-button-secondary:focus-visible,
.ds-text-link:focus-visible {
  outline: 2px solid var(--color-teal-500);
  outline-offset: 2px;
}

/* 文字链接（右箭头） */
.ds-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-teal-700);
  text-decoration: none;
  transition: color 0.25s ease;
}
.ds-text-link::after {
  content: '→';
  display: inline-block;
  transition: transform 0.25s var(--ease-out);
}
.ds-text-link:hover { color: var(--color-teal-900); }
.ds-text-link:hover::after { transform: translateX(4px); }

/* 卡片：内容卡（专题入口/模块入口/精选内容/文创作品）统一外观 */
.ds-card,
.ds-card--tool,
.product-card,
.route-card,
.jp-route-card,
.vp-dim-card,
.vp-peace-path,
.vp-nj-case,
.cv-item,
.cr-ipd-photo,
.mp-sidebar,
.mp-status-bar,
.mp-detail,
.jp-sites-reader,
.jp-sites-dir {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform 240ms var(--ease-out),
              box-shadow 240ms var(--ease-out),
              border-color 240ms ease;
}
.ds-card:hover,
.product-card:hover,
.route-card:hover,
.jp-route-card:hover,
.vp-dim-card:hover,
.vp-peace-path:hover,
.vp-nj-case:hover,
.cv-item:hover,
.cr-ipd-photo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

/* 工具卡（地图筛选 / 路线摘要 / 资料目录 / 信息提示）：白或浅水青底、细边框、弱阴影 */
.ds-card--tool {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: none;
}

/* 浅青细分隔线：卡片内部 / 目录项 / 段落群 */
.ds-divider {
  height: 1px;
  border: none;
  background: var(--color-border);
}

/* 图片框（对象定位与懒加载策略由后续页面步骤统一处理） */
.ds-image-frame {
  display: block;
  background: var(--color-water-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.ds-image-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* 区块标题组：overline + section-title + section-lead，默认左对齐 */
.ds-section-heading {
  text-align: left;
}
.ds-section-heading--left {
  text-align: left;
}
.ds-section-heading--left .ds-section-lead {
  margin-left: 0;
  margin-right: auto;
}
.ds-section-heading .ds-overline {
  display: block;
  margin-bottom: 12px;
}
.ds-section-heading .ds-section-title {
  display: block;
}
.ds-section-heading .ds-section-lead {
  display: block;
  margin-top: 16px;
  max-width: 760px;
}

/* 眉题可选：文字上方配一条 48px 金色短线 */
.ds-overline--with-rule {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ds-overline--with-rule::before {
  content: '';
  width: 48px;
  height: 2px;
  background: var(--color-gold);
  flex-shrink: 0;
}

/* 居中总览区标题组：仅限路径 / 流程 / 图谱类区块 */
.ds-section-heading--center {
  text-align: center;
}
.ds-section-heading--center .ds-overline {
  display: block;
}
.ds-section-heading--center .ds-overline--with-rule {
  justify-content: center;
}
.ds-section-heading--center .ds-section-lead {
  margin-inline: auto;
  max-width: 720px;
}
.ds-section-heading--center .ds-rule {
  margin: 20px auto 0;
}

/* 点睛线：48×2 金色，仅用于 overline 下方或标题上方 */
.ds-rule {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--color-gold);
  border: none;
}
