/* ============================================
   Travel Journal · 杂志风
   参考 Apple × DJI × Marriott Bonvoy
   暖白底 + 深黑字 + 衬线大标题
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Inter:wght@300;400;500;600;700&family=Caveat:wght@500;700&family=Noto+Serif+SC:wght@400;500;600;700&display=swap');

:root {
  --bg:        #FAF6F0;
  --bg-alt:    #F2EBE0;
  --bg-paper:  #FFFFFF;
  --ink:       #1A1A1A;
  --ink-soft:  #6B6B6B;
  --ink-mute:  #A5A29A;
  --line:      rgba(26, 26, 26, 0.08);
  --line-soft: rgba(26, 26, 26, 0.04);

  --accent:    #C24A6A;
  --accent-2:  #1A1A1A;

  --serif:     'Playfair Display', 'Noto Serif SC', 'Songti SC', serif;
  --sans:      'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --hand:      'Caveat', cursive;

  --shadow-sm: 0 1px 2px rgba(26,26,26,0.04), 0 4px 16px rgba(26,26,26,0.04);
  --shadow-md: 0 8px 32px rgba(26,26,26,0.06);
  --shadow-lg: 0 24px 64px rgba(26,26,26,0.08);

  --ease:      cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

/* ============================================
   通用排版
   ============================================ */
.serif { font-family: var(--serif); }
.hand  { font-family: var(--hand); }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 720px;
}

/* ============================================
   顶部导航
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250, 246, 240, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

/* ============================================
   杂志 Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 48px 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(194, 74, 106, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(26,26,26,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.hero-issue {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero-issue::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
  margin-left: 16px;
}
.hero-issue span:first-child {
  font-family: var(--hand);
  font-size: 22px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent);
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(64px, 10vw, 144px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  max-width: 14ch;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.hero .lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 48px;
}
.hero-meta {
  display: flex;
  gap: 48px;
  font-size: 14px;
  color: var(--ink-soft);
}
.hero-meta-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 4px;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero-scroll-hint .line {
  width: 1px; height: 40px;
  background: var(--ink-mute);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.5); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: bottom; }
}

/* ============================================
   首页 · 全屏幻灯片 Hero
   ============================================ */
.home-page .nav {
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.25);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), text-shadow 0.4s var(--ease);
}
.home-page .nav.scrolled {
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(255,255,255,0.06);
}
.home-page .nav-links a:hover { color: rgba(255,255,255,0.7); }

