/* ==========================================================================
   芭欧德 BIODERPAC · 视觉系统 v2
   取向：植物学刊物 / 田野档案。暖白纸底、墨绿与赤陶，
   大字号中文衬线、细线网格、编号与图版。
   ========================================================================== */

:root {
  /* 色 */
  --ink: #0f1a14;
  --ink-soft: #1b2a21;
  --ink-2: #3a4a40;
  --ink-3: #6b7a70;
  --paper: #f7f4ed;
  --paper-2: #efeade;
  --paper-3: #e6e0d1;
  --moss: #3d5a43;
  --moss-mid: #7d9a80;
  --terra: #a8502f;
  --terra-soft: #c97a55;
  --line: rgba(15, 26, 20, 0.15);
  --line-hard: rgba(15, 26, 20, 0.32);
  --line-light: rgba(247, 244, 237, 0.18);

  /* 字 */
  --serif: "Noto Serif SC", "Songti SC", "STSong", "Source Han Serif SC", Georgia, serif;
  --sans: "Space Grotesk", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* 尺 */
  --wrap: 1240px;
  --gut: clamp(20px, 5vw, 60px);
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.78;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* 纸纹：极轻的颗粒，压住纯色背景的平板感 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.22'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

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

.hero-grid > *, .split > *, .cards > *, .plates > *, .figures > *,
.section-head > *, .footer-top > *, .contact-grid > * { min-width: 0; }
.table-wrap { max-width: 100%; }

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

::selection { background: var(--terra); color: var(--paper); }

/* ---------- 排版基件 ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gut);
  position: relative;
  z-index: 2;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--terra);
  display: block;
  flex: none;
}
.section.dark .eyebrow { color: var(--moss-mid); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
  line-height: 1.12;
}

h1 { font-size: clamp(2.6rem, 6.9vw, 5.9rem); line-height: 1.08; font-weight: 900; letter-spacing: -0.022em; }
h2 { font-size: clamp(1.75rem, 3.9vw, 3.05rem); line-height: 1.2; letter-spacing: -0.018em; }
h3 { font-size: clamp(1.14rem, 1.9vw, 1.4rem); line-height: 1.45; letter-spacing: -0.012em; }
h4 { font-size: 1rem; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.86;
  color: var(--ink-2);
  max-width: 34em;
}

.muted { color: var(--ink-3); }
.small { font-size: 14px; line-height: 1.78; }
.small.muted { max-width: 38em; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; }

em {
  font-style: normal;
  color: var(--terra);
  box-shadow: inset 0 -0.42em 0 rgba(168, 80, 47, 0.12);
}
.section.dark em { color: var(--terra-soft); }

/* 数字用带点等宽的衬线体，tabular 对齐 */
.num, [data-count] { font-variant-numeric: tabular-nums; }

/* ---------- 顶部进度条 ---------- */

.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--terra);
  z-index: 200;
  will-change: transform;
}

/* ---------- 导航 ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px var(--gut);
  transition: padding 0.5s var(--ease), background 0.5s var(--ease),
              border-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(247, 244, 237, 0.82);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line);
  padding-top: 15px;
  padding-bottom: 15px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  position: relative;
  z-index: 102;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.05em;
  line-height: 1.1;
}
.brand img { width: 60px; height: auto; flex: none; }
.brand span.en {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--moss);
  display: block;
  line-height: 1.5;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 46px);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav-links a {
  position: relative;
  padding: 7px 0;
  color: var(--ink-2);
  transition: color 0.35s var(--ease);
}
/* 当前项 / 悬停时，字前面亮一个小赤陶点 */
.nav-links > a:not(.nav-cta)::before {
  content: "";
  position: absolute;
  left: -13px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terra);
  transform: translateY(-50%) scale(0);
  transition: transform 0.45s var(--ease), background 0.35s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 1px;
  width: 100%; height: 2px;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::before { transform: translateY(-50%) scale(1); background: var(--terra-soft); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active {
  color: var(--ink);
  font-weight: 600;
}
.nav-links a.active::before { transform: translateY(-50%) scale(1); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  font-family: var(--mono);
  font-size: 12.5px !important;
  font-weight: 500;
  letter-spacing: 0.1em;
  border: 1px solid var(--line-hard);
  padding: 10px 18px !important;
  color: var(--ink) !important;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--ink); color: var(--paper) !important; border-color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--ink);
  margin: 6px 0;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}

/* ---------- 首页主视觉 ---------- */

