/* ==========================================================================
   MZR 米织然纺织 — 简约版视觉系统
   纯白底 / 无衬线 / 细线分隔 / 单一靛青强调色
   替换 static/textile/css/site.css 即可，模板与 JS 无需改动。
   ========================================================================== */

:root {
  /* 颜色 */
  --ink: #14161a;          /* 主文字 */
  --ink-soft: #5f646c;     /* 次要文字 */
  --ink-mute: #989ca3;     /* 说明、编号 */
  --paper: #ffffff;        /* 页面底色 */
  --paper-2: #f5f6f4;      /* 浅色分区 */
  --paper-3: #eceee9;      /* 图片占位 */
  --indigo: #27456e;       /* 唯一强调色：纺织靛蓝 */
  --indigo-soft: #edf1f6;
  --danger: #a5453b;
  --line: #e4e5e2;
  --line-strong: #cfd1cd;
  --line-light: #e4e5e2;

  /* 形状 */
  --radius: 4px;
  --shadow: 0 12px 40px rgba(20, 22, 26, .08);
  --shell: min(1200px, calc(100vw - 72px));

  /* 字体：全站统一无衬线 */
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans CJK SC", -apple-system, "Segoe UI", Arial, sans-serif;
  --serif: var(--sans);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; }

.shell { width: var(--shell); margin-inline: auto; }
.section-space { padding-block: clamp(64px, 7vw, 104px); }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 999; padding: 10px 16px; color: #fff; background: var(--ink); border-radius: var(--radius); transition: top .2s; }
.skip-link:focus { top: 16px; }