.hero.hero-slideshow {
  min-height: 100vh;
  padding: 0;
  justify-content: flex-end;
  color: #fff;
  text-align: center;
}
.hero-slideshow .slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.35) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 100%, rgba(255,255,255,0.12) 0%, transparent 50%),
    linear-gradient(180deg, #C6C6C6 0%, #A8A8A8 100%);
}
.hero-slideshow .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 1.4s var(--ease);
}
.hero-slideshow .slide.active {
  opacity: 1;
}
.hero-slideshow .slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 12s ease-out forwards;
}
@keyframes kenBurns {
  0% { transform: scale(1.08) translate(-1%, -1%); }
  100% { transform: scale(1) translate(1%, 1%); }
}
.hero-slideshow .slide-caption {
  position: absolute;
  bottom: 120px;
  right: 48px;
  font-family: var(--hand);
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1s 0.4s, transform 1s 0.4s;
  z-index: 2;
}
.hero-slideshow .slide.active .slide-caption {
  opacity: 1;
  transform: translateY(0);
}
.hero-slideshow .slideshow-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(26,26,26,0.25) 0%, rgba(26,26,26,0.10) 40%, rgba(26,26,26,0.45) 100%),
    radial-gradient(ellipse at center, transparent 50%, rgba(26,26,26,0.25) 100%);
  pointer-events: none;
}
.hero-slideshow .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 160px 48px 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-slideshow .hero-pill {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 32px;
  backdrop-filter: blur(4px);
  background: rgba(255,255,255,0.05);
}
.hero-slideshow h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 9vw, 132px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 36px;
  color: #fff;
  max-width: none;
  text-shadow: 0 4px 40px rgba(0,0,0,0.35);
}
.hero-slideshow h1 .line {
  display: block;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 1s var(--ease-out) forwards;
}
.hero-slideshow h1 .line:nth-child(1) { animation-delay: 0.2s; }
.hero-slideshow h1 .line:nth-child(2) { animation-delay: 0.35s; }
.hero-slideshow h1 .line:nth-child(3) { animation-delay: 0.5s; }
.hero-slideshow h1 .line:nth-child(4) { animation-delay: 0.65s; }
.hero-slideshow h1 .dash { font-style: italic; font-weight: 400; }
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}
.hero-slideshow .lede {
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin-bottom: 48px;
  font-size: clamp(16px, 1.6vw, 20px);
}
.hero-slideshow .hero-meta {
  justify-content: center;
  color: rgba(255,255,255,0.7);
  gap: 56px;
}
.hero-slideshow .hero-meta-item strong {
  color: #fff;
  font-size: 32px;
}
.hero-slideshow .hero-meta-item span {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-slideshow .slideshow-dots {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-slideshow .slideshow-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: none;
  padding: 0;
}
.hero-slideshow .slideshow-dots .dot.active {
  background: #fff;
  transform: scale(1.35);
}
.hero-slideshow .slideshow-dots .dot:hover {
  background: rgba(255,255,255,0.8);
}
.hero-slideshow .hero-scroll-hint {
  z-index: 3;
  bottom: 32px;
  color: rgba(255,255,255,0.8);
  gap: 6px;
}
.hero-slideshow .hero-scroll-hint .arrow-down {
  width: 20px;
  height: 20px;
  animation: bounceDown 2s ease-in-out infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ============================================
   地图段落（通用）
   ============================================ */
.section-map {
  padding: 120px 48px;
}
.section-map .section-inner {
  max-width: 1320px;
  margin: 0 auto;
}
.map-hero-text {
  margin-bottom: 56px;
  max-width: 720px;
}
.map-frame {
  position: relative;
  padding: 16px;                          /* 留白 */
  background: var(--bg-paper);
  border: 1px solid var(--line);          /* 边框 */
  border-radius: 6px;
  box-shadow: var(--shadow-md);
}
.map-card {
  background: var(--bg-paper);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-head {
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--bg-paper);
}
.map-head h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}
.map-legend {
  display: flex;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.map-legend .dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
#map-canvas {
  width: 100%;
  height: 560px;
  background: var(--bg-alt);
}

/* 首页地图 marker（Leaflet divIcon） */
.home-map-marker {
  pointer-events: auto;
}
.home-map-marker > div {
  position: relative;
  width: 28px;
  height: 36px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25));
  transition: transform 0.2s var(--ease);
}
.home-map-marker:hover > div {
  transform: translateY(-4px) scale(1.1);
}
.home-map-marker > div::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c, #C24A6A);
  clip-path: path('M14 0 C6.27 0 0 6.27 0 14 C0 24 14 36 14 36 C14 36 28 24 28 14 C28 6.27 21.73 0 14 0 Z');
}
.home-map-marker > div::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 14px;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FAF6F0;
}
.home-map-marker > div span {
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translate(-50%, -8px);
  white-space: nowrap;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  color: #1A1A1A;
  background: rgba(255,255,255,0.95);
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.home-map-marker:hover > div span {
  opacity: 1;
}
.home-map-tooltip {
  font-family: var(--sans);
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 4px;
  border: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* 首页 · 全宽沉浸地图 */
.section-map-full {
  padding: 120px 48px 140px;
  background: var(--bg);
}
.section-map-full .section-inner {
  max-width: 1320px;
  margin: 0 auto;
}
.section-map-full .map-hero-text {
  padding: 0 0 56px;
  margin: 0 auto 0;
}
.section-map-full .map-hero-text .section-title {
  font-size: clamp(42px, 6vw, 84px);
}
.section-map-full .map-frame {
  padding: 20px;
  border-radius: 8px;
}
.section-map-full .map-card {
  border-radius: 4px;
}
.section-map-full .map-head {
  padding: 22px 28px;
}
.section-map-full #map-canvas {
  height: 70vh;
  min-height: 520px;
  max-height: 820px;
}

/* ============================================
   旅行故事 · 编辑式排版
   ============================================ */
.section-stories {
  padding: 140px 48px 160px;
}
.section-stories .section-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.home-page .section-stories {
  padding-top: 160px;
}
.stories-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: end;
}
.stories-head .filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.stories-head .filter {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all 0.2s var(--ease);
}
.stories-head .filter:hover { color: var(--ink); }
.stories-head .filter.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.story {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 160px;
}
.story:nth-child(even) {
  grid-template-columns: 1fr 1.1fr;
}
.story:nth-child(even) .story-image {
  order: 2;
}
.story-image {
  position: relative;
  display: block;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-alt);
  border-radius: 2px;
}
.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.story:hover .story-image img {
  transform: scale(1.04);
}
.story-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(26,26,26,0.15));
}
.story-image-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  color: white;
  font-family: var(--hand);
  font-size: 18px;
  z-index: 2;
  opacity: 0.85;
}
.story-body {
  padding: 0 24px;
}
.story-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.story-eyebrow .num {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  color: var(--accent);
  text-transform: none;
}
.story-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.story-title em {
  font-style: italic;
  font-weight: 400;
}
.story-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 24px;
}
.story-destination {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.story-lede {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 32px;
}
.story-meta {
  display: flex;
  gap: 32px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.story-meta .meta-item .label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.story-meta .meta-item .value {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}
.story-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  transition: gap 0.3s var(--ease);
}
.story-cta:hover { gap: 20px; color: var(--accent); border-color: var(--accent); }
.story-cta .arrow {
  font-family: var(--serif);
  font-size: 18px;
  transition: transform 0.3s var(--ease);
}
.story-cta:hover .arrow { transform: translateX(4px); }

.story-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.story-status .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.story-status.planned .pulse { background: #C24A6A; }
.story-status.ongoing .pulse { background: #4ECDC4; animation: pulse 1.5s infinite; }
.story-status.completed .pulse { background: #6B6B6B; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ============================================
   详情页
   ============================================ */
.detail-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  color: white;
  overflow: hidden;
}
.detail-hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.detail-hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.detail-hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(26,26,26,0.2) 0%,
    rgba(26,26,26,0.55) 60%,
    rgba(26,26,26,0.85) 100%);
}
.detail-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 48px 80px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.detail-hero .eyebrow { color: rgba(255,255,255,0.85); margin-bottom: 24px; }
.detail-hero h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 16ch;
}
.detail-hero h1 em {
  font-style: italic;
  font-weight: 400;
}
.detail-hero .hero-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  margin-bottom: 32px;
  max-width: 32ch;
  opacity: 0.92;
}
.detail-hero .hero-meta {
  display: flex;
  gap: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.25);
  font-size: 13px;
}
.detail-hero .hero-meta .label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 6px;
}
.detail-hero .hero-meta .value {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.detail-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 20px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(26,26,26,0.6);
  backdrop-filter: blur(20px);
  color: white;
}
.detail-nav a { font-size: 14px; font-weight: 500; }
.detail-nav a:hover { opacity: 0.7; }

