/* 什湖官网 · 前台样式
   视觉基调：全幅影像 + 超大宋体标题 + 米白纸感 + 墨绿与稻金。
   版式语言参考粮油食品品牌官网：一屏一个主张，影像承担情绪，文字只留结论。 */

/* 自托管开源字体（SIL OFL 1.1，可商用）：霞鹜文楷（LXGW WenKai）。
   按本站用字子集化；400 用 Regular，700 用官方 Bold 字形（不依赖浏览器假粗）。
   许可证见 /static/fonts/OFL-WenKai.txt。 */
@font-face {
  font-family: "LXGW WenKai Web";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("/static/fonts/wenkai400.woff2") format("woff2");
}
@font-face {
  font-family: "LXGW WenKai Web";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("/static/fonts/wenkai700.woff2") format("woff2");
}

:root {
  --paper: #F8F4EA;
  --paper-2: #F1EADA;
  --paper-3: #E7DDC8;
  --ink: #14120E;
  --ink-2: #3D372E;
  --ink-3: #6E6659;
  --line: rgba(20, 18, 14, .13);
  --line-2: rgba(20, 18, 14, .07);
  --line-lt: rgba(255, 255, 255, .16);
  --forest: #16352A;
  --forest-2: #0D211A;
  --gold: #A87C2E;
  /* 浅底上的金色小字用深一档：--gold 在纸色底上只有 3.42:1，正文级文字要 4.5:1 */
  --gold-ink: #7F5C1E;
  --gold-2: #C9A455;
  --clay: #8E3B2E;

  --ff-display: "LXGW WenKai Web", "Kaiti SC", "STKaiti", serif;
  --ff-body: "LXGW WenKai Web", "Kaiti SC", "Microsoft YaHei", sans-serif;
  --ff-num: "LXGW WenKai Web", Georgia, serif;

  --wrap: 1240px;
  --pad: clamp(20px, 5vw, 56px);
  --head-h: 76px;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--head-h);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 16.5px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-ink); }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: .015em;
  line-height: 1.18;
  margin: 0;
}

p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; display: block; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff;
  padding: 10px 16px; z-index: 999;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------------------------------------------------------------- 页头 */
.site-head {
  position: fixed; inset: 0 0 auto; z-index: 90;
  height: var(--head-h);
  display: flex; align-items: center;
  color: #fff;
  transition: background .35s ease, box-shadow .35s ease, color .35s ease;
}
.site-head::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* 压深一点：浅色主图（如米粒特写）顶部是亮的，纯白导航会糊进去 */
  background: linear-gradient(to bottom, rgba(10, 18, 14, .58), rgba(10, 18, 14, .2) 62%, rgba(10, 18, 14, 0));
  opacity: 1; transition: opacity .35s ease;
}
.site-head.is-solid {
  background: rgba(248, 244, 234, .95);
  backdrop-filter: saturate(1.3) blur(10px);
  border-bottom: 1px solid var(--line-2);
  color: var(--ink);
  box-shadow: 0 1px 24px rgba(20, 18, 14, .07);
}
.site-head.is-solid::after { opacity: 0; }

.head-inner { display: flex; align-items: center; gap: 30px; width: 100%; }

.brand { display: flex; align-items: center; color: inherit; }
.brand-logo {
  display: block; height: 50px; width: auto; flex: none;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .18));
}
.brand-logo--light { display: none; }
.site-head.is-solid .brand-logo--dark { display: none; }
.site-head.is-solid .brand-logo--light { display: block; filter: none; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.site-nav a {
  position: relative; font-size: 14.5px; letter-spacing: .06em;
  padding: 6px 0; opacity: .9;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .32s cubic-bezier(.2, .8, .3, 1);
}
.site-nav a:hover { opacity: 1; color: inherit; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { opacity: 1; }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid currentColor;
  color: inherit; font-size: 12.5px; letter-spacing: .14em; padding: 8px 14px;
  font-family: var(--ff-body); cursor: pointer; border-radius: 999px;
  opacity: .85;
}
.nav-toggle:hover { opacity: 1; }

/* ---------------------------------------------------------------- 首屏 */
.hero {
  position: relative; min-height: 100svh;
  color: #fff; overflow: hidden;
  background: var(--forest-2);
}
.hero-slide {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end; overflow: hidden;
}
/* 无 JS：只显示第 1 张，内容完整可读；有 JS 时由 .hero--carousel 接管堆叠切换 */
.hero-slide:not(.is-active) { display: none; }
.js .hero--carousel .hero-slide {
  position: absolute; inset: 0; min-height: 100svh;
  /* 显式覆盖 :not(.is-active) 的 display:none；从 none 显示时浏览器不会跑 transition，
     保持各帧常驻、只用 opacity 控制显隐，淡入与文案/图片转场才能真正逐帧播放 */
  display: flex;
  opacity: 0; pointer-events: none;
  transition: opacity .9s ease;
}
.js .hero--carousel .hero-slide.is-active {
  opacity: 1; pointer-events: auto; z-index: 2;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.96) contrast(1.02);
  animation: heroZoom 18s ease-out both;
}
@keyframes heroZoom { from { transform: scale(1.07); } to { transform: scale(1); } }
/* 有 JS 轮播：每帧激活时图片从轻微放大缓缓回位，配合淡入形成推进感。
   用 transition 而非 animation，才能随 is-active 切换逐帧重播；无 JS 时仍走上面的 18s 缓动。 */
.js .hero--carousel .hero-bg img {
  animation: none;
  transform: scale(1.06);
  transition: transform 4.6s cubic-bezier(.22, .61, .36, 1);
}
.js .hero--carousel .hero-slide.is-active .hero-bg img { transform: scale(1); }

.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(6, 14, 10, .93) 0%, rgba(6, 14, 10, .74) 26%, rgba(6, 14, 10, .34) 54%, rgba(6, 14, 10, .16) 76%, rgba(6, 14, 10, .42) 100%),
    linear-gradient(to right, rgba(6, 14, 10, .62) 0%, rgba(6, 14, 10, .18) 46%, transparent 72%);
}

