/* ==========================================================================
   大野在田 · 官网样式
   设计依据：项目 DESIGN.md（大地色系 / 手绘质感 / 无霓虹色 / 无蓝色主色）
   字体策略：只用系统字体栈，零外部字体依赖（规避 Google Fonts 国内不稳定）
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 品牌色（来自 DESIGN.md 配色方案） */
  --earth: #8b6914;        /* 主色 大地棕 */
  --earth-deep: #6d5310;
  --grass: #5b8c3e;        /* 辅色 青草绿 */
  --grass-deep: #4a7a30;
  --clay: #c67b30;         /* 强调 陶土橙 */
  --clay-deep: #a8631e;
  --danger: #a63b2c;

  --paper: #fdf8f0;        /* 背景 米白 */
  --paper-2: #f6efe2;      /* 次级背景 */
  --paper-3: #efe6d6;
  --card: #ffffff;
  --line: #e8dcc8;         /* 边框 */
  --line-strong: #d9c9ab;

  --ink: #3b2f1e;          /* 深色文字（暖棕，不用纯黑） */
  --ink-2: #5c4d38;
  --ink-soft: #8b7355;     /* 辅助文字 */
  --ink-onDark: #fdf8f0;
  --ink-onDark-soft: rgba(253, 248, 240, 0.72);

  /* 8pt 间距系统 */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-32: 128px;

  /* 圆角（DESIGN.md：最小 8px，卡片 12-16px，禁止尖锐直角） */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* 阴影（克制，最多两层，模糊不超过 48px） */
  --sh-1: 0 1px 2px rgba(59, 47, 30, 0.05), 0 4px 14px rgba(59, 47, 30, 0.06);
  --sh-2: 0 2px 4px rgba(59, 47, 30, 0.06), 0 14px 36px rgba(59, 47, 30, 0.1);
  --sh-earth: 0 4px 14px rgba(139, 105, 20, 0.22);

  /* 字体：系统栈，中文优先苹方/思源，衬线用宋体系 */
  --font-serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong",
    "SimSun", Georgia, "Times New Roman", serif;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Source Han Sans SC", "Noto Sans SC", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;

  /* 排版尺度（clamp 流式，避免断点堆叠） */
  --t-display: clamp(38px, 7.2vw, 76px);
  --t-h1: clamp(30px, 4.6vw, 46px);
  --t-h2: clamp(25px, 3.4vw, 36px);
  --t-h3: clamp(18px, 2vw, 22px);
  --t-lead: clamp(15px, 1.5vw, 18px);
  --t-body: 16px;
  --t-small: 14px;
  --t-label: 12px;

  /* 动效（DESIGN.md：缓慢柔和，ease-out，避免弹性动画） */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 150ms;
  --dur: 300ms;
  --dur-slow: 500ms;

  --wrap: 1200px;
  --wrap-narrow: 900px;
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* 锚点跳转时给固定导航留出空间 */
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--t-body);
  line-height: 1.75;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  margin: 0;
  color: var(--ink);
}

