@charset "UTF-8";
/* =============================================================================
   徐某某官网 · 设计系统 + 页面样式
   v10 · 2026-10-22 重建（4 页：首页 / 产品中心 / 品牌故事 / 渠道合作）
   -----------------------------------------------------------------------------
   色彩来源（实测，非估计）：
     品牌红 #EA2148 —— 客户提供的「背景色（EA2148）.png」实测像素 (234,33,72)
     首图2 背景  #F4024C —— 1.首页/首图/2.轮播图.png 实测
   ⚠️ 无障碍：白色文字压在 #EA2148 上只有 4.37:1，**不足 AA 的 4.5:1**。
      所以：
        · 小字号红字一律用 --brand-text(#D01840，对白 5.39:1)
        · 红底上的正文必须 ≥18.66px/600 或 ≥24px，并在导航区加顶部压暗层提高对比
   ========================================================================== */

/* ---------------- 1. 设计令牌 ---------------- */
:root {
  /* 品牌色 */
  --brand:        #EA2148;   /* 主色：大面积背景 / 大字号标题 */
  --brand-text:   #D01840;   /* 小字号红字（对白 5.39:1，过 AA） */
  --brand-bright: #F4024C;
  --brand-deep:   #A81234;

  /* 中性色 */
  --ink:    #171717;
  --ink-2:  #4E4E4E;   /* 正文（对白 8.6:1） */
  --ink-3:  #6E6E6E;   /* 次要文字（对白 5.10:1 / 对 --paper-3 #F5F5F5 4.67:1，均过 AA） */
  --paper:  #FFFFFF;
  --paper-2:#FAF7F4;
  --paper-3:#F5F5F5;
  --line:   #EBE6E3;

  /* 尺寸 */
  --wrap:   1180px;
  --wrap-nav: 1440px;
  --gutter: clamp(18px, 4.4vw, 44px);
  --nav-h:  68px;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --sh-1: 0 2px 10px rgba(24,16,18,.05);
  --sh-2: 0 10px 30px rgba(24,16,18,.09);
  --sh-3: 0 24px 64px rgba(24,16,18,.15);

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --ff: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
        "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------------- 2. 基础重置 ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff);
  color: var(--ink-2);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--brand-text);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 只给读屏用的文本 */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 版心 */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* 跳转链接（键盘可用） */
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

/* ---------------- 3. 顶部导航 ---------------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease),
              height .35s var(--ease), color .35s var(--ease);
}
.nav__inner {
  /* 导航版心比正文版心宽（1440 vs 1180）：
     正文居中 1180 时，1766 宽的窗口里 logo 会落在 x≈351，看着像「站在画面中间」。
     导航单独放宽到 1440 ⇒ 同一窗口 logo 落到 x≈207，整体左移 140px。 */
  width: 100%; max-width: var(--wrap-nav); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 28px;
}
.nav__brand { display: flex; align-items: center; flex: none; }
.nav__brand img { height: 30px; width: auto; }

/* 两套 logo：白色版 / 红色版，按状态切换 */
.nav__logo--red { display: none; }
.nav.is-light .nav__logo--white { display: none; }
.nav.is-light .nav__logo--red { display: block; }

.nav__menu { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); margin-left: auto; }
.nav__link {
  position: relative;
  font-size: 15px; font-weight: 500;
  letter-spacing: .01em;
  padding: 6px 2px;
  transition: opacity .2s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: currentColor; border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { font-weight: 700; }

/* 深色底（压在海报上）：白字 + 顶部压暗层保证对比度 */
.nav--over-dark { color: #fff; }
.nav--over-dark::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.22), rgba(0,0,0,0) 100%);
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
/* 滚动后（所有页面统一）：半透明白 + 毛玻璃 + 发丝阴影，文字转深 */
.nav.is-stuck {
  color: var(--ink);
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 rgba(23,23,23,.06), 0 8px 24px rgba(23,23,23,.06);
}
.nav--over-dark.is-stuck::before { opacity: 0; }
.nav--over-dark.is-stuck .nav__logo--white { display: none; }
.nav--over-dark.is-stuck .nav__logo--red { display: block; }