.hero-inner {
  position: relative; z-index: 2; width: 100%;
  padding-bottom: clamp(56px, 8vh, 104px);
  padding-top: calc(var(--head-h) + 40px);
}
.hero-title {
  font-size: clamp(46px, 7.4vw, 108px);
  line-height: 1.04; letter-spacing: .03em;
  margin: 0 0 30px; max-width: 15em;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .26);
}
/* 含逗号的主张拆成两段，各占一行；两段都控制在容器内不折行，避免末字掉落 */
.hero-title--split { max-width: none; }
.hero-title-line { display: block; white-space: nowrap; }
.hero-lead {
  font-size: clamp(15px, 1.35vw, 18px); line-height: 1.95;
  max-width: 40em; color: rgba(255, 255, 255, .9); margin: 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* 文案转场：随每帧依次上浮淡入，比背景稍晚出现，做出层次。
   只在有 JS 的轮播里启用，时刻由 is-active 驱动，不额外改 JS。 */
.js .hero--carousel .hero-title,
.js .hero--carousel .hero-lead,
.js .hero--carousel .hero-actions {
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22, .61, .36, 1);
}
.js .hero--carousel .hero-slide.is-active .hero-title,
.js .hero--carousel .hero-slide.is-active .hero-lead,
.js .hero--carousel .hero-slide.is-active .hero-actions {
  opacity: 1; transform: none;
}
.js .hero--carousel .hero-slide.is-active .hero-title { transition-delay: .14s; }
.js .hero--carousel .hero-slide.is-active .hero-lead { transition-delay: .26s; }
.js .hero--carousel .hero-slide.is-active .hero-actions { transition-delay: .38s; }