p {
  margin: 0;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 焦点可见性（无障碍强制） */
:focus-visible {
  outline: 2px solid var(--grass);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* 跳转到主内容（键盘用户） */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--earth);
  color: #fff;
  padding: var(--sp-3) var(--sp-5);
  border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus {
  left: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- 3. 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
.wrap--narrow {
  max-width: var(--wrap-narrow);
}

.section {
  padding: var(--sp-24) 0;
  position: relative;
}
.section--tight {
  padding: var(--sp-16) 0;
}
.section--paper2 {
  background: var(--paper-2);
}
.section--dark {
  background: #2f2618;
  color: var(--ink-onDark);
}
.section--dark h2,
.section--dark h3 {
  color: var(--ink-onDark);
}

/* 区块标题装饰线 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--t-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 600;
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.section--dark .eyebrow {
  color: #e0a85e;
}

.section-head {
  max-width: 680px;
  margin-bottom: var(--sp-12);
}
.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head h2 {
  font-size: var(--t-h2);
  margin-bottom: var(--sp-4);
}
.section-head p {
  color: var(--ink-soft);
  font-size: var(--t-lead);
  line-height: 1.8;
}
.section--dark .section-head p {
  color: var(--ink-onDark-soft);
}

/* ---------- 4. 导航 ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    padding var(--dur) var(--ease);
  padding: var(--sp-3) 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: #fff;
  flex-shrink: 0;
}
.nav__mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.nav__name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.nav__name b {
  font-family: var(--font-serif);
  font-size: 19px;
  letter-spacing: 0.14em;
  font-weight: 700;
}
.nav__name span {
  font-size: 9px;
  letter-spacing: 0.28em;
  opacity: 0.7;
  text-transform: uppercase;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}
.nav__link {
  font-size: var(--t-small);
  color: rgba(255, 255, 255, 0.9);
  padding: var(--sp-2) 0;
  position: relative;
  transition: color var(--dur-fast) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--dur) var(--ease);
}
.nav__link:hover::after {
  width: 100%;
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--earth);
  color: #fff;
  border-radius: var(--r-pill);
  padding: var(--sp-3) var(--sp-6);
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.nav__cta:hover {
  background: var(--earth-deep);
  transform: translateY(-1px);
}

/* 桌面：抽屉菜单内的按钮不显示，只保留导航条右侧那一个 */
.nav__menu .nav__cta {
  display: none;
}

/* 滚动后：白底导航 */
.nav.is-solid {
  background: rgba(253, 248, 240, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(59, 47, 30, 0.06);
  padding: var(--sp-2) 0;
}
.nav.is-solid .nav__brand,
.nav.is-solid .nav__link {
  color: var(--ink);
}
.nav.is-solid .nav__name span {
  opacity: 0.55;
}
.nav.is-solid .nav__mark .mark-bg {
  fill: var(--earth);
}
.nav.is-solid .mark-leaf {
  stroke: #fff;
}

/* 汉堡按钮 */
.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  color: #fff;
}
.nav.is-solid .nav__burger {
  color: var(--ink);
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: background var(--dur-fast) var(--ease);
}
.nav__burger span::before,
.nav__burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur) var(--ease);
}
.nav__burger span::before {
  top: -7px;
}
.nav__burger span::after {
  top: 7px;
}
.nav__burger[aria-expanded="true"] span {
  background: transparent;
}
.nav__burger[aria-expanded="true"] span::before {
  transform: translateY(7px) rotate(45deg);
}
.nav__burger[aria-expanded="true"] span::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  min-height: 92dvh;
  display: flex;
  align-items: flex-end;
  padding: var(--sp-32) 0 var(--sp-20);
  overflow: hidden;
  background: #2f2618;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  /* 缓慢放大，像风过麦田 */
  animation: heroZoom 22s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    /* 顶部压深，保证透明导航栏上的白色品牌字与菜单清晰可读 */
    linear-gradient(to bottom, rgba(31, 24, 12, 0.62) 0%, rgba(31, 24, 12, 0.14) 17%, rgba(31, 24, 12, 0) 32%),
    linear-gradient(to top, rgba(31, 24, 12, 0.92) 0%, rgba(31, 24, 12, 0.44) 46%, rgba(31, 24, 12, 0.28) 100%),
    linear-gradient(to right, rgba(31, 24, 12, 0.6) 0%, rgba(31, 24, 12, 0.04) 62%);
}
.hero__inner {
  position: relative;
  width: 100%;
}
.hero__tag {
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #e0a85e;
  font-weight: 600;
  margin-bottom: var(--sp-5);
}
.hero h1 {
  font-size: var(--t-display);
  color: #fff;
  line-height: 1.16;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-5);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}
.hero__desc {
  font-size: var(--t-lead);
  color: rgba(255, 255, 255, 0.88);
  max-width: 30em;
  margin-bottom: var(--sp-8);
  line-height: 1.85;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-12);
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hero__fact b {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 30px);
  color: #fff;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.hero__fact span {
  font-size: var(--t-label);
  color: rgba(255, 255, 255, 0.66);
  letter-spacing: 0.12em;
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: 0 var(--sp-8);
  border-radius: var(--r-pill);
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: all var(--dur-fast) var(--ease);
  white-space: nowrap;
  text-align: center;
}
.btn--primary {
  background: var(--earth);
  color: #fff;
  box-shadow: var(--sh-earth);
}
.btn--primary:hover {
  background: var(--earth-deep);
  transform: translateY(-1px);
}
.btn--light {
  background: #fff;
  color: var(--ink);
}
.btn--light:hover {
  background: var(--paper-2);
  transform: translateY(-1px);
}
.btn--ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.btn--outline {
  border: 1.5px solid var(--earth);
  color: var(--earth);
}
.btn--outline:hover {
  background: var(--earth);
  color: #fff;
}
.btn--sm {
  min-height: 40px;
  padding: 0 var(--sp-5);
  font-size: var(--t-label);
}
.btn:active {
  transform: translateY(0) scale(0.98);
}

