/* =============================================================
   米小草精酿啤酒 · 品牌官网视觉系统
   色值严格依据《米小草精酿啤酒官方网站建设项目》第三章
   深墨绿 #172A24 / 黑 #171917 / 橄榄绿 #687B51
   香槟金 #C3A36A / 暖米白 #F4F1E9 / 深灰 #30332F
   ============================================================= */

:root {
  --ink: #172A24;
  --black: #171917;
  --olive: #687B51;
  --gold: #C3A36A;
  --paper: #F4F1E9;
  --text: #30332F;
  --white: #FFFFFF;

  --ink-soft: #20382F;
  --paper-deep: #EAE5D8;
  --line: rgba(23, 42, 36, 0.14);
  --line-light: rgba(244, 241, 233, 0.18);
  --muted: rgba(48, 51, 47, 0.66);
  --muted-light: rgba(244, 241, 233, 0.66);

  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB", Arial, sans-serif;
  --font-serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;

  --container: 1200px;
  --gutter: 32px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  /* 页脚 ICP 备案号颜色：深色页脚使用高对比浅色；若将来增加浅色页脚，覆盖此变量即可 */
  --footer-icp-color: rgba(244, 241, 233, 0.88);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--ink); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.container { width: min(100% - (var(--gutter) * 2), var(--container)); margin-inline: auto; }
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: var(--gold); color: var(--ink); padding: 10px 18px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------------- 通用排版 ---------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; line-height: 1.4;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .8; }
.eyebrow--plain::before { display: none; }

.display, h1, h2, .section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: .025em;
  line-height: 1.28;
}
.section-title { font-size: clamp(2rem, 3.6vw, 3.25rem); }
.section-title--sm { font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
.section-lead { font-size: 1.0625rem; line-height: 2; color: var(--muted); }
.body-copy p + p { margin-top: 1.15em; }
.body-copy { max-width: 62ch; }
.body-copy--wide { max-width: 76ch; }

.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section--tight { padding: clamp(64px, 7vw, 96px) 0; }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark .section-lead, .section--dark .muted { color: var(--muted-light); }
.section--black { background: var(--black); color: var(--paper); }
.section--paper-deep { background: var(--paper-deep); }
.section-head { margin-bottom: clamp(40px, 5vw, 68px); }
.section-head > * + * { margin-top: 20px; }
.section-head .section-lead { max-width: 60ch; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.section--dark .rule, .section--black .rule { background: var(--line-light); }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 12px 30px;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font-size: 14px; letter-spacing: .12em; line-height: 1.4;
  transition: background .28s var(--ease), color .28s var(--ease), border-color .28s var(--ease), transform .28s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn .arrow { font-size: 17px; line-height: 1; transform: translateX(0); transition: transform .28s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #D7BB85; border-color: #D7BB85; color: var(--ink); }
.btn--light { border-color: rgba(244,241,233,.6); color: var(--paper); }
.btn--light:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--sm { min-height: 44px; padding: 9px 22px; font-size: 13px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* 购买渠道外链（淘宝 / 京东，新窗口跳转第三方平台） */
.buy-channels { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.buy-channels__label { display: block; font-size: 10px; letter-spacing: .26em; color: var(--olive); }
.buy-channels__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.buy-channels__link {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 44px; padding: 9px 22px;
  border: 1px solid rgba(195,163,106,.6); border-radius: 2px;
  font-size: 13px; letter-spacing: .1em; color: var(--ink);
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.buy-channels__link span { font-size: 15px; line-height: 1; color: var(--gold); transition: color .25s var(--ease); }
.buy-channels__link:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-2px); }
.buy-channels__link:hover span { color: var(--ink); }
.buy-channels__link:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; letter-spacing: .1em; color: var(--gold);
  border-bottom: 1px solid currentColor; padding-bottom: 5px;
  transition: gap .25s var(--ease);
}
.text-link:hover { gap: 18px; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--header-h);
  background: rgba(23, 42, 36, .9);
  border-bottom: 1px solid rgba(195, 163, 106, .22);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { background: rgba(23, 42, 36, .97); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--paper); flex-shrink: 0; }
.brand-mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-serif); font-size: 19px; font-weight: 500; letter-spacing: .18em; }
.brand-text small { font-size: 8px; letter-spacing: .2em; color: rgba(244,241,233,.6); margin-top: 5px; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.site-nav a {
  position: relative; color: rgba(244,241,233,.78); font-size: 13px; letter-spacing: .06em;
  padding: 8px 0; white-space: nowrap; transition: color .25s var(--ease);
}
.site-nav a em { display: block; font-style: normal; font-size: 8px; letter-spacing: .18em; opacity: .5; margin-top: 2px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold); }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold);
}
.header-cta {
  flex-shrink: 0; border: 1px solid rgba(195,163,106,.7); color: var(--gold);
  padding: 9px 18px; font-size: 12px; letter-spacing: .12em;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.header-cta:hover { background: var(--gold); color: var(--ink); }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; background: none; border: 0; padding: 9px; }