/* 首屏轮播控件：指示点（带品牌名）+ 左右箭头 + 暂停，固定在首屏底部 */
.hero-controls {
  position: absolute; left: 0; right: 0; bottom: clamp(20px, 3vh, 34px);
  z-index: 5; display: flex; align-items: center; gap: 14px;
  padding-left: var(--pad); padding-right: var(--pad);
}
.hero-dots { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 22px; }
.hero-dot {
  position: relative; padding: 8px 0 12px; border: 0; background: none; cursor: pointer;
  color: rgba(255, 255, 255, .55); font-family: var(--ff-body);
  font-size: 12.5px; letter-spacing: .12em; transition: color .3s ease;
}
.hero-dot::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--gold-2); transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease; opacity: .9;
}
.hero-dot:hover { color: rgba(255, 255, 255, .85); }
.hero-dot.is-active { color: #fff; }
.hero-dot.is-active::after { transform: scaleX(1); }
.hero-arrow, .hero-pause {
  flex: none; width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 50%; background: rgba(6, 14, 10, .22); color: #fff;
  font-family: var(--ff-body); font-size: 20px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: background .3s ease, border-color .3s ease;
}
.hero-arrow { font-size: 24px; padding-bottom: 3px; }
.hero-pause { font-size: 13px; letter-spacing: -2px; padding-right: 2px; }
.hero-arrow:hover, .hero-pause:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.hero-arrow--prev { margin-left: auto; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 28px; border: 1px solid rgba(255, 255, 255, .42);
  font-size: 14px; letter-spacing: .12em; border-radius: 2px;
  transition: background .3s ease, border-color .3s ease, color .3s ease, gap .3s ease;
}
.btn:hover { background: #fff; color: var(--ink); border-color: #fff; gap: 20px; }
.btn--solid { background: var(--gold-2); border-color: var(--gold-2); color: #1A1509; }
.btn--solid:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn i { font-style: normal; transform: translateY(-.5px); transition: transform .3s ease; }
.btn:hover i { transform: translate(3px, -.5px); }

.hero-scroll {
  position: absolute; right: var(--pad); bottom: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding-bottom: 26px; color: rgba(255, 255, 255, .62);
  font-size: 10.5px; letter-spacing: .3em; writing-mode: vertical-rl;
}
.hero-scroll::after {
  content: ""; width: 1px; height: 54px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .7), transparent);
  animation: scrollHint 2.4s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { opacity: .25; transform: scaleY(.55); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}


/* ---------------------------------------------------------------- 通用区块 */
.sec { padding: clamp(72px, 9vw, 132px) 0; position: relative; }
.sec--paper2 { background: var(--paper-2); }
.sec--forest { background: var(--forest); color: #F3EEE2; }
.sec--forest h2, .sec--forest h3 { color: #F7F2E5; }

.points-title {
  font-family: var(--ff-display); font-size: 21px; line-height: 1.5;
  margin: 0 0 18px; color: var(--ink);
}

.sec-head { margin-bottom: clamp(36px, 5vw, 68px); max-width: 46em; }
.sec-title {
  font-size: clamp(36px, 4.4vw, 62px); line-height: 1.18;
  margin: 0 0 24px; letter-spacing: .01em; text-wrap: balance;
}
/* 区块导语：从注解小字扶正为副标题。左侧稻金竖标立骨，字号与正文拉开层级 */
.sec-lead {
  position: relative; padding-left: clamp(16px, 1.6vw, 24px);
  font-size: clamp(18px, 1.7vw, 22px); line-height: 1.75;
  font-weight: 700; letter-spacing: .01em;
  color: var(--ink); margin: -6px 0 0; max-width: 40em;
}
.sec-lead::before {
  content: ""; position: absolute; left: 0; top: .18em; bottom: .18em;
  width: 3px; background: var(--gold-2);
}
.sec--forest .sec-lead { color: #F7F2E5; }
.sec--forest .sec-lead::before { background: var(--gold-2); }

.more {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 34px;
  font-size: 14px; letter-spacing: .1em; padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  transition: gap .3s ease, border-color .3s ease;
}
.more:hover { gap: 20px; border-bottom-color: var(--gold); }
.more i { font-style: normal; color: var(--gold-ink); }
.sec--forest .more { border-bottom-color: var(--line-lt); }

/* ---------------------------------------------------------------- 图文分栏 */
.split {
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(32px, 6vw, 90px); align-items: center;
}
.split--flip .split-media { order: 2; }
/* 后台清空了配图时：不塌成一栏半空，改成正文占满并收窄行宽 */
.split--text { grid-template-columns: 1fr; }
.split--text .split-body { max-width: 46em; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-media--wide img { aspect-ratio: 3 / 2; }
.split-fig {
  display: block; margin-top: 16px; padding-left: 14px;
  border-left: 2px solid var(--gold);
  font-size: 11.5px; letter-spacing: .14em; color: var(--ink-3);
}

.split-body h2 { font-size: clamp(32px, 3.5vw, 50px); line-height: 1.22; margin: 0 0 28px; text-wrap: balance; }
.split-body .prose { font-size: 16px; line-height: 2; color: var(--ink-2); }
.split-body .prose p:last-child { margin-bottom: 0; }
.split-body .prose strong { color: var(--ink); font-weight: 700; }

.pull {
  margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line);
  font-family: var(--ff-display); font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.7; color: var(--ink);
}
.sec--forest .pull { border-top-color: var(--line-lt); color: #F7F2E5; }

/* ---------------------------------------------------------------- 品牌线卡片 */
.line-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
.line-card {
  background: var(--paper); padding: clamp(30px, 3.4vw, 52px);
  display: flex; flex-direction: column; min-height: clamp(220px, 24vw, 300px);
}
.sec--paper2 .line-card { background: var(--paper-2); }
.line-card h3 { font-size: clamp(30px, 3.2vw, 44px); margin: 0 0 10px; letter-spacing: .08em; }
.line-tag { font-size: 11.5px; letter-spacing: .18em; color: var(--gold-ink); margin: 0 0 26px; }
.line-card .desc {
  font-size: 15.5px; line-height: 2; color: var(--ink-2); margin: auto 0 0;
  padding-top: 22px; border-top: 1px solid var(--line);
}
/* 包装全家福：白底图乘到纸色上，四边渐隐，遮掉画册里被裁掉半个的袋子 */
.line-fig {
  margin: calc(clamp(30px, 3.4vw, 52px) * -1) calc(clamp(30px, 3.4vw, 52px) * -1)
          clamp(22px, 2.4vw, 30px);
}
.line-fig img {
  width: 100%; height: auto; display: block;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
}

/* ---------------------------------------------------------------- 首页四品牌入口卡 */
.brand-cards {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}
.brand-card {
  background: var(--paper); display: flex; flex-direction: column;
  border: 1px solid var(--line-2);
  transition: background .35s ease, transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.brand-card:hover {
  background: #fff; transform: translateY(-4px);
  border-color: rgba(201, 164, 85, .38); box-shadow: 0 18px 44px rgba(20, 18, 14, .08);
}
.brand-card-fig {
  padding: clamp(26px, 2.8vw, 40px) clamp(20px, 2vw, 30px) 10px;
  aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden;
}
.brand-card-fig img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.brand-card-body { padding: 8px clamp(20px, 2vw, 30px) clamp(24px, 2.4vw, 34px); }
.brand-card h3 {
  font-family: var(--ff-display); font-size: clamp(26px, 2.6vw, 36px);
  margin: 0 0 8px; letter-spacing: .08em; color: var(--ink);
}
.brand-card-tag { font-size: 11.5px; letter-spacing: .14em; color: var(--gold-ink); margin: 0 0 16px; }
.brand-card-desc { font-size: 13.5px; line-height: 1.85; color: var(--ink-2); margin: 0; }
.brand-all { margin: 34px 0 0; text-align: center; }
.brand-all .more { margin-top: 0; }

/* ---------------------------------------------------------------- 产品页品牌切换与介绍 */
.brand-switch { border-bottom: 1px solid var(--line); background: var(--paper-2); }
.brand-switch .wrap { display: flex; flex-wrap: wrap; gap: clamp(6px, 1vw, 14px); padding-top: 16px; padding-bottom: 16px; }
.brand-switch-item {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; font-size: 14px; color: var(--ink-2);
  border: 1px solid var(--line); background: var(--paper); transition: all .25s ease;
}
.brand-switch-item span { font-family: var(--ff-num); font-size: 11px; color: var(--ink-3); }
.brand-switch-item:hover { border-color: var(--ink-3); }
.brand-switch-item.is-active { background: var(--forest); border-color: var(--forest); color: #F3EEE2; }
.brand-switch-item.is-active span { color: rgba(243, 238, 226, .72); }

.brand-intro { border-bottom: 1px solid var(--line); background: var(--paper); }
.brand-intro-inner {
  display: grid; grid-template-columns: minmax(280px, 1fr) 1fr;
  gap: clamp(28px, 4vw, 64px); align-items: center;
  padding-top: clamp(34px, 4vw, 60px); padding-bottom: clamp(34px, 4vw, 60px);
}
.brand-intro-fig {
  background: #fff; padding: clamp(20px, 2.4vw, 36px);
  aspect-ratio: 16 / 9; display: grid; place-items: center;
}
.brand-intro-fig img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.brand-intro-body h2 {
  font-family: var(--ff-display); font-size: clamp(34px, 4.4vw, 62px);
  margin: 0 0 10px; letter-spacing: .1em;
}
.brand-intro-tag { font-size: 12px; letter-spacing: .16em; color: var(--gold-ink); margin: 0 0 20px; }
.brand-intro-desc { font-size: 15.5px; line-height: 2; color: var(--ink-2); margin: 0 0 18px; }
.brand-intro-count { font-size: 13px; color: var(--ink-3); margin: 0; }

/* ---------------------------------------------------------------- 产品 */
.prod-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.4vw, 20px);
}
/* 品牌分组：整行横跨，左侧金色竖标 + 品牌名，不用横线堆砌 */
.prod-group {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 14px;
  padding: clamp(20px, 2.6vw, 34px) 0 4px;
}
.prod-group:first-child { padding-top: 0; }
.prod-group-name {
  font-family: var(--ff-display); font-size: clamp(20px, 2vw, 27px);
  line-height: 1.2; margin: 0; color: var(--ink); display: flex; align-items: center; gap: 14px;
}
.prod-group-name::before {
  content: ""; width: 3px; height: 1.1em; background: var(--gold-2); display: block;
}
.prod {
  background: var(--paper); padding: clamp(16px, 1.6vw, 24px);
  display: flex; flex-direction: column;
  border: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, transform .35s ease, box-shadow .35s ease;
}
.sec--paper2 .prod { background: #FCF9F2; }
.prod:hover {
  background: #fff; border-color: rgba(201, 164, 85, .38); transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(20, 18, 14, .08);
}
/* 产品图落在浅色衬底上，像展柜；统一最大高度，让不同包装的视觉重量一致 */
.prod-thumb {
  aspect-ratio: 1 / 1; overflow: hidden; background: #F4EEE1;
  display: grid; place-items: center; padding: clamp(16px, 1.8vw, 26px);
  margin-bottom: 16px;
}
.prod-thumb img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; display: block;
}
.prod-name {
  font-family: var(--ff-display); font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.45; margin: 0 0 8px; text-wrap: balance;
}
/* 包装规格另起一行小字，避免「稻花／香」「大／米」被拦腰断开 */
.prod-pack {
  display: block; font-family: var(--ff-body); font-size: 12.5px;
  letter-spacing: .06em; color: var(--ink-3); margin-top: 7px;
}
.prod-desc { font-size: 13.5px; line-height: 1.8; color: var(--ink-2); margin: 0 0 14px; }
/* 净含量与产区：两个克制的浅标签，取代三行字段表；只给事实，不写字段名 */
.prod-meta {
  display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0;
  padding-top: 12px; border-top: 1px solid var(--line-2);
}
.prod-meta span {
  font-size: 12px; line-height: 1.5; color: var(--ink-3);
  background: var(--paper-2); padding: 4px 9px; letter-spacing: .02em;
}

/* ---------------------------------------------------------------- 工序 */
.craft { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-lt); }
.craft-step { background: var(--forest); display: flex; flex-direction: column; }
/* 设备线描图本身是白底细线，压在深绿上会看不清，单独给一块浅底 */
.craft-fig {
  background: var(--paper); height: clamp(150px, 15vw, 210px);
  display: grid; place-items: center; padding: clamp(18px, 2vw, 28px); overflow: hidden;
}
.craft-fig img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.craft-body { padding: clamp(24px, 2.6vw, 38px) clamp(18px, 2vw, 30px); flex: 1; }
.craft-no {
  display: inline-block; font-family: var(--ff-num); font-size: 12px;
  letter-spacing: .14em; color: var(--gold-2); line-height: 1;
  padding-bottom: 8px; margin-bottom: 16px; border-bottom: 1px solid rgba(201, 164, 85, .4);
}
.craft-step h3 { font-size: clamp(18px, 1.7vw, 22px); margin: 0 0 12px; letter-spacing: .04em; }
.craft-step p { font-size: 14px; line-height: 1.9; color: rgba(243, 238, 226, .72); margin: 0; }

/* ---------------------------------------------------------------- 品质保障：把关要点
   田字格细线框改为留白卡片：靠间距与浅底分区，不再用 1px 线堆成表格 */
.assure-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.assure-item {
  background: var(--paper); padding: clamp(28px, 3vw, 44px);
  border-top: 2px solid var(--gold-2);
  transition: transform .35s ease, box-shadow .35s ease;
}
.assure-item:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(20, 18, 14, .06); }
.assure-item h3 {
  font-size: clamp(19px, 1.8vw, 24px); margin: 0 0 14px;
  letter-spacing: .02em; color: var(--ink);
}
.assure-item p { font-size: 14.5px; line-height: 1.95; color: var(--ink-2); margin: 0; }

/* ---------------------------------------------------------------- 整幅引言 */
.quote {
  position: relative; min-height: clamp(340px, 58vh, 580px);
  display: grid; place-items: center; color: #fff; overflow: hidden;
  text-align: center; padding: clamp(64px, 9vw, 120px) 0;
  background: var(--forest);   /* 后台清空背景图时的兜底底色 */
}
.quote img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(8, 16, 12, .48), rgba(8, 16, 12, .74));
}
.quote .wrap { position: relative; z-index: 2; }
.quote p {
  font-family: var(--ff-display); font-size: clamp(23px, 3.1vw, 42px);
  line-height: 1.6; margin: 0 auto; max-width: 22em; letter-spacing: .04em;
}
/* ---------------------------------------------------------------- 荣誉资质（关于页） */
/* 资质卡：米白卡片阵列替代原来的细线表格，年份做成稻金大字压角 */
.qual-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line-2);
  border: 1px solid var(--line-2);
}
.qual-tile {
  position: relative; background: var(--paper);
  padding: clamp(24px, 2.6vw, 38px) clamp(20px, 2.2vw, 32px);
  min-height: 176px; display: flex; flex-direction: column;
  transition: background .2s ease;
}
.qual-tile:hover { background: #FDFBF5; }
.qual-year {
  font-family: var(--ff-num); font-size: clamp(25px, 2.6vw, 34px);
  line-height: 1; color: var(--gold-ink); letter-spacing: .02em;
  margin-bottom: 18px;
}
.qual-tile h3 {
  font-size: clamp(16px, 1.4vw, 18px); line-height: 1.55; margin: 0 0 10px;
  color: var(--ink); font-weight: 600; letter-spacing: .01em;
}
.qual-org { font-size: 12.5px; line-height: 1.6; color: var(--ink-3); margin: 0; }
.qual-no {
  font-size: 11.5px; color: var(--ink-3); margin: 6px 0 0;
  font-family: var(--ff-num); letter-spacing: .03em; opacity: .8;
}

.honor-text p:empty { display: none; }

/* 荣誉墙：深底上陈列奖牌。图片进浅纸色展柜框，年份做稻金大字，名称是主信息 */
.plate-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); }
.plate { margin: 0; display: flex; flex-direction: column; transition: transform .35s ease; }
.plate:hover { transform: translateY(-4px); }
.plate-img {
  --plate-pad: clamp(16px, 2vw, 28px);
  position: relative; aspect-ratio: 4 / 3; background: #F6F1E6;
  border: 1px solid rgba(201, 164, 85, .45);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18), inset 0 0 0 6px rgba(255, 255, 255, .35);
}
/* 图片绝对定位居中：卡片高度只由 4:3 决定，竖构图的圆牌不会把某一格撑高 */
.plate-img img {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  max-width: calc(100% - 2 * var(--plate-pad));
  max-height: calc(100% - 2 * var(--plate-pad));
  width: auto; height: auto; display: block;
  box-shadow: 0 6px 16px rgba(20, 18, 14, .16);
}
.plate figcaption { padding: 20px 2px 0; }
.plate-year {
  display: block; font-family: var(--ff-num); font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1; color: var(--gold-2); letter-spacing: .02em; margin-bottom: 10px;
}
.plate h3 {
  font-size: clamp(15px, 1.35vw, 17px); line-height: 1.55; margin: 0 0 6px;
  color: #F7F2E5; letter-spacing: .01em; font-weight: 600;
}
.plate p { font-size: 12.5px; line-height: 1.6; color: rgba(243, 238, 226, .58); margin: 0; }
.plate p:empty { display: none; }