/* 文字箭头链接 */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--earth);
  transition: gap var(--dur-fast) var(--ease);
}
.link-arrow:hover {
  gap: var(--sp-3);
}
.link-arrow svg {
  width: 15px;
  height: 15px;
}

/* ---------- 7. 农场故事 ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: var(--sp-16);
  align-items: center;
}
.story__text h2 {
  font-size: var(--t-h2);
  margin-bottom: var(--sp-5);
}
.story__text p {
  color: var(--ink-2);
  font-size: var(--t-lead);
  line-height: 1.95;
  margin-bottom: var(--sp-4);
}
.story__quote {
  margin-top: var(--sp-8);
  padding-left: var(--sp-6);
  border-left: 2px solid var(--line-strong);
  font-family: var(--font-serif);
  color: var(--ink-soft);
  font-size: var(--t-small);
  line-height: 2;
}
.story__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-2);
  aspect-ratio: 4 / 3;
}
.story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story__badge {
  position: absolute;
  left: var(--sp-5);
  bottom: var(--sp-5);
  background: rgba(253, 248, 240, 0.94);
  backdrop-filter: blur(8px);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--t-label);
  letter-spacing: 0.1em;
  color: var(--earth-deep);
  font-weight: 600;
}

/* ---------- 8. 基地卡片 ---------- */
.bases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-16);
}
.base {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-8) var(--sp-6);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.base:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-2);
  border-color: var(--line-strong);
}
.base__no {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--clay);
  font-weight: 700;
}
.base h3 {
  font-size: var(--t-h3);
  margin: var(--sp-3) 0 var(--sp-4);
}
.base dl {
  margin: 0;
  display: grid;
  gap: var(--sp-3);
}
.base dt {
  font-size: var(--t-label);
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}
.base dd {
  margin: 0;
  font-size: var(--t-small);
  color: var(--ink-2);
  line-height: 1.7;
}

/* ---------- 9. 业态网格 ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.pillar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-8) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
}
.pillar__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--paper-2);
}
.pillar__icon svg {
  width: 26px;
  height: 26px;
}
.pillar h3 {
  font-size: var(--t-h3);
}
.pillar p {
  font-size: var(--t-small);
  color: var(--ink-soft);
  line-height: 1.85;
  flex: 1;
}

/* ---------- 10. 业务卡片（菜地 / 场地 / 活动） ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
}
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-3);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.card:hover .card__media img {
  transform: scale(1.045);
}
.card__tag {
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-3);
  background: rgba(253, 248, 240, 0.94);
  backdrop-filter: blur(6px);
  color: var(--grass-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-sm);
}
.card__tag--hot {
  color: var(--clay-deep);
}
.card__body {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  flex: 1;
}
.card__body h3 {
  font-size: 17px;
  line-height: 1.45;
}
.card__meta {
  font-size: 12.5px;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1) var(--sp-3);
  line-height: 1.6;
}
.card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.card__meta svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.7;
}
.card__desc {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.price {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--clay-deep);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.price small {
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-soft);
  font-family: var(--font-sans);
  margin-left: 2px;
}
.price--free {
  font-size: 17px;
  color: var(--grass-deep);
}

/* 方案价格条（菜地认领） */
.plans {
  margin-top: var(--sp-10);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-8);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: var(--sp-5);
  border-left: 2px solid var(--line);
}
.plan:first-child {
  border-left: none;
  padding-left: 0;
}
.plan b {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.06em;
}
.plan i {
  font-style: normal;
  font-size: 11.5px;
  color: var(--ink-soft);
}
.plan span {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--clay-deep);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin-top: var(--sp-2);
}

