/* H · Material spectrum. Loaded by the two homepages only. */
body.home-material {
  --home-ink: #282d30;
  --home-muted: #70766f;
  --home-sage: #65735e;
  --home-line: #e5e8e3;
  --home-serif: "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", SimSun, Georgia, serif;
  background: #fff;
  color: var(--home-ink);
}
/* 顶栏 / 桌面导航 / 语言切换 / CTA 统一由 styles.css 的共用规则控制
   （2026-11-11）：此前这里另写 14px 导航与独立断点，导致首页与其它页面
   导航位置差约 77px、滚动前后跳变。首页只保留下方内容区样式。 */
.home-material .h-shell { width: calc(100% - 104px); max-width: 1320px; margin-inline: auto; }
.home-material .h-hero { position: relative; background: #fff; }
.home-material .h-hero::before,
.home-material .h-hero::after,
.home-material .h-hero-art::before,
.home-material .h-hero-art::after { content: none; background: none; }
.home-material .h-hero-copy { text-align: center; padding: 47px 24px 34px; }
.home-material .h-hero h1 { margin: 0; font-family: var(--home-serif); font-size: clamp(38px, 4.2vw, 64px); font-weight: 500; letter-spacing: .055em; line-height: 1.28; color: #282d30; }
.home-material .h-hero h1 span { display: block; }
.home-material .h-hero-meta { margin: 23px 0 4px; color: #6a7066; font-size: 14px; letter-spacing: .06em; }
.home-material .h-hero-lead { margin: 0; color: #646b63; font-size: 16px; line-height: 1.8; }
.home-material .h-hero-actions { display: flex; justify-content: center; gap: 16px; margin-top: 23px; }
.home-material .h-button { display: inline-flex; align-items: center; justify-content: center; gap: 25px; min-height: 44px; min-width: 158px; padding: 10px 25px; border: 1px solid #87917f; border-radius: 2px; color: #4b5945; font-size: 14px; letter-spacing: .07em; background: #fff; transition: background .2s, border-color .2s, color .2s; }
.home-material .h-button--solid { color: #fff; background: #78836d; border-color: #78836d; }
.home-material .h-button:hover { color: #fff; background: #59694e; border-color: #59694e; }
.home-material .h-hero-art { margin: 0; overflow: hidden; background: #f6f5f2; }
.home-material .h-hero-art img { width: 100%; height: clamp(300px, 32vw, 550px); object-fit: cover; object-position: 50% 60%; display: block; opacity: 1; filter: none; mix-blend-mode: normal; }
@media (min-width: 961px) {
  .home-material .h-hero {
    display: grid;
    grid-template-rows: auto minmax(140px, 1fr);
    max-height: calc(100svh - var(--header-h) + 100px);
    height: calc(clamp(430px, 100svh - var(--header-h), 710px) + 100px);
  }
  .home-material .h-hero .h-hero-copy {
    padding-block: clamp(18px, 4svh, 42px) clamp(16px, 3svh, 28px);
  }
  .home-material .h-hero-art img { height: 100%; }
}
.home-material .h-about { display: grid; grid-template-columns: .9fr 1.2fr; align-items: stretch; gap: 70px; padding-block: 60px; }
.home-material .h-about-copy { align-self: center; }
.home-material .h-section-title { font-family: var(--home-serif); font-weight: 500; font-size: clamp(27px, 2.3vw, 36px); line-height: 1.45; margin: 0; letter-spacing: .025em; }
.home-material .h-about-title::after { content: ""; display: block; margin-block: 18px 22px; width: 36px; height: 1px; background: #929d8b; }
.home-material .h-about-lead { margin: 0 0 18px; font-family: var(--home-serif); font-size: 21px; line-height: 1.8; color: #3c433a; }
.home-material .h-about-description { margin: 0 0 21px; max-width: 460px; font-size: 15px; color: var(--home-muted); line-height: 1.9; }
.home-material .h-text-link { display: inline-flex; align-items: center; gap: 20px; color: #5b6d52; font-size: 14px; line-height: 1.7; padding-block: 6px; border-bottom: 1px solid #a0ab97; }
.home-material .h-text-link:hover { color: #303d2a; border-color: #43513c; }
.home-material .h-about-photo { margin: 0; min-width: 0; }
.home-material .h-about-photo img { width: 100%; height: 100%; min-height: 300px; max-height: 360px; object-fit: cover; object-position: center; filter: none; opacity: 1; }
.home-material .h-materials { padding-block: 12px 55px; }
.home-material .h-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 28px; margin-bottom: 26px; }
.home-material .h-section-head > p { max-width: 510px; margin: 0; color: var(--home-muted); font-size: 14px; line-height: 1.7; }
.home-material .h-section-head .h-text-link { flex-shrink: 0; border: 0; }
/* 五张卡必须等宽：左右留白统一 18px，首尾不再单独去掉 padding
   （原写法让首尾封面 246px、中间三张 227px，一排里大小不一）。
   margin-inline:-18px 把首尾卡的内容重新顶到版心边缘，既等宽又不缩进去。 */
.home-material .h-product-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-inline: -18px; }
.home-material .h-product-grid .product-card { min-width: 0; margin: 0; padding: 0 18px; border: 0; border-left: 1px solid var(--home-line); background: transparent; border-radius: 0; box-shadow: none; text-align: center; transform: none; }
.home-material .h-product-grid .product-card:first-child { border-left: 0; }
.home-material .h-product-grid .product-card:hover { transform: none; background: transparent; box-shadow: none; }
.home-material .h-product-grid .pc-media { height: auto; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 0; background: #f4f4f0; }
.home-material .h-product-grid .pc-media img { width: 100%; height: 100%; object-fit: cover; filter: none; transition: transform .45s ease; }
.home-material .h-product-grid .product-card:hover img { transform: scale(1.045); }
.home-material .h-product-grid .pc-body { padding: 15px 0 0; }
.home-material .h-product-grid .pc-body h3 { font-family: Georgia, var(--home-serif); font-size: 22px; line-height: 1.4; color: #303735; font-weight: 400; margin: 0 0 8px; }
.home-material .h-product-grid .pc-body p { color: #71766e; font-size: 13px; margin: 0; line-height: 1.75; }
.home-material .h-product-grid .pc-tag { display: none; }
.home-material .h-product-grid .pc-more { display: inline-block; font-size: 12px; font-weight: 400; letter-spacing: .04em; color: #596b50; margin-top: 11px; }
.home-material .h-product-palette { display: flex; gap: 7px; align-items: center; justify-content: center; min-height: 18px; margin-block: 13px 2px; }
.home-material .h-product-palette i { width: 15px; height: 15px; display: block; border-radius: 50%; border: 1px solid #00000010; }
.home-material .h-inspiration { padding-block: 20px 65px; }
.home-material .h-inspiration-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.home-material .h-inspiration-grid figure { margin: 0; min-width: 0; }
.home-material .h-inspiration-grid img { width: 100%; aspect-ratio: 1.65; object-fit: cover; filter: none; opacity: 1; }
.home-material .h-inspiration-grid figcaption { position: static; background: none; color: var(--home-ink); padding: 16px 0 0; }
.home-material .h-inspiration-grid figcaption h3 { font-family: var(--home-serif); font-weight: 500; font-size: 22px; margin: 0 0 6px; line-height: 1.5; }
.home-material .h-inspiration-grid figcaption p { color: var(--home-muted); font-size: 14px; margin: 0; line-height: 1.8; }
.home-material[data-page="home"] .site-footer { background: #edf3f6; color: #58656a; border: 0; padding: 42px 0 18px; }
.home-material .site-footer .container { width: calc(100% - 104px); max-width: 1320px; padding: 0; grid-template-columns: 1.1fr .6fr 1fr 1.6fr; gap: 30px; }
.home-material .site-footer .f-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.home-material .site-footer .f-brand img { width: auto; height: 42px; margin: 0; }
.home-material .site-footer .f-brand p { color: #637278; font-size: 13px; line-height: 1.8; margin: 0; max-width: 250px; }
.home-material .site-footer h4 { color: #374c53; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.home-material .site-footer a,
.home-material .site-footer .f-contact > div span,
.home-material .site-footer .f-contact > div strong { color: #56666c; font-size: 13px; font-weight: 400; }
.home-material .site-footer a:hover { color: #334a36; }
.home-material .site-footer .f-qr { gap: 12px; }
.home-material .site-footer .f-qr img { width: 68px; border-radius: 3px; padding: 4px; }
.home-material .site-footer .f-qr figcaption { color: #637278; font-size: 12px; }
.home-material .site-footer .copyright { border-top: 1px solid #d6e0e4; color: #748187; margin-top: 4px; padding-top: 16px; font-size: 12px; }
.home-material .mobile-menu { background: #f5f7f2; }
.home-material .mobile-menu a { color: #3c4937; }
.home-material .mobile-menu .lang-switch { background: #fff; }
.home-material .mobile-menu .lang-opt.is-active { background: #e6ecdf; }
.home-material .mobile-menu .lang-opt { padding-inline: 16px; }
.home-material .mobile-menu .lang-opt + .lang-opt::before { content: none; }
.home-material a:focus-visible,
.home-material button:focus-visible { outline: 2px solid #657756; outline-offset: 5px; }
@media (min-width: 1600px) { .home-material .h-hero-copy { padding-block: 60px 40px; } }
@media (max-width: 1180px) {
  .home-material .h-about { gap: 40px; }
  .home-material .site-footer .container { grid-template-columns: 1fr .7fr 1fr; }
  .home-material .site-footer .f-contact { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 30px; border-top: 1px solid #d6e0e4; padding-top: 20px; }
  .home-material .site-footer .f-contact h4 { margin: 0; }
  .home-material .site-footer .f-contact > div { margin: 0; }
}
@media (max-width: 1000px) {
  .home-material .h-shell { width: calc(100% - 56px); }
  .home-material .h-about { grid-template-columns: 1fr 1fr; gap: 28px; }
  .home-material .h-product-grid { grid-template-columns: repeat(6, minmax(0,1fr)); gap: 26px 0; margin-inline: -14px; }
  .home-material .h-product-grid .product-card { grid-column: span 2; padding-inline: 14px; }
  .home-material .h-product-grid .product-card:nth-child(4) { grid-column: 2 / span 2; border-left: 0; }
  .home-material .h-product-grid .product-card:nth-child(5) { grid-column: 4 / span 2; }
  .home-material .h-about-lead { font-size: 18px; }
  .home-material .site-footer .container { width: calc(100% - 56px); }
}
@media (max-width: 600px) {
  .home-material .h-shell { width: calc(100% - 36px); }
  .home-material .h-hero-copy { padding: 34px 18px 28px; }
  .home-material .h-hero h1 { font-size: clamp(32px, 8.8vw, 45px); line-height: 1.43; letter-spacing: .025em; }
  .home-material .h-hero-meta { font-size: 12px; margin-top: 16px; letter-spacing: .025em; }
  .home-material .h-hero-lead { font-size: 14px; }
  .home-material .h-hero-actions { margin-top: 19px; gap: 12px; }
  .home-material .h-button { min-width: 142px; padding-inline: 18px; font-size: 13px; gap: 15px; }
  .home-material .h-hero-art img { height: 250px; object-position: 50% 70%; }
  .home-material .h-about { grid-template-columns: 1fr; gap: 24px; padding-block: 36px; }
  .home-material .h-section-title { font-size: 27px; }
  .home-material .h-about-title::after { margin-block: 14px 18px; }
  .home-material .h-about-lead { font-size: 18px; margin-bottom: 12px; }
  .home-material .h-about-description { margin-bottom: 14px; font-size: 14px; }
  .home-material .h-about-photo img { height: auto; min-height: 0; aspect-ratio: 1.6; }
  .home-material .h-materials { padding-block: 4px 32px; }
  .home-material .h-section-head { gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
  .home-material .h-section-head > p { order: 3; width: 100%; font-size: 13px; }
  .home-material .h-section-head .h-text-link { margin-left: auto; gap: 9px; font-size: 12px; }
  .home-material .h-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 0; margin-inline: 0; }
  .home-material .h-product-grid .product-card { grid-column: auto; padding-inline: 12px; }
  .home-material .h-product-grid .product-card:nth-child(odd) { padding-left: 0; border-left: 0; }
  .home-material .h-product-grid .product-card:nth-child(even) { padding-right: 0; }
  .home-material .h-product-grid .product-card:nth-child(4),
  .home-material .h-product-grid .product-card:nth-child(5) { grid-column: auto; }
  .home-material .h-product-grid .product-card:nth-child(4) { border-left: 1px solid var(--home-line); }
  .home-material .h-product-grid .product-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 12px); justify-self: center; padding: 0; border: 0; }
  .home-material .h-product-grid .pc-body h3 { font-size: 20px; }
  .home-material .h-product-grid .pc-body p { font-size: 12px; }
  .home-material .h-product-palette { gap: 6px; margin-top: 10px; }
  .home-material .h-product-palette i { width: 13px; height: 13px; }
  .home-material .h-inspiration { padding-block: 8px 38px; }
  .home-material .h-inspiration-grid { grid-template-columns: 1fr; gap: 25px; }
  .home-material .h-inspiration-grid figcaption { padding-top: 12px; }
  .home-material .h-inspiration-grid figcaption h3 { font-size: 20px; }
  .home-material .h-inspiration-grid figcaption p { font-size: 13px; }
  .home-material[data-page="home"] .site-footer { padding-block: 30px 18px; }
  .home-material .site-footer .container { width: calc(100% - 36px); grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .home-material .site-footer .f-qr { grid-column: 1 / -1; justify-content: flex-start; gap: 22px; }
  .home-material .site-footer .f-qr img { width: 72px; }
  .home-material .site-footer .f-contact { display: block; }
  .home-material .site-footer .f-contact h4 { margin-bottom: 12px; }
  .home-material .site-footer .f-contact > div { margin-bottom: 7px; }
  .home-material .site-footer .copyright { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-material *, .home-material *::before, .home-material *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