/* 通用标题 --------------------------------------------------------------- */
.hero h1, .page-hero h1, .compact-hero h1, .guest-account h1 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -.01em;
}
.intro-statement h2, .section-heading h2, .story-copy h2, .capability-copy h2,
.sustainability h2, .detail-story h2, .journal-inner h2 {
  margin: 0;
  font-size: clamp(21px, 2.2vw, 28px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -.005em;
}
.eyebrow {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 14px;
  color: var(--ink-mute);
  font-size: 11px; font-weight: 500; letter-spacing: .14em;
}
.eyebrow span { width: 16px; height: 1px; background: currentColor; }
.eyebrow.light { color: var(--ink-mute); }
.section-index { padding-top: 6px; color: var(--ink-mute); font-size: 11px; letter-spacing: .12em; }

/* 顶栏 ------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: 66px;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.site-header.is-scrolled { height: 66px; }
.header-inner { height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; }
.brand-mark {
  width: 26px; height: 26px;
  display: flex; align-items: stretch; gap: 2px;
  padding: 6px 5px;
  border: 1px solid var(--line-strong); border-radius: 3px;
  overflow: hidden;
}
.brand-mark i { flex: 1; background: var(--ink); }
.brand-mark i:nth-child(2) { background: var(--indigo); }
.brand-copy { display: grid; gap: 3px; line-height: 1; }
.brand-copy strong { font-size: 15px; font-weight: 600; letter-spacing: .1em; }
.brand-copy small { color: var(--ink-mute); font-size: 10px; letter-spacing: .1em; }

.desktop-nav { justify-self: center; display: flex; align-items: center; gap: clamp(20px, 2.6vw, 38px); height: 100%; }
.desktop-nav a { position: relative; display: grid; place-items: center; height: 100%; color: var(--ink-soft); font-size: 13.5px; transition: color .2s; }
.desktop-nav a::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--indigo); opacity: 0; transition: opacity .2s; }
.desktop-nav a:hover { color: var(--ink); }
.desktop-nav a.is-active { color: var(--ink); font-weight: 500; }
.desktop-nav a.is-active::after { opacity: 1; }

.header-tools { justify-self: end; display: flex; align-items: center; gap: 10px; }
.icon-button { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; border-radius: var(--radius); background: transparent; cursor: pointer; transition: background .2s; }
.icon-button:hover { background: var(--paper-2); }
.icon-button svg { width: 18px; }
.header-contact { padding: 9px 16px; color: #fff; background: var(--ink); border-radius: var(--radius); font-size: 12.5px; transition: background .2s; }
.header-contact:hover { background: var(--indigo); }
.header-contact span { display: none; }

.messages { position: relative; z-index: 110; }
.message { margin-top: 12px; padding: 11px 14px; border: 1px solid var(--line); border-left: 2px solid var(--indigo); border-radius: var(--radius); background: var(--paper-2); font-size: 13px; }
.message-error { border-left-color: var(--danger); }

/* 按钮与链接 ------------------------------------------------------------- */
.button {
  min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: 13.5px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.button span { font-size: 12px; }
.button-dark { color: #fff; background: var(--ink); }
.button-dark:hover { background: var(--indigo); }
.button-light { color: var(--ink); background: transparent; border-color: var(--line-strong); }
.button-light:hover { border-color: var(--ink); background: var(--paper-2); }
.button-full { width: 100%; }

.text-link, .under-link { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-size: 13.5px; }
.text-link { color: var(--ink-soft); }
.text-link:hover { color: var(--ink); }
.under-link { padding-bottom: 3px; border-bottom: 1px solid var(--line-strong); transition: border-color .2s; }
.under-link:hover { border-color: var(--ink); }
.text-link span, .under-link span { transition: transform .2s; }
.text-link:hover span, .under-link:hover span { transform: translateX(3px); }

/* 首页 · 主视觉 ---------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(64px, 9vw, 120px) clamp(56px, 8vw, 104px); border-bottom: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.hero::after { content: none; }
.hero-inner { position: relative; z-index: 2; display: block; }
.hero-copy { max-width: 640px; }
.hero h1 br { display: none; }
.hero h1 em { font-style: normal; color: var(--indigo); }
.hero-intro { max-width: 500px; margin: 18px 0 0; color: var(--ink-soft); font-size: 15px; }
.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 30px; flex-wrap: wrap; }
.hero-weave, .hero-scroll, .hero-spec { display: none; }

/* 首页 · 品牌陈述 -------------------------------------------------------- */
.intro-grid { display: grid; grid-template-columns: 90px minmax(0, 1.6fr) minmax(0, .7fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.intro-statement > p { max-width: 560px; margin: 16px 0 22px; color: var(--ink-soft); }
.intro-statement h2 br { display: none; }
.material-swatch { margin-top: 0; }
.swatch-surface { aspect-ratio: 1 / 1.15; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); box-shadow: none; }
.material-swatch p { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 12px 0 0; }
.material-swatch strong { font-size: 20px; font-weight: 600; }
.material-swatch span { color: var(--ink-mute); font-size: 11px; line-height: 1.6; text-align: right; }

/* 分区标题 --------------------------------------------------------------- */
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }

/* 首页 · 分类 ------------------------------------------------------------ */
.category-showcase { background: var(--paper-2); }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; gap: 24px; }
.category-tile { position: relative; display: block; color: var(--ink); overflow: visible; }
.category-tile-large { grid-row: auto; }
.category-tile::after { content: none; }
.category-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-3); transition: opacity .25s; }
.category-tile:hover img { opacity: .88; transform: none; }
.category-number { display: none; }
.category-tile > div { position: static; padding-top: 14px; }
.category-tile p { margin: 0 0 4px; color: var(--ink-mute); font-size: 11px; letter-spacing: .1em; }
.category-tile h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; }
.category-tile > div span { color: var(--ink-soft); font-size: 13px; }

