/* ============================================================
   pages.css —— 各页面专属板块
   ============================================================ */

/* ===================== 页面 Hero（子页通用） ===================== */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 84px) 0 130px;
  background:
    radial-gradient(1200px 480px at 82% -10%, rgba(193,154,91,.16), transparent 60%),
    radial-gradient(900px 420px at 8% 110%, rgba(109,74,143,.14), transparent 60%),
    linear-gradient(160deg, #26313d 0%, var(--ink-deep) 58%, #1c2732 100%);
  color: #eef0f3; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1.4px);
  background-size: 26px 26px; opacity: .16; pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .crumb { font-size: .82rem; letter-spacing: .2em; color: var(--gold-soft); text-transform: uppercase; }
.page-hero h1 { color: #f7f3ea; font-size: clamp(2.2rem, 5.4vw, 3.4rem); letter-spacing: .1em; margin-top: 14px; }
.page-hero .lead { max-width: 640px; margin-top: 18px; color: #b9c3cd; font-size: 1.02rem; }
/* 斜切 */
.slant { position: relative; }
.slant::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 64px;
  background: var(--bg);
  clip-path: polygon(0 100%, 100% 100%, 100% 38%, 0 100%);
}

/* ===================== 首页 Hero ===================== */
.home-hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 90px; overflow: hidden;
}
.hero-bg-routes { position: absolute; inset: 0; pointer-events: none; }
.hero-bg-routes svg { width: 100%; height: 100%; }
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(2px); opacity: .5;
  animation: float 9s ease-in-out infinite;
}
.hero-orb.o1 { width: 120px; height: 120px; left: 6%; top: 20%; background: radial-gradient(circle at 30% 30%, #efe3cb, #dcc49a); }
.hero-orb.o2 { width: 74px; height: 74px; right: 10%; top: 26%; background: radial-gradient(circle at 30% 30%, #e2d6ef, #b79ad4); animation-delay: -3s; }
.hero-orb.o3 { width: 56px; height: 56px; left: 16%; bottom: 18%; background: radial-gradient(circle at 30% 30%, #dbe4ec, #a9bccf); animation-delay: -6s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }

.hero-content { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 22px; border-radius: 999px; background: var(--paper);
  border: 1px solid rgba(193,154,91,.35); box-shadow: var(--shadow-sm);
  font-size: .82rem; letter-spacing: .24em; color: var(--gold-deep); font-weight: 600;
}
.hero-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(109,74,143,.4); } 50% { box-shadow: 0 0 0 7px rgba(109,74,143,0); } }
.hero-title {
  font-size: clamp(3rem, 9vw, 5.6rem); letter-spacing: .12em; margin-top: 30px;
  background: linear-gradient(120deg, var(--ink-deep) 30%, var(--brand) 75%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { margin-top: 18px; font-family: var(--font-serif); font-size: clamp(1.05rem, 2.6vw, 1.4rem); letter-spacing: .3em; color: var(--ink-soft); }
.hero-desc { max-width: 560px; margin: 22px auto 0; color: var(--ink-soft); }
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 100px; transform: translateX(-50%);
  z-index: 2; font-size: .78rem; letter-spacing: .3em; color: var(--ink-faint); text-align: center;
}
.hero-scroll::after {
  content: ""; display: block; width: 1px; height: 44px; margin: 10px auto 0;
  background: linear-gradient(var(--ink-faint), transparent);
  animation: drip 2s ease-in-out infinite;
}
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ===================== 数据带 ===================== */
.stats-band { position: relative; z-index: 3; margin-top: -58px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat-card {
  background: var(--paper); border-radius: var(--radius-m); padding: 30px 24px 26px;
  text-align: center; border: 1px solid rgba(47,62,78,.07); border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-md); transition: transform .35s, box-shadow .35s;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.stat-icon {
  width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 14px;
  background: var(--bg-warm); display: grid; place-items: center; color: var(--gold-deep);
}
.stat-icon svg { width: 26px; height: 26px; }
.stat-value { font-family: var(--font-serif); font-size: 2.4rem; font-weight: 700; color: var(--ink-deep); line-height: 1.1; }
.stat-value small { font-size: 1.3rem; color: var(--gold-deep); margin-left: 2px; }
.stat-label { margin-top: 6px; font-size: .88rem; color: var(--ink-soft); letter-spacing: .08em; }
@media (max-width: 860px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===================== 首页 · 旅程四章 ===================== */
.chapters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.chapter-card {
  position: relative; border-radius: var(--radius-m); padding: 30px 26px;
  background: var(--paper); border: 1px solid rgba(47,62,78,.07); box-shadow: var(--shadow-sm);
  overflow: hidden; transition: transform .35s, box-shadow .35s; min-height: 300px;
  display: flex; flex-direction: column;
}
.chapter-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, var(--cc, var(--gold)), transparent);
}
.chapter-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.chapter-year {
  font-family: var(--font-serif); font-size: 2.6rem; font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.3px var(--cc, var(--gold));
}
.chapter-phase { margin-top: 8px; font-size: .8rem; letter-spacing: .34em; color: var(--cc, var(--gold-deep)); font-weight: 700; }
.chapter-card h3 { font-size: 1.22rem; margin-top: 14px; }
.chapter-card p { margin-top: 10px; font-size: .9rem; color: var(--ink-soft); flex: 1; }
.chapter-link { margin-top: 16px; font-size: .86rem; color: var(--gold-deep); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.chapter-link svg { width: 15px; height: 15px; transition: transform .3s; }
.chapter-card:hover .chapter-link svg { transform: translateX(5px); }
@media (max-width: 1020px) { .chapters { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .chapters { grid-template-columns: 1fr; } }

/* ===================== 首页 · 精选影像 ===================== */
.feature-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-photo { border-radius: var(--radius-m); display: block; }
.feature-photo .ph { aspect-ratio: 4 / 5; border-radius: var(--radius-m); }
@media (max-width: 860px) { .feature-gallery { grid-template-columns: 1fr; } .feature-photo .ph { aspect-ratio: 16 / 10; } }

/* ===================== 文记卡 ===================== */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.story-card { padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; }
.story-card .story-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.story-card h3 { font-size: 1.18rem; line-height: 1.45; }
.story-card h3 a { transition: color .25s; }
.story-card h3 a:hover { color: var(--brand); }
.story-card p { font-size: .9rem; color: var(--ink-soft); flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.story-meta { display: flex; align-items: center; gap: 12px; font-size: .8rem; color: var(--ink-faint); }
.story-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }
@media (max-width: 960px) { .story-grid { grid-template-columns: 1fr; } }

/* ===================== 出版物卡 ===================== */
.book-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.book-card { padding: 30px 28px; position: relative; }
.book-cover {
  aspect-ratio: 3 / 4; border-radius: var(--radius-s); overflow: hidden;
  box-shadow: 8px 10px 24px rgba(34,48,61,.18); margin-bottom: 20px; position: relative;
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-badge {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  background: #fffdf8; color: var(--brand);
  box-shadow: 0 6px 16px rgba(34,24,48,.28);
}
.book-card h3 { font-size: 1.3rem; }
.book-card .book-meta { margin: 8px 0 12px; font-size: .82rem; color: var(--gold-deep); font-weight: 600; letter-spacing: .05em; }
.book-card p { font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 960px) { .book-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* ===================== 宣言 CTA ===================== */
.manifesto {
  position: relative; margin-top: 100px; border-radius: var(--radius-l); overflow: hidden;
  background: linear-gradient(140deg, #2b2438 0%, var(--ink-deep) 55%, #26313d 100%);
  color: #eef0f3; padding: 84px 40px; text-align: center;
}
.manifesto::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1.4px);
  background-size: 24px 24px; opacity: .14;
}
.manifesto blockquote { position: relative; font-family: var(--font-serif); font-size: clamp(1.4rem, 3.4vw, 2.2rem); letter-spacing: .1em; line-height: 1.7; }
.manifesto cite { position: relative; display: block; margin-top: 22px; font-style: normal; font-size: .88rem; letter-spacing: .24em; color: var(--gold-soft); }
.manifesto .hero-actions { position: relative; }

/* ===================== 足迹页 ===================== */
.route-map { position: relative; border-radius: var(--radius-l); overflow: hidden; background: linear-gradient(160deg, #26313d, var(--ink-deep)); box-shadow: var(--shadow-md); }
.route-map svg { display: block; width: 100%; height: auto; }

.region-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.region-card { display: flex; flex-direction: column; overflow: hidden; }
.region-cover { position: relative; aspect-ratio: 21 / 9; }
.region-cover img { width: 100%; height: 100%; object-fit: cover; }
.region-cover .region-year {
  position: absolute; top: 14px; left: 14px; padding: 5px 14px; border-radius: 999px;
  background: rgba(24,34,44,.6); backdrop-filter: blur(6px); color: #f5f1e8;
  font-size: .78rem; letter-spacing: .1em;
}
.region-body { padding: 26px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.region-body h3 { font-size: 1.4rem; display: flex; align-items: baseline; gap: 10px; }
.region-body h3 small { font-family: var(--font-sans); font-size: .78rem; color: var(--ink-faint); letter-spacing: .12em; }
.region-body > p { margin-top: 10px; font-size: .92rem; color: var(--ink-soft); flex: 1; }
.region-places { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.region-landmarks { margin-top: 18px; border-top: 1px dashed var(--line); padding-top: 16px; display: grid; gap: 10px; }
.landmark { display: flex; gap: 12px; align-items: baseline; font-size: .88rem; flex-wrap: wrap; }
.landmark b { font-family: var(--font-serif); color: var(--ink-deep); }
.landmark .lm-country { color: var(--gold-deep); font-size: .78rem; }
.landmark .lm-note { color: var(--ink-soft); font-size: .84rem; }
@media (max-width: 900px) { .region-grid { grid-template-columns: 1fr; } }

/* ===================== 影像页 ===================== */
.masonry { columns: 3 300px; column-gap: 22px; }
.masonry-item { break-inside: avoid; margin-bottom: 22px; }
.photo-card { cursor: zoom-in; }
.photo-card .ph { border-radius: var(--radius-m); }
.photo-card .photo-info { padding: 16px 6px 4px; }
.photo-card h3 { font-size: 1.06rem; }
.photo-card .photo-meta { margin-top: 6px; display: flex; gap: 10px; align-items: center; font-size: .8rem; color: var(--ink-faint); flex-wrap: wrap; }
@media (max-width: 640px) { .masonry { columns: 1; } }

/* ===================== 影音页 ===================== */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-card { display: block; }
.video-card .ph { aspect-ratio: 16 / 9; position: relative; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; }
.video-play i {
  width: 62px; height: 62px; border-radius: 50%;
  background: rgba(24,34,44,.55); backdrop-filter: blur(6px);
  display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.5);
  transition: transform .3s, background .3s;
}
.video-play svg { width: 22px; height: 22px; color: #fff; margin-left: 3px; }
.video-card:hover .video-play i { transform: scale(1.12); background: rgba(109,74,143,.72); }
.video-body { padding: 20px 22px 24px; }
.video-body h3 { font-size: 1.12rem; }
.video-body p { margin-top: 8px; font-size: .88rem; color: var(--ink-soft); }
.video-meta { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 960px) { .video-grid { grid-template-columns: 1fr; } }

/* ===================== 合作伙伴 ===================== */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.partner-card { padding: 28px 26px; }
.partner-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-deep) 100%); color: var(--gold-soft);
  margin-bottom: 18px; box-shadow: var(--shadow-sm);
}
.partner-icon svg { width: 24px; height: 24px; }
.partner-card h3 { font-size: 1.16rem; }
.partner-card p { margin-top: 10px; font-size: .88rem; color: var(--ink-soft); }
.partner-card .partner-type { margin-top: 14px; font-size: .8rem; color: var(--gold-deep); font-weight: 600; letter-spacing: .06em; }
@media (max-width: 960px) { .partner-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .partner-grid { grid-template-columns: 1fr; } }

/* ===================== 关于页 ===================== */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; align-items: center; }
.about-photo { position: relative; z-index: 1; }
.about-photo .ph { aspect-ratio: 4 / 5; border-radius: var(--radius-l); box-shadow: var(--shadow-lg); }
.about-photo::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 2px solid var(--gold-soft); border-radius: var(--radius-l);
}
.about-body h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); margin-top: 10px; }
.about-body p { margin-top: 16px; color: var(--ink-soft); font-size: .97rem; }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 44px; } .about-photo { max-width: 380px; margin: 0 auto; } }

.brand-story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.brand-story-card { padding: 30px 28px; text-align: center; }
.brand-story-card .step-num {
  width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700;
  color: var(--brand); background: rgba(109,74,143,.1); border: 1.5px solid rgba(109,74,143,.3);
}
.brand-story-card h3 { font-size: 1.14rem; }
.brand-story-card p { margin-top: 10px; font-size: .88rem; color: var(--ink-soft); }
@media (max-width: 860px) { .brand-story { grid-template-columns: 1fr; } }

.contact-band { text-align: center; }
.contact-mail {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 22px;
  font-family: var(--font-serif); font-size: clamp(1.2rem, 3.4vw, 1.8rem); color: var(--ink-deep);
  border-bottom: 2px solid var(--gold); padding-bottom: 6px; transition: color .3s;
}
.contact-mail:hover { color: var(--brand); }
.contact-mail svg { width: 24px; height: 24px; color: var(--gold-deep); }

/* ===================== 航线流动动画（全局） ===================== */
.route-line { stroke-dashoffset: 0; animation: routeFlow 26s linear infinite; }
@keyframes routeFlow { to { stroke-dashoffset: -560; } }
@media (prefers-reduced-motion: reduce) { .route-line, .hero-orb { animation: none; } }

/* ===================== 页底"继续探索" ===================== */
.next-pages { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 90px; padding-bottom: 20px; }
.next-page {
  position: relative; border-radius: var(--radius-m); padding: 34px 32px; overflow: hidden;
  background: var(--paper); border: 1px solid rgba(47,62,78,.07); box-shadow: var(--shadow-sm);
  transition: transform .35s, box-shadow .35s; display: block;
}
.next-page:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.next-page .np-dir { font-size: .78rem; letter-spacing: .26em; color: var(--gold-deep); font-weight: 700; }
.next-page .np-title { font-family: var(--font-serif); font-size: 1.5rem; color: var(--ink-deep); margin-top: 8px; display: block; }
.next-page .np-arrow { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); color: var(--gold); transition: transform .3s; }
.next-page:hover .np-arrow { transform: translateY(-50%) translateX(6px); }
.next-page .np-arrow svg { width: 26px; height: 26px; }
@media (max-width: 700px) { .next-pages { grid-template-columns: 1fr; } }