.detail-content {
  background: var(--bg);
  padding: 120px 48px 80px;
}

.detail-intro {
  max-width: 720px;
  margin: 0 auto 80px;
  text-align: center;
}
.detail-intro .lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.4;
  color: var(--ink);
  font-weight: 400;
}

/* 详情页双列布局：左侧时间线 + 右侧 meta */
.detail-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .detail-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* 时间线：编辑式排版 */
.timeline {
  border-top: 1px solid var(--line);
}
.day {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 48px;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.day-aside {
  position: sticky;
  top: 100px;
  align-self: start;
  text-align: right;
}
.day-num {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 8px;
}
.day-num-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.day-date {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 4px;
}
.day-city {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}
.day-body h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.day-body h3 em {
  font-style: italic;
  font-weight: 400;
}
.item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}
.item:last-child { border-bottom: none; }
.item-time {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  padding-top: 2px;
}
.item-body {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
}
.item-marker {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 10px;
  margin-left: 10px;
}
.item-content .item-type {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.item-content .item-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 4px;
}
.item-content .item-note {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* 右侧元信息 */
.detail-aside {
  position: sticky;
  top: 100px;
  align-self: start;
}
.aside-block {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.aside-block:first-child { padding-top: 0; }
.aside-block:last-child { border-bottom: none; padding-bottom: 0; }
.aside-block h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 20px;
  font-weight: 600;
}
.aside-list { display: flex; flex-direction: column; gap: 16px; }
.aside-row {
  font-size: 14px;
  line-height: 1.5;
}
.aside-row .aside-row-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}
.aside-row .aside-row-meta {
  color: var(--ink-soft);
  font-size: 13px;
}