/* ⭐ 首屏第 3 张是米色浅底（人物图）：白字压浅底 = 对比度 1.1:1 完全读不出来。
   JS 检测 .slide[data-nav="light"] 时给导航挂 .is-over-light，
   白字转深字、压暗层收掉，与吸顶态(.is-stuck)视觉一致。 */
.nav--over-dark.is-over-light { color: var(--ink); }
.nav--over-dark.is-over-light::before { opacity: 0; }
.nav--over-dark.is-over-light .nav__logo--white { display: none; }
.nav--over-dark.is-over-light .nav__logo--red { display: block; }

/* ⭐ 导航默认**无底色**（用户明确要求：不要粉色/白色常驻底条）；
   只有滚过 8px 才加「半透明白 + 毛玻璃」。
   浅色内页（品牌故事）顶部就是白页，靠 .is-light 把文字转深，不加底。 */
.nav.is-light { color: var(--ink); }
.nav.is-light .nav__logo--white { display: none; }
.nav.is-light .nav__logo--red { display: block; }

/* 汉堡按钮（≤880px） */
.nav__burger {
  display: none;
  width: 44px; height: 44px; margin-left: auto;
  align-items: center; justify-content: center;
  border-radius: 10px;
}
.nav__burger span {
  display: block; position: relative;
  width: 22px; height: 2px; border-radius: 2px;
  background: currentColor;
  transition: background-color .2s var(--ease);
}
.nav__burger span::before, .nav__burger span::after {
  content: ""; position: absolute; left: 0;
  width: 22px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav__burger span::before { top: -7px; }
.nav__burger span::after  { top:  7px; }
.nav__burger[aria-expanded="true"] span { background: transparent; }
.nav__burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* 移动端抽屉 */
.drawer {
  position: fixed; inset: 0; z-index: 55;
  background: #fff;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .42s var(--ease-out), visibility .42s;
}
.drawer.is-open { transform: translateY(0); visibility: visible; }
.drawer a {
  font-size: 20px; font-weight: 700; color: var(--ink);
  padding: 14px 4px; border-bottom: 1px solid var(--line);
}
.drawer a[aria-current="page"] { color: var(--brand-text); }

/* ---------------- 4. 首屏轮播 ---------------- */
.hero {
  position: relative;
  background: var(--brand);
  overflow: hidden;
}
.hero__stage {
  position: relative;
  /* ⭐ 永远满宽（width:100% 是显式值，绝对不能删）。
     实测病因：只写 aspect-ratio + max-height 时，宽度是 auto，
     max-height 一旦把高度卡住，CSS 会**按比例倒算宽度** ⇒ 1600×700 下
     舞台只有 1324 宽、左侧 138px 露出品牌红「条」（用户截图投诉的就是它）。
     现在宽高解耦：宽恒定 100%，高 = 100%÷2.0556 再被 92vh 封顶。
     高度被封顶后画面比舞台更扁？不存在 —— 三张海报都已生成 3.1:1 的
     「两侧延伸版」（hero-N-bleed-*.webp），cover 裁掉的永远是延伸区，
     海报里烤死的「徐某某 / 全家一起吃」一个像素都不会被切。 */
  width: 100%;
  aspect-ratio: 1850 / 900;
  max-height: 92vh;
  margin-inline: auto;
}
.slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .75s var(--ease);
  will-change: opacity;
}
.slide.is-active { opacity: 1; }
.slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 指示点 */
.hero__dots {
  position: absolute; left: 50%; bottom: clamp(16px, 3vw, 30px);
  transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 3;
}
.hero__dot {
  width: 30px; height: 4px; border-radius: 4px;
  background: rgba(255,255,255,.42);
  transition: background-color .3s var(--ease), width .3s var(--ease);
}
.hero__dot[aria-selected="true"] { background: #fff; width: 46px; }
/* 浅底那张：白点看不见，转深色 */
.hero__dots.is-on-light .hero__dot { background: rgba(23,23,23,.26); }
.hero__dots.is-on-light .hero__dot[aria-selected="true"] { background: var(--ink); }

/* ---------------- 5. 通用区块 ---------------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }

/* 章节标题 */
.sec-head { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head__title {
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 900;
  letter-spacing: .01em;
  color: var(--brand-text);
  line-height: 1.3;
}
.sec-head__sub {
  margin-top: 10px;
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--ink-3);
}

/* ---------------- 6. 首页 · 视频 ---------------- */
.video-sec { padding-block: clamp(40px, 6vw, 76px); }
.video-card {
  position: relative;
  max-width: 1000px;
  margin-inline: auto;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #F1EDE9;
  box-shadow: var(--sh-3);
  aspect-ratio: 16 / 9;
}
.video-card video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.video-card__poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity .4s var(--ease);
}
.video-card.is-playing .video-card__poster { opacity: 0; pointer-events: none; }

