/* ============================================================
   漫山水旅居 独立站 v1.1 · 样式
   ------------------------------------------------------------
   v1.1 设计原则（与 v1.0 的区别）
   1. 不再"每页一条深绿大横幅 + 连续等宽卡片"。
      改为编辑式版式：全幅照片、错落图文、拉开的留白、
      大字号标题层级，靠摄影和节奏建立品牌感。
   2. 摄影优先。真实实拍是页面的主角，不是卡片里的装饰。
   3. 文字对比度全部达到 WCAG AA（正文 ≥ 4.5:1）。
      v1.0 的深绿区标题同色 bug 在此修复。
   4. 适老：正文 17px 起，行高 1.9，按钮高 ≥ 48px，点击区充足。
   5. 无 JS 也能完整阅读、完整跳转。JS 只做增强。
   ============================================================ */

:root {
  /* ---- 色彩：墨绿 + 米白 + 陶土，克制使用 ---- */
  --ink:        #14342A;   /* 主墨绿 */
  --ink-deep:   #0A1F18;   /* 更深，用于大面积深底 */
  --ink-mid:    #1E4A3B;
  --ink-light:  #2C6350;
  --lake:       #4A7C6F;

  --clay:       #A85D42;   /* 暖陶土（强调） */
  --clay-light: #C68063;
  --clay-deep:  #8A4A33;

  --sand:       #F5F1E8;   /* 米白 */
  --sand-2:     #EDE7DA;
  --sand-3:     #E2DACA;
  --paper:      #FFFFFF;

  --text:       #1F2C27;
  --text-2:     #4A5852;
  --text-3:     #5E6B65;   /* v1.1：加深以满足 WCAG AA（原 #6E7C75 在浅底上仅 4.37:1） */
  --line:       #DCD4C3;
  --line-2:     #EBE4D5;

  --shadow-sm:  0 1px 3px rgba(20,52,42,.06);
  --shadow:     0 4px 20px rgba(20,52,42,.09);
  --shadow-lg:  0 16px 48px rgba(20,52,42,.16);

  --radius:     8px;
  --radius-sm:  5px;
  --radius-lg:  14px;

  --maxw:       1180px;
  --maxw-narrow:740px;
  --gut:        24px;

  /* ---- 字体层级：v1.1 拉开差距，标题明显更大 ---- */
  --f-display:  clamp(2.6rem, 6.2vw, 4.6rem);   /* 首页主标 */
  --f-h1:       clamp(2.1rem, 4.6vw, 3.3rem);
  --f-h2:       clamp(1.7rem, 3.1vw, 2.5rem);
  --f-h3:       clamp(1.2rem, 1.9vw, 1.5rem);
  --f-lead:     clamp(1.06rem, 1.5vw, 1.24rem);
  --f-body:     17px;
  --f-sm:       15.5px;
  --f-xs:       13.5px;

  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-sans:  "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
                "Source Han Sans SC", "Noto Sans SC", system-ui, sans-serif;
}

/* ---------------- 基础 ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--f-body);
  line-height: 1.9;
  color: var(--text);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* 移动端菜单面板用 translateX(103%) 藏在屏幕外，会撑大 scrollWidth。
   在 html 上也加裁剪，彻底消除横向滚动条。 */
html { overflow-x: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink-light); text-decoration: none; }
a:hover { color: var(--clay); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.35; font-weight: 700; color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
strong { font-weight: 700; color: var(--ink); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.wrap-narrow { max-width: var(--maxw-narrow); margin: 0 auto; padding: 0 var(--gut); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--ink); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0; font-size: var(--f-sm);
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(245,241,232,.92);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border-bottom: 1px solid var(--line-2);
}
/* backdrop-filter 会创建层叠上下文：菜单打开时整体抬层，内部 fixed 才不会被困住 */
html.nav-open .site-header { z-index: 300; backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-bottom-color: transparent; }
html.nav-open .site-header .brand { opacity: 0; pointer-events: none; }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 68px;
}
.brand { display: flex; flex-direction: column; line-height: 1.2; }
.brand-cn {
  font-family: var(--font-serif);
  font-size: 21px; font-weight: 700; color: var(--ink); letter-spacing: .06em;
}
.brand-en {
  font-size: 10.5px; letter-spacing: .2em; color: var(--text-3);
  text-transform: uppercase; margin-top: 3px;
}

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  font-size: 16px; color: var(--ink); font-weight: 500;
  padding: 6px 0; position: relative; white-space: nowrap;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--clay); transition: width .25s;
}
.site-nav a:hover::after, .site-nav a.active::after { width: 100%; }
.site-nav a.active { color: var(--clay); }