.hero {
  position: relative;
  padding: clamp(150px, 20vh, 218px) 0 clamp(56px, 8vh, 96px);
  overflow: hidden;
}

/* 顶部的细网格线，像测绘稿 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0 var(--gut);
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 12.5%);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 62%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 62%, transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.78fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: end;
  position: relative;
  z-index: 2;
}

.hero h1 { margin-bottom: 32px; }
.hero h1 .thin {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(13px, 1.55vw, 21px);
  letter-spacing: 0.03em;
  color: var(--moss);
  margin-bottom: 22px;
  line-height: 1.5;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.hero .lead { max-width: 30em; }

.hero-index {
  border-top: 1.5px solid var(--ink);
  align-self: end;
  padding-bottom: 4px;
  position: relative;
}
.idx-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0 14px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.idx-head span:last-child { letter-spacing: 0.14em; }

.hero-index a {
  display: grid;
  grid-template-columns: 38px 1fr 16px;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-2);
  transition: color 0.35s var(--ease), padding-left 0.45s var(--ease);
}
.hero-index a .n {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--terra);
}
.hero-index a .ar {
  font-size: 11px;
  color: var(--moss);
  opacity: 0.45;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.hero-index a:hover { color: var(--ink); padding-left: 7px; }
.hero-index a:hover .ar { opacity: 1; transform: translateX(3px); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.hero-meta b { color: var(--ink); font-weight: 500; }

.marquee + .wrap { padding-top: clamp(34px, 5vw, 58px); }

/* ---------- 数字条 ---------- */

.figures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-hard);
  border-bottom: 1px solid var(--line-hard);
}
.figures > div {
  padding: clamp(26px, 3.4vw, 42px) clamp(14px, 2vw, 30px) clamp(24px, 3vw, 34px);
  border-left: 1px solid var(--line);
  position: relative;
}
.figures > div:first-child { border-left: 0; padding-left: 0; }
.figures .num {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2.1rem, 3.9vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  display: block;
  margin-bottom: 12px;
}
.figures .num i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.34em;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--terra);
  margin-left: 6px;
  vertical-align: 0.42em;
}
.figures .cap {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-3);
  max-width: 15em;
}

/* ---------- 通用区块 ---------- */

.section {
  padding: clamp(76px, 12vh, 140px) 0;
  position: relative;
}
.section.tight { padding: clamp(52px, 7vh, 84px) 0; }

.section.dark {
  background: var(--ink);
  color: var(--paper);
}
.section.dark .lead { color: rgba(247, 244, 237, 0.7); }
.section.dark .muted { color: rgba(247, 244, 237, 0.46); }
.section.dark .small.muted { color: rgba(247, 244, 237, 0.46); }
.section.dark .line-top { border-top-color: var(--line-light); }
.section.dark h2 { color: var(--paper); }

/* 区块右上角的大号编号，作为版面锚点 */
.sec-no {
  position: absolute;
  top: clamp(64px, 10vh, 110px);
  right: var(--gut);
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(3rem, 7.6vw, 6.4rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  opacity: 0.5;
  -webkit-text-stroke: 1px var(--line);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.section.dark .sec-no { -webkit-text-stroke-color: rgba(247, 244, 237, 0.16); }

.section-head {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(38px, 5.5vw, 70px);
  position: relative;
  z-index: 2;
}
.section-head .lead { margin: 0; }

.line-top { border-top: 1px solid var(--line); padding-top: clamp(28px, 4vw, 46px); }

/* ---------- 双栏内容 ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
  position: relative;
  z-index: 2;
}
.split.wide-left { grid-template-columns: 1.22fr 0.78fr; }
.split.wide-right { grid-template-columns: 0.8fr 1.2fr; }

.sticky { position: sticky; top: 104px; }

/* ---------- 卡片 ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  position: relative;
  z-index: 2;
}
.cards.two { grid-template-columns: repeat(2, 1fr); }

.card {
  border-top: 1.5px solid var(--ink);
  padding: 24px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: transform 0.5s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  top: -1.5px; left: 0;
  height: 1.5px; width: 0;
  background: var(--terra);
  transition: width 0.6s var(--ease);
}
.card:hover::after { width: 100%; }
.card:hover { transform: translateY(-3px); }
.card .idx {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--terra);
  text-transform: uppercase;
}
.card h3 { font-size: 1.3rem; }
.card p { font-size: 14.8px; line-height: 1.82; color: var(--ink-2); }
.card .more {
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.card .more span { transition: transform 0.4s var(--ease); }
.card:hover .more span { transform: translateX(5px); }

.section.dark .card { border-top-color: var(--line-light); }
.section.dark .card::after { background: var(--terra); }
.section.dark .card p { color: rgba(247, 244, 237, 0.66); }
.section.dark .card .more { color: var(--paper); }
.section.dark .card .idx { color: var(--terra-soft); }

/* ---------- 图版 ---------- */

.plates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 3.2vw, 42px) clamp(16px, 2.2vw, 28px);
  position: relative;
  z-index: 2;
}
.plates.two { grid-template-columns: repeat(2, 1fr); }

