/* 豆大农业官网 · 视觉系统
   方向：样品册（specimen catalogue）——每款粉单独放在自己颜色的方块上，同尺度、同角度、直接写名。
   规则：不用细分隔线、等宽字体、编号、渐变、静止投影；靠色块、尺度和留白分层。 */

:root {
  --bg: #ffffff;
  --surface: #f2f2f0;
  --surface-2: #e6e5e1;
  --ink: #121212;
  --soft: #4d4d4b;
  --on-dark: #f2f2ee;
  --on-dark-soft: #c4c4be;

  /* 强调色取自南瓜粉：按钮、样品申请整块底色 */
  --accent: #f0b54a;
  --accent-2: #f6cd80;
  --accent-3: #fbe6bd;

  --sans: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif;

  /* 五档字号 */
  --s1: 0.875rem;
  --s2: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  --s3: clamp(1.375rem, 1rem + 1.2vw, 2.25rem);
  --s4: clamp(2.25rem, 1.4rem + 3vw, 4.25rem);
  --s5: clamp(4.5rem, 22vw, 21rem);

  --m: clamp(16px, 2.2vw, 32px);
  --edge: clamp(16px, 3.5vw, 64px);
  --wrap: 1376px;
  --gap-section: clamp(112px, 12vw, 200px);

  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--s2);
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
picture { display: contents; }
picture > source { display: none; }
img[data-src] { display: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

h1, h2, h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}
h2 { font-size: var(--s4); letter-spacing: -0.035em; line-height: 1.05; }
h3 { font-size: var(--s3); }
p { margin: 0; }

.wrap { width: min(100% - var(--m) * 2, var(--wrap)); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sr-only:focus {
  width: auto; height: auto; margin: 0; clip: auto; z-index: 99;
  left: 12px; top: 12px; padding: 10px 16px;
  background: var(--ink); color: var(--on-dark); font-size: var(--s1);
}

.soft { color: var(--soft); }

.link {
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: var(--accent);
  transition: text-underline-offset .2s var(--ease), text-decoration-color .2s ease;
}
.link:hover { text-underline-offset: 8px; text-decoration-color: currentColor; }

/* ── 按钮：方角、单色 ─────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: var(--on-dark);
  font-size: var(--s2);
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .15s var(--ease);
}
.btn:hover { background: var(--accent); color: var(--ink); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--paper { background: var(--bg); color: var(--ink); }
.btn--paper:hover { background: var(--accent); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: var(--s1); }
.btn--quiet { background: var(--surface); color: var(--ink); }
.btn--quiet:hover { background: var(--surface-2); }

/* ── 顶栏：字标、几个链接、一个动作 ───────────── */

.bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
}
.bar__in {
  width: calc(100% - var(--edge) * 2);
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  min-height: 68px;
}
.mark { display: flex; align-items: center; flex: none; min-height: 44px; margin-right: auto; }
.mark img { display: block; width: 164px; height: auto; }
.nav { display: flex; gap: clamp(14px, 2.4vw, 32px); }
.nav a { font-size: var(--s2); color: var(--soft); transition: color .2s ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { font-weight: 600; }

/* ── 首屏：真实样品墙，相邻列反向循环 ────────── */

.hero {
  --wall: #f1f3ed;
  --wall-green: #e0e6d5;
  --wall-sand: #eee9df;
  --wall-pink: #efdee0;
  --wall-yellow: #f5e5c8;
  --wall-stone: #e3e4df;
  --wall-gap: 16px;
  --hero-margin: var(--edge);
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  min-height: 660px;
  height: calc(100svh - 68px);
}
.hero__copy { padding: 40px 32px 40px var(--hero-margin); display: flex; align-items: center; }
.hero__main { padding-block: 40px; }
.hero h1 { font-size: clamp(42px, 5vw, 102px); line-height: 1.08; letter-spacing: -.055em; font-weight: 650; }
.hero h1 span { display: block; white-space: nowrap; }
.hero__sub { margin: 30px 0 32px; font-size: 18px; color: var(--soft); line-height: 1.8; }
.hero__sub-tail { display: inline-block; }
.hero__button { min-height: 56px; padding: 14px 24px; gap: 48px; font-size: 18px; white-space: nowrap; }
.hero__button span { font-size: 25px; line-height: 1; }
.sample-wall { position: relative; overflow: hidden; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--wall-gap); padding-inline: var(--wall-gap); background: var(--wall); isolation: isolate; }
.sample-wall__column { min-width: 0; position: relative; }
.sample-wall__track { transform: translateY(0); will-change: transform; }
.sample-wall__group { display: flex; flex-direction: column; gap: var(--wall-gap); padding-bottom: var(--wall-gap); }
.sample-wall__sample { margin: 0; min-width: 0; aspect-ratio: 1 / 1.28; background: var(--wall-sand); display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 12px 7px 14px; }
.sample-wall__sample--green { background: var(--wall-green); }
.sample-wall__sample--pink { background: var(--wall-pink); }
.sample-wall__sample--yellow { background: var(--wall-yellow); }
.sample-wall__sample--stone { background: var(--wall-stone); }
.sample-wall__sample img { width: 100%; max-width: 300px; height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.sample-wall__sample figcaption { font-size: 15px; font-weight: 600; text-align: center; line-height: 1.45; padding: 7px 2px 0; }
.sample-wall.is-ready .sample-wall__track { animation: sample-travel 100s linear infinite; animation-delay: -18s; }
.sample-wall.is-ready .sample-wall__column:nth-child(even) .sample-wall__track { animation-direction: reverse; animation-delay: -44s; }
.sample-wall.is-ready .sample-wall__column:nth-child(3) .sample-wall__track { animation-delay: -31s; }
.sample-wall.is-ready .sample-wall__column:nth-child(4) .sample-wall__track { animation-delay: -9s; }
@keyframes sample-travel { from { transform: translateY(0); } to { transform: translateY(-50%); } }

@media (max-width: 1100px) and (min-width: 761px) {
  .hero { --wall-gap: 12px; }
  .hero h1 { font-size: clamp(32px, 4.7vw, 52px); }
  .hero__copy { padding-right: 24px; }
  .hero__sub { font-size: 16px; }
  .sample-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sample-wall__column:last-child { display: none; }
  .sample-wall__sample { aspect-ratio: 1 / 1.4; }
  .sample-wall__sample figcaption { font-size: 14px; }
}

/* ── 热门产品：分类菜单，图片当项目符号 ──────── */

.menu { padding-bottom: 0; }
.menu + section { margin-top: clamp(112px, 12vw, 200px); }
.hero + .menu { margin-top: clamp(72px, 9vw, 140px); }
.menu__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.menu__cat { margin-top: clamp(64px, 7vw, 104px); }
.menu__cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.menu__cat-head span { font-size: var(--s2); color: var(--soft); }
.menu__desc { max-width: 46em; color: var(--soft); margin: 14px 0 48px; }
.menu__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 40px;
}
.dish {
  display: grid;
  grid-template-columns: clamp(88px, 7vw, 112px) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}
