/* 香宫煮官网 · 样式表
   设计方向：白底、自然摄影与乳白玻璃；减少分隔和重复装饰。
   层级：令牌 → 基础 → 布局 → 区块 → 组件 → 响应式。 */

@font-face {
  font-family: "Xique Song";
  src: url("assets/fonts/xique-song-v51.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- 01 令牌 ---------- */
:root {
  /* 色彩：白底 + 暖调近黑，青绿作主色点缀，朱红作唯一强调色 */
  --paper: #ffffff;
  --paper-soft: #fafaf8;
  --ink: #1a1a17;
  --muted: #5f6b64;
  --line: #e6e9e4;
  --line-strong: #ccd5cd;
  --green: #33574a;
  --green-soft: #557a68;
  --red: #a8382a;

  /* 字体：喜鹊宋体作展示字，系统黑体作正文字 */
  --display: "Xique Song", "Songti SC", serif;
  --body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  /* 字阶：桌面主标题 72px，移动端收到 30px（移动端不用过大标题） */
  --fs-hero: clamp(30px, 5.2vw, 72px);
  --fs-h2: clamp(26px, 3.2vw, 46px);
  --fs-h3: clamp(21px, 2vw, 29px);
  --fs-h4: clamp(15px, 1.15vw, 17px);
  --fs-lead: clamp(16px, 1.25vw, 18px);
  --fs-body: 16px;
  --fs-small: 13px;
  --fs-label: 11px;

  /* 间距梯度 */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 16px; --sp-4: 24px;
  --sp-5: 40px; --sp-6: 64px; --sp-7: 96px; --sp-8: 128px;

  --page-width: 1200px;
  --page-gutter: 48px;
  --header-h: 98px;
  --col-gap: clamp(40px, 6vw, 88px);
  --section-gap: clamp(64px, 9vw, 120px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur: 340ms;
  --dur-slow: 700ms;

  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
}

/* ---------- 02 基础 ---------- */
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--fs-body);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.dialog-open { overflow: hidden; }
a { color: inherit; text-decoration: none; transition: color var(--dur-fast) ease; }
button { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
a:hover, button:hover { color: var(--green); }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3, h4 { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; }
h2 { font-size: var(--fs-h2); line-height: 1.42; letter-spacing: 0.045em; }
h3 { font-size: var(--fs-h3); line-height: 1.55; letter-spacing: 0.04em; }
p { font-size: inherit; line-height: 1.9; }
::selection { background: #dfe8e1; color: #14231c; }

a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 2px;
}
.skip-link {
  position: fixed; z-index: 100; top: 14px; left: 14px;
  padding: 12px 20px; border: 1px solid var(--green); background: var(--paper); color: var(--green);
}
.skip-link:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; padding: 0; }

/* 入场由 IntersectionObserver 触发一次，默认内容可见。 */
[data-reveal].reveal-pending { opacity: 0; transform: translateY(24px); }
[data-reveal].reveal-visible {
  transition: opacity 800ms var(--ease), transform 900ms var(--ease);
  opacity: 1; transform: none;
}
/* ---------- 03 布局 ---------- */
.hero, .section-wrap, .site-footer {
  width: min(var(--page-width), calc(100% - var(--page-gutter) * 2));
  margin-inline: auto;
}

.desktop-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.desktop-nav a { position: relative; padding: 16px 0; font-size: var(--fs-small); letter-spacing: 0.06em; }
.desktop-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 12px; height: 1px;
  background: var(--green); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; }
.menu-button { display: flex; align-items: center; gap: 14px; min-height: 44px; min-width: 44px; padding: 0; font-size: var(--fs-label); letter-spacing: 0.1em; }
.menu-lines { display: grid; gap: 5px; width: 19px; }
.menu-lines i { width: 19px; height: 1px; background: currentColor; transition: width var(--dur) var(--ease); }
.menu-lines i:last-child { width: 13px; justify-self: end; }
.menu-button:hover .menu-lines i:last-child { width: 19px; }

/* 章节标签：去掉编号和贯穿横线 */
.section-index {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: clamp(22px, 2.6vw, 32px);
  font-size: var(--fs-label); letter-spacing: 0.14em;
}
.section-number { font-family: var(--display); font-size: 13px; letter-spacing: 0.08em; color: var(--green); }
.section-label { color: var(--muted); }
.section-index .rule, .section-number { display: none; }

/* 图片说明：统一处理，保持全站一致 */
figure figcaption {
  display: flex; justify-content: space-between; gap: 20px;
  padding-top: 14px; font-size: var(--fs-label); line-height: 1.7; letter-spacing: 0.08em; color: var(--muted);
}

/* ---------- 04 首屏：原图 + 单层乳白玻璃 ---------- */
.hero { position: relative; width: 100%; min-height: min(calc(var(--stable-height,100vh) - var(--header-h)), 820px); display: flex; overflow: hidden; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero-inner { position: relative; width: min(var(--page-width), calc(100% - var(--page-gutter) * 2)); margin-inline: auto; display: flex; align-items: flex-end; padding-block: 64px; }
.hero-card { width: min(520px, 100%); padding: 36px 38px 24px; background: #f8faf8; border: 1px solid #ffffffc9; border-radius: 10px; box-shadow: 0 16px 56px #1023170a; color: var(--ink); }
.hero-heading { display: grid; gap: 20px; padding-bottom: 26px; }
.hero-meta { font-size: 11px; letter-spacing: .15em; color: #59665d; }
.hero h1 { font-size: clamp(34px, 3.8vw, 54px); line-height: 1.3; letter-spacing: .055em; color: #203128; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hero-note { font-family: var(--display); font-size: 15px; color: #45554a; }
.hero-bottom a { display: flex; align-items: center; gap: 16px; font-size: 11px; min-height: 44px; color: #45554a; }
.hero-bottom a span { font-size: 18px; transition: transform 340ms var(--ease); }
.hero-bottom a:hover span { transform: translateY(4px); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) { .hero-card { animation: rise 1000ms var(--ease) both; } }

/* ---------- 05 品牌故事 ---------- */
.story { padding-top: var(--section-gap); }
.story-layout { display: grid; grid-template-columns: 1fr 1.42fr; gap: var(--col-gap); align-items: start; }
.story-copy h2 { margin-bottom: var(--sp-4); }
.story-copy p { max-width: 400px; color: var(--muted); }
.story-copy p + p { margin-top: var(--sp-3); }
.story-picture { margin-top: clamp(0px, 4vw, 56px); }
.story-picture img, .ingredients-picture img, .space-picture img { width: 100%; height: auto; }

/* 引文块：与图片列对齐 */
.brand-note {
  display: grid; grid-template-columns: 1fr 1.42fr; gap: var(--col-gap);
  margin-top: clamp(36px, 4.6vw, 60px);
}
.brand-note p {
  grid-column: 2; padding-left: 0;
  font-family: var(--display); font-size: var(--fs-lead); line-height: 1.95; letter-spacing: 0.03em;
}
.brand-note p > span { display: block; margin-top: 12px; font-family: var(--body); font-size: var(--fs-label); letter-spacing: 0.08em; color: var(--muted); line-height: 1.8; }

/* ---------- 06 食味 ---------- */
.taste { padding-top: var(--section-gap); }
.section-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--col-gap); align-items: end;
  margin-bottom: clamp(28px, 3.4vw, 42px);
}
.section-intro p { max-width: 460px; color: var(--muted); }

/* 汤底：白底、单层选项，不使用色块卡片 */
.flavor-band { background: #fff; color: var(--ink); margin-top: 0; }
.flavor-section { width: min(var(--page-width), calc(100% - var(--page-gutter) * 2)); margin-inline: auto; padding-block: 88px; display: grid; gap: 32px; }
.flavor-heading { text-align: center; }
.flavor-heading .eyebrow { display: block; margin-bottom: 12px; font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.flavor-heading h3 { font-size: 30px; }
.flavor-heading h3 br { display: none; }
.flavor-content { min-width: 0; width: min(940px, 100%); margin-inline: auto; }
.flavor-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.flavor-tabs button { position: relative; min-height: 48px; padding: 10px 0; color: #6b716b; font-size: 13px; letter-spacing: .05em; white-space: nowrap; transition: color 220ms ease; }
.flavor-tabs button::after { content: ''; position: absolute; bottom: 0; left: 25%; right: 25%; height: 1px; background: #496052; transform: scaleX(0); transition: transform 340ms var(--ease); }
.flavor-tabs button[aria-selected='true'] { color: #243a2c; }
.flavor-tabs button[aria-selected='true']::after { transform: scaleX(1); }
.flavor-tabs button:hover { color: #243a2c; }
.flavor-panel { position: relative; display: flex; align-items: center; justify-content: center; gap: 32px; min-height: 166px; padding: 36px 32px 12px; }
.flavor-character { font-family: var(--display); font-size: 64px; line-height: 1; color: #475d4d; }
.flavor-text { width: 380px; max-width: 100%; }
.flavor-panel h4 { font-weight: 400; font-size: 16px; letter-spacing: .06em; margin-bottom: 8px; }
.flavor-panel p { font-size: 15px; color: var(--muted); line-height: 1.9; }
.flavor-count { position: absolute; right: 0; bottom: 12px; font-size: 10px; color: #7e847e; font-variant-numeric: tabular-nums; }
@keyframes flavorIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .flavor-panel.is-switching .flavor-character, .flavor-panel.is-switching .flavor-text { animation: flavorIn 420ms var(--ease) both; }
  .flavor-panel.is-switching .flavor-text { animation-delay: 60ms; }
}

/* 菜蔬：两列等宽、顶部对齐 */
.vegetables { padding: var(--sp-3) 0 clamp(48px, 5vw, 66px); }
/* 图片悬停：极轻的推近，暗示可细看 */
.story-picture, .ingredients-picture, .vegetables-grid figure { overflow: hidden; }
.story-picture img, .ingredients-picture img, .vegetables-grid img { transition: transform 900ms var(--ease); }
@media (hover: hover) {
  .image-view:hover img { transform: scale(1.025); }
}
.vegetables-heading { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--col-gap); align-items: start; margin-bottom: clamp(24px, 2.8vw, 34px); }
.vegetables-heading p { font-size: var(--fs-small); color: var(--muted); }
.vegetables-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.vegetables-grid figure:last-child { margin-top: 0; }
.vegetables-grid img { width: 100%; height: auto; }
.vegetables-grid figcaption > span:last-child { color: var(--green-soft); }

/* 丸滑：小幅展示，不抢叙事中心 */
.small-tastes { padding-bottom: var(--sp-5); }
.small-tastes-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 18px; padding-top: 22px; }
.small-tastes-heading h3 { font-size: clamp(19px, 1.6vw, 23px); }
.product-motion-actions { display: flex; align-items: center; gap: 18px; }
.product-motion-actions > span { font-size: var(--fs-label); letter-spacing: 0.1em; color: var(--muted); }
#product-motion-toggle {
  min-height: 44px; padding: 0; color: var(--green); font-size: var(--fs-label); letter-spacing: 0.08em;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.product-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.product { min-width: 0; }
.product img { width: 100%; max-width: 190px; margin: auto; aspect-ratio: 1; object-fit: contain; }
.product-motion { position: relative; width: 100%; max-width: 190px; aspect-ratio: 1; margin: auto; overflow: hidden; background: var(--paper); }
.product-motion video { position: absolute; top: 50%; left: 50%; width: 150%; height: 150%; max-width: none; object-fit: cover; transform: translate(-50%, -50%); opacity: 0; }
.product-motion.is-ready video { opacity: 1; }
.product-motion.is-ready img { visibility: hidden; }
.product figcaption { justify-content: center; padding-top: 10px; text-align: center; font-size: var(--fs-small); letter-spacing: 0.04em; }
.swipe-note { display: none; }

/* ---------- 07 空间 ---------- */
.space { padding-top: var(--section-gap); }
.taste-more { padding-top: clamp(24px, 3.2vw, 42px); }
/* 空间图：正文同宽，完整比例 */
.space-picture { width: min(var(--page-width), calc(100% - var(--page-gutter) * 2)); margin: 24px auto 0; }
.space-picture img { width: 100%; height: auto; }
.space-picture figcaption { width: 100%; }

/* ---------- 08 收尾与页脚 ---------- */
.invitation {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: var(--sp-4);
  padding: var(--section-gap) 0 clamp(48px, 7vw, 88px);
}
.invitation .eyebrow { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; color: var(--muted); }
.invitation .eyebrow::before { display: none; }
.invitation p { font-family: var(--display); font-size: clamp(24px, 3.6vw, 44px); line-height: 1.5; letter-spacing: 0.05em; }
.invitation > a { display: flex; align-items: center; gap: 22px; min-height: 44px; font-size: var(--fs-label); letter-spacing: 0.1em; color: var(--muted); }
.invitation > a span { font-size: 20px; color: var(--green); transition: transform var(--dur) var(--ease); }
.invitation > a:hover span { transform: translateY(-4px); }
.mobile-break { display: none; }

.site-footer { border-top: 1px solid var(--line); padding: 38px 0 30px; }
.footer-main { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-bottom: 30px; }
.footer-wordmark { font-family: var(--display); font-size: 27px; letter-spacing: 0.08em; line-height: 1.5; }
.footer-wordmark small { display: block; font-family: var(--body); font-size: 8px; letter-spacing: 0.16em; color: var(--green); }
.footer-main nav { display: flex; gap: 32px; font-size: var(--fs-small); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 10px; line-height: 1.8; letter-spacing: 0.06em; color: var(--muted); }

/* ---------- 09 目录 ---------- */
.site-menu {
  width: min(660px, calc(100% - 48px)); max-width: none; max-height: calc(var(--viewport-height,100vh) - 48px);
  padding: 32px 44px; border: 1px solid var(--line); background: var(--paper); color: var(--ink);
}
.site-menu::backdrop { background: rgba(255, 255, 255, 0.97); }
.menu-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 10px; letter-spacing: 0.1em; color: var(--muted); }
.close-button { display: flex; align-items: center; gap: 15px; min-height: 44px; font-size: var(--fs-label); letter-spacing: 0.08em; }
.close-button span { font-size: 26px; line-height: 1; }
.menu-links { display: grid; padding: 36px 0 26px; }
.menu-links a { display: flex; align-items: center; gap: 26px; min-height: 44px; padding: 22px 0; border-top: 1px solid var(--line); }
.menu-links a:last-child { border-bottom: 1px solid var(--line); }
.menu-links a small { font-family: var(--display); font-size: 11px; color: var(--green); }
.menu-links a > span { font-family: var(--display); font-size: clamp(24px, 2.4vw, 30px); letter-spacing: 0.06em; }
.menu-links a i { margin-left: auto; font-size: 20px; font-style: normal; color: var(--green); transition: transform var(--dur) var(--ease); }
.menu-links a:hover i { transform: translate(4px, -4px); }
.menu-signoff { font-family: var(--display); font-size: var(--fs-lead); letter-spacing: 0.1em; color: var(--muted); padding: 15px 0; }

/* ---------- 10 响应式 ---------- */
@media (max-width: 1100px) {
  :root { --page-gutter: 36px; --header-h: 90px; }

  .story-layout, .brand-note { grid-template-columns: 1fr 1.35fr; }
  .story-copy p { max-width: none; }
  .product-row { gap: 18px; }
}

/* 平板竖屏：多栏编排收成单栏，避免中文行宽过窄（每行不足 20 字） */
@media (max-width: 900px) {
  .story-layout, .section-intro, .brand-note, .vegetables-heading {
    grid-template-columns: 1fr;
    gap: clamp(24px, 4vw, 36px);
  }
  .section-intro { align-items: start; }
  .brand-note p { grid-column: 1; }
  .story-picture, .vegetables-grid figure:last-child { margin-top: 0; }
  .story-copy p, .section-intro p { max-width: 640px; }
  .vegetables-grid { grid-template-columns: 1.2fr 1fr; }
  .desktop-break { display: none; }
}

@media (max-width: 760px) {
  :root {
    --page-gutter: 22px;
    --header-h: 76px;
    --fs-body: 15px;
    --fs-hero: clamp(28px, 7.4vw, 34px);
    scroll-padding-top: calc(var(--header-h) + 10px);
  }

  .desktop-nav { display: none; }
  .section-number { font-size: 12px; }
  .story-layout, .section-intro, .brand-note { grid-template-columns: 1fr; gap: 26px; }
  .story-copy h2 br, .space h2 br { display: none; }
  .story-copy h2 { margin-bottom: 16px; }
  .story-copy p + p { margin-top: 12px; }
  .story-picture { margin-top: 0; }
  .brand-note { margin-top: 30px; }
  .brand-note p { grid-column: 1; padding-left: 18px; font-size: 16px; }
  figure figcaption { padding-top: 11px; gap: 14px; font-size: 10px; }
  .section-intro { align-items: start; margin-bottom: 24px; }
  .desktop-break { display: none; }
  .vegetables { padding: 8px 0 44px; }
  .vegetables-heading { grid-template-columns: 1fr; gap: 10px; margin-bottom: 22px; }
  .vegetables-heading h3 { font-size: 22px; }
  .vegetables-heading p br { display: none; }
  .vegetables-grid { grid-template-columns: 1fr; gap: 26px; }
  .vegetables-grid figure:last-child { margin-top: 0; }
  .small-tastes { padding-bottom: var(--sp-3); }
  .small-tastes-heading { padding-top: 18px; padding-bottom: 16px; }
  .small-tastes-heading h3 { font-size: 19px; }
  .product-motion-actions { gap: 14px; }
  .product-row { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 18px; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--line-strong) var(--paper); }
  .product { flex: 0 0 44%; scroll-snap-align: start; }
  .product img, .product-motion { max-width: 160px; }
  .product figcaption { font-size: var(--fs-small); padding-top: 8px; }
  .swipe-note { display: flex; justify-content: space-between; margin-top: 6px; font-size: 10px; letter-spacing: 0.08em; color: var(--muted); }
  .invitation { padding: var(--section-gap) 0 46px; gap: 16px; }
  .invitation p { font-size: 26px; }
  .mobile-break { display: block; }
  .invitation > a { gap: 18px; font-size: 10px; }
  .site-footer { padding: 30px 0 26px; }
  .footer-main { gap: 22px; padding-bottom: 24px; }
  .footer-wordmark { font-size: 25px; }
  .footer-main nav { gap: 20px; font-size: var(--fs-label); }
  .footer-bottom { flex-direction: column; gap: 6px; font-size: 9px; }
  .site-menu { width: calc(100% - 32px); max-height: calc(var(--viewport-height,100vh) - 32px); padding: 20px 22px 26px; }
  .menu-head { font-size: 9px; gap: 10px; }
  .menu-links { padding: 24px 0 20px; }
  .menu-links a { padding: 18px 0; gap: 18px; }
  .menu-links a > span { font-size: 24px; }
  .menu-signoff { font-size: 14px; }
}

@media (max-width: 380px) {
  :root { --page-gutter: 18px; --fs-hero: 27px; }
  .footer-main nav { gap: 16px; }
}

/* ---------- 11 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  [data-reveal] { animation: none !important; opacity: 1; transform: none; }
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
  .hero-bottom a:hover span, .invitation > a:hover span, .menu-links a:hover i { transform: none; }
}

/* ---------- 12 统一乳白玻璃与图片浏览 ---------- */
.image-view { display: block; position: relative; width: 100%; padding: 0; overflow: hidden; cursor: zoom-in; }
.image-view > img { width: 100%; transition: transform 1000ms var(--ease); }
.image-view:focus-visible { outline-offset: -4px; }
.image-hint { position: absolute; right: 16px; bottom: 16px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #fffffff0; color: #34493c; font-size: 0; opacity: 0; transition: opacity 250ms ease; }
.image-hint > span { font: 18px var(--body); }
.image-view:hover .image-hint, .image-view:focus-visible .image-hint { opacity: 1; }
figure:not(.product) figcaption > span:last-child { display: none; }
.vegetables-heading p { font-size: 15px; }
.site-menu { background: #fffffff5; border: 1px solid #fff; border-radius: 12px; box-shadow: 0 24px 100px #20332610; }
.site-menu::backdrop { background: #ffffff80; }
.site-menu[open], .picture-dialog[open] { animation: menu-in 400ms var(--ease) both; }
.menu-links a { border-color: #dce2dc80; }
@keyframes menu-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.picture-dialog { width: fit-content; max-width: calc(100vw - 64px); max-height: calc(var(--viewport-height,100vh) - 48px); border: 1px solid white; border-radius: 10px; padding: 0; background: #fffffff5; color: var(--ink); overflow: auto; box-shadow: 0 24px 100px #20332612; }
.picture-dialog::backdrop { background: #ffffffb3; }
.picture-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 8px 20px; }
.picture-toolbar p { font-size: 13px; }
.picture-toolbar button { display: flex; align-items: center; gap: 14px; min-height: 44px; font-size: 12px; white-space: nowrap; }
.picture-toolbar button span { font-size: 24px; }
#picture-full { display: block; max-width: 100%; width: auto; max-height: calc(var(--viewport-height,100vh) - 115px); object-fit: contain; margin-inline: auto; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero-card { background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(28px) saturate(65%); backdrop-filter: blur(28px) saturate(65%); }
  .site-menu, .picture-dialog { background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(30px) saturate(65%); backdrop-filter: blur(30px) saturate(65%); }
  .site-menu::backdrop, .picture-dialog::backdrop { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .image-hint { background: #ffffffd9; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .image-view:hover > img { transform: scale(1.025); } }
@media (max-width: 900px) { .flavor-section { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 760px) {
  .hero { display: block; min-height: 0; overflow: visible; background: #fff; }
  .hero-media { position: relative; height: auto; object-fit: contain; }
  .hero-inner { padding: 0; margin-top: -24px; width: calc(100% - 32px); }
  .hero-card { width: 100%; padding: 24px 22px 14px; border-radius: 8px; box-shadow: 0 12px 34px #1b2f2008; }
  .hero-heading { gap: 14px; padding-bottom: 14px; }
  .hero-meta { font-size: 10px; }
  .hero h1 { font-size: clamp(27px,7.5vw,38px); letter-spacing: .05em; }
  .hero-note { font-size: 13px; }
  .hero-bottom a { font-size: 10px; gap: 12px; }
  .flavor-section { padding-block: 60px; gap: 24px; }
  .flavor-heading h3 { font-size: 24px; }
  .flavor-tabs { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px 12px; }
  .flavor-tabs button { font-size: 12px; }
  .flavor-panel { min-height: 170px; padding: 28px 6px 24px; gap: 22px; }
  .flavor-character { font-size: 46px; }
  .flavor-text { flex: 1; width: auto; min-width: 0; }
  .flavor-panel p { font-size: 14px; }
  .flavor-count { bottom: 0; }
  .brand-note p { padding-left: 0; }
  .image-hint { opacity: 1; width: 30px; height: 30px; right: 10px; bottom: 10px; }
  .picture-dialog { max-width: calc(100vw - 20px); }
  .picture-toolbar { padding-inline: 12px; }
  .picture-toolbar p { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal].reveal-pending, [data-reveal].reveal-visible { opacity: 1; transform: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .image-view:hover > img { transform: none; }
}

/* ---------- 13 图文穿插与横向食材画廊 ---------- */
.hero { min-height: min(780px,calc(var(--stable-height,100vh) - var(--header-h))); background: white; }
.hero-media { left: 24%; width: 76%; object-position: 52% 42%; transform: translateY(var(--hero-shift,0px)) scale(1.04); will-change: transform; }
.hero-inner { align-items: center; padding-block: 64px; }
.hero-card { width: 480px; max-width: 48%; padding: 42px 38px 24px; border-radius: 0; border: 0; box-shadow: none; background: #fffffff0; }
.hero-heading { gap: 24px; padding-bottom: 30px; }
.hero h1 { font-size: clamp(48px,5.6vw,80px); line-height: 1.35; letter-spacing: .06em; }
.hero h1 > span { display: block; }
.hero h1 > span:last-child { margin-left: .4em; }
.hero-bottom { align-items: center; gap: 12px; }
.hero-note { font-size: 14px; }
.hero-bottom a { justify-content: center; width: 60px; height: 60px; border: 1px solid #c3cbc380; border-radius: 50%; font-size: 0; flex: none; }
.hero-bottom a span { font-size: 22px; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero-card { background: linear-gradient(110deg,#fffffff5,#ffffffad); -webkit-backdrop-filter: blur(26px); backdrop-filter: blur(26px); }
}
.story { padding-top: 110px; }
.story > .section-index { margin-left: 68%; padding-bottom: 20px; }
.story-layout { grid-template-columns: minmax(0,1.8fr) minmax(0,1fr); gap: 7%; align-items: center; }
.story-picture { grid-column: 1; grid-row: 1; margin: 0; }
.story-copy { grid-column: 2; grid-row: 1; }
.story-copy h2 { font-size: clamp(28px,3vw,42px); }
.story-copy p { font-size: 15px; }
.brand-note { display: block; margin-top: 38px; max-width: 60%; }
.brand-note p { font-size: 18px; }
.brand-note p br { display: none; }
.brand-note p > span { margin-top: 6px; }
.taste > .section-intro { grid-template-columns: 1fr 1fr; align-items: center; margin-bottom: 40px; }
.food-gallery { position: relative; }
.food-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 4px; }
.food-track::-webkit-scrollbar { display: none; }
.food-track > figure { flex: 0 0 86%; min-width: 0; scroll-snap-align: start; }
.food-track .image-view { aspect-ratio: 16 / 9; }
.food-track img { width: 100%; height: 100%; object-fit: contain; }
.food-track figcaption { padding-top: 16px; }
.food-track figcaption > span:last-child { display: inline; }
.gallery-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; }
.gallery-controls p { font-size: 11px; color: #788078; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
#gallery-count { color: #25392e; }
.gallery-hint { margin-left: 30px; color: var(--muted); }
.gallery-controls > div { display: flex; gap: 12px; }
.gallery-controls button { width: 48px; height: 48px; border: 1px solid #e0e5e0; border-radius: 50%; font-size: 20px; transition: background .25s,color .25s; }
.gallery-controls button:not(:disabled):hover { background: #f4f7f4; color: #24392c; }
.gallery-controls button:disabled { opacity: .3; cursor: default; }
.flavor-section { display: grid; grid-template-columns: .9fr 1.8fr; gap: 7%; align-items: center; padding-block: 110px 70px; }
.flavor-heading { text-align: left; }
.flavor-heading h3 { font-size: 34px; }
.flavor-heading h3 br { display: block; }
.flavor-content { display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 40px; width: 100%; }
.flavor-tabs { display: flex; flex-direction: column; gap: 0; counter-reset: flavors; }
.flavor-tabs button { min-height: 47px; text-align: left; padding: 8px 0; font-size: 13px; counter-increment: flavors; }
.flavor-tabs button::before { content: '0' counter(flavors); font-size: 9px; color: #899088; margin-right: 16px; }
.flavor-tabs button::after { left: 30px; right: 40%; }
.flavor-tabs button[aria-selected=true] { font-family: var(--display); font-size: 17px; }
.flavor-panel { display: block; min-height: 290px; padding: 0 0 24px; }
.flavor-character { display: block; font-size: 110px; color: #c3cfc2; margin-bottom: 20px; }
.flavor-text { width: auto; }
.flavor-count { bottom: 0; }
.taste-more { padding-top: 10px; }
.small-tastes { padding-top: 20px; }
.space { padding-top: 100px; }
.space .section-intro { grid-template-columns: .9fr 1.1fr; align-items: center; }
.space-picture { width: calc(100% - 48px); max-width: 1560px; }
.space-picture figcaption { padding-inline: max(0px,calc((100% - 1200px)/2)); }
@media(max-width:1100px) {
  .hero-card { padding: 32px 26px 22px; max-width: 51%; }
  .hero h1 { font-size: 56px; }
  .story-layout { grid-template-columns: 1.5fr 1fr; gap: 5%; }
  .story > .section-index { margin-left: 62%; }
  .flavor-content { gap: 24px; grid-template-columns: 120px minmax(0,1fr); }
}
@media(max-width:900px) {
  .hero h1 { font-size: 46px; }
  .story > .section-index { margin-left: 0; }
  .story-layout { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .story-copy { grid-column: 1; grid-row: 1; max-width: 600px; }
  .story-picture { grid-column: 1; grid-row: 2; }
  .brand-note { max-width: 100%; }
  .flavor-section { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .flavor-heading h3 br { display: none; }
  .flavor-content { grid-template-columns: 180px minmax(0,1fr); gap: 40px; }
}
@media(max-width:760px) {
  .hero { min-height: 0; }
  .hero-media { left: auto; width: 100%; transform: none; will-change: auto; }
  .hero-inner { padding: 0; }
  .hero-card { max-width: none; width: 100%; padding: 22px 22px 12px; border-radius: 8px; }
  .hero-heading { gap: 13px; padding-bottom: 10px; }
  .hero h1 { font-size: clamp(27px,7.5vw,38px); }
  .hero h1 > span { display: inline; }
  .hero h1 > span:last-child { margin-left: 0; }
  .hero-note { font-size: 13px; }
  .hero-bottom a { width: 44px; height: 44px; }
  .hero-bottom a span { font-size: 18px; }
  .story { padding-top: 64px; }
  .story-copy h2 { font-size: 26px; }
  .brand-note { margin-top: 24px; }
  .brand-note p { font-size: 16px; }
  .brand-note p br { display: block; }
  .taste > .section-intro { grid-template-columns: minmax(0,1fr); gap: 18px; margin-bottom: 28px; }
  .food-track { gap: 12px; margin-right: calc(-1 * var(--page-gutter)); padding-right: var(--page-gutter); }
  .food-track > figure { flex-basis: 90%; }
  .food-track figcaption { display: block; font-size: 11px; }
  .food-track figcaption > span:last-child { display: block; font-size: 10px; margin-top: 4px; }
  .gallery-controls { margin-top: 16px; }
  .gallery-hint { margin-left: 16px; font-size: 10px; }
  .gallery-controls button { width: 44px; height: 44px; }
  .flavor-section { padding-block: 64px 40px; gap: 28px; }
  .flavor-heading h3 { font-size: 25px; }
  .flavor-content { grid-template-columns: 118px minmax(0,1fr); gap: 24px; }
  .flavor-tabs button { font-size: 12px; }
  .flavor-tabs button[aria-selected=true] { font-size: 14px; }
  .flavor-tabs button::before { margin-right: 10px; }
  .flavor-character { font-size: 78px; }
  .flavor-panel { min-height: 285px; }
  .flavor-panel p { font-size: 13px; }
  .flavor-panel h4 { font-size: 15px; }
  .space { padding-top: 64px; }
  .space .section-intro { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .space-picture { width: 100%; }
  .space-picture figcaption { padding-inline: var(--page-gutter); }
}
@media(prefers-reduced-motion:reduce) {
  .hero-media { transform: none; will-change: auto; }
  .food-track { scroll-behavior: auto; }
}
/* ---------- 14 影像开篇与悬浮导航 ---------- */

.desktop-nav a { font-size: 12px; }
.desktop-nav a[aria-current]::after { transform: scaleX(1); }
.hero { height: min(920px,var(--stable-height,100vh)); min-height: 650px; display: block; isolation: isolate; clip-path: inset(var(--scene-inset,0px) round var(--scene-radius,0px)); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform: translateY(var(--hero-shift,0px)) scale(1.04); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#071b1547,transparent 64%),linear-gradient(0deg,#0d1c1940,transparent 45%); pointer-events: none; }
.hero-media { z-index: -2; }
.hero-inner { width: calc(100% - 14%); max-width: 1360px; height: 100%; padding: 145px 0 72px; align-items: center; }
.hero-card { width: 100%; max-width: none; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; animation: none; color: white; }
.hero-heading { gap: 30px; padding: 0; transform: translateY(var(--title-shift,0px)); }
.hero-meta { color: #fff; font-size: 11px; letter-spacing: .28em; }
.hero h1 { color: white; font-size: clamp(48px,5.8vw,84px); line-height: 1.4; letter-spacing: .12em; text-shadow: 0 2px 20px #10261a18; }
.hero h1 > span:last-child { margin-left: .7em; }
.hero-bottom { position: absolute; bottom: 50px; left: 0; right: 0; }
.hero-note { color: #ffffffdb; font-size: 15px; letter-spacing: .1em; }
.hero-bottom a { color: #fff; width: auto; height: 52px; border: 0; border-radius: 0; gap: 22px; }
.hero-bottom a .scroll-label { font: 11px var(--body); letter-spacing: .12em; }
.hero-bottom a > span:last-child { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #ffffff70; border-radius: 50%; font-size: 20px; }
@keyframes titleUnfold { from { opacity: 0; transform: translateY(36px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@media(prefers-reduced-motion:no-preference) {
  .hero-meta { animation: titleUnfold 1s var(--ease) both; }
  .hero-bottom { animation: titleUnfold 1s var(--ease) .45s both; }
}
.story { padding-block: 140px 35px; }
.story > .section-index { margin-left: 0; }
.story-layout { grid-template-columns: 1fr 1fr; gap: 0 9%; align-items: start; }
.story-copy { display: contents; }
.story-copy h2 { grid-row: 1; grid-column: 1; font-size: clamp(34px,4vw,56px); margin: 0; }
.story-copy p { grid-column: 2; grid-row: 1; max-width: 480px; font-size: 15px; }
.story-copy p + p { grid-column: 2; grid-row: 2; margin-top: 12px; }
.story-picture { grid-column: 1 / -1; grid-row: 3; width: 100%; margin-top: 58px; }
.story-picture .image-view { clip-path: inset(0 var(--picture-inset,0%)); }
.story-picture img { aspect-ratio: 2.15; object-fit: cover; object-position: 50% 50%; }
.story-picture figcaption { padding-top: 14px; }
.brand-note { margin: -76px 34px 0 auto; position: relative; z-index: 1; width: fit-content; max-width: 72%; padding: 22px 30px; border: 1px solid #fff; border-radius: 6px; background: #ffffffda; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.brand-note p { font-size: 17px; }
.brand-note p > span { font-size: 11px; }
.taste { padding-top: 120px; width: 100%; max-width: none; }
.taste > .section-index,.taste > .section-intro { width: min(1200px,calc(100% - var(--page-gutter)*2)); margin-inline: auto; }
.taste > .section-intro { margin-bottom: 38px; }
.food-gallery { width: calc(100% - 48px); max-width: 1600px; margin-inline: auto; }
.food-track { gap: 0; padding: 0; border-radius: 12px; }
.food-track > figure { flex: 0 0 100%; position: relative; }
.food-track .image-view { aspect-ratio: 1.9; }
.food-track img { object-fit: cover; }
.food-track figcaption { position: absolute; left: 38px; top: 32px; padding: 0; display: flex; flex-direction: column; gap: 4px; color: white; pointer-events: none; text-shadow: 0 1px 8px #0008; }
.food-track figcaption > span:first-child { font-family: var(--display); font-size: 25px; }
.food-track figcaption > span:last-child { font-size: 12px; }
.food-track #vegetables figcaption { color: #283c26; text-shadow: none; }
.food-track .image-hint { bottom: auto; top: 30px; right: 30px; opacity: 1; }
.gallery-controls { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 28px; padding: 8px 12px 8px 18px; margin: 0; border: 1px solid white; border-radius: 60px; width: max-content; max-width: calc(100% - 32px); background: #ffffffe6; backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px); box-shadow: 0 5px 30px #1023170a; }
.gallery-controls .gallery-select { display: flex; gap: 4px; }
.gallery-controls .gallery-select button { width: auto; height: 42px; padding: 0 16px; border: 0; border-radius: 40px; font-size: 13px; }
.gallery-controls .gallery-select button[aria-pressed=true] { background: white; color: #1a3125; box-shadow: 0 2px 8px #19341e12; }
.gallery-controls > div:last-child { gap: 4px; }
.gallery-controls > div:last-child button { width: 42px; height: 42px; border: 0; }
.gallery-hint { display: none; }
.gallery-controls p { white-space: nowrap; }
.flavor-section { padding-top: 120px; }
.space .section-intro h2 { font-size: clamp(32px,4vw,56px); }
.space-picture { border-radius: 12px; overflow: hidden; }
@media(max-width:1100px) {
  .hero { min-height: 610px; max-height: 820px; }
  .hero h1 { font-size: 60px; }
  .story { padding-top: 100px; }
  .story-copy h2 { font-size: 42px; }
}
@media(max-width:760px) {
  :root { --header-h: 68px; }

  .header-actions { margin-left: auto; }
  .hero { padding-top: 82px; min-height: 0; max-height: none; height: auto; overflow: visible; clip-path: none; }
  .hero-media { position: relative; inset: auto; width: 100%; height: auto; object-fit: contain; transform: none; z-index: 0; }
  .hero::after { display: none; }
  .hero-inner { width: calc(100% - 44px); height: auto; margin-top: 0; padding: 25px 0 0; }
  .hero-card { padding: 0; border: 0; background: none; border-radius: 0; color: var(--ink); }
  .hero-meta { color: var(--muted); font-size: 10px; letter-spacing: .15em; }
  .hero-heading { gap: 9px; }
  .hero h1 { color: var(--ink); font-size: clamp(27px,7.8vw,38px); line-height: 1.5; letter-spacing: .045em; text-shadow: none; }
  .hero h1 > span { display: inline; }
  .hero h1 > span:last-child { margin-left: 0; }
  .hero-bottom { position: static; margin-top: 16px; }
  .hero-note { color: var(--muted); font-size: 13px; }
  .hero-bottom a { color: var(--ink); height: 44px; }
  .hero-bottom a .scroll-label { display: none; }
  .hero-bottom a > span:last-child { width: 42px; height: 42px; border-color: #dce2dc; font-size: 17px; }
  .story { padding-block: 72px 0; }
  .story-layout { display: flex; flex-direction: column; gap: 0; }
  .story-copy { display: block; }
  .story-copy h2 { font-size: 28px; margin-bottom: 20px; }
  .story-copy p { font-size: 14px; }
  .story-picture { margin-top: 28px; }
  .story-picture img { aspect-ratio: auto; object-fit: contain; }
  .story-picture figcaption { font-size: 10px; }
  .brand-note { width: auto; max-width: none; margin: 22px 0 0; padding: 0; border: 0; border-radius: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .brand-note p { font-size: 16px; }
  .taste { padding-top: 70px; }
  .food-gallery { width: 100%; }
  .food-track { margin: 0; padding: 0; border-radius: 0; }
  .food-track > figure { flex-basis: 100%; }
  .food-track .image-view { aspect-ratio: 16/9; }
  .food-track img { object-fit: contain; }
  .food-track figcaption { position: static; flex-direction: row; justify-content: space-between; padding: 12px var(--page-gutter) 0; color: var(--muted); text-shadow: none; }
  .food-track figcaption > span:first-child { font-family: var(--body); font-size: 11px; }
  .food-track figcaption > span:last-child { font-size: 11px; margin: 0; }
  .food-track .image-hint { top: 12px; right: 12px; }
  .gallery-controls { position: relative; bottom: auto; left: auto; transform: none; margin: 18px auto 0; padding: 4px 5px; gap: 12px; border: 1px solid #e8ece8; box-shadow: none; }
  .gallery-controls .gallery-select button { height: 44px; padding-inline: 14px; font-size: 12px; }
  .gallery-controls .gallery-select button[aria-pressed=true] { box-shadow: inset 0 -2px #425647; border-radius: 0; }
  .gallery-controls p { display: none; }
  .gallery-controls > div:last-child button { width: 40px; height: 44px; }
  .flavor-section { padding-top: 72px; }
  .space .section-intro h2 { font-size: 28px; }
  .space-picture { border-radius: 0; }
}
@media(prefers-reduced-motion:reduce) {
  .hero { clip-path: none; }
  .hero-heading,.hero-media { transform: none; }
  .story-picture .image-view { clip-path: none; }
}
.story-copy { display: grid; grid-column: 1 / -1; grid-row: 1; grid-template-columns: 1fr 1fr; gap: 9%; }
.story-body { grid-column: 2; }
.story-picture { grid-row: 2; }
.story-body p + p { margin-top: 16px; }
@media(min-width:761px) and (max-width:960px) { .desktop-nav { display: none; } }
@media(max-width:760px) { .story-copy { display: block; } }