.nav-toggle span { display: block; height: 1px; background: var(--paper); margin: 6px 0; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- 首屏 ---------------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
  background: radial-gradient(1100px 700px at 72% 42%, #244438 0%, #172A24 52%, #101C18 100%);
  color: var(--paper);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,20,17,.55) 0%, rgba(10,20,17,0) 60%);
}
.hero__inner { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 60px); padding-bottom: 100px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 40px; }
.hero__copy { max-width: 660px; }
.hero__title { font-size: clamp(2.4rem, 4.4vw, 3.9rem); margin-top: 30px; }
.hero__title span { display: block; }
.hero__sub { margin-top: 28px; font-size: clamp(1rem, 1.35vw, 1.15rem); line-height: 2; color: rgba(244,241,233,.76); max-width: 33em; }
.hero__en { margin-top: 42px; font-size: 10px; letter-spacing: .34em; line-height: 2.1; color: var(--gold); }
.hero__scroll { position: absolute; left: 50%; bottom: 34px; z-index: 3; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 9px; letter-spacing: .28em; color: rgba(244,241,233,.55); }
.hero__scroll::after { content: ""; width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); }
.hero__visual { position: relative; display: flex; justify-content: center; }
.hero__visual img { width: min(100%, 500px); height: auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,.45)); }
.hero__glow { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(195,163,106,.16), transparent 68%); top: 12%; left: 11%; pointer-events: none; }
.hero__visual img.is-photo {
  filter: none;
  border: 1px solid rgba(195,163,106,.3);
  border-radius: 2px;
  box-shadow: 0 34px 74px rgba(0,0,0,.58), 0 0 0 8px rgba(195,163,106,.045);
}

/* 内页首屏 */
.page-hero {
  position: relative; overflow: hidden; color: var(--paper);
  background: radial-gradient(900px 520px at 82% 30%, #244438 0%, #172A24 55%, #101C18 100%);
  padding: calc(var(--header-h) + clamp(88px, 11vw, 150px)) 0 clamp(72px, 9vw, 120px);
}
.page-hero__inner { position: relative; z-index: 2; }
.page-hero__title { font-size: clamp(2.4rem, 5vw, 4.4rem); margin-top: 26px; }
.page-hero__en { margin-top: 26px; font-size: 11px; letter-spacing: .34em; line-height: 2; color: var(--gold); }
.page-hero__lead { margin-top: 26px; max-width: 56ch; color: rgba(244,241,233,.74); line-height: 2; }
.page-hero__watermark {
  position: absolute; right: -2%; bottom: -6%; font-family: var(--font-serif);
  font-size: clamp(6rem, 16vw, 15rem); line-height: 1; color: rgba(244,241,233,.035);
  letter-spacing: .06em; pointer-events: none; white-space: nowrap;
}
.page-hero__no { position: absolute; right: 0; top: 40%; font-size: 11px; letter-spacing: .3em; color: var(--gold); writing-mode: vertical-rl; }

/* ---------------- 图片与占位标记 ---------------- */
.figure { position: relative; overflow: hidden; background: var(--paper-deep); }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--frame { border: 1px solid var(--line); }
.figure--dark { background: var(--ink); }
.figure__tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  background: rgba(23, 42, 36, .82); color: var(--paper);
  border: 1px solid rgba(195,163,106,.45);
  font-size: 10px; letter-spacing: .1em; padding: 5px 10px; line-height: 1.5;
}
.figure__alt { display: block; margin-top: 12px; font-size: 12px; color: var(--muted); }
.section--dark .figure__alt { color: var(--muted-light); }
.placeholder-badge {
  display: inline-block; border: 1px dashed var(--olive); color: var(--olive);
  font-size: 11px; letter-spacing: .08em; padding: 3px 9px; line-height: 1.6; margin-left: 8px;
  vertical-align: middle;
}
.section--dark .placeholder-badge { border-color: rgba(195,163,106,.6); color: var(--gold); }
.notice {
  border-left: 2px solid var(--gold); background: rgba(195,163,106,.09);
  padding: 18px 22px; font-size: 13px; line-height: 1.9; color: var(--muted);
}
.section--dark .notice, .section--black .notice { color: var(--muted-light); background: rgba(195,163,106,.07); }
.notice strong { color: var(--text); }
.section--dark .notice strong { color: var(--paper); }

