/* nobilia Canada — site styles
   颜色、字体、间距都集中在 :root，改品牌色只需改这里 */
@import url("https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500&display=swap");
:root {
  --ink: #1d1d1f;
  --ink-soft: #3b3b3f;
  --muted: #6f6e72;
  --paper: #f4f3f1;
  --paper-2: #e9e7e4;
  --line: #d9d6d1;
  --accent: #E3000F;      /* nobilia 红（取自官方标志） */
  --accent-dark: #b4000c;
  --accent-ink: #ffffff;
  --dark: #1b1b1d;        /* 深炭灰 */
  --dark-2: #242427;
  --dark-3: #2e2e32;
  --on-dark: #e9e8e6;
  --on-dark-muted: #a3a2a6;
  --radius: 0px;
  --max: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --font: "Jost", "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  /* 暗纹：极细斜线 */
  --texture: repeating-linear-gradient(135deg, rgba(255,255,255,.022) 0 1px, transparent 1px 9px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; font-weight: 500; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 5.4vw, 64px); font-weight: 300; }
h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 300; }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }

/* ---------- 语言切换：只显示当前语言 ---------- */
html[data-lang="zh"] [data-l]:not([data-l="zh"]),
html[data-lang="en"] [data-l]:not([data-l="en"]),
html[data-lang="fr"] [data-l]:not([data-l="fr"]) { display: none !important; }

