/* 鹿引路官网 · 旅行杂志式编辑排版
   色：柠檬黄只做强调；奶白底；墨蓝正文
   圆角规则：按钮/标签全圆角，照片和票面 14px，明信片 4px（纸片感） */
:root {
  --yellow: #FFE35B;
  --yellow-soft: #FFF3B9;
  --cream: #FFFDF4;
  --ink: #1E2A38;
  --ink-2: #4A5563;
  --ink-3: #8A9099;
  --line: #EAE6DA;
  --sea: #2F6F8F;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "Noto Serif CJK SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --num: "Avenir Next", "Avenir", "Helvetica Neue", var(--sans);
  --pad: clamp(16px, 5vw, 72px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); line-height: 1.7; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 900; margin: 0; letter-spacing: .01em; }
p { margin: 0; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; height: 52px; padding: 0 26px; border-radius: 999px; font-size: 16px; font-weight: 700; text-decoration: none; transition: transform .25s cubic-bezier(.16,1,.3,1), background .25s; }
.btn:active { transform: scale(.98); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.75); background: rgba(20,28,38,.18); }
.btn-ghost:hover { background: rgba(20,28,38,.32); }
.btn-ink { background: var(--ink); color: var(--yellow); }
span.btn { cursor: default; }

/* 导航 */
.nav { position: fixed; z-index: 20; top: 0; left: 0; right: 0; height: 68px; display: flex; align-items: center; gap: 32px; padding: 0 var(--pad); color: #fff; transition: background .3s, color .3s; }
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(16,22,30,.42), rgba(16,22,30,0)); }
.mark { display: flex; align-items: baseline; gap: 8px; text-decoration: none; }
.mark-zh { font-family: var(--serif); font-weight: 900; font-size: 26px; letter-spacing: .06em; }
.mark-py { font-family: var(--num); font-size: 12px; font-style: italic; opacity: .85; letter-spacing: .04em; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
.nav-links a { text-decoration: none; opacity: .92; }
.nav-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.nav.solid { color: var(--ink); background: rgba(255,253,244,.9); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.solid::before { opacity: 0; }
.nav::before { transition: opacity .3s; }
.nav-soon { font-size: 13px; font-weight: 700; color: var(--ink); background: var(--yellow); padding: 6px 14px; border-radius: 999px; white-space: nowrap; }

/* 首屏 */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,24,34,.55) 0%, rgba(14,24,34,.18) 52%, rgba(14,24,34,0) 75%), linear-gradient(0deg, rgba(14,24,34,.5) 0%, rgba(14,24,34,0) 45%); }
.hero-copy { position: relative; padding: 0 var(--pad) clamp(48px, 9vh, 96px); max-width: 1040px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 92px); line-height: 1.12; white-space: nowrap; text-shadow: 0 2px 24px rgba(10,20,30,.25); }
.hero-copy > p { margin-top: 22px; font-size: clamp(16px, 1.35vw, 19px); max-width: 30em; opacity: .95; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* 一天怎么走 */
.day { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); padding: clamp(80px, 12vw, 160px) var(--pad); max-width: 1400px; margin: 0 auto; align-items: start; }
.day-intro { position: sticky; top: 110px; }
.day h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.25; }
.day h2 em { font-style: normal; background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); padding: 0 .08em; }
.day-intro > p { margin-top: 22px; color: var(--ink-2); font-size: 17px; max-width: 26em; }
.ask { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.ask span { border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 16px; font-size: 15px; font-weight: 600; }
.ask span:first-child { background: var(--ink); color: var(--yellow); }

.ticket { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: 14px; box-shadow: 0 1px 0 var(--line), 0 24px 60px -30px rgba(30,42,56,.28); position: relative; }
.ticket-head { display: flex; justify-content: space-between; align-items: baseline; padding: 22px 28px; border-bottom: 2px dashed var(--line); position: relative; }
.ticket-head::before, .ticket-head::after { content: ""; position: absolute; bottom: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--cream); }
.ticket-head::before { left: -10px; } .ticket-head::after { right: -10px; }
.t-city { font-family: var(--serif); font-weight: 900; font-size: 28px; }
.t-day { font-size: 14px; color: var(--ink-3); }
.stop { display: grid; grid-template-columns: 168px 1fr; gap: 22px; padding: 24px 28px; }
.stop img { width: 168px; height: 126px; object-fit: cover; border-radius: 10px; }
.stop time { font-family: var(--num); font-weight: 700; font-size: 14px; color: var(--ink-3); letter-spacing: .04em; }
.stop h3 { font-size: 23px; margin: 2px 0 6px; }
.stop .how { color: var(--ink-2); font-size: 15px; }
.flags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.flags span { font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--yellow-soft); color: var(--ink); }
.meal { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); padding-left: 14px; border-left: 3px solid var(--yellow); }
.leg { margin: 0 28px 0 calc(28px + 84px); padding: 4px 0 4px 22px; border-left: 2px dotted #C9C4B6; font-size: 13.5px; color: var(--ink-3); }

/* 数字票根 */
.stub { background: var(--yellow); }
.stub-inner { max-width: 1400px; margin: 0 auto; padding: clamp(36px, 5vw, 56px) var(--pad); display: grid; grid-template-columns: repeat(4, 1fr); }
.stub p { display: flex; flex-direction: column; padding: 0 clamp(12px, 2vw, 32px); border-left: 2px dashed rgba(30,42,56,.25); }
.stub p:first-child { border-left: 0; padding-left: 0; }
.stub b { font-family: var(--num); font-weight: 800; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -.02em; }
.stub span { margin-top: 10px; font-size: 15px; font-weight: 600; }

/* 现场讲解 */
.guide { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: center; max-width: 1400px; margin: 0 auto; padding: clamp(80px, 12vw, 160px) var(--pad) clamp(40px, 6vw, 80px); }
.guide-photo { margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; }
.guide-photo img { width: 100%; height: 100%; object-fit: cover; }
.guide h2 { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.3; }
.guide-copy p { margin-top: 22px; font-size: 17px; color: var(--ink-2); max-width: 24em; }

/* 能力清单 */
.kit { max-width: 1400px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--pad) clamp(80px, 12vw, 160px); }
.kit h2 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.35; max-width: 16em; }
.kit-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 0; margin-top: 48px; border-top: 2px solid var(--ink); }
.kit-item { padding: 28px clamp(16px, 2vw, 28px) 0 0; }
.kit-item + .kit-item { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.kit-item h3 { font-size: 21px; line-height: 1.4; }
.kit-item h3::before { content: ""; display: block; width: 28px; height: 6px; border-radius: 999px; background: var(--yellow); margin-bottom: 18px; }
.kit-item p { margin-top: 12px; color: var(--ink-2); font-size: 15px; }

/* 历史线 */
.lines { background: var(--ink); color: #F4F1E8; padding: clamp(80px, 12vw, 160px) var(--pad); }
.lines > * { max-width: 1400px; margin-left: auto; margin-right: auto; }
.lines-head h2 { font-size: clamp(34px, 4vw, 58px); line-height: 1.25; }
.lines-head p { margin-top: 20px; font-size: 17px; color: #B9C0C8; max-width: 26em; }
.lines-feature { display: grid; grid-template-columns: 3fr 2fr; gap: 20px; margin-top: 56px; align-items: end; }
.lf { margin: 0; position: relative; border-radius: 14px; overflow: hidden; }
.lf-a { aspect-ratio: 16 / 10; }
.lf-b { aspect-ratio: 4 / 5; }
.lf img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
.lf:hover img { transform: scale(1.035); }
.lf figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 22px; background: linear-gradient(transparent, rgba(12,18,26,.72)); display: flex; flex-direction: column; gap: 4px; }
.lf .route { font-size: 14px; letter-spacing: .08em; color: var(--yellow); font-weight: 700; }
.lf b { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); font-weight: 900; color: #fff; }
.tickets { list-style: none; padding: 0; margin-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tk { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 22px 22px 20px; border-radius: 14px; background: #F4F1E8; color: var(--ink); }
.tk::after { content: ""; position: absolute; left: 22px; right: 22px; top: 62px; border-top: 2px dashed #D8D3C4; }
.tk-from, .tk-to { font-family: var(--serif); font-weight: 900; font-size: 19px; white-space: nowrap; }
.tk-arrow { height: 2px; background: var(--ink); position: relative; min-width: 24px; }
.tk-arrow::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--ink); border-right: 0; }
.tk b { grid-column: 1 / -1; margin-top: 22px; font-size: 15px; font-weight: 600; color: var(--ink-2); }

/* 此时出发：明信片 */
.now { max-width: 1400px; margin: 0 auto; padding: clamp(80px, 12vw, 160px) var(--pad) clamp(64px, 9vw, 120px); }
.now h2 { font-size: clamp(36px, 4.4vw, 64px); }
.now-sub { margin-top: 14px; font-size: 17px; color: var(--ink-2); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); margin-top: 56px; }
.pc { margin: 0; background: #fff; padding: 12px 12px 18px; border-radius: 4px; box-shadow: 0 2px 0 var(--line), 0 26px 50px -30px rgba(30,42,56,.35); transition: transform .5s cubic-bezier(.16,1,.3,1); }
.pc img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 2px; }
.pc-2 img { object-position: 50% 80%; }
.pc-3 img { object-position: 50% 75%; }
.pc figcaption { margin-top: 14px; font-family: var(--serif); font-weight: 900; font-size: 20px; text-align: center; }
.pc-1 { transform: rotate(-2.2deg); }
.pc-2 { transform: rotate(1.4deg) translateY(28px); }
.pc-3 { transform: rotate(-1deg); }
.pc:hover { transform: rotate(0) translateY(-6px); }

/* 城市带 */
.cities { position: relative; height: clamp(520px, 78vh, 820px); overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.cities > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cities-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,30,44,.5) 0%, rgba(14,30,44,.12) 45%, rgba(14,30,44,0) 60%, rgba(14,30,44,.55) 100%), linear-gradient(90deg, rgba(14,30,44,.35), rgba(14,30,44,0) 60%); }
.cities-copy p { text-shadow: 0 1px 10px rgba(10,20,30,.5); }
.cities-copy { position: relative; padding: clamp(56px, 8vw, 96px) var(--pad) 0; max-width: 1400px; width: 100%; margin: 0 auto; }
.cities h2 { font-size: clamp(32px, 4vw, 58px); line-height: 1.25; text-shadow: 0 2px 20px rgba(10,20,30,.25); }
.cities-copy p { margin-top: 14px; font-size: 17px; }
.marquee { position: relative; overflow: hidden; padding: 0 0 clamp(28px, 4vw, 44px); }
.marquee-track { display: flex; width: max-content; animation: slide 60s linear infinite; }
.marquee span { font-family: var(--serif); font-weight: 900; font-size: clamp(30px, 4.2vw, 60px); padding: 0 .5em; white-space: nowrap; }
.marquee span:nth-child(3n+2) { color: var(--yellow); }
@keyframes slide { to { transform: translateX(-50%); } }