.video-card__play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  gap: 14px;
  color: #fff;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.28), rgba(0,0,0,.42));
  transition: opacity .3s var(--ease), background-color .3s var(--ease);
}
.video-card__play:hover { background: radial-gradient(ellipse at center, rgba(0,0,0,.34), rgba(0,0,0,.5)); }
.video-card.is-playing .video-card__play { opacity: 0; pointer-events: none; }
.play-btn {
  width: clamp(58px, 7vw, 78px); height: clamp(58px, 7vw, 78px);
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  display: grid; place-items: center;
  box-shadow: 0 8px 26px rgba(0,0,0,.3);
  transition: transform .25s var(--ease);
}
.video-card__play:hover .play-btn { transform: scale(1.06); }
.play-btn::after {
  content: ""; display: block;
  margin-left: 5px;
  border-style: solid; border-width: 12px 0 12px 19px;
  border-color: transparent transparent transparent var(--brand);
}
.play-label {
  font-size: clamp(14px, 1.6vw, 17px); font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}

/* 视频控制条（播放中显示）
   ⚠️ 必须是 flex，不能写 display:grid + place-items:center ——
   ::before/::after 是两个**伪元素子项**，grid 会按自动排布把它们放进
   两行里，暂停图标于是变成「上下两根竖条」（用户截图里的破图标就是它）。
   flex + align-items:center 才能让两根竖条并排成 ‖。 */
.video-card__ctrl {
  position: absolute; right: 16px; bottom: 16px; z-index: 4;
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(0,0,0,.5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s var(--ease), background-color .2s var(--ease), transform .2s var(--ease);
}
.video-card__ctrl:hover { background: rgba(0,0,0,.68); transform: scale(1.04); }
.video-card__ctrl:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.video-card.is-playing .video-card__ctrl { display: flex; opacity: 1; }
.video-card__ctrl::before,
.video-card__ctrl::after {
  content: ""; display: block; width: 4px; height: 16px;
  background: #fff; border-radius: 1px;
}
.video-card__ctrl::before { margin-right: 5px; }
/* 暂停态：换成播放三角（去掉第二根条） */
.video-card.is-paused .video-card__ctrl::before,
.video-card.is-paused .video-card__ctrl::after { display: none; }
.video-card.is-paused .video-card__ctrl {
  background: rgba(0,0,0,.62);
}
.video-card.is-paused .video-card__ctrl::before {
  display: block; width: 0; height: 0; margin: 0 0 0 4px; background: none;
  border-style: solid; border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent #fff;
  border-radius: 0;
}

/* ---------------- 7. 首页 · 数据 ---------------- */
.stats { position: relative; padding-block: clamp(48px, 7vw, 88px); overflow: hidden; }
.stats__word {
  position: relative; z-index: 1;
  max-width: 760px; margin: 0 auto clamp(20px, 3vw, 34px);
  padding-inline: var(--gutter);
}
.stats__word img { width: 100%; height: auto; }

.stat-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 2vw, 24px);
  max-width: 1000px; margin-inline: auto;
  padding-inline: var(--gutter);
}
.stat { text-align: center; }
.stat__icon {
  width: clamp(30px, 3.2vw, 40px); height: auto;
  margin: 0 auto 10px;
  opacity: .85;
}
.stat__num {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 900;
  color: var(--brand-text);
  line-height: 1.1;
  letter-spacing: -.01em;
}
.stat__num small { font-size: .5em; font-weight: 700; margin-left: 1px; }
.stat__label {
  margin-top: 6px;
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: .02em;
}

