/* =====================================================================
   Bochantoy Official — Design System
   Focus: B2B plush-toy distributors (SMB). Clean, warm, credible.
   ===================================================================== */

:root {
  /* Surfaces */
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --bg-warm: #fbf6f2;
  --bg-dark: #111114;
  --bg-dark-soft: #1c1c20;

  /* Ink */
  --ink: #1d1d1f;
  --ink-2: #42434a;
  --ink-soft: #86868b;
  --ink-on-dark: #f5f5f7;
  --ink-on-dark-soft: #a1a1a8;

  /* Lines */
  --line: #e6e6eb;
  --line-dark: #2a2a30;

  /* Brand */
  --blue: #2997ff;
  --blue-strong: #0071e3;
  --plush: #ff7a59;      /* warm coral — the "plush" accent */
  --plush-soft: #ffd9c9;
  --plush-2: #ffb3a0;
  --mint: #34c6a0;

  /* Radii */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 980px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 4px 14px rgba(0,0,0,.05);
  --shadow-md: 0 6px 24px rgba(0,0,0,.07), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg: 0 18px 50px rgba(0,0,0,.12);
  --shadow-blue: 0 10px 30px rgba(41,151,255,.30);

  /* Type */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1140px;
  --header-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: transparent;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--warm { background: var(--bg-warm); }
.section--dark { background: var(--bg-dark); color: var(--ink-on-dark); }
.section--tight { padding: 64px 0; }

.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--plush);
  margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--plush-2); }

.h2 {
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.12;
  max-width: 20ch;
  text-wrap: balance;
}
.h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.18; }
.h4 { font-size: 19px; font-weight: 400; color: var(--ink-soft); line-height: 1.47; }
.section--dark .h4 { color: var(--ink-on-dark-soft); }

.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-soft); max-width: 60ch; }
.section--dark .lead { color: var(--ink-on-dark-soft); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .h2 { margin: 0 auto; }
.section-head p { margin: 18px auto 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 16px; font-weight: 600; line-height: 1;
  padding: 14px 26px; border-radius: var(--r-pill);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-strong); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: rgba(41,151,255,.08); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-lg { padding: 17px 34px; font-size: 17px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--plush), var(--blue));
  display: grid; place-items: center; color: #fff; font-size: 16px; font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.brand .brand-logo { width: 30px; height: 30px; border-radius: 9px; display: block; box-shadow: var(--shadow-sm); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 10px; font-size: 15px; font-weight: 500;
  color: var(--ink-2); transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); }