.plate { margin: 0; }

.plate .frame {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: 4 / 3;
  /* 图片揭示：先被裁掉，进入视口再展开 */
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.05s var(--ease);
}
.plate.in .frame, .plate .frame.in { clip-path: inset(0 0 0 0); }
.plate .frame.tall { aspect-ratio: 3 / 4; }
.plate .frame.square { aspect-ratio: 1 / 1; }
.plate .frame.wide { aspect-ratio: 16 / 9; }

/* 深底资料页：深墨衬边 + contain，避免浅底上出现黑砖 */
.plate .frame.doc {
  background: var(--ink);
  padding: clamp(9px, 1.3vw, 18px);
  aspect-ratio: 4 / 3;
}
.plate .frame.doc img { object-fit: contain; filter: none; }
.plate .frame.doc:hover img { transform: none; }

/* 白底产品图：完整显示 */
.plate .frame.pack {
  background: transparent;
  aspect-ratio: 0.72;
}
.plate .frame.pack img {
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(15, 26, 20, 0.14));
}
.section.dark .plate .frame.pack img {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
}
.plate .frame.pack img { object-fit: contain; filter: none; }
.plate .frame.pack:hover img { transform: none; }

.plate img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.02);
  transform: scale(1.06);
  transition: transform 1.4s var(--ease), filter 0.7s var(--ease);
}
.plate.in img { transform: scale(1); }
.plate:hover img { transform: scale(1.035); filter: saturate(1.02) contrast(1.03); }

.plate figcaption {
  margin-top: 13px;
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--ink-2);
  padding-left: 11px;
  border-left: 1px solid var(--line-hard);
}
.plate figcaption .tag {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 5px;
}
.section.dark .plate figcaption { color: rgba(247, 244, 237, 0.6); border-left-color: var(--line-light); }
.section.dark .plate figcaption .tag { color: var(--terra-soft); }

/* 证据性质小标：自家试验 / 公开文献 / 机理方向，逐条挂在段首 */
.ev {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.6;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  border: 1px solid rgba(168, 80, 47, 0.35);
  padding: 1px 7px 2px;
  margin-right: 9px;
  vertical-align: 2px;
  white-space: nowrap;
}
.section.dark .ev { color: var(--terra-soft); border-color: rgba(201, 122, 85, 0.4); }
.section.dark .plate .frame { background: var(--ink-soft); }
.section.dark .plate .frame.pack { background: transparent; }
/* 产品页首屏：瓶子不要压过标题 */
.page-head .plate .frame.pack { max-width: 320px; margin-left: auto; }

/* 图鉴区：文档类截图不裁切，白底衬板 */
#plates .plate .frame { background: #fff; }
#plates .plate .frame img { object-fit: contain; }