.dish__tile { display: grid; place-items: center; width: 100%; aspect-ratio: 1; background: var(--c); overflow: hidden; }
.dish__tile img { width: 68%; height: auto; mix-blend-mode: multiply; transition: transform .45s var(--ease); }

.dish:hover .dish__tile img { transform: scale(1.08); }

.dish__name { font-weight: 600; font-size: var(--s3); line-height: 1.2; letter-spacing: -0.02em; }
.dish__fact { color: var(--soft); font-size: var(--s1); margin-top: 6px; }


/* ── 加工能力：整块墨色 ──────────────────────── */

.field-dark { background: var(--ink); color: var(--on-dark); }
.cap { padding-block: var(--gap-section); }
.cap__intro { max-width: 34em; margin-top: 24px; font-size: var(--s2); color: var(--on-dark-soft); }
.cap__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(48px, 5vw, 80px) clamp(32px, 4vw, 64px);
  margin-top: clamp(40px, 4vw, 64px);
}
.cap__grid h3 { margin-bottom: 14px; }
.cap__grid p { color: var(--on-dark-soft); max-width: 30em; }

/* ── 生产现场：洁净车间通栏打头，其余按加工能力分组；不按工序排 ── */

.plant { padding-block: var(--gap-section); }
.plant__head { margin-bottom: clamp(32px, 4vw, 56px); }
.plant__lead { margin: 0; }
.plant__lead img { width: 100%; height: auto; aspect-ratio: 63 / 16; object-fit: cover; background: var(--surface); }
.plant__row {
  display: grid;
  grid-template-columns: minmax(200px, 3fr) 9fr;
  gap: 24px;
  margin-top: clamp(56px, 6vw, 96px);
}
.plant__text h3 { margin-bottom: 10px; }
.plant__text p { color: var(--soft); max-width: 20em; }
.plant__pics { display: grid; gap: 6px; }
.plant__pics--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plant__pics--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plant__pics img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface); }