/* 产品卡片 --------------------------------------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.product-card:nth-child(3n+2) { margin-top: 0; }
.product-visual { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); }
.product-visual img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.product-visual:hover img { opacity: .9; transform: none; filter: none; }
.product-badge { position: absolute; left: 10px; top: 10px; padding: 4px 8px; color: #fff; background: var(--indigo); border-radius: 3px; font-size: 10px; letter-spacing: .08em; }
.product-arrow { display: none; }
.product-meta { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 0; border-top: 0; }
.product-meta p { margin: 0 0 3px; color: var(--ink-mute); font-size: 11.5px; }
.product-meta h3 { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.4; }
.product-meta > span { flex: none; color: var(--ink-mute); font-size: 11px; }

/* 首页 · 能力区（原深色块改浅灰） ---------------------------------------- */
.capability-band { position: relative; min-height: 0; display: block; padding-block: clamp(64px, 7vw, 104px); color: var(--ink); background: var(--paper-2); border-block: 1px solid var(--line); overflow: hidden; }
.capability-texture { display: none; }
.capability-content { position: relative; z-index: 2; }
.capability-content h2 { max-width: 640px; margin: 0; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; line-height: 1.45; letter-spacing: -.005em; }
.capability-content h2 br { display: none; }
.capability-stats { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 72px); margin: 32px 0 30px; }
.capability-stats div { display: grid; gap: 4px; }
.capability-stats strong { font-size: 26px; font-weight: 600; }
.capability-stats span { color: var(--ink-soft); font-size: 12.5px; }

.journal-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: clamp(28px, 5vw, 64px); align-items: end; }
.journal-inner > p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.journal-inner h2 br { display: none; }

/* 页脚 ------------------------------------------------------------------- */
.site-footer { padding: clamp(48px, 6vw, 72px) 0 22px; color: var(--ink-soft); background: var(--paper); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .6fr)); gap: 40px; padding-bottom: 44px; }
.brand-footer { color: var(--ink); margin-bottom: 16px; }
.footer-grid > div:first-child p { max-width: 320px; margin: 0; font-size: 13px; }
.footer-grid h3 { margin: 0 0 14px; color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 9px; font-size: 13px; }
.footer-grid a:hover { color: var(--ink); }
.footer-contact span { line-height: 1.7; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-mute); font-size: 11.5px; }
.mobile-nav { display: none; }

/* 搜索浮层 --------------------------------------------------------------- */
.search-panel { position: fixed; inset: 0; z-index: 300; }
.search-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(20, 22, 26, .32); }
.search-dialog { position: relative; z-index: 1; width: min(640px, calc(100% - 32px)); margin: 88px auto; padding: 24px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.search-head { display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 600; }
.search-head button { padding: 4px 8px; border: 0; background: transparent; color: var(--ink-soft); font-size: 13px; cursor: pointer; }
.search-dialog form { display: flex; align-items: center; margin-top: 20px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.search-dialog form:focus-within { border-color: var(--ink); }
.search-dialog form svg { width: 18px; flex: none; color: var(--ink-mute); }
.search-dialog input { width: 100%; padding: 13px 10px; border: 0; outline: 0; background: transparent; font-size: 15px; }
.search-suggestions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 12.5px; }
.search-suggestions > span { color: var(--ink-mute); margin-right: 4px; }
.search-suggestions a { padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); }
.search-suggestions a:hover { border-color: var(--ink); color: var(--ink); }

/* 内页头部 --------------------------------------------------------------- */
.page-hero { padding-top: clamp(48px, 6vw, 80px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 40px; align-items: end; margin-bottom: 40px; }
.page-hero h1 { font-size: clamp(30px, 3.6vw, 44px); }
.page-hero h1 br { display: none; }
.page-hero-note { max-width: 320px; padding-bottom: 4px; }
.page-hero-note span { color: var(--ink-mute); font-size: 11px; letter-spacing: .12em; }
.page-hero-note p { margin: 10px 0 0; color: var(--ink-soft); font-size: 13.5px; }
.about-visual { height: min(42vw, 460px); overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.about-visual img { width: 100%; height: 100%; object-fit: cover; }

.compact-hero { padding: clamp(44px, 5.5vw, 76px) 0 clamp(32px, 4vw, 52px); border-bottom: 1px solid var(--line); }
.compact-hero-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px; align-items: end; }
.compact-hero h1 { font-size: clamp(28px, 3.2vw, 40px); }
.compact-hero h1 br { display: none; }
.compact-hero-row > p { margin: 0; color: var(--ink-soft); font-size: 13.5px; }

/* 公司简介 --------------------------------------------------------------- */
.story-grid { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
.story-copy h2 { max-width: 780px; }
.two-copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; max-width: 760px; margin: 28px 0 0; }
.two-copy p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.values { background: var(--paper-2); border-block: 1px solid var(--line); }
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.value-grid article { min-height: 0; padding: 24px 32px 28px 0; border-right: 1px solid var(--line); }
.value-grid article + article { padding-left: 32px; }
.value-grid article:last-child { border-right: 0; }
.value-grid article > span { color: var(--ink-mute); font-size: 12px; letter-spacing: .1em; }
.value-grid h3 { margin: 14px 0 8px; font-size: 18px; font-weight: 600; }
.value-grid p { max-width: 280px; margin: 0; color: var(--ink-soft); font-size: 13.5px; }

.capability-section { color: var(--ink); background: var(--paper); border-top: 1px solid var(--line); }
.capability-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); }
.capability-copy > p:last-child { max-width: 460px; margin-top: 16px; color: var(--ink-soft); font-size: 14px; }
.capability-copy h2 br { display: none; }
.process-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.process-list li > span { color: var(--ink-mute); font-size: 12px; }
.process-list h3 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.process-list p { margin: 0; color: var(--ink-soft); font-size: 13px; }