/* 满宽大图 */
.banner {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.banner img {
  width: 100%;
  height: clamp(300px, 58vh, 620px);
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}
.banner .cap {
  position: absolute;
  left: var(--gut); bottom: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

/* ---------- 表格 ---------- */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.72;
}
table.data th, table.data td {
  text-align: left;
  padding: 15px 18px 15px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.data th {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 500;
  border-bottom: 1.5px solid var(--ink);
  white-space: nowrap;
  padding-bottom: 11px;
}
table.data td:first-child { color: var(--ink); font-weight: 500; white-space: nowrap; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr { transition: background 0.3s var(--ease); }
table.data tbody tr:hover { background: rgba(15, 26, 20, 0.026); }
table.data .num { font-family: var(--mono); font-size: 12.5px; letter-spacing: -0.01em; }

.section.dark table.data th { color: rgba(247, 244, 237, 0.5); border-bottom-color: var(--line-light); }
.section.dark table.data td { border-bottom-color: var(--line-light); }
.section.dark table.data tbody tr:hover { background: rgba(247, 244, 237, 0.04); }

/* ---------- 条文列表 ---------- */

.rules {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: r;
}
.rules li {
  counter-increment: r;
  position: relative;
  padding: 17px 0 17px 42px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.85;
}
.rules li:first-child { border-top: 1px solid var(--line); }
.rules li:last-child { border-bottom: 0; }
.rules li::before {
  content: counter(r, decimal-leading-zero);
  position: absolute;
  left: 0; top: 19px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--terra);
}
.rules li b { font-weight: 600; }
.section.dark .rules li { border-bottom-color: var(--line-light); }
.section.dark .rules li:first-child { border-top-color: var(--line-light); }
.section.dark .rules li::before { color: var(--terra-soft); }

/* ---------- 引言 ---------- */

.pullquote {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.1vw, 2.5rem);
  line-height: 1.48;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 22em;
  padding-left: clamp(20px, 3vw, 40px);
  border-left: 2px solid var(--terra);
  text-indent: -0.02em;
}

/* ---------- 标签 ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  border: 1px solid var(--line-hard);
  padding: 6px 12px;
  color: var(--ink-2);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.chip:hover { background: var(--ink); color: var(--paper); }
.section.dark .chip { border-color: var(--line-light); color: rgba(247, 244, 237, 0.72); }

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  padding: 14px 26px;
  border: 1px solid var(--line-hard);
  position: relative;
  overflow: hidden;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
  z-index: 1;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
  z-index: -1;
}
.btn:hover { color: var(--paper); border-color: var(--ink); }
.btn:hover::before { transform: translateY(0); }
.btn span { transition: transform 0.4s var(--ease); }
.btn:hover span { transform: translateX(4px); }

.btn.solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn.solid::before { background: var(--terra); }
.btn.solid:hover { border-color: var(--terra); }

.btn.light { border-color: rgba(247, 244, 237, 0.42); color: var(--paper); }
.btn.light::before { background: var(--paper); }
.btn.light:hover { color: var(--ink); border-color: var(--paper); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- 页内目录 ---------- */

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  padding: 18px 0;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  position: relative;
  z-index: 2;
}
.toc a { transition: color 0.3s var(--ease); }
.toc a:hover { color: var(--ink); }
.toc b { color: var(--terra); font-weight: 400; margin-right: 7px; }

/* ---------- 内页页头 ---------- */

.page-head {
  padding: clamp(142px, 19vh, 204px) 0 clamp(36px, 5vh, 60px);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0 var(--gut);
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 12.5%);
  opacity: 0.4;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, transparent);
}
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.page-head .lead { max-width: 40em; margin-top: 26px; }
.page-head .wrap { z-index: 2; }

/* ---------- 运行英文带 ---------- */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  background: var(--paper-2);
  position: relative;
  z-index: 2;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: slide 46s linear infinite;
}
.marquee span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 0 28px;
  white-space: nowrap;
}
.marquee span i { color: var(--terra); font-style: normal; }
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 建设中 ---------- */

.soon {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px 0 90px;
  position: relative;
}
.soon .mark {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  color: var(--terra);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.soon .mark::after {
  content: "";
  height: 1px;
  width: 60px;
  background: var(--terra);
  opacity: 0.5;
}
.soon h1 { font-size: clamp(2.2rem, 6vw, 4.8rem); }
.soon .desc {
  margin-top: 32px;
  max-width: 32em;
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.95;
}
.soon-rule {
  margin: 48px 0 0;
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.soon-rule::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 22%;
  background: var(--terra);
  animation: sweep 4.5s var(--ease-io) infinite;
}
@keyframes sweep {
  0% { transform: translateX(-110%); }
  62%, 100% { transform: translateX(480%); }
}

/* ---------- 页脚 ---------- */

.footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(60px, 9vh, 100px) 0 32px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  right: -4%; top: -18%;
  width: 44vw; height: 44vw;
  border: 1px solid rgba(247, 244, 237, 0.07);
  border-radius: 50%;
  pointer-events: none;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 0.62fr 0.62fr;
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-light);
  position: relative;
  z-index: 2;
}
.footer .brand { font-size: 21px; margin-bottom: 18px; color: var(--paper); }
.footer .brand img { width: 48px; }
.footer .brand span.en { color: var(--moss-mid); }
.footer p { font-size: 13px; line-height: 1.85; color: rgba(247, 244, 237, 0.55); max-width: 26em; }
.footer h4 {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss-mid);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; font-size: 13.5px; }
.footer li a { color: rgba(247, 244, 237, 0.7); transition: color 0.3s var(--ease), padding-left 0.3s var(--ease); }
.footer li a:hover { color: var(--paper); padding-left: 4px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: rgba(247, 244, 237, 0.38);
  position: relative;
  z-index: 2;
}
.footer-bottom .tel { color: rgba(247, 244, 237, 0.8); letter-spacing: 0.18em; }