/* GELATO 水印：垫在数据后面 */
.stats__ghost {
  position: absolute; left: 50%; top: 52%;
  width: min(1240px, 108%);
  transform: translate(-50%, -50%);
  opacity: .1;
  pointer-events: none; user-select: none;
  z-index: 0;
}

/* ---------------- 8. 首页 · 产品轮播 ---------------- */
.prods { padding-block: clamp(40px, 6vw, 80px); overflow: hidden; }
.prods__layout {
  display: grid;
  grid-template-columns: minmax(280px, 40%) 1fr;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  max-width: 1440px;
  margin-inline: auto;
}
.prods__side {
  position: relative;
  border-radius: 0 var(--r-xl) var(--r-xl) 0;
  overflow: hidden;
  aspect-ratio: 1 / 1.02;
  margin-left: calc(-1 * var(--gutter));
}
.prods__side img { width: 100%; height: 100%; object-fit: cover; }

.prods__body { min-width: 0; }
.prods__track {
  display: flex;
  gap: clamp(12px, 1.6vw, 22px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px var(--gutter) 18px 4px;
  scrollbar-width: none;
}
.prods__track::-webkit-scrollbar { display: none; }
.pcard {
  /* 248 → 236：1440 视口下轨道右缘正好切在第 4 张卡开头，只露 10px 像「被切坏」。
     缩到 236 后第 4 张露 46px，读起来是「右边还有」的滑动提示。 */
  flex: 0 0 clamp(180px, 20vw, 236px);
  scroll-snap-align: start;
  text-align: center;
}
.pcard__img {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: 1 / 1;
  box-shadow: var(--sh-1);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard__img { transform: translateY(-5px); box-shadow: var(--sh-2); }
.pcard:hover .pcard__img img { transform: scale(1.045); }
.pcard__name {
  margin-top: 12px;
  font-size: clamp(13px, 1.3vw, 15px);
  font-weight: 700;
  color: var(--ink);
}
.pcard__desc { font-size: 12px; color: var(--ink-3); margin-top: 2px; }

/* 轮播箭头 */
.prods__nav { display: flex; gap: 10px; justify-content: flex-end; padding-right: var(--gutter); margin-top: 4px; }
.arrow {
  width: 44px; height: 44px; border-radius: 999px;
  /* 边线不能只用 --line(#EBE6E3)：压在 --paper-2 浅底上几乎看不见。
     改用 #E2DCD8 加深一档 + 常态浅投影，让按钮从底上「浮」起来。 */
  border: 1px solid #E2DCD8;
  background: #fff;
  box-shadow: var(--sh-1);
  display: grid; place-items: center;
  color: var(--ink-2);
  transition: border-color .25s var(--ease), color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease), transform .2s var(--ease), opacity .22s var(--ease), visibility .22s;
}
.arrow:hover { border-color: var(--brand); color: var(--brand-text); background: #FFF5F7; box-shadow: var(--sh-2); }
.arrow:active { transform: scale(.94); }
.arrow:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.arrow:disabled { opacity: .32; cursor: default; box-shadow: none; }
.arrow svg { width: 18px; height: 18px; }

/* ⭐ 2026-10-22 用户要求：产品数量不多、不需要滑 → 整组箭头不出现；
   滑到头了 → 那个方向的箭头不出现（不留半透明残影）。
   由 main.js 的 rail 逻辑挂 .is-hidden（整组）/ .is-off（单个）。 */
.arrow.is-off { opacity: 0; visibility: hidden; pointer-events: none; }
.series__nav.is-hidden, .prods__nav.is-hidden { display: none; }

/* ---------------- 9. 矩阵 / 平台 ---------------- */
.matrix { padding-block: clamp(52px, 7vw, 84px); text-align: center; }
.matrix__title {
  display: inline-block;
  font-size: clamp(15px, 1.7vw, 18px);
  font-weight: 800;
  color: var(--ink);
  padding-bottom: 8px;
  position: relative;
}
.matrix__title::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 100%; height: 3px; border-radius: 3px; background: var(--brand);
}
.logo-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(12px, 2vw, 22px);
  margin-top: clamp(20px, 3vw, 30px);
}
.logo-row + .matrix__title { margin-top: clamp(40px, 5vw, 60px); }
.logo-row a {
  display: grid; place-items: center;
  border-radius: 14px;
  transition: transform .25s var(--ease);
}
.logo-row a:hover { transform: translateY(-3px) scale(1.04); }
.logo-row img {
  width: clamp(38px, 4.4vw, 52px); height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(24,16,18,.08);
}