/* 基地地图 + 产区卡片 */
.base-split { display: grid; grid-template-columns: minmax(280px, .95fr) 1.05fr; gap: clamp(26px, 4vw, 60px); align-items: start; }
.base-map { margin: 0; }
.base-map img { width: 100%; height: auto; display: block; mix-blend-mode: multiply; }
.base-list { display: grid; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
.base-item { background: var(--paper); padding: clamp(16px, 1.8vw, 24px) clamp(18px, 2vw, 28px); }
.base-item h3 {
  font-family: var(--ff-display); font-size: clamp(17px, 1.5vw, 21px);
  color: var(--ink); margin: 0 0 7px; letter-spacing: .02em;
}
.base-item p { font-size: 14px; line-height: 1.8; color: var(--ink-2); margin: 0; }

/* 品牌矩阵：一行一个品牌，左边名字，右边整排包装 */
.pack-row {
  display: grid; grid-template-columns: minmax(200px, .34fr) 1fr;
  gap: clamp(20px, 3vw, 48px); align-items: center;
  padding: clamp(22px, 3vw, 38px) 0; border-top: 1px solid var(--line);
}
.pack-row:last-child { border-bottom: 1px solid var(--line); }
.pack-meta h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 0 0 8px; letter-spacing: .08em; }
.pack-tag { font-size: 11.5px; letter-spacing: .16em; color: var(--gold-ink); margin: 0 0 14px; }
.pack-desc { font-size: 13.5px; line-height: 1.9; color: var(--ink-2); margin: 0; }
.pack-fig img {
  width: 100%; height: auto; display: block; mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
}