/* ---------- 动效 ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(5px);
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease), filter 0.95s var(--ease);
}
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal.d1 { transition-delay: 0.09s; }
.reveal.d2 { transition-delay: 0.18s; }
.reveal.d3 { transition-delay: 0.27s; }

/* 光标跟随（桌面） */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  border: 1px solid var(--terra);
  border-radius: 50%;
  pointer-events: none;
  z-index: 300;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease), height 0.35s var(--ease),
              background 0.35s var(--ease), opacity 0.3s var(--ease);
  opacity: 0;
  mix-blend-mode: multiply;
}
.cursor.on { opacity: 1; }
.cursor.grow {
  width: 38px; height: 38px;
  background: rgba(168, 80, 47, 0.1);
}
@media (pointer: coarse), (prefers-reduced-motion: reduce) { .cursor { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .plate .frame { clip-path: none; }
  .plate img { transform: none; }
  .soon-rule::after { animation: none; }
  .marquee-track { animation: none; }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1180px) {
  .cards[style*="repeat(5"] { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .cards[style*="repeat(5"] { grid-template-columns: repeat(2, 1fr) !important; }
  .hero h1 .thin { padding-bottom: 16px; margin-bottom: 18px; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .split, .split.wide-left, .split.wide-right { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .cards, .cards.two { grid-template-columns: 1fr; }
  .cards { gap: 26px; }
  .plates { grid-template-columns: repeat(2, 1fr); }
  .figures { grid-template-columns: repeat(2, 1fr); }
  .figures > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .figures > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .sec-no { font-size: clamp(3rem, 12vw, 5rem); top: 44px; }
}

/* 导航切折叠菜单：960 以下换成汉堡，避免五条中文挤成两行 */
@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    inset: 0 0 auto 0;
    padding: 96px var(--gut) 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    transform: translateY(-102%);
    transition: transform 0.55s var(--ease);
    font-size: 18px;
    box-shadow: 0 24px 40px -24px rgba(15, 26, 20, 0.18);
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 15px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a::before { display: none; }
  .nav-links a::after { bottom: -1px; height: 2px; }
  .nav-cta { display: inline-flex; margin-top: 18px; border-bottom: 1px solid var(--line-hard) !important; }
  .brand { gap: 11px; font-size: 19px; }
  .brand img { width: 46px; }
  .brand span.en { font-size: 9px; letter-spacing: 0.26em; margin-top: 3px; }
  .nav-toggle { display: block; z-index: 101; }
  .nav-toggle.on span:first-child { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.on span:last-child { transform: translateY(-7.5px) rotate(-45deg); }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  :root { --gut: 20px; }
  .plates, .plates.two { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr 1fr; }
  .figures > div { padding: 22px 14px 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .pullquote { font-size: 1.28rem; padding-left: 18px; }
  .btn-row { gap: 10px; }
  .btn { padding: 13px 20px; font-size: 13px; }
  .sec-no { display: none; }
  .hero::before, .page-head::before { background-image: none; }
}

/* 副作用等「必须一起说」的段落：浅纸底 + 赤陶竖线，从正文里拎出来 */
.ev-panel {
  margin-top: 20px;
  max-width: 50em;
  padding: clamp(20px, 2.6vw, 30px) clamp(18px, 2.6vw, 34px);
  background: var(--paper-2);
  border-left: 2px solid var(--terra);
}
.ev-panel p { max-width: none; }
.ev-panel p + p { margin-top: 14px; }

/* 台账表：首列作物名左对齐，数值列右对齐成一列账目 */
table.data.ledger th:nth-child(n + 2),
table.data.ledger td:nth-child(n + 2) { text-align: right; }
table.data.ledger th:last-child,
table.data.ledger td:last-child { padding-right: 0; }

/* 页脚备案号：与版权并排一组，电话仍在右端 */
.footer-bottom .fb-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
}
.footer-bottom .icp {
  color: rgba(247, 244, 237, 0.38);
  letter-spacing: 0.14em;
  border-bottom: 1px solid transparent;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.footer-bottom .icp:hover {
  color: rgba(247, 244, 237, 0.8);
  border-bottom-color: rgba(247, 244, 237, 0.3);
}