/* ── 资质证书：页内选择 + 稳定尺寸的预览 ─────── */

.ledger { margin-top: clamp(36px, 4vw, 56px); }
.facts-sec h2 { font-size: clamp(36px, 3.6vw, 52px); }
#company, #certs { scroll-margin-top: 100px; }
.ledger__in, .facts-sec__in {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.ledger__rows { display: none; list-style: none; margin: 0; padding: 0; gap: 8px; }
.ledger.is-ready .ledger__rows { display: grid; }
.ledger__row { min-width: 0; }
.ledger__row button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 8px;
  gap: 6px 16px;
  align-content: center;
  width: 100%;
  min-height: 94px;
  padding: 20px 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background .16s ease;
}
.ledger__name { font-size: clamp(18px, 1.6vw, 24px); font-weight: 600; line-height: 1.35; }
.ledger__row .no { grid-column: 1; font-size: var(--s1); color: var(--soft); overflow-wrap: anywhere; }
.ledger__row button::after {
  content: '';
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0;
}
@media (hover: hover) {
  .ledger__row button:hover { background: var(--surface-2); }
}
.ledger__row button[aria-pressed="true"] { background: var(--bg); }
.ledger__row button[aria-pressed="true"]::after { opacity: 1; }
.ledger__row button:active { background: var(--surface-2); }
.ledger__frame { min-width: 0; display: grid; gap: 24px; }
.ledger__frame img { width: 100%; height: auto; background: var(--bg); }
.ledger.is-ready .ledger__frame {
  position: relative;
  aspect-ratio: 7 / 5;
  background: var(--bg);
  overflow: hidden;
}
.ledger.is-ready .ledger__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(12px, 2vw, 28px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s;
}
.ledger.is-ready .ledger__frame img.is-on { opacity: 1; visibility: visible; }

/* ── 申请样品：整块南瓜色 + 照片条 ───────────── */

.apply { background: var(--accent); color: var(--ink); padding-bottom: clamp(80px, 9vw, 140px); overflow: hidden; }
.strip { padding-top: 48px; overflow: hidden; }
.strip__track { display: flex; gap: 8px; width: max-content; }
.strip__track img { height: 150px; width: auto; object-fit: cover; flex: none; }
.strip__track picture:nth-child(3n+1) img { aspect-ratio: 3 / 4; }
.strip__track picture:nth-child(3n+2) img { aspect-ratio: 1; }
.strip__track picture:nth-child(3n) img { aspect-ratio: 3 / 2; }
.apply__head { margin-top: 72px; }
.apply__intro { margin-top: 20px; max-width: 36em; font-size: var(--s2); }
.apply--cta { padding-bottom: clamp(56px, 7vw, 96px); }
.apply__actions { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.apply__actions .btn { min-height: 64px; padding: 0 32px; font-size: var(--s3); }
.apply__actions .btn:hover { background: var(--bg); color: var(--ink); }
.apply__alt { font-size: var(--s2); }
.apply__alt a { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

[hidden] { display: none !important; }
.consultation { margin-top: 40px; max-width: 48em; }
.consultation__selection { margin-bottom: 32px; padding: 24px; background: var(--accent-2); }
.consultation__selection h3 { font-size: var(--s2); }
.consultation__selection #selected-list { margin-block: 12px 20px; font-size: var(--s2); overflow-wrap: anywhere; user-select: all; }
.consultation__link { min-height: 64px; padding: 16px 32px; font-size: var(--s2); gap: 24px; }
.consultation .btn:hover { background: var(--bg); color: var(--ink); }
.consultation__hint { margin-top: 16px; font-size: var(--s1); max-width: 40em; }
.consultation .apply__alt { margin-top: 24px; overflow-wrap: anywhere; }

/* ── 页脚：公司信息、快捷导航、联系方式 ─────── */

.foot { padding-block: 48px 20px; font-size: 16px; }
.foot > .wrap { width: min(100% - clamp(20px, 3.3vw, 48px) * 2, 1344px); }
.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
}
.foot__mark { display: flex; align-items: center; width: 138px; min-height: 32px; }
.foot__mark img { display: block; width: 100%; height: auto; }
.foot h2 { display: flex; align-items: center; min-height: 32px; font-size: inherit; line-height: 1.5; letter-spacing: normal; font-weight: 600; }
.foot__details { margin-top: 20px; }
.foot__company { display: flex; align-items: center; min-height: 40px; font-weight: 500; }
.foot address { max-width: 28em; margin-top: 6px; color: var(--soft); font-style: normal; font-size: var(--s1); line-height: 1.8; }
.foot nav ul { list-style: none; padding: 0; display: grid; gap: 0; margin: 20px 0 0; }
.foot nav a, .foot__contact a { display: flex; align-items: center; min-height: 40px; width: fit-content; }
.foot nav a:hover, .foot__contact a:hover { text-decoration: underline; text-underline-offset: 5px; }
.foot__copyright { margin-top: 24px; color: var(--soft); font-size: var(--s1); }

@media (max-width: 900px) {
  .foot__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; }
}
@media (max-width: 700px) {
  .foot { padding-block: 32px 20px; }
  .foot__grid { grid-template-columns: 1fr; gap: 28px; }
  .foot__details { margin-top: 12px; }
  .foot h2 { min-height: 24px; }
  .foot nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; margin-top: 12px; }
  .foot nav a, .foot__contact a { min-height: 44px; }
}