.sustainability { background: var(--paper-2); border-top: 1px solid var(--line); }
.sustainability-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.sustainability-grid > div:last-child > p:not(.eyebrow) { max-width: 540px; color: var(--ink-soft); font-size: 14px; }
.sustainability h2 br { display: none; }
.sustainability-art { display: grid; place-items: center; min-height: 300px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.eco-orbit { position: relative; width: 180px; height: 180px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; }
.eco-orbit::before, .eco-orbit::after, .eco-orbit i { content: ""; position: absolute; inset: 15%; border: 1px solid var(--line); border-radius: 50%; transform: none; }
.eco-orbit::after { inset: 30%; }
.eco-orbit i:first-child { inset: 45%; }
.eco-orbit i:nth-child(2) { inset: auto; top: -3px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border: 0; background: var(--indigo); }
.eco-orbit span { z-index: 1; color: var(--ink-soft); font-size: 12px; line-height: 1.5; letter-spacing: .1em; text-align: center; }
.plain-list { list-style: none; padding: 0; margin: 22px 0 0; }
.plain-list li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.plain-list li::before { content: ""; display: inline-block; width: 12px; height: 1px; margin-right: 12px; vertical-align: middle; background: var(--indigo); }

/* 分类列表页 ------------------------------------------------------------- */
.category-list { border-top: 1px solid var(--line); }
.category-row { display: grid; grid-template-columns: 44px 160px minmax(0, 1fr) 36px; gap: 24px; align-items: center; min-height: 0; padding: 20px 0; border-bottom: 1px solid var(--line); transition: background .2s; }
.category-row:hover { background: var(--paper-2); }
.category-row-number { align-self: center; color: var(--ink-mute); font-size: 12px; letter-spacing: .08em; }
.category-row-visual { height: 104px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); }
.category-row-visual img { width: 100%; height: 100%; object-fit: cover; }
.category-row:hover .category-row-visual img { transform: none; }
.category-row-copy p { margin: 0 0 4px; color: var(--ink-mute); font-size: 11px; letter-spacing: .1em; }
.category-row-copy h2 { margin: 0 0 6px; font-size: 18px; font-weight: 600; line-height: 1.35; }
.category-row-copy span { color: var(--ink-soft); font-size: 13px; }
.category-row > i { justify-self: end; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink-soft); font-style: normal; font-size: 13px; transition: border-color .2s, color .2s; }
.category-row:hover > i { color: var(--ink); background: transparent; border-color: var(--ink); }