/* ---------------- 栅格与卡片 ---------------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 6vw, 88px); align-items: center; }
.grid-2--top { align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.section--dark .grid-3, .section--black .grid-3 { background: var(--line-light); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.feature-card { background: var(--ink); padding: clamp(30px, 3.6vw, 54px) clamp(24px, 3vw, 42px) clamp(38px, 4vw, 60px); }
.section--dark .feature-card { background: var(--ink); }
.feature-card__no { font-family: var(--font-serif); font-size: 2.6rem; color: var(--gold); line-height: 1; }
.feature-card h3 { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 400; margin: 26px 0 16px; letter-spacing: .06em; }
.feature-card p { font-size: 14px; line-height: 2; color: var(--muted-light); }
.feature-card--paper { background: var(--paper); }
.feature-card--paper h3 { color: var(--ink); }
.feature-card--paper p { color: var(--muted); }

.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.stat { border-top: 1px solid var(--line); padding-top: 22px; }
.section--dark .stat { border-color: var(--line-light); }
.stat strong { display: block; font-family: var(--font-serif); font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 400; color: var(--gold); }
.stat span { display: block; font-size: 12px; letter-spacing: .12em; color: var(--muted); margin-top: 8px; }
.section--dark .stat span { color: var(--muted-light); }

/* ---------------- 叙事 / 时间线 ---------------- */
.story-block { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: clamp(20px, 4vw, 60px); padding: clamp(40px, 5vw, 70px) 0; border-top: 1px solid var(--line); }
.story-block:first-child { border-top: 0; padding-top: 0; }
.story-block__no { font-family: var(--font-serif); font-size: 2.4rem; color: var(--gold); line-height: 1; }
.story-block h2 { font-family: var(--font-serif); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 400; margin-bottom: 22px; }
.story-block p { color: var(--muted); line-height: 2.05; max-width: 68ch; }
.story-block p + p { margin-top: 1em; }
.story-block__media { margin-top: 30px; }
.story-block__media .figure { aspect-ratio: 16 / 7; }

.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline__item { position: relative; padding-bottom: 44px; }
.timeline__item::before { content: ""; position: absolute; left: -33px; top: 10px; width: 9px; height: 9px; border: 1px solid var(--gold); border-radius: 50%; background: var(--paper); }
.timeline__item h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.3rem; margin-bottom: 10px; }
.timeline__item p { color: var(--muted); font-size: 14px; line-height: 2; }

/* ---------------- 产品 / 参数 ---------------- */
.product-showcase { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.product-showcase__visual { position: relative; }
.product-showcase__visual .figure { aspect-ratio: 4 / 5; }
.zoomable { cursor: zoom-in; }
.zoom-hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12px; letter-spacing: .08em; color: var(--gold); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.gallery .figure { aspect-ratio: 1 / 1; cursor: zoom-in; transition: transform .3s var(--ease); }
.gallery .figure:hover { transform: translateY(-4px); }

.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 17px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 30%; font-weight: 500; color: var(--ink); letter-spacing: .06em; }
.spec-table td { color: var(--muted); }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 1px solid var(--line); }
.spec-table .is-placeholder { color: var(--olive); }
.spec-table .is-done { color: var(--ink); font-weight: 600; }

