/* 远方的山 · 官网
 * 版式参考霸王茶姬官网：白色顶栏、全屏轮播、居中衬线标题 + 描边胶囊按钮、通栏大图、横向图片卡、浅灰页脚
 * 配色：深林绿（标题）、远山绿（强调）、暖橙（栗子 / 季节）、米白（交替底色） */
:root {
  --ink: #10301f;
  --green: #389461;
  --green-d: #256341;
  --green-50: #eef6ef;
  --warm: #ffad38;
  --warm-ink: #9a5b12;
  --text: #5f6464;
  --muted: #8c918e;
  --line: #e7e4dd;
  --cream: #f7f3ea;
  --band: #efede8;
  --serif: "Source Han Serif SC", "Noto Serif SC", "Noto Serif CJK SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --hd: 64px;
  --maxw: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: var(--hd); }
body { margin: 0; padding-top: var(--hd); font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.ic { flex: none; display: block; }
.ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #e6eee7, #f4efe4); }

/* ───── 顶栏 ───── */
.hd { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: var(--hd); background: rgba(255, 255, 255, .97); transition: box-shadow .3s; }
.hd.scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(16, 48, 31, .05); }
.hd-in { height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 24px; }
.logo { flex: none; display: flex; align-items: center; gap: 12px; }
.seal { width: 38px; height: 38px; border-radius: 9px; background: var(--green); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 900; font-size: 13px; letter-spacing: .02em; transform: rotate(-4deg); box-shadow: 0 2px 6px rgba(56, 148, 97, .3); }
.logo-t { display: flex; flex-direction: column; line-height: 1.15; }
.logo-t b { font-family: var(--serif); font-size: 17px; color: var(--ink); letter-spacing: .08em; }
.logo-t small { font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { flex: 1; display: flex; justify-content: center; gap: 40px; }
.nav a { position: relative; font-size: 15px; color: #262626; letter-spacing: .04em; padding: 6px 0; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: -2px; height: 2px; background: var(--green); transition: left .3s var(--ease), right .3s var(--ease); }
.nav a:hover { color: var(--green-d); }
.nav a:hover::after, .nav a.on::after { left: 0; right: 0; }
.hd-cta { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 18px; border-radius: 18px; background: var(--green); color: #fff; font-size: 14px; letter-spacing: .06em; transition: background .2s; }
.hd-cta:hover { background: var(--green-d); }
.burger { display: none; flex: none; width: 40px; height: 40px; margin-right: -8px; border: 0; background: none; padding: 10px 8px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; border-radius: 1px; background: #1f1f1f; transition: transform .3s var(--ease), opacity .2s; }
.menu-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mnav { display: none; }

/* ───── 全屏轮播 ───── */
.hero, .page-hero { position: relative; overflow: hidden; background: #0e1b13; color: #fff; }
.hero { height: calc(100vh - var(--hd)); height: calc(100svh - var(--hd)); min-height: 480px; max-height: 940px; }
.page-hero { height: clamp(360px, 64vh, 660px); }
.hero-plain { display: grid; place-items: center; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 0s 1.2s; }
.slide.on { opacity: 1; visibility: visible; transition: opacity 1.2s var(--ease), visibility 0s; }
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 9s linear; }
.slide.on .slide-img, .page-hero .slide-img { transform: scale(1); }
.page-hero .slide-img { transition: none; }
.slide-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0, 0, 0, .34), rgba(0, 0, 0, .08) 68%), linear-gradient(to top, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 40%); }
.slide-txt { position: absolute; left: 24px; right: 24px; top: 50%; transform: translateY(-50%); text-align: center; text-shadow: 0 2px 18px rgba(0, 0, 0, .25); }
.slide-txt > * { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.slide.on .slide-txt > *, .page-hero .slide-txt > *, .hero-plain .slide-txt > * { opacity: 1; transform: none; }
.slide.on .slide-txt > :nth-child(2) { transition-delay: .15s; }
.slide.on .slide-txt > :nth-child(3) { transition-delay: .3s; }
.slide.on .slide-txt > :nth-child(4) { transition-delay: .45s; }
.slide-kicker { font-size: 13px; letter-spacing: .42em; opacity: .9; }
.slide-title { margin: 14px 0 0; font-family: var(--serif); font-weight: 700; font-size: clamp(34px, 6vw, 76px); line-height: 1.15; letter-spacing: .14em; }
.slide-title.long { max-width: 980px; margin-left: auto; margin-right: auto; font-size: clamp(26px, 3.6vw, 48px); line-height: 1.35; letter-spacing: .06em; }
.slide-sub { margin-top: 14px; font-size: 15px; letter-spacing: .24em; opacity: .92; }
.slide-txt .pill { margin-top: 34px; }
.hero-nav { position: absolute; z-index: 3; top: 50%; margin-top: -26px; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .2s; }
.hero-nav:hover { background: rgba(255, 255, 255, .28); }
.hero-prev { left: 28px; }
.hero-next { right: 28px; }
.hero-ctrl { position: absolute; z-index: 3; left: 0; right: 0; bottom: 30px; display: flex; align-items: center; justify-content: center; gap: 18px; }
.hero-play { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7); background: none; color: #fff; display: grid; place-items: center; padding: 0; }
.hero-dots { display: flex; gap: 10px; }
.hero-dots button { width: 44px; height: 20px; border: 0; background: none; padding: 9px 0; }
.hero-dots i { display: block; height: 2px; background: rgba(255, 255, 255, .35); position: relative; overflow: hidden; }
.hero-dots i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-dots .on i::after { transform: scaleX(1); }
.hero.playing .hero-dots .on i::after { transform: scaleX(0); animation: dot var(--dur, 6s) linear forwards; }
@keyframes dot { to { transform: scaleX(1); } }

/* ───── 按钮 ───── */
.pill { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 34px; border-radius: 999px; border: 1px solid #b1b1b1; color: var(--text); font-size: 15px; letter-spacing: .14em; transition: background .25s, color .25s, border-color .25s; }
.pill:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill-light { border-color: rgba(255, 255, 255, .75); color: #fff; }
.pill-light:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* ───── 段落屏 ───── */
.sec { padding: 104px 0; }
.sec-cream { background: var(--cream); }
.sec-in { max-width: 760px; margin: 0 auto; padding: 0 24px; text-align: center; }
.kicker { font-size: 12px; letter-spacing: .34em; text-transform: uppercase; color: var(--green); margin-bottom: 16px; }
.h2 { margin: 0 0 24px; font-family: var(--serif); font-weight: 700; font-size: clamp(26px, 3vw, 36px); line-height: 1.35; letter-spacing: .06em; color: var(--ink); }
.lead { margin: 0 0 34px; font-size: 16px; line-height: 2; }
.lead:last-child { margin-bottom: 0; }
.center { text-align: center; margin-top: 48px; }
.bleed { margin: 0; height: clamp(300px, 52vw, 760px); overflow: hidden; }
.bleed img { width: 100%; height: 100%; object-fit: cover; }

/* 横向滑动卡片 */
.scroller { position: relative; margin-top: 52px; }
.sc-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 max(24px, calc((100vw - var(--maxw)) / 2)); padding: 0 max(24px, calc((100vw - var(--maxw)) / 2)) 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.sc-track::-webkit-scrollbar { display: none; }
/* 卡片不够一屏时居中；超出一屏时自动外边距为 0，正常滑动 */
.sc-track > :first-child { margin-left: auto; }
.sc-track > :last-child { margin-right: auto; }
.card-tall { position: relative; flex: none; width: 340px; height: 450px; border-radius: 14px; overflow: hidden; scroll-snap-align: start; background: #dfe6df; color: #fff; }
.card-tall img, .card-tall .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card-tall:hover img { transform: scale(1.05); }
.card-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, .42), rgba(0, 0, 0, 0) 38%), linear-gradient(to top, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 34%); }
.card-title { position: absolute; top: 30px; left: 16px; right: 16px; text-align: center; font-family: var(--serif); font-weight: 700; font-size: 26px; letter-spacing: .14em; line-height: 1.3; }
.card-title small { display: block; margin-top: 8px; font-family: var(--sans); font-weight: 400; font-size: 12.5px; letter-spacing: .24em; opacity: .9; }
.card-foot { position: absolute; left: 22px; right: 22px; bottom: 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; font-size: 13px; letter-spacing: .06em; }
.card-foot b { font-family: var(--serif); font-size: 17px; font-weight: 700; white-space: nowrap; }
.card-foot b small { font-size: 12px; font-weight: 400; }
.sc-btn { position: absolute; z-index: 2; top: 50%; margin-top: -26px; width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: 0 6px 24px rgba(16, 48, 31, .16); transition: opacity .2s, transform .2s; }
.sc-btn:hover { transform: scale(1.06); }
.sc-btn[disabled] { opacity: 0; pointer-events: none; }
.sc-prev { left: max(12px, calc((100vw - var(--maxw)) / 2 - 26px)); }
.sc-next { right: max(12px, calc((100vw - var(--maxw)) / 2 - 26px)); }

/* 山野体验卡 */
.xp-grid { max-width: var(--maxw); margin: 52px auto 0; padding: 0 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
/* 一行 3 张，最后一行不满时居中 */
.xp { flex: 0 1 calc((100% - 56px) / 3); display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 1px 0 var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.xp:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16, 48, 31, .1); }
.xp-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.xp-img img, .xp-img .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.xp:hover .xp-img img { transform: scale(1.05); }
.xp-season { position: absolute; top: 14px; left: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--warm-ink); font-size: 12px; letter-spacing: .08em; }
.xp-body { flex: 1; display: flex; flex-direction: column; padding: 20px 22px 22px; text-align: left; }
.xp-store { font-size: 12px; letter-spacing: .12em; color: var(--green); }
.xp-name { margin: 8px 0 6px; font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--ink); letter-spacing: .04em; }
.xp-tag { display: inline-block; margin-right: 8px; padding: 2px 9px; border-radius: 999px; background: #fff3e0; color: var(--warm-ink); font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: .04em; vertical-align: 3px; }
.xp-meta { font-size: 13.5px; color: var(--muted); }
.xp-foot { margin-top: auto; padding-top: 18px; display: flex; align-items: flex-end; justify-content: space-between; }
.xp-price { font-family: var(--serif); font-size: 23px; font-weight: 700; color: var(--ink); }
.xp-price small { font-family: var(--sans); font-size: 12px; font-weight: 400; color: var(--muted); }
.xp-go { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--green); letter-spacing: .06em; }