/* 产品列表页 ------------------------------------------------------------- */
.product-library { padding: 0 0 clamp(64px, 7vw, 96px); }
.filter-bar { min-height: 72px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 24px; align-items: center; border-bottom: 1px solid var(--line); }
.filter-search { display: flex; align-items: center; gap: 4px; max-width: 380px; color: var(--ink-soft); font-size: 13px; }
.filter-search svg { width: 16px; flex: none; color: var(--ink-mute); }
.filter-search input { width: 100%; padding: 12px 8px; border: 0; outline: 0; background: transparent; font-size: 13.5px; }
.filter-search button { padding: 6px 10px; border: 0; background: transparent; color: var(--ink-soft); font-size: 12.5px; cursor: pointer; }
.filter-search button:hover { color: var(--ink); }
.filter-toggle { display: flex; gap: 10px; align-items: center; padding: 8px 0; border: 0; background: transparent; color: var(--ink-soft); font-size: 13px; cursor: pointer; }
.filter-toggle:hover { color: var(--ink); }
.filter-toggle i { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-style: normal; font-size: 12px; transition: transform .25s; }
.filter-toggle.is-open i { transform: rotate(45deg); }
.filter-count { color: var(--ink-mute); font-size: 12.5px; }
.filter-count strong { color: var(--ink); font-size: 17px; font-weight: 600; }
.filter-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 28px; margin-top: 20px; padding: 24px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); }
.filter-panel > div:not(.filter-actions) { display: grid; align-content: start; gap: 8px; }
.filter-panel > div > span { margin-bottom: 4px; font-size: 12px; font-weight: 600; }
.filter-panel label { display: flex; align-items: center; gap: 7px; color: var(--ink-soft); font-size: 13px; cursor: pointer; }
.filter-panel input[type="radio"] { accent-color: var(--indigo); }
.filter-actions { display: grid; align-content: end; gap: 8px; text-align: center; font-size: 12.5px; }
.filter-actions a { color: var(--ink-soft); }