.nav-cta {
  background: var(--ink); color: #fff !important;
  padding: 11px 20px !important; border-radius: var(--radius-sm);
  font-size: 15.5px !important; min-height: 46px;
  display: inline-flex; align-items: center;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--ink-mid); color: #fff !important; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 10px; margin: -10px; position: relative; z-index: 2;
}
.nav-toggle-bar {
  display: block; width: 24px; height: 2px; background: var(--ink);
  margin: 5px 0; transition: .3s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
html.nav-open .nav-toggle-bar { background: #fff; }

.nav-scrim {
  display: none; position: fixed; inset: 0; z-index: 250;
  background: rgba(10,31,24,.55);
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.nav-scrim.open { opacity: 1; pointer-events: auto; }
html.nav-open { overflow: hidden; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; min-height: 50px; padding: 13px 28px;
  border-radius: var(--radius-sm); border: 1.5px solid transparent;
  font-size: 17px; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: .22s; text-align: center; line-height: 1.3;
}
.btn-primary { background: var(--ink); color: #fff !important; }
.btn-primary:hover { background: var(--ink-mid); color: #fff !important; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--ink) !important; border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff !important; }
.btn-clay { background: var(--clay); color: #fff !important; }
.btn-clay:hover { background: var(--clay-deep); color: #fff !important; }
.btn-ghost { background: var(--paper); color: var(--ink) !important; border-color: var(--line); }
.btn-ghost:hover { background: var(--sand-2); }
.btn-sm { min-height: 48px; padding: 11px 22px; font-size: 16px; }

/* ============================================================
   首页专用版式
   ============================================================ */

/* ---- 首屏：全幅照片 + 压在其上的文字 ---- */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex; align-items: flex-end;
  background: var(--ink-deep);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 78%; }

/* 手机端首屏换用更明亮的室内水景（入口夜景横图裁进竖屏会大面积落暗墙）。
   用 picture 的两张图 + 这里控制显示：见 index.html 的 .hero-bg-m / .hero-bg-d */
.hero-bg-m { display: none; }
.hero-bg-d { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 62% 76%; }
.hero-bg-m { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  /* 两层蒙版叠加：底层按高度加深（托住中下的正文与按钮），
     上层按横向加深（文字都在左侧，右侧照片留亮）。
     实测背景最亮处接近 rgb(172,183,181)，只靠单层竖向渐变时
     眉标对比度只有 1.58:1 —— 这是按 CSS 背景色算不出来的。 */
  background:
    linear-gradient(to bottom,
      rgba(6,20,15,.30) 0%,
      rgba(6,20,15,.46) 22%,
      rgba(6,20,15,.72) 48%,
      rgba(6,20,15,.88) 74%,
      rgba(6,20,15,.94) 100%),
    linear-gradient(to right,
      rgba(6,20,15,.74) 0%,
      rgba(6,20,15,.60) 34%,
      rgba(6,20,15,.24) 66%,
      rgba(6,20,15,0) 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--maxw);
  margin: 0 auto; padding: 0 var(--gut) clamp(40px, 6.5vh, 76px);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--f-xs); letter-spacing: .16em; font-weight: 600;
  color: #E9D9C4; text-transform: uppercase; margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: ""; width: 30px; height: 1.5px; background: var(--clay-light);
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: var(--f-display); font-weight: 700;
  color: #fff; letter-spacing: .02em; line-height: 1.22;
  margin-bottom: 22px; max-width: 15em;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.hero h1 em { font-style: normal; color: #F0C9A8; }
.hero-lead {
  font-size: var(--f-lead); color: rgba(255,255,255,.92);
  max-width: 34em; line-height: 1.85; margin-bottom: 30px;
  text-shadow: 0 1px 12px rgba(0,0,0,.4);
}
.hero-lead strong { color: #fff; font-weight: 700; }

/* 首屏的"能解决什么"三条 —— 横向短句，不是卡片 */
.hero-points {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin-bottom: 32px; padding: 0; list-style: none;
}
.hero-points li {
  display: flex; align-items: center; gap: 9px;
  font-size: var(--f-sm); color: rgba(255,255,255,.9); font-weight: 500;
}
.hero-points li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--clay-light); flex: none;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-actions .btn-outline { border-color: rgba(255,255,255,.65); color: #fff !important; }
.hero-actions .btn-outline:hover { background: #fff; color: var(--ink) !important; border-color: #fff; }
.hero-actions .btn-primary { background: var(--clay); }
.hero-actions .btn-primary:hover { background: var(--clay-deep); }

.hero-contact {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
  margin-top: 26px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.2);
  font-size: var(--f-sm); color: rgba(255,255,255,.8);
}
.hero-contact a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.hero-contact a:hover { color: #F0C9A8; }
.hero-contact .hc-sep { color: rgba(255,255,255,.35); }

/* ---- 人物节里的"真实场景图 + 图注"（替代空人像框） ---- */
.host-scene { margin: 0; }
.host-scene img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius-lg); display: block;
}
.host-scene figcaption {
  margin-top: 14px; font-size: var(--f-sm); color: var(--text-3);
  line-height: 1.8; padding-left: 14px; border-left: 2px solid var(--line);
}

/* ---- 人物节里的竖屏实拍视频 ----
   两位老师提供的是手机竖拍（9:16）。若让视频撑满媒体栏，高宽比会把区块拉到近千像素高，
   所以这里用 width: min(100%, 368px) 做上限：宽栏里按 368px 居中呈现，
   窄屏（手机）自动铺满。宽高比写死 9/16，加载前就占好位，不会抖动。 */
.video-phone { margin: 0; }
.video-phone video {
  display: block; margin: 0 auto;
  width: min(100%, 368px); height: auto; aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  background: #0a1712;
  box-shadow: 0 16px 40px rgba(8, 24, 18, .20);
}
/* 视频下方的图注与视频同宽，视觉上才是一条线 */
.video-phone + figcaption { max-width: 368px; margin-left: auto; margin-right: auto; }
.video-meta {
  display: inline-block; margin-right: 10px; padding: 3px 11px;
  border-radius: 999px; background: var(--sand); color: var(--clay-deep);
  font-size: 12.5px; font-weight: 700; letter-spacing: .2px;
}
.art-media-cap {
  max-width: 368px; margin: 14px auto 0;
  font-size: var(--f-sm); color: var(--text-3);
  line-height: 1.8; padding-left: 14px; border-left: 2px solid var(--line);
}

/* ---- 列表项封面图 ---- */
.li-photo {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  border-radius: var(--radius); margin-bottom: 18px; display: block;
}

/* ---- 基本信息里的括注 ---- */
.fv-note { color: var(--text-3); font-weight: 400; }

/* ---- 通用编辑式区块 ---- */
.band { padding: clamp(56px, 8vw, 104px) 0; }
.band-sand { background: var(--sand); }
.band-sand2 { background: var(--sand-2); }
.band-paper { background: var(--paper); }
.band-ink { background: var(--ink-deep); color: rgba(255,255,255,.88); }
.band-ink h2, .band-ink h3 { color: #fff; }

/* 编辑式标题：左对齐 + 细线，不用居中 */
.band-head { margin-bottom: clamp(30px, 4.4vw, 52px); max-width: 46em; }
.band-head .eyebrow {
  display: flex; align-items: center; gap: 11px;
  font-size: var(--f-xs); letter-spacing: .17em; font-weight: 700;
  color: var(--clay); text-transform: uppercase; margin-bottom: 14px;
}
.band-head .eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--clay); }
.band-ink .band-head .eyebrow { color: var(--clay-light); }
.band-ink .band-head .eyebrow::before { background: var(--clay-light); }

.band-head h2 {
  font-family: var(--font-serif);
  font-size: var(--f-h2); font-weight: 700; letter-spacing: .015em;
  line-height: 1.35; margin-bottom: 18px;
}
.band-head .sub {
  font-size: var(--f-lead); color: var(--text-2); line-height: 1.9; max-width: 40em;
}
.band-ink .band-head .sub { color: rgba(255,255,255,.82); }

/* ---- 1. 在弥勒怎么住：左图右文的编辑式两栏 ---- */
.live-grid {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 4.5vw, 64px); align-items: center;
}
.live-media { position: relative; }
.live-media img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius-lg);
}
/* 叠一张小图，制造错落（不是等宽卡片） */
.live-media .media-inset {
  position: absolute; right: -26px; bottom: -34px;
  width: 44%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: var(--radius); border: 7px solid var(--sand);
  box-shadow: var(--shadow-lg);
}
.live-copy h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.1vw, 1.75rem); margin-bottom: 18px;
}
.live-copy p { color: var(--text-2); line-height: 1.95; }
/* 用编号排列表代替卡片 */
.live-list { list-style: none; padding: 0; margin: 26px 0 0; }
.live-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 16px;
  padding: 16px 0; border-top: 1px solid var(--line);
  align-items: start;
}
.live-list li:last-child { border-bottom: 1px solid var(--line); }
.live-list .n {
  font-family: var(--font-serif); font-size: 15px; font-weight: 700;
  color: var(--clay); padding-top: 3px; letter-spacing: .05em;
}
.live-list h4 { font-size: 17.5px; margin-bottom: 5px; }
.live-list p { font-size: var(--f-sm); color: var(--text-3); margin: 0; line-height: 1.8; }