/* 骨架屏（数据加载中） */
.skeleton {
  background: linear-gradient(100deg, var(--paper-3) 30%, var(--paper-2) 50%, var(--paper-3) 70%);
  background-size: 220% 100%;
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer {
  from { background-position: 120% 0; }
  to { background-position: -20% 0; }
}

/* ---------- 11. 会员计划 ---------- */
.members {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.member {
  background: rgba(253, 248, 240, 0.06);
  border: 1px solid rgba(253, 248, 240, 0.16);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
    background var(--dur) var(--ease);
}
.member:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 168, 94, 0.5);
  background: rgba(253, 248, 240, 0.1);
}
.member__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #241d11;
}
.member__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: transform var(--dur-slow) var(--ease);
}
.member:hover .member__media img {
  transform: scale(1.04);
}
.member__body {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  flex: 1;
}
.member__no {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: #e0a85e;
  font-weight: 700;
}
.member h3 {
  font-size: 21px;
  color: var(--ink-onDark);
  letter-spacing: 0.08em;
}
.member p {
  font-size: var(--t-small);
  color: var(--ink-onDark-soft);
  line-height: 1.85;
  flex: 1;
}
.member .btn {
  align-self: flex-start;
  margin-top: var(--sp-2);
}
.member .btn--light {
  background: transparent;
  border: 1.5px solid rgba(253, 248, 240, 0.42);
  color: var(--ink-onDark);
}
.member .btn--light:hover {
  background: rgba(253, 248, 240, 0.14);
  border-color: #e0a85e;
  color: #e0a85e;
}

/* 会员欢迎信 */
.welcome {
  margin-top: var(--sp-16);
  padding-top: var(--sp-12);
  border-top: 1px solid rgba(253, 248, 240, 0.16);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--sp-12);
  align-items: start;
}
.welcome h3 {
  font-size: var(--t-h2);
  margin-bottom: var(--sp-4);
}
.welcome__letter {
  font-size: var(--t-lead);
  color: var(--ink-onDark-soft);
  line-height: 2.1;
  white-space: pre-line;
}
.welcome__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.welcome__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 12. 到访我们 ---------- */
.visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: start;
}
.visit__list {
  display: grid;
  gap: var(--sp-4);
}
.visit__item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--sp-5) var(--sp-6);
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}
.visit__icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--paper-2);
  color: var(--earth);
}
.visit__icon svg {
  width: 19px;
  height: 19px;
}
.visit__item b {
  display: block;
  font-size: var(--t-small);
  margin-bottom: 2px;
  letter-spacing: 0.04em;
}
.visit__item span {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.7;
  word-break: break-word;
}
.visit__item a:hover {
  color: var(--earth);
  text-decoration: underline;
}

.visit__panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
}
.visit__panel h3 {
  font-size: var(--t-h3);
  margin-bottom: var(--sp-4);
}
.visit__tips {
  display: grid;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}
.visit__tips li {
  display: flex;
  gap: var(--sp-3);
  font-size: var(--t-small);
  color: var(--ink-2);
  line-height: 1.8;
}
.visit__tips li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grass);
  flex-shrink: 0;
  margin-top: 10px;
}

/* ---------- 13. 页脚 ---------- */
.footer {
  background: #2f2618;
  color: var(--ink-onDark-soft);
  padding: var(--sp-20) 0 var(--sp-8);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--sp-10);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(253, 248, 240, 0.14);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--ink-onDark);
  margin-bottom: var(--sp-5);
}
.footer__brand b {
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 0.14em;
}
.footer__intro {
  font-size: 13.5px;
  line-height: 1.9;
  max-width: 30em;
}
.footer h4 {
  color: var(--ink-onDark);
  font-size: var(--t-small);
  letter-spacing: 0.16em;
  margin-bottom: var(--sp-5);
  font-family: var(--font-sans);
  font-weight: 600;
}
.footer li {
  margin-bottom: var(--sp-3);
  font-size: 13.5px;
}
.footer li a:hover {
  color: #e0a85e;
}
.footer__bottom {
  padding-top: var(--sp-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-6);
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(253, 248, 240, 0.5);
}
.footer__bottom a:hover {
  color: #e0a85e;
}