/* ---------------- 10. 页脚 ---------------- */
.footer {
  background: var(--paper-3);
  padding-block: clamp(44px, 6vw, 68px) 0;
  border-top: 1px solid var(--line);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.35fr 1.5fr;
  gap: clamp(24px, 3vw, 44px);
  padding-bottom: clamp(32px, 4vw, 48px);
}
.fcol__title {
  font-size: 13px; font-weight: 800; color: var(--ink);
  margin-bottom: 12px; letter-spacing: .02em;
}
.fcol__list { display: flex; flex-direction: column; gap: 8px; }
.fcol__list a, .fcol__text {
  font-size: 13px; color: var(--ink-3);
  transition: color .2s var(--ease);
}
.fcol__list a:hover { color: var(--brand-text); }
.fcol__text { line-height: 1.9; }

.qr-row { display: flex; gap: clamp(12px, 2vw, 24px); }
.qr { text-align: center; }
.qr img {
  width: clamp(72px, 7vw, 92px); height: auto;
  border-radius: 8px; background: #fff; padding: 4px;
  box-shadow: var(--sh-1);
}
.qr figcaption { font-size: 11px; color: var(--ink-3); margin-top: 6px; }

.footer__bar {
  border-top: 1px solid var(--line);
  padding-block: 16px 18px;
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--ink-3);
}
.footer__bar a { color: var(--ink-3); }
.footer__bar a:hover { color: var(--brand-text); }

/* ---------------- 11. 内页首图 ---------------- */
.pagehead {
  position: relative;
  padding-top: var(--nav-h);
  /* ⭐ 必须等于 hero-products 图**第一行的实测色** (249,231,203)。
     这块是给透明导航留的「垫肩」：导航没有底色，垫肩一旦是品牌红，
     顶部就出现一条红杠（早期版本更糟 —— 导航白底 .92 + saturate(180%) 叠在
     红垫肩上，直接被染成粉色条，用户截图投诉的就是它）。
     取图里最上行的颜色，垫肩与图无缝衔接。 */
  background: #F9E7CB;
}
/* ⚠️ 必须用图片自身比例（2400×1156）。这张 banner 的「XUMOUMOU / 产品中心」
   是设计稿里烤进画面的文字，早先写 1850/760（更扁）→ cover 上下各切 ~8%，
   把产品顶部和底部整排切掉，看起来像图放错了。 */