/* 通栏数据屏 */
.band { position: relative; padding: 150px 24px; text-align: center; color: #fff; background: #10301f center / cover no-repeat; background-image: linear-gradient(rgba(8, 26, 16, .55), rgba(8, 26, 16, .55)), var(--band-img); }
.band-in { max-width: 820px; margin: 0 auto; }
.kicker-light { color: rgba(255, 255, 255, .78); }
.h2-light { color: #fff; }
.lead-light { color: rgba(255, 255, 255, .9); }
.stats { display: flex; justify-content: center; gap: 72px; margin: 6px 0 46px; }
.stat b { display: block; font-family: var(--serif); font-size: 54px; line-height: 1.1; font-weight: 700; }
.stat span { font-size: 13px; letter-spacing: .24em; opacity: .88; }

/* 山谷日志 */
.post-grid { max-width: var(--maxw); margin: 52px auto 0; padding: 0 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 34px; }
.post { flex: 0 1 calc((100% - 68px) / 3); display: block; text-align: left; }
.post-img { aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden; background: #e6ece6; }
.post-img img, .post-img .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post:hover .post-img img { transform: scale(1.05); }
.post-meta { margin: 18px 0 8px; font-size: 12.5px; letter-spacing: .14em; color: var(--green); }
.post-title { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.55; color: var(--ink); transition: color .2s; }
.post:hover .post-title { color: var(--green-d); }
.post-ex { margin: 8px 0 0; font-size: 14px; line-height: 1.8; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 相册（瀑布流） */
.gallery { max-width: var(--maxw); margin: 52px auto 0; padding: 0 24px; columns: 3; column-gap: 14px; }
.g-item { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #e6ece6; cursor: zoom-in; break-inside: avoid; }
.g-item img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.g-item:hover img { transform: scale(1.04); }

/* 预约到访 */
.visit-grid { max-width: 1100px; margin: 52px auto 0; padding: 0 24px; display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: start; }
.mpcode { background: var(--cream); border-radius: 20px; padding: 30px 24px; text-align: center; }
.mpcode-img { position: relative; width: 180px; height: 180px; margin: 0 auto; background: #fff; border-radius: 16px; display: grid; place-items: center; overflow: hidden; }
.mpcode-img img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; padding: 10px; background: #fff; }
.mpcode.no-code .mpcode-img img { display: none; }
.mpcode-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--green); }
.mpcode-t { margin-top: 18px; font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--ink); }
.mpcode-d { margin-top: 4px; font-size: 13px; color: var(--muted); }
.visit-stores { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.si { padding: 22px 22px 24px; border: 1px solid var(--line); border-radius: 18px; text-align: left; background: #fff; }
.si-name { margin-bottom: 12px; font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--ink); }
.si-name a:hover { color: var(--green-d); }
.si-row { display: flex; gap: 8px; margin: 7px 0; font-size: 13.5px; line-height: 1.6; }
.si-row .ic { margin-top: 3px; color: var(--green); }
.si-row a:hover { color: var(--green-d); }
.si-nav { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; height: 34px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--green); color: var(--green-d); font-size: 13px; transition: background .2s, color .2s; }
.si-nav:hover { background: var(--green); color: #fff; }
.bleed-end { height: clamp(260px, 42vw, 620px); }

/* 内页 */
.crumbs { max-width: var(--maxw); margin: 22px auto 0; padding: 0 24px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--green-d); }
.crumbs-in { margin: 0 0 22px; padding: 0; }
.page-top { padding-top: 80px; }
.nf { min-height: 50vh; }
.article-cover { margin: 0; height: clamp(280px, 48vw, 560px); overflow: hidden; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-in { max-width: 760px; margin: 0 auto; padding: 40px 24px 96px; }
.article-title { margin: 6px 0 10px; font-family: var(--serif); font-size: clamp(28px, 4vw, 40px); line-height: 1.4; color: var(--ink); letter-spacing: .04em; }
.article-store { font-size: 13px; letter-spacing: .1em; color: var(--green); }
.article-body { margin-top: 36px; }
.article-body p { margin: 0 0 1.5em; font-size: 17px; line-height: 2.1; color: #3e4442; }

/* ───── 加盟合作 ───── */
/* 首页入口：左图右文 */
.split { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.split-img { aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #e6ece6; }
.split-img img, .split-img .ph { width: 100%; height: 100%; object-fit: cover; }
.split-txt { text-align: left; }
.split-txt .lead { margin-bottom: 30px; }
/* 合作模式：两列 */
.duo { max-width: 1080px; margin: 52px auto 0; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.duo-col { background: #fff; border-radius: 20px; padding: 30px 30px 18px; text-align: left; }
.duo-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: .06em; }
.duo-h::before { content: ""; width: 4px; height: 20px; border-radius: 2px; background: var(--green); }
.duo-col-b .duo-h::before { background: var(--warm); }
.duo ul { list-style: none; margin: 0; padding: 0; }
.duo-item { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.duo-item:first-child { border-top: 0; }
.duo-ic { flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--green-50); color: var(--green-d); display: grid; place-items: center; }
.duo-col-b .duo-ic { background: #fff3e0; color: var(--warm-ink); }
.duo-item b { display: block; font-family: var(--serif); font-size: 17px; color: var(--ink); letter-spacing: .04em; }
.duo-item p { margin: 4px 0 0; font-size: 14px; line-height: 1.8; }
/* 授权说明 */
.tiles { max-width: 1080px; margin: 52px auto 0; padding: 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tile { padding: 34px 26px 30px; border: 1px solid var(--line); border-radius: 20px; text-align: center; }
.tile-ic { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--green-50); color: var(--green-d); }
.tile h3 { margin: 18px 0 8px; font-family: var(--serif); font-size: 19px; color: var(--ink); letter-spacing: .06em; }
.tile p { margin: 0; font-size: 14.5px; line-height: 1.85; }
.fine { max-width: 1080px; margin: 26px auto 0; padding: 0 24px; text-align: center; font-size: 13px; color: var(--muted); }
/* 合作流程 */
.steps { list-style: none; max-width: 1080px; margin: 52px auto 0; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.step { position: relative; padding: 0 18px; text-align: center; }
.step::after { content: ""; position: absolute; top: 27px; left: calc(50% + 40px); right: calc(-50% + 40px); height: 1px; background: repeating-linear-gradient(to right, #c9d9cd 0 6px, transparent 6px 12px); }
.step:last-child::after { display: none; }
.step-n { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--serif); font-size: 18px; font-weight: 700; letter-spacing: .04em; }
.step b { display: block; margin: 16px 0 6px; font-family: var(--serif); font-size: 18px; color: var(--ink); letter-spacing: .08em; }
.step p { margin: 0; font-size: 14px; line-height: 1.8; }
/* 意向表单 */
.apply .lead a.tel { color: var(--green-d); border-bottom: 1px solid currentColor; }
.join-form, .sent { max-width: 760px; margin: 44px auto 0; padding: 36px 36px 32px; background: #fff; border-radius: 22px; }
.fld-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.fld { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.fld:nth-child(3), .fld-wide { grid-column: 1 / -1; }
.fld-l { font-size: 14px; color: var(--ink); letter-spacing: .04em; }
.fld-l i { font-style: normal; color: #d9534f; margin-left: 3px; }
.fld input, .fld textarea { width: 100%; padding: 12px 14px; border: 1px solid #d9d6cf; border-radius: 12px; background: #fdfcf9; font: inherit; font-size: 15px; color: #262626; transition: border-color .2s, box-shadow .2s; }
.fld textarea { resize: vertical; min-height: 96px; line-height: 1.7; }
.fld input::placeholder, .fld textarea::placeholder { color: #a9aca9; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(56, 148, 97, .14); background: #fff; }
.fld.has-err input, .fld.has-err textarea { border-color: #d9534f; }
.fld-err { font-size: 12.5px; color: #c9302c; }
.form-err { margin-bottom: 18px; padding: 10px 14px; border-radius: 10px; background: #fdecea; color: #a12622; font-size: 14px; text-align: left; }
.form-err[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 18px 0 22px; font-size: 12.5px; color: var(--muted); text-align: left; }
.pill-solid { background: var(--ink); border-color: var(--ink); color: #fff; min-width: 220px; }
.pill-solid:hover { background: var(--green-d); border-color: var(--green-d); }
.pill-solid[disabled] { opacity: .6; cursor: default; }
.join-form .pill { display: flex; margin: 0 auto; }
.sent { text-align: center; }
.sent-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green-50); color: var(--green-d); }
.sent h3 { margin: 18px 0 8px; font-family: var(--serif); font-size: 22px; color: var(--ink); }
.sent p { margin: 0 0 26px; line-height: 1.9; }
.sent p a { color: var(--green-d); }

/* 页脚 */
.ft-band { background: var(--band); padding: 30px 24px; }
.ft-icons { display: flex; justify-content: center; gap: 18px; }
.ft-icons a { width: 46px; height: 46px; border-radius: 50%; background: #bdb9b1; color: #fff; display: grid; place-items: center; transition: background .2s; }
.ft-icons a:hover { background: var(--green); }
.ft-bottom { padding: 28px 24px 44px; text-align: center; font-size: 13px; line-height: 2.1; color: var(--muted); }
.ft-line .dot { margin: 0 8px; }
.ft-line a:hover, .ft-links a:hover { color: var(--green-d); }
.ft-links { margin-top: 6px; }
.ft-links span { margin: 0 12px; color: #cfcbc3; }

/* 大图浏览 */
.lb { position: fixed; z-index: 100; inset: 0; background: rgba(8, 14, 10, .94); display: flex; align-items: center; justify-content: center; }
.lb[hidden] { display: none; }
.lb img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: 6px; }
.lb button { position: absolute; border: 0; background: none; color: #fff; opacity: .85; padding: 12px; }
.lb button:hover { opacity: 1; }
.lb-x { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; color: rgba(255, 255, 255, .85); font-size: 14px; letter-spacing: .08em; }

/* 进入视野时淡入 */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ───── 响应式 ───── */
@media (max-width: 1100px) {
  .nav { gap: 26px; }
}
@media (max-width: 1024px) {
  .nav { display: none; }
  .hd-in { justify-content: space-between; padding: 0 20px; }
  .burger { display: flex; }
  .mnav { display: block; position: fixed; z-index: 49; top: var(--hd); left: 0; right: 0; bottom: 0; background: #fff; padding: 12px 28px 40px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
  .menu-open .mnav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .mnav a { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 21px; color: var(--ink); letter-spacing: .1em; }
  .mnav a.on { color: var(--green); }
  .mnav .mnav-cta { margin-top: 28px; border: 0; text-align: center; border-radius: 999px; background: var(--green); color: #fff; font-family: var(--sans); font-size: 16px; padding: 14px 0; }
  .menu-open { overflow: hidden; }
  .xp-grid { gap: 22px; }
  .xp { flex-basis: calc((100% - 22px) / 2); }
  .post { flex-basis: calc((100% - 34px) / 2); }
  .visit-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split-txt { text-align: center; }
  .duo { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; max-width: 560px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .step:nth-child(2)::after { display: none; }
  .mpcode { max-width: 360px; margin: 0 auto; width: 100%; }
}
@media (max-width: 640px) {
  :root { --hd: 58px; }
  .hd-cta { display: none; }
  .logo-t b { font-size: 16px; }
  .seal { width: 34px; height: 34px; font-size: 12px; }
  .hero { min-height: 420px; max-height: 720px; height: 78svh; }
  .hero-nav { display: none; }
  .hero-ctrl { bottom: 22px; }
  .hero-dots button { width: 30px; }
  .slide-title { letter-spacing: .08em; }
  .slide-sub { letter-spacing: .14em; font-size: 14px; }
  .sec { padding: 72px 0; }
  .lead { font-size: 15px; line-height: 1.95; }
  .scroller, .xp-grid, .post-grid, .gallery, .visit-grid { margin-top: 36px; }
  .card-tall { width: 74vw; height: 98vw; max-height: 460px; }
  .card-title { font-size: 22px; top: 24px; }
  .sc-btn { display: none; }
  .xp-grid { gap: 18px; padding: 0 20px; }
  .xp { flex-basis: 100%; }
  .post-grid { gap: 30px; padding: 0 20px; }
  .post { flex-basis: 100%; }
  .gallery { columns: 2; column-gap: 10px; padding: 0 16px; }
  .g-item { margin-bottom: 10px; border-radius: 10px; }
  .band { padding: 96px 20px; }
  .stats { gap: 26px; margin-bottom: 36px; }
  .stat b { font-size: 38px; }
  .stat span { font-size: 12px; letter-spacing: .12em; }
  .visit-grid { padding: 0 20px; }
  .article-body p { font-size: 16px; line-height: 2; }
  .split, .duo, .tiles, .steps { padding: 0 20px; }
  .duo-col { padding: 24px 20px 10px; }
  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .step::after { display: none; }
  .join-form, .sent { margin: 32px 16px 0; padding: 26px 20px 24px; }
  .fld-grid { grid-template-columns: 1fr; }
}
@media (hover: none) {
  .sc-btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .slide-img { transform: none !important; }
}