.product-grid-library { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 36px; }
.product-grid-library .product-card:nth-child(3n+2),
.product-grid-library .product-card:nth-child(even) { margin-top: 0; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 48px; color: var(--ink-soft); font-size: 13px; }
.pagination a { padding: 7px 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.pagination a:hover { border-color: var(--ink); color: var(--ink); }

/* 产品详情页 ------------------------------------------------------------- */
.product-detail { padding-bottom: clamp(56px, 6vw, 88px); }
.breadcrumbs { display: flex; gap: 8px; align-items: center; height: 56px; color: var(--ink-mute); font-size: 12px; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs em { color: var(--ink); font-style: normal; }
.product-detail-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.product-gallery { display: grid; gap: 14px; }
.detail-primary, .detail-secondary { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); }
.detail-primary { aspect-ratio: 1 / 1; }
.detail-secondary { aspect-ratio: 16 / 9; }
.detail-primary img, .detail-secondary img { width: 100%; height: 100%; object-fit: cover; }
.detail-primary > span, .detail-secondary > span { position: absolute; left: 10px; bottom: 10px; padding: 4px 8px; color: var(--ink-soft); background: rgba(255, 255, 255, .9); border-radius: 3px; font-size: 10px; letter-spacing: .08em; }

.product-summary { position: sticky; top: 90px; padding-top: 0; }
.product-summary h1 { margin: 0; font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; line-height: 1.3; }
.product-code { margin: 6px 0 0; color: var(--ink-mute); font-size: 12px; letter-spacing: .06em; }
.product-lead { margin: 16px 0 22px; color: var(--ink-soft); font-size: 14px; }
.spec-list { margin: 0; border-top: 1px solid var(--line); }
.spec-list div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.spec-list dt { color: var(--ink-mute); }
.spec-list dd { margin: 0; }
.color-block { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 18px 0; color: var(--ink-soft); font-size: 13px; }
.color-block strong { color: var(--ink); font-weight: 500; text-align: right; }
.swatches { display: flex; gap: 6px; }
.swatches button { width: 20px; height: 20px; border: 1px solid var(--line-strong); border-radius: 50%; outline: 0; background: var(--swatch); cursor: pointer; }

.sample-form { margin-top: 20px; }
.inquiry-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.inquiry-fields label { display: grid; gap: 5px; color: var(--ink-mute); font-size: 11.5px; }
.inquiry-fields label:last-child { grid-column: 1 / -1; }
.inquiry-fields input, .inquiry-fields textarea, .inquiry-fields select {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
  outline: 0; background: var(--paper);
  color: var(--ink); font-size: 13.5px; resize: vertical;
}
.inquiry-fields input:focus, .inquiry-fields textarea:focus, .inquiry-fields select:focus { border-color: var(--ink); }
.inquiry-fields em { color: var(--danger); font-style: normal; font-size: 11.5px; }
.summary-note { margin: 12px 0 0; color: var(--ink-mute); font-size: 11.5px; text-align: center; }

.detail-actions { margin-top: 18px; }
.favorite-button {
  width: 100%; min-height: 44px; padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: transparent; color: var(--ink); font-size: 13.5px; cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.favorite-button:hover { border-color: var(--ink); background: var(--paper-2); color: var(--ink); }
.favorite-button.is-favorite { border-color: var(--indigo); background: var(--indigo-soft); color: var(--indigo); }
.favorite-button i { font-size: 15px; font-style: normal; }

.detail-story { color: var(--ink); background: var(--paper-2); border-block: 1px solid var(--line); }
.detail-story-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(28px, 5vw, 64px); align-items: end; }
.detail-story .eyebrow { color: var(--ink-mute); }
.detail-story-grid > p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.related-products { border-top: 1px solid var(--line); }

.company-contact { background: var(--paper-2); border-top: 1px solid var(--line); }
.company-contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.company-contact-grid h2 { margin: 0 0 14px; font-size: clamp(21px, 2.2vw, 28px); font-weight: 600; line-height: 1.45; }
.company-contact-grid h2 br { display: none; }
.company-contact-grid > div > p:last-child { color: var(--ink-soft); font-size: 14px; }
.company-inquiry { margin-top: 0; }
.company-inquiry .inquiry-fields { padding-top: 0; border-top: 0; }

/* 我的 / 账户 ------------------------------------------------------------ */
.account-shell { min-height: 60vh; padding-block: clamp(44px, 5vw, 72px) clamp(64px, 7vw, 96px); }
.account-heading h1 { margin: 0; font-size: clamp(24px, 2.8vw, 34px); font-weight: 600; }
.account-heading > p:last-child { margin: 6px 0 0; color: var(--ink-soft); font-size: 14px; }
.account-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); margin-top: 36px; }
.account-menu { display: flex; flex-direction: column; align-self: start; border-top: 1px solid var(--line); }
.account-menu a, .account-menu button {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 13px 0;
  border: 0; border-bottom: 1px solid var(--line);
  background: transparent; color: var(--ink-soft);
  font-size: 13.5px; text-align: left; cursor: pointer;
}
.account-menu a:hover { color: var(--ink); }
.account-menu a span { color: var(--ink-mute); }
.account-menu a.is-active { color: var(--ink); font-weight: 500; }
.account-menu form button { color: var(--danger); }
.account-content { min-width: 0; }
.favorites-panel { margin-top: 48px; }
.favorites-panel .product-grid-library { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.panel-head h2 { margin: 0; font-size: 18px; font-weight: 600; }
.panel-head span { color: var(--ink-mute); font-size: 12.5px; }
.request-list article { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.request-list span, .request-list p { margin: 0; color: var(--ink-mute); font-size: 12px; }
.request-list h3 { margin: 5px 0 3px; font-size: 15px; font-weight: 500; }
.status { align-self: center; flex: none; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); font-size: 11.5px; font-style: normal; }

.empty-state { display: grid; justify-items: center; padding: 56px 20px; text-align: center; }
.empty-state i { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.empty-state h3 { margin: 18px 0 6px; font-size: 16px; font-weight: 600; }
.empty-state p { margin: 0 0 18px; color: var(--ink-soft); font-size: 13.5px; }

.guest-account { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 80px); padding-block: clamp(24px, 4vw, 48px); }
.guest-account h1 { font-size: clamp(24px, 3vw, 36px); }
.guest-account h1 br { display: none; }
.guest-account > div:last-child > p:not(.eyebrow) { color: var(--ink-soft); font-size: 14px; }
.guest-account .text-link { color: var(--ink); }
.guest-art { min-height: 300px; display: grid; place-items: center; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); }
.thread-ball { position: relative; width: 170px; height: 170px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; box-shadow: none; transform: none; }
.thread-ball i { position: absolute; inset: 14%; border: 1px solid var(--line-strong); border-radius: 50%; transform: none; }
.thread-ball i:nth-child(2) { inset: 30%; }
.thread-ball i:nth-child(3) { inset: 46%; background: transparent; }