/* ---- 2. 认识刘老师：人像 + 引语，非卡片 ---- */
.host-grid {
  display: grid; grid-template-columns: .82fr 1.18fr;
  gap: clamp(28px, 5vw, 70px); align-items: center;
}
.host-portrait { position: relative; }
.host-portrait img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  border-radius: var(--radius-lg);
}
/* 无授权人像时用的素雅占位：不是斜纹，是一张克制的底纹卡 */
.host-portrait .portrait-pending {
  width: 100%; aspect-ratio: 3/4; border-radius: var(--radius-lg);
  background: linear-gradient(158deg, var(--sand-3) 0%, var(--sand-2) 52%, var(--sand-3) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; text-align: center; padding: 30px; position: relative; overflow: hidden;
}
.host-portrait .portrait-pending::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 26% 22%, rgba(168,93,66,.10) 0%, transparent 42%),
    radial-gradient(circle at 78% 76%, rgba(20,52,42,.09) 0%, transparent 46%);
}
.portrait-pending .pp-mark {
  width: 62px; height: 62px; border-radius: 50%;
  border: 1.5px solid var(--clay); display: flex;
  align-items: center; justify-content: center; position: relative;
}
.portrait-pending .pp-mark::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%;
  background: var(--clay); opacity: .5;
}
.portrait-pending .pp-mark::after {
  content: ""; position: absolute; bottom: 12px;
  width: 34px; height: 17px; border-radius: 20px 20px 0 0;
  background: var(--clay); opacity: .5;
}
.portrait-pending .pp-txt { font-size: var(--f-xs); color: var(--text-3); letter-spacing: .08em; position: relative; }

.host-copy .host-name {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 6px;
}
.host-copy .host-role {
  font-size: var(--f-sm); color: var(--clay); font-weight: 600;
  letter-spacing: .06em; margin-bottom: 22px;
}
.host-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.9vw, 1.42rem);
  line-height: 1.75; color: var(--ink);
  border-left: 3px solid var(--clay); padding-left: 22px; margin: 0 0 24px;
}
.host-copy p { color: var(--text-2); }
.host-duty { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0 26px; padding: 0; list-style: none; }
.host-duty li {
  font-size: var(--f-xs); color: var(--ink); font-weight: 600;
  background: var(--sand-2); border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 100px;
}

/* ---- 主理人欢迎信（刘老师本人第一人称原文，2026-09-25 加入） ----
   设计意图：这是"一封信"，不是一段说明文字。
   ① 宽度收到 740px —— 信要窄，一行读下来才不吃力（整页版心 1180px 对信来说太宽）；
   ② 底色换成米白、顶部压一道陶土色细线，像信纸；
   ③ 正文用衬线字体、行高 2.05 —— 慢一点读的节奏；
   ④ 结语单独一行、略大、用陶土色，当落款前的停顿；
   ⑤ 落款右对齐。 */