/* ---------------------------------------------------------------- 新闻 */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.news-card {
  display: flex; flex-direction: column; gap: 16px;
  padding-top: 22px; border-top: 1px solid var(--line);
  transition: border-color .35s ease;
}
.news-card:hover { border-top-color: var(--gold); color: inherit; }
.news-card time { font-family: var(--ff-num); font-size: 12px; letter-spacing: .16em; color: var(--gold-ink); }
.news-card h3 { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; margin: 0; transition: color .3s ease; }
.news-card:hover h3 { color: var(--gold-ink); }
.news-card p {
  font-size: 14px; line-height: 1.9; color: var(--ink-2); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------------------------------------------------------------- 表格 */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
table.data caption {
  caption-side: top; text-align: left; font-size: 12px; letter-spacing: .04em;
  color: var(--ink-3); padding: 0 0 14px;
}
table.data th {
  text-align: left; font-weight: 600; font-size: 12px; letter-spacing: .14em;
  color: var(--ink-3); padding: 0 16px 12px 0; border-bottom: 1px solid var(--ink);
  white-space: nowrap;
}
table.data td {
  padding: 15px 16px 15px 0; border-bottom: 1px solid var(--line-2);
  vertical-align: top; line-height: 1.7;
}
table.data tr:last-child td { border-bottom: 0; }
table.data td.num { font-family: var(--ff-num); letter-spacing: .04em; white-space: nowrap; }
/* 资质表：发证机构与编号只有部分证照齐全，做成名称下方的小字，缺的位置不留破折号 */
.cert-meta { display: block; margin-top: 5px; font-size: 12.5px; color: var(--ink-3); letter-spacing: .02em; }
.sec--forest table.data th { border-bottom-color: rgba(243, 238, 226, .5); color: rgba(243, 238, 226, .6); }
.sec--forest table.data td { border-bottom-color: var(--line-lt); }

/* 通用定义列表（隐私页等在用） */
.info-list { margin: 0; }
.info-row {
  display: grid; grid-template-columns: 104px 1fr; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--line-2); align-items: baseline;
}
.info-row dt { font-size: 12px; letter-spacing: .16em; color: var(--ink-3); margin: 0; }
.info-row dd { margin: 0; font-size: 15.5px; line-height: 1.8; }

/* ---------------------------------------------------------------- 联系
   一页只做三件事：找到人、看清怎么合作、留下需求。电话与地址各只出现一次。 */
.contact-main { padding-top: clamp(56px, 7vw, 96px); }
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(48px, 7vw, 110px); align-items: start;
}
.contact-kicker {
  display: block; font-size: 12px; letter-spacing: .18em;
  color: var(--gold-ink); margin-bottom: 18px;
}
.contact-phone {
  display: inline-block; font-family: var(--ff-num);
  font-size: clamp(36px, 4.2vw, 60px); line-height: 1.1;
  letter-spacing: .01em; color: var(--ink);
  border-bottom: 2px solid var(--gold-2); padding-bottom: 8px;
  transition: color .3s ease;
}
.contact-phone:hover { color: var(--gold-ink); }
.contact-reach-note { font-size: 14px; line-height: 1.85; color: var(--ink-2); margin: 16px 0 0; }
.contact-place {
  margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.contact-place p:not(.contact-reach-note) {
  font-family: var(--ff-display); font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.6; margin: 0; color: var(--ink);
}

.contact-coop .sec-title { margin-bottom: 14px; }
.contact-coop-lead {
  font-size: clamp(15px, 1.2vw, 16.5px); line-height: 1.85;
  color: var(--ink-2); margin: 0 0 28px;
}
.coop-lines { list-style: none; margin: 0; padding: 0; }
.coop-lines li {
  display: grid; grid-template-columns: 7.5em minmax(0, 1fr);
  gap: clamp(16px, 2vw, 32px); align-items: baseline;
  padding: 18px 0; border-top: 1px solid var(--line);
}
.coop-lines li:last-child { border-bottom: 1px solid var(--line); }
.coop-lines b { font-size: 16px; font-weight: 600; color: var(--ink); }
.coop-lines span { font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: clamp(48px, 7vw, 72px); }
}
@media (max-width: 560px) {
  .contact-phone { font-size: 34px; }
  .coop-lines li { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
}

/* ---------------------------------------------------------------- 子页页头
   与首页 hero 统一为满屏大图：第一屏是一整张品牌画面，不再被切成「图上+内容下」两截。
   高度 = 视口 - 固定导航，标题沉底；渐变只在下半加重，保证白字可读。 */
.page-hero {
  position: relative; min-height: calc(100svh - var(--head-h));
  display: flex; align-items: flex-end; color: #fff; overflow: hidden;
  padding-top: var(--head-h);
  background: var(--forest-2);
}
.page-hero img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.92) contrast(1.06);
  transform: scale(1.03);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(6, 14, 10, .96) 0%, rgba(6, 14, 10, .78) 22%, rgba(6, 14, 10, .12) 62%, rgba(6, 14, 10, .38) 100%),
    linear-gradient(to right, rgba(6, 14, 10, .42) 0%, transparent 58%);
}
.page-hero-inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(72px, 11vh, 132px); }
/* 金色品牌短线：标题上方的视觉锚点，比旧版多一层仪式感，不含任何文字注解 */
.page-hero h1::before {
  content: ""; display: block; width: clamp(52px, 6vw, 88px);
  height: 3px; background: var(--gold-2); margin-bottom: clamp(24px, 3vw, 38px);
}
.page-hero h1 {
  font-size: clamp(52px, 7vw, 96px); line-height: 1.1;
  margin: 0; letter-spacing: .01em; max-width: 16em;
  text-wrap: balance; text-shadow: 0 2px 50px rgba(0, 0, 0, .3);
}
.page-hero .lead {
  font-size: clamp(16px, 1.35vw, 19px); line-height: 1.9;
  color: rgba(255, 255, 255, .9); max-width: 44em; margin: 26px 0 0;
}