.flavor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.flavor { background: var(--paper); padding: clamp(24px, 3vw, 38px) clamp(18px, 2vw, 28px); }
.flavor__step { font-size: 10px; letter-spacing: .24em; color: var(--gold); }
.flavor h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.5rem; margin: 18px 0 14px; }
.flavor p { font-size: 13px; line-height: 1.95; color: var(--muted); }

.ingredient { border-top: 1px solid var(--line-light); padding: 28px 0; display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 20px; }
.ingredient:last-child { border-bottom: 1px solid var(--line-light); }
.ingredient__no { font-family: var(--font-serif); font-size: 1.8rem; color: var(--gold); line-height: 1.2; }
.ingredient h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.3rem; margin-bottom: 10px; }
.ingredient p { font-size: 14px; color: var(--muted-light); line-height: 1.95; }

/* 植物特征小卡 */
.traits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 38px; }
.trait { border: 1px solid var(--line); padding: 24px 20px; }
.trait strong { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 1.15rem; color: var(--ink); margin-bottom: 10px; }
.trait p { font-size: 13px; line-height: 1.9; color: var(--muted); }

/* ---------------- 工艺流程 ---------------- */
.process-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.process-step {
  position: relative; background: none; border: 0; border-right: 1px solid var(--line-light);
  color: var(--muted-light); text-align: left; padding: 30px 20px 26px; min-height: 148px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.process-step:last-child { border-right: 0; }
.process-step:hover { background: rgba(195,163,106,.07); }
.process-step.is-active { background: rgba(195,163,106,.13); color: var(--paper); }
.process-step.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); }
.process-step__no { display: block; font-family: var(--font-serif); font-size: 1.9rem; color: var(--gold); line-height: 1; }
.process-step__name { display: block; margin-top: 20px; font-size: 15px; letter-spacing: .08em; }
.process-detail { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; margin-top: 44px; }
.process-detail__text h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 18px; }
.process-detail__text p { color: var(--muted-light); line-height: 2; max-width: 52ch; }
.process-detail__text .eyebrow { margin-bottom: 20px; }
.process-detail .figure { aspect-ratio: 16 / 9; }

/* ---------------- 表单 ---------------- */
.form-layout { display: grid; grid-template-columns: 1fr .72fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; letter-spacing: .06em; color: var(--ink); }
.field label .req { color: #A7472F; margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(255,255,255,.5); border: 1px solid rgba(23,42,36,.24);
  color: var(--text); padding: 13px 15px; font-size: 14px; border-radius: 0;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--olive); background: var(--white); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #A7472F; }
.field__error { font-size: 12px; color: #A7472F; min-height: 0; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.form-note { font-size: 12px; color: var(--muted); line-height: 1.8; }
.form-feedback { margin-top: 26px; padding: 22px 24px; border: 1px solid var(--olive); background: rgba(104,123,81,.08); }
.form-feedback[hidden] { display: none; }
.form-feedback h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.25rem; margin-bottom: 10px; }
.form-feedback p { font-size: 13px; color: var(--muted); line-height: 1.9; }
.form-feedback code { font-size: 12px; background: rgba(23,42,36,.08); padding: 2px 6px; }

.contact-card { background: var(--ink); color: var(--paper); padding: clamp(30px, 4vw, 48px); }
.contact-card h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.5rem; margin-bottom: 26px; }
.contact-list li { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-top: 1px solid var(--line-light); font-size: 13px; line-height: 1.8; }
.contact-list li span:first-child { color: var(--muted-light); flex-shrink: 0; }
.contact-list li span:last-child { text-align: right; color: var(--gold); }
.records { margin-top: 34px; }
.records__toggle { background: none; border: 0; padding: 0; color: var(--olive); font-size: 13px; border-bottom: 1px solid currentColor; }
.records__body { margin-top: 16px; font-size: 12px; color: var(--muted); }
.records__body[hidden] { display: none; }
.records__item { padding: 12px 0; border-bottom: 1px dashed var(--line); line-height: 1.8; }
.records__item strong { color: var(--ink); }