/* ---------- 14. 淡入动效 ----------
   【故障复盘 2026-09-23】这里原本是 `.reveal { opacity: 0 }`。
   一旦脚本出错，「淡入」代码没跑到，内容就会永远停在 opacity:0 —— 整块板块变空白。
   现在把「隐藏态」收进 html.js 之下：
     · 脚本可用（<head> 里立刻打上 .js）→ 保留淡入动效
     · 脚本被禁用 / 加载失败 / 提前抛错 → 内容默认可见，最坏情况只是没有动画
   同类问题（脚本挂掉导致内容不可见）从此不再可能。 */
.reveal {
  opacity: 1;
  transform: none;
}
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 15. 响应式 ---------- */

/* 平板横向 & 小笔记本 */
@media (max-width: 1080px) {
  .pillars,
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .members {
    grid-template-columns: repeat(2, 1fr);
  }
  .bases {
    grid-template-columns: 1fr;
  }
  .plans {
    grid-template-columns: repeat(2, 1fr);
    row-gap: var(--sp-6);
  }
  .plan:nth-child(3) {
    border-left: none;
    padding-left: 0;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .story {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }
  .story__media {
    order: -1;
  }
  .visit {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
  .welcome {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
}

/* 手机 & 平板竖屏：切换为抽屉菜单 */
@media (max-width: 860px) {
  :root {
    --sp-24: 64px;
    --sp-32: 72px;
    --sp-20: 56px;
  }
  html {
    scroll-padding-top: 72px;
  }
  .wrap {
    padding: 0 var(--sp-5);
  }
  .nav__burger {
    display: flex;
  }
  .nav__menu {
    position: fixed;
    /* 整屏覆盖，避免面板与页面内容在中间割裂 */
    inset: 0;
    padding: 88px var(--sp-6) var(--sp-8);
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transform: translateY(-102%);
    transition: transform var(--dur) var(--ease);
    box-shadow: var(--sh-2);
    overflow-y: auto;
  }
  .nav__menu.is-open {
    transform: translateY(0);
  }
  .nav__link {
    color: var(--ink);
    padding: var(--sp-4) 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .nav__link::after {
    display: none;
  }
  .nav__menu .nav__cta {
    display: inline-flex;
    margin-top: var(--sp-6);
    justify-content: center;
    min-height: 48px;
    font-size: 15px;
  }
  /* 菜单打开时导航条保持白底，避免与抽屉冲突 */
  .nav.is-open {
    background: var(--paper);
  }
  .nav.is-open .nav__brand,
  .nav.is-open .nav__burger {
    color: var(--ink);
  }
  .nav.is-open .nav__name span {
    opacity: 0.55;
  }
  .nav__cta--desktop {
    display: none;
  }

  .hero {
    min-height: 88dvh;
    padding: var(--sp-24) 0 var(--sp-12);
  }
  .hero__actions {
    margin-bottom: var(--sp-8);
  }
  .hero__actions .btn {
    width: 100%;
  }
  .hero__facts {
    gap: var(--sp-6);
  }
  .hero__bg {
    object-position: center 38%;
  }

  .cards,
  .pillars,
  .members,
  .plans,
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .plan {
    border-left: none;
    padding-left: 0;
    padding-bottom: var(--sp-4);
    border-bottom: 1px solid var(--line);
  }
  .plan:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .welcome__media {
    aspect-ratio: 4 / 3;
  }
  .footer__bottom {
    flex-direction: column;
    gap: var(--sp-2);
  }
}

@media (max-width: 420px) {
  .nav__name b {
    font-size: 17px;
  }
  .hero__facts {
    gap: var(--sp-5);
  }
  .section-head {
    margin-bottom: var(--sp-8);
  }
}

/* ---------- 16. 无障碍：尊重系统「减少动态效果」 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  /* 注意：选择器要与第 14 节同样带 html.js 前缀，否则特异性不足、压不住隐藏态 */
  html.js .reveal {
    opacity: 1;
    transform: none;
  }
  .hero__bg {
    animation: none;
  }
}

/* ---------- 17. 打印 ---------- */
@media print {
  .nav,
  .hero__scrim,
  .skip-link {
    display: none;
  }
  body {
    background: #fff;
  }
}