.host-letter {
  max-width: var(--maxw-narrow);
  margin: clamp(40px, 6vw, 68px) auto 0;
  background: var(--sand);
  border: 1px solid var(--line);
  border-top: 3px solid var(--clay);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4.2vw, 46px) clamp(24px, 4.4vw, 54px) clamp(24px, 3.6vw, 40px);
  box-shadow: var(--shadow-sm);
}

/* 小标在这里改用更深一档的陶土色。
   原因：.eyebrow 默认色是 --clay（#A85D42），压在纯白上是 4.87:1 达标，
   但信纸底色是米白 --sand（#F5F1E8），算下来只有 **4.32:1**，低于 AA 的 4.5 ——
   这个短板只在"把 .eyebrow 放到米白底上"时才出现，所以是加了这封信才发现、并当场量出来的。
   --clay-deep（#8A4A33）压在米白上是 5.99:1。 */
.host-letter .eyebrow { margin-bottom: 22px; color: var(--clay-deep); }

.letter-body p {
  font-family: var(--font-serif);
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 2.05;
  color: var(--ink);
  margin: 0 0 16px;
}

.letter-body p:last-child { margin-bottom: 0; }

/* 注意：选择器写成 .letter-body p.letter-close（而不是 .letter-close）。
   上面 `.letter-body p` 的特异性是 0,1,1，比单独的 `.letter-close`（0,1,0）高 ——
   写成 .letter-close 的话 color 和 font-size 会被静默吃掉，只有 padding/border 生效。 */
.letter-body p.letter-close {
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.7vw, 1.36rem);
  line-height: 1.75;
  letter-spacing: .05em;
  color: var(--clay-deep);
}

.letter-sign {
  margin: 22px 0 0;
  text-align: right;
  font-family: var(--font-serif);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--ink);
}

.letter-sign span {
  display: block;
  margin-top: 5px;
  font-family: var(--font-sans);
  font-size: var(--f-xs);
  font-weight: 400;
  letter-spacing: .08em;
  color: var(--text-3);
}

/* 窄屏：信纸左右收一点内边距，避免正文每行只剩几个字 */
@media (max-width: 560px) {
  .host-letter { padding: 26px 20px 24px; }
  .letter-body p { line-height: 1.95; }
  .letter-sign { text-align: left; }
}

/* 视频号入口 */
.video-entry {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 18px; margin-top: 4px;
  transition: .22s;
}
.video-entry:hover { border-color: var(--clay); box-shadow: var(--shadow); }
.video-entry .ve-ico {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: var(--ink); color: #fff; display: flex;
  align-items: center; justify-content: center; font-size: 15px;
}
.video-entry .ve-txt { line-height: 1.5; }
.video-entry .ve-txt b { display: block; font-size: 15.5px; color: var(--ink); }
.video-entry .ve-txt span { font-size: var(--f-xs); color: var(--text-3); }

/* ---- 3. 一处真实住处：大幅沉浸式展示 ---- */
.stay-feature { display: grid; gap: clamp(24px, 3.6vw, 40px); }
.stay-feature-top {
  display: grid; grid-template-columns: 1.35fr 1fr;
  gap: clamp(20px, 3vw, 34px);
}
.sf-photo { position: relative; }
.sf-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.sf-photo-main { aspect-ratio: 16/11; }
.sf-photo-side { display: grid; gap: clamp(16px, 2.4vw, 24px); }
.sf-photo-side img { aspect-ratio: 4/3; }
.sf-facts {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px);
}
.sf-facts h3 { font-family: var(--font-serif); font-size: 1.35rem; margin-bottom: 18px; }
.sf-row {
  display: flex; gap: 14px; padding: 11px 0;
  border-bottom: 1px solid var(--line-2); font-size: var(--f-sm);
}
.sf-row:last-of-type { border-bottom: none; }
.sf-row .k { color: var(--text-3); flex: none; width: 5.4em; }
.sf-row .v { color: var(--text); font-weight: 500; }
.sf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* 归属标签：v1.1 更克制 */
.badge {
  display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 700; padding: 4px 12px;
  border-radius: 3px; letter-spacing: .06em; line-height: 1.6;
}
.badge-own { background: #DCEBE4; color: #164A39; border: 1px solid #B4D6C7; }
.badge-partner { background: #F7E9D8; color: #7A4626; border: 1px solid #E6CBAA; }
.badge-consult { background: #E7EAF0; color: #3B4761; border: 1px solid #CBD2DE; }

/* ---- 4. 弥勒生活：杂志式问题条目（带署名与实拍） ---- */
.notes { display: grid; gap: 0; }
.note {
  display: grid; grid-template-columns: minmax(200px, 300px) 1fr;
  gap: clamp(24px, 3.6vw, 52px);
  padding: clamp(30px, 4vw, 48px) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.note:last-child { border-bottom: 1px solid var(--line); }
.note-photo img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius); margin-bottom: 12px;
}
.note-no {
  font-family: var(--font-serif); font-size: 13px; font-weight: 700;
  color: var(--clay); letter-spacing: .1em; margin-bottom: 10px; display: block;
}
.note-body h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.5; margin-bottom: 14px;
}
.note-body p { color: var(--text-2); line-height: 1.95; margin-bottom: 16px; }
.note-by {
  display: flex; align-items: center; gap: 10px;
  font-size: var(--f-xs); color: var(--text-3); padding-top: 4px;
}
.note-by::before { content: ""; width: 20px; height: 1px; background: var(--line); }
.note-more { font-weight: 600; font-size: var(--f-sm); color: var(--ink-light); }
.note-more:hover { color: var(--clay); }
.note-photo.side { grid-column: 2; margin-top: 16px; }
.note-photo.side img { aspect-ratio: 16/9; }

/* ---- 5. 唐老师活动：确实没确认，就如实说明并给咨询入口 ---- */
.art-band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4.6vw, 66px); align-items: center; }
.art-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); }
.art-pending {
  width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--sand-3), var(--sand-2));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: 34px; text-align: center;
}
.art-pending .ap-frame {
  width: 96px; height: 72px; border: 1.5px solid var(--clay);
  border-radius: 4px; position: relative; opacity: .55;
}
.art-pending .ap-frame::before, .art-pending .ap-frame::after {
  content: ""; position: absolute; background: var(--clay);
}
.art-pending .ap-frame::before { left: 12px; right: 12px; bottom: 18px; height: 1.5px; }
.art-pending .ap-frame::after { left: 12px; right: 30px; bottom: 28px; height: 1.5px; }
.art-pending p { font-size: var(--f-xs); color: var(--text-3); letter-spacing: .07em; margin: 0; }