/* ---------------------------------------------------------------- 正文排版 */
.prose { font-size: 16px; line-height: 2; color: var(--ink-2); }
.prose h3 { font-size: 21px; color: var(--ink); margin: 2.2em 0 .8em; }
.prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose strong { color: var(--ink); }


/* ---------------------------------------------------------------- 页脚 */
.site-foot { background: var(--forest-2); color: rgba(243, 238, 226, .8); padding: clamp(36px, 4vw, 52px) 0 0; }
.foot-main {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px); align-items: start;
  padding-bottom: clamp(26px, 3vw, 36px);
}
.foot-logo { display: block; height: 42px; width: auto; margin-bottom: 18px; }
.foot-company {
  font-family: var(--ff-display); font-size: clamp(17px, 1.5vw, 20px);
  color: #F7F2E5; letter-spacing: .04em; line-height: 1.5; margin: 0 0 6px;
  white-space: nowrap;
}
.foot-tagline { font-family: var(--ff-display); font-size: 15px; color: var(--gold-2); letter-spacing: .16em; margin: 0 0 18px; }
.foot-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.foot-call { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; margin: 0; }
.foot-call span { font-size: 12px; letter-spacing: .12em; color: rgba(243, 238, 226, .5); }
.foot-call a { font-family: var(--ff-num); font-size: clamp(21px, 2.2vw, 26px); color: var(--gold-2); letter-spacing: .02em; line-height: 1.2; }
.foot-call a:hover { color: #E4C67E; }
.foot-mail { font-size: 14px; color: rgba(243, 238, 226, .7); }
.foot-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 32px; padding-top: 2px; }
.foot-nav a { font-size: 15px; line-height: 1.5; color: rgba(243, 238, 226, .82); }
.foot-nav a:hover { color: var(--gold-2); }
.foot-legal {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px clamp(16px, 3vw, 32px);
  padding-top: 14px; padding-bottom: 18px; border-top: 1px solid var(--line-lt);
  font-size: 11.5px; line-height: 1.7;
  color: rgba(243, 238, 226, .42);
}
.foot-legal a { color: inherit; }
.foot-legal a:hover { color: rgba(243, 238, 226, .8); }
.foot-privacy { margin-left: auto; }

/* ---------------------------------------------------------------- 信息网格与沿革 */
.info-grid {
  columns: 2; column-gap: clamp(30px, 5vw, 80px); margin: 0;
}
.info-grid .info-row { break-inside: avoid; grid-template-columns: 116px 1fr; }

.timeline { border-left: 1px solid var(--line); padding-left: 26px; margin-top: 8px; }
.tl { position: relative; padding-bottom: 26px; }
.tl:last-child { padding-bottom: 0; }
.tl::before {
  content: ""; position: absolute; left: -30px; top: 9px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
}
.tl b {
  display: block; font-family: var(--ff-num); font-weight: 400;
  font-size: 19px; color: var(--gold-ink); letter-spacing: .06em;
}
.tl p { margin: 5px 0 0; font-size: 15px; line-height: 1.85; color: var(--ink-2); }

.notice {
  border-left: 2px solid var(--gold); padding: 2px 0 2px 18px;
  font-size: 14px; line-height: 1.85; color: var(--ink-2); margin: 0 0 30px;
  max-width: 52em;
}

/* ---------------------------------------------------------------- 常见问题 */
.faq-layout { display: grid; grid-template-columns: 236px 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-index { position: sticky; top: calc(var(--head-h) + 28px); }
.faq-index p { font-size: 11px; letter-spacing: .24em; color: var(--ink-3); margin: 0 0 16px; }
.faq-index a {
  display: block; font-size: 13.5px; line-height: 1.6; color: var(--ink-2);
  padding: 9px 0; border-bottom: 1px solid var(--line-2);
  transition: color .25s ease, padding-left .25s ease;
}
.faq-index a:hover { color: var(--gold-ink); padding-left: 6px; }

.faq-item { border-top: 1px solid var(--line); padding: 4px 0; }
.faq-item:last-of-type { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 20px 46px 20px 0;
  font-family: var(--ff-display); font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--ff-body); font-weight: 300; font-size: 22px; color: var(--gold);
  transition: transform .3s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item[open] summary { color: var(--gold-ink); }
.faq-answer { padding: 0 46px 24px 0; font-size: 15.5px; line-height: 2; color: var(--ink-2); }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- 文章 */
.news-rows { border-top: 1px solid var(--line); }
.news-row {
  display: grid; grid-template-columns: 140px 1fr;
  gap: clamp(16px, 3vw, 40px); align-items: baseline;
  padding: clamp(28px, 3vw, 40px) 0; border-bottom: 1px solid var(--line-2);
  transition: background .3s ease;
}
.news-row:hover { color: inherit; }
.news-row time {
  font-family: var(--ff-num); font-size: 12.5px; letter-spacing: .14em; color: var(--gold-ink);
}
.news-row h2 {
  font-size: clamp(21px, 2.2vw, 30px); line-height: 1.5; margin: 0;
  transition: color .3s ease;
}
.news-row:hover h2 { color: var(--gold-ink); }
.news-row p { font-size: 14.5px; line-height: 1.9; color: var(--ink-2); margin: 10px 0 0; max-width: 62ch; }
.news-empty {
  padding: 44px 0; color: var(--ink-3); font-size: 14.5px;
  border-bottom: 1px solid var(--line-2); margin: 0;
}

.article-meta {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  font-size: 12px; letter-spacing: .12em; color: var(--ink-3); margin: 0 0 18px;
}
.article-body { max-width: 40em; font-size: 16.5px; line-height: 2.05; color: var(--ink-2); }
.article-body h2 { font-size: clamp(21px, 2vw, 26px); color: var(--ink); margin: 2em 0 .7em; }
.article-body h3 { font-size: 19px; color: var(--ink); margin: 1.8em 0 .6em; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li { margin-bottom: .5em; }
.article-body strong { color: var(--ink); }
.article-body figure { margin: 2.2em 0; }
.article-body figure img { display: block; width: 100%; height: auto; }
.article-body figcaption {
  margin-top: 12px; font-size: 13px; line-height: 1.7;
  color: var(--ink-3); text-align: center;
}
.article-body blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--gold);
  font-family: var(--ff-display); font-size: 19px; color: var(--ink);
}