/* ---------- 布局 ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 9vw, 120px) 0; }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--dark); color: #eee; }
.section.dark .eyebrow { color: var(--accent); }
.eyebrow {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px; font-weight: 600;
}
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); max-width: 760px; }
.dark .lead { color: #c9c6c0; }
.muted { color: var(--muted); }
.grid { display: grid; gap: clamp(20px, 3vw, 36px); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) {
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
}
@media (max-width: 600px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
}

/* ---------- 图片占位：拿到授权图片后替换为 <img> ---------- */
.ph {
  position: relative;
  aspect-ratio: var(--r, 4/3);
  background:
    linear-gradient(135deg, rgba(168,135,90,.18), rgba(28,28,26,.10)),
    repeating-linear-gradient(45deg, #e9e4dc 0 12px, #e3ddd3 12px 24px);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: #7d766b; font-size: 12px; letter-spacing: .06em; text-align: center;
  padding: 12px; overflow: hidden;
}
.ph span { background: rgba(250,248,245,.85); padding: 4px 10px; border-radius: 2px; }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph:has(> img) { background: var(--paper-2); }
.dark .ph { background: linear-gradient(135deg, #2a2926, #1e1d1b); color: #8d877c; }
.dark .ph span { background: rgba(0,0,0,.35); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 14px 26px; border: 1px solid var(--ink);
  text-decoration: none; font-size: 14px; letter-spacing: .06em;
  border-radius: var(--radius); transition: background .2s, color .2s; cursor: pointer;
  background: transparent; color: var(--ink); font-family: inherit;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.solid { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.solid:hover { background: #8f7149; border-color: #8f7149; }
.btn.light { border-color: #fff; color: #fff; }
.btn.light:hover { background: #fff; color: var(--ink); }
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- 页头 ---------- */
.topbar { background: var(--dark); color: #bdb8af; font-size: 12px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 12px; }
.lang-switch { position: relative; }
.lang-switch button {
  background: none; border: 0; color: #bdb8af; font: inherit; padding: 6px 9px; cursor: pointer; letter-spacing: .08em;
}
.lang-current { display: inline-flex; align-items: center; gap: 7px; }
.lang-switch .lang-current { color: #fff; }
.lang-globe { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; opacity: .8; }
.lang-caret { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.lang-current[aria-expanded="true"] .lang-caret { transform: translateY(1px) rotate(-135deg); }
.lang-menu {
  position: absolute; left: 0; top: calc(100% + 4px); z-index: 60; min-width: 150px; margin: 0; padding: 6px 0; list-style: none;
  background: #1b1b1d; border: 1px solid #2e2e33; border-top: 2px solid var(--accent); box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.lang-menu[hidden], .lang-menu li[hidden] { display: none; }
.lang-menu button { display: block; width: 100%; text-align: left; padding: 10px 18px; letter-spacing: .04em; }
.lang-menu button:hover, .lang-menu button:focus-visible { color: #fff; background: #26262a; outline: none; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(250,248,245,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.logo { text-decoration: none; display: flex; align-items: baseline; gap: 8px; }
.logo b { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.logo small { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { text-decoration: none; padding: 10px 11px; font-size: 14px; border-radius: var(--radius); white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--paper-2); }
.nav .btn { padding: 10px 18px; margin-left: 8px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); padding: 8px 12px; border-radius: var(--radius); font: inherit; cursor: pointer; }
@media (max-width: 1240px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
  }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
  .topbar .tagline { display: none; }
}

/* ---------- 首屏 ---------- */
.hero { position: relative; min-height: min(86vh, 820px); display: flex; align-items: flex-end; color: #fff; background: #2b2a27; overflow: hidden; }
.hero .ph { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; background: linear-gradient(160deg, #4a453d, #1f1e1b); color: #a59d90; align-items: flex-start; padding-top: 40px; }
.hero .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .hero .hero-video { display: none; } .hero .ph { background: #2b2a27 url("../video/home-hero.jpg") center / cover; } }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(15,14,12,.78) 0%, rgba(15,14,12,.45) 45%, rgba(15,14,12,0) 75%),
    linear-gradient(0deg, rgba(15,14,12,.55), rgba(15,14,12,0) 55%);
}
@media (max-width: 800px) { .hero::after { background: rgba(15,14,12,.55); } }
.hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(48px, 8vw, 96px); width: 100%; }
.hero .lead { color: #e8e4dd; }
.page-hero { padding: clamp(56px, 9vw, 110px) 0 clamp(36px, 5vw, 60px); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 900px; }

/* ---------- 数据条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 32px 20px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: clamp(30px, 4vw, 48px); font-weight: 300; line-height: 1.1; }
.stat span { font-size: 13px; color: var(--muted); }
.dark .stats, .dark .stat { border-color: #33322f; }
.dark .stat span { color: #9a958c; }
@media (max-width: 800px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- 卡片 ---------- */
.card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.card h3 { margin: 6px 0 0; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.card .more { font-size: 13px; letter-spacing: .08em; color: var(--accent); margin-top: auto; }
.box { background: #fff; border: 1px solid var(--line); padding: 28px; border-radius: var(--radius); }
.box h3 { margin-top: 0; }
.box p:last-child { margin-bottom: 0; }
.dark .box { background: #1f1e1c; border-color: #33322f; }
.num { font-size: 13px; color: var(--accent); font-weight: 700; letter-spacing: .1em; }

/* ---------- 时间线 ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 40px 36px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); }
.timeline .year { font-size: 30px; font-weight: 300; line-height: 1.2; }
.timeline h3 { margin: 4px 0 6px; font-size: 18px; }
.timeline p { color: var(--muted); max-width: 760px; margin: 0; }

/* ---------- 列表、表格 ---------- */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 12px; height: 1px; background: var(--accent); }
.facts { width: 100%; border-collapse: collapse; }
.facts th, .facts td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { font-weight: 500; width: 40%; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips > span { border: 1px solid var(--line); padding: 6px 12px; font-size: 13px; border-radius: 999px; background: #fff; }

/* ---------- 待确认标记（上线前删除或确认） ---------- */
.todo { background: #fff4d6; color: #7a5a00; font-size: 12px; padding: 1px 6px; border-radius: 2px; white-space: nowrap; }

/* ---------- FAQ ---------- */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details > div { padding-top: 12px; color: var(--muted); }

/* ---------- 表单 ---------- */
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { form .row { grid-template-columns: 1fr; } }
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); background: #fff;
  font: inherit; color: var(--ink); border-radius: var(--radius); margin-bottom: 16px;
}
textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); }

/* ---------- 视频 ---------- */
.video-embed { position: relative; aspect-ratio: 16/9; margin-top: 32px; background: #000; border-radius: var(--radius); overflow: hidden; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-band { position: relative; min-height: min(70vh, 640px); display: flex; align-items: center; color: #fff; overflow: hidden; background: #1a1917; }
.video-band video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,14,12,.8), rgba(15,14,12,.35) 60%, rgba(15,14,12,.15)); }
.video-band .wrap { position: relative; z-index: 2; width: 100%; padding-top: 64px; padding-bottom: 64px; }
.video-band .lead { color: #e2ded7; }
@media (prefers-reduced-motion: reduce) { .video-band video { display: none; } .video-band { background: #1a1917 url("../video/factory-loop.jpg") center / cover; } }

/* ---------- 灵感图库 ---------- */
.filter .btn { padding: 9px 16px; font-size: 13px; }
.filter .btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.masonry { columns: 3 320px; column-gap: 16px; }
.tile { display: block; position: relative; margin-bottom: 16px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.tile[hidden] { display: none; }
.tile img { width: 100%; height: auto; transition: transform .4s; }
.tile:hover img { transform: scale(1.03); }
.tile span { position: absolute; left: 10px; bottom: 10px; background: rgba(250,248,245,.92); font-size: 12px; letter-spacing: .06em; padding: 3px 8px; border-radius: 2px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10,10,9,.92); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 48px 64px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; }
.lightbox figcaption { color: #ddd; font-size: 14px; letter-spacing: .08em; }
.lightbox button { position: fixed; background: none; border: 0; color: #fff; font-size: 44px; line-height: 1; cursor: pointer; padding: 12px 18px; }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox figure { padding: 48px 8px; } }

/* ---------- 门板色卡 ---------- */
.front-tools { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin: 28px 0 8px; }
.front-tools select { width: auto; min-width: 220px; margin: 0; }
.check { display: flex; gap: 8px; align-items: center; margin: 0; color: var(--ink); font-size: 14px; cursor: pointer; }
.check input { width: auto; margin: 0; }
.series { margin-top: 36px; }
.series h4 { font-size: 15px; letter-spacing: .14em; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.series h4 small { color: var(--muted); font-weight: 400; letter-spacing: 0; margin-left: 6px; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 20px 16px; }
.swatch { margin: 0; }
.swatch img { width: 100%; aspect-ratio: 7/10; object-fit: cover; border: 1px solid var(--line); border-radius: 2px; background: #fff; }
.carcase .swatch img { aspect-ratio: 1/1; }
.swatch figcaption { font-size: 12px; line-height: 1.45; margin-top: 8px; color: var(--muted); }
.swatch figcaption b { display: block; color: var(--ink); font-size: 13px; letter-spacing: .04em; }
.swatch .tag { display: table; font-style: normal; font-size: 10px; letter-spacing: .08em; border: 1px solid var(--accent); color: var(--accent); padding: 0 5px; margin-top: 5px; border-radius: 2px; }
@media (max-width: 600px) { .swatches { grid-template-columns: repeat(3, 1fr); gap: 16px 10px; } }

/* ---------- 厨房系列 ---------- */
.k-hero { min-height: min(62vh, 560px); }
.k-filters { display: grid; gap: 14px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.k-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.k-label { width: 96px; flex: none; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.k-group button { font: inherit; font-size: 13px; padding: 7px 14px; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; cursor: pointer; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.k-group button:hover { border-color: var(--ink); }
.k-group button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.k-group select { width: auto; min-width: 200px; margin: 0; padding: 7px 12px; font-size: 13px; }
.k-group .k-reset { margin-left: auto; border: 0; background: none; text-decoration: underline; color: var(--muted); }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); display: inline-block; }
@media (max-width: 700px) { .k-label { width: 100%; } .k-group .k-reset { margin-left: 0; } }
.k-count { margin: 28px 0 16px; color: var(--muted); }
.k-count b { color: var(--ink); font-size: 20px; font-weight: 500; }
.k-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px 20px; }
.k-card { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 12px; }
.k-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.k-img { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); display: block; }
.k-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.k-card:hover .k-img img { transform: scale(1.04); }
.k-badge { position: absolute; top: 10px; left: 10px; font-style: normal; font-size: 11px; letter-spacing: .06em; background: rgba(21,21,20,.75); color: #fff; padding: 3px 8px; border-radius: 2px; }
.k-meta { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--ink-soft); }
.k-meta b { font-size: 15px; letter-spacing: .06em; color: var(--ink); }
.k-meta small { color: var(--muted); font-size: 12px; margin-top: 4px; }
.k-empty { padding: 40px 0; color: var(--muted); }
.k-dialog { border: 0; padding: 0; width: min(1200px, 96vw); max-height: 94vh; border-radius: var(--radius); background: var(--paper); color: var(--ink); overflow: auto; }
.k-dialog::backdrop { background: rgba(10,10,9,.82); }
.k-dialog[open] { display: grid; grid-template-columns: 1.7fr 1fr; }
.k-d-media { position: relative; background: #111; display: flex; flex-direction: column; }
.k-d-stage { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; }
.k-d-stage img, .k-d-stage video { width: 100%; height: 100%; object-fit: contain; }
.k-d-thumbs { display: flex; gap: 6px; padding: 8px; overflow-x: auto; }
.k-d-thumbs button { all: unset; cursor: pointer; position: relative; flex: none; width: 76px; height: 56px; opacity: .55; }
.k-d-thumbs button[aria-current="true"] { opacity: 1; outline: 2px solid var(--accent); }
.k-d-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.k-d-thumbs i { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-style: normal; text-shadow: 0 0 6px #000; }
.k-prev, .k-next { position: absolute; top: 40%; background: rgba(0,0,0,.35); border: 0; color: #fff; font-size: 34px; padding: 6px 14px; cursor: pointer; }
.k-prev { left: 8px; } .k-next { right: 8px; }
.k-close { position: absolute; top: 8px; right: 12px; z-index: 3; background: none; border: 0; font-size: 34px; cursor: pointer; color: var(--ink); }
.k-d-info { padding: 40px 32px 32px; }
.k-d-info h2 { margin-bottom: 4px; letter-spacing: .04em; }
.k-d-swatch img { width: 84px; border: 1px solid var(--line); margin: 16px 0 8px; }
@media (max-width: 860px) { .k-dialog[open] { grid-template-columns: 1fr; } .k-close { color: #fff; } }

/* ---------- 衣柜系列相册 ---------- */
.sys-open { cursor: zoom-in; }
.sys-open img { transition: transform .5s; }
.sys-open:hover img { transform: scale(1.03); }
.sys-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--dark); color: #aaa59c; font-size: 14px; padding: 64px 0 28px; }
.footer a { text-decoration: none; color: #d6d2ca; }
.footer a:hover { color: #fff; }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer .legal { border-top: 1px solid #33322f; margin-top: 48px; padding-top: 20px; font-size: 12px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 800px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer .cols { grid-template-columns: 1fr; } }

/* =====================================================================
   高端主题（参考柏丽中国官网的气质：深炭灰 + 暗纹 + nobilia 红点缀）
   以下规则覆盖上面的基础样式
   ===================================================================== */
body { background: var(--paper); letter-spacing: .01em; }
h1, h2 { font-weight: 300; letter-spacing: .01em; }
h3 { font-weight: 400; letter-spacing: .02em; }

/* 小标题：红色短线 + 加宽字距 */
.eyebrow { color: var(--accent); font-weight: 500; letter-spacing: .26em; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); flex: none; }

/* 按钮：直角、细线、加宽字距 */
.btn { border-radius: 0; letter-spacing: .14em; font-size: 13px; padding: 15px 30px; font-weight: 400; }
.btn.solid { background: var(--accent); border-color: var(--accent); }
.btn.solid:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

/* ---------- 深色区块：炭灰 + 暗纹 + 大号水印字 ---------- */
.textured, .section.dark, .page-hero, .footer, .video-band, .k-hero, .header, .topbar {
  background-color: var(--dark);
  background-image: var(--texture);
}
.section.dark, .page-hero { color: var(--on-dark); position: relative; overflow: hidden; }
.section.dark::after, .page-hero::after {
  content: "nobilia"; position: absolute; right: -2vw; bottom: -0.18em;
  font: 500 clamp(120px, 22vw, 340px)/1 var(--font); letter-spacing: -.03em;
  color: rgba(255,255,255,.028); pointer-events: none; white-space: nowrap;
}
.section.dark > .wrap, .page-hero > .wrap { position: relative; z-index: 1; }
.section.dark .lead, .page-hero .lead { color: var(--on-dark-muted); }
.section.dark .muted, .page-hero .muted { color: var(--on-dark-muted); }
.page-hero { border-bottom: 0; padding: clamp(80px, 12vw, 160px) 0 clamp(56px, 8vw, 100px); }
.page-hero h1 { color: #fff; }
.page-hero .btn:not(.solid), .section.dark .btn:not(.solid) { border-color: rgba(255,255,255,.6); color: #fff; }
.page-hero .btn:not(.solid):hover, .section.dark .btn:not(.solid):hover { background: #fff; color: var(--ink); }
.section.dark .box { background: var(--dark-2); border-color: #34343a; }
.section.dark .card p { color: var(--on-dark-muted); }

/* 浅色区块之间用更克制的灰 */
.section.alt { background: var(--paper-2); }
.box { border-radius: 0; border-color: var(--line); }

/* ---------- 页头：深灰底 + 红色标志 ---------- */
.topbar { background-color: #141416; color: var(--on-dark-muted); border-bottom: 1px solid #26262a; }
.lang-switch button { color: var(--on-dark-muted); }
.lang-switch button[aria-pressed="true"] { color: #fff; }
.header { background-color: rgba(27,27,29,.96); border-bottom: 1px solid #2c2c30; backdrop-filter: blur(10px); }
.logo { align-items: center; gap: 12px; }
.logo-mark { height: 22px; width: auto; display: block; }
.logo small { color: var(--on-dark-muted); letter-spacing: .32em; font-size: 11px; padding-left: 12px; border-left: 1px solid #45454b; }
.nav a { color: #d8d7d5; border-radius: 0; position: relative; }
.nav a:hover, .nav a[aria-current="page"] { background: transparent; color: #fff; }
.nav a[aria-current="page"]::after, .nav a:not(.btn):hover::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 1px; background: var(--accent);
}
.nav .btn { color: #fff; }
.menu-toggle { color: #fff; border-color: #45454b; border-radius: 0; }
@media (max-width: 1240px) { .nav { background: var(--dark); border-bottom-color: #2c2c30; } }

/* ---------- 首屏 ---------- */
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: var(--accent); }
.hero h1 { font-weight: 300; }

/* ---------- 数据条 ---------- */
.stat b { font-weight: 300; font-size: clamp(34px, 4.4vw, 56px); }
.stat b::after { content: ""; display: block; width: 24px; height: 2px; background: var(--accent); margin-top: 14px; }

/* ---------- 图片占位：深色暗纹 ---------- */
.ph { background-color: var(--dark-2); background-image: var(--texture); color: #77767b; border-radius: 0; }
.ph span { background: transparent; color: #8a898e; letter-spacing: .14em; font-size: 11px; border: 1px solid #3a3a40; padding: 6px 12px; }
.ph:has(> img) { background: var(--dark-2); }

/* ---------- 页脚 ---------- */
.footer { background-color: #141416; border-top: 3px solid var(--accent); }
.footer .logo-mark { height: 24px; }

/* ---------- 灵感图库 / 厨房系列 / 色卡在新主题下的微调 ---------- */
.tile, .k-img, .k-filters, .swatch img { border-radius: 0; }
.k-group button, .filter .btn, .chips > span { border-radius: 0; }
.k-group button[aria-pressed="true"], .filter .btn[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); }
.k-badge, .tile span { border-radius: 0; }
.swatch .tag { border-color: var(--accent); color: var(--accent); }
.timeline li::before { background: var(--accent); border-radius: 0; width: 9px; height: 9px; left: -5px; }
details summary::after { color: var(--accent); }
.num { color: var(--accent); letter-spacing: .2em; }

/* ---------- 定制系统 · 系列页 ---------- */
.s-hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; overflow: hidden; color: #fff; background-color: var(--dark); background-image: var(--texture); }
.s-hero-media { position: absolute; inset: 0; background: center / cover no-repeat; }
.s-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,20,22,.88) 0%, rgba(20,20,22,.55) 45%, rgba(20,20,22,.1) 80%), linear-gradient(0deg, rgba(20,20,22,.7), rgba(20,20,22,0) 50%); }
.s-hero-empty { background-color: var(--dark-2); background-image: var(--texture); }
.s-hero-text { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(56px, 9vw, 110px); }
.s-hero h1 { font-size: clamp(48px, 8vw, 112px); font-weight: 300; letter-spacing: .08em; margin-bottom: .2em; color: #fff; }
.s-tagline { font-size: clamp(18px, 2vw, 26px); font-weight: 300; color: #dcdbd8; letter-spacing: .04em; max-width: 640px; }
.s-crumb { text-decoration: none; color: inherit; }
.s-hero .eyebrow { color: #fff; }
.s-watermark { position: absolute; right: -1vw; bottom: -.16em; z-index: 1; font: 500 clamp(120px, 20vw, 300px)/1 var(--font); letter-spacing: .02em; color: rgba(255,255,255,.05); pointer-events: none; white-space: nowrap; }
.s-tabs { background: var(--dark-2); background-image: var(--texture); border-bottom: 1px solid #34343a; position: sticky; top: 72px; z-index: 40; }
.s-tabs .wrap { display: flex; gap: 8px 32px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.s-tabgroup { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.s-tabgroup > span { font-size: 11px; letter-spacing: .2em; color: #8a898e; text-transform: uppercase; margin-right: 6px; }
.s-tabgroup a { color: #cfcecb; text-decoration: none; font-size: 13px; letter-spacing: .1em; padding: 6px 10px; position: relative; }
.s-tabgroup a:hover { color: #fff; }
.s-tabgroup a[aria-current="page"] { color: #fff; }
.s-tabgroup a[aria-current="page"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; background: var(--accent); }
@media (max-width: 1240px) { .s-tabs { top: 64px; } }
@media (max-width: 700px) { .s-tabs { position: static; } }
.s-intro p { font-size: 18px; line-height: 1.9; color: var(--ink-soft); font-weight: 300; }
.s-intro p:first-child { font-size: clamp(20px, 2vw, 24px); color: var(--ink); }
.s-rooms { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; gap: 20px; flex-wrap: wrap; }
.s-rooms-label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.s-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.s-feature { background: #fff; padding: 32px 28px; }
.s-feature h3 { margin: 10px 0 8px; font-size: 19px; }
.s-feature p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 600px) { .s-features { grid-template-columns: 1fr; } }
.s-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.s-shot { all: unset; cursor: zoom-in; overflow: hidden; aspect-ratio: 4/3; display: block; }
.s-shot.s-wide { grid-column: 1 / -1; aspect-ratio: 21/9; }
.s-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.s-shot:hover img { transform: scale(1.04); }
@media (max-width: 700px) { .s-gallery { grid-template-columns: 1fr 1fr; } }
.s-coming { border: 1px solid #3a3a40; padding: 64px 24px; text-align: center; color: var(--on-dark-muted); letter-spacing: .1em; }
.s-pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.s-pager a { text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.s-pager small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.s-pager b { font-weight: 400; font-size: 22px; letter-spacing: .06em; }
.s-pager a:hover b { color: var(--accent); }
.s-pager .s-all { border: 1px solid var(--ink); padding: 12px 24px; font-size: 13px; letter-spacing: .14em; }
@media (max-width: 600px) { .s-pager { grid-template-columns: 1fr 1fr; } .s-pager .s-all { grid-column: 1 / -1; order: 3; text-align: center; } }
.series-link { display: inline-block; margin-top: 10px; font-size: 13px; letter-spacing: .14em; color: var(--accent); text-decoration: none; }
.series-link:hover { text-decoration: underline; }

/* =====================================================================
   红色强化 + 加拿大枫叶元素
   ===================================================================== */
:root {
  /* 暗纹里稀疏的红色细线 */
  --texture-red: repeating-linear-gradient(135deg, rgba(227,0,15,.10) 0 1px, transparent 1px 140px);
}
.textured, .section.dark, .page-hero, .footer, .video-band, .k-hero, .s-hero, .s-tabs, .ph {
  background-image: var(--texture-red), var(--texture);
}
/* 页头：更醒目的红色标志 + 底部红线 */
.header { border-bottom: 2px solid var(--accent); }
.header .wrap { min-height: 80px; }
.logo-mark { height: 30px; }
.footer .logo-mark { height: 30px; }
.logo small { display: inline-flex; align-items: center; gap: 8px; color: #e9e8e6; }
.logo .leaf { width: 14px; height: 14px; display: inline-block; background: url("../brand/maple.svg") center / contain no-repeat; }
.s-tabs { top: 82px; }

/* 深色首屏：右上角红色枫叶暗纹 */
.page-hero::before, .section.dark::before, .s-hero::before {
  content: ""; position: absolute; z-index: 0; top: -60px; right: 6%; width: min(38vw, 460px); aspect-ratio: 1;
  background: url("../brand/maple.svg") center / contain no-repeat; opacity: .06; transform: rotate(-12deg); pointer-events: none;
}
.s-hero::before { z-index: 1; opacity: .08; }

/* 红色点缀 */
.card:hover h3, .k-card:hover .k-meta b { color: var(--accent); }
.section h2 + .lead, .page-hero h1 + .lead { position: relative; }
.page-hero h1::after, .s-hero h1::after { content: ""; display: block; width: 56px; height: 3px; background: var(--accent); margin-top: 22px; }
.box { border-top: 2px solid var(--accent); }
.section.dark .box { border-top-color: var(--accent); }
.timeline { border-left-color: rgba(227,0,15,.35); }
.k-group button[aria-pressed="true"], .filter .btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); }
::selection { background: var(--accent); color: #fff; }

/* ---------- 系列列表页（定制衣柜 / 厨房系列） ---------- */
.cat-intro { max-width: 760px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; margin-top: 44px; }
.cat-card { position: relative; display: block; text-decoration: none; color: #fff; overflow: hidden; aspect-ratio: 4/3; background: var(--dark-2); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.cat-card:hover img { transform: scale(1.05); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18,18,20,.88) 0%, rgba(18,18,20,.25) 55%, rgba(18,18,20,0) 100%); }
.cat-card .cat-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 28px; }
.cat-card .cat-cn { font-size: 13px; letter-spacing: .2em; color: #d4d3d0; }
.cat-card h3 { font-size: 30px; font-weight: 300; letter-spacing: .1em; margin: 6px 0 4px; color: #fff; }
.cat-card p { margin: 0; color: #cfcecb; font-size: 14px; }
.cat-card .cat-more { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 12px; letter-spacing: .2em; color: #fff; }
.cat-card .cat-more::before { content: ""; width: 24px; height: 2px; background: var(--accent); transition: width .4s; }
.cat-card:hover .cat-more::before { width: 48px; }
.cat-card .cat-num { position: absolute; top: 18px; right: 22px; z-index: 2; font-size: 13px; letter-spacing: .2em; color: rgba(255,255,255,.7); }
.cat-card.no-photo img { object-fit: cover; filter: saturate(.9); }
.s-cn { font-size: 15px; letter-spacing: .3em; color: #e2e1de; margin: 0 0 6px; }
.s-hero::before { opacity: .035; mix-blend-mode: screen; }
.s-hero:has(.s-hero-empty)::before { opacity: .09; mix-blend-mode: normal; }
.logo b { color: var(--accent); font-weight: 700; }

/* =====================================================================
   系列叙事页（story.js）：全屏封面 + 一图一文向下展开
   ===================================================================== */
.st-hero { position: relative; height: calc(100vh - 116px); min-height: 560px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; background: var(--dark); }
.st-hero-bg { position: absolute; inset: 0; background: center / cover no-repeat; transform: scale(1.04); animation: st-zoom 9s ease-out forwards; }
.st-hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(15,15,17,.25) 0%, rgba(15,15,17,.62) 75%), linear-gradient(0deg, rgba(15,15,17,.55), rgba(15,15,17,0) 40%); }
.st-hero-bg.st-empty { background-color: var(--dark-2); background-image: var(--texture-red), var(--texture); animation: none; }
@keyframes st-zoom { to { transform: scale(1); } }
.st-crumb { position: absolute; top: 28px; left: 0; right: 0; z-index: 2; text-align: left; }
.st-crumb a { color: #e4e3e0; text-decoration: none; font-size: 12px; letter-spacing: .22em; display: inline-flex; align-items: center; gap: 12px; }
.st-crumb a::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.st-crumb a:hover { color: #fff; }
.st-hero-text { position: relative; z-index: 2; padding: 0 24px; }
.st-cn { font-size: 15px; letter-spacing: .5em; margin: 0 0 14px; color: #ecebe8; }
.st-hero h1 { font-size: clamp(54px, 9vw, 128px); font-weight: 300; letter-spacing: .14em; margin: 0; line-height: 1; }
.st-hero h1::after { content: ""; display: block; width: 64px; height: 2px; background: var(--accent); margin: 28px auto 22px; }
.st-tag { font-size: clamp(16px, 1.6vw, 21px); font-weight: 300; letter-spacing: .14em; color: #e4e3e0; margin: 0; }
.st-down { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; color: #fff; width: 22px; height: 40px; animation: st-bob 2.2s ease-in-out infinite; }
@keyframes st-bob { 50% { transform: translate(-50%, 8px); } }

.st-body { position: relative; overflow: hidden; color: var(--on-dark); background-color: var(--dark); background-image: var(--texture-red), var(--texture); padding: clamp(80px, 11vw, 150px) 0 clamp(80px, 10vw, 130px); }
.st-mark { position: absolute; top: 40px; left: -.18em; writing-mode: vertical-rl; transform: rotate(180deg); font: 600 clamp(110px, 15vw, 220px)/1 var(--font); letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1px rgba(227,0,15,.45); pointer-events: none; user-select: none; }
.st-num { font-size: 13px; letter-spacing: .3em; color: var(--accent); margin: 0 0 14px; }
.st-title { color: var(--accent); font-weight: 400; letter-spacing: .12em; font-size: clamp(22px, 2.4vw, 32px); margin: 0 0 18px; }
.st-text p { color: #cfcecb; line-height: 2; font-weight: 300; font-size: 16px; margin: 0 0 .8em; }
.st-meta { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #9d9ca0; margin: -8px 0 14px; }

.st-intro { text-align: center; max-width: 760px; position: relative; z-index: 1; margin-bottom: clamp(80px, 10vw, 140px); }
.st-intro .st-text p { font-size: 17px; }

.st-ch { position: relative; z-index: 1; display: grid; max-width: var(--max); margin: 0 auto clamp(90px, 12vw, 170px); padding: 0 var(--gutter); }
.st-fig { margin: 0; overflow: hidden; background: #111; }
.st-fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-card { position: relative; z-index: 2; }
/* 版式 1：大图靠右，文字卡片压在左下 */
.st-right { grid-template-columns: repeat(12, 1fr); }
.st-right .st-fig { grid-column: 4 / -1; grid-row: 1; aspect-ratio: 16/9; }
.st-right .st-card { grid-column: 1 / 7; grid-row: 1; align-self: end; margin-bottom: -60px; background: rgba(36,36,39,.94); padding: 44px 48px; border-left: 2px solid var(--accent); backdrop-filter: blur(4px); }
.st-right .st-inset { grid-column: 10 / -1; grid-row: 1; align-self: end; margin: 0 -10px -90px 0; aspect-ratio: 4/3; overflow: hidden; border: 6px solid var(--dark); z-index: 3; }
/* 版式 2：图左文右 */
.st-left { grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.st-left .st-fig { aspect-ratio: 4/3; }
.st-left .st-inset { position: absolute; right: var(--gutter); bottom: -60px; width: 26%; aspect-ratio: 4/3; overflow: hidden; border: 6px solid var(--dark); }
/* 版式 3：通栏大图，文字居中在下方 */
.st-full { grid-template-columns: 1fr; max-width: none; padding: 0; }
.st-full .st-fig { aspect-ratio: 21/9; }
.st-full .st-card { text-align: center; max-width: 720px; margin: 56px auto 0; padding: 0 var(--gutter); }
.st-full .st-inset { display: none; }
.st-textonly { max-width: 760px; text-align: center; }
.st-inset img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .st-right, .st-left { grid-template-columns: 1fr; gap: 0; }
  .st-right .st-fig, .st-right .st-card, .st-right .st-inset { grid-column: 1; grid-row: auto; }
  .st-right .st-card { margin: -40px 16px 0; padding: 32px 28px; }
  .st-right .st-inset, .st-left .st-inset { display: none; }
  .st-left .st-card { padding-top: 32px; }
  .st-mark { display: none; }
}

/* 两图错落 */
.st-duo { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(20px, 3vw, 48px); align-items: start; margin-bottom: clamp(80px, 10vw, 150px); }
.st-duo figure { margin: 0; overflow: hidden; aspect-ratio: 4/3; }
.st-duo figure:nth-child(2) { margin-top: clamp(60px, 9vw, 140px); aspect-ratio: 3/4; }
.st-duo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .st-duo { grid-template-columns: 1fr; } .st-duo figure:nth-child(2) { margin-top: 0; aspect-ratio: 4/3; } }

/* 色彩条 */
.st-swatches { position: relative; z-index: 1; text-align: center; margin-bottom: clamp(70px, 9vw, 120px); }
.st-swatch-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 18px; margin-top: 30px; }
.st-swatch-row figure { margin: 0; width: 104px; }
.st-swatch-row img { width: 100%; aspect-ratio: 7/10; object-fit: cover; border: 1px solid #3a3a40; }
.st-swatch-row figcaption { font-size: 11px; line-height: 1.5; color: #a9a8ac; margin-top: 8px; }
.st-swatch-row figcaption b { display: block; color: #fff; font-weight: 500; letter-spacing: .06em; font-size: 12px; }

/* 结尾 */
.st-close { position: relative; z-index: 1; text-align: center; max-width: 760px; padding-top: 40px; border-top: 1px solid #34343a; }
.st-rooms { font-size: 18px; letter-spacing: .12em; color: #e2e1de; font-weight: 300; }
.st-note { font-size: 13px; }
.st-close .btns { justify-content: center; }
.st-close .btn:not(.solid) { border-color: rgba(255,255,255,.5); color: #fff; }
.st-close .btn:not(.solid):hover { background: #fff; color: var(--ink); }

/* 滚动浮现 */
.reveal { opacity: 0; transform: translateY(46px); transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.st-fig.reveal { transform: translateY(60px) scale(.98); }
.st-fig.reveal.in { transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .st-hero-bg, .st-down { animation: none; } }
.cat-card.no-photo { background-color: var(--dark-2); background-image: var(--texture-red), var(--texture); }
.ph .ph-name { border: 0; background: none; font-size: clamp(26px, 3vw, 38px); font-weight: 300; letter-spacing: .16em; color: rgba(255,255,255,.22); }
.cat-blank { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 300 clamp(44px, 6vw, 72px)/1 var(--font); letter-spacing: .14em; color: rgba(255,255,255,.07); }
.st-hero { height: min(calc(100vh - 116px), 860px); }
.st-duo.st-single { grid-template-columns: 1fr; max-width: 980px; }
.st-duo.st-single figure { aspect-ratio: 16/9; }

/* ---------- 门板色卡页 fronts.html ---------- */
.f-bar { position: sticky; top: 82px; z-index: 40; background: rgba(244,243,241,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.f-bar-inner { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; padding-top: 14px; padding-bottom: 14px; }
.f-bar select { width: auto; min-width: 180px; margin: 0; padding: 8px 12px; font-size: 13px; }
.f-bar .k-group button { padding: 6px 12px; }
.f-count { margin-left: auto; color: var(--muted); font-size: 13px; }
.f-count b { color: var(--accent); font-size: 18px; font-weight: 500; }
@media (max-width: 1240px) { .f-bar { top: 64px; } }
@media (max-width: 700px) { .f-bar { position: static; } .f-count { margin-left: 0; } }
.f-series { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.f-series:first-child { padding-top: 0; }
.f-head h3 { font-size: 26px; font-weight: 300; letter-spacing: .12em; margin: 0 0 8px; }
.f-head h3 small { font-size: 13px; color: var(--accent); letter-spacing: 0; margin-left: 6px; }
.f-head p { font-size: 14px; margin: 0 0 10px; }
.f-head .series-link { margin-top: 4px; }
@media (max-width: 800px) { .f-series { grid-template-columns: 1fr; gap: 16px; } }
.f-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.f-tags .tag { display: inline-block; }
.tag-af { border-color: #6f6e72 !important; color: #6f6e72 !important; }
.f-carcase { margin-top: 32px; }
.section.dark .swatch figcaption { color: var(--on-dark-muted); }
.section.dark .swatch figcaption b { color: #fff; }
.section.dark .swatch img { border-color: #3a3a40; }
.f-teaser { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.f-teaser a { display: block; aspect-ratio: 7/10; overflow: hidden; border: 1px solid #3a3a40; }
.f-teaser img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.f-teaser a:hover img { transform: scale(1.06); }
@media (max-width: 600px) { .f-teaser { grid-template-columns: repeat(4, 1fr); } }

/* =====================================================================
   AI 在线顾问聊天窗口（assets/js/chat.js）
   ===================================================================== */
.nc-chat-root { position: fixed; right: 22px; bottom: 22px; z-index: 200; font-family: var(--font); }
.nc-chat-btn { position: relative; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; background: var(--accent); color: #fff; box-shadow: 0 10px 30px rgba(227,0,15,.35), 0 2px 6px rgba(0,0,0,.2); display: flex; align-items: center; justify-content: center; transition: transform .25s, background .25s; }
.nc-chat-btn:hover { transform: translateY(-2px); background: var(--accent-dark); }
.nc-chat-btn svg { width: 28px; height: 28px; }
.nc-chat-btn .leaf { position: absolute; top: -4px; right: -4px; width: 22px; height: 22px; border-radius: 50%; background: #fff url("../brand/maple.svg") center / 14px no-repeat; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.nc-chat-root.is-open .nc-chat-btn { transform: scale(.88); }
.nc-chat { position: absolute; right: 0; bottom: 76px; width: min(390px, calc(100vw - 32px)); height: min(620px, calc(100vh - 120px)); display: flex; flex-direction: column; background: var(--paper); border-top: 3px solid var(--accent); box-shadow: 0 24px 60px rgba(0,0,0,.28); overflow: hidden; }
.nc-chat[hidden] { display: none; }
.nc-chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; background-color: var(--dark); background-image: var(--texture-red), var(--texture); color: #fff; }
.nc-chat-head img { height: 18px; width: auto; }
.nc-chat-head div { flex: 1; display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.nc-chat-head b { font-weight: 400; font-size: 14px; letter-spacing: .04em; }
.nc-chat-head small { font-size: 11px; color: var(--on-dark-muted); }
.nc-chat-head small::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #3ccf6e; margin-right: 6px; vertical-align: 1px; }
.nc-reset { background: none; border: 1px solid #45454b; color: #d8d7d5; font: inherit; font-size: 11px; padding: 4px 8px; cursor: pointer; }
.nc-x { background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
.nc-log { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.nc-msg { max-width: 86%; padding: 11px 14px; font-size: 14px; line-height: 1.65; word-wrap: break-word; }
.nc-msg a { color: var(--accent); }
.nc-assistant { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-left: 2px solid var(--accent); }
.nc-user { align-self: flex-end; background: var(--dark); color: #fff; }
.nc-user a { color: #fff; }
.nc-typing::after { content: "● ● ●"; letter-spacing: 2px; color: #b5b3ae; animation: nc-blink 1.2s infinite; }
@keyframes nc-blink { 50% { opacity: .3; } }
.nc-demo { margin: 0 0 4px; font-size: 11px; color: #7a5a00; background: #fff4d6; padding: 6px 10px; }
.nc-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 16px 10px; }
.nc-chips button { font: inherit; font-size: 12px; padding: 6px 10px; background: #fff; border: 1px solid var(--line); color: var(--ink); cursor: pointer; }
.nc-chips button:hover { border-color: var(--accent); color: var(--accent); }
.nc-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; }
.nc-form textarea { flex: 1; margin: 0; resize: none; border: 1px solid var(--line); padding: 10px 12px; font-size: 14px; min-height: 42px; max-height: 120px; }
.nc-send { border: 0; background: var(--accent); color: #fff; font: inherit; font-size: 13px; letter-spacing: .08em; padding: 0 16px; cursor: pointer; }
.nc-send:hover { background: var(--accent-dark); }
.nc-note { margin: 0; padding: 8px 14px 10px; font-size: 10.5px; line-height: 1.5; color: var(--muted); background: #fff; }
@media (max-width: 520px) { .nc-chat-root { right: 14px; bottom: 14px; } .nc-chat { right: -2px; height: calc(100vh - 100px); } }
@media print { .nc-chat-root { display: none; } }