/* 预算图 */
.budget {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.budget-total {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 8px;
}
.budget-bar {
  display: flex;
  height: 6px;
  border-radius: 100px;
  overflow: hidden;
  background: var(--bg-alt);
}
.budget-bar span { height: 100%; }
.budget-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.budget-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.budget-row .left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.budget-row .swatch {
  width: 8px; height: 8px;
  border-radius: 2px;
}
.budget-row .name { color: var(--ink-soft); }
.budget-row .pct { color: var(--ink-mute); margin-right: 8px; }
.budget-row .amount { font-family: var(--serif); font-weight: 500; }

/* 行前备忘 */
.notes-block {
  background: var(--bg-alt);
  padding: 64px 48px;
  margin-top: 80px;
}
.notes-block .inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.notes-block .eyebrow { margin-bottom: 16px; }
.notes-block h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 32px;
}
.notes-block p {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.8;
  color: var(--ink-soft);
  white-space: pre-wrap;
}

/* 相册 */
.gallery-block {
  max-width: 1400px;
  margin: 120px auto 0;
  padding: 0 48px;
}
.gallery-header {
  text-align: center;
  margin-bottom: 56px;
}
.gallery-header h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  font-style: italic;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg-alt);
  aspect-ratio: 4 / 5;
}
.gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 20px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(26,26,26,0.6) 100%);
  color: white;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-out);
}
.gallery-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 1024px) {
  .gallery-block { padding: 0 24px; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .gallery-item.featured {
    grid-column: span 2;
    grid-row: span 2;
  }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item,
  .gallery-item.featured {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 5;
  }
}

/* ============================================
   底部
   ============================================ */
.site-footer {
  padding: 80px 48px 40px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  text-align: center;
}
.site-footer .signature {
  font-family: var(--hand);
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 12px;
}
.site-footer p {
  font-size: 13px;
  color: var(--ink-soft);
}

/* ============================================
   加载/空状态
   ============================================ */
.loading, .empty {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
}
.spinner {
  width: 32px; height: 32px;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.empty-error {
  font-family: var(--sans);
  font-style: normal;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  text-align: center;
  padding: 48px;
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  max-width: 680px;
  margin: 0 auto;
}
.empty-error strong {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  margin-bottom: 16px;
  color: var(--accent);
}
.empty-error code {
  display: inline-block;
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 13px;
  background: var(--bg-alt);
  padding: 4px 10px;
  border-radius: 4px;
  margin: 4px 0;
}
.empty-error a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   入场动画
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1024px) {
  .nav, .detail-nav { padding: 16px 24px; }
  .hero { padding: 100px 24px 60px; }
  .section-map, .section-stories { padding: 80px 24px; }
  .section-map .head, .stories-head {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .story, .story:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 80px;
  }
  .story:nth-child(even) .story-image { order: 0; }
  .story-body { padding: 0; }
  .detail-content { padding: 80px 24px 60px; }
  .detail-hero-content { padding: 0 24px 48px; }
  .day { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .day-aside { position: static; text-align: left; display: flex; gap: 16px; align-items: baseline; }
  .day-num { font-size: 32px; margin-bottom: 0; }
  .nav-links { display: none; }
}

@media (max-width: 640px) {
  .hero-meta { gap: 24px; }
  .hero-meta-item strong { font-size: 22px; }
  #map { height: 380px; }
}

/* ============================================
   详情页 Trip Page · magazine style
   全部包裹在 .trip-page 下，避免与主页样式冲突
   ============================================ */
.trip-page { background: var(--bg); }

.trip-page .back-home {
  position: fixed; top: 24px; left: 24px; z-index: 50;
  padding: 10px 18px;
  background: rgba(250, 246, 240, 0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.05em;
  color: var(--ink);
  transition: all 0.25s var(--ease);
}
.trip-page .back-home:hover { background: var(--ink); color: var(--bg); }

/* ====== Hero ====== */
.trip-page .hero {
  position: relative;
  padding: 140px 48px 96px;
  background: var(--bg);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
  overflow: hidden;
}
.trip-page .hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top right, var(--accent-glow, rgba(27,106,143,0.06)) 0%, transparent 60%);
  pointer-events: none;
}
.trip-page .hero-image {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.trip-page .hero-image img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
  transition: transform 8s linear;
}
.trip-page .hero-image:hover img { transform: scale(1.08); }
.trip-page .hero-image-caption {
  position: absolute; left: 24px; bottom: 24px;
  font-family: var(--hand); font-size: 20px;
  color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.trip-page .hero-image-caption .caption-mark {
  display: inline-block;
  margin-right: 6px; color: var(--accent);
  font-size: 14px;
}
.trip-page .hero-text { position: relative; }
.trip-page .hero-text .eyebrow { margin-bottom: 20px; }
.trip-page .hero-subtitle {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  color: var(--accent);
  margin-bottom: 12px;
}
.trip-page .hero-text h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  max-width: 14ch;
}
.trip-page .hero-meta {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.trip-page .hero-meta .meta-item b {
  font-family: var(--serif); font-weight: 600;
  color: var(--ink); margin-right: 4px;
}
.trip-page .hero-meta .meta-dot { color: var(--ink-mute); }
.trip-page .status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--bg-alt);
  color: var(--ink-soft);
}
.trip-page .status-completed { color: #2A7D5A; background: #E8F2EC; }
.trip-page .status-ongoing   { color: #C24A1F; background: #FBEDE3; }
.trip-page .status-planned   { color: #4A4A6A; background: #ECECF4; }
.trip-page .hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.trip-page .tag {
  padding: 6px 14px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}
.trip-page .hero-lede {
  grid-column: 1 / -1;
  padding: 72px 0 24px;
  border-top: 1px solid var(--line);
  margin-top: 56px;
  position: relative;
  text-align: center;
  max-width: 920px; margin-left: auto; margin-right: auto;
}
.trip-page .hero-lede .quote-mark {
  font-family: var(--serif); font-style: italic;
  font-size: 80px; color: var(--accent);
  line-height: 0.6; display: block; margin-bottom: 16px;
}
.trip-page .hero-lede p {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ====== Section Head ====== */
.trip-page .container {
  max-width: 1240px; margin: 0 auto;
  padding: 0 48px;
}
.trip-page .section-head {
  margin-bottom: 56px;
  max-width: 760px;
}
.trip-page .section-head .eyebrow { margin-bottom: 16px; }
.trip-page .section-head h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.trip-page .section-head h2 b {
  font-style: italic; font-weight: 400;
  color: var(--accent);
}
.trip-page .section-sub {
  font-family: var(--serif); font-style: italic;
  font-size: 18px; color: var(--ink-soft);
  line-height: 1.6;
}

/* ====== Map base ====== */
.trip-page .map {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #EFE9DD;
}
.trip-page .route-map { height: 600px; }
.trip-page .day-map { height: 500px; }
.trip-page .leaflet-container { font-family: var(--sans); }
.trip-page .leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.85) !important;
  font-size: 11px;
  padding: 2px 8px !important;
  border-radius: 4px 0 0 0;
}

/* Leaflet 自定义 marker */
.route-dot span, .day-dot span, .amap-marker span {
  display: flex; align-items: center; justify-content: center;
}
.leaflet-popup-content-wrapper {
  border-radius: 4px;
  font-family: var(--sans);
  box-shadow: var(--shadow-md);
}
.leaflet-popup-content { margin: 12px 16px; font-size: 13px; line-height: 1.5; }
.leaflet-popup-tip-container { display: none; }

/* ====== Route Map Section ====== */
.trip-page .route-map-section { padding: 140px 0 100px; }
.trip-page .route-stops {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  margin-top: 48px;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trip-page .route-stops li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 24px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background 0.3s var(--ease);
}
.trip-page .route-stops li:last-child { border-right: none; }
.trip-page .route-stops li:hover { background: var(--bg-paper); }
.trip-page .stop-num {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
}
.trip-page .stop-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}
.trip-page .stop-meta {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ====== Itinerary / Day Tabs ====== */
.trip-page .itinerary-section { padding: 140px 0; background: var(--bg-alt); }
.trip-page .day-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-paper);
}
.trip-page .day-tab {
  text-align: left;
  padding: 32px 28px 28px;
  background: transparent;
  border: none;
  border-right: 1px solid var(--line);
  border-radius: 0;
  transition: all 0.3s var(--ease);
  position: relative;
  display: flex; flex-direction: column;
  gap: 10px;
  outline: none;
}
.trip-page .day-tab:last-child { border-right: none; }
.trip-page .day-tab:hover { background: var(--bg-alt); }
.trip-page .day-tab:focus-visible {
  background: var(--bg-alt);
  box-shadow: inset 0 0 0 2px var(--accent);
}
.trip-page .day-tab.active {
  background: var(--bg);
}
.trip-page .day-tab.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  background: var(--accent);
}
.trip-page .day-tab-num {
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}
.trip-page .day-tab-date {
  font-family: var(--serif); font-weight: 600;
  font-size: 26px; color: var(--ink);
  line-height: 1.1;
}
.trip-page .day-tab-city {
  font-family: var(--serif); font-style: italic;
  font-size: 14px; color: var(--ink-soft);
}