/* 登录 / 注册 / 资料 ----------------------------------------------------- */
.auth-page { min-height: 0; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.auth-art { position: relative; min-height: 480px; display: flex; align-items: end; overflow: hidden; padding: 48px; color: var(--ink); background: var(--paper-2); border-right: 1px solid var(--line); }
.auth-art-register { background: var(--paper-2); }
.auth-art > div:last-child { position: relative; z-index: 2; max-width: 320px; }
.auth-art p { margin: 0; color: var(--ink-mute); font-size: 11px; letter-spacing: .12em; }
.auth-art h2 { margin: 12px 0 0; font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; line-height: 1.5; }
.auth-art h2 br { display: none; }
.auth-weave { display: none; }

.auth-form-wrap { display: grid; place-items: center; padding: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 56px); }
.auth-form { width: min(400px, 100%); }
.auth-form h1 { margin: 0; font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; }
.auth-intro { margin: 6px 0 24px; color: var(--ink-soft); font-size: 13.5px; }
.auth-form > label { display: grid; gap: 6px; margin: 0 0 14px; color: var(--ink-mute); font-size: 12px; }
.auth-form input:not([type="checkbox"]), .auth-form textarea, .auth-form select {
  width: 100%; min-height: 44px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
  outline: 0; background: var(--paper); color: var(--ink); font-size: 14px;
}
.auth-form input:focus, .auth-form textarea:focus, .auth-form select:focus { border-color: var(--ink); }
.auth-form label em, .form-errors { color: var(--danger); font-size: 12px; font-style: normal; }
.form-errors { margin-bottom: 14px; padding: 10px 12px; border: 1px solid var(--line); border-left: 2px solid var(--danger); border-radius: var(--radius); background: var(--paper-2); }
.auth-form small { color: var(--ink-mute); font-size: 11.5px; line-height: 1.6; }
.auth-form small ul { margin: 4px 0 0; padding-left: 16px; }
.auth-options { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 16px 0 20px; color: var(--ink-soft); font-size: 12.5px; }
.check-label { display: flex; align-items: center; gap: 6px; }
.check-label input { accent-color: var(--indigo); }
.auth-switch { margin-top: 18px; color: var(--ink-soft); font-size: 13px; text-align: center; }
.auth-switch a { color: var(--ink); border-bottom: 1px solid var(--line-strong); }

/* 入场动效：仅保留轻微淡入 ---------------------------------------------- */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* 响应式 ----------------------------------------------------------------- */
@media (max-width: 1050px) {
  :root { --shell: min(100% - 40px, 960px); }
  .desktop-nav { gap: 18px; }
  .desktop-nav a { font-size: 13px; }
  .product-grid-library { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, .6fr)); gap: 28px; }
  .intro-grid { grid-template-columns: 70px minmax(0, 1.5fr) minmax(0, .8fr); }
  .account-layout { grid-template-columns: 170px minmax(0, 1fr); }
}