/* 收尾 */
.end { padding: clamp(80px, 12vw, 160px) var(--pad); }
.end-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.end-big { font-family: var(--serif); font-weight: 900; font-size: clamp(56px, 9vw, 140px); line-height: 1.08; }
.end-side > p:first-child { font-size: 17px; color: var(--ink-2); margin-bottom: 24px; max-width: 26em; }
.mail { margin-top: 22px; font-size: 15px; color: var(--ink-3); }
.mail a { color: var(--ink); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* 页脚 */
.foot { border-top: 1px solid var(--line); padding: 26px var(--pad) 32px; display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; font-size: 13px; color: var(--ink-3); }
.foot-m { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot-r { margin-left: auto; }

/* 滚动淡入（仅在 JS 启用且未开减弱动效时生效） */
.js-reveal .reveal { opacity: 0; translate: 0 26px; transition: opacity .9s cubic-bezier(.16,1,.3,1), translate .9s cubic-bezier(.16,1,.3,1); }
.js-reveal .reveal.in { opacity: 1; translate: 0 0; }
.js-reveal .kit-item.reveal:nth-child(2), .js-reveal .tk.reveal:nth-child(2), .js-reveal .pc-2.reveal { transition-delay: .08s; }
.js-reveal .kit-item.reveal:nth-child(3), .js-reveal .tk.reveal:nth-child(3), .js-reveal .pc-3.reveal { transition-delay: .16s; }
.js-reveal .kit-item.reveal:nth-child(4), .js-reveal .tk.reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: no-preference) {
  .hero-img { animation: drift 18s ease-out both; }
  @keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}

/* 平板 */
@media (max-width: 1080px) {
  .kit-grid { grid-template-columns: 1fr 1fr; }
  .kit-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .kit-item { padding-bottom: 28px; }
  .tickets { grid-template-columns: 1fr 1fr; }
}

/* 手机 */
@media (max-width: 767px) {
  .nav { height: 58px; gap: 12px; }
  .nav-links { display: none; }
  .nav.solid { color: var(--ink); background: rgba(255,253,244,.9); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.solid::before { opacity: 0; }
.nav::before { transition: opacity .3s; }
.nav-soon { margin-left: auto; }
  .mark-zh { font-size: 23px; }
  .hero-img { object-position: 30% 50%; }
  .hero-shade { background: linear-gradient(0deg, rgba(14,24,34,.72) 0%, rgba(14,24,34,.25) 55%, rgba(14,24,34,.1) 100%); }
  .hero-copy { padding-bottom: 40px; }
  .hero h1 { font-size: clamp(34px, 10.8vw, 42px); }
  .hero-cta .btn { flex: 1 1 100%; }

  .day { grid-template-columns: 1fr; padding-top: 72px; padding-bottom: 72px; }
  .day-intro { position: static; }
  .ticket-head { padding: 18px 18px; }
  .stop { grid-template-columns: 1fr; gap: 14px; padding: 20px 18px; }
  .stop img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .leg { margin: 0 18px 0 30px; }

  .stub-inner { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .stub p:nth-child(3) { border-left: 0; padding-left: 0; }

  .guide { grid-template-columns: 1fr; padding-top: 72px; }

  .kit-grid { grid-template-columns: 1fr; }
  .kit-item, .kit-item + .kit-item { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .kit-item:last-child { border-bottom: 0; }

  .lines { padding-top: 72px; padding-bottom: 72px; }
  .lines-feature { grid-template-columns: 1fr; margin-top: 40px; }
  .lf-a, .lf-b { aspect-ratio: 4 / 3; }
  .tickets { grid-template-columns: 1fr; gap: 14px; }

  .now { padding-top: 72px; }
  .cards { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; padding: 0 6px; }
  .pc-2 { transform: rotate(1.4deg); }
  .pc img { aspect-ratio: 4 / 3; }

  .cities { height: 560px; }
  .end { padding-top: 72px; padding-bottom: 72px; }
  .end-inner { grid-template-columns: 1fr; gap: 28px; }
  .end-big { font-size: 64px; }
  .foot { flex-direction: column; align-items: flex-start; }
  .foot-r { margin-left: 0; }
}

/* 协议页 */
.doc { background: #fff; }
.doc-nav { height: 64px; display: flex; align-items: center; padding: 0 var(--pad); border-bottom: 1px solid var(--line); background: var(--cream); }
.doc-nav .mark { color: var(--ink); }
.doc-main { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; font-size: 15.5px; color: var(--ink); }
.doc-main h1 { font-size: 34px; margin-bottom: 18px; }
.doc-main h2 { font-size: 21px; margin: 36px 0 12px; }
.doc-main h3 { font-size: 17px; margin: 24px 0 8px; }
.doc-main p, .doc-main li { margin: 0 0 10px; }
.doc-main ul { padding-left: 1.3em; margin: 0 0 12px; }
.doc-main .meta { color: var(--ink-3); font-size: 13.5px; margin: 0 0 4px; }
.doc-main strong { font-weight: 700; }