/* ---------------- 合作方向卡片 ---------------- */
.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.partner-card { background: var(--paper); padding: clamp(28px, 3.4vw, 44px); }
.partner-card__no { font-size: 11px; letter-spacing: .24em; color: var(--gold); }
.partner-card h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.4rem; margin: 18px 0 12px; }
.partner-card p { font-size: 14px; color: var(--muted); line-height: 1.95; }

/* ---------------- 引用 / 收尾 ---------------- */
.quote-block { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(50px, 7vw, 90px) 0; text-align: center; }
.quote-block p { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.8; color: var(--ink); }
.quote-block .eyebrow { margin-bottom: 26px; }
.cta-band { text-align: center; }
.cta-band .section-title { max-width: 18ch; margin-inline: auto; }
.cta-band .section-lead { margin: 24px auto 0; }
.cta-band .btn-row { justify-content: center; }
.next-page { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 38px 0; border-top: 1px solid var(--line); }
.next-page span { font-size: 11px; letter-spacing: .24em; color: var(--muted); }
.next-page a { font-family: var(--font-serif); font-size: clamp(1.3rem, 2.4vw, 2rem); color: var(--ink); transition: color .25s var(--ease); }
.next-page a:hover { color: var(--olive); }

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--black); color: var(--paper); padding: clamp(60px, 7vw, 90px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: clamp(30px, 5vw, 80px); }
.footer-brand .brand { margin-bottom: 22px; }
.footer-brand p { font-size: 13px; color: var(--muted-light); line-height: 2; max-width: 28ch; }
.footer-col h4 { font-size: 11px; letter-spacing: .24em; color: var(--gold); font-weight: 600; margin-bottom: 22px; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.footer-nav a { font-size: 13px; color: rgba(244,241,233,.72); transition: color .25s var(--ease); }
.footer-nav a:hover { color: var(--gold); }
.footer-nav a em { font-style: normal; font-size: 9px; letter-spacing: .14em; opacity: .5; margin-left: 6px; }
.footer-contact li { font-size: 13px; color: var(--muted-light); padding: 7px 0; }
.footer-contact li span { color: var(--paper); }
.footer-extra { margin-top: 26px; }
.footer-extra a { font-size: 12px; color: var(--gold); border-bottom: 1px solid rgba(195,163,106,.5); padding-bottom: 3px; }
.footer-bottom { margin-top: clamp(50px, 6vw, 80px); border-top: 1px solid var(--line-light); padding: 24px 0 28px; display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between; font-size: 11px; color: rgba(244,241,233,.45); letter-spacing: .04em; }
.footer-bottom span + span { text-align: right; }

/* 页脚 ICP 备案号：真实外链，字号略大于页脚正文，颜色随主题变量 */
.footer-icp {
  color: var(--footer-icp-color);
  font-size: 12px;
  letter-spacing: .04em;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.footer-icp:hover, .footer-icp:focus-visible { color: var(--gold); }
.footer-icp:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------------- 灯箱 ---------------- */
.lightbox { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; padding: 5vh 5vw; background: rgba(10, 18, 15, .93); backdrop-filter: blur(6px); }
.lightbox.is-open { display: flex; }
.lightbox__figure { max-width: min(900px, 90vw); text-align: center; }
.lightbox__figure img { max-height: 76vh; width: auto; max-width: 100%; margin-inline: auto; object-fit: contain; }
.lightbox__caption { color: var(--muted-light); font-size: 13px; margin-top: 18px; line-height: 1.8; }
.lightbox__caption strong { color: var(--gold); font-weight: 500; }
.lightbox__close, .lightbox__nav { position: absolute; background: none; border: 1px solid var(--line-light); color: var(--paper); width: 46px; height: 46px; font-size: 20px; line-height: 1; transition: background .25s var(--ease); }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(195,163,106,.2); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
body.no-scroll { overflow: hidden; }

/* ---------------- 滚动动效 ---------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 12px; }
  .header-cta { display: none; }
  .grid-4, .flavor-grid, .traits { grid-template-columns: repeat(2, 1fr); }
  .process-track { grid-template-columns: repeat(5, minmax(180px, 1fr)); overflow-x: auto; }
}

@media (max-width: 900px) {
  :root { --gutter: 22px; --header-h: 68px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 0;
    padding: 0 var(--gutter); max-height: 0; overflow: hidden;
    transition: max-height .4s var(--ease), padding .4s var(--ease);
  }
  .site-nav.is-open {
    max-height: 70vh; overflow-y: auto;
    padding: 14px var(--gutter) 24px; border-bottom: 1px solid rgba(195,163,106,.3);
  }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line-light); font-size: 15px; }
  .site-nav a em { display: inline; margin-left: 10px; font-size: 9px; }
  .site-nav a[aria-current="page"]::after { display: none; }
  .hero__inner { grid-template-columns: 1fr; text-align: left; padding-top: calc(var(--header-h) + 46px); padding-bottom: 64px; gap: 30px; }
  .hero__visual { order: 0; }
  .hero__visual img { width: min(76%, 320px); }
  .hero { min-height: auto; }
  .hero__scroll { display: none; }
  .grid-2, .product-showcase, .form-layout, .process-detail, .footer-grid { grid-template-columns: 1fr; }
  .grid-3, .partner-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 40px; }
  .story-block { grid-template-columns: 56px minmax(0, 1fr); }
  .product-showcase__visual .figure { max-width: 420px; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .hero__title { font-size: clamp(2rem, 8.4vw, 2.7rem); }
  .hero__en { margin-top: 28px; }
  .btn { min-height: 48px; padding: 10px 22px; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .grid-4, .flavor-grid, .traits, .stat-strip { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .spec-table th, .spec-table td { padding: 13px 10px; font-size: 13px; }
  .spec-table th { width: 38%; }
  .story-block { grid-template-columns: 1fr; gap: 12px; }
  .story-block__no { font-size: 1.8rem; }
  .ingredient { grid-template-columns: 46px minmax(0, 1fr); gap: 12px; }
  .footer-bottom { flex-direction: column; }
  .footer-bottom span + span { text-align: left; }
  .footer-icp { display: inline-block; font-size: 13px; padding: 5px 0; }
  .lightbox__nav { width: 38px; height: 38px; top: auto; bottom: 18px; transform: none; }
  .lightbox__nav--prev { left: 20px; }
  .lightbox__nav--next { right: 20px; }
  .page-hero__no { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 深色区块可读性补充（黑色区块与深绿区块一致） ---------- */
.section--black .section-lead, .section--black .muted { color: var(--muted-light); }
.section--black .figure__alt { color: var(--muted-light); }
.section--black .placeholder-badge { border-color: rgba(195,163,106,.6); color: var(--gold); }
.section--black .notice strong { color: var(--paper); }
.section--black .stat { border-color: var(--line-light); }
.section--black .stat span { color: var(--muted-light); }
.spec-table thead th { width: auto; border-bottom: 1px solid var(--ink); }

/* ---------- 核心参数四项：沿用 .stat 组件，四列 / 平板与手机两列 ---------- */
.stat-strip--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-strip--four .stat strong { font-size: clamp(1.5rem, 2.6vw, 2.5rem); }
@media (max-width: 900px) {
  .stat-strip--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .stat-strip--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 参数表文字：避免表名与长字段出现孤字换行 ---------- */
.spec-table th { white-space: nowrap; }
.spec-table caption { white-space: nowrap; }
@media (max-width: 600px) {
  .stat-strip--four .stat span { font-size: 11px; letter-spacing: .02em; }
  #moreInfo .spec-table th { white-space: normal; }
  #moreInfo .spec-table td { overflow-wrap: anywhere; }
}

/* ---------- 商业摄影：超宽叙事容器中保留人物主体 ---------- */
.story-block__media .figure img[src$="lab.jpg"] { object-position: 50% 0%; }