/* ── 选中托盘：真正浮起，允许投影 ───────────── */

.tray {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100vw - 32px);
  padding: 10px 10px 10px 20px;
  background: var(--ink);
  color: var(--on-dark);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55); /* taste-skill-ignore: 托盘真正浮在页面上 */
  transform: translate(-50%, 160%);
  transition: transform .4s var(--ease);
}
.tray.is-on { transform: translate(-50%, 0); }
.tray__n { font-size: var(--s1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 42ch; }
.tray__n b { font-size: var(--s2); }
.tray__clear { background: none; border: 0; color: var(--on-dark-soft); font-size: var(--s1); cursor: pointer; padding: 6px; min-height: 40px; }
.tray__clear:hover { color: var(--on-dark); }
.tray .btn { min-height: 40px; background: var(--accent); color: var(--ink); }
.tray .btn:hover { background: var(--bg); }

/* ── 内页通用 ───────────────────────────────── */

.pagehead { padding-block: clamp(56px, 8vw, 120px) clamp(32px, 4vw, 56px); }
.pagehead--field { background: var(--surface); margin-bottom: clamp(24px, 3vw, 40px); }
.pagehead h1 { font-size: var(--s4); letter-spacing: -0.035em; line-height: 1.05; }
.pagehead .lede { margin-top: 24px; max-width: 40em; font-size: var(--s2); }
.pagehead__facts { margin-top: 20px; color: var(--soft); font-size: var(--s1); }
.pagehead__facts b { color: var(--ink); font-weight: 600; }

/* 产品目录页 */
.catbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding-block: 16px;
  background: var(--bg);
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 320px;
  min-height: 46px;
  padding: 0 16px;
  background: var(--surface);
  color: var(--soft);
  transition: background .2s ease;
}
.search:focus-within { background: var(--surface-2); color: var(--ink); }
.search input { border: 0; outline: 0; background: transparent; font: inherit; font-size: var(--s2); color: var(--ink); width: 100%; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: var(--surface);
  font-size: var(--s1);
  font-weight: 500;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.chip:hover { background: var(--surface-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); }
.chip__c { margin-left: 6px; opacity: .6; }

.catalog { padding-bottom: 24px; }
.group {
  display: grid;
  grid-template-columns: minmax(180px, 3fr) 9fr;
  gap: 24px;
  padding-top: clamp(48px, 5vw, 72px);
}
.group__head h2 { font-size: var(--s3); }
.group__head span { display: block; margin-top: 4px; color: var(--soft); font-size: var(--s1); }
.group__list {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 4px;
}
.item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  min-height: 52px;
  padding: 10px 12px;
  background: var(--surface);
  cursor: pointer;
  transition: background .15s ease;
}
.item:hover { background: var(--surface-2); }
.item:has(input:checked) { background: var(--accent-2); }
.item input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); flex: none; cursor: pointer; }
.item__name { font-size: var(--s2); font-weight: 500; }
.item input:checked ~ .item__name { font-weight: 700; }
.item__note { flex-basis: 100%; padding-left: 28px; font-size: var(--s1); color: var(--soft); line-height: 1.5; }
.tag { font-size: 0.8125rem; font-weight: 500; padding: 1px 7px; background: var(--bg); line-height: 1.6; }
.tag--hot { background: var(--accent); }
.catalog__legend { margin-top: 28px; font-size: var(--s1); color: var(--soft); }
.empty { padding: 72px 0; color: var(--soft); font-size: var(--s2); }