.trip-page .day-panels { position: relative; }
.trip-page .day-panel {
  display: none;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  animation: fadeUp 0.5s var(--ease-out);
}
.trip-page .day-panel.active { display: grid; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.trip-page .day-panel-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.trip-page .day-panel-head .eyebrow { margin-bottom: 16px; }
.trip-page .day-panel-head h3 {
  font-family: var(--serif);
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 600; line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.trip-page .day-panel-city {
  font-family: var(--serif); font-style: italic;
  font-size: 16px; color: var(--ink-soft);
}
.trip-page .day-panel-count {
  font-family: var(--sans);
  font-size: 12px; color: var(--ink-soft);
  padding: 8px 14px;
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* ====== Itinerary list (timeline) ====== */
.trip-page .it-list { list-style: none; }
.trip-page .it-row {
  display: grid;
  grid-template-columns: 72px 36px 1fr;
  gap: 16px;
  padding: 18px 0;
}
.trip-page .it-time {
  font-family: var(--serif);
  font-size: 18px; font-weight: 600;
  color: var(--ink);
  text-align: right;
  padding-top: 4px;
  letter-spacing: -0.01em;
}
.trip-page .it-marker {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center;
}
.trip-page .it-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg-paper);
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-size: 14px;
  z-index: 1;
}
.trip-page .it-icon[data-type="flight"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.trip-page .it-icon[data-type="hotel"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.trip-page .it-icon[data-type="food"] {
  background: var(--bg-paper);
  border-color: var(--accent);
  color: var(--accent);
}
.trip-page .it-line {
  flex: 1;
  width: 1px;
  background: var(--line);
  margin-top: 4px;
}
.trip-page .it-row:last-child .it-line { display: none; }
.trip-page .it-body { padding-top: 4px; padding-bottom: 4px; }
.trip-page .it-type {
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 6px;
}
.trip-page .it-title {
  font-family: var(--serif);
  font-size: 18px; font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
}
.trip-page .it-note {
  font-size: 14px; color: var(--ink-soft);
  margin-top: 6px; line-height: 1.55;
  font-family: var(--sans);
}
.trip-page .it-list .empty {
  font-family: var(--serif); font-style: italic;
  color: var(--ink-soft);
  text-align: center; padding: 48px;
}

/* ====== Day map wrapper ====== */
.trip-page .day-map-wrap {
  position: sticky; top: 32px;
  align-self: start;
}
.trip-page .day-map-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.trip-page .day-map-head .eyebrow { margin-bottom: 0; }
.trip-page .day-map-meta {
  font-family: var(--serif); font-style: italic;
  font-size: 13px; color: var(--ink-soft);
}

/* ====== Budget ====== */
.trip-page .budget-section {
  padding: 140px 0;
  background: var(--bg);
}
.trip-page .budget-total {
  text-align: center;
  margin-bottom: 56px;
}
.trip-page .budget-number {
  font-family: var(--serif);
  font-size: clamp(56px, 8vw, 128px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.trip-page .budget-eyebrow {
  font-family: var(--serif); font-style: italic;
  font-size: 16px; color: var(--ink-soft);
  margin-top: 8px;
}
.trip-page .bars {
  max-width: 720px; margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 18px;
}
.trip-page .bar-row {
  display: grid;
  grid-template-columns: 80px 1fr 160px;
  align-items: center;
  gap: 16px;
}
.trip-page .bar-label {
  font-size: 14px; font-weight: 600;
  color: var(--ink);
}
.trip-page .bar-track {
  height: 8px; background: var(--bg-alt);
  border-radius: 999px;
  overflow: hidden;
}
.trip-page .bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 1s var(--ease-out);
}
.trip-page .bar-value {
  text-align: right;
  font-family: var(--serif); font-size: 18px; font-weight: 600;
  color: var(--ink);
}
.trip-page .bar-pct {
  font-size: 12px; color: var(--ink-soft); font-weight: 400;
  margin-left: 4px;
}

/* ====== Spots ====== */
.trip-page .spots-section {
  padding: 140px 0;
  background: var(--bg-alt);
}
.trip-page .spots-list {
  display: flex; flex-direction: column;
  gap: 80px;
}
.trip-page .spot-card {
  background: transparent;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.trip-page .spot-card:nth-child(even) {
  grid-template-columns: 1fr 1.1fr;
}
.trip-page .spot-card:nth-child(even) .spot-thumb { order: 2; }
.trip-page .spot-num {
  position: absolute;
  top: -56px; left: 0;
  font-family: var(--sans);
  font-size: 11px; letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
}
.trip-page .spot-card.featured .spot-num {
  font-family: var(--serif); font-size: 14px;
  font-style: italic; letter-spacing: 0.1em;
  color: var(--accent);
}
.trip-page .spot-thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
}
.trip-page .spot-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.trip-page .spot-card:hover .spot-thumb img { transform: scale(1.05); }
.trip-page .spot-body { padding: 0; }
.trip-page .spot-meta-row {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.trip-page .spot-cat {
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600;
}
.trip-page .spot-rating {
  color: var(--accent);
  letter-spacing: 3px;
  font-size: 14px;
  margin-left: auto;
}
.trip-page .spot-body h3 {
  font-family: var(--serif);
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.trip-page .spot-summary {
  font-family: var(--serif); font-style: italic;
  font-size: 18px; color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 56ch;
}
.trip-page .spot-tags {
  display: flex; flex-wrap: wrap;
  gap: 8px; margin-bottom: 32px;
}
.trip-page .chip {
  display: inline-flex;
  flex-direction: column;
  padding: 10px 16px;
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 13px;
}
.trip-page .chip-k {
  font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600;
}
.trip-page .chip-v {
  font-family: var(--serif); font-weight: 600;
  font-size: 14px; color: var(--ink);
  margin-top: 2px;
}
.trip-page .spot-highlights { margin-bottom: 24px; }
.trip-page .spot-highlights .eyebrow { margin-bottom: 16px; }
.trip-page .spot-highlights ul {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 10px;
}
.trip-page .spot-highlights li {
  position: relative;
  padding-left: 28px;
  font-size: 15px; color: var(--ink);
  line-height: 1.55;
}
.trip-page .spot-highlights li::before {
  content: '✺';
  position: absolute; left: 0; top: 1px;
  color: var(--accent); font-size: 16px;
}
.trip-page .spot-tips {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 20px;
  background: var(--bg-paper);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
  font-size: 14px; color: var(--ink);
  line-height: 1.6;
}
.trip-page .tips-mark {
  flex: 0 0 20px; width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
  border-radius: 50%;
  font-family: var(--serif); font-style: italic;
  font-size: 12px; font-weight: 600;
}

/* ====== Logistics (flights/hotels) ====== */
.trip-page .logistics-section { padding: 140px 0; background: var(--bg); }
.trip-page .two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.trip-page .flights, .trip-page .hotels {
  background: var(--bg-paper);
  border-radius: 4px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.trip-page .flights .eyebrow, .trip-page .hotels .eyebrow {
  margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.trip-page .card-line {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}
.trip-page .card-line:last-of-type { border-bottom: none; }
.trip-page .card-line-ico {
  width: 36px; height: 36px;
  flex: 0 0 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 16px;
}
.trip-page .card-line-body { flex: 1; }
.trip-page .card-line-title { font-weight: 600; font-size: 15px; }
.trip-page .card-line-sub {
  font-size: 13px; color: var(--ink-soft); margin-top: 2px;
}
.trip-page .card-line-price {
  font-family: var(--serif); font-weight: 600;
  font-size: 16px; color: var(--accent);
}
.trip-page .flights-total {
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--bg-alt);
  border-radius: 4px;
  font-size: 13px; color: var(--ink-soft);
  font-family: var(--serif); font-style: italic;
}

/* ====== Gallery ====== */
.trip-page .gallery-section { padding: 140px 0; background: var(--bg-alt); }
.trip-page .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-auto-rows: 240px;
  gap: 12px;
}
.trip-page .gallery-grid .gallery-item:nth-child(7n+1) {
  grid-column: span 2; grid-row: span 2;
}
.trip-page .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-alt);
}
.trip-page .gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.trip-page .gallery-item:hover img { transform: scale(1.05); }
.trip-page .gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(26,26,26,0.85) 100%);
  color: #fff;
  font-family: var(--hand); font-size: 18px;
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.trip-page .gallery-item:hover figcaption { opacity: 1; }

/* ====== Notes ====== */
.trip-page .notes-block { padding: 140px 0; background: var(--bg); text-align: center; }
.trip-page .notes-inner { max-width: 720px; margin: 0 auto; }
.trip-page .notes-inner .eyebrow { margin-bottom: 16px; }
.trip-page .notes-inner h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 600;
  margin-bottom: 32px;
}
.trip-page .notes-inner h2 b { font-style: italic; font-weight: 400; color: var(--accent); }
.trip-page .notes-inner p {
  font-family: var(--serif); font-size: 18px;
  line-height: 1.8; color: var(--ink-soft);
}

/* ====== Footer (detail) ====== */
.trip-page .site-footer {
  padding: 64px 0 48px;
  background: var(--ink);
  color: var(--bg);
}
.trip-page .footer-grid {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.trip-page .footer-mark {
  font-family: var(--serif);
  font-size: 24px; font-weight: 600;
  letter-spacing: -0.01em;
}
.trip-page .footer-brand p {
  font-family: var(--hand);
  font-size: 18px;
  color: var(--ink-mute);
  margin-top: 4px;
}
.trip-page .footer-meta a {
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--bg);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.trip-page .footer-meta a:hover { color: var(--accent); border-color: var(--accent); }

/* ====== Reveal animation ====== */
.trip-page .reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.trip-page .reveal.in-view { opacity: 1; transform: translateY(0); }

/* ====== Responsive ====== */
@media (max-width: 1024px) {
  .trip-page .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 120px 24px 64px;
  }
  .trip-page .day-panel.active { grid-template-columns: 1fr; gap: 48px; }
  .trip-page .day-map-wrap { position: static; }
  .trip-page .two-col { grid-template-columns: 1fr; }
  .trip-page .container { padding: 0 24px; }
  .trip-page .route-map-section,
  .trip-page .itinerary-section,
  .trip-page .budget-section,
  .trip-page .spots-section,
  .trip-page .logistics-section,
  .trip-page .gallery-section,
  .trip-page .notes-block { padding: 96px 0; }
  .trip-page .route-map { height: 480px; }
  .trip-page .day-map { height: 400px; }
  .trip-page .bar-row { grid-template-columns: 60px 1fr 140px; gap: 12px; }
  .trip-page .spot-card,
  .trip-page .spot-card:nth-child(even) { grid-template-columns: 1fr; gap: 32px; }
  .trip-page .spot-card:nth-child(even) .spot-thumb { order: 0; }
  .trip-page .spots-list { gap: 56px; }
}
@media (max-width: 640px) {
  .trip-page .hero { padding: 96px 16px 48px; }
  .trip-page .hero-text h1 { font-size: 40px; }
  .trip-page .container { padding: 0 16px; }
  .trip-page .day-tab { padding: 20px 16px 16px; }
  .trip-page .day-tab-date { font-size: 22px; }
  .trip-page .bar-row { grid-template-columns: 1fr; gap: 4px; }
  .trip-page .bar-value { text-align: left; }
  .trip-page .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .trip-page .gallery-grid .gallery-item:nth-child(7n+1) { grid-column: span 2; grid-row: auto; }
  .trip-page .route-stops { grid-template-columns: 1fr 1fr; }
  .trip-page .route-stops li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .trip-page .route-stops li:nth-child(2n) { border-right: none; }
  .trip-page .route-stops li:nth-last-child(-n+2) { border-bottom: none; }
  .trip-page .route-map { height: 400px; }
  .trip-page .day-map { height: 320px; }
}

/* ====== 首页 Responsive ====== */
@media (max-width: 1024px) {
  .hero-slideshow h1 {
    font-size: clamp(42px, 10vw, 84px);
  }
  .hero-slideshow .hero-inner {
    padding: 140px 32px 120px;
  }
  .hero-slideshow .hero-meta {
    gap: 32px;
  }
  .section-map-full #map-canvas {
    height: 70vh;
  }
  .section-map-full .map-hero-text {
    padding-left: 32px;
    padding-right: 32px;
  }
  .section-map-full .map-head {
    padding-left: 32px;
    padding-right: 32px;
  }
}
@media (max-width: 640px) {
  .home-page .nav {
    padding: 16px 20px;
  }
  .hero-slideshow h1 {
    font-size: clamp(34px, 12vw, 64px);
    line-height: 0.95;
  }
  .hero-slideshow .hero-pill {
    margin-bottom: 24px;
  }
  .hero-slideshow .hero-inner {
    padding: 120px 20px 100px;
  }
  .hero-slideshow .lede {
    max-width: 360px;
  }
  .hero-slideshow .hero-meta {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-slideshow .hero-meta-item strong {
    font-size: 26px;
  }
  .hero-slideshow .slide-caption {
    right: 20px;
    bottom: 100px;
    font-size: 16px;
  }
  .section-map-full .map-hero-text,
  .section-map-full .map-head {
    padding-left: 20px;
    padding-right: 20px;
  }
  .section-map-full #map-canvas {
    height: 60vh;
    min-height: 420px;
  }
}