@media (max-width: 760px) {
  :root { --shell: calc(100vw - 32px); }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); font-size: 14.5px; }
  .section-space { padding-block: 52px; }

  .site-header, .site-header.is-scrolled { height: 56px; }
  .header-inner { grid-template-columns: 1fr auto; gap: 12px; }
  .desktop-nav, .header-contact { display: none; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { font-size: 9px; }

  .mobile-nav {
    position: fixed; z-index: 150; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: repeat(5, 1fr);
    height: calc(60px + env(safe-area-inset-bottom));
    padding: 6px 4px env(safe-area-inset-bottom);
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(14px);
  }
  .mobile-nav a { display: grid; justify-items: center; align-content: center; gap: 3px; color: var(--ink-mute); font-size: 10px; }
  .mobile-nav svg { width: 20px; height: 20px; stroke-width: 1.5; }
  .mobile-nav a.is-active { color: var(--indigo); }

  .site-footer { padding-bottom: 80px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-grid > div:first-child, .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: start; gap: 6px; }

  .hero { padding-block: 44px 40px; }
  .hero-copy { max-width: none; }
  .hero-actions { gap: 16px; margin-top: 24px; }

  .intro-grid { grid-template-columns: 1fr; gap: 20px; }
  .section-index { padding-top: 0; }
  .material-swatch { width: 60%; }
  .section-heading { flex-direction: column; align-items: start; gap: 12px; margin-bottom: 24px; }

  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .category-tile, .category-tile-large { min-height: 0; }
  .category-tile h3 { font-size: 15px; }

  .product-grid, .product-grid-library { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .product-grid-library { padding-top: 24px; }
  .product-meta { display: block; }
  .product-meta > span { display: block; margin-top: 4px; }
  .favorites-panel .product-grid-library { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .capability-stats { gap: 24px 32px; margin: 24px 0; }
  .capability-stats strong { font-size: 22px; }
  .journal-inner { grid-template-columns: 1fr; gap: 16px; }

  .page-hero { padding-top: 36px; }
  .page-hero-grid, .compact-hero-row { grid-template-columns: 1fr; gap: 20px; }
  .page-hero-note { max-width: none; }
  .about-visual { height: 52vw; }
  .story-grid { grid-template-columns: 1fr; gap: 16px; }
  .two-copy { grid-template-columns: 1fr; gap: 16px; }

  .value-grid { grid-template-columns: 1fr; }
  .value-grid article, .value-grid article + article { padding: 20px 0 22px; border-right: 0; border-bottom: 1px solid var(--line); }
  .value-grid p { max-width: none; }
  .capability-grid, .sustainability-grid { grid-template-columns: 1fr; gap: 36px; }
  .sustainability-art { min-height: 240px; order: 2; }
  .eco-orbit { width: 140px; height: 140px; }

  .compact-hero { padding-block: 36px 28px; }
  .category-row { grid-template-columns: 76px minmax(0, 1fr) 24px; gap: 14px; padding: 16px 0; }
  .category-row-number { display: none; }
  .category-row-visual { height: 76px; }
  .category-row-copy h2 { font-size: 16px; }
  .category-row-copy span { display: -webkit-box; overflow: hidden; font-size: 12px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .category-row > i { width: 24px; height: 24px; font-size: 11px; }

  .filter-bar { grid-template-columns: 1fr auto; gap: 4px 12px; min-height: 0; padding-bottom: 8px; }
  .filter-search { grid-column: 1 / -1; max-width: none; border-bottom: 1px solid var(--line); }
  .filter-toggle { grid-row: 2; }
  .filter-count { grid-row: 2; justify-self: end; }
  .filter-panel { grid-template-columns: 1fr 1fr; gap: 20px; padding: 18px 16px; }
  .filter-actions { grid-column: 1 / -1; }

  .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-summary { position: static; }
  .company-contact-grid, .detail-story-grid { grid-template-columns: 1fr; gap: 24px; }
  .inquiry-fields { grid-template-columns: 1fr; }

  .account-shell { padding-block: 36px 64px; }
  .account-layout { grid-template-columns: 1fr; gap: 24px; margin-top: 28px; }
  .account-menu { flex-direction: row; overflow-x: auto; border-top: 0; border-bottom: 1px solid var(--line); }
  .account-menu a { width: auto; min-width: max-content; padding: 10px 16px 10px 0; border-bottom: 0; }
  .account-menu a span { display: none; }
  .account-menu form { margin-left: auto; }
  .account-menu form button { min-width: 72px; border-bottom: 0; }
  .request-list article { flex-direction: column; gap: 10px; }
  .status { align-self: start; }

  .guest-account { grid-template-columns: 1fr; gap: 28px; }
  .guest-art { min-height: 220px; }
  .thread-ball { width: 130px; height: 130px; }

  .auth-page { grid-template-columns: 1fr; }
  .auth-art { min-height: 0; padding: 28px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .auth-form-wrap { padding: 36px 20px 56px; }
  .search-dialog { margin-top: 64px; padding: 20px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