.pagehead__media { position: relative; aspect-ratio: 2400 / 1156; overflow: hidden; }
.pagehead__media img { width: 100%; height: 100%; object-fit: cover; }

/* 品牌故事：浅底标题区 */
.pagehead--light { background: var(--paper); }
.pagehead--light .pagehead__title { color: var(--ink); }
.pagehead__title-wrap {
  text-align: center;
  padding: clamp(48px, 7vw, 84px) var(--gutter) clamp(20px, 3vw, 32px);
}
.pagehead__title {
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 900;
  color: var(--brand-text);
  letter-spacing: .01em;
}
.pagehead__title span { color: var(--ink); }

/* ---------------- 12. 产品中心 ---------------- */
.series { padding-block: clamp(40px, 5.5vw, 68px); }
.series + .series { padding-top: 0; }
.series__title {
  text-align: center;
  font-size: clamp(18px, 2.1vw, 24px);
  font-weight: 800;
  color: var(--brand-text);
  margin-bottom: clamp(20px, 3vw, 32px);
  letter-spacing: .02em;
}
/* ⭐ 每屏只放 3 个，多的向右滑（用户 2026-10-22 明确要求）。
   2026-10-22 之前是「桌面换行 5 列网格」——9 款排成 5+4 两行，
   卡片只有 (1092-80)/5≈202 宽，扁小、且和设计稿（3 个大卡）不符。
   现在卡片按 4:5 撑到 (1092-56)/3≈345 宽，超出部分用横向轨道 + 箭头翻页。 */
.series__rail { position: relative; }
.series__track {
  --gcard-gap: clamp(14px, 2.2vw, 28px);
  display: flex;
  gap: var(--gcard-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.series__track::-webkit-scrollbar { display: none; }
.gcard {
  flex: 0 0 calc((100% - 2 * var(--gcard-gap, 28px)) / 3);   /* 一屏 3 个 */
  scroll-snap-align: start;
  text-align: center;
}
.gcard__img {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper-2);      /* = 设计稿取色 (250,247,244) */
  aspect-ratio: 4 / 5;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.gcard__img img { width: 100%; height: 100%; object-fit: contain; }
.gcard:hover .gcard__img { transform: translateY(-4px); box-shadow: var(--sh-2); }
.gcard__name { margin-top: clamp(10px, 1.2vw, 16px); font-size: 14px; font-weight: 600; color: var(--ink); }

.series__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 100%; display: flex; justify-content: space-between;
  pointer-events: none;
  z-index: 2;
}
.series__nav .arrow { pointer-events: auto; background: #fff; box-shadow: var(--sh-2); }
/* 卡片变宽后箭头再往外让一点（原 -14 会压住产品主体） */
.series__nav .arrow--prev { margin-left: -26px; }
.series__nav .arrow--next { margin-right: -26px; }

/* ⚠️ 这里原有一段「桌面端改换行 5 列网格 + 隐藏箭头」的规则，
   已于 2026-10-22 按用户要求删除：产品必须每屏 3 个、多的向右滑。
   所以箭头在**所有断点都保留**，只有打印样式里才隐藏。 */

/* ---------------- 13. 品牌故事 ---------------- */
.story { padding-block: clamp(40px, 6vw, 76px); }
.story__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}
.story__row + .story__row { margin-top: clamp(44px, 6.5vw, 92px); }
.story__row:nth-child(even) .story__media { order: 2; }
.story__media {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-2);
  aspect-ratio: 4 / 2.6;
}
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__title {
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 16px;
}
.story__title em { font-style: normal; color: var(--brand-text); }
.story__text { font-size: clamp(14px, 1.5vw, 16px); color: var(--ink-2); line-height: 2; }
.story__text p + p { margin-top: 12px; }