.more {
  margin-top: clamp(56px, 6vw, 88px);
  margin-bottom: var(--gap-section);
  padding: clamp(28px, 4vw, 48px);
  background: var(--surface);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.more h2 { font-size: var(--s3); margin-bottom: 10px; }
.more p { color: var(--soft); max-width: 40em; }

/* 关于我们 */
.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
  padding-block: clamp(40px, 5vw, 72px) var(--gap-section);
}
.trio h3 { margin-bottom: 12px; }
.trio p { color: var(--soft); }
.facts-sec { background: var(--surface); padding-block: clamp(64px, 7vw, 104px); }
.facts__copy { max-width: 40em; font-size: var(--s2); line-height: 1.8; }
.facts__copy p + p { margin-top: 16px; }
.reach { padding-block: var(--gap-section); }
.reach__mail {
  display: inline-block;
  margin-top: 28px;
  font-size: var(--s4);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  word-break: break-all;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 10px;
  text-decoration-color: var(--accent);
  transition: text-decoration-color .2s ease;
}
.reach__mail:hover { text-decoration-color: var(--ink); }
.reach p { margin-top: 24px; max-width: 36em; }
.wide-photo { margin: 0 0 var(--gap-section); }
.wide-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.wide-photo figcaption { padding-top: 10px; font-size: var(--s1); color: var(--soft); }

/* ── 动效：入场、漂移、跑马灯（均可降级） ─────── */

.js .rise { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 75ms); }
.js .rise--quiet { transform: translateY(10px); transition-duration: .36s; transition-delay: 0s; }
.js .rise.in { opacity: 1; transform: none; }

@keyframes marquee { to { transform: translateX(-50%); } }
.strip__track { animation: marquee 70s linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise { opacity: 1; transform: none; transition: none; }
  .strip__track, .sample-wall.is-ready .sample-wall__track { animation: none !important; }
  .sample-wall__track { transform: translateY(-40px); will-change: auto; }
  .sample-wall__column:nth-child(even) .sample-wall__track { transform: translateY(-110px); }
  .ledger.is-ready .ledger__frame img, .ledger__row button, .btn, .tray { transition: none; }
}

/* ── 响应式 ─────────────────────────────────── */

@media (max-width: 1080px) {
  .cap__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu__items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .nav a.nav__home { display: none; }
  .bar__in { min-height: 60px; }
  .bar__in { gap: 14px; }
  .mark img { width: 124px; }
  .nav { gap: 14px; }
  .nav a { font-size: var(--s1); }
  .bar .btn { min-height: 36px; padding: 0 12px; }

  .hero { --wall-gap: 10px; display: flex; flex-direction: column; min-height: 0; max-height: none; height: auto; }
  .hero__copy { padding: 36px var(--hero-margin) 26px; display: block; }
  .hero__main { padding: 0; }
  .hero h1 { font-size: clamp(35px, 9.7vw, 62px); white-space: nowrap; }
  .hero__sub { margin: 20px 0 23px; font-size: 16px; }
  .hero__button { min-height: 52px; padding: 12px 20px; font-size: 16px; gap: 42px; }
  .sample-wall { height: 440px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sample-wall__column:last-child { display: none; }
  .sample-wall__sample { aspect-ratio: 1 / 1.35; padding: 8px 4px 10px; }
  .sample-wall__sample figcaption { font-size: 13px; padding-top: 4px; }

  .menu__items { grid-template-columns: 1fr; gap: 20px; }
  .dish { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
  .dish__name { font-size: 1.125rem; }
  .dish__fact { font-size: 0.8125rem; line-height: 1.5; }

  .cap__grid { grid-template-columns: 1fr; }

  .plant__lead img { aspect-ratio: 2 / 1; }
  .plant__row { grid-template-columns: 1fr; gap: 16px; margin-top: 48px; }
  .plant__pics--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plant__pics--3 picture:first-child img { grid-column: span 2; }


  .strip { padding-top: 28px; }
  .strip__track img { height: 110px; }
  .apply__head { margin-top: 48px; }

  .search { flex: 1 1 100%; }
  .chip { min-height: 44px; padding: 0 12px; }
  .group { grid-template-columns: 1fr; gap: 12px; }
  .group__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .trio { grid-template-columns: 1fr; }
  .facts-sec__in, .ledger__in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ledger__rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger__row button { min-height: 72px; height: 100%; padding: 16px 12px; gap: 8px; }
  .ledger__name { font-size: 18px; }
  .ledger__row .no { display: none; }
  .ledger.is-ready .ledger__frame { aspect-ratio: 1 / 1.1; }
  .tray__n { max-width: 18ch; }
}