.nav-links a.active { color: var(--blue); background: rgba(41,151,255,.10); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Mega menu (desktop hover) ---------- */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a { display: inline-flex; align-items: center; gap: 4px; }
.nav-badge {
  font-size: 10px; font-weight: 700; line-height: 1; color: #fff;
  background: var(--plush); padding: 3px 6px; border-radius: 20px; margin-left: 2px;
}
.caret { font-size: 10px; color: var(--ink-soft); transition: transform .18s ease; }
.nav-parent { cursor: pointer; -webkit-tap-highlight-color: rgba(41,151,255,.12); }
.mega {
  position: absolute; top: calc(var(--header-h) - 6px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(760px, 92vw); background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 22px 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 22px;
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 200;
}
/* 展开态：由 JS 切 .open（鼠标 / 触屏 / 键盘统一走这里） */
.has-mega.open .caret { transform: rotate(180deg); }
.has-mega.open .mega {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(2px);
}
/* 纯鼠标设备额外保留悬停展开；触屏不会误触 hover 直接把面板打开 */
@media (hover: hover) and (pointer: fine) {
  .has-mega:hover .caret { transform: rotate(180deg); }
  .has-mega:hover .mega {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(2px);
  }
}
/* 面板顶部「总览」条：一级项不再直接跳站，进板块首页点这里 */
.mega-head { grid-column: 1 / -1; }
.mega-overview {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 12px; border-radius: 10px; font-size: 13px; font-weight: 600;
  color: var(--ink); background: var(--bg-soft);
}
.mega-overview:hover { color: var(--plush); background: #f2ece4; }
.mega-overview__go { color: var(--plush); font-size: 14px; }
.mega .mcol h5 { font-size: 12px; color: var(--plush); letter-spacing: .05em; margin: 0 0 10px; }
.mega .mcol a { display: block; padding: 6px 0; font-size: 14px; color: var(--ink-2); border-radius: 6px; }
.mega .mcol a:hover { color: var(--plush); }

/* Small MOQ nav button */
.btn-moq { background: var(--plush); color: #fff; box-shadow: 0 8px 22px rgba(255,122,89,.32); }
.btn-moq:hover { background: #ff6347; transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-inner { padding: 110px 0 96px; text-align: center; position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(38px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -0.03em;
  max-width: 16ch; margin: 0 auto;
}
.hero .lead { margin: 22px auto 0; max-width: 56ch; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-grad-1 { background: linear-gradient(135deg, #ffe6da 0%, #ffd6e6 50%, #e3e0ff 100%); }
.hero-grad-2 { background: linear-gradient(135deg, #dceaff 0%, #e7dcff 55%, #ffe3d6 100%); }
.hero-grad-3 { background: linear-gradient(135deg, #fff1d6 0%, #ffd9c6 60%, #ffe0ec 100%); }
.hero-grad-4 { background: linear-gradient(135deg, #d9f6ec 0%, #dceaff 55%, #f0e0ff 100%); }
.hero-grad-dark { background: radial-gradient(120% 120% at 70% 0%, #2a2a33 0%, #111114 60%); color: var(--ink-on-dark); }
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: 1;
}
.hero .blob-1 { width: 380px; height: 380px; background: #ff9d7a; top: -80px; left: -60px; }
.hero .blob-2 { width: 320px; height: 320px; background: #7ab8ff; bottom: -90px; right: -40px; }

/* ---------- Pills / tags ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; padding: 6px 13px; border-radius: var(--r-pill);
  background: rgba(41,151,255,.10); color: var(--blue);
}
.tag--plush { background: rgba(255,122,89,.14); color: var(--plush); }
.tag--mint { background: rgba(52,198,160,.14); color: var(--mint); }
.tag--dark { background: rgba(255,255,255,.12); color: var(--ink-on-dark); }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.section--soft .card { background: #fff; }
.card .ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(255,122,89,.16), rgba(41,151,255,.16));
  color: var(--plush); margin-bottom: 18px;
}
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15px; }

/* Pain-point card (with number) */
.pain {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 28px; box-shadow: var(--shadow-sm); overflow: hidden;
}
.pain::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--plush), var(--blue));
}
.pain .num { font-size: 13px; font-weight: 700; color: var(--plush); letter-spacing: .1em; }
.pain h3 { font-size: 20px; margin: 8px 0 10px; }
.pain p { color: var(--ink-soft); font-size: 15px; }

/* Solution card (mapped) */
.sol { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.sol .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue); color: #fff; margin-bottom: 16px; }
.sol h3 { font-size: 19px; margin-bottom: 8px; }
.sol p { color: var(--ink-2); font-size: 15px; }
.sol ul { margin-top: 12px; display: grid; gap: 8px; }
.sol li { display: flex; gap: 9px; font-size: 14.5px; color: var(--ink-2); }
.sol li svg { flex: 0 0 auto; margin-top: 3px; color: var(--mint); }

/* Feature row (image + text) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature--rev .feature-media { order: 2; }
.feature h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; }
.feature p { margin-top: 16px; color: var(--ink-soft); }
.feature .btn { margin-top: 26px; }

/* Media placeholder (self-contained gradient block) */
.media {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, #ffd9c6, #cfe2ff);
  display: grid; place-items: center;
}
.media[data-label]::after {
  content: attr(data-label); position: absolute; bottom: 14px; left: 16px;
  font-size: 12px; font-weight: 600; color: rgba(0,0,0,.45);
  background: rgba(255,255,255,.6); padding: 4px 10px; border-radius: 8px; backdrop-filter: blur(4px);
}
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; text-align: center; }
.stat .n { font-size: clamp(30px, 4vw, 46px); font-weight: 700; letter-spacing: -0.02em; }
.stat .l { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }
.section--dark .stat .l { color: var(--ink-on-dark-soft); }
.stat .n .u { font-size: .55em; font-weight: 600; color: var(--ink-soft); margin-left: 2px; }

/* ---------- Logo / trust strip ---------- */
.trust { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; justify-content: center; opacity: .9; }
.trust .chip {
  font-size: 14px; font-weight: 600; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: var(--r-pill); padding: 8px 16px; background: #fff;
}

/* ---------- Pain → Solution matrix ---------- */
.matrix { display: grid; gap: 14px; }
.mrow {
  display: grid; grid-template-columns: 1fr 56px 1.2fr; gap: 18px; align-items: stretch;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 26px;
}
.mrow .pain-col h4 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.mrow .pain-col p { font-size: 14px; color: var(--ink-soft); }
.mrow .arrow { display: grid; place-items: center; color: var(--plush); }
.mrow .sol-col h4 { font-size: 17px; font-weight: 600; color: var(--blue); margin-bottom: 6px; }
.mrow .sol-col p { font-size: 14px; color: var(--ink-2); }

/* ---------- Accordion (FAQ) ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.acc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.acc summary {
  cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 17px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; list-style: none;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary .plus { transition: transform .2s ease; color: var(--blue); font-size: 22px; line-height: 1; }
.acc[open] summary .plus { transform: rotate(45deg); }
.acc .body { padding: 0 24px 22px; color: var(--ink-soft); font-size: 15.5px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; border-radius: var(--r-xl); padding: 64px 32px; }
.cta-band h2 { font-size: clamp(28px, 3.6vw, 44px); margin: 0 auto; max-width: 20ch; }
.cta-band p { margin: 16px auto 0; color: var(--ink-soft); max-width: 52ch; }
.cta-band .hero-actions { margin-top: 30px; }
.section--dark .cta-band p { color: var(--ink-on-dark-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: var(--ink-on-dark-soft); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h5 { color: var(--ink-on-dark); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-grid a { display: block; padding: 6px 0; font-size: 15px; color: var(--ink-on-dark-soft); }
.footer-grid a:hover { color: #fff; }
.footer-brand p { color: var(--ink-on-dark-soft); font-size: 15px; max-width: 36ch; margin-top: 14px; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; }

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 34px; box-shadow: var(--shadow-md); }
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card .sub { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(41,151,255,.15);
}
.field textarea { resize: vertical; min-height: 96px; }
.field .hint { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; }
.form-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 14px; text-align: center; }
.form-ok {
  display: none; background: rgba(52,198,160,.12); border: 1px solid rgba(52,198,160,.4);
  color: #1d7a5f; border-radius: var(--r-sm); padding: 14px 16px; font-size: 14.5px; margin-top: 14px;
}
.form-ok.show { display: block; }

/* ---------- Sample order ---------- */
.sample-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-top: 4px; }
.scheck { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.scheck input { width: 17px; height: 17px; accent-color: var(--blue); }
.order-summary { background: var(--soft); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px 18px; margin: 22px 0 6px; }
.os-row { display: flex; justify-content: space-between; font-size: 15px; }
.os-row b { font-weight: 700; }
.os-sub { color: var(--ink-soft); font-size: 13px; margin-top: 4px; }
.os-sub b { color: var(--plush); }
.paypal-wrap { margin-top: 18px; }
@media (max-width: 720px) { .sample-checks { grid-template-columns: 1fr; } }

/* ---------- Breadcrumb ---------- */
.crumb { font-size: 14px; color: var(--ink-soft); padding: 22px 0 0; }
.crumb a:hover { color: var(--blue); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Split / checklist / extra grids ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.checklist { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.checklist li { display: flex; gap: 12px; font-size: 16px; color: var(--ink-2); align-items: flex-start; }
.checklist li::before { content: "✓"; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(52,198,160,.16); color: var(--mint); font-size: 13px; font-weight: 700; margin-top: 1px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.card-ico { font-size: 34px; line-height: 1; margin-bottom: 14px; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--plush), var(--blue)); color: #fff; font-weight: 700; margin-bottom: 14px; }
.step h4 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Subscribe band ---------- */
.subscribe { background: var(--bg-dark); }
.subscribe-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.subscribe-inner h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); }
.subscribe-lead { color: var(--ink-on-dark-soft); margin-top: 10px; font-size: 17px; }
.subscribe-form { display: flex; gap: 12px; margin: 26px auto 0; max-width: 480px; }
.subscribe-form input {
  flex: 1; font-family: inherit; font-size: 15px; padding: 13px 18px;
  border-radius: var(--r-pill); border: 1.5px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08); color: #fff;
}
.subscribe-form input::placeholder { color: rgba(255,255,255,.55); }
.subscribe-form input:focus { outline: none; border-color: var(--blue); }
.subscribe-note { color: var(--ink-on-dark-soft); font-size: 13px; margin-top: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature--rev .feature-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-wrap { grid-template-columns: 1fr; }
  .mrow { grid-template-columns: 1fr; }
  .mrow .arrow { transform: rotate(90deg); }
}
@media (max-width: 720px) {
  :root { --header-h: 40px; } /* 约 64px 的 62% */
  .site-header { padding: 0 12px; }
  .brand { font-size: 12px; gap: 6px; } /* 约 19px 的 63% */
  .brand .mark { width: 18px; height: 18px; border-radius: 6px; font-size: 11px; }
  .nav-cta .btn { font-size: 12px; padding: 5px 11px; border-radius: 9px; }
  .nav-toggle { padding: 5px; }
  .nav-toggle span { width: 18px; height: 2px; margin: 4px 0; }
  .hero-inner { padding: 64px 0 52px; }
  .section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 16px 18px;
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.open .nav-links a { padding: 12px 14px; }
  .nav.open .nav-item { display: block; }
  .nav.open .nav-item > a { display: block; padding: 12px 14px; }
  .nav.open .mega { display: none; }
  .nav.open .has-mega.open .mega {
    display: grid;
    position: static; transform: none; left: auto; top: auto;
    width: 100%; max-width: 100%;
    grid-template-columns: 1fr 1fr; gap: 2px 18px;
    background: var(--bg-soft); border: 0; border-top: 1px solid var(--line);
    border-radius: 0; box-shadow: none; padding: 8px 10px 12px;
    opacity: 1; visibility: visible;
  }
  .nav.open .has-mega.open .mega .mcol h5 { margin: 8px 0 2px; font-size: 11px; }
  .nav.open .has-mega.open .mega .mcol a { padding: 6px 8px; font-size: 13px; border-radius: 8px; }
  .nav.open .has-mega.open > a .caret { transform: rotate(180deg); }
  .nav-item .caret { display: inline-block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-inner { padding: 80px 0 64px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .subscribe-form { flex-direction: column; }
}

/* ===================== Homepage: 6 hero screens ===================== */
.hp-screen { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; max-width: 2560px; margin: 0 auto 8px; scroll-snap-align: start; }
.hp-screen .container { position: relative; z-index: 2; text-align: center; padding-top: 22px; padding-bottom: 22px; }
.hp-screen h1 { font-size: clamp(26px, 3vw, 42px); line-height: 1.1; letter-spacing: -0.02em; max-width: 18ch; margin: 0 auto; }
.hp-screen .lead { margin: 10px auto 0; max-width: 34ch; font-size: clamp(14px, 1.5vw, 18px); color: var(--ink); }
.hp-screen .hero-actions { margin-top: 14px; }
.hp-screen .btn { padding: 11px 24px; font-size: 15px; }
.hp-screen .media { margin: 14px auto 0; height: 31vh; width: auto; aspect-ratio: 16 / 9; max-width: 100%; box-shadow: var(--shadow-md); }
.hp-screen .hp-compare { margin: 14px auto 0; height: 31vh; width: auto; max-width: 100%; }

/* 首页 Hero 1：全幅实拍背景 + 文字浮于图上（带入场动画） */
.hero-grad-1.hp-screen { background: none; }
.hero-grad-1 .hp-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('../images/hero-1.webp') center / cover no-repeat;
  transform: scale(1.14); filter: blur(12px); opacity: 0;
  animation: hpBgIn 1.5s cubic-bezier(.22,.61,.36,1) .15s both;
}
@keyframes hpBgIn { to { transform: scale(1); filter: blur(0); opacity: 1; } }
.hero-grad-1 .hp-shine { position: absolute; inset: 0; z-index: 3; overflow: hidden; pointer-events: none; }
.hero-grad-1 .hp-shine::before {
  content: ""; position: absolute; top: -20%; left: -60%; width: 45%; height: 140%; transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.40), transparent);
  animation: hpShine 1.25s ease .55s both;
}
@keyframes hpShine { from { left: -60%; } to { left: 130%; } }
.hero-grad-1.hp-screen::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.20) 50%, rgba(0,0,0,.45) 100%);
}
.hero-grad-1.hp-screen .eyebrow { color: var(--plush-2); }
.hero-grad-1.hp-screen h1,
.hero-grad-1.hp-screen .lead { color: #fff; }
.hero-grad-1.hp-screen .lead { color: rgba(255,255,255,.92); }
.hero-grad-1.hp-screen .eyebrow,
.hero-grad-1.hp-screen h1,
.hero-grad-1.hp-screen .lead { text-shadow: 0 2px 20px rgba(0,0,0,.35); }
/* 首屏文字逐行错峰上浮 */
.hero-grad-1.hp-screen .container > * { opacity: 0; transform: translateY(30px); animation: hpRise .9s cubic-bezier(.22,.61,.36,1) both; }
.hero-grad-1 .container > .eyebrow { animation-delay: .50s; }
.hero-grad-1 .container > h1 { animation-delay: .68s; }
.hero-grad-1 .container > .lead { animation-delay: .92s; }
.hero-grad-1 .container > .hero-actions { animation-delay: 1.12s; }
@keyframes hpRise { to { opacity: 1; transform: translateY(0); } }

/* ===== 纵向整屏吸附：滑动半屏露出下一个 hero，再滑刚好占满全屏（PC/移动一致） ===== */
html { scroll-snap-type: y proximity; }
.hp-screen, .section { scroll-snap-align: start; }

/* ===== 两阶段揭示：① 大背景先淡入 ② 内容元素依次出现 ===== */
/* 阶段一：大背景（渐变层 / 视频 / 光斑）先于内容出现，并做极轻微的缩放收束 */
.hp-reveal.hp-bg-fade { background: none; }            /* 渐变移入 .hp-bg，单独控制淡入 */
.hp-reveal .hp-bg {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.1s ease, transform 2.4s cubic-bezier(.22,.61,.36,1);
}
.hp-reveal.is-visible .hp-bg { opacity: 1; transform: scale(1); }
.hp-reveal .hp-blob { opacity: 0; transition: opacity 1.1s ease; }
.hp-reveal.is-visible .hp-blob { opacity: .5; }

/* 阶段二：内容（标题 / 文字 / 图片 / 小标题等）从下往上滑入，逐个浮现 */
[data-stagger] > * {
  opacity: 0; transform: translateY(72px);
  transition: opacity 2s ease, transform 2s cubic-bezier(.22,.61,.36,1);
}
[data-stagger].is-lit > * { opacity: 1; transform: none; }
/* 每个元素浮现 2s，间隔 1s（起始间隔 3s）；基础延迟 0.8s 让大背景先就位 */
[data-stagger].is-lit > *:nth-child(1) { transition-delay: .80s; }
[data-stagger].is-lit > *:nth-child(2) { transition-delay: 3.80s; }
[data-stagger].is-lit > *:nth-child(3) { transition-delay: 6.80s; }
[data-stagger].is-lit > *:nth-child(4) { transition-delay: 9.80s; }
[data-stagger].is-lit > *:nth-child(5) { transition-delay: 12.80s; }
[data-stagger].is-lit > *:nth-child(6) { transition-delay: 15.80s; }
[data-stagger].is-lit > *:nth-child(7) { transition-delay: 18.80s; }
[data-stagger].is-lit > *:nth-child(8) { transition-delay: 21.80s; }

/* 划走时：内容像从上方被丢走（短暂上浮淡出），再次进入会重新依次出现 */
.hp-reveal.is-out-top [data-stagger] > * {
  opacity: 0 !important; transform: translateY(-52px) !important;
  transition: opacity .4s ease, transform .4s ease;
}

@media (prefers-reduced-motion: reduce) {
  .hero-grad-1 .hp-bg,
  .hero-grad-1 .hp-shine::before,
  .hero-grad-1 .container > * { animation: none !important; opacity: 1 !important; transform: none !important; }
  .hp-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hp-reveal .hp-bg,
  .hp-reveal .hp-blob { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hp-reveal.is-out-top [data-stagger] > * { opacity: 1 !important; transform: none !important; }
  [data-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ===================== Homepage: hero 1 拖拽对比滑块（简笔画 ↔ 毛绒实拍） ===================== */
.hp-compare {
  position: relative; width: 100%; max-width: 1080px; margin: 56px auto 0;
  aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); user-select: none; -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent; touch-action: pan-y; cursor: ew-resize; outline: none;
}
.hp-compare:focus, .hp-compare:focus-visible, .hp-compare__handle:focus { outline: none; }
.hp-compare img, .hp-compare__handle { -webkit-user-drag: none; user-drag: none; -webkit-user-select: none; }
.hp-compare ::selection { background: transparent; }
.hp-compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hp-compare__line { z-index: 1; }
.hp-compare__plush { z-index: 2; clip-path: inset(0 0 0 var(--pos, 50%)); }
.hp-compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px;
  background: #fff; z-index: 3; transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}
.hp-compare__grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.hp-compare__tag {
  position: absolute; bottom: 14px; z-index: 3; font-size: 13px; font-weight: 600;
  color: #fff; background: rgba(0,0,0,.45); padding: 5px 12px; border-radius: 999px; pointer-events: none;
}
.hp-compare__tag--l { left: 14px; }
.hp-compare__tag--r { right: 14px; }
@media (max-width: 720px) { .hp-compare { margin-top: 40px; } }
.hero-grad-6 { background: linear-gradient(135deg, #fff0d6 0%, #ffe0ec 55%, #e0f6ec 100%); }
.hp-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: 1; }
.hp-screen .hp-blob.b1 { width: 360px; height: 360px; background: #ff9d7a; top: -70px; left: -50px; }
.hp-screen .hp-blob.b2 { width: 300px; height: 300px; background: #7ab8ff; bottom: -80px; right: -40px; }

/* ===================== Homepage: 2x2 matrix ===================== */
.hp-matrix-wrap { width: 100%; max-width: 2560px; margin: 0 auto; padding: 8px 0 0; }
.hp-matrix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hp-tile { background: #f5f5f7; border-radius: 0; padding: 56px 24px 0; text-align: center; min-width: 0; display: flex; flex-direction: column; }
.hp-tile__body { max-width: 440px; margin: 0 auto; }
.hp-tile__title { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
.hp-tile__desc { font-size: 16px; line-height: 1.5; color: var(--ink-soft); margin: 12px 0 0; }
.hp-tile__actions { display: flex; gap: 28px; justify-content: center; margin-top: 16px; }
.hp-tile__link { color: var(--blue); font-size: 16px; text-decoration: none; white-space: nowrap; }
.hp-tile__link::after { content: " \203A"; }
.hp-tile__link:hover { text-decoration: underline; }
.hp-tile__media { margin-top: 30px; }
.hp-tile__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 0; }
.hp-tile--illus .hp-tile__media img { object-fit: contain; background: transparent; padding: 14px; }
.hp-mcard h3 { font-size: 22px; margin-bottom: 8px; }
.hp-mcard p { color: var(--ink-soft); font-size: 15px; }

/* ===================== Homepage: 4:3 slide gallery (sample / showroom) ===================== */
.hp-gallery { max-width: 2560px; margin: 0 auto; }
.hp-gallery .section-head { margin-bottom: 44px; }
.hp-gallery-block { margin-top: 34px; }
.hp-gallery-title { font-size: 20px; font-weight: 700; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.hp-gallery-title::before { content: ""; width: 6px; height: 22px; border-radius: 4px; background: linear-gradient(180deg, var(--plush), var(--blue)); display: inline-block; }
.hp-gallery-row {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; padding: 4px 0 16px; width: 100%;
  padding-left: clamp(20px, 4vw, 64px); padding-right: clamp(20px, 4vw, 64px);
}
.hp-gallery-row::-webkit-scrollbar { height: 8px; }
.hp-gallery-row::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.hp-gitem {
  aspect-ratio: 4 / 3; scroll-snap-align: start; margin: 0;
  border-radius: var(--r-lg); flex: 0 0 auto; min-width: 0;
  flex: 0 0 clamp(300px, 32vw, 440px);
}
@media (max-width: 720px) {
  .hp-screen { min-height: 100vh; min-height: 100svh; }
  .hp-screen .container { padding-top: 72px; padding-bottom: 72px; }
  /* 矩阵：移动端改为左右滑动，一次显示一个 tile */
  .hp-matrix { display: flex; grid-template-columns: none; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 8px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .hp-matrix::-webkit-scrollbar { display: none; }
  .hp-tile { flex: 0 0 84%; scroll-snap-align: center; }
  .hp-gitem { flex: 0 0 80vw; }
}

/* ===================== Homepage: hero 3 一张图 → 一个样 → 一批货 ===================== */
.hp-flow { margin: 26px auto 0; max-width: 980px; }
.hp-flow__media { margin: 0; }
.hp-flow__media img { width: 100%; height: auto; display: block; }
.hp-flow__caps { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; padding: 0 4px; }
.hp-flow__caps span { flex: 1; text-align: center; font-size: 14px; font-weight: 600; color: var(--ink-2); letter-spacing: .02em; }
.hp-flow__caps span:not(:last-child) { position: relative; }
@media (max-width: 560px) { .hp-flow__caps span { font-size: 12.5px; } }

/* 首页某些 Hero 屏左对齐 */
.hp-screen.hp-screen--left .container { text-align: left; }
.hp-screen.hp-screen--left h1,
.hp-screen.hp-screen--left .lead { margin-left: 0; margin-right: 0; }
.hp-screen.hp-screen--left .hero-actions { justify-content: flex-start; }

/* ===================== Homepage: hero 4 订购方案 ===================== */
.hp-order { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 980px; margin: 24px auto 0; text-align: left; }
.hp-order__card { background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 22px 20px; box-shadow: var(--shadow-sm); }
.hp-order__card h3 { font-size: 18px; margin-bottom: 6px; }
.hp-order__card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 720px) { .hp-order { grid-template-columns: 1fr; max-width: 420px; } }

/* 4 卡变体（Shipping & Partnership 屏）：每张卡都是可点击链接 */
.hp-order--4 { grid-template-columns: repeat(4, 1fr); max-width: 1140px; }
.hp-order__card--link { color: inherit; text-decoration: none; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.hp-order__card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); background: rgba(255,255,255,.95); }
.hp-order__go { margin-top: auto; padding-top: 12px; font-size: 14px; font-weight: 600; color: var(--blue); }
@media (max-width: 980px) { .hp-order--4 { grid-template-columns: repeat(2, 1fr); max-width: 640px; } }
@media (max-width: 720px) { .hp-order--4 { grid-template-columns: 1fr; max-width: 420px; } }

/* ===================== 常备库存产品网格（首页预览 + products 页） ===================== */
.hp-stock__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hp-stock__card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.hp-stock__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.hp-stock__card .media { border-radius: 0; aspect-ratio: 1 / 1; }
.hp-stock__body { padding: 18px 20px 20px; }
.hp-stock__body h3 { font-size: 17px; margin-bottom: 4px; }
.hp-stock__body p { font-size: 14px; color: var(--ink-soft); margin-bottom: 12px; }
.hp-stock__cta { display: inline-block; margin-top: 10px; color: var(--blue); font-size: 14px; font-weight: 600; }
.hp-stock__cta::after { content: " \203A"; }
@media (max-width: 980px) { .hp-stock__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hp-stock__grid { grid-template-columns: 1fr; } }

/* ===================== Samples: dual-dimension filter ===================== */
.sample-layout { display: grid; grid-template-columns: 210px 1fr; gap: 36px; align-items: start; }
.sample-cats { position: sticky; top: 88px; display: grid; gap: 8px; }
.sample-cats__title { font-size: 13px; font-weight: 700; color: var(--ink-soft); letter-spacing: .04em; margin-bottom: 4px; padding-left: 4px; }
.cat-btn { font: inherit; font-size: 15px; font-weight: 500; text-align: left; cursor: pointer; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); transition: all .15s ease; }
.cat-btn:hover { border-color: var(--blue); color: var(--blue); }
.cat-btn.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.sample-main { min-width: 0; }
.mat-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 26px; }
.mat-chips__title { font-size: 13px; font-weight: 700; color: var(--ink-soft); letter-spacing: .04em; margin-right: 4px; }
.mat-chip { font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); transition: all .15s ease; }
.mat-chip:hover { border-color: var(--blue); color: var(--blue); }
.mat-chip.is-active { background: rgba(41,151,255,.10); border-color: var(--blue); color: var(--blue); }
.sample-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sample-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.sample-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sample-card .media { border-radius: 0; aspect-ratio: 1 / 1; }
.sample-card__body { padding: 16px 18px 18px; }
.sample-card__body h3 { font-size: 16px; margin-bottom: 12px; }
.sample-card__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sample-empty { text-align: center; color: var(--ink-soft); padding: 44px 0; }
@media (max-width: 980px) {
  .sample-layout { grid-template-columns: 1fr; gap: 22px; }
  .sample-cats { position: static; grid-template-columns: repeat(3, 1fr); }
  .sample-cats__title { grid-column: 1 / -1; }
  .sample-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .sample-cats { grid-template-columns: repeat(2, 1fr); }
  .sample-grid { grid-template-columns: 1fr; }
}

/* Mega menu: 2-column variant (samples) */
.mega--cols2 { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(480px, 92vw); }
/* Mega menu: 3-column variant (samples + product stories) */
.mega--cols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(720px, 94vw); }
/* Mega menu: 4-column variant (custom: OEM / ODM / flow / material) — 材质名较长，需要更宽 */
.mega--cols4 { grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(940px, 94vw); }
/* Mega menu: 5-column variant (about: profile / credentials / team / why us / resources) */
.mega--cols5 { grid-template-columns: repeat(5, minmax(0, 1fr)); width: min(1040px, 94vw); }

/* ===================== Product Stories (3 landing pages) ===================== */
.ps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ps-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.ps-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #e6ddd4; }
.ps-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #f2ebe0; }
.ps-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.ps-card:hover .ps-card__media img { transform: scale(1.04); }
.ps-card__badge {
  position: absolute; left: 14px; top: 14px; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: #3a332b; background: rgba(255,255,255,.9); backdrop-filter: blur(6px);
  padding: 5px 10px; border-radius: 20px;
}
.ps-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ps-card__body h3 { font-size: 19px; margin: 0; letter-spacing: -.01em; color: var(--ink); }
.ps-card__body p { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin: 0; }
.ps-card__spec { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.ps-card__spec span { font-size: 11.5px; color: #7d6f63; background: #f7f2ec; border-radius: 20px; padding: 4px 9px; }
.ps-card__cta { margin-top: auto; padding-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--plush); }
@media (max-width: 900px) { .ps-grid { grid-template-columns: 1fr; } }

/* ===================== Samples：全局 header 正常吸顶（mega menu 常驻） ===================== */

/* 锚点落点避开吸附的全局 header */
#categories, #materials, #how, #contact, #stories, #gallery,
[id^="cat-"], [id^="mat-"] { scroll-margin-top: 76px; }

/* 大屏海报：首屏即满屏 */
.sample-poster {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  background: #111114 center / cover no-repeat; color: #fff;
}
.sample-poster__bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('../images/showroom-5.webp') center / cover no-repeat;
  transform: scale(1.06);
  transition: transform 7s ease;
}
.sample-poster::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.28) 45%, rgba(0,0,0,.58) 100%);
}
.sample-poster .container { position: relative; z-index: 2; max-width: 880px; }
.sample-poster .eyebrow { color: var(--plush-2); }
.sample-poster h1 { color: #fff; font-size: clamp(34px, 6vw, 72px); line-height: 1.04; letter-spacing: -0.03em; text-shadow: 0 2px 24px rgba(0,0,0,.40); }
.sample-poster .lead { color: rgba(255,255,255,.92); margin: 20px auto 0; max-width: 52ch; text-shadow: 0 1px 14px rgba(0,0,0,.35); }
.sample-poster .hero-actions { margin-top: 32px; }
.sample-poster .btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.30); }
.sample-poster .btn-ghost:hover { background: rgba(255,255,255,.24); }
/* 入场：内容逐行上浮（复用 hpRise 关键帧） */
.sample-poster .container > * { opacity: 0; transform: translateY(28px); animation: hpRise .9s cubic-bezier(.22,.61,.36,1) both; }
.sample-poster .container > .eyebrow { animation-delay: .15s; }
.sample-poster .container > h1 { animation-delay: .30s; }
.sample-poster .container > .lead { animation-delay: .50s; }
.sample-poster .container > .hero-actions { animation-delay: .70s; }
/* 下滑提示 */
.sample-poster__cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,.75); font-size: 13px; letter-spacing: .08em;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.sample-poster__cue .chev {
  width: 20px; height: 20px; border-right: 2px solid rgba(255,255,255,.7); border-bottom: 2px solid rgba(255,255,255,.7);
  transform: rotate(45deg); animation: cueBob 1.8s ease-in-out infinite;
}
@keyframes cueBob { 0%,100% { transform: rotate(45deg) translate(0,0); } 50% { transform: rotate(45deg) translate(4px,4px); } }

/* 长 banner：海报下方，上滑到顶后收缩成一条 header */
.sample-banner {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  transition: padding .25s ease, box-shadow .25s ease;
}
.sample-banner.is-stuck { padding: 6px 0; box-shadow: var(--shadow-sm); }
.sample-banner__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
/* 展开态内容：与全站 Mega menu 同源的分类导航（软面板 + 胶囊 chips + 竖分隔线） */
.sample-banner__mega {
  display: flex; align-items: center; gap: 22px;
  max-height: 200px; opacity: 1; overflow: hidden;
  margin-bottom: 12px; padding: 12px 18px;
  background: var(--bg-soft); border-radius: 16px;
  transition: max-height .28s ease, opacity .2s ease, margin .28s ease, padding .28s ease;
}
.sample-banner.is-stuck .sample-banner__mega {
  max-height: 0; opacity: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0;
}
.sb-group { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1.35 1 0; }
.sb-group--mat { flex: 1 1 0; }
.sb-title { flex: 0 0 auto; font-size: 13px; font-weight: 700; color: var(--plush); letter-spacing: .02em; white-space: nowrap; }
.sb-divider { flex: 0 0 auto; width: 1px; align-self: stretch; background: var(--line); margin: 2px 0; }
.sb-links { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.sb-links a {
  font-size: 13.5px; line-height: 1; color: var(--ink-2); white-space: nowrap;
  padding: 7px 13px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.sb-links a:hover { color: var(--blue); border-color: var(--blue); background: rgba(41,151,255,.06); }
/* 主行：吸附后保留的「一条 header」 */
.sample-banner__bar { display: flex; align-items: center; gap: 18px; height: 44px; }
.sample-banner.is-stuck .sample-banner__bar { height: 40px; }
.sample-banner .brand { font-size: 17px; }
.sample-banner .brand .mark { width: 26px; height: 26px; border-radius: 8px; font-size: 14px; }
.sample-banner__links { display: flex; align-items: center; gap: 4px; margin-left: 6px; flex: 1; }
.sample-banner__links a {
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  padding: 8px 14px; border-radius: 10px; transition: background .15s ease, color .15s ease;
}
.sample-banner__links a:hover { background: var(--bg-soft); color: var(--ink); }
.sample-banner__links a.active { color: var(--blue); background: rgba(41,151,255,.10); }
.sample-banner .nav-cta .btn { padding: 9px 18px; font-size: 14px; }

@media (max-width: 720px) {
  .sample-banner__inner { padding: 0 14px; }
  .sample-banner__links { display: none; }
  .sample-banner .brand { font-size: 14px; }
  .sample-banner__mega { display: none; }
  .page-samples .sample-poster { min-height: calc(92vh - var(--header-h)); min-height: calc(92svh - var(--header-h)); }
  #library, #how, #contact { scroll-margin-top: 60px; }
}

/* ===================== Samples: Apple 版式（hero 通栏 + 瓷砖分区 + 材质卡片） ===================== */
/* 锚点落点避开吸附 banner */
#categories, #materials, #how, #contact,
.cat-cartoon, [id^="cat-"], [id^="mat-"] { scroll-margin-top: 76px; }

/* Hero：白底大字居中 + 通栏大图 */
.apl-hero { background: #fff; text-align: center; padding: 72px 0 0; }
.apl-hero .eyebrow { color: var(--plush, #b45309); }
.apl-hero h1 {
  font-size: clamp(40px, 7vw, 88px); line-height: 1.05; letter-spacing: -0.03em;
  color: var(--ink, #1d1d1f); margin: 14px auto 0; max-width: 20ch;
}
.apl-hero__sub {
  font-size: clamp(17px, 2.2vw, 24px); line-height: 1.45; color: var(--ink-2, #515154);
  margin: 18px auto 0; max-width: 56ch;
}
.apl-hero__links { display: flex; justify-content: center; align-items: center; gap: 32px; margin-top: 24px; flex-wrap: wrap; }
.apl-hero__media { margin-top: 48px; }
.apl-hero__media img { display: block; width: 100%; max-height: 72vh; object-fit: cover; }

/* Apple 式文字链接（蓝色 + chevron） */
.apl-link { color: var(--blue, #2997ff); font-size: 17px; font-weight: 500; white-space: nowrap; }
.apl-link .chev { font-size: 1.15em; line-height: 1; margin-left: 2px; }
.apl-link:hover { text-decoration: underline; }

/* 分区头：大标题居中 */
.apl-section { background: #fff; padding: 96px 0; }
.apl-section--gray { background: var(--bg-soft, #f5f5f7); }
.apl-section__head { text-align: center; margin-bottom: 48px; }
.apl-section__head h2 {
  font-size: clamp(32px, 5vw, 60px); line-height: 1.08; letter-spacing: -0.02em;
  color: var(--ink, #1d1d1f);
}
.apl-section__head p { font-size: clamp(16px, 2vw, 21px); color: var(--ink-2, #515154); margin-top: 12px; }

/* 瓷砖：一类别一块，通栏堆叠 */
.apl-tiles { display: flex; flex-direction: column; gap: 16px; padding: 0 24px; max-width: 1280px; margin: 0 auto; }
.apl-tile {
  position: relative; overflow: hidden; border-radius: 28px; background: var(--bg-soft, #f5f5f7);
  display: grid; grid-template-columns: 5fr 6fr; align-items: center; gap: 24px;
  min-height: 480px; padding: 48px 56px;
}
.apl-tile--dark { background: #1d1d1f; }
.apl-tile__copy { text-align: center; padding: 0 8px; }
.apl-tile__copy h3 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.02em; color: var(--ink, #1d1d1f); }
.apl-tile--dark .apl-tile__copy h3 { color: #f5f5f7; }
.apl-tile__copy p { margin-top: 10px; font-size: 17px; line-height: 1.47; color: var(--ink-2, #515154); }
.apl-tile--dark .apl-tile__copy p { color: #a1a1a6; }
.apl-tile__copy .apl-link { display: inline-block; margin-top: 16px; }
.apl-tile__media { height: 100%; min-height: 320px; border-radius: 20px; overflow: hidden; }
.apl-tile__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 材质卡片：四张一排 */
.apl-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.apl-card {
  background: #fff; border-radius: 24px; padding: 24px 22px; text-align: center;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  display: flex; flex-direction: column; align-items: center;
}
.apl-card__media { width: 100%; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; margin-bottom: 18px; background: var(--bg-soft, #f5f5f7); }
.apl-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.apl-card h3 { font-size: 20px; color: var(--ink, #1d1d1f); letter-spacing: -0.01em; }
.apl-card__spec { display: block; font-size: 14px; font-weight: 500; color: var(--ink-2, #515154); margin-top: 4px; }
.apl-card p { font-size: 14px; line-height: 1.5; color: var(--ink-2, #515154); margin-top: 10px; flex: 1; }
.apl-card .apl-link { margin-top: 14px; font-size: 15px; }

/* 底部 CTA */
.apl-cta { text-align: center; }
.apl-cta h2 { font-size: clamp(32px, 5vw, 56px); letter-spacing: -0.02em; color: var(--ink, #1d1d1f); }
.apl-cta p { font-size: 19px; color: var(--ink-2, #515154); margin-top: 10px; }
.apl-cta .apl-hero__links { margin-top: 28px; }

/* 响应式 */
@media (max-width: 960px) {
  .apl-tile { grid-template-columns: 1fr; min-height: 0; padding: 40px 24px; gap: 20px; }
  .apl-tile__media { min-height: 260px; }
  .apl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apl-section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .apl-cards { grid-template-columns: 1fr; }
  .apl-hero { padding-top: 48px; }
}

/* ===================== 触屏 / 无 hover 设备：mega 面板改抽屉式 =====================
   参考 apple.com：平板及以上的触屏设备，点一级项弹出一块贴着导航栏的整幅面板，
   行高 ≥44px、面板内部可独立滚动；点空白 / Esc / 选中链接即收起。
   ≤720px 的窄屏仍走汉堡抽屉（见上），这里只接管 721px 以上的触屏。 */
@media (min-width: 721px) and (hover: none), (min-width: 721px) and (pointer: coarse) {
  .nav-links { gap: 0; }
  .nav-links a { padding: 10px 11px; font-size: 14px; white-space: nowrap; }
  .nav-item > .nav-parent { min-height: 44px; }
  .mega,
  .mega--cols2,
  .mega--cols3,
  .mega--cols4,
  .mega--cols5 {
    position: fixed; left: 12px; right: 12px; top: calc(var(--header-h) + 4px);
    transform: none; width: auto; max-width: none;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    max-height: calc(100vh - var(--header-h) - 24px);
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    padding: 14px 16px 20px; border-radius: 18px;
  }
  .has-mega.open .mega { transform: none; }
  .mega-head { margin-bottom: 4px; }
  .mega-overview { min-height: 46px; padding: 11px 14px; font-size: 14px; }
  .mega .mcol h5 { margin: 12px 0 4px; font-size: 11.5px; }
  .mega .mcol a {
    display: flex; align-items: center; min-height: 44px;
    padding: 9px 10px; font-size: 15px; border-radius: 10px;
  }
  .mega .mcol a + a { border-top: 1px solid rgba(0,0,0,.06); }
  .mega .mcol a:active { background: var(--bg-soft); color: var(--plush); }
}

/* 平板竖屏（721–900px 触屏）导航会挤，收紧一点字号与间距，避免被压缩换行 */
@media (min-width: 721px) and (max-width: 900px) and (hover: none),
       (min-width: 721px) and (max-width: 900px) and (pointer: coarse) {
  .brand { font-size: 16px; gap: 8px; }
  .brand .mark { width: 26px; height: 26px; font-size: 14px; border-radius: 8px; }
  .nav-links a { padding: 9px 9px; font-size: 13.5px; }
  .nav-cta .btn { padding: 7px 12px; font-size: 13px; }
}