/* ---------------- 14. 渠道合作 ---------------- */
.coop { position: relative; }
.coop__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(420px, 52vw, 620px);
}
.coop__media { position: relative; overflow: hidden; background: var(--brand); }
.coop__media img { width: 100%; height: 100%; object-fit: cover; }
/* 右半（红底面板）与左半（拼图）一起压 12% 黑：
   品牌红 #EA2148 上白字只有 4.37:1，差一点过不了 AA；
   压暗后 ≈ #CE1D3F，白字 5.4:1，且两半同步压暗 → 接缝不出现色阶。 */
.coop__media::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,.12);
  pointer-events: none;
}
.coop__panel {
  background-color: var(--brand);
  background-image: linear-gradient(rgba(0,0,0,.12), rgba(0,0,0,.12));
  color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  /* 顶部留出固定导航的高度，否则标题会被导航压住；底部保持常规留白 */
  padding: calc(var(--nav-h) + clamp(34px, 5vw, 56px)) var(--gutter) clamp(40px, 6vw, 72px);
  gap: clamp(20px, 3vw, 34px);
}
.coop__title {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 900;
  letter-spacing: .04em;
}
/* 六边关系图：六个标签按 60° 均匀落在虚线圆外侧。
   早先用 left:-12% / right:-6% 之类的硬偏移，标签被甩到离圆环上百像素的空地上，
   和圆环失去对应关系（截图里「电商」孤零零挂在左边）。改成极坐标定位。 */
.coop__diagram {
  position: relative;
  width: min(360px, 88%);
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  --r: 39%;          /* 标签中心到圆心的距离 */
}
.coop__ring {
  position: absolute; inset: 17%;
  border: 1px dashed rgba(255,255,255,.55);
  border-radius: 999px;
}
.coop__center {
  position: relative; z-index: 1;
  font-size: clamp(12px, 1.35vw, 14px);
  font-weight: 700;
  line-height: 1.6;
  color: #fff;
  text-align: center;
}
.coop__node {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(11px, 1.25vw, 13px);
  font-weight: 600;
  color: rgba(255,255,255,.96);
  white-space: nowrap;
}
/* ⚠️ 半径必须写在 left/top 上（百分比相对父级），
   不能写进 translate()（百分比相对元素自身 → 6 个标签全挤到圆心）。 */
.coop__node--1 { left: 50%;    top: 11%; }    /* 上   大客户 */
.coop__node--6 { left: 16.2%;  top: 30.5%; }  /* 左上 电商 */
.coop__node--2 { left: 83.8%;  top: 30.5%; }  /* 右上 品牌 */
.coop__node--5 { left: 16.2%;  top: 69.5%; }  /* 左下 渠道 */
.coop__node--3 { left: 83.8%;  top: 69.5%; }  /* 右下 经销商 */
.coop__node--4 { left: 50%;    top: 89%; }    /* 下   零售门店 */

.coop__lead { font-size: clamp(13px, 1.5vw, 15px); line-height: 1.9; color: rgba(255,255,255,.95); }
.coop__qr { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.coop__qr img {
  width: clamp(96px, 10vw, 124px); height: auto;
  background: #fff; padding: 6px; border-radius: 10px;
}
.coop__qr figcaption { font-size: 11px; color: rgba(255,255,255,.92); }
.coop__tel { font-size: clamp(14px, 1.6vw, 16px); font-weight: 700; letter-spacing: .02em; }
.coop__tel a { border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 2px; }

/* ---------------- 15. 404 ---------------- */
.nf {
  /* 减去底部备案条 ~80px，否则备案号被推到首屏外 */
  min-height: calc(100svh - 80px);
  display: grid; place-items: center;
  text-align: center;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 80px;
}
.nf__code {
  font-size: clamp(80px, 16vw, 180px);
  font-weight: 900;
  color: var(--brand);
  line-height: 1;
  letter-spacing: -.03em;
}
.nf__title { font-size: clamp(20px, 2.6vw, 28px); font-weight: 800; color: var(--ink); margin-top: 8px; }
.nf__text { color: var(--ink-3); margin-top: 8px; }
.nf__btn {
  display: inline-block; margin-top: 24px;
  padding: 13px 28px; border-radius: 999px;
  /* 白字压 --brand 只有 4.37:1（15px/700 不算大字号）→ 用 brand-deep 底色 7.5:1 */
  background: var(--brand-deep); color: #fff;
  font-weight: 700; font-size: 15px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.nf__btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(168,18,52,.32); }
/* 404 页底部备案条（没有完整页脚，但备案号要出现） */
.nf-bar {
  max-width: var(--wrap); margin-inline: auto;
  padding: 0 var(--gutter) 22px;
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--ink-3);
}
.nf-bar a { color: var(--ink-3); }
.nf-bar a:hover { color: var(--brand-text); }