/* ---------------------------------------------------------------- 404 */
.err { padding: calc(var(--head-h) + clamp(80px, 14vh, 160px)) 0 clamp(80px, 14vh, 160px); }
.err h1 {
  font-family: var(--ff-num); font-size: clamp(64px, 12vw, 140px);
  color: var(--paper-3); line-height: 1; margin: 0 0 24px;
}
.err p { font-size: 16px; color: var(--ink-2); }
.err a { border-bottom: 1px solid var(--gold); color: var(--gold-ink); }

/* ---------------------------------------------------------------- 动效 */
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.in {
  opacity: 1; transform: none;
  transition: opacity .9s cubic-bezier(.2, .7, .3, 1), transform .9s cubic-bezier(.2, .7, .3, 1);
}

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 1180px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-cards { grid-template-columns: repeat(2, 1fr); }
  .qual-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  :root { --head-h: 66px; }
  .site-nav { display: none; }
  .nav-toggle { display: block; }

  .site-nav.is-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: fixed; inset: 0; z-index: 95;
    background: var(--forest-2);
    padding: calc(var(--head-h) + 14px) var(--pad) 30px;
    margin: 0; color: #F3EEE2;
    border-top: 1px solid var(--line-lt);
  }
  .site-nav.is-open a { padding: 15px 0; font-size: 16px; border-bottom: 1px solid var(--line-lt); }
  .site-nav.is-open a::after { display: none; }
  body.nav-open { overflow: hidden; }

  /* 目录展开：面板是页头内部的固定层，logo 与按钮要压到它上面 */
  body.nav-open .brand,
  body.nav-open .nav-toggle { position: relative; z-index: 97; }
  body.nav-open .site-head,
  body.nav-open .site-head.is-solid {
    background: transparent; border-bottom-color: transparent;
    box-shadow: none; backdrop-filter: none; color: #F3EEE2;
  }
  body.nav-open .site-head::after { opacity: 0; }

  .split { grid-template-columns: 1fr; gap: 34px; }
  .split--flip .split-media { order: 0; }
  .split-media img { aspect-ratio: 3 / 2; }
  .split-fig { position: static; margin-top: 14px; display: inline-block; }

  .craft { grid-template-columns: repeat(2, 1fr); }
  .line-cards { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; gap: 26px; }
  .foot-main { grid-template-columns: 1fr; gap: 24px; }
  .foot-company { white-space: normal; }
  .hero-scroll { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  /* 触控目标：目录按钮与下拉都抬到 40px 以上 */
  .nav-toggle { min-height: 40px; padding: 0 16px; }
  .msg-field select { min-height: 46px; }
  .hero, .hero-slide, .js .hero--carousel .hero-slide { min-height: 92svh; }
  .hero-title { font-size: clamp(38px, 11vw, 56px); }
  /* 拆分主张窄屏缩一档字号，两段仍各占一行、不折行 */
  .hero-title--split { font-size: clamp(30px, 8.4vw, 44px); }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  /* 轮播控件：指示点占一行，箭头与暂停收一行；文案底部留白避让 */
  .hero-inner { padding-bottom: clamp(112px, 16vh, 150px); }
  .hero-controls { flex-wrap: wrap; gap: 8px; bottom: 14px; }
  .hero-dots { order: 1; width: 100%; gap: 6px 16px; justify-content: flex-start; }
  .hero-dot { font-size: 11.5px; padding: 6px 0 9px; }
  .hero-arrow--prev { order: 2; margin-left: 0; }
  .hero-arrow--next { order: 3; }
  .hero-pause { order: 4; margin-left: auto; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .prod { padding: 20px 16px; }
  .brand-cards { grid-template-columns: 1fr; }
  .brand-card { flex-direction: row; align-items: stretch; }
  .brand-card-fig { width: 42%; aspect-ratio: auto; padding: 16px; }
  .brand-card-body { width: 58%; padding: 18px 14px; }
  .brand-card h3 { font-size: 24px; }
  .brand-card-desc { font-size: 12.5px; line-height: 1.7; margin-bottom: 12px; }
  .brand-intro-inner { grid-template-columns: 1fr; }
  .qual-grid { grid-template-columns: 1fr; }
  .craft { grid-template-columns: 1fr; }
  .page-hero { min-height: calc(100svh - var(--head-h)); }
  .page-hero-inner { padding-bottom: clamp(48px, 8vh, 72px); }
  /* 均分换行会把「知音」「粮油」「产地」这类词劈在两行，窄屏改回按宽度自然填满 */
  .page-hero h1, .hero h1 { text-wrap: wrap; }
  .brand-logo { height: 42px; }
  .foot-logo { height: 38px; margin-bottom: 14px; }
  .foot-nav { gap: 12px 20px; }
  .foot-privacy { margin-left: 0; }
  table.data { font-size: 13.5px; min-width: 0; }
  table.data th, table.data td { padding-right: 10px; }
  .more { min-height: 40px; }

  /* 品质保障：把关要点窄屏改单列 */
  .assure-grid { grid-template-columns: 1fr; }

  /* 新闻列表：132px 的日期列会把摘要压成一行十字，窄屏改成日期在上、正文整行 */
  .news-row {
    grid-template-columns: 1fr auto; gap: 8px 12px; padding: 28px 0;
  }
  .news-row time { grid-column: 1; grid-row: 1; font-size: 11.5px; }
  .news-row > div { grid-column: 1 / -1; }
  .news-row h2 { font-size: 19px; }
  .news-row p { font-size: 14.5px; margin-top: 8px; }

  /* 五列的产品表在窄屏会挤成一字一行，改成一条一卡：标签 + 值 */
  table.data--stack, table.data--stack tbody,
  table.data--stack tr, table.data--stack td { display: block; }
  table.data--stack { min-width: 0; }
  table.data--stack caption { display: block; width: 100%; }
  table.data--stack thead { display: none; }
  table.data--stack tbody tr {
    padding: 16px 0 14px; border-bottom: 1px solid var(--line-2);
  }
  table.data--stack tbody tr:last-child { border-bottom: 0; }
  table.data--stack td {
    display: grid; grid-template-columns: 76px 1fr; gap: 12px;
    padding: 3px 0; border: 0; line-height: 1.65;
  }
  table.data--stack td::before {
    content: attr(data-label); font-size: 11.5px; letter-spacing: .12em;
    color: var(--ink-3); padding-top: 3px;
  }
  table.data--stack td.num { white-space: normal; }

  /* 字段名长的表（资质 / 荣誉 / 产区）：标签独占一行，避免 76px 里挤两行 */
  table.data--stack-loose td { display: block; padding: 0 0 8px; }
  table.data--stack-loose td:last-child { padding-bottom: 0; }
  table.data--stack-loose td::before { display: block; padding-top: 0; margin-bottom: 2px; }
  table.data--stack-loose td.num { font-size: 13.5px; letter-spacing: .02em; }
  .sec--forest table.data--stack td::before { color: rgba(243, 238, 226, .58); }
}

@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-index { position: static; display: none; }
  .info-grid { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg img { animation: none; }
  .js .hero--carousel .hero-slide { transition: none; }
  .js .hero--carousel .hero-bg img { animation: none; transform: none; transition: none; }
  .js .hero--carousel .hero-title,
  .js .hero--carousel .hero-lead,
  .js .hero--carousel .hero-actions {
    opacity: 1; transform: none; transition: none;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero-scroll::after { animation: none; }
}

/* ---------------------------------------------------------------- 预览条 */
/* 只在带签名链接的预览页出现，正常访客看不到；x-robots 已由响应头挡住收录 */
/* 固定在底部：页头是 fixed 的，放顶部会被导航压住 */
.preview-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  flex-wrap: wrap; padding: 10px 16px;
  background: var(--forest); color: rgba(255, 255, 255, .86);
  font-size: 12.5px; letter-spacing: .04em; line-height: 1.5;
  box-shadow: 0 -6px 24px rgba(13, 33, 26, .18);
}
body.has-preview { padding-bottom: 44px; }
.preview-bar a { color: var(--gold-2); border-bottom: 1px solid rgba(201, 164, 85, .5); }
.preview-bar a:hover { text-decoration: none; border-bottom-color: var(--gold-2); }

/* ---------------------------------------------------------------- 在线留言 */
.msg-wrap { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); }
.msg-head .sec-title { margin-bottom: 14px; }
.msg-lead { color: var(--ink-2); font-size: 14.5px; line-height: 1.95; margin: 0; }