/* ---- 6. 咨询：深底区，对比度达标 ---- */
.contact-band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4.4vw, 62px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  display: grid; grid-template-columns: 5.4em 1fr; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.18);
}
.contact-list li:first-child { border-top: 1px solid rgba(255,255,255,.18); }
.contact-list .k { color: rgba(255,255,255,.66); font-size: var(--f-sm); padding-top: 3px; }
.contact-list .v { color: #fff; font-size: clamp(1.15rem, 1.9vw, 1.5rem); font-weight: 700; font-family: var(--font-serif); }
.contact-list .v a { color: #fff; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.contact-list .v a:hover { color: #F0C9A8; }
.contact-list .note { display: block; font-size: var(--f-xs); color: rgba(255,255,255,.62); font-weight: 400; font-family: var(--font-sans); margin-top: 6px; line-height: 1.7; }

/* 咨询前的准备清单 */
.prep { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 30px); }
.prep h3 { font-size: 1.2rem; margin-bottom: 16px; color: #fff; }
.prep ol { padding-left: 1.25em; margin: 0 0 20px; }
.prep li { color: rgba(255,255,255,.85); font-size: var(--f-sm); margin-bottom: 9px; line-height: 1.75; }
.prep .prep-note { font-size: var(--f-xs); color: rgba(255,255,255,.6); margin: 0; line-height: 1.7; }
.band-ink .btn-primary { background: var(--clay); color: #fff !important; }
.band-ink .btn-primary:hover { background: var(--clay-deep); }
.band-ink .btn-outline { border-color: rgba(255,255,255,.65); color: #fff !important; }
.band-ink .btn-outline:hover { background: #fff; color: var(--ink-deep) !important; border-color: #fff; }

/* 下一步的横向引导条：v1.1 用一条窄带代替大横幅 */
.next-strip {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 18px;
  padding: 26px 0;
}
.next-strip p { margin: 0; color: rgba(255,255,255,.85); font-size: var(--f-sm); }

/* ---------------- 通用组件（内页沿用） ---------------- */
.page-head { background: var(--ink); color: #fff; padding: clamp(46px, 6vw, 78px) 0 clamp(38px, 5vw, 60px); }
.page-head .eyebrow {
  font-size: var(--f-xs); letter-spacing: .18em; font-weight: 700;
  color: var(--clay-light); text-transform: uppercase; margin-bottom: 14px;
  display: flex; align-items: center; gap: 11px;
}
.page-head .eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--clay-light); }
.page-head h1 {
  font-family: var(--font-serif); font-size: var(--f-h1);
  color: #fff; margin-bottom: 16px; letter-spacing: .015em;
}
.page-head .sub { font-size: var(--f-lead); color: rgba(255,255,255,.86); max-width: 42em; margin: 0; line-height: 1.9; }
.page-meta { font-size: var(--f-xs); color: rgba(255,255,255,.66); margin-top: 18px; }

.crumb { font-size: var(--f-xs); color: var(--text-3); padding: 18px 0; }
.crumb a { color: var(--text-3); }
.crumb a:hover { color: var(--clay); }
.crumb span { margin: 0 8px; color: var(--line); }

.definition {
  background: var(--paper); border-left: 3px solid var(--ink-light);
  padding: 22px 26px; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: var(--f-sm); line-height: 1.9; color: var(--text-2);
}
.definition strong { color: var(--ink); }

.notice { padding: 18px 22px; border-radius: var(--radius); font-size: var(--f-sm); line-height: 1.85; margin: 22px 0; }
.notice strong { font-weight: 700; }
.notice-info { background: #E9EFEC; border-left: 4px solid var(--lake); color: #1E4034; }
.notice-info strong { color: #14342A; }
.notice-warn { background: #FBF3E8; border-left: 4px solid var(--clay); color: #6B3F27; }
.notice-warn strong { color: #5A3220; }
.notice-ok { background: #E4F0E9; border-left: 4px solid #3E8567; color: #194B36; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.card {
  background: var(--paper); border: 1px solid var(--line-2);
  border-radius: var(--radius); padding: 26px 24px;
}
.card h3 { font-size: 19.5px; margin-bottom: 10px; }
.card p { font-size: var(--f-sm); color: var(--text-2); line-height: 1.9; }
.card-plain { background: var(--sand); }

.list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.list-item {
  display: block; background: var(--paper); border: 1px solid var(--line-2);
  border-radius: var(--radius); padding: 26px 24px; transition: .22s; color: inherit;
}
.list-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--line); color: inherit; }
.li-eyebrow { font-size: var(--f-xs); color: var(--text-3); display: block; margin-bottom: 10px; }
.list-item h3 { font-size: 20px; margin-bottom: 9px; }
.list-item p { font-size: var(--f-sm); color: var(--text-2); line-height: 1.85; margin-bottom: 12px; }
.li-more { font-size: var(--f-sm); font-weight: 600; color: var(--ink-light); }

/* 表格 */
.price-wrap { overflow-x: auto; margin: 20px 0; -webkit-overflow-scrolling: touch; }
.price-table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; font-size: var(--f-sm); min-width: 560px; }
.price-table th, .price-table td { padding: 15px 16px; text-align: right; border-bottom: 1px solid var(--line-2); }
.price-table th { background: var(--ink); color: #fff; font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.price-table th:first-child, .price-table td:first-child { text-align: left; }
.price-table .hl { background: var(--ink-mid); }
.price-table .th-sub { display: block; font-size: 12px; font-weight: 400; color: rgba(255,255,255,.72); margin-top: 3px; }
.price-table tbody tr:hover { background: var(--sand); }
.price-table .deal { color: var(--clay-deep); font-weight: 700; }
.price-table .avg small { display: block; font-size: 12px; color: var(--text-3); font-weight: 400; }
.price-note { font-size: var(--f-xs); color: var(--text-3); margin-top: 12px; }

/* 价目表分组标题（包餐 A / 不包餐 B） */
.price-sub { font-size: 1.16rem; margin: 26px 0 6px; padding-left: 14px; border-left: 3px solid var(--clay); }
.price-subnote { font-size: 14.5px; color: var(--text-2); margin: 0 0 4px; line-height: 1.8; padding-left: 17px; }

/* 房型面积徽标 */
.room-area { display: inline-block; min-width: 52px; margin-right: 10px; padding: 2px 9px;
  border-radius: 999px; background: var(--sand); color: var(--clay-deep);
  font-size: 13px; font-weight: 700; text-align: center; letter-spacing: .2px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item h3 { font-size: 18.5px; margin-bottom: 10px; }
.faq-item p { color: var(--text-2); font-size: var(--f-sm); line-height: 1.9; margin: 0; }

/* 表单 */
.form-wrap { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: var(--f-sm); font-weight: 600; color: var(--ink); margin-bottom: 9px; }
.field .req { color: var(--clay); margin-left: 4px; }
.field .hint { font-weight: 400; color: var(--text-3); font-size: var(--f-xs); margin-left: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font-size: var(--f-body); font-family: inherit;
  color: var(--text); background: var(--sand); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); min-height: 50px; transition: .2s;
}
.field textarea { min-height: 116px; resize: vertical; line-height: 1.8; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink-light); background: var(--paper);
  box-shadow: 0 0 0 3px rgba(44,99,80,.13);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3402A; background: #FDF6F4; }
.field-err { display: block; font-size: var(--f-xs); color: #A83A24; margin-top: 6px; min-height: 0; }
.form-actions { margin-top: 28px; }
.form-actions .btn { width: 100%; }

.form-status { display: none; margin-top: 22px; padding: 18px 22px; border-radius: var(--radius); font-size: var(--f-sm); line-height: 1.85; }
.form-status.show { display: block; }
.form-status.preview { background: #FBF3E8; border-left: 4px solid var(--clay); color: #6B3F27; }
.form-status.err { background: #FDF1EE; border-left: 4px solid #B3402A; color: #8A2E1C; }
.form-status.ok { background: #E4F0E9; border-left: 4px solid #3E8567; color: #194B36; }

.preview-banner { background: #FBF3E8; border: 1.5px solid var(--clay-light); border-radius: var(--radius); padding: 18px 22px; font-size: var(--f-sm); line-height: 1.85; color: #6B3F27; margin-bottom: 24px; }

.privacy { background: var(--sand-2); border-radius: var(--radius); padding: 22px 24px; margin-top: 22px; font-size: var(--f-sm); color: var(--text-2); line-height: 1.85; }
.privacy h3 { font-size: 16px; margin-bottom: 10px; }
.privacy p:last-child { margin-bottom: 0; }

.fact-row { display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: var(--f-sm); }
.fact-row:last-child { border-bottom: none; }
.fact-row .fk { color: var(--text-3); flex: none; width: 5.6em; }
.fact-row .fv { color: var(--text); }

/* 文章 */
.article-wrap { max-width: var(--maxw-narrow); margin: 0 auto; padding: 0 var(--gut); }
.article h2 { font-family: var(--font-serif); font-size: clamp(1.4rem, 2.3vw, 1.85rem); margin: 34px 0 14px; }
.article h3 { font-size: 1.2rem; margin: 26px 0 11px; }
.article p { line-height: 2; color: var(--text-2); margin-bottom: 1.1em; }
.article strong { color: var(--ink); }
.article blockquote { border-left: 3px solid var(--clay); margin: 22px 0; padding: 4px 0 4px 22px; font-family: var(--font-serif); font-size: 1.1rem; color: var(--ink); line-height: 1.8; }
.article .md-ul, .article .md-ol { color: var(--text-2); line-height: 2; padding-left: 1.4em; }
.article .md-ul li, .article .md-ol li { margin-bottom: 8px; }
/* Markdown 表格（v1.2.5 新增）：一行一个事实，读者一眼看懂，AI 也最容易整块取走 */
.article .md-table-wrap { margin: 24px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.article .md-table { border-collapse: collapse; width: 100%; min-width: 300px; font-size: var(--f-sm); }
.article .md-table th, .article .md-table td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; line-height: 1.75; vertical-align: top; }
/* 表头不折行：手机上窄列曾把「住多久」断成「住多 / 久」，很难看。
   现在表头比较短（3–4 字），靠 nowrap 撑出列宽，正文单元格仍可换行。 */
.article .md-table thead th { background: var(--ink); color: #fff; font-weight: 600; white-space: nowrap; }
.article .md-table tbody tr:nth-child(even) { background: var(--sand); }
.article .md-table td { color: var(--text-2); }
.article .md-table strong { color: var(--ink); }
@media (max-width: 640px) {
  .article .md-table th, .article .md-table td { padding: 9px 11px; }
}
.article-meta { font-size: var(--f-xs); color: var(--text-3); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 34px; line-height: 1.85; }
.article-foot { background: var(--sand-2); border-radius: var(--radius); padding: 26px; margin: 30px 0; }
.article-foot h3 { font-size: 18px; margin-bottom: 10px; }
.article-foot p { font-size: var(--f-sm); color: var(--text-2); margin-bottom: 16px; }

/* 图库 */
.stay-hero { display: grid; grid-template-columns: 1.35fr .95fr; gap: 28px; align-items: start; }
.stay-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.g-item { margin: 0; }
/* 图库图片：早期选择器写的是 .g-item img，但实际输出的是裸 <img>，
   规则从未命中，导致照片是直角、也没有「可点开大图」的光标提示。
   这里把真实标记补上，比例用 3/2（与实拍原图 1400×933 一致，不裁切）。 */
.stay-gallery img, .g-item img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--radius); cursor: zoom-in;
  background: var(--sand);
}
.stay-gallery img:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(8,24,18,.16); }
.stay-gallery img { transition: transform .28s, box-shadow .28s; }
.g-item figcaption { font-size: 12.5px; color: var(--text-3); margin-top: 7px; line-height: 1.6; }
.stay-facts { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 26px; }

/* 灯箱 */
.lightbox {
  position: fixed; inset: 0; z-index: 900; background: rgba(8,18,14,.94);
  display: none; align-items: center; justify-content: center; padding: 5vw;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-close {
  position: absolute; top: 20px; right: 24px; width: 48px; height: 48px;
  background: rgba(255,255,255,.14); border: none; color: #fff;
  font-size: 30px; line-height: 1; border-radius: 50%; cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,.26); }

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--ink-deep); color: rgba(255,255,255,.72); padding: clamp(44px, 6vw, 68px) 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: clamp(26px, 4vw, 52px); }
.f-cn { font-family: var(--font-serif); font-size: 21px; color: #fff; font-weight: 700; letter-spacing: .06em; }
.f-en { font-size: 10.5px; letter-spacing: .2em; color: rgba(255,255,255,.5); text-transform: uppercase; margin: 5px 0 16px; }
.f-desc { font-size: var(--f-sm); color: rgba(255,255,255,.7); margin-bottom: 7px; line-height: 1.8; }
.site-footer h3 { font-size: 15.5px; color: #fff; margin-bottom: 16px; letter-spacing: .04em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { font-size: var(--f-sm); margin-bottom: 11px; line-height: 1.75; }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: #F0C9A8; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 40px; padding-top: 22px; font-size: var(--f-xs); color: rgba(255,255,255,.55);
}
.footer-bottom p { margin: 0; }
/* 备案号（ICP 备案通过后才出现）：单独占一行，弱化但必须可点回工信部。
   flex-basis:100% 是关键 —— 否则它会和版权、更新时间挤在同一行。 */
.footer-bottom .f-icp { flex-basis: 100%; }
.footer-bottom .f-icp a { color: rgba(255,255,255,.6); text-decoration: none; }
.footer-bottom .f-icp a:hover { color: #F0C9A8; text-decoration: underline; }

/* 浮动的联系按钮 */
.float-cta {
  position: fixed; right: 22px; bottom: 22px; z-index: 300;
  display: flex; flex-direction: column; align-items: center;
  background: var(--clay); color: #fff !important;
  padding: 13px 22px; border-radius: 100px;
  box-shadow: 0 8px 28px rgba(138,74,51,.4); transition: .22s;
  font-size: 15px; font-weight: 600; line-height: 1.4; text-align: center;
}
.float-cta:hover { background: var(--clay-deep); color: #fff !important; transform: translateY(-2px); }
.float-cta-sub { font-size: 11.5px; font-weight: 400; opacity: .9; letter-spacing: .03em; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  :root { --maxw: 100%; }
  .live-grid, .host-grid, .art-band, .contact-band { grid-template-columns: 1fr; gap: 34px; }
  .stay-feature-top { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* 叠图在窄屏会跑位：取消绝对定位，改为并排的两张图 */
  .live-media { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: stretch; }
  .live-media img { aspect-ratio: auto; height: 100%; min-height: 220px; }
  .live-media .media-inset { position: static; width: auto; aspect-ratio: auto; border: none; border-radius: var(--radius-lg); box-shadow: none; }
}

@media (max-width: 860px) {
  .stay-hero { grid-template-columns: 1fr; }
  .list-grid, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .price-table { min-width: 460px; }
}

/* 小屏（手机）：价格表必须一屏放得下，不允许横向滑动。
   做法：取消 min-width，收紧内边距，并隐藏单元格里重复的「元/人/天」小字
   —— 表头的 .th-sub 已经写明单位了。
   为什么值得改：这是最主要的转化页（住处详情）上最贵的两张表，
   此前在 390px 手机上要横滑 170px，50–75 岁的读者很容易漏看「礼遇价」那一列。 */
@media (max-width: 480px) {
  .price-table { min-width: 0; font-size: 13.5px; }
  .price-table th, .price-table td { padding: 11px 8px; }
  .price-table th { font-size: 13px; }
  .price-table .th-sub { font-size: 10.5px; margin-top: 2px; }
  .price-table .avg small { display: none; }
}

@media (max-width: 768px) {
  :root { --gut: 20px; --f-body: 16.5px; }

  /* 移动导航：全屏遮罩式（v1.0 的菜单在实际手机上被截断，这里重做） */
  .nav-toggle { display: block; position: relative; z-index: 2; }
  /* 关键：菜单是 position:fixed 的子元素。给 header 加 contain:paint
     让浏览器把 header 当成独立的绘制容器，抽屉移出视口的溢出不会计入
     document/body 的 scrollWidth（否则手机上会出现横向滚动条）。 */
  .site-header { contain: paint; }
  html.nav-open .site-header { contain: none; }
  .site-nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(82vw, 340px);
    background: var(--ink-deep); color: #fff;
    flex-direction: column; align-items: stretch; justify-content: center;
    gap: 6px; padding: 0 30px;
    transform: translateX(101%);
    visibility: hidden;
    transition: transform .38s cubic-bezier(.2,.7,.3,1), visibility .38s;
    z-index: 1; margin: 0; height: 100vh; height: 100dvh;
    box-shadow: -18px 0 54px rgba(0,0,0,.34);
    overflow-y: auto;
  }
  .site-nav.open { transform: translateX(0); visibility: visible; }
  .site-nav a {
    color: rgba(255,255,255,.92); font-size: 18px;
    padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.11);
  }
  .site-nav a::after { display: none; }
  .site-nav a.active { color: var(--clay-light); }
  .site-nav .nav-cta {
    margin-top: 24px; border-bottom: none; width: 100%;
    justify-content: center; background: var(--clay);
    color: #fff !important; padding: 15px 20px !important; font-size: 16.5px !important;
  }
  .site-nav .nav-cta:hover { background: var(--clay-deep); }
  .nav-scrim { display: block; }

  /* 首屏：手机上第一屏必须能同时看到品牌、刘老师身份、核心服务和"完整可点的主按钮"。
     所以不再用 vh 大留白把文字压到屏幕下方，改为内容自己撑高、垂直居中。 */
  .hero { min-height: auto; align-items: stretch; }
  .hero-inner {
    padding-top: 32px; padding-bottom: 38px;
    min-height: min(74svh, 648px);
    display: flex; flex-direction: column; justify-content: center;
  }
  /* 手机上文字集中在画面上部偏中，渐变改为自上而下加深。
     文字压在照片上，实际可读性要看照片最亮处的亮度，不能只按 CSS 背景色算。 */
  .hero-bg::after {
    background: linear-gradient(to bottom,
      rgba(8,24,18,.92) 0%,
      rgba(8,24,18,.86) 44%,
      rgba(8,24,18,.60) 76%,
      rgba(8,24,18,.30) 100%);
  }
  /* 手机上换用竖版裁切图（首屏专用），不再把横图硬塞进竖屏 */
  .hero-bg-d { display: none; }
  .hero-bg-m { display: block; object-position: center center; }
  .hero h1 { font-size: clamp(2.05rem, 8.8vw, 2.5rem); line-height: 1.24; margin-bottom: 14px; }
  .hero-lead { font-size: 1.02rem; line-height: 1.82; margin-bottom: 18px; }
  .hero-points { gap: 7px 16px; margin-bottom: 20px; }
  .hero-points li { font-size: 14px; }
  /* 两个按钮并排，主按钮完整落在首屏内 */
  .hero-actions { flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero-contact { font-size: 14px; margin-top: 20px; padding: 16px 18px;
    background: rgba(8,24,18,.8); border-radius: 14px; border-top: none; }

  .band { padding: 46px 0; }
  .band-head { margin-bottom: 28px; }
  .live-media { grid-template-columns: 1fr; }
  .live-media .media-inset { display: none; }
  .live-list li { grid-template-columns: 1fr; gap: 6px; }

  /* 笔记条目：手机上改为纵向，图在上 */
  .note { grid-template-columns: 1fr; gap: 18px; padding: 30px 0; }
  .note-photo { max-width: none; }
  .note-photo img { aspect-ratio: 16/10; }
  .note-photo.side { grid-column: auto; }
  .note-photo.side img { aspect-ratio: 16/9; }

  .host-portrait img, .host-portrait .portrait-pending { aspect-ratio: 4/5; }
  .sf-actions .btn { width: 100%; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  /* 浮动按钮：手机上首屏信息密度高，若一直悬浮会压住正文与要点。
     改为只在首屏滚过去之后出现（JS 加 .show），并把字号收小、不再叠两行。 */
  .float-cta { right: 14px; bottom: 14px; padding: 12px 18px; font-size: 14px;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .28s, transform .28s, visibility .28s, background .22s; }
  .float-cta.show { opacity: 1; visibility: visible; transform: translateY(0); }
  .float-cta.show:hover { transform: translateY(-2px); }
  .float-cta-sub { font-size: 11px; }
  .stay-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .next-strip { flex-direction: column; align-items: flex-start; }
  .next-strip .btn { width: 100%; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 1.92rem; }
  .hero-lead { font-size: .99rem; }
  .hero-inner { padding-top: 26px; padding-bottom: 32px; }
}

/* 打印 */
@media print {
  .site-header, .float-cta, .nav-scrim, .site-footer .f-col:not(.f-brand) { display: none; }
  body { background: #fff; }
  .band { padding: 20px 0; }
}