/* ---------------- 16. 入场动效 ---------------- */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: var(--rd, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------------- 17. 响应式 ---------------- */
@media (max-width: 992px) {
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__grid .fcol--qr { grid-column: 1 / -1; }
  .prods__layout { grid-template-columns: 1fr; }
  .prods__side {
    border-radius: var(--r-lg);
    margin-inline: var(--gutter);
    aspect-ratio: 16 / 10;
  }
  .coop__grid { grid-template-columns: 1fr; }
  .coop__media { aspect-ratio: 16 / 10; }
}

@media (max-width: 880px) {
  .nav__menu { display: none; }
  .nav__burger { display: flex; }
  .story__row { grid-template-columns: 1fr; }
  .story__row:nth-child(even) .story__media { order: 0; }
  .story__media { aspect-ratio: 16 / 10; }
  /* 手机端首屏：2.06:1 的海报在 390 宽只有 189px 高，导航压上去会和
     海报里烤死的「徐某某 / 家庭分享装冰淇淋」**叠字**（实测 390×844 完全重合）。
     做法：海报整体下移到导航下方（.hero 的 padding-top），
     空出来的那 58px 露的是 .hero 自己的品牌红 ⇒ 透明导航依然是白字可读。
     ⚠️ 不要再给 .nav 加 background：用户明确要求导航不要常驻底色。 */
  .hero { padding-top: var(--nav-h); }
}

@media (max-width: 720px) {
  :root { --nav-h: 58px; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 22px 12px; max-width: 420px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .footer__bar { justify-content: flex-start; }
  /* ⚠️ 这里原来写 .hero__stage{aspect-ratio:4/5;min-height:460px} 与
     .pagehead__media{aspect-ratio:4/3}。两张图都是 2.06:1 的**成品海报**，
     烤死的「徐某某 / 全家一起吃」「产品中心」在左右两侧，
     改成竖高比例后 object-fit:cover 从中间裁 → 品牌口号整段消失。
     实测 390×844：4/5 时左侧「徐某某」完全出框。**不要再按屏幕比例改这两张图**。 */
  .prods__track, .series__track { padding-right: 0; }
}

@media (max-width: 600px) {
  /* 手机 390 宽下 3 张并排只剩 ~105px，和设计稿的「大卡」完全相反
     → 退成 2 张（390 宽下每张 ~176px），照样能向右滑 */
  .gcard { flex: 0 0 calc((100% - var(--gcard-gap, 14px)) / 2); }
  /* 桌面是 -26px（让到版心外），手机上 gutter 只有 18px，再 -26 会被屏幕切掉 */
  .series__nav .arrow--prev { margin-left: -12px; }
  .series__nav .arrow--next { margin-right: -12px; }
}

@media (max-width: 420px) {
  .pcard { flex-basis: 74vw; }
}

/* ---------------- 18. 降低动效偏好 ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------------- 19. 打印 ---------------- */
@media print {
  .nav, .drawer, .hero__dots, .series__nav, .prods__nav, .video-card__ctrl { display: none !important; }
  body { color: #000; }
}