.msg-form { margin: 0; }
.msg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.msg-field { display: block; }
.msg-field > span {
  display: block; font-size: 12px; letter-spacing: .12em;
  color: var(--ink-3); margin-bottom: 7px;
}
.msg-field > span i { font-style: normal; color: var(--clay); margin-left: 6px; letter-spacing: 0; }
.msg-field input, .msg-field select, .msg-field textarea {
  width: 100%; padding: 12px 14px; background: transparent;
  border: 1px solid var(--line); border-radius: 2px;
  font-family: var(--ff-body); font-size: 14.5px; color: var(--ink);
  transition: border-color .2s ease;
}
.msg-field textarea { resize: vertical; min-height: 120px; line-height: 1.8; }
.msg-field input:focus, .msg-field select:focus, .msg-field textarea:focus {
  outline: none; border-color: var(--forest);
}
.msg-field input::placeholder, .msg-field textarea::placeholder { color: #A79E8D; }
.msg-field--full { display: block; margin-top: 20px; }
/* 蜜罐：真人不可见，读屏也不读 */
.msg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.msg-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 26px; }
.msg-submit {
  padding: 13px 34px; border: 1px solid var(--forest); border-radius: 2px;
  background: var(--forest); color: #F6F1E4; cursor: pointer;
  font-family: var(--ff-body); font-size: 14px; letter-spacing: .14em;
  transition: background .25s ease, color .25s ease;
}
.msg-submit:hover { background: var(--forest-2); }
.msg-privacy { font-size: 12px; color: var(--ink-3); margin: 0; line-height: 1.7; }
.msg-privacy a { border-bottom: 1px solid var(--line); }
.msg-privacy a:hover { text-decoration: none; border-bottom-color: var(--ink-3); }

.msg-done { border-left: 2px solid var(--forest); padding: 4px 0 4px 20px; }
.msg-done b { display: block; font-family: var(--ff-display); font-size: 20px; margin-bottom: 8px; }
.msg-done p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.9; }
.msg-error {
  margin: 0 0 20px; padding: 11px 15px; font-size: 13.5px;
  color: var(--clay); background: rgba(142, 59, 46, .06);
  border-left: 2px solid var(--clay);
}

@media (max-width: 900px) {
  .msg-wrap { grid-template-columns: 1fr; }
  .msg-grid { grid-template-columns: 1fr; }
}

/* 表单控件的字号必须压在基础规则之后：同权重下媒体查询只管条件，不管优先级。
   iOS 在控件字号 <16px 时会强制放大整页，聚焦瞬间整屏跳一下。 */
@media (max-width: 640px) {
  .msg-field input, .msg-field select, .msg-field textarea { font-size: 16px; }
  .msg-field input, .msg-field select { padding: 13px 14px; }
  .msg-field textarea { line-height: 1.7; }
  .msg-submit { min-height: 48px; }
}

/* 奖牌墙 / 基地地图 / 包装矩阵的窄屏收口 */
@media (max-width: 980px) {
  .base-split { grid-template-columns: 1fr; gap: 28px; }
  .base-map { max-width: 460px; }
  .pack-row { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 640px) {
  .plate-wall { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .plate-img { padding: 12px; }
  .plate figcaption { padding: 14px 2px 0; }
  .plate-year { font-size: 24px; margin-bottom: 7px; }
  .plate h3 { font-size: 13.5px; line-height: 1.5; }
  .plate p { font-size: 11.5px; }
}

/* 360 及更窄：内页 h1 在 32px 下排不满一行，会把「资质与荣誉」「粮油」这类词劈成两截。
   降 2px 就能整行放下，只影响内页标题，首页主张标题不动。 */
@media (max-width: 374px) {
  .page-hero h1 { font-size: 30px; }
}
